WO2021121121A1 - 显示控制方法及电子设备 - Google Patents

显示控制方法及电子设备 Download PDF

Info

Publication number
WO2021121121A1
WO2021121121A1 PCT/CN2020/135209 CN2020135209W WO2021121121A1 WO 2021121121 A1 WO2021121121 A1 WO 2021121121A1 CN 2020135209 W CN2020135209 W CN 2020135209W WO 2021121121 A1 WO2021121121 A1 WO 2021121121A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
length
electronic device
applications
input
Prior art date
Application number
PCT/CN2020/135209
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 WO2021121121A1 publication Critical patent/WO2021121121A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1624Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with sliding enclosures, e.g. sliding keyboard or display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1677Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
    • 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
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Definitions

  • the embodiments of the present invention relate to the field of communication technology, and in particular, to a display control method and electronic equipment.
  • an electronic device is usually provided with a screen.
  • the electronic device displays the content of a certain application on the screen (recorded as the initial content)
  • the user needs to see which applications are running in the background, he must search for and operate the background management controls on the screen to trigger the electronic
  • the device displays the logo of the application running in the background (denoted as the background logo) on this screen.
  • the user if the user requires the electronic device to update the content displayed on the screen, the user usually needs to control the electronic device to find and operate the entry identifier of other content to trigger the electronic device to update the currently displayed initial content to the other content.
  • the user by searching and operating the page turning indicator, the user triggers the electronic device to switch the content displayed on the screen to the content on the next page of the initial content of the application running in the foreground, or by searching and operating a certain application running in the background.
  • the mark is used to trigger the electronic device to switch the currently displayed content to the content in the application.
  • the embodiments of the present invention provide a display control method and an electronic device, so as to solve the problem of poor flexibility of the display content of the electronic device.
  • an embodiment of the present invention provides a display control method applied to a flexible electronic device, wherein the method includes: when the first content is displayed on the first screen, receiving the first expanded second screen Input; in response to the first input, display N logos on the second screen, or update the first content displayed on the first screen to the second content; wherein, the N logos are used to indicate running in the background and with
  • the expansion parameters of the second screen are associated with N applications, one identifier is used to indicate one application; the second content is associated with the expansion parameters; the expansion parameters include at least one of the following: expansion length, expansion direction; N is a positive integer.
  • an embodiment of the present invention also provides an electronic device, which is a flexible electronic device, the electronic device includes: a receiving module and a display module; the receiving module is configured to display the first content on the first screen In the case of receiving the first input to expand the second screen; the display module is configured to display N logos on the second screen in response to the first input received by the receiving module, or to display the first input displayed on the first screen
  • the content is updated to the second content; among them, N identifiers are used to indicate N applications running in the background and associated with the expansion parameters of the second screen, and one identifier is used to indicate an application; the second content is associated with the expansion parameters ;
  • the expansion parameter includes at least one of the following: expansion length, expansion direction; N is a positive integer.
  • an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor.
  • the computer program is executed by the processor to achieve the following On the one hand, the steps of the display control method are described.
  • an embodiment of the present invention provides 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 display control method as described in the first aspect are implemented .
  • the first input of the second screen can be expanded to display N logos on the second screen, without the need to search and operate the background
  • the step of managing the control displays the identification of the background application on the first screen. Therefore, the electronic device can quickly and conveniently display the identifiers of the applications running in the background, and it is convenient for the user to compare these identifiers with the first content running in the foreground.
  • the electronic device can update the first content displayed on the first screen to the second content by expanding the first input on the second screen, without having to search and operate the entry ID of the second content on the first screen.
  • the step of updating the content on the second screen allows the electronic device to display and update the content displayed on the first screen quickly and conveniently. In this way, the flexibility of the display content of the electronic device is improved.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a display control method provided by an embodiment of the present invention.
  • FIG. 3 is one of schematic diagrams of displaying content of an electronic device according to an embodiment of the present invention.
  • FIG. 4 is the second schematic diagram of displaying content of an electronic device according to an embodiment of the present invention.
  • FIG. 5 is the third schematic diagram of displaying content of an electronic device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a possible electronic device provided by an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention.
  • A/B can mean A or B
  • the "and/or” in this article is only an association relationship describing associated objects, indicating that there may be three A relationship, for example, A and/or B, can mean that: A alone exists, A and B exist at the same time, and B exists alone.
  • Multiple means two or more than two.
  • first and second in the specification and claims of the present invention 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.
  • the first input of the second screen can be expanded to display N logos on the second screen, without the need for cumbersome
  • the step of finding and operating the background management control displays the identifier of the background application on the first screen.
  • the electronic device can quickly and conveniently display the identifiers of the applications running in the background, and it is convenient for the user to compare these identifiers with the first content running in the foreground.
  • the electronic device can update the first content displayed on the first screen to the second content by expanding the first input on the second screen, without having to search and operate the entry ID of the second content on the first screen.
  • the step of updating the content on the second screen allows the electronic device to display and update the content displayed on the first screen quickly and conveniently. In this way, the flexibility of the display content of the electronic device is improved.
  • the electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device.
  • Mobile electronic devices can be mobile phones, tablet computers, notebook computers, handheld computers, vehicle terminals, wearable devices, ultra-mobile personal computers (UMPC), netbooks, or personal digital assistants (personal digital assistants, PDAs), etc.
  • the non-mobile electronic device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc.; the embodiment of the present invention does not specifically limit it.
  • the execution body may be an electronic device, or the central processing unit (CPU) of the electronic device, or the electronic device for performing display control The control module of the method.
  • the display control method executed by the electronic device is taken as an example to illustrate the display control method provided in the embodiment of the present invention.
  • the electronic device in the embodiment of the present invention may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
  • the following takes the Android operating system as an example to introduce the software environment to which the display control method provided by the embodiment of the present invention is applied.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, which are: 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. For example, applications such as system setting applications, system chat applications, and system camera applications. Applications such as third-party settings applications, third-party camera applications, and third-party chat applications.
  • 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 display control method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG.
  • the control method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the display control method provided by the embodiment of the present invention by running the software program in the Android operating system.
  • the display control method provided by the embodiment of the present invention will be described in detail below in conjunction with the flowchart of the display control method shown in FIG. 2.
  • the logical sequence of the display control method provided by the embodiment of the present invention is shown in the method flowchart, in some cases, the steps shown or described may be performed in a different order than here.
  • the display control method shown in FIG. 2 may include S201 and S202, or include step S201 and step 203:
  • the electronic device receives a first input to expand the first screen.
  • the flexible electronic device provided by the embodiment of the present invention may include one or more flexible screens.
  • the first screen is a flexible screen.
  • the state of the second screen may include a contracted state (that is, the second screen is fully retracted) and an expanded state (including the second screen is fully expanded and the second screen is partially expanded).
  • the second screen may be arranged outside the electronic device. Wherein, no matter the second screen is in the expanded state or the contracted state, the second screen (except for the part where the second screen is connected to the electronic device) is outside the electronic device.
  • the second screen may be provided in the electronic device, and the stretched part of the second screen may be exposed to the outside of the electronic device, such as the side of the electronic device.
  • the user can trigger the expansion or contraction of the second screen by stretching the stretched part of the second screen.
  • the second screen is in the contracted state, all parts of the second screen except for the above-mentioned stretched parts are contracted inside the electronic device; when the second screen is in the expanded state, the second screen is expanded on the electronic device. The outside of the device.
  • the first input may be the user's input to the stretched part of the second screen in the electronic device.
  • the second screen of the electronic device when the second screen of the electronic device is in the contracted state, the second screen occupies less of the surface of the electronic device, for example, the second screen only occupies the area of the surface where the side of the electronic device is arranged.
  • the second screen provided in the electronic device provided by the embodiment of the present invention can realize the display function of the electronic device through the flexible second screen while occupying less area (such as the surface) of the electronic device.
  • the following takes the electronic device including a flexible second screen and an inflexible screen (such as the following second screen) as an example to illustrate the display control method provided by the embodiment of the present invention.
  • the display area of the second screen of the electronic device may be on the same plane as the display area of the second screen of the electronic device.
  • the first content displayed on the first screen may be the content of the desktop (such as the main interface) of the electronic device; or, it may be an application (denoted as the foreground application). )Content.
  • the first content is the content of the desktop (such as the main interface) of the electronic device
  • all applications run by the electronic device run in the background, that is, the above N applications are all applications run by the electronic device.
  • the electronic device In response to the first input, displays N identifiers on the second screen.
  • N identifiers are used to indicate N applications running in the background and associated with the expansion parameters of the second screen, and one identifier is used to indicate one application; N is a positive integer.
  • one logo can be one application icon.
  • the expansion parameters of the second screen include at least one of the following: expansion length and expansion direction.
  • the expanded length of the second screen is less than or equal to the maximum expanded length of the second screen.
  • the area where content is displayed on the second screen is usually the expanded area of the second screen.
  • a flexible screen (such as a second screen) in the electronic device has one unfolding direction, or has multiple unfolding directions.
  • the unfolding direction may include leftward, rightward, upward, and downward directions.
  • the first input triggers the expansion of the second screen in a certain direction, that is, triggers the electronic device to expand the screen whose expansion direction is this direction.
  • the expanded second screen is a different screen in the electronic device, such as a screen with a different installation position.
  • the second screen whose expansion direction is left, right, up, or down is installed on the left, right, upper or lower side of the first screen, respectively.
  • a flexible screen having one unfolding direction is taken as an example for description.
  • the unfolding direction of the second screen is a rightward direction.
  • the expansion length of the second screen is the expansion length along the corresponding expansion direction.
  • the expansion length of the second screen is the length of the second screen expanded to the right.
  • the N applications associated with the expansion parameters of the second screen change for example, the types of the N applications change.
  • the relationship between the expansion parameters of the second screen and the application may be preset, such as user-defined.
  • the identification of the application associated with the expansion parameter of the second screen is the identification that the user needs to view, that is, the above-mentioned N identifications are the identification that the user needs to view.
  • the electronic device is a mobile phone as an example to illustrate the electronic device provided in the embodiment of the present invention.
  • FIG. 3 it is a schematic diagram of content displayed by an electronic device according to an embodiment of the present invention.
  • Figure 3 (a) shows the screen a1 of the electronic device, the screen a1 may be the first screen of the electronic device, and the content displayed on the screen a1 is the first content W; and the electronic device is in a contracted state
  • the screen a2 can be the second screen of the electronic device.
  • the screen a2 includes a portion 31a, and the portion 31a may be a stretched portion of the screen a2.
  • the user can control the expansion or contraction of the screen a2 by inputting the part 31a.
  • the electronic device updates the first content displayed on the second screen to the second content.
  • the second content is associated with the expansion parameter.
  • the foregoing S202 and S203 may be parallel steps.
  • the second content and the first content are different page content in the same application, or the first content and the second content are different page content in different applications.
  • the leftward expansion input is used to trigger the electronic device to display the content on the first screen.
  • the content is updated to the content of the previous page in the same application; the expansion input to the right is used to trigger the electronic device to update the content displayed on the first screen to the content of the next page in the same application.
  • the second content may be the previous page content or the next page content of the first content, that is, the first input is used to trigger the electronic device to turn the novel reading interface The operation of the page.
  • the second content may be the previous page reading interface of the first content.
  • the second screen is installed on the right side of the first screen of the electronic device on the second screen, when the first input is used to expand the second screen to the right, the second content may be the next page reading interface of the first content.
  • the user can trigger the electronic device to perform a page turning operation on the first content displayed on the first screen by expanding the input on the flexible second screen, without the need for the user to search and operate for controlling the electronic device to execute the displayed content.
  • the control of page turning operation improves the convenience and flexibility of updating the display content of the electronic device.
  • the first content and the second content are different page content in different applications
  • different expansion parameters are associated with content in different applications.
  • the first content is arbitrary content
  • the expansion direction to the left is associated with a specific image in the album application
  • the expansion direction to the right is associated with the content of the specific memo.
  • the second content may be the above-mentioned specific image.
  • the second screen is installed on the right side of the first screen of the electronic device on the second screen, when the first input is used to expand the second screen to the right
  • the second content may be the content of the above-mentioned specific memo.
  • the user can trigger the electronic device to quickly and conveniently display the image or the content of the memo associated with the expansion parameter on the first screen through the expansion input on the flexible second screen, without requiring the user to be on the first screen Finding and operating the icon of the photo album or the icon of the memo to trigger the electronic device to display the content on the first screen, which improves the convenience and flexibility of the electronic device to update the displayed content.
  • the second content is associated with the expansion parameters of the second screen
  • the content associated with the expansion parameters of the second screen can be content required by the user, such as pre-set content
  • the first input to update the second content displayed on the first screen can improve the pertinence and flexibility of the displayed content of the electronic device.
  • the first input of the second screen can be expanded to display N logos on the second screen, and There is no need to display the logo of the background application on the first screen through the tedious steps of searching and operating the background management control. Therefore, the electronic device can quickly and conveniently display the identifiers of the applications running in the background, and it is convenient for the user to compare these identifiers with the first content running in the foreground.
  • the electronic device can update the first content displayed on the first screen to the second content by expanding the first input on the second screen, without having to search and operate the entry ID of the second content on the first screen. The step of updating the content on the second screen allows the electronic device to quickly and conveniently update the content displayed on the first screen. In this way, the flexibility of the display content of the electronic device is improved.
  • the user may require the electronic device to close (or clean up) the background applications.
  • the electronic device can support the user to trigger the closing of some or all of the N applications, so as to release the operating resources of the electronic device and reduce the load of the electronic device.
  • the display control method provided in the embodiment of the present invention may further include S204 and S205 after the foregoing S202:
  • S204 The electronic device receives a second input of the user to shrink the second screen.
  • contraction direction of the second screen triggered by the first input is opposite to the expansion direction triggered by the first input. For example, if the first input triggers the second screen to expand to the right, the second input triggers the second screen to contract to the left.
  • the electronic device closes M applications among the N applications.
  • M is a positive integer less than or equal to N.
  • the electronic device may start to execute and close M of the N applications when the second screen starts to shrink, during the process of shrinking the second screen, or when the second screen is completely contracted (that is, when the second screen ends).
  • the second screen is completely contracted.
  • the electronic device may start to execute the step of closing M applications among the N applications when the second screen is completely contracted. In this way, if the user does not trigger the full contraction of the second screen, the electronic device will not execute the step of closing M applications among the N applications, which is beneficial to avoid the electronic device from accidentally triggering the process of closing the applications running in the background.
  • the electronic device can simply shrink the second input of the second screen to trigger the electronic device to close M applications among the N applications, the user does not need to find and operate the one-click cleanup of background running applications.
  • the button of the application triggers the electronic device to close the applications running in the background, so that the electronic device can quickly and conveniently close M of the N applications, that is, quickly and conveniently close some or all of the applications running in the background.
  • the user may not need to trigger the electronic device to close the applications running in the background, such as the current electronic device has sufficient operating resources or the applications running in the background are performing important processes (Such as the process of downloading a movie).
  • the application of the N applications is accidentally triggered to be closed.
  • the electronic device can determine whether the user really needs to close the application running in the background through the expansion process of the second screen through the second input.
  • S205a may be implemented through S205a:
  • the first length is less than or equal to the second length
  • the second length is the maximum expanded length of the second screen
  • the M applications are applications corresponding to the first length
  • the second input may include a sub-input that triggers the second screen to shrink from the current expanded length to the first length and the stay at the first length is greater than or equal to the time threshold, and triggers the second screen to be changed from the first length Another sub-input that starts to shrink again.
  • the above-mentioned time threshold can be determined according to actual needs, for example, it can be 1 second.
  • the second screen does not stay for a length greater than or equal to the time threshold during the shrinking process, it means that the user does not need to trigger the electronic device to close the application running in the background, that is, the application running in the background is not closed. A step of. At this time, the user usually expands and contracts the second screen relatively quickly.
  • the electronic device can determine whether the user requires the electronic device to close the application running in the background through whether the staying time of the second screen at the first length is greater than or equal to the time threshold, thereby avoiding the electronic device from accidentally triggering the closing of the background.
  • the process of running applications such as avoiding that an electronic device mistakenly closes an application that is executing an important process in the background.
  • different expanded areas of the second screen may correspondingly display identifiers of different types of applications.
  • different deployment lengths of the second screen may include different deployment areas.
  • the types of applications can include locked types and unlocked types, or include common types and uncommon types, and can also be divided into any other achievable types, which can be determined according to actual needs. This is not repeated in the embodiment of the present invention.
  • the above-mentioned locked type refers to an application with a low user's closing demand
  • an unlocked type refers to an application with a high user's closing demand.
  • the electronic device can first close the unlocked type application running in the background, and then close the locked type application, or even not close the locked type application.
  • common types refer to applications that are used frequently or frequently by users, such as applications that are used more than or equal to a preset frequency, or used more than or equal to a preset number of times.
  • uncommon types refer to applications that are used frequently or less frequently by users, that is, applications that are used less frequently than a preset frequency or are used less than a preset number of times.
  • the types of the N applications are all of the first type; the first input triggers the expansion length of the second screen to be greater than the third
  • the first area includes P identifiers, and the second area includes Q identifiers; among them, the first area is the expanded area when the second screen is expanded to the third length when the first input triggers the second area, and the second area is The first input triggers the area where the second screen continues to expand after it is expanded to the third length, the types of the P applications indicated by the P signs are all of the first type, and the types of the Q applications indicated by the Q signs are all of the second type; Both P and Q are positive integers of M, and the sum of P and Q is M.
  • the "expanded length of the second screen" in “the expanded length of the second screen is less than or equal to the third length” and “the expanded length of the second screen is greater than the third length” refers to It is the expanded length of the second screen when the electronic device receives the first input.
  • the second length is the length of the second screen expanded to 100%.
  • Example 1 the expanded length of the second screen is less than or equal to the third length, and in Example 2, the expanded length of the second screen is greater than the third length.
  • the first type is a type corresponding to the third length
  • the second type is a type corresponding to the second length
  • the first type is an unlocked type, and the second type is a locked type; or, the first type is an uncommon type, and the second type is a commonly used type.
  • the third length may be the length of the second screen expanded to 50%, and the electronic device may display the identification of the unlocked type or the uncommon type of application in the area P1 of the second screen.
  • the length L1 is the third length, that is, the length of the screen a2 expanded to 50%.
  • the N identifiers are the identifiers K1 to K4 corresponding to the applications 1 to 4, and N is equal to 4.
  • the electronic device will display the identification of the second type of application will cause display resources (such as the display on the second screen). Area) waste.
  • the third length may be the length of the second screen expanded to 100%. That is, the electronic device may display the identifiers of the unlocked or uncommon types of applications in the area P1 of the second screen, and display the identifiers of the locked or commonly used types of applications in the area P2.
  • the expanded length of the electronic device on the screen a2 is L1
  • the logos K1 to K4 of applications 1 to 4 are displayed, and the logos K5 to K8 of applications 5 to 8 are displayed on the expanded area P2 with a length of L2.
  • the length L3 is the third length, that is, the length of the second screen expanded to 100%
  • the area P1 is the first area
  • the area P2 is the second area.
  • P identifiers are identifiers K1 to K4
  • Q identifiers are identifiers K5 to K8, both P and Q are equal to 4
  • N is equal to 8.
  • dividing line between the first area and the second area for example, a dotted line between the area P1 and the area P2 as shown in FIG. 4.
  • the electronic device may also prompt the user to expand the length of the second screen.
  • the electronic device may display on the second screen the length at which the expanded length of the second screen is "50%".
  • the electronic device can display different types of application identities in different expanded areas of the second screen, so that the user can control the expansion of the second screen to different levels through the first input.
  • the flexibility of the display content of the electronic device is improved.
  • the background application that is triggered to close by the electronic device shrinking the second screen may be different.
  • M applications are P applications, and the first length is equal to the third length; the expanded length of the second screen
  • M applications are N applications, and the first length is equal to the second length.
  • the second screen has an expanded length greater than or equal to the third length and less than the second length
  • the second screen has an expanded length greater than the third length” in the “second screen”.
  • the expanded length of is equal to the second length refers to the expanded length of the second screen when the electronic device receives the second input.
  • the expanded length of the second screen is greater than or equal to the third length and less than the second length, and in Example 4, the expanded length of the second screen is equal to the second length.
  • the third length may be the length of the second screen expanded to 50%.
  • the second screen passes through the third length in the process of shrinking in response to the second input.
  • the first length that the second screen stays in the shrinking process may be the third length, that is, the length at 50% of the second screen.
  • the electronic device shrinks the second screen from 80% of the length, stays for 1 second when it shrinks to the length of 50%, and then shrinks to full contraction, the electronic device starts to turn off the logo indication displayed on the second screen.
  • the electronic device when the electronic device starts to shrink the second screen from 80% of the length and quickly shrinks to a complete contraction, the electronic device can start to close the application indicated by the logo in the first area.
  • the electronic device can close the first type of application among the N applications, but not the second type of the N applications, for example, the unlocked type can be closed
  • the application does not close the locked application, or the uncommon type of application can be closed without the common type of application, so that the electronic device can continue to run the second type of application, and the stability of the application running in the background is improved.
  • the third length may be the length of the second screen expanded to 100%.
  • the expanded length of the second screen is equal to the length at 100%, and the second screen passes through the second length in the process of contracting in response to the second input.
  • the first length that the second screen stays during the shrinking process may be the second length, that is, the length at 100% of the second screen. For example, when the electronic device stops the second screen from the length of 100% for 1 second, and then shrinks to the full contraction, the electronic device starts to close all the applications indicated by the signs in the first area and the second area.
  • the electronic device when the electronic device starts to shrink the second screen from the length at 100% and quickly shrinks to complete contraction, the electronic device can start to close the application of the logo indication displayed in the first area and the second area.
  • the electronic device can close all applications in N applications, for example, it can close unlocked and locked applications running in the background, or it can close in the background
  • N applications for example, it can close unlocked and locked applications running in the background, or it can close in the background
  • the running of uncommon types of applications and commonly used types of applications allows the electronic device to fully close the application to fully release the operating resources, thereby ensuring the stable operation of the electronic device and achieving the effect of reducing power consumption.
  • the electronic device closes the application running in the background is different.
  • the user can trigger the electronic device to close different types of applications through the second input, which improves the convenience of the electronic device to manage the applications running in the background, and improves the accuracy and flexibility of closing the applications running in the background.
  • the types of the N applications are all of the third type corresponding to the target direction; wherein, the different expansion directions of the second screen correspond to different types running in the background Or, different screens of electronic devices correspond to different types of applications running in the background.
  • the third type when the target direction is a rightward direction, the third type may be an unlocked type; when the target direction is a leftward direction, the third type may be a locked type. Or, when the target direction is a rightward direction, the third type may be an uncommon type; when the target direction is a leftward direction, the third type may be a common type.
  • the screen a1 of the electronic device is shown.
  • the screen a1 may be the first screen of the electronic device, and the content displayed on the screen a1 is the first content W;
  • the second screen may be the screen a2 or the screen a3.
  • the screen a2 or the screen a3 in FIG. 5 may include stretched parts.
  • the stretched parts of the screen a2 and the screen a3 in FIG. 5 please refer to the related description of the part 31a of the screen a2 in FIG. No longer.
  • the electronic device can flexibly display different types of applications running in the background in different display areas through the second screen in different expansion directions, which further improves the flexibility of the electronic device to display content.
  • the electronic device may directly display N signs on the expanded second screen .
  • the electronic device may sequentially display N identifiers on the second screen in a certain order.
  • S202b may be implemented through S202b:
  • the electronic device displays the i-th group identifier on the second screen when the first input triggers the second screen to expand the i-th preset length until n ⁇ i is greater than or equal to N.
  • the K-th group identifier includes N-(K-1) ⁇ n identifiers, and each group of identifiers from the first group identifier to the K-1th group identifier includes n identifiers , K and n are positive integers greater than or equal to 2, and 0 ⁇ n ⁇ KN ⁇ n.
  • a group of logos can be additionally displayed on the second screen.
  • the electronic device may display the i-th group identifier in the area where the i-th preset length is located on the second screen, or the electronic device may adjust the first group identifier to the i-th group identifier. -1 The display position of the logo in the group logo to display the i-th group logo on the second screen.
  • the electronic device may first display the identification of the first type of application, and then display the identification of the second type of application. Specifically, in the case where the ith group identifier includes both the identifier of the first type of application and the identifier of the second type of application, the electronic device may display the identifier of the first type of application in the i-th group of identifiers on The first area, and the identification of the second type of application is displayed in the second area.
  • the preset length is 10% of the length of the second screen, and n is 2.
  • the electronic device may increase and display two application logos on the second screen for every 10% of the length of the expansion, so as to display the above-mentioned N logos.
  • the electronic device in the process of expanding the second screen, can expand the second screen according to the degree of expansion, for example, the second screen expands several preset lengths to sequentially display the identifications of the N identifications, thereby improving the electronic equipment The display effect of the displayed content.
  • S202b may be implemented through S202c:
  • the electronic device displays the i-th group identifier on the second screen according to the priority of N applications until n ⁇ i is greater than or equal to N .
  • the priority of the application is determined by at least one of the following: frequency of use of the application, number of times the application is used, and opening time of the application.
  • the electronic device may display N identifiers in descending order of priority.
  • an application with a higher usage frequency has a higher priority
  • an application with a higher usage frequency has a higher usage priority
  • an application with a later opening time has a higher priority
  • N logos can be displayed in order of priority, and priority applications are usually applications that users need to view or use more, so that users need to view the N logos. Or use a higher order. Therefore, the arrangement sequence of the N logos on the second screen meets the user's usage requirements.
  • the display control method provided in the embodiment of the present invention may further include S207 and S208 after the foregoing S203:
  • the electronic device receives the third input of the target identifier among the N identifiers.
  • the target identifier can be any one of the N identifiers.
  • the electronic device In response to the third input, the electronic device performs a target operation.
  • the target application is the application indicated by the target identifier, and the target operation is any one of the following: switching the content displayed on the target screen to the content of the target application, switching the type of the target application, and closing the target application.
  • the target screen is at least one of the first screen and the second screen.
  • the target screen is the second screen as an example for description.
  • the third input may be a click input of the user on the target identification.
  • the third input may be an input of the user dragging the target identifier from the area currently displayed to another area in the second screen.
  • the third input may be a drag input for dragging the target identifier from the first area to the second area; at this time, in response to the third input, the electronic device may Switch the type of the target application to the second type, for example, switch the type of the target application from an unlocked type to a locked type.
  • the target application running in the background will be displayed in the area corresponding to the new type. For example, after the electronic device switches the type of the target application from the unlocked type to the locked type, the electronic device will display the target identifier in the second area next time.
  • the third input may be the user's long-press and drag input of the delete area at the top of the second screen on the target identifier.
  • the third input may also be other achievable inputs, which will not be repeated in this embodiment of the present invention.
  • the electronic device after the electronic device displays the N logos on the second screen, it can support the user to perform target operations on the logos in the N logos, thereby improving the management of background running applications in the process of displaying the N logos on the electronic device.
  • the electronic device displays the N logos on the second screen, it can support the user to perform target operations on the logos in the N logos, thereby improving the management of background running applications in the process of displaying the N logos on the electronic device. The convenience.
  • the electronic device 60 is an electronic device, and the electronic device 60 includes: a receiving module 61 and a display module 62; the receiving module 61 is used to receive the expanded second screen when the first content is displayed on the first screen The first input; the display module 62, in response to the first input received by the receiving module 61, display N logos on the second screen, or update the first content displayed on the first screen to the second content; Among them, N identifiers are used to indicate N applications running in the background and associated with the expansion parameters of the second screen, one identifier is used to indicate one application; the second content is associated with the expansion parameters; the expansion parameters include at least one of the following Item: expansion length, expansion direction; N is a positive integer.
  • the electronic device 60 further includes: a control module; a receiving module 61, which is further configured to receive a second input of the user to shrink the second screen after the display module 62 displays N logos on the second screen; and a control module for In response to the second input received by the receiving module 61, M applications among the N applications are closed; where M is a positive integer less than or equal to N.
  • control module is configured to close M applications corresponding to the first length when the staying time at the first length in the process of the second screen contraction triggered by the second input is greater than or equal to the time threshold; wherein, The first length is less than or equal to the second length, and the second length is the maximum expanded length of the second screen.
  • the types of the N applications are all of the first type; the first input triggers the expansion length of the second screen to be greater than the third
  • the first area includes P identifiers, and the second area includes Q identifiers; among them, the first area is the expanded area when the second screen is expanded to the third length when the first input triggers the second area, and the second area is The first input triggers the area where the second screen continues to expand after it is expanded to the third length, the types of the P applications indicated by the P signs are all of the first type, and the types of the Q applications indicated by the Q signs are all of the second type; Both P and Q are positive integers of M, and the sum of P and Q is M.
  • the M applications are P applications, and the first length is equal to the third length;
  • the expansion length of the second screen is equal to the second length when the input triggers, the M applications are N applications, and the first length is equal to the second length.
  • the types of the N applications are all of the third type corresponding to the target direction; wherein, the different expansion directions of the second screen correspond to different types running in the background Or, different screens of electronic devices correspond to different types of applications running in the background.
  • the display module 62 is specifically configured to display the i-th group identifier on the second screen when the first input triggers the second screen to expand the i-th preset length, until n ⁇ i is greater than or equal to N;
  • the K-th group identifier includes N-(K-1) ⁇ n identifiers
  • each group of identifiers from the first group identifier to the K-1th group identifier includes n identifiers
  • K and n are both positive integers, and 0 ⁇ n ⁇ KN ⁇ n.
  • the display module 62 is specifically configured to display the i-th group identifier on the second screen according to the priority of the N applications when the first input triggers the second screen to expand the i-th preset length until n ⁇ i is greater than or equal to N; wherein, the priority of the application is determined by at least one of the following: the frequency of use of the application, the number of times the application is used, and the opening time of the application.
  • the second screen is completely contracted.
  • the electronic device 60 further includes: an execution module; a receiving module 61, which is also used for the display module 62 after displaying the N identifications on the second screen, and then receiving a third input of the target identification of the N identifications; the execution module , Is also used to perform a target operation in response to the third input received by the receiving module 61; where the target application is the application indicated by the target identifier, and the target operation is any of the following: switching the content displayed on the target screen to the target application Content, switch the type of target application, close the target application.
  • the target screen is at least one of the first screen and the second screen.
  • the second content and the first content are different page content in the same application, or the first content and the second content are different page content in different applications.
  • the electronic device 60 provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • the electronic device when the first content is displayed on the first screen, the first input of the second screen can be expanded to display N identifiers on the second screen without having to go through tedious search and
  • the step of operating the background management control displays the identifier of the background application on the first screen. Therefore, the electronic device can quickly and conveniently display the identifiers of the applications running in the background, and it is convenient for the user to compare these identifiers with the first content running in the foreground.
  • the electronic device can update the first content displayed on the first screen to the second content by expanding the first input on the second screen, without having to search and operate the entry ID of the second content on the first screen.
  • the step of updating the content on the second screen allows the electronic device to quickly and conveniently update the content displayed on the first screen. In this way, the flexibility of the display content of the electronic device is improved.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106 , User input unit 107, interface unit 108, memory 109, processor 110, power supply 111 and other components.
  • a radio frequency unit 101 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106 , User input unit 107, interface unit 108, memory 109, processor 110, power supply 111 and other components.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
  • the processor 110 is configured to control the user input unit 107 to receive the first input to expand the second screen when the first content is displayed on the first screen; the processor 110 is also configured to control the display module 62 to respond Based on the first input received by the user input unit 107, N logos are displayed on the second screen, or the first content displayed on the first screen is updated to the second content; wherein, the N logos are used to indicate running in the background , And N applications associated with the expansion parameters of the second screen, one identifier is used to indicate one application; the second content is associated with the expansion parameters; the expansion parameters include at least one of the following: expansion length, expansion direction; N is positive Integer.
  • the electronic device when the first content is displayed on the first screen, the first input of the second screen can be expanded to display N identifiers on the second screen without having to go through tedious search and
  • the step of operating the background management control displays the identifier of the background application on the first screen. Therefore, the electronic device can quickly and conveniently display the identifiers of the applications running in the background, and it is convenient for the user to compare these identifiers with the first content running in the foreground.
  • the electronic device can update the first content displayed on the first screen to the second content by expanding the first input on the second screen, without having to search and operate the entry ID of the second content on the first screen.
  • the step of updating the content on the second screen allows the electronic device to quickly and conveniently update the content displayed on the first screen. In this way, the flexibility of the display content of the electronic device is improved.
  • the radio frequency unit 101 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 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 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 101 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042.
  • the graphics processing unit 1041 is used to capture images of still pictures or videos 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 can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 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 a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 further includes at least one sensor 105, 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 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 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 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's 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 1071 or near the touch panel 1071. operating).
  • the touch panel 1071 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 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 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 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the electronic device 100.
  • 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 108 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 electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 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 created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 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 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present invention also provides an electronic device, including a processor 110, a memory 109, a computer program stored on the memory 109 and capable of running on the processor 110, and when the computer program is executed by the processor 110
  • an electronic device including a processor 110, a memory 109, a computer program stored on the memory 109 and capable of running on the processor 110, and when the computer program is executed by the processor 110
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here.
  • the computer-readable storage medium such as read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of this application essentially or the part that contributes to the existing 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, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种显示控制方法及电子设备,该方法应用于柔性的电子设备,包括:在第一屏上显示有第一内容的情况下,电子设备接收展开第二屏的第一输入(S201);响应于第一输入,电子设备在第二屏上显示N个标识(S202),或者,响应于第一输入,电子设备将第一屏上显示的第一内容更新为第二内容(S203);其中,N个标识用于指示在后台运行、且与第二屏的展开参数相关联的N个应用,一个标识用于指示一个应用;第二内容与展开参数相关联;展开参数包括以下至少一项:展开长度,展开方向;N为正整数。

