WO2020215950A1 - 界面显示方法及终端设备 - Google Patents

界面显示方法及终端设备 Download PDF

Info

Publication number
WO2020215950A1
WO2020215950A1 PCT/CN2020/080685 CN2020080685W WO2020215950A1 WO 2020215950 A1 WO2020215950 A1 WO 2020215950A1 CN 2020080685 W CN2020080685 W CN 2020080685W WO 2020215950 A1 WO2020215950 A1 WO 2020215950A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
interface
input
terminal device
target
Prior art date
Application number
PCT/CN2020/080685
Other languages
English (en)
French (fr)
Inventor
雍坤元
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2020215950A1 publication Critical patent/WO2020215950A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Definitions

  • the embodiments of the present disclosure relate to the field of communication technologies, and in particular, to an interface display method and terminal device.
  • the double-sided screen terminal device can display different interfaces on the front screen and the back screen respectively. If the user needs to view content on the back screen while using the front screen, the user needs to manually flip the screen, that is, the terminal device is flipped from the front screen to the back screen, and the user needs to trigger to light up the back screen or unlock the back screen before the user can View the content on the back screen. As a result, the convenience of using different screens in the double-sided screen terminal device is poor.
  • the embodiments of the present disclosure provide an interface display method and terminal device to solve the problem of poor convenience of using different screens in the existing double-sided screen terminal device.
  • an embodiment of the present disclosure provides an interface display method, which is applied to a terminal device, and the method includes: receiving a user's first input of a target identifier displayed on a first screen, where the target identifier is used to indicate a target application; And in response to the first input, when the target application is a background task of the second screen or the running interface of the target application is displayed on the second screen, the first interface is displayed on the target screen; wherein, the first screen and the second screen
  • the screens are different screens of the terminal device, the target screen is the first screen or the first and second screens, and the first interface is a preset interface of the target application.
  • a terminal device which includes a receiving module and a display module.
  • the receiving module is used to receive the user's first input of the target identifier displayed on the first screen, and the target identifier is used to indicate the target application.
  • the display module is configured to respond to the first input received by the receiving module and display the first interface on the target screen when the target application is a background task of the second screen or the running interface of the target application is displayed on the second screen.
  • the first screen and the second screen are different screens of the terminal device, the target screen is the first screen or the first screen and the second screen, and the first interface is a preset interface of the target application.
  • the embodiments of the present disclosure provide a terminal device.
  • the terminal device includes a processor, a memory, and a computer program stored on the memory and running on the processor.
  • the computer program implements the foregoing first The steps of the interface display method in one aspect.
  • the embodiments of the present disclosure provide a computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the interface display method in the first aspect are implemented.
  • the user's first input of the target identifier displayed on the first screen can be received, and the target identifier is used to indicate the target application; and in response to the first input, the target application is the background of the second screen Task or when the running interface of the target application is displayed on the second screen, the first interface is displayed on the target screen; wherein, the first screen and the second screen are different screens of the terminal device, and the target screen is the first screen or the second screen.
  • the first interface is the preset interface of the target application.
  • the terminal device can be One screen displays the preset interface of the target application, or the preset interface of the target application may be displayed on both the first screen and the second screen.
  • the preset interface may be the interface displayed on the second screen before the screen is turned off for the last time. Or it may be the interface displayed on the second screen when the first input is received, or it may be another preset interface of the target application.
  • the user can directly view the preset interface of the target application on one screen or on a different screen, thereby improving the convenience for the user to use different screens in the terminal device.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure
  • FIG. 3 is one of the schematic diagrams of the interface of the interface display method application provided by the embodiment of the disclosure.
  • FIG. 6 is the third schematic diagram of the interface of the application of the interface display method provided by the embodiments of the disclosure.
  • FIG. 7 is the fourth schematic diagram of the interface of the interface display method application provided by the embodiments of the disclosure.
  • FIG. 8 is the third schematic diagram of an interface display method provided by an embodiment of the disclosure.
  • FIG. 9 is the fifth schematic diagram of the interface of the interface display method application provided by the embodiments of the disclosure.
  • FIG. 10 is the sixth schematic diagram of the interface of the interface display method application provided by the embodiments of the disclosure.
  • FIG. 11 is the fourth schematic diagram of the interface display method provided by the embodiments of the present disclosure.
  • FIG. 12 is one of schematic structural diagrams of a terminal device provided by an embodiment of the disclosure.
  • FIG. 13 is a second structural diagram of a terminal device provided by an embodiment of the disclosure.
  • FIG. 14 is a schematic diagram of hardware of a terminal device provided by an embodiment of the disclosure.
  • first and second in the specification and claims of the present disclosure are used to distinguish different objects, rather than to describe a specific order of objects.
  • first input and the second input are used to distinguish different inputs, rather than to describe a specific order of input.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • multiple refers to two or more than two, for example, multiple processing units refers to two or more processing units, etc.
  • the embodiments of the present disclosure provide an interface display method and terminal device, which receive a user's first input of a target identifier displayed on a first screen, the target identifier is used to indicate a target application; and in response to the first input, the target application It is a background task of the second screen or when the running interface of the target application is displayed on the second screen, the first interface is displayed on the target screen; where the first screen and the second screen are different screens of the terminal device, and the target screen is The first screen is either the first screen and the second screen, and the first interface is a preset interface of the target application.
  • the terminal device can be One screen displays the preset interface of the target application, or the preset interface of the target application may be displayed on both the first screen and the second screen.
  • the preset interface may be the interface displayed on the second screen before the screen is turned off for the last time. Or it may be the interface displayed on the second screen when the first input is received, or it may be another preset interface of the target application.
  • the user can directly view the preset interface of the target application on one screen or on a different screen, thereby improving the convenience for the user to use different screens in the terminal device.
  • the terminal device in the embodiment of the present disclosure may be a terminal device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present disclosure.
  • the following takes the Android operating system as an example to introduce the software environment applied by the interface display method provided by the embodiments of the present disclosure.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop a software program that implements the interface display method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG. 1, so that the interface The display method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the terminal device can implement the interface display method provided by the embodiments of the present disclosure by running the software program in the Android operating system.
  • the terminal device in the embodiment of the present disclosure may be a mobile terminal or a non-mobile terminal.
  • the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant
  • the non-mobile terminal may be a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiment of the present disclosure.
  • the execution subject of the interface display method provided by the embodiments of the present disclosure may be the above-mentioned terminal device, or may be a functional module and/or functional entity in the terminal device that can implement the interface display method, which can be specifically determined according to actual usage requirements.
  • the embodiments of the present disclosure are not limited.
  • a terminal device is taken as an example to illustrate the interface display method provided by the embodiment of the present disclosure.
  • an embodiment of the present disclosure provides an interface display method, and the interface display method may include the following steps 200 to 202.
  • Step 200 The terminal device receives the user's first input of the target identifier displayed on the first screen.
  • the target identifier is used to indicate the target application.
  • the user can input the target identification displayed on the first screen to trigger the terminal device to run the target application indicated by the target identification, and display the interface of the target application on the first screen.
  • the first input of the user may be a click input (for example, a single click input or a double click input), a long press input, or any other possible form of input, which can be specifically based on The actual use requirement is determined, and the embodiment of the present disclosure does not limit it.
  • Step 201 The terminal device judges whether the target application is a background task of the second screen or whether the running interface of the target application is displayed on the second screen.
  • the background task in which the target application is the second screen can be understood as that the target application runs in the background of the terminal device, and the target application has a display mapping relationship with the second screen.
  • the above-mentioned target application and the second screen having a display mapping relationship may include the following two cases: (1) If the second screen displays the running interface of the target application, it can be understood that the target application and the second screen have a display mapping relationship; (2) If the target application runs in the background of the terminal device after displaying the running interface of the target application on the second screen, it can be understood that the target application has a display mapping relationship with the second screen. It should be noted that the aforementioned target application is a background task of the second screen, which corresponds to the aforementioned situation (2).
  • the terminal device can continue to perform the following step 202; if the terminal device determines that the target application is not If the background task of the second screen is not displayed on the second screen, and the running interface of the target application is not displayed, the terminal device can return to continue to perform the above step 200.
  • Step 202 In response to the first input, the terminal device displays a first interface on the target screen.
  • the first screen and the second screen are different screens of the terminal device
  • the target screen is the first screen or the first screen and the second screen
  • the first interface is a preset interface of the target application.
  • the terminal device can first determine whether the target application is a background task of the second screen or whether the target application is displayed on the second screen The running interface. In the case that the terminal device determines that the target application is a background task of the second screen or displays the running interface of the target application on the second screen, the terminal device may display the first interface on the target screen in response to the first input.
  • the terminal device may respond to the first input by displaying the first interface on the first screen, or on the first screen. Both the screen and the second screen display the first interface.
  • the preset interface of the target application may be the interface of the target application that was displayed on the second screen for the last time (for example, the interface displayed on the second screen before the screen was turned off for the last time; or When the first input is received, the interface displayed on the second screen) may also be another interface of the target application, which may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
  • the following uses the first implementation manner and the second implementation manner as examples to exemplarily describe possible implementation manners of the interface display method provided by the embodiments of the present disclosure.
  • the terminal device can, in response to the first input, determine whether to display the running interface of the target application on the second screen, and determine whether to display the target application on the second screen.
  • the terminal device may display the first interface on the target screen.
  • the first interface may be the interface displayed on the second screen when the terminal device receives the first input.
  • the terminal device can determine whether the target application is a background task of the second screen in response to the first input, and determine whether the target application is a background task In the case of the background task of the second screen, the terminal device may display the first interface on the target screen. For example, at this time, the first interface may be the interface displayed on the second screen before the screen is turned off for the last time.
  • the first implementation manner is taken as an example to illustrate the specific implementation manner of the interface display method provided by the embodiment of the present disclosure.
  • FIG. 3 respectively show the first screen 31 and the second screen 32 of the terminal device 30, wherein the first screen and the second screen are currently in an unlocked state.
  • the first screen 31 currently displays an interface 33.
  • the second screen 32 currently displays an interface 34.
  • the interface 34 is the running interface of the "Shopping 2" application (ie, the aforementioned target application), that is, the interface currently displayed on the second screen 32 is the running interface of the "Shopping 2" application.
  • the terminal device can respond to the user's input and determine that it is on the second screen 32 Whether to display the running interface of the "Shopping 2" application, that is, it is determined whether the interface 34 displayed on the second screen 32 is the running interface of the "Shopping 2" application. Further, in the case that the terminal device determines that the interface 34 displayed on the second screen 32 is the running interface of the "Shopping 2" application, the terminal device may display the interface 34 (ie the first interface) on the first screen 31 (ie the target screen) .
  • FIG. 4 respectively show schematic diagrams of the interfaces displayed on the first screen and the second screen of the terminal device 30 after the interface display method is applied. As shown in (a) and (b) in FIG. 4, both the first screen 31 and the second screen 32 currently display the interface 34. Since the terminal device can display the interface last browsed by the user on the first screen, it is convenient for the user to continue browsing on the basis of the interface browsed last time, so that the convenience for the user to use different screens in the terminal device can be improved.
  • the above-mentioned Figures 3 and 4 are exemplified by taking the second screen in the unlocked state (that is, the first implementation mode) as an example. It can be understood that the embodiments of the present disclosure can also be applied to the second screen when the screen is off.
  • the preset interface of the target application in the embodiment of the present disclosure may be the interface displayed on the second screen before the screen is turned off for the last time, or the interface displayed on the second screen when the first input is received. It can also be another preset interface of the target application.
  • the interface display method provided by the embodiments of the present disclosure can receive a user's first input of a target identifier displayed on the first screen, the target identifier is used to indicate the target application; and in response to the first input, the target application is the second The background task of the screen or when the running interface of the target application is displayed on the second screen, the first interface is displayed on the target screen; where the first screen and the second screen are different screens of the terminal device, and the target screen is the first screen Or the first screen and the second screen, and the first interface is a preset interface of the target application.
  • the terminal device can be One screen displays the preset interface of the target application, or the preset interface of the target application may be displayed on both the first screen and the second screen.
  • the preset interface may be the interface displayed on the second screen before the screen is turned off for the last time. Or it may be the interface displayed on the second screen when the first input is received, or it may be another preset interface of the target application.
  • the user can directly view the preset interface of the target application on one screen or on a different screen, thereby improving the convenience for the user to use different screens in the terminal device.
  • the interface display method provided by the embodiment of the present disclosure may further include the following steps 203 to 205.
  • Step 203 The terminal device receives the second input of the user.
  • the terminal device includes a first screen and a second screen.
  • the user uses the terminal device, if the user needs to update the content displayed on the first screen of the terminal device to the interface or content displayed on the second screen , That is, the content displayed on the second screen is switched to the display on the first screen, then the user can trigger the terminal device to perform the interface switching action through the second input.
  • the second input may be the input of the rotating terminal device (hereinafter referred to as the rotation input), and the parameters of the second input may include any of the following: the first rotation angle, the first rotation angle, and The first rotation speed.
  • the second input parameter may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
  • the second input may be an input that the user rotates the terminal device by a first rotation angle; or, the second input may be an input that the user rotates the terminal device at a first rotation speed by a first rotation angle.
  • the second input may be a user's gesture input on the display screen (for example, the first screen) of the terminal device, for example, the second input is an input in which two fingers slide in a specific direction on the display screen. .
  • the second input is a rotation input or a gesture input as an example. It can be understood that the second input in the embodiments of the present disclosure is not limited to the above-listed inputs. In actual implementation, the second input may also It is input in any other possible form, which can be specifically determined according to actual usage requirements, and is not limited in the embodiment of the present disclosure.
  • the interface display method provided by the embodiments of the present disclosure is not limited to double-sided screen terminal devices, but can also be applied to flexible screen terminal devices, or can be applied to multi-sided screen terminal devices other than double-sided screen terminal devices.
  • the actual use requirement is determined, and the embodiment of the present disclosure does not limit it.
  • the double-sided screen terminal device when applied to a double-sided screen terminal device, may be a foldable double-sided screen terminal device, or a front and rear double-sided double-sided screen terminal device.
  • the aforementioned first screen and second screen may be two screens obtained by folding the flexible screen of the flexible screen terminal device, respectively.
  • the above-mentioned first screen and second screen may be any two screens of the multi-screen terminal device, respectively.
  • Step 204 The terminal device determines whether the second input meets the first preset condition.
  • the first preset condition may be any one of the following (1) and (2):
  • the input parameter is within the preset parameter range.
  • the terminal device can detect the parameter of the second input and determine whether the parameter of the second input is within the preset parameter range. If the terminal device determines that the parameter of the second input is within the preset parameter range, the terminal device may determine that the second input satisfies the first preset condition.
  • the preset parameter range may be a preset angle range, or the preset parameter range may include a preset angle range and a preset speed range.
  • the numerical interval of the preset angle range and the numerical interval of the preset speed range may be determined according to actual use requirements, and the embodiment of the present disclosure does not limit it.
  • the terminal device may detect the first rotation angle and determine whether the first rotation angle is within a preset angle range. If the terminal device determines that the first rotation angle is within the preset angle range, the terminal device may determine that the second input satisfies the first preset condition.
  • the terminal device may detect the first rotation angle and the first rotation speed, and determine whether the first rotation angle is within the preset angle range , And whether the first rotation speed is within the preset speed range. If the terminal device determines that the first rotation angle is within the preset angle range and the first rotation speed is within the preset speed range, the terminal device may determine that the second input meets the first preset condition.
  • the above-mentioned first rotation angle may be an angle at which the terminal device rotates in a straight line around the target.
  • the target line may be a line where the diagonal of the terminal device is located, or may be a line where a side edge (for example, the left side, right side, upper side, or lower side) of the terminal device is located.
  • the target straight line in the embodiments of the present disclosure is not limited to the above-listed straight lines.
  • the target straight line may also be any other possible straight lines, which can be specifically determined according to actual usage requirements, and the embodiments of the present disclosure are not limited.
  • the user can rotate the terminal device by a certain angle around the line A1A2 where the diagonal of the terminal device is located.
  • the user can rotate the terminal device by a certain angle around the line B1B2 where the diagonal of the terminal device is located.
  • the following takes the first rotation angle as the angle at which the terminal device rotates around its diagonal line as an example.
  • the user can quickly rotate the mobile phone by a certain angle along the diagonal line of the terminal device (for example, the rotation angle can be 40 Degrees to 90 degrees).
  • the terminal device can detect the rotation angle and rotation speed of the terminal device through a built-in sensor. If the rotation angle and rotation speed meet the rotation angle and rotation speed conditions, the terminal device can switch screen display content.
  • the terminal device may determine whether the current state of the terminal device is the landscape state (or approximately horizontal screen state) or the vertical screen state (or approximately vertical screen state) before switching screen display content. Further, the terminal device may determine to display the to-be-switched screen display content in a display mode matching the current state of the terminal device according to the current state of the terminal device. Further, the terminal device can switch the screen display content, and display the screen display content according to a display mode matching the current state of the terminal device.
  • the screen display content can be quickly switched by deflecting the terminal device to a certain angle, without the user having to turn the terminal device from the first screen to the second screen to view the second screen display content, which can improve the user's use of the terminal device Fastness of different screens in the middle.
  • the terminal device can compare the second input with a preset gesture pre-stored in the terminal device to determine whether the second input matches the preset gesture. If the terminal device determines that the second input matches the preset gesture, the terminal device may determine that the second input meets the first preset condition.
  • the preset gesture may be a two-finger long-press gesture on the display screen of the terminal device, or may be a slide in a specific direction (for example, the same direction, etc.) on the display screen of the terminal device.
  • the two-finger swipe gesture can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
  • the terminal device can be triggered to switch screen display content by means of custom gestures.
  • the terminal device can negotiate (or open) an application programming interface (application programming interface, API) for switching screen display content with each application platform (such as a game application platform), and each application platform can be set (customized ) Gesture condition, when the user's gesture input (or operation gesture) on the terminal device meets the set gesture condition, the terminal device can be triggered to call the corresponding API to switch the screen display content.
  • API application programming interface
  • the gesture condition set for Application 1 is a gesture input of two touch points sliding toward each other on the screen
  • the terminal device can call the API corresponding to application 1 to switch the content displayed on the second screen to the first screen 40.
  • each of the aforementioned first preset conditions (1) and (2) is an exemplary enumeration, that is, the embodiments of the present disclosure include but are not limited to the aforementioned conditions.
  • the above-mentioned first preset condition may also include any other possible conditions, which may be specifically determined according to actual use requirements, which are not limited in the embodiment of the present disclosure.
  • the terminal device can continue to perform the following step 205; if the terminal device determines that the second input does not satisfy the first preset condition, the terminal device You can go back and continue to perform step 203 above.
  • Step 205 In response to the second input, the terminal device updates the first interface displayed on the first screen to the second interface.
  • the second interface may be any one of the following: the interface displayed on the second screen before the screen is turned off for the last time; the interface displayed on the second screen when receiving the second input.
  • the terminal device when the terminal device determines that the second input satisfies the first preset condition, the terminal device may update the first interface displayed on the first screen to the second interface in response to the user's second input.
  • the terminal device may update the first interface displayed on the first screen to the second interface in response to the user's second input.
  • the terminal device can respond to the second input to display the first screen displayed on the first screen.
  • One interface is updated to a second interface, and the second interface is the interface displayed on the second screen before the screen is turned off for the last time.
  • the user when the user needs to view the interface or content displayed on the second screen when using the first screen, the user can directly use the second input to trigger the terminal device to quickly switch the interface displayed on the second screen to The first screen is displayed, so the user does not need to turn the terminal device from the first screen to the second screen, nor does it need to light up and unlock the second screen to view the interface or content displayed on the second screen, so the embodiments of the present disclosure can improve users The convenience of using different screens in the terminal device.
  • the triggering of the second screen lock screen (or off screen) this time refers to the last time the user triggered the second screen lock screen (or off screen), or the last time the system automatically triggered the second screen lock screen (or Turn off the screen), which can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
  • the terminal device can respond to the second input and update the first interface displayed on the first screen to the second interface ,
  • the second interface is the interface displayed on the second screen when the terminal device receives the second input.
  • the user when the user needs to view the interface or content displayed on the second screen when using the first screen, the user can directly use the second input to trigger the terminal device to quickly switch the interface displayed on the second screen to The first screen is displayed, so the user does not need to turn the terminal device from the first screen to the second screen to view the interface or content displayed on the second screen.
  • the embodiments of the present disclosure can improve the convenience for the user to use different screens in the terminal device.
  • the present disclosure will be implemented For example, you can quickly switch the interface displayed on the back screen during the last lock screen or the interface currently displayed to the front screen display, regardless of whether the back screen is unlocked, locked or off, so the user does not need to switch the terminal device Flip from the front screen to the back screen without lighting or unlocking the back screen, which brings convenience to the user's operation.
  • the terminal device can respond to the user's second input to switch the interface or content displayed on the second screen Go to the first screen. Therefore, the embodiments of the present disclosure can improve the convenience for users to use different screens in the terminal device.
  • the embodiment of the present disclosure can display the second screen in the latest The interface displayed when the screen is locked or the interface currently displayed is quickly switched to the first screen display, regardless of whether the second screen is currently unlocked, locked or off, so the user does not need to turn the terminal device from the first screen When the second screen is reached, there is no need to turn on or unlock the second screen, so the embodiments of the present disclosure can improve the convenience of the user using different screens in the terminal device.
  • the interface display provided by the embodiment of the present disclosure
  • the method may also include the following step 206.
  • Step 206 The terminal device updates the second interface displayed on the second screen to the first interface.
  • the terminal device may update the first interface displayed on the first screen to the second interface displayed on the second screen in response to the second input when it is determined that the second input meets the first preset condition. And update the second interface displayed on the second screen to the first interface displayed on the first screen. That is, the terminal device can exchange the interface displayed on the first screen and the interface displayed on the second screen in response to the second input.
  • step 205 may be performed first, and then step 206; or step 206 may be performed first, and then step 205 may be performed; and step 205 and step 206 may be performed simultaneously.
  • FIG. 8 is an example of performing step 205 and step 206 simultaneously.
  • step 203 in conjunction with the above-mentioned step 203, step 204, step 205, and step 206, the specific implementation of the interface display method provided by the embodiment of the present disclosure is exemplarily described.
  • FIG. 9 show the first screen 61 and the second screen 62 of the terminal device 60, respectively.
  • the interface currently displayed on the first screen 61 is the first interface 63.
  • the interface currently displayed on the second screen 62 is the second interface 64.
  • the terminal device 60 determines that the user's input meets the preset condition
  • the respective display interfaces or contents of the first screen 61 and the second screen 62 can be displayed interchangeably, that is, the first interface 63 displayed on the first screen 61 is updated to the second interface 64, and the second screen 62 is displayed The second interface 64 is updated to the first interface 63.
  • FIG. 10 respectively show schematic diagrams of the terminal device 60 after switching the dual-screen display interface.
  • the interface currently displayed on the first screen 61 is the second interface 64.
  • the interface currently displayed on the second screen 62 is the first interface 63.
  • a new interactive method is provided in the scenario of using different screens in the terminal device.
  • the user can input on the current screen of the terminal device, triggering the terminal device to switch the content displayed on the current screen to another screen.
  • Content without the user turning the terminal device from the current screen to another screen, this can improve the convenience for the user to use different screens in the terminal device and bring convenience to the user's operation.
  • the above-mentioned step 203 may be specifically implemented by the following step 203a.
  • the interface display method provided by the embodiment of the present disclosure may further include the following step 207.
  • Step 203a The terminal device receives the user's second input on the target screen.
  • the target screen may be the first screen, or the target screen may be the first screen and the second screen, that is, the second input may be an input on the first screen, or the second input may be an input on the first screen.
  • the input on the screen and the second screen can be specifically determined according to actual use requirements, and the embodiment of the present disclosure does not limit it.
  • the second input may be a gesture input on the first screen, such as a two-finger swipe input.
  • the second input may be a gesture input on the first screen and the second screen, for example, a two-finger long press input.
  • Step 207 The terminal device judges whether the target screen is in an unlocked state.
  • the terminal device determines that the target screen is in the unlocked state, the terminal device continues to perform the above step 205; if the terminal device determines that the target screen is not in the unlocked state, the terminal device continues to perform the above step 203a.
  • the terminal device after receiving the second input from the user on the target screen, the terminal device first determines whether the target screen is in the unlocked state; then, in the case of determining that the target screen is in the unlocked state, the terminal device determines whether the second input is Meet the first preset condition. Moreover, the terminal device does not respond to the second input when it is determined that the target screen is in the locked screen state.
  • the terminal device after receiving the user's second input on the first screen, the terminal device first determines whether the first screen is unlocked; then, the terminal device is determining When the first screen is in the unlocked state, it is determined whether the user's input on the first screen (ie, the second input) satisfies the first preset condition.
  • the terminal device first judges the first screen and the second screen after receiving the user's second input on the first screen and the second screen. Whether the screens are in the unlocked state; then, the terminal device determines whether the user's input on the first screen and the second screen (ie, the second input) satisfies the first screen and the second screen in the unlocked state. A preset condition.
  • step 204 may be performed first, and then step 207; or step 207 may be performed first, and then step 204 may be performed; and step 204 and step 207 may also be performed simultaneously.
  • FIG. 11 is an example in which step 204 is executed first, and step 207 is executed later.
  • an embodiment of the present disclosure provides a terminal device 700.
  • the terminal device 700 may include a receiving module 701 and a display module 702.
  • the receiving module 701 is configured to receive a user's first input of a target identifier displayed on the first screen, and the target identifier is used to indicate a target application.
  • the display module 702 is configured to, in response to the first input received by the receiving module 701, display the first interface on the target screen when the target application is a background task of the second screen or the running interface of the target application is displayed on the second screen .
  • the first screen and the second screen are different screens of the terminal device, the target screen is the first screen or the first screen and the second screen, and the first interface is a preset interface of the target application.
  • the receiving module 701 is further configured to receive a second input from the user.
  • the display module 702 is further configured to, in response to the second input received by the receiving module 701, update the first interface displayed on the first screen to the second interface when the second input meets the first preset condition.
  • the interface is any one of the following: the interface displayed on the second screen before the screen is turned off for the last time; the interface displayed on the second screen when the second input is received.
  • the first preset condition is any one of the following: the input parameter is within the preset parameter range, and the input gesture is the same as the preset gesture.
  • the display module 702 when the second interface is the interface displayed on the second screen when the second input is received, the display module 702 is further configured to satisfy the first preset condition when the second input In the case of updating the second interface displayed on the second screen to the first interface.
  • the above-mentioned second input is an input of a rotating terminal device
  • the parameter of the above-mentioned second input may include any one of the following: a first rotation angle, a first rotation angle, and a first rotation speed.
  • the above-mentioned first rotation angle is the angle at which the terminal device rotates around the target straight line; wherein, the target straight line may be any of the following: a straight line where the diagonal of the terminal device is located, The line where the side is located.
  • the above-mentioned second input is an input on the target screen.
  • the terminal device provided by the embodiment of the present disclosure may further include a determining module 703, which is configured to before the display module 702 updates the first interface displayed on the first screen to the second interface , Make sure the target screen is unlocked.
  • the terminal device provided in the embodiment of the present disclosure can implement each process implemented by the terminal device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • the terminal device provided by the embodiment of the present disclosure can receive a user's first input of the target identifier displayed on the first screen, and the target identifier is used to indicate the target application; and in response to the first input, the target application is displayed on the second screen.
  • the first interface is displayed on the target screen when the running interface of the target application is displayed on the second screen; the first screen and the second screen are different screens of the terminal device, and the target screen is the first screen or It is the first screen and the second screen, and the first interface is the preset interface of the target application.
  • the terminal device can be One screen displays the preset interface of the target application, or the preset interface of the target application may be displayed on both the first screen and the second screen.
  • the preset interface may be the interface displayed on the second screen before the screen is turned off for the last time. Or it may be the interface displayed on the second screen when the first input is received, or it may be another preset interface of the target application.
  • the user can directly view the preset interface of the target application on one screen or on a different screen, thereby improving the convenience for the user to use different screens in the terminal device.
  • FIG. 14 is a schematic diagram of the hardware structure of a terminal device that implements various embodiments of the present disclosure.
  • the terminal device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • a radio frequency unit 801 includes a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • the terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. Layout.
  • terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and ped
  • the user input unit 807 can receive the user's first input of the target identifier displayed on the first screen, the target identifier is used to indicate the target application; the display module is used to respond to the first input received by the user input unit 807 ,
  • the target application is a background task on the second screen or the running interface of the target application is displayed on the second screen, the first interface is displayed on the target screen; wherein the first screen and the second screen are different screens of the terminal device ,
  • the target screen is the first screen or the first and second screens, and the first interface is the preset interface of the target application.
  • the embodiment of the present disclosure provides a terminal device.
  • the terminal device may display the preset interface of the target application on the first screen, or may display the preset interface of the target application on both the first screen and the second screen.
  • the preset interface may be the last time the second screen is turned off.
  • the interface displayed in front of the screen, or the interface displayed on the second screen when the first input is received, may also be other preset interfaces of the target application. In this way, after triggering to run the target application, the user can directly view the preset interface of the target application on one screen or on a different screen, thereby improving the convenience for the user to use different screens in the terminal device.
  • the radio frequency unit 801 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 810; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.
  • the terminal device 800 provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 803 can convert the audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output them as sounds. Moreover, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal device 800 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 804 is used to receive audio or video signals.
  • the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042.
  • the graphics processor 8041 is used to capture still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 806.
  • the image frame processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802.
  • the microphone 8042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 801 for output in the case of a telephone call mode.
  • the terminal device 800 also includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 8061 and the display panel 8061 when the terminal device 800 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 805 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 806 is used to display information input by the user or information provided to the user.
  • the display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 807 can be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the terminal device.
  • the user input unit 807 includes a touch panel 8071 and other input devices 8072.
  • the touch panel 8071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 8071 or near the touch panel 8071. operating).
  • the touch panel 8071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 810, the command sent by the processor 810 is received and executed.
  • the touch panel 8071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 807 may also include other input devices 8072.
  • other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 8071 can cover the display panel 8061.
  • the touch panel 8071 detects a touch operation on or near it, it transmits it to the processor 810 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 8061.
  • the touch panel 8071 and the display panel 8061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated
  • the implementation of the input and output functions of the terminal device is not specifically limited here.
  • the interface unit 808 is an interface for connecting an external device with the terminal device 800.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 808 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 800 or can be used to connect to the terminal device 800 and external devices. Transfer data between devices.
  • the memory 809 can be used to store software programs and various data.
  • the memory 809 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 809 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 810 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 809, and calls the data stored in the memory 809. , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole.
  • the processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor.
  • the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810.
  • the terminal device 800 may also include a power source 811 (such as a battery) for supplying power to various components.
  • a power source 811 such as a battery
  • the power source 811 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal device 800 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a terminal device, including a processor 810 as shown in FIG. 14, a memory 809, a computer program stored in the memory 809 and running on the processor 810, the computer program being
  • the processor 810 implements each process of the above-mentioned interface display method embodiment during execution, and can achieve the same technical effect. To avoid repetition, details are not described herein again.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program When the computer program is executed by a processor, each process of the above-mentioned interface display method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods disclosed in the various embodiments of the present disclosure.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