Description

显示控制方法及电子设备
相关申请的交叉引用
本申请主张在2019年12月16日提交国家知识产权局、申请号为201911296421.2申请名称为“显示控制方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及通信技术领域,尤其涉及一种显示控制方法及电子设备。
背景技术
当前,电子设备中通常设置有一个屏幕。其中,在电子设备在屏幕上显示某一应用的内容(记为初始内容)的情况下,若用户需求查看后台运行了哪些应用,则必须在该屏幕中查找并操作后台管理控件,以触发电子设备在该屏幕上显示在后台运行应用的标识(记为后台标识)。另外,若用户需求电子设备更新屏幕上显示的内容,则用户通常需要控制电子设备查找并操作其他内容的入口标识,才能触发电子设备将当前显示的初始内容更新为该其他内容。如用户通过查找并操作翻页标识,触发电子设备将屏幕上显示的内容切换为前台运行的应用中初始内容所在页面的下一个页面中的内容,或通过查找并操作某个后台运行的应用的标识以触发电子设备将当前显示的内容切换为该应用中的内容。如此,导致电子设备显示内容的灵活性较差。
发明内容
本发明实施例提供一种显示控制方法及电子设备,以解决电子设备显示内容的灵活性较差的问题。
为了解决上述技术问题,本发明实施例是这样实现的:
第一方面,本发明实施例提供一种显示控制方法,应用于柔性电子设备,其特征在于,方法包括:在第一屏上显示有第一内容的情况下,接收展开第二屏的第一输入;响应于第一输入,在第二屏上显示N个标识,或者,将第一屏上显示的第一内容更新为第二内容;其中,N个标识用于指示在后台运行、且与第二屏的展开参数相关联的N个应用,一个标识用于指示一个应用;第二内容与展开参数相关联;展开参数包括以下至少一项:展开长度,展开方向;N为正整数。
第二方面,本发明实施例还提供了一种电子设备,该电子设备为柔性电子设备,该电子设备包括:接收模块和显示模块;接收模块,用于在第一屏上显示有第一内容的情况下,接收展开第二屏的第一输入;显示模块,用于响应于接收模块接收的第一输入,在第二屏上显示N个标识,或者,将第一屏上显示的第一内容更新为第二内容;其中,N个标识用于指示在后台运行、且与第二屏的展开参数相关联的N个应用,一个标识用于指示一个应用;第二内容与展开参数相关联;展开参数包括以下至少一项:展开长度,展开方向;N为正整数。
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现 如第一方面所述的显示控制方法的步骤。
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的显示控制方法的步骤。
在本发明实施例中,在第一屏上显示第一内容的情况下,可以通过展开第二屏的第一输入,在第二屏上显示N个标识,而无需通过繁琐的查找并操作后台管理控件的步骤在第一屏上显示后台应用的标识。从而,使得电子设备可以快速、便捷的显示在后台运行的应用的标识,并方便用户对比查看这些标识和前台运行的第一内容。另外,电子设备通过展开第二屏的第一输入,可以将第一屏上显示的第一内容更新为第二内容,而无需通过在第一屏上繁琐的查找并操作第二内容的入口标识的步骤更新第二屏上的内容,使得电子设备可以快速、便捷的显示更新第一屏上显示的内容。这样一来,提高了电子设备显示内容的灵活性。
附图说明
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;
图2为本发明实施例提供的一种显示控制方法的流程示意图;
图3为本发明实施例提供的电子设备显示内容的示意图之一;
图4为本发明实施例提供的电子设备显示内容的示意图之二;
图5为本发明实施例提供的电子设备显示内容的示意图之三;
图6为本发明实施例提供的一种可能的电子设备的结构示意图;
图7为本发明实施例提供的一种电子设备的硬件结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“多个”是指两个或多于两个。
需要说明的是,本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。
本发明实施例提供的显示控制方法,在第一屏上显示有第一内容的情况下,可以通过展开第二屏的第一输入,在第二屏上显示N个标识,而无需通过繁琐的查找并操作后台管理控件的步骤在第一屏上显示后台应用的标识。从而,使得电子设备可以快 速、便捷的显示在后台运行的应用的标识,并方便用户对比查看这些标识和前台运行的第一内容。另外,电子设备通过展开第二屏的第一输入,可以将第一屏上显示的第一内容更新为第二内容,而无需通过在第一屏上繁琐的查找并操作第二内容的入口标识的步骤更新第二屏上的内容,使得电子设备可以快速、便捷的显示更新第一屏上显示的内容。这样一来,提高了电子设备显示内容的灵活性。
本发明实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等;本发明实施例不作具体限定。
需要说明的是,本发明实施例提供的显示控制方法,执行主体可以为电子设备,或者,该电子设备的中央处理器(central processing unit,CPU),或者该电子设备中的用于执行显示控制方法的控制模块。本发明实施例中以电子设备执行显示控制方法为例,说明本发明实施例提供的显示控制方法。
本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本发明实施例提供的显示控制方法所应用的软件环境。
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。例如,系统设置应用、系统聊天应用和系统相机应用等应用程序。第三方设置应用、第三方相机应用和第三方聊天应用等应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的显示控制方法的软件程序,从而使得该显示控制方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的显示控制方法。
下面结合图2所示的显示控制方法的流程图对本发明实施例提供的显示控制方法进行详细描述。其中,虽然在方法流程图中示出了本发明实施例提供的显示控制方法的逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。例如,图2中示出的显示控制方法可以包括S201和S202,或包括步骤S201和步骤203:
S201、在第一屏上显示第一内容的情况下,电子设备接收展开第一屏的第一输入。
可选地,本发明实施例提供的柔性的电子设备中可以包括一个或多个柔性屏。其中,第一屏为柔性屏。
具体的,第二屏的状态可以包括收缩状态(即第二屏完全缩回)和展开状态(包括第二屏完全展开和第二屏部分展开)。
具体的,第二屏可以设置在电子设备的外部。其中,不论第二屏处于展开状态还是收缩状态,第二屏(除了第二屏与电子设备连接的部分)均处于电子设备的外部。
或者,第二屏可以设置在电子设备中,且第二屏的拉伸部位可以暴露在电子设备的外部,如电子设备的侧边。其中,用户可以通过拉伸第二屏的拉伸部位,以触发第二屏展开或者收缩。具体的,在第二屏处于收缩状态时,第二屏中除了上述拉伸部位之外的部分,均收缩在电子设备的内部;在第二屏的处于展开状态时,第二屏展开在电子设备的外部。
示例性的,第一输入可以为用户对电子设备中的第二屏的拉伸部位的输入。
可以理解的是,电子设备的第二屏处于收缩状态时,该第二屏对电子设备的表面的占用较少,如第二屏仅占用其设置在电子设备的侧边所在的表面的面积。如此,本发明实施例提供的电子设备中设置的第二屏,可以在较少占用电子设备的面积(如表面)的情况下,通过柔性的第二屏实现电子设备的显示功能。
示例性的,以下以电子设备包括柔性的第二屏和非柔性的屏(如下述第二屏)为例,说明本发明实施例提供的显示控制方法。其中,电子设备的第二屏的显示区域,可以与电子设备的第二屏的显示区域处于同一平面。
其中,本发明实施例中,电子设备接收第一输入时,在第一屏上显示第一的内容可以为电子设备的桌面(如主界面)的内容;或者,为一个应用(记为前台应用)的内容。
可以理解的是,在第一内容为电子设备的桌面(如主界面)的内容的情况下,电子设备运行的应用均在后台运行,即上述N个应用为电子设备运行的所有应用。
S202、响应于第一输入,电子设备在第二屏上显示N个标识。
其中,N个标识用于指示在后台运行、且与第二屏的展开参数相关联的N个应用,一个标识用于指示一个应用;N为正整数。
示例性的,一个标识可以一个应用图标。
具体的,第二屏的展开参数包括以下至少一项:展开长度,展开方向。
其中,第二屏的展开长度小于或等于第二屏屏的最大展开长度。第二屏上显示内容的区域通常为第二屏展开的区域。
可选地,本发明实施例中,电子设备中的一个柔性屏(如第二屏)具有一个展开方向,或者具有多个展开方向。例如,展开方向可以包括向左、向右、向上、向下的 方向。
示例性的,在电子设备中多个展开方向不同的屏时,第一输入触发向某一方向展开第二屏,即触发电子设备对展开方向为该方向的屏展开。具体的,在第一输入触发的展开方向不同时,展开的第二屏为电子设备中的不同屏,如安装位置不同的屏。例如,电子设备中展开方向为向左、向右、向上或向下的第二屏,分别安装在第一屏的左侧、右侧、上侧或下侧。
示例性的,本发明实施例中,以一个柔性屏具有一个展开方向为例进行说明,例如第二屏的展开方向为向右的方向。
需要说明的是,第二屏的展开长度为沿着相应展开方向的展开长度。例如,在第二屏的展开方向为向右的方向时,第二屏的展开长度为第二屏向右展开的长度。
具体的,随着第二屏的展开参数的变化,与第二屏的展开参数相关联的N个应用变化,如N个应用的类型发生变化。
可以理解的是,第二屏的展开参数与应用的关联关系可以为预先设置的,如用户自定义的。一般而言,与第二屏的展开参数相关联的应用的标识为用户需求查看的标识,即上述N个标识为用户需求查看的标识。
示例性的,以下实施例中以电子设备为手机为例,说明本发明实施例提供的电子设备。
如图3所示,为本发明实施例提供的一种电子设备显示的内容的示意图。具体的,图3中(a)示出了电子设备的屏a1,该屏a1可以为电子设备的第一屏,该屏a1显示的内容为第一内容W;以及电子设备包括的处于收缩状态的屏a2,该屏a2可以为电子设备的第二屏。另外,该屏a2包括部位31a,该部位31a可以为该屏a2的拉伸部位。具体的,用户可以通过对部位31a的输入,控制屏a2展开或收缩。
进一步的,如图3中(b)所示,在用户控制电子设备将屏a2向右展开到长度L1时,电子设备在屏a2上显示展开长度为L1的展开区域P1上显示应用1~应用4的标识K1~标识K4。
S203、响应于第一输入,电子设备将第二屏上显示的第一内容更新为第二内容。
其中,第二内容与展开参数相关联。
可选的可选地,上述S202和S203可以为并列的步骤。
可选的可选地,第二内容与第一内容为同一应用中的不同页面内容,或者,第一内容与第二内容为不同应用中的不同页面内容。
可选的可选地,在第二内容为与第一内容为同一应用(即阅读应用)中的不同页面内容的情况下,向左的展开输入用于触发电子设备将第一屏上显示的内容更新为同一应用中的上一页面内容;向右的展开输入用于触发电子设备将第一屏上显示的内容更新为同一应用中的下一页面内容。
示例性的,在第一内容为小说阅读界面的场景中,第二内容可以为第一内容的上一页内容或下一页内容,即第一输入用于触发电子设备对小说阅读界面进行翻页的操作。例如,在第二屏安装在电子设备中第一屏的左侧,第一输入用于向左展开第二屏时,第二内容可以为第一内容的上一页阅读界面。在第二屏安装电子设备中第一屏的右侧,第一输入用于向右展开第二屏时,第二内容可以为第一内容的下一页阅读界面。 如此,用户通过对柔性的第二屏的展开输入,便可以触发电子设备对第一屏上显示的第一内容执行翻页操作,而无需用户查找并操作用于控制电子设备对显示的内容执行翻页操作的控件,提高了电子设备更新显示内容的便捷性和灵活性。
示例性的,在第一内容与第二内容为不同应用中的不同页面内容的情况下,不同的展开参数关联不同的应用中的内容。示例性的,在第一内容为任意内容的情况下,向左的展开方向关联相册应用中的特定图像,向右的展开方向关联特定备忘录的内容。具体的,在第二屏安装在电子设备中第一屏的左侧,第一输入用于向左展开第二屏时,第二内容可以为上述特定图像。在第二屏安装电子设备中第一屏的右侧,第一输入用于向右展开第二屏时,第二内容可以为上述特定备忘录的内容。如此,用户通过对柔性的第二屏的展开输入,便可以触发电子设备快速、便捷的在第一屏上显示与展开参数相关联的图像或备忘录的内容,而不需要用户在第一屏上查找并操作相册的图标或备忘录的图标以触发电子设备在第一屏上显示这些内容,提高了电子设备更新显示内容的便捷性和灵活性。
其中,由于第二内容与第二屏的展开参数相关联,而与第二屏的展开参数相关联的内容可以为用户需求的内容,如用于预先设置的内容,因此通过展开第二屏的第一输入在第一屏上更新显示的第二内容可以提高电子设备显示内容的针对性和灵活性。
需要说明的是,本发明实施例提供的显示控制方法,在第一屏上显示第一内容的情况下,可以通过展开第二屏的第一输入,在第二屏上显示N个标识,而无需通过繁琐的查找并操作后台管理控件的步骤在第一屏上显示后台应用的标识。从而,使得电子设备可以快速、便捷的显示在后台运行的应用的标识,并方便用户对比查看这些标识和前台运行的第一内容。另外,电子设备通过展开第二屏的第一输入,可以将第一屏上显示的第一内容更新为第二内容,而无需通过在第一屏上繁琐的查找并操作第二内容的入口标识的步骤更新第二屏上的内容,使得电子设备可以快速、便捷的更新第一屏上显示的内容。这样一来,提高了电子设备显示内容的灵活性。
可以理解的是,在用户查看电子设备当前在后台运行哪些应用,如在电子设备当前的运行资源较少导致运行卡顿的情况下,用户可能需求电子设备关闭(或清理)后台应用。具体的,在电子设备在第二屏上显示N个标识的情况下,电子设备可以支持用户触发关闭N个应用中的部分或全部应用,以释放电子设备的运行资源并减轻电子设备的负荷。
可选地,本发明实施例提供的显示控制方法,在上述S202之后还可以包括S204和S205:
S204、电子设备接收用户收缩第二屏的第二输入。
可以理解的是,在第一输入的触发下第二屏的收缩方向与第一输入的触发下的展开方向相反。例如,第一输入触发第二屏向右展开,则第二输入触发第二屏向左收缩。
S205、响应于第二输入,电子设备关闭N个应用中的M个应用。
其中,M为小于或等于N的正整数。
可选地,电子设备可以在第二屏开始收缩时,第二屏收缩的过程中,或第二屏完全收缩(即第二屏收缩结束)时,开始执行关闭N个应用中的M个应用的步骤。
可选地,在第二输入的结束时刻,第二屏完全收缩。
其中,电子设备可以在第二屏完全收缩时,开始执行关闭N个应用中的M个应用的步骤。如此,若用户未触发第二屏完全收缩,则电子设备不会执行关闭N个应用中的M个应用的步骤,有利于避免电子设备误触发关闭后台运行的应用的流程。
本发明实施例中,由于电子设备可以通过简便的收缩第二屏的第二输入,触发电子设备关闭N个应用中的M个应用,而不需要用户查找并操作用于一键清理后台运行的应用的按钮触发电子设备关闭后台运行的应用,因此使得电子设备可以快速、便捷地关闭N个应用中的M个应用,即快速、便捷地关闭后台运行的部分或全部应用。
可以理解的是,在用户查看电子设备当前在后台运行哪些应用的场景中,用户可能不需要触发电子设备关闭后台运行的应用,如当前电子设备的运行资源充足或后台运行的应用正在执行重要进程(如下载电影的进程)。此时,避免用户仅查看电子设备显示的N个标识的情况下,误触发关闭N个应用中的应用。电子设备可以通过第二输入对第二屏的展开过程判断用户是否真实需求关闭后台运行的应用。
可选地,上述S205可以通过S205a实现:
S205a、电子设备在第二输入触发第二屏收缩过程中在第一长度处的停留时长大于或等于时间阈值的情况下,关闭与第一长度对应的M个应用。
其中,第一长度小于或等于第二长度,第二长度为第二屏的最大展开长度,M个应用为与第一长度对应的应用。
可选地,第二输入可以包括触发第二屏由当前展开长度收缩到第一长度并在第一长度处的停留时长大于或等于时间阈值的一个子输入,以及触发第二屏由第一长度处再开始收缩的另一个子输入。
其中,上述时间阈值可以根据实际需求确定,如可以为1秒。
可以理解的是,若第二屏在收缩的过程中未在某一长度停留大于或等于时间阈值的时长,则说明用户不需要触发电子设备关闭后台运行的应用,即不执行关闭后台运行的应用的步骤。此时,用户通常较为快速地展开并收缩第二屏。
本发明实施例中,电子设备可以通过第二屏在第一长度处的停留时长是否大于或等于时间阈值,以判断用户是否需求电子设备关闭后台运行的应用,从而可以避免电子设备误触发关闭后台运行的应用的流程,如避免电子设备错误关闭了后台中正在执行重要进程的应用。
在本发明实施例提供显示控制方法中,第二屏的不同展开区域可以对应显示不同类型的应用的标识。具体的,第二屏的处于不同的展开长度可以包括不同的展开区域。
需要说明的是,本发明实施例中,应用的类型可以包括加锁类型和未加锁类型,或包括常用类型和不常用类型,还可以为其他任意可实现的类型划分,可以根据实际需求确定,本发明实施例对此不再赘述。
其中,上述加锁类型指的是用户的关闭需求较低的应用,未加锁类型指的时用户的关闭需求较高的应用。一般而言,电子设备在关闭后台应用的过程中,可以先关闭在后台运行的未加锁类型的应用,再关闭加锁类型的应用,甚至不关闭加锁类型的应用。
另外,常用类型指的是用户使用频次或使用次数较多的应用,如使用频次大于或等于预设频次,或使用次数大于或等于预设次数的应用。相应的,不常用类型指的是 用户使用频次或使用次数较少的应用,即使用频次小于预设频次,或使用次数小于预设次数的应用。
可选地,在第一输入触发第二屏的展开长度小于或等于第三长度的情况下,N个应用的类型均为第一类型;在第一输入触发第二屏的展开长度大于第三长度的情况下,第一区域中包括P个标识,第二区域中包括Q个标识;其中,第一区域为第一输入触发第二屏展开到第三长度时的展开区域,第二区域为第一输入触发第二屏展开到第三长度之后继续展开的区域,P个标识指示的P个应用的类型均为第一类型,Q个标识指示的Q个应用的类型均为第二类型;P和Q均为M的正整数,且P与Q之和为M。
需要强调的是,本发明实施例这里,“第二屏的展开长度小于或等于第三长度”和“第二屏的展开长度大于第三长度”中的“第二屏的展开长度”指的是电子设备接收到第一输入时第二屏的展开长度。
其中,第二长度为第二屏展开到100%处的长度。
具体的,在示例1中第二屏的展开长度小于或等于第三长度,在示例2中第二屏的展开长度大于第三长度。
可以理解的是,第一类型为与第三长度对应的类型,第二类型为与第二长度对应的类型。
示例性的,第一类型为未加锁类型,第二类型为加锁类型;或者,第一类型为不常用类型,第二类型为常用类型。
在应用场景1的示例1中,第三长度可以为第二屏展开到50%处的长度,电子设备可以在第二屏的区域P1内显示未加锁类型或不常用类型的应用的标识。结合图3,长度L1为第三长度,即屏a2展开到50%处的长度。此时,N个标识为应用1~应用4对应的标识K1~标识K4,N等于4。
可以理解是,如果用户需求查看第一类型的应用的标识,而无需查看第二类型的应用的标识,那么电子设备显示第二类型的应用的标识将造成显示资源(如第二屏上的显示区域)的浪费。
示例性的,在应用场景1的示例2中,第三长度可以为第二屏展开到100%处的长度。即电子设备可以在第二屏的区域P1中显示未加锁类型或不常用类型的应用的标识,以及在区域P2中显示加锁类型或常用类型的应用的标识。
结合图3,如图4所示,在第一输入触发屏a2先向右展开到长度L1,再向右展开长度L2使得展开长度达到长度L3时,电子设备在屏a2上的展开长度为L1的展开区域P1上显示应用1~应用4的标识K1~标识K4,在展开的长度为L2的区域P2上显示应用5~应用8的标识K5~标识K8。
结合图4,在应用场景1的示例2中,长度L3为第三长度,即第二屏展开到100%处的长度,区域P1为第一区域,区域P2为第二区域。此时,P个标识为标识K1~标识K4,Q个标识为标识K5~标识K8,P和Q均等于4,N等于8。
另外,第一区域和第二区域之间可以存在分界线,例如,如图4示出的区域P1和区域P2之间的虚线。
可选地,电子设备在展开第二屏的过程中,还可以向用户提示第二屏展开的长度。例如,电子设备可以在第二屏上显示第二屏的展开长度为“50%”处的长度。
本发明实施例中,由于电子设备可以随着第二屏的展开,在第二屏的不同展开区域显示不同类型的应用的标识,因此使得用户可以通过第一输入控制第二屏的展开到不同的长度,以获知不同类型的应用的标识,提高了电子设备显示内容的灵活性。
本发明实施例中,在第二屏的展开长度不同的情况下,电子设备收缩第二屏触发关闭的后台应用可能不同。
可选地,在第二屏的展开长度大于或等于第三长度、且小于第二长度的情况下,M个应用为P个应用,第一长度等于第三长度;在第二屏的展开长度等于第二长度的情况下,M个应用为N个应用,第一长度等于第二长度。
需要强调的是,本发明实施例这里,“第二屏的展开长度大于或等于第三长度、且小于第二长度”和“第二屏的展开长度大于第三长度”中的“第二屏的展开长度等于第二长度”指的是电子设备接收到第二输入时第二屏的展开长度。
具体的,在示例3中第二屏的展开长度大于或等于第三长度、且小于第二长度,在示例4中第二屏的展开长度等于第二长度。
在应用场景1的示例3中,第三长度可以为第二屏展开到50%处的长度。此时,第二屏的展开长度大于或等于50%处的长度且小于100%处,第二屏响应于第二输入收缩的过程中经过第三长度。其中,第二屏在收缩过程中停留的第一长度可以为第三长度,即第二屏的50%处的长度。例如,在电子设备将第二屏从80%处的长度开始收缩,在收缩到50%处的长度时停留1秒,再收缩至完全收缩时,电子设备开始关闭第二屏中显示的标识指示的应用。
当然,在电子设备将第二屏从80%处的长度开始收缩,并快速收缩至完全收缩的情况下,电子设备可以开始关闭第一区域中的标识指示的应用。
可以理解的是,在应用场景1的示例3中,电子设备可以关闭N个应用中的第一类型应用,而不会关闭N个应用中的第二类型应用,如可以关闭未加锁类型的应用而不会关闭加锁类型的应用,或者可以关闭不常用类型的应用而不会关闭常用类型的应用,使得电子设备可以持续运行第二类型的应用,提高了后台运行应用程序的稳定性。
示例性的,结合图3,在屏a2展开到50%处的长度的情况下,用户触发屏a2在长度L1处的长度时停留1秒,再收缩至完全收缩时,电子设备开始关闭区域P1中的标识K1~标识K4指示的应用1~应用4,M等于4。
在应用场景1的示例4中,第三长度可以为第二屏展开到100%处的长度。此时,第二屏的展开长度等于100%处的长度,第二屏响应于第二输入收缩的过程中经过第二长度。其中,第二屏在收缩过程中停留的第一长度可以为第二长度,即第二屏的100%处的长度。例如,在电子设备将第二屏从100%处的长度停留1秒,再收缩至完全收缩时,电子设备开始关闭第一区域和第二区域中的所有标识指示的应用。
当然,在电子设备将第二屏从100%处的长度开始收缩,并快速收缩至完全收缩的情况下,电子设备可以开始关闭第一区域和第二区域中显示的标识指示的应用。
示例性的,结合图4,在屏a2展开到长度L3的情况下,用户触发屏a2在长度L3处停留1秒,再收缩至完全收缩时,电子设备开始关闭区域P1中的标识K1~标识K4指示的应用1~应用4,以及区域P2中的标识K5~标识K8指示的应用5~应用8,M等于N,即M等于8。
可以理解的是,在应用场景1的示例4中,电子设备可以关闭N个应用中所有应用,如可以关闭在后台运行的未加锁类型的应用和加锁类型的应用,或者可以关闭在后台运行的不常用类型的应用和常用类型的应用,使得电子设备可以充分关闭应用以充分释放运行资源,进而保证电子设备的稳定运行并达到减少功耗的效果。
本发明实施例中,在第二屏从不同的展开长度开始收缩,电子设备关闭后台运行的应用不同。如此,使得用户可以通过第二输入触发电子设备关闭不同的类型的应用,提高了电子设备管理后台运行的应用的便捷性,提高了关闭后台运行的应用的准确性和灵活性。
可选地,在第二屏的展开方向为目标方向的情况下,N个应用的类型均为与目标方向对应的第三类型;其中,第二屏的不同展开方向对应在后台运行的不同类型的应用,或者,电子设备的不同屏对应在后台运行的不同类型的应用。
示例性的,在目标方向为向右的方向的情况下,第三类型可以为未加锁类型;在目标方向为向左的方向的情况下,第三类型可以为加锁类型。或者,在目标方向为向右的方向的情况下,第三类型可以为不常用类型;在目标方向为向左的方向的情况下,第三类型可以为常用类型。
结合上述实施例,如图5中(a)示出了电子设备的屏a1,该屏a1可以为电子设备的第一屏,该屏a1显示的内容为第一内容W;以及电子设备中处于收缩状态的屏a2和屏a3,第二屏可以为屏a2或屏a3。
进一步的,如图5中(b)所示,在用户控制电子设备将屏a2向右展开到长度L1时,电子设备在屏a2上显示展开长度为L1的展开区域P1上显示应用1~应用4的标识K1~标识K4。如图5中(c)所示,在用户控制电子设备将屏a3向左展开到长度L4时,电子设备在屏a3上显示展开长度为L4的展开区域P3上显示应用5~应用8的标识K5~标识K8。
类似的,图5中屏a2或屏a3均可以包括拉伸部位,对图5中屏a2和屏a3的拉伸部位的描述,可以参照上述图3中屏a2的部位31a的相关描述,这里不再赘述。
本发明实施例中,电子设备可以通过不同的展开方向第二屏,灵活地子不同显示区域显示后台运行的不同类型的应用,进一步提高了电子设备显示内容的灵活性。
可选地,在后台运行的应用的数量较少,即N较小(如N小于或等于预设数值,如2)的情况下,电子设备可以直接在展开的第二屏上显示N个标识。反之,在后台运行的应用的数量较多,即N较大(如N大于预设数值)的情况下,电子设备可以按照一定的顺序在第二屏上依次显示N个标识。
可选地,上述S202可以通过S202b实现:
S202b、响应于第一输入,电子设备在第一输入触发第二屏展开第i个预设长度的情况下,在第二屏上显示第i组标识,直至n×i大于或等于N。
其中,i∈{1,…,K},第K组标识中包括N-(K-1)×n个标识,第1组标识至第K-1组标识中每组标识均包括n个标识,K和n为大于或等于2的正整数,且0<n×K-N<n。
可以理解的是,电子设备可以每展开一个预设长度,在第二屏上增加显示一组标识。
可选地,在第二屏上显示第i组标识时,电子设备可以在第二屏中第i个预设长度所在的区域显示第i组标识,或者电子设备调整第1组标识到第i-1组标识中的标识的显示位置,以在第二屏上显示第i组标识。
其中,电子设备可以先显示第一类型的应用的标识,再显示第二类型的应用的标识。具体的,在第i组标识中既包括第一类型的应用的标识又包括第二类型的应用的标识的情况下,电子设备可以将第i组标识中的第一类型的应用的标识显示在第一区域,并将第二类型的应用的标识显示在第二区域。
示例性的,预设长度为第二屏的10%的长度,n为2。此时,电子设备可以每展开10%的长度,在第二屏上增加显示2个应用的标识,以显示上述N个标识。
其中,由于在第二屏展开的过程中,电子设备可以按照第二屏的展开程度,如第二屏展开了几个预设长度,以依次显示N个标识中的标识,从而提升了电子设备显示内容的显示效果。
可选地,上述S202b可以通过S202c实现:
S202c、电子设备在第一输入触发第二屏展开第i个预设长度的情况下,按照N个应用的优先级,在第二屏上显示第i组标识,直至n×i大于或等于N。
其中,应用的优先级由以下至少一项确定:应用的使用频次,应用的使用次数,应用的开启时间。具体的,电子设备可以按照优先级由高到低的顺序显示N个标识。
示例性的,应用的使用频次越高的应用的优先级越高,应用的使用次数越高的应用的使用优先级越高,应用的开启时间越晚的应用的优先级越高。
其中,电子设备在第二屏展开的过程中,可以按照优先级的顺序依次显示N个标识,而优先级的应用通常为用户更加需求查看或使用的应用,因此使得N个标识中用户需求查看或使用的排序更靠前。从而,N个标识在第二屏上的排列顺序符合用户的使用需求。
可选地,本发明实施例提供的显示控制方法,在上述S203之后还可以包括S207和S208:
S207、电子设备接收对N个标识中的目标标识的第三输入。
其中,目标标识可以为N个标识中的任一标识。
S208、响应于第三输入,电子设备执行目标操作。
其中,目标应用为目标标识指示的应用,目标操作为以下任意一项:将目标屏上显示的内容切换为目标应用的内容,切换目标应用的类型,关闭目标应用。
具体的,目标屏为第一屏和第二屏中的至少一项。示例性的,以下实施例中,以目标屏为第二屏为例进行说明。
可以理解的是,在目标操作为将第二屏上显示的内容切换为目标应用的内容的情况下,第三输入可以为用户对目标标识的点击输入。
在目标操作为切换目标应用的类型的情况下,第三输入可以为用户将目标标识从当前显示的区域拖动至第二屏中的另一区域的输入。例如,在目标应用的类型为第一类型的情况下,第三输入可以为将目标标识从第一区域拖动至第二区域的拖动输入;此时,响应于第三输入,电子设备可以将目标应用的类型切换为第二类型,如将目标应用的类型由未加锁类型切换为加锁类型。
需要说明的是,在电子设备切换目标应用的类型之后,电子设备下次展开第二屏之后,在后台运行的目标应用将在新的类型对应的区域显示。例如,在电子设备将目标应用的类型由未加锁类型切换为加锁类型之后,下次电子设备将在第二区域显示目标标识。
在目标操作为关闭目标应用的情况下,第三输入可以为用户对目标标识的长按并拖动中第二屏顶部的删除区域的输入。
需要说明的是,第三输入还可以为其他可以实现的输入,本发明实施例对此不再赘述。
本发明实施例中,由于电子设备在第二屏上显示N个标识之后,可以支持用户对N个标识中的标识执行目标操作,因此提高了电子设备显示N个标识过程中管理后台运行的应用的便捷性。
如图6所示,为本发明实施例提供的一种可能的电子设备的结构示意图。图6所示,电子设备60为电子设备,电子设备60包括:接收模块61和显示模块62;接收模块61,用于在第一屏上显示有第一内容的情况下,接收展开第二屏的第一输入;显示模块62,用于响应于接收模块61接收的第一输入,在第二屏上显示N个标识,或者,将第一屏上显示的第一内容更新为第二内容;其中,N个标识用于指示在后台运行、且与第二屏的展开参数相关联的N个应用,一个标识用于指示一个应用;第二内容与展开参数相关联;展开参数包括以下至少一项:展开长度,展开方向;N为正整数。
可选地,电子设备60还包括:控制模块;接收模块61,还用于显示模块62在第二屏上显示N个标识之后,接收用户收缩第二屏的第二输入;控制模块,用于响应于接收模块61接收的第二输入,关闭N个应用中的M个应用;其中,M为小于或等于N的正整数。
可选地,控制模块,用于在第二输入触发第二屏收缩过程中在第一长度处的停留时长大于或等于时间阈值的情况下,关闭与第一长度对应的M个应用;其中,第一长度小于或等于第二长度,第二长度为第二屏的最大展开长度。
可选地,在第一输入触发第二屏的展开长度小于或等于第三长度的情况下,N个应用的类型均为第一类型;在第一输入触发第二屏的展开长度大于第三长度的情况下,第一区域中包括P个标识,第二区域中包括Q个标识;其中,第一区域为第一输入触发第二屏展开到第三长度时的展开区域,第二区域为第一输入触发第二屏展开到第三长度之后继续展开的区域,P个标识指示的P个应用的类型均为第一类型,Q个标识指示的Q个应用的类型均为第二类型;P和Q均为M的正整数,且P与Q之和为M。
可选地,在第一输入触发第二屏的展开长度大于或等于第三长度、且小于第二长度的情况下,M个应用为P个应用,第一长度等于第三长度;在第一输入触发第二屏的展开长度等于第二长度的情况下,M个应用为N个应用,第一长度等于第二长度。
可选地,在第二屏的展开方向为目标方向的情况下,N个应用的类型均为与目标方向对应的第三类型;其中,第二屏的不同展开方向对应在后台运行的不同类型的应用,或者,电子设备的不同屏对应在后台运行的不同类型的应用。
可选地,显示模块62,具体用于在第一输入触发第二屏展开第i个预设长度的情 况下,在第二屏上显示第i组标识,直至n×i大于或等于N;其中,i∈{1,…,K},第K组标识中包括N-(K-1)×n个标识,第1组标识至第K-1组标识中每组标识均包括n个标识,K和n均为正整数,且0<n×K-N<n。
可选地,显示模块62,具体用于在第一输入触发第二屏展开第i个预设长度的情况下,按照N个应用的优先级,在第二屏上显示第i组标识,直至n×i大于或等于N;其中,应用的优先级由以下至少一项确定:应用的使用频次,应用的使用次数,应用的开启时间。
可选地,在第二输入的结束时刻,第二屏完全收缩。
可选地,电子设备60还包括:执行模块;接收模块61,还用于显示模块62在第二屏上显示N个标识之后,接收对N个标识中的目标标识的第三输入;执行模块,还用于响应于接收模块61接收的第三输入,执行目标操作;其中,目标应用为目标标识指示的应用,目标操作为以下任意一项:将目标屏上显示的内容切换为目标应用的内容,切换目标应用的类型,关闭目标应用。其中,所述目标屏为第一屏和第二屏中的至少一项。
可选地,第二内容与第一内容为同一应用中的不同页面内容,或者,第一内容与第二内容为不同应用中的不同页面内容。
本发明实施例提供的电子设备60能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。
本发明实施例提供的电子设备,在第一屏上显示第一内容的情况下,可以通过展开第二屏的第一输入,在第二屏上显示N个标识,而无需通过繁琐的查找并操作后台管理控件的步骤在第一屏上显示后台应用的标识。从而,使得电子设备可以快速、便捷的显示在后台运行的应用的标识,并方便用户对比查看这些标识和前台运行的第一内容。另外,电子设备通过展开第二屏的第一输入,可以将第一屏上显示的第一内容更新为第二内容,而无需通过在第一屏上繁琐的查找并操作第二内容的入口标识的步骤更新第二屏上的内容,使得电子设备可以快速、便捷的更新第一屏上显示的内容。这样一来,提高了电子设备显示内容的灵活性。
图7为本发明实施例提供的一种电子设备的硬件结构示意图,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。
其中,处理器110,用于在第一屏上显示有第一内容的情况下,控制用户输入单元107接收展开第二屏的第一输入;处理器110,还用于控制显示模块62,响应于用户输入单元107接收的第一输入,在第二屏上显示N个标识,或者,将第一屏上显示的第一内容更新为第二内容;其中,N个标识用于指示在后台运行、且与第二屏的展开参数相关联的N个应用,一个标识用于指示一个应用;第二内容与展开参数相关联;展开参数包括以下至少一项:展开长度,展开方向;N为正整数。
本发明实施例提供的电子设备,在第一屏上显示第一内容的情况下,可以通过展开第二屏的第一输入,在第二屏上显示N个标识,而无需通过繁琐的查找并操作后台管理控件的步骤在第一屏上显示后台应用的标识。从而,使得电子设备可以快速、便捷的显示在后台运行的应用的标识,并方便用户对比查看这些标识和前台运行的第一内容。另外,电子设备通过展开第二屏的第一输入,可以将第一屏上显示的第一内容更新为第二内容,而无需通过在第一屏上繁琐的查找并操作第二内容的入口标识的步骤更新第二屏上的内容,使得电子设备可以快速、便捷的更新第一屏上显示的内容。这样一来,提高了电子设备显示内容的灵活性。
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及 其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图7中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
电子设备100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。另外,电子设备100包括一些未示出的功能模块,在此不再赘述。
优选的,本发明实施例还提供一种电子设备,包括处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再 赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (21)

  1. 一种显示控制方法,应用于柔性电子设备,其中,所述方法包括:
    在第一屏上显示有第一内容的情况下,接收展开第二屏的第一输入;
    响应于所述第一输入,在所述第二屏上显示N个标识,或者,将所述第一屏上显示的所述第一内容更新为第二内容;
    其中,所述N个标识用于指示在后台运行、且与所述第二屏的展开参数相关联的N个应用,一个标识用于指示一个应用;所述第二内容与所述展开参数相关联;所述展开参数包括以下至少一项:展开长度,展开方向;N为正整数。
  2. 根据权利要求1所述的方法,所述在所述第二屏上显示N个标识之后,所述方法还包括:
    接收用户收缩所述第二屏的第二输入;
    响应于所述第二输入,关闭所述N个应用中的M个应用;
    其中,M为小于或等于N的正整数。
  3. 根据权利要求2所述的方法,所述关闭所述N个应用中的M个应用,包括:
    在所述第二输入触发所述第二屏收缩过程中在第一长度处的停留时长大于或等于时间阈值的情况下,关闭与所述第一长度对应的所述M个应用;
    其中,所述第一长度小于或等于第二长度,所述第二长度为所述第二屏的最大展开长度。
  4. 根据权利要求3所述的方法,
    在所述第一输入触发所述第二屏的展开长度小于或等于第三长度的情况下,所述N个应用的类型均为第一类型;
    在所述第一输入触发所述第二屏的展开长度大于所述第三长度的情况下,第一区域中包括P个标识,第二区域中包括Q个标识;
    其中,所述第一区域为所述第一输入触发所述第二屏展开到所述第三长度时的展开区域,所述第二区域为所述第一输入触发所述第二屏展开到所述第三长度之后继续展开的区域,所述P个标识指示的P个应用的类型均为所述第一类型,所述Q个标识指示的Q个应用的类型均为第二类型;P和Q均为正整数,且P与Q之和为N。
  5. 根据权利要求4所述的方法,
    在所述第一输入触发所述第二屏的展开长度大于或等于所述第三长度、且小于所述第二长度的情况下,所述M个应用为所述P个应用,所述第一长度等于所述第三长度;
    在所述第一输入触发所述第二屏的展开长度等于所述第二长度的情况下,所述M个应用为所述N个应用,所述第一长度等于所述第二长度。
  6. 根据权利要求3所述的方法,
    在所述第二屏的展开方向为目标方向的情况下,所述N个应用的类型均为与所述目标方向对应的第三类型;
    其中,所述第二屏的不同展开方向对应在后台运行的不同类型的应用,或者,所述电子设备的不同屏对应在后台运行的不同类型的应用。
  7. 根据权利要求1所述的方法,所述在所述第二屏上显示N个标识,包括:
    在所述第一输入触发所述第二屏展开第i个预设长度的情况下,在所述第二屏上显示第i组标识,直至n×i大于或等于N;
    其中,i∈{1,…,K},第K组标识中包括N-(K-1)×n个标识,第1组标识至第K-1组标识中每组标识均包括n个标识,K和n均为正整数,且0<n×K-N<n。
  8. 根据权利要求7所述的方法,所述在所述第一输入触发所述第二屏展开第i个所述预设长度的情况下,在所述第二屏上显示第i组标识,直至n×i大于或等于N,包括:
    所述在所述第一输入触发所述第二屏展开第i个所述预设长度的情况下,按照所述N个应用的优先级,在所述第二屏上显示第i组标识,直至n×i大于或等于N;
    其中,应用的优先级由以下至少一项确定:应用的使用频次,应用的使用次数,应用的开启时间。
  9. 根据权利要求2或3所述的方法,在所述第二输入的结束时刻,所述第二屏完全收缩。
  10. 根据权利要求1所述的方法,所述在所述第二屏上显示N个标识之后,所述方法还包括:
    接收对所述N个标识中的目标标识的第三输入;
    响应于所述第三输入,执行目标操作;
    其中,目标应用为所述目标标识指示的应用,所述目标操作为以下任意一项:将目标屏上显示的内容切换为所述目标应用的内容,切换所述目标应用的类型,关闭所述目标应用;
    其中,所述目标屏为所述第一屏和所述第二屏中的至少一项。
  11. 根据权利要求1所述的方法,所述第二内容与所述第一内容为同一应用中的不同页面内容,或者,所述第一内容与所述第二内容为不同应用中的不同页面内容。
  12. 一种电子设备,所述电子设备为柔性电子设备,其中,所述电子设备包括:接收模块和显示模块;
    所述接收模块,用于在第一屏上显示有第一内容的情况下,接收展开第二屏的第一输入;
    所述显示模块,用于响应于所述接收模块接收的所述第一输入,在所述第二屏上显示N个标识,或者,将所述第一屏上显示的所述第一内容更新为第二内容;
    其中,所述N个标识用于指示在后台运行、且与所述第二屏的展开参数相关联的N个应用,一个标识用于指示一个应用;所述第二内容与所述展开参数相关联;所述展开参数包括以下至少一项:展开长度,展开方向;N为正整数。
  13. 根据权利要求12所述的电子设备,所述电子设备还包括:控制模块;
    所述接收模块,还用于所述显示模块在所述第二屏上显示N个标识之后,接收用户收缩所述第二屏的第二输入;
    所述控制模块,用于响应于所述接收模块接收的所述第二输入,关闭所述N个应用中的M个应用;
    其中,M为小于或等于N的正整数。
  14. 根据权利要求13所述的电子设备,
    所述控制模块,用于在所述第二输入触发所述第二屏收缩过程中在第一长度处的停留时长大于或等于时间阈值的情况下,关闭与所述第一长度对应的所述M个应用;
    其中,所述第一长度小于或等于第二长度,所述第二长度为所述第二屏的最大展开长度。
  15. 根据权利要求14所述的电子设备,
    在所述第一输入触发所述第二屏的展开长度小于或等于第三长度的情况下,所述N个应用的类型均为第一类型;
    在所述第一输入触发所述第二屏的展开长度大于所述第三长度的情况下,第一区域中包括P个标识,第二区域中包括Q个标识;
    其中,所述第一区域为所述第一输入触发所述第二屏展开到所述第三长度时的展开区域,所述第二区域为所述第一输入触发所述第二屏展开到所述第三长度之后继续展开的区域,所述P个标识指示的P个应用的类型均为第一类型,所述Q个标识指示的Q个应用的类型均为第二类型;P和Q均为正整数,且P与Q之和为N。
  16. 根据权利要求15所述的电子设备,
    在所述第一输入触发所述第二屏的展开长度大于或等于所述第三长度、且小于所述第二长度的情况下,所述M个应用为所述P个应用,所述第一长度等于所述第三长度;
    在所述第一输入触发所述第二屏的展开长度等于所述第二长度的情况下,所述M个应用为所述N个应用,所述第一长度等于所述第二长度。
  17. 根据权利要求12所述的电子设备,
    所述显示模块,具体用于在所述第一输入触发所述第二屏展开第i个预设长度的情况下,在所述第二屏上显示第i组标识,直至n×i大于或等于N;
    其中,i∈{1,…,K},第K组标识中包括N-(i-1)×n个标识,第1组标识至第K-1组标识中每组标识均包括n个标识,K和n均为正整数,且0<n×K-N<n。
  18. 根据权利要求12所述的电子设备,所述电子设备还包括:执行模块;
    所述接收模块,还用于所述显示模块在所述第二屏上显示N个标识之后,接收用户对所述N个标识中的目标标识的第三输入;
    所述执行模块,还用于响应于所述接收模块接收的所述第三输入,执行目标操作;
    其中,目标应用为所述目标标识指示的应用,所述目标操作为以下任意一项:将目标屏上显示的内容切换为所述目标应用的内容,切换所述目标应用的类型,关闭所述目标应用;
    其中,所述目标屏为所述第一屏和所述第二屏中的至少一项。
  19. 一种电子设备,其中,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至11中任一项所述的显示控制方法的步骤。
  20. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至11中任一项所述的显示控制方法的步骤。
  21. 一种电子设备,其特征在于,包括所述电子设备被配置成用于执行如权利要 求1至11中任一项所述显示控制方法。