一种界面显示方法及终端设备。该方法包括:终端设备接收用户对在第一屏显示的目标标识的第一输入(200);终端设备判断目标应用是否为第二屏的后台任务或者在第二屏显示该目标应用的运行界面(201);若是,终端设备响应于该第一输入,在目标屏显示第一界面(202);其中,第一屏和第二屏为终端设备的不同屏,目标屏为第一屏或者为第一屏和第二屏,第一界面为目标应用的预设界面。

Description

界面显示方法及终端设备
相关申请的交叉引用
本申请要求于2019年4月24日提交国家知识产权局、申请号为201910335624.1、申请名称为“一种界面显示方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开实施例涉及通信技术领域,尤其涉及一种界面显示方法及终端设备。
背景技术
随着终端技术的不断发展,双面屏终端设备越来越普及,用户对于使用双面屏终端设备的便捷性的需求日益提升。
目前,以双面屏终端设备包括正面屏和背面屏为例,双面屏终端设备可以在正面屏和背面屏上分别显示不同的界面。若用户在使用正面屏时需要在背面屏查看内容,则用户需要手动翻转屏幕,即将终端设备从正面屏翻转到背面屏,并且,用户需要触发点亮背面屏或解锁背面屏之后,用户才可以在背面屏查看内容。如此,导致使用双面屏终端设备中不同屏的便捷性较差。
发明内容
本公开实施例提供一种界面显示方法及终端设备,以解决使用现有双面屏终端设备中不同屏的便捷性较差的问题。
为了解决上述技术问题,本公开是这样实现的:
第一方面,本公开实施例提供了一种界面显示方法,应用于终端设备,该方法包括:接收用户对在第一屏显示的目标标识的第一输入,该目标标识用于指示目标应用;并响应于该第一输入,在目标应用为第二屏的后台任务或者在第二屏显示该目标应用的运行界面的情况下,在目标屏显示第一界面;其中,第一屏和第二屏为终端设备的不同屏,目标屏为第一屏或者为第一屏和第二屏,第一界面为目标应用的预设界面。
第二方面,本公开实施例提供了一种终端设备,该终端设备包括接收模块和显示模块。接收模块用于接收用户对在第一屏显示的目标标识的第一输入,该目标标识用于指示目标应用。显示模块用于响应于接收模块接收的该第一输入,在目标应用为第二屏的后台任务或者在第二屏显示该目标应用的运行界面的情况下,在目标屏显示第一界面。其中,第一屏和第二屏为终端设备的不同屏,目标屏为第一屏或者为第一屏和第二屏,第一界面为目标应用的预设界面。
第三方面,本公开实施例提供了一种终端设备,该终端设备包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述第一方面中的界面显示方法的步骤。
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述第一方面中的界面显示方法的步骤。
在本公开实施例中,可以接收用户对在第一屏显示的目标标识的第一输入,该目标标识用于指示目标应用;并响应于该第一输入,在目标应用为第二屏的后台任务或者在第二屏显示该目标应用的运行界面的情况下,在目标屏显示第一界面;其中,第一屏和第二屏为终端设备的不同屏,目标屏为第一屏或者为第一屏和第二屏,第一界面为目标应用的预设界面。通过该方案,当用户需要在第一屏输入以触发运行目标应用时,如果该目标应用为第二屏的后台任务或者该目标应用的运行界面当前显示于第二屏,那么终端设备可以在第一屏显示该目标应用的预设界面,或者可以在第一屏和第二屏均显示该目标应用的预设界面,例如预设界面可以为第二屏在最后一次熄屏前显示的界面,或者是在接收第一输入时第二屏显示的界面,还可以是目标应用的其他预设界面。如此,用户在触发运行目标应用之后,可以直接在一个屏或者不同屏查看目标应用的预设界面,因此可以提升用户使用终端设备中不同屏的便捷性。
附图说明
图1为本公开实施例提供的一种可能的安卓操作系统的架构示意图;
图2为本公开实施例提供的界面显示方法的示意图之一;
图3为本公开实施例提供的界面显示方法应用的界面示意图之一;
图4为本公开实施例提供的界面显示方法应用的界面示意图之二;
图5为本公开实施例提供的界面显示方法的示意图之二;
图6为本公开实施例提供的界面显示方法应用的界面示意图之三;
图7为本公开实施例提供的界面显示方法应用的界面示意图之四;
图8为本公开实施例提供的界面显示方法的示意图之三;
图9为本公开实施例提供的界面显示方法应用的界面示意图之五;
图10为本公开实施例提供的界面显示方法应用的界面示意图之六;
图11为本公开实施例提供的界面显示方法的示意图之四;
图12为本公开实施例提供的终端设备的结构示意图之一;
图13为本公开实施例提供的终端设备的结构示意图之二;
图14为本公开实施例提供的终端设备的硬件示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本公开的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。
在本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不 应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本公开实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等。
本公开实施例提供一种界面显示方法及终端设备,接收用户对在第一屏显示的目标标识的第一输入,该目标标识用于指示目标应用;并响应于该第一输入,在目标应用为第二屏的后台任务或者在第二屏显示该目标应用的运行界面的情况下,在目标屏显示第一界面;其中,第一屏和第二屏为终端设备的不同屏,目标屏为第一屏或者为第一屏和第二屏,第一界面为目标应用的预设界面。通过该方案,当用户需要在第一屏输入以触发运行目标应用时,如果该目标应用为第二屏的后台任务或者该目标应用的运行界面当前显示于第二屏,那么终端设备可以在第一屏显示该目标应用的预设界面,或者可以在第一屏和第二屏均显示该目标应用的预设界面,例如预设界面可以为第二屏在最后一次熄屏前显示的界面,或者是在接收第一输入时第二屏显示的界面,还可以是目标应用的其他预设界面。如此,用户在触发运行目标应用之后,可以直接在一个屏或者不同屏查看目标应用的预设界面,因此可以提升用户使用终端设备中不同屏的便捷性。
本公开实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本公开实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本公开实施例提供的界面显示方法所应用的软件环境。
如图1所示,为本公开实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本公开实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本公开实施例提供的界面显示方法的软件程序,从而使得该界面显示方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本公开实施例提供的界面显示方法。
本公开实施例中的终端设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动 个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本公开实施例不作具体限定。
本公开实施例提供的界面显示方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该界面显示方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本公开实施例不作限定。下面以终端设备为例,对本公开实施例提供的界面显示方法进行示例性的说明。
如图2所示,本公开实施例提供一种界面显示方法,该界面显示方法可以包括下述的步骤200-步骤202。
步骤200、终端设备接收用户对在第一屏显示的目标标识的第一输入。
其中,该目标标识用于指示目标应用。
本公开实施例中,用户可以对第一屏中显示的目标标识输入,以触发终端设备运行该目标标识指示的目标应用,并在第一屏显示目标应用的界面。
可选的,本公开实施例中,上述用户的第一输入可以为点击输入(例如单击输入或双击输入),也可以为长按输入,还可以是其它任意可能形式的输入,具体可以根据实际使用需求确定,本公开实施例不作限定。
步骤201、终端设备判断目标应用是否为第二屏的后台任务或者在第二屏是否显示目标应用的运行界面。
本公开实施例中,目标应用为第二屏的后台任务可以理解为,目标应用在终端设备的后台运行,且目标应用与第二屏具有显示映射关系。
其中,上述目标应用与第二屏具有显示映射关系可以包括下述两种情况:(1)若第二屏显示目标应用的运行界面,则可以理解为目标应用与第二屏具有显示映射关系;(2)若在第二屏显示目标应用的运行界面之后,目标应用在终端设备的后台运行,则可以理解为目标应用与第二屏具有显示映射关系。需要说明的是,上述目标应用为第二屏的后台任务,对应于上述的第(2)种情况。
本公开实施例中,若终端设备确定目标应用为第二屏的后台任务或者在第二屏显示目标应用的运行界面,则终端设备可以继续执行下述的步骤202;若终端设备确定目标应用不是第二屏的后台任务,以及在第二屏没有显示目标应用的运行界面,则终端设备可以返回继续执行上述的步骤200。
步骤202、终端设备响应于该第一输入,在目标屏显示第一界面。
其中,第一屏和第二屏为终端设备的不同屏,目标屏为第一屏或者为第一屏和第二屏,第一界面为目标应用的预设界面。
本公开实施例中,用户在对第一屏中显示的目标标识输入(即第一输入)之后,终端设备可以先判断目标应用是否为第二屏的后台任务或者在第二屏是否显示目标应用的运行界面。在终端设备确定目标应用为第二屏的后台任务或者在第二屏显示目标应用的运行界面的情况下,终端设备可以响应于第一输入,在目标屏显示第一界面。
本公开实施例中,由于上述目标屏可以为第一屏,或者可以为第一屏和第二屏,因此终端设备可以响应于第一输入,在第一屏显示第一界面,或者在第一屏和第二屏均显示第一界面。
可选的,本公开实施例中,上述目标应用的预设界面可以为目标应用的在第二屏最后一次显示的界面(例如,第二屏在最后一次熄屏前显示的界面;或者,在接收第一输入时,第二屏显示的界面),也可以是目标应用的其他界面,具体可以根据实际使用需求确定,本公开实施例不作限定。
下面以第一实现方式和第二实现方式为例,示例性的说明本公开实施例提供的界面显示方法的可能的实现方式。
在第一实现方式中,假设第二屏当前处于解锁状态,那么终端设备可以响应于第一输入,判断在第二屏是否显示目标应用的运行界面,并在确定在第二屏显示目标应用的运行界面的情况下,终端设备可以在目标屏显示第一界面,例如此时第一界面可以为在终端设备接收第一输入时第二屏显示的界面。
在第二实现方式中,假设第二屏当前处于锁屏状态(或熄屏状态),那么终端设备可以响应于第一输入,判断目标应用是否为第二屏的后台任务,并在确定目标应用为第二屏的后台任务的情况下,终端设备可以在目标屏显示第一界面,例如此时第一界面可以为第二屏在最后一次熄屏前显示的界面。
下面参考图3和图4,结合上述步骤200-步骤202,以第一实现方式为例,示例性地说明本公开实施例提供的界面显示方法的具体实现方式。
图3中的(a)和(b)分别示出了终端设备30的第一屏31和第二屏32,其中第一屏和第二屏当前均处于解锁状态。如图3中的(a)所示,第一屏31当前显示界面33。如图3中的(b)所示,第二屏32当前显示界面34。假设界面34为“购物2”应用(即上述目标应用)的运行界面,即第二屏32当前显示的界面为“购物2”应用的运行界面。
此时,若用户点击第一屏31上显示的“购物2”应用的图标,以触发终端设备运行该“购物2”应用,则终端设备可以响应于用户的该输入,判断在第二屏32是否显示该“购物2”应用的运行界面,即判断第二屏32显示的界面34是否为“购物2”应用的运行界面。进一步的,在终端设备确定第二屏32显示的界面34为“购物2”应用的运行界面的情况下,终端设备可以在第一屏31(即目标屏)显示界面34(即第一界面)。
图4中的(a)和(b)分别示出了在应用了界面显示方法后,终端设备30的第一屏和第二屏显示的界面示意图。如图4中的(a)和(b)所示,第一屏31和第二屏32当前均显示界面34。由于终端设备可以在第一屏显示用户最近一次浏览到的界面,便于用户在最近一次浏览到的界面的基础上继续浏览,因此可以提升用户使用终端设备中不同屏的便捷性。
需要说明的是,上述图3和图4是以第二屏处于解锁状态(即第一实现方式)为例示例性说明的,可以理解,本公开实施例也可以适用于第二屏处于熄屏状态的场景,而且实际应用中,本公开实施例中目标应用的预设界面可以是第二屏在最后一次熄屏前显示的界面,或者是在接收第一输入时第二屏显示的界面,还可以是目标应用的其他预设界面。
本公开实施例提供的界面显示方法,可以接收用户对在第一屏显示的目标标识的第一输入,该目标标识用于指示目标应用;并响应于该第一输入,在目标应用为第二屏的后台任务或者在第二屏显示该目标应用的运行界面的情况下,在目标屏显示第一界面;其中,第一屏和第二屏为终端设备的不同屏,目标屏为第一屏或者为第一屏和第二屏,第一界面为目标应用的预设界面。通过该方案,当用户需要在第一屏输入以触发运行目标应用时, 如果该目标应用为第二屏的后台任务或者该目标应用的运行界面当前显示于第二屏,那么终端设备可以在第一屏显示该目标应用的预设界面,或者可以在第一屏和第二屏均显示该目标应用的预设界面,例如预设界面可以为第二屏在最后一次熄屏前显示的界面,或者是在接收第一输入时第二屏显示的界面,还可以是目标应用的其他预设界面。如此,用户在触发运行目标应用之后,可以直接在一个屏或者不同屏查看目标应用的预设界面,因此可以提升用户使用终端设备中不同屏的便捷性。
可选的,如图5所示,本公开实施例提供的界面显示方法还可以包括下述的步骤203-步骤205。
步骤203、终端设备接收用户的第二输入。
本公开实施例中,假设终端设备包括第一屏和第二屏,当用户使用该终端设备时,如果用户需要将该终端设备的第一屏显示的内容更新为第二屏显示的界面或内容,即将第二屏显示的内容切换到在第一屏显示,那么此时用户可以通过第二输入,触发终端设备执行界面切换的动作。
可选的,本公开实施例中,第二输入可以为旋转终端设备的输入(以下称为旋转输入),第二输入的参数可以包括以下任意一项:第一旋转角度、第一旋转角度和第一旋转速度。第二输入的参数具体可以根据实际使用需求确定,本公开实施例不作限定。
具体的,第二输入可以为用户将终端设备旋转第一旋转角度的输入;或者,第二输入可以为用户将终端设备以第一旋转速度旋转第一旋转角度的输入。
可选的,本公开实施例中,第二输入可以为用户在终端设备的显示屏(例如第一屏)上的手势输入,例如第二输入为双指在显示屏上沿特定方向滑动的输入。
需要说明的是,上面以第二输入为旋转输入或手势输入为例示例性的说明,可以理解,本公开实施例中第二输入不限于上述列举的输入,实际实现时,第二输入还可以是其它任意可能形式的输入,具体可以根据实际使用需求确定,本公开实施例不作限定。
可以理解,本公开实施例提供的界面显示方法不限于双面屏终端设备,还可以应用于柔性屏终端设备,或者可以应用于除双面屏终端设备之外的多面屏终端设备,具体可以根据实际使用需求确定,本公开实施例不作限定。其中,在应用于双面屏终端设备的情况下,双面屏终端设备可以为折叠式双面屏终端设备,也可以为前后两面式双面屏终端设备。在应用于柔性屏终端设备的情况下,上述第一屏和第二屏可以分别为柔性屏终端设备的柔性屏折叠后得到的两个屏。在应用于除双面屏终端设备之外的多面屏终端设备的情况下,上述第一屏和第二屏可以分别为多面屏终端设备的任意两个屏。
步骤204、终端设备判断第二输入是否满足第一预设条件。
其中,该第一预设条件可以为以下(1)和(2)中任一项:
(1)输入的参数在预设参数范围内。
本公开实施例中,假设第二输入为旋转输入,那么终端设备可以检测该第二输入的参数,并判断第二输入的参数是否在预设参数范围内。若终端设备确定第二输入的参数在预设参数范围内,则终端设备可以确定第二输入满足第一预设条件。
可选的,本公开实施例中,预设参数范围可以为预设角度范围,或者预设参数范围可以包括预设角度范围和预设速度范围。具体的,预设角度范围的数值区间和预设速度范围 的数值区间可以根据实际使用需求确定,本公开实施例不作限定。
示例性的,假设第二输入的参数为第一旋转角度,那么终端设备可以检测第一旋转角度,并判断该第一旋转角度是否在预设角度范围内。若终端设备确定第一旋转角度在预设角度范围内,则终端设备可以确定第二输入满足第一预设条件。
又示例性的,假设第二输入的参数为第一旋转角度和第一旋转速度,那么终端设备可以检测第一旋转角度和第一旋转速度,并判断该第一旋转角度是否在预设角度范围内,以及该第一旋转速度是否在预设速度范围内。若终端设备确定第一旋转角度在预设角度范围内且第一旋转速度在预设速度范围内,则终端设备可以确定第二输入满足第一预设条件。
可选的,本公开实施例中,上述第一旋转角度可以为终端设备围绕目标直线旋转的角度。其中,该目标直线可以为终端设备的对角线所在的直线,或者可以为终端设备的侧边(例如左侧边,右侧边、上侧边或下侧边)所在的直线。可以理解,本公开实施例中目标直线不限于上述列举的直线,实际实现时,目标直线还可以是其它任意可能的直线,具体可以根据实际使用需求确定,本公开实施例不作限定。
示例性的,如图6中的(a)所示,用户可以将终端设备围绕终端设备的对角线所在的直线A1A2旋转一定角度。如图6中的(b)所示,用户可以将终端设备围绕终端设备的对角线所在的直线B1B2旋转一定角度。
示例性的,下面以第一旋转角度为终端设备围绕其对角线所在直线旋转的角度为例进行说明,用户可以沿着终端设备的对角线快速旋转手机一定角度(例如旋转角度可以在40度到90度)。相应地,终端设备可以通过内置的传感器检测终端设备的旋转角度和旋转速度,若旋转角度和旋转速度满足旋转角度和旋转速度条件,则终端设备可以切换屏幕显示内容。
可选的,本公开实施例中,终端设备可以在切换屏幕显示内容之前,判断终端设备的当前状态是横屏状态(或近似横屏状态)还是竖屏状态(或近似竖屏状态)。进一步的,终端设备可以根据终端设备的当前状态,确定以与终端设备的当前状态匹配的显示方式来显示待切换的屏幕显示内容。进一步的,终端设备可以切换屏幕显示内容,并按照与终端设备的当前状态匹配的显示方式来显示屏幕显示内容。
通过该方案,可以通过将终端设备偏转一定角度的方式快速切换屏幕显示内容,而无需用户将终端设备从第一屏翻转到第二屏来查看第二屏显示内容,如此可以提升用户使用终端设备中不同屏的快捷性。
(2)输入的手势与预设手势相同。
本公开实施例中,假设第二输入为手势输入,那么终端设备可以将该第二输入与终端设备中预先存储的预设手势进行比较,以判断该第二输入与预设手势是否匹配。若终端设备确定第二输入与预设手势匹配,则终端设备可以确定第二输入满足第一预设条件。
可选的,本公开实施例中,预设手势可以为在终端设备的显示屏上的双指长按手势,或者可以为在终端设备的显示屏上沿特定方向(例如相同方向等)滑动的双指滑动手势,具体可以根据实际使用需求确定,本公开实施例不作限定。
本公开实施例中,可以通过自定义手势的方式,触发终端设备切换屏幕显示内容。具体的,终端设备可以与各个应用平台(例如游戏应用平台)协商(或开放)用于切换屏幕显示内容的应用程序编程接口(application programming interface,API),并且 各个应用平台可以设定(自定义)手势条件,当用户在终端设备上的手势输入(或操作手势)满足设定的手势条件时,即可触发终端设备调用相应的API以切换屏幕显示内容。
示例性的,如图7所示,假设针对应用1设定的手势条件为在屏幕上两个触摸点相向滑动的手势输入,那么在第一屏40显示应用1的运行界面的情况下,若终端设备检测到用户在第一屏40上的手势输入匹配满足设定的手势条件,则终端设备可以调用与应用1对应的API,以将第二屏显示的内容切换到第一屏40上显示。
通过该方案,可以通过自定义手势的方式来触发切换屏幕显示内容,满足了不同应用在不同场景下需要通过不同的操作手势来达到切换屏幕显示内容的目的,如此可以提升用户使用终端设备中不同屏的便捷性。
可以理解,上述的各个第一预设条件(1)和(2)均是示例性的列举,即本公开实施例包括但不限于上述列举的各个条件。实际实现时,上述第一预设条件还可以包括其它任意可能的条件,具体可以根据实际使用需求确定,本公开实施例不作限定。
本公开实施例中,若终端设备判断第二输入满足第一预设条件,则终端设备可以继续执行下述的步骤205;若终端设备判断第二输入不满足第一预设条件,则终端设备可以返回继续执行上述的步骤203。
步骤205、终端设备响应于第二输入,将第一屏显示的第一界面更新为第二界面。
其中,该第二界面可以为以下任意一项:第二屏在最后一次熄屏前显示的界面;在接收第二输入时,第二屏显示的界面。
本公开实施例中,在终端设备确定第二输入满足第一预设条件的情况下,终端设备可以响应于用户的第二输入,将第一屏显示的第一界面更新为第二界面。下面通过下述的第一实现方式和第二实现方式,详细地说明本公开实施例提供的界面显示方法的具体实现方式。
在第一实现方式中,假设第一屏当前显示第一界面,且第二屏当前为锁屏状态(或熄屏状态),那么终端设备可以响应于第二输入,将第一屏显示的第一界面更新为第二界面,该第二界面为第二屏在最后一次熄屏前显示的界面。
本公开实施例中,在用户使用第一屏时,需要查看第二屏显示的界面或内容的情况下,由于用户可以直接通过第二输入,触发终端设备将第二屏显示的界面快速切换到第一屏显示,因此用户无需将终端设备从第一屏翻转到第二屏,也无需点亮并解锁第二屏,以查看第二屏显示的界面或内容,如此本公开实施例可以提升用户使用终端设备中不同屏的便捷性。
需要说明的是,上述本次触发第二屏锁屏(或熄屏)是指,最近一次用户触发第二屏锁屏(或熄屏),或者最近一次系统自动触发第二屏锁屏(或熄屏),具体可以根据实际使用需求确定,本公开实施例不作限定。
在第二实现方式中,假设第一屏当前显示第一界面,且第二屏当前为解锁状态,那么终端设备可以响应于第二输入,将第一屏显示的第一界面更新为第二界面,该第二界面为在终端设备接收第二输入时,第二屏显示的界面。
本公开实施例中,在用户使用第一屏时,需要查看第二屏显示的界面或内容的情况下,由于用户可以直接通过第二输入,触发终端设备将第二屏显示的界面快速切换到第一屏显 示,因此用户无需将终端设备从第一屏翻转到第二屏以查看第二屏显示的界面或内容,如此本公开实施例可以提升用户使用终端设备中不同屏的便捷性。
示例性的,以第一屏为正面屏,第二屏为背面屏为例说明,若用户在正面屏操作时需要查看背面屏显示的内容,只要用户的输入满足预设条件,则本公开实施例即可将背面屏在最近一次锁屏时显示的界面或当前显示的界面快速切换到正面屏显示,而不管背面屏是解锁状态,还是锁屏状态或熄屏状态,因此用户无需将终端设备从正面屏翻转到背面屏,也无需点亮或解锁背面屏,给用户的操作带来了便利性。
通过本方案,不管终端设备的第二屏当前处于解锁状态,还是处于锁屏状态(或熄屏状态),终端设备都可以响应于用户的第二输入,将第二屏显示的界面或内容切换到第一屏显示。因此,本公开实施例可以提升用户使用终端设备中不同屏的便捷性。
本公开实施例提供的界面显示方法,若用户在第一屏操作时需要查看第二屏显示的内容,只要用户的输入满足预设条件,则本公开实施例即可将第二屏在最近一次锁屏时显示的界面或当前显示的界面快速切换到第一屏显示,而不管第二屏当前处于解锁状态,还是处于锁屏状态或熄屏状态,因此用户无需将终端设备从第一屏翻转到第二屏,也无需点亮或解锁第二屏,如此本公开实施例可以提升用户使用终端设备中不同屏的便捷性。
可选的,假设第二界面为在终端设备接收第二输入时第二屏显示的界面,那么结合图5,如图8所示,在上述的步骤204之后,本公开实施例提供的界面显示方法还可以包括下述的步骤206。
步骤206、终端设备将第二屏显示的第二界面更新为第一界面。
本公开实施例中,终端设备可以在确定第二输入满足第一预设条件的情况下,响应于第二输入,将第一屏显示的第一界面更新为第二屏显示的第二界面,并将第二屏显示的第二界面更新为第一屏显示的第一界面。即,终端设备可以响应于第二输入,将第一屏显示的界面和第二屏显示的界面互换。
需要说明的是,本公开实施例可以不限定步骤205和步骤206的执行顺序。即本公开实施例可以先执行步骤205,后执行步骤206;也可以先执行步骤206,后执行步骤205;还可以同时执行步骤205和步骤206。可以理解,上述图8是以同时执行步骤205和步骤206为例示意的。
下面参考图9和图10,结合上述的步骤203、步骤204、步骤205和步骤206,示例性的说明本公开实施例提供的界面显示方法的具体实现方式。
图9中的(a)和(b)分别示出了终端设备60的第一屏61和第二屏62。如图9中的(a)所示,第一屏61当前显示的界面为第一界面63。如图9中的(b)所示,第二屏62当前显示的界面为第二界面64。
若用户将终端设备60围绕目标直线(例如终端设备60的对角线)所在直线旋转一定角度,或者用户在第一屏61上完成手势输入,则终端设备60在确定用户的输入满足预设条件的情况下,可以将第一屏61和第二屏62各自的显示界面或内容互换显示,即将第一屏61显示的第一界面63更新为第二界面64,并将第二屏62显示的第二界面64更新为第一界面63。
图10中的(a)和(b)分别示出了终端设备60切换双屏显示界面后的示意图。如图10中的(a)所示,第一屏61当前显示的界面为第二界面64。如图10中的(b)所示,第 二屏62当前显示的界面为第一界面63。
通过该方案,提供了一种在使用终端设备中不同屏的场景下的新型交互方式,用户可以在终端设备的当前屏幕上输入,触发终端设备将当前屏幕显示的内容切换显示为另一屏幕的内容,而无需用户将终端设备从当前屏幕翻转到另一屏幕,如此可以提升用户使用终端设备中不同屏的便捷性,给用户的操作带来了便利性。
可选的,结合图5,如图11所示,上述的步骤203具体可以通过下述的步骤203a实现。相应地,在上述的步骤205之前,本公开实施例提供的界面显示方法还可以包括下述的步骤207。
步骤203a、终端设备接收用户在目标屏上的第二输入。
本公开实施例中,该目标屏可以为第一屏,或者目标屏可以为第一屏和第二屏,即第二输入可以为在第一屏上的输入,或者第二输入为在第一屏和第二屏上的输入,具体可以根据实际使用需求确定,本公开实施例不作限定。
示例性的,以目标屏为第一屏为例,第二输入可以为在第一屏上的手势输入,例如双指滑动输入。又示例性的,以目标屏为第一屏和第二屏为例,第二输入可以为在第一屏和第二屏上的手势输入,例如双指长按输入。
步骤207、终端设备判断目标屏是否处于解锁状态。
本公开实施例中,若终端设备确定目标屏处于解锁状态,则终端设备继续执行上述的步骤205;若终端设备确定目标屏不是处于解锁状态,则终端设备继续执行上述的步骤203a。
本公开实施例中,终端设备在接收到用户在目标屏的第二输入之后,首先判断目标屏是否处于解锁状态;然后,终端设备在确定目标屏处于解锁状态的情况下,判断第二输入是否满足第一预设条件。并且,终端设备在确定目标屏处于锁屏状态的情况下,不响应第二输入。
具体的,假设第二输入为用户在第一屏上的输入,那么终端设备在接收到用户在第一屏的第二输入之后,首先判断第一屏是否处于解锁状态;然后,终端设备在确定第一屏处于解锁状态的情况下,判断用户在第一屏上的输入(即第二输入)是否满足第一预设条件。
具体的,假设第二输入为用户在第一屏和第二屏上的输入,那么终端设备在接收到用户在第一屏和第二屏的第二输入之后,首先判断第一屏和第二屏是否均处于解锁状态;然后,终端设备在确定第一屏和第二屏均处于解锁状态的情况下,判断用户在第一屏和第二屏上的输入(即第二输入)是否满足第一预设条件。
需要说明的是,本公开实施例可以不限定步骤204和步骤207的执行顺序。即本公开实施例可以先执行步骤204,后执行步骤207;也可以先执行步骤207,后执行步骤204;还可以同时执行步骤204和步骤207。可以理解,上述图11是以先执行步骤204,后执行步骤207为例示意的。
通过该方案,在确定目标屏处于解锁状态的情况下,才能响应用户的第二输入,执行界面显示方法,如此可以防止用户对终端设备的误触发,从而可以提升用户使用终端设备中不同屏的便捷性。
如图12所示,本公开实施例提供一种终端设备700,该终端设备700可以包括接收模 块701和显示模块702。接收模块701用于接收用户对在第一屏显示的目标标识的第一输入,该目标标识用于指示目标应用。显示模块702用于响应于接收模块701接收的该第一输入,在目标应用为第二屏的后台任务或者在第二屏显示该目标应用的运行界面的情况下,在目标屏显示第一界面。其中,第一屏和第二屏为终端设备的不同屏,目标屏为第一屏或者为第一屏和第二屏,第一界面为目标应用的预设界面。
可选的,本公开实施例中,接收模块701还用于接收用户的第二输入。显示模块702还用于响应于接收模块701接收的该第二输入,在第二输入满足第一预设条件的情况下,将第一屏显示的第一界面更新为第二界面,该第二界面为以下任意一项:该第二屏在最后一次熄屏前显示的界面;在接收该第二输入时,第二屏显示的界面。其中,该第一预设条件为以下任一项:输入的参数在预设参数范围内,输入的手势与预设手势相同。
可选的,本公开实施例中,在第二界面为在接收第二输入时,该第二屏显示的界面的情况下,显示模块702还用于在该第二输入满足第一预设条件的情况下,将第二屏显示的第二界面更新为第一界面。
可选的,本公开实施例中,上述第二输入为旋转终端设备的输入,上述第二输入的参数可以包括以下任意一项:第一旋转角度、第一旋转角度和第一旋转速度。
可选的,本公开实施例中,上述第一旋转角度为终端设备围绕目标直线旋转的角度;其中,该目标直线可以为以下任一项:终端设备的对角线所在的直线、终端设备的侧边所在的直线。
可选的,本公开实施例中,上述第二输入为在目标屏上的输入。结合图12,如图13所示,本公开实施例提供的终端设备还可以包括确定模块703,该确定模块703用于在显示模块702将第一屏显示的第一界面更新为第二界面之前,确定目标屏处于解锁状态。
本公开实施例提供的终端设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。
本公开实施例提供的终端设备,可以接收用户对在第一屏显示的目标标识的第一输入,该目标标识用于指示目标应用;并响应于该第一输入,在目标应用为第二屏的后台任务或者在第二屏显示该目标应用的运行界面的情况下,在目标屏显示第一界面;其中,第一屏和第二屏为终端设备的不同屏,目标屏为第一屏或者为第一屏和第二屏,第一界面为目标应用的预设界面。通过该方案,当用户需要在第一屏输入以触发运行目标应用时,如果该目标应用为第二屏的后台任务或者该目标应用的运行界面当前显示于第二屏,那么终端设备可以在第一屏显示该目标应用的预设界面,或者可以在第一屏和第二屏均显示该目标应用的预设界面,例如预设界面可以为第二屏在最后一次熄屏前显示的界面,或者是在接收第一输入时第二屏显示的界面,还可以是目标应用的其他预设界面。如此,用户在触发运行目标应用之后,可以直接在一个屏或者不同屏查看目标应用的预设界面,因此可以提升用户使用终端设备中不同屏的便捷性。
图14为实现本公开各个实施例的一种终端设备的硬件结构示意图。如图14所示,该终端设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器 810、以及电源811等部件。本领域技术人员可以理解,图14中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,用户输入单元807,可以接收用户对在第一屏显示的目标标识的第一输入,该目标标识用于指示目标应用;显示模块,用于响应于用户输入单元807接收的该第一输入,在目标应用为第二屏的后台任务或者在第二屏显示该目标应用的运行界面的情况下,在目标屏显示第一界面;其中,第一屏和第二屏为终端设备的不同屏,目标屏为第一屏或者为第一屏和第二屏,第一界面为目标应用的预设界面。
本公开实施例提供一种终端设备,当用户需要在第一屏输入以触发运行目标应用时,如果该目标应用为第二屏的后台任务或者该目标应用的运行界面当前显示于第二屏,那么终端设备可以在第一屏显示该目标应用的预设界面,或者可以在第一屏和第二屏均显示该目标应用的预设界面,例如预设界面可以为第二屏在最后一次熄屏前显示的界面,或者是在接收第一输入时第二屏显示的界面,还可以是目标应用的其他预设界面。如此,用户在触发运行目标应用之后,可以直接在一个屏或者不同屏查看目标应用的预设界面,因此可以提升用户使用终端设备中不同屏的便捷性。
应理解的是,本公开实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信系统与网络和其他设备通信。
终端设备800通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与终端设备800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。
输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(graphics processing unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。
终端设备800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在终端设备800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备 姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板8061。
用户输入单元807可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图14中,触控面板8071与显示面板8061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现终端设备的输入和输出功能,具体此处不做限定。
接口单元808为外部装置与终端设备800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备800内的一个或多个元件或者可以用于在终端设备800和外部装置之间传输数据。
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器810是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器810可包括一个或多个处理单元;可选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器 主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。
终端设备800还可以包括给各个部件供电的电源811(比如电池),可选的,电源811可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,终端设备800包括一些未示出的功能模块,在此不再赘述。
可选的,本公开实施例还提供一种终端设备,包括如图14所示的处理器810,存储器809,存储在存储器809上并可在处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述界面显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述界面显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例公开的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (14)

  1. 一种界面显示方法,应用于终端设备,所述方法包括:
    接收用户对在第一屏显示的目标标识的第一输入,所述目标标识用于指示目标应用;
    响应于所述第一输入,在所述目标应用为第二屏的后台任务或者在所述第二屏显示所述目标应用的运行界面的情况下,在目标屏显示第一界面;
    其中,所述第一屏和所述第二屏为所述终端设备的不同屏,所述目标屏为所述第一屏或者为所述第一屏和所述第二屏,所述第一界面为所述目标应用的预设界面。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    接收用户的第二输入;
    响应于所述第二输入,在所述第二输入满足第一预设条件的情况下,将所述第一屏显示的第一界面更新为第二界面,所述第二界面为以下任意一项:所述第二屏在最后一次熄屏前显示的界面;在接收所述第二输入时,所述第二屏显示的界面;
    其中,所述第一预设条件为以下任一项:输入的参数在预设参数范围内,输入的手势与预设手势相同。
  3. 根据权利要求2所述的方法,其中,所述第二界面为在接收所述第二输入时,所述第二屏显示的界面;
    所述方法还包括:
    在所述第二输入满足第一预设条件的情况下,将所述第二屏显示的第二界面更新为所述第一界面。
  4. 根据权利要求2或3所述的方法,其中,所述第二输入为旋转所述终端设备的输入,所述第二输入的参数包括以下任意一项:第一旋转角度、第一旋转角度和第一旋转速度。
  5. 根据权利要求4所述的方法,其中,所述第一旋转角度为所述终端设备围绕目标直线旋转的角度;其中,所述目标直线为以下任一项:所述终端设备的对角线所在的直线、所述终端设备的侧边所在的直线。
  6. 根据权利要求2所述的方法,其中,所述第二输入为在所述目标屏上的输入;
    在将所述第一屏显示的第一界面更新为第二界面之前,所述方法还包括:
    确定所述目标屏处于解锁状态。
  7. 一种终端设备,包括接收模块和显示模块;
    所述接收模块,用于接收用户对在第一屏显示的目标标识的第一输入,所述目标标识用于指示目标应用;
    所述显示模块,用于响应于所述接收模块接收的所述第一输入,在所述目标应用为第二屏的后台任务或者在所述第二屏显示所述目标应用的运行界面的情况下,在目标屏显示第一界面;
    其中,所述第一屏和所述第二屏为所述终端设备的不同屏,所述目标屏为所述第一屏或者为所述第一屏和所述第二屏,所述第一界面为所述目标应用的预设界面。
  8. 根据权利要求7所述的终端设备,其中,所述接收模块,还用于接收用户的第二输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第二输入,在所述第二输入满足第一预设条件的情况下,将所述第一屏显示的第一界面更新为第二界面,所述第二界面为以下任意一项:所述第二屏在最后一次熄屏前显示的界面;在接收所述第二输入时,所述第二屏显示的界面;
    其中,所述第一预设条件为以下任一项:输入的参数在预设参数范围内,输入的手势与预设手势相同。
  9. 根据权利要求8所述的终端设备,其中,所述第二界面为在接收所述第二输入时,所述第二屏显示的界面;
    所述显示模块,还用于在所述第二输入满足第一预设条件的情况下,将所述第二屏显示的第二界面更新为所述第一界面。
  10. 根据权利要求8或9所述的终端设备,其中,所述第二输入为旋转所述终端设备的输入,所述第二输入的参数包括以下任意一项:第一旋转角度、第一旋转角度和第一旋转速度。
  11. 根据权利要求10所述的终端设备,其中,所述第一旋转角度为所述终端设备围绕目标直线旋转的角度;其中,所述目标直线为以下任一项:所述终端设备的对角线所在的直线、所述终端设备的侧边所在的直线。
  12. 根据权利要求8所述的终端设备,其中,所述第二输入为在所述目标屏上的输入;所述终端设备还包括确定模块;
    所述确定模块,用于在所述显示模块将所述第一屏显示的第一界面更新为第二界面之前,确定所述目标屏处于解锁状态。
  13. 一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的界面显示方法的步骤。
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的界面显示方法的步骤。
PCT/CN2020/080685 2019-04-24 2020-03-23 界面显示方法及终端设备 WO2020215950A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910335624.1 2019-04-24
CN201910335624.1A CN110209369B (zh) 2019-04-24 2019-04-24 一种界面显示方法及终端设备

Publications (1)

Publication Number Publication Date
WO2020215950A1 true WO2020215950A1 (zh) 2020-10-29

Family

ID=67786259

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/080685 WO2020215950A1 (zh) 2019-04-24 2020-03-23 界面显示方法及终端设备

Country Status (2)

Country Link
CN (1) CN110209369B (zh)
WO (1) WO2020215950A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417396A (zh) * 2020-11-17 2021-02-26 努比亚技术有限公司 一种终端解锁方法、终端及计算机可读存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209369B (zh) * 2019-04-24 2021-12-24 维沃移动通信有限公司 一种界面显示方法及终端设备
CN114578899A (zh) * 2022-02-18 2022-06-03 维沃移动通信有限公司 显示方法、装置、电子设备及可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302418A (zh) * 2015-11-02 2016-02-03 联想(北京)有限公司 一种信息处理方法及电子设备
CN106227478A (zh) * 2016-07-13 2016-12-14 努比亚技术有限公司 一种正反屏切换装置、方法和移动终端
CN107092453A (zh) * 2017-02-27 2017-08-25 宇龙计算机通信科技(深圳)有限公司 一种屏幕显示控制方法、装置及终端
CN108012001A (zh) * 2017-11-30 2018-05-08 努比亚技术有限公司 一种基于双屏移动终端的操作方法、移动终端和存储介质
CN108932093A (zh) * 2018-07-03 2018-12-04 Oppo广东移动通信有限公司 分屏应用切换方法、装置、存储介质和电子设备
CN110209369A (zh) * 2019-04-24 2019-09-06 维沃移动通信有限公司 一种界面显示方法及终端设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102092332B1 (ko) * 2013-07-01 2020-04-14 삼성전자주식회사 휴대 장치 및 휴대 장치의 화면 표시 방법
WO2016200018A1 (en) * 2015-06-08 2016-12-15 Samsung Electronics Co., Ltd. Method and apparatus for sharing application
CN106843726A (zh) * 2017-01-04 2017-06-13 宇龙计算机通信科技(深圳)有限公司 一种终端操作方法及终端
CN106990888B (zh) * 2017-02-27 2021-07-20 宇龙计算机通信科技(深圳)有限公司 一种应用显示控制方法及装置
CN108958936B (zh) * 2018-06-28 2023-05-05 山东正龙万誉信息科技有限公司 应用程序切换方法、移动终端及计算机可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302418A (zh) * 2015-11-02 2016-02-03 联想(北京)有限公司 一种信息处理方法及电子设备
CN106227478A (zh) * 2016-07-13 2016-12-14 努比亚技术有限公司 一种正反屏切换装置、方法和移动终端
CN107092453A (zh) * 2017-02-27 2017-08-25 宇龙计算机通信科技(深圳)有限公司 一种屏幕显示控制方法、装置及终端
CN108012001A (zh) * 2017-11-30 2018-05-08 努比亚技术有限公司 一种基于双屏移动终端的操作方法、移动终端和存储介质
CN108932093A (zh) * 2018-07-03 2018-12-04 Oppo广东移动通信有限公司 分屏应用切换方法、装置、存储介质和电子设备
CN110209369A (zh) * 2019-04-24 2019-09-06 维沃移动通信有限公司 一种界面显示方法及终端设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417396A (zh) * 2020-11-17 2021-02-26 努比亚技术有限公司 一种终端解锁方法、终端及计算机可读存储介质

Also Published As

Publication number Publication date
CN110209369B (zh) 2021-12-24
CN110209369A (zh) 2019-09-06

Similar Documents

Publication Publication Date Title
WO2021083052A1 (zh) 对象分享方法及电子设备
WO2021057337A1 (zh) 操作方法及电子设备
WO2020258929A1 (zh) 文件夹界面切换方法及终端设备
WO2021115278A1 (zh) 群组管理方法及电子设备
WO2021169959A1 (zh) 应用程序启动方法及电子设备
WO2021197315A1 (zh) 显示方法及电子设备
WO2021012927A1 (zh) 图标显示方法及终端设备
WO2020215932A1 (zh) 显示未读消息的方法及终端设备
WO2020192296A1 (zh) 界面显示方法及终端设备
WO2020151460A1 (zh) 对象处理方法及终端设备
WO2021104163A1 (zh) 图标整理方法及电子设备
WO2021004327A1 (zh) 应用权限设置方法及终端设备
WO2020215950A1 (zh) 界面显示方法及终端设备
WO2020192297A1 (zh) 屏幕界面切换方法及终端设备
WO2020238497A1 (zh) 图标移动方法及终端设备
WO2020199783A1 (zh) 界面显示方法及终端设备
WO2019228296A1 (zh) 显示处理方法及终端设备
WO2021121265A1 (zh) 摄像头启动方法及电子设备
WO2020001604A1 (zh) 显示方法及终端设备
WO2021129537A1 (zh) 电子设备控制方法及电子设备
WO2020211596A1 (zh) 控制方法及终端设备
WO2021164716A1 (zh) 显示方法及电子设备
WO2020215969A1 (zh) 内容输入方法及终端设备
WO2020181954A1 (zh) 应用程序控制方法及终端设备
WO2021057712A1 (zh) 接近检测方法及终端设备

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20793962

Country of ref document: EP

Kind code of ref document: A1