PCT/CN2020/135209 2019-12-16 2020-12-10 显示控制方法及电子设备 WO2021121121A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911296421.2 2019-12-16
CN201911296421.2A CN111061406B (zh) 2019-12-16 2019-12-16 显示控制方法及电子设备

Publications (1)

Publication Number Publication Date
WO2021121121A1 true WO2021121121A1 (zh) 2021-06-24

Family

ID=70301114

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/135209 WO2021121121A1 (zh) 2019-12-16 2020-12-10 显示控制方法及电子设备

Country Status (2)

Country Link
CN (1) CN111061406B (zh)
WO (1) WO2021121121A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4375821A4 (en) * 2021-10-12 2024-11-20 Samsung Electronics Co., Ltd. ELECTRONIC DEVICE AND METHOD FOR OPERATING ELECTRONIC DEVICE

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061406B (zh) * 2019-12-16 2022-04-01 维沃移动通信有限公司 显示控制方法及电子设备
CN113778252B (zh) * 2020-06-10 2024-04-16 Oppo广东移动通信有限公司 应用于柔性显示屏的防误触方法、装置、终端及存储介质
CN113010063B (zh) * 2021-03-26 2023-10-24 维沃移动通信有限公司 文件预览方法、装置、电子设备及存储介质
CN113220194B (zh) * 2021-04-23 2023-06-16 维沃移动通信有限公司 信息显示方法、信息显示装置
CN113676665B (zh) * 2021-08-20 2023-05-16 维沃移动通信有限公司 图像处理方法、装置及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201055A (zh) * 2015-05-27 2016-12-07 Lg电子株式会社 柔性显示装置及其操作方法
CN108345422A (zh) * 2018-01-15 2018-07-31 广东欧珀移动通信有限公司 应用控制方法、装置、移动终端及计算机可读介质
CN109597551A (zh) * 2018-11-21 2019-04-09 维沃移动通信有限公司 一种显示控制方法及终端设备
CN110308855A (zh) * 2019-06-28 2019-10-08 华为技术有限公司 一种基于可折叠终端的交互操作方法和装置
US20190346954A1 (en) * 2018-05-09 2019-11-14 Samsung Electronics Co., Ltd. Method for displaying content in expandable screen area and electronic device supporting the same
CN111061406A (zh) * 2019-12-16 2020-04-24 维沃移动通信有限公司 显示控制方法及电子设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101660737B1 (ko) * 2010-04-06 2016-09-28 엘지전자 주식회사 이동 단말기 및 그 제어방법
CN107870716B (zh) * 2017-11-07 2020-12-29 Oppo广东移动通信有限公司 调用后台应用程序的方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201055A (zh) * 2015-05-27 2016-12-07 Lg电子株式会社 柔性显示装置及其操作方法
CN108345422A (zh) * 2018-01-15 2018-07-31 广东欧珀移动通信有限公司 应用控制方法、装置、移动终端及计算机可读介质
US20190346954A1 (en) * 2018-05-09 2019-11-14 Samsung Electronics Co., Ltd. Method for displaying content in expandable screen area and electronic device supporting the same
CN109597551A (zh) * 2018-11-21 2019-04-09 维沃移动通信有限公司 一种显示控制方法及终端设备
CN110308855A (zh) * 2019-06-28 2019-10-08 华为技术有限公司 一种基于可折叠终端的交互操作方法和装置
CN111061406A (zh) * 2019-12-16 2020-04-24 维沃移动通信有限公司 显示控制方法及电子设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4375821A4 (en) * 2021-10-12 2024-11-20 Samsung Electronics Co., Ltd. ELECTRONIC DEVICE AND METHOD FOR OPERATING ELECTRONIC DEVICE

Also Published As

Publication number Publication date
CN111061406B (zh) 2022-04-01
CN111061406A (zh) 2020-04-24

Similar Documents

Publication Publication Date Title
WO2021115329A1 (zh) 应用程序的控制方法及电子设备
WO2021121121A1 (zh) 显示控制方法及电子设备
WO2021083052A1 (zh) 对象分享方法及电子设备
CN111459367B (zh) 一种显示方法及电子设备
WO2020258929A1 (zh) 文件夹界面切换方法及终端设备
CN109597551B (zh) 一种显示控制方法及终端设备
CN110221885B (zh) 一种界面显示方法及终端设备
WO2021083132A1 (zh) 图标移动方法及电子设备
CN110233931A (zh) 一种未读消息管理方法及终端设备
CN111414143A (zh) 显示控制方法、电子设备及介质
CN109901976B (zh) 一种应用程序的管理方法及终端设备
WO2020215982A1 (zh) 桌面图标管理方法及终端设备
CN110209369A (zh) 一种界面显示方法及终端设备
CN111026350A (zh) 一种显示控制方法及电子设备
WO2021164716A1 (zh) 显示方法及电子设备
WO2021017738A1 (zh) 界面显示方法及电子设备
WO2020168882A1 (zh) 界面显示方法及终端设备
JP2023502231A (ja) インタフェース表示方法、電子機器およびコンピュータ可読記憶媒体
WO2021037073A1 (zh) 控制方法及终端设备
CN111459349A (zh) 应用推荐方法及电子设备
CN111596990A (zh) 一种图片显示方法及装置
CN111459361B (zh) 应用图标显示方法、装置及电子设备
WO2020151675A1 (zh) 对象控制方法及终端设备
WO2020211602A1 (zh) 应用控制方法及终端设备
CN108509131A (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: 20901484

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

Country of ref document: EP

Kind code of ref document: A1

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 22.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20901484

Country of ref document: EP

Kind code of ref document: A1