WO2020192296A1 - Interface display method and terminal device - Google Patents

Interface display method and terminal device Download PDF

Info

Publication number
WO2020192296A1
WO2020192296A1 PCT/CN2020/075369 CN2020075369W WO2020192296A1 WO 2020192296 A1 WO2020192296 A1 WO 2020192296A1 CN 2020075369 W CN2020075369 W CN 2020075369W WO 2020192296 A1 WO2020192296 A1 WO 2020192296A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
display area
application
terminal device
area
Prior art date
Application number
PCT/CN2020/075369
Other languages
French (fr)
Chinese (zh)
Inventor
黄立
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2020192296A1 publication Critical patent/WO2020192296A1/en

Links

Images

Classifications

    • 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/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/1616Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • 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/1641Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
    • 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/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
    • 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/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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 disclosure relate to the technical field of terminals, and in particular to an interface display method and terminal equipment.
  • the folding screen is expanded according to the above method, and the terminal device can only use the folding screen as a whole Display the content of an application that needs to occupy a larger area of the display area, and cannot display content other than the content. This leads to the problem of insufficient flexibility in the way of displaying content on the folding screen terminal device.
  • the embodiments of the present disclosure provide an interface display method and terminal device to solve the problem of insufficient flexibility in the manner of displaying content on a folding screen terminal device.
  • an embodiment of the present disclosure provides an interface display method, which includes: displaying a user interface of a first application program and a user interface of a second application program in a first display area and a second display area of a folding screen, respectively In the case of receiving the user's expansion operation of the folding screen; in response to the expansion operation, in the case that the display priority of the first application is higher than the display priority of the second application, the third display area and The fourth display area respectively displays the user interface of the first application program and the user interface of the second application program; wherein the area of the third display area is larger than the area of the first display area.
  • the embodiments of the present disclosure also provide a terminal device, the terminal device includes a folding screen, the terminal device further includes: a receiving module and a display module; the receiving module is used to pass through the first display area and When the user interface of the first application program and the user interface of the second application program are displayed in the second display area, the user's expansion operation of the folding screen is received; the display module is used to respond to the expansion operation received by the receiving module.
  • the display priority of an application is higher than the display priority of the second application
  • the user interface of the first application and the user of the second application are respectively displayed through the third display area and the fourth display area of the folding screen Interface; wherein, the area of the third display area is greater than the area of the first display area.
  • embodiments of the present disclosure provide a terminal device, including a processor, a memory, and a computer program stored on 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 interface display method.
  • embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored.
  • the steps of the interface display method as described in the first aspect are implemented. .
  • a terminal device including a folding screen
  • the user interface of the first application program and the user interface of the second application program are respectively displayed through the first display area and the second display area of the folding screen
  • the user’s expansion operation of the folding screen can be received; and in response to the expansion operation, in the case that the display priority of the first application is higher than the display priority of the second application, the third display area and the second display area of the folding screen
  • the four display areas respectively display the user interface of the first application program and the user interface of the second application program.
  • the area of the third display area is larger than the area of the first display area.
  • the terminal device may, according to the display priority of the application, make the display area expanded on the folding screen first meet the application with a higher display priority, and then meet the application with a lower display priority, so that the display priority is higher.
  • the user interface of a tall application can occupy a larger display area on the folding screen.
  • the area of the display area occupied by the user interface of the application with higher display priority increases (for example, the display area of the first application changes from the first display area to the larger area).
  • Three display areas so as to help improve the display effect of the user interface of the application with a higher display priority.
  • different user interfaces of different applications can be displayed on different display areas of the folding screen, instead of displaying the user interface of one application on the entire area of the expanded folding screen, or different in the expanded folding screen.
  • Different user interfaces of different applications are displayed indiscriminately on the display area. In this way, it is possible to solve the problem of insufficient flexibility in the way of displaying content on the folding screen type terminal device, and realize that the terminal device can display more content on the folding screen and the display effect of the content is better.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of an interface display method provided by an embodiment of the disclosure
  • FIG. 3 is one of schematic diagrams of content displayed by a terminal device provided by an embodiment of the disclosure.
  • FIG. 4 is a second schematic diagram of content displayed by a terminal device provided by an embodiment of the disclosure.
  • FIG. 5 is the third schematic diagram of content displayed by a terminal device according to an embodiment of the disclosure.
  • FIG. 6 is a fourth schematic diagram of content displayed by a terminal device according to an embodiment of the disclosure.
  • FIG. 7 is a fifth schematic diagram of content displayed by a terminal device according to an embodiment of the disclosure.
  • FIG. 8 is a sixth schematic diagram of content displayed by a terminal device according to an embodiment of the disclosure.
  • FIG. 9 is a schematic structural diagram of a possible terminal device provided by an embodiment of the disclosure.
  • FIG. 10 is a schematic diagram of the hardware structure of a terminal device provided by an embodiment of the disclosure.
  • A/B can mean A or B
  • the "and/or” in this article is only an association relationship describing associated objects, which means 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 disclosure are used to distinguish different objects, rather than to describe a specific order of objects.
  • first application program and the second application program are used to distinguish different applications, rather than to describe a specific order of input.
  • the interface display method and terminal device provided by the embodiments of the present disclosure can be applied to the process of displaying content on the folding screen by the terminal device.
  • the terminal device can make the display area expanded on the foldable screen first meet the display priority of the application program, and then meet the display priority of the application program, so that the display The user interface of a higher priority application can occupy a larger display area on the folding screen.
  • the area of the display area occupied by the user interface of the application with a higher display priority is increased, which is beneficial to improve the display effect of the user interface of the application with the higher display priority.
  • different user interfaces of different applications can be displayed on different display areas of the folding screen, instead of displaying the user interface of one application on the entire area of the expanded folding screen, or different in the expanded folding screen.
  • Different user interfaces of different applications are displayed indiscriminately on the display area. In this way, it is possible to solve the problem of insufficient flexibility in the way of displaying content on the folding screen type terminal device, and realize that the terminal device can display more content on the folding screen and the display effect of the content is better.
  • the terminal device in the embodiment of the present disclosure may be a mobile terminal device or a non-mobile terminal device.
  • Mobile terminal devices can be mobile phones, tablet computers, notebook computers, handheld computers, vehicle-mounted terminals, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (personal digital assistants, PDAs), etc.
  • the non-mobile terminal 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 disclosure does not specifically limit it.
  • the terminal device is a mobile phone as an example for description.
  • the execution subject may be a terminal device, or the central processing unit (CPU) of the terminal device, or the terminal device for executing interface display The control module of the method.
  • the interface display method executed by the terminal device is taken as an example to illustrate the interface display method provided by the embodiment of the present disclosure.
  • the terminal device in the embodiment of the present disclosure may be a terminal device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present disclosure.
  • the following takes the Android operating system as an example to introduce the software environment applied by the interface display method provided by the embodiments of the present disclosure.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework. 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 interface display method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG. 1, so that the interface The display method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the terminal device can implement the interface display method provided by the embodiments of the present disclosure by running the software program in the Android operating system.
  • the interface display method provided by the embodiment of the present disclosure will be described in detail below in conjunction with the flowchart of the interface display method shown in FIG. 2. Specifically, the interface display method provided by the embodiments of the present disclosure is applied to a terminal device with a folding screen (that is, a terminal device including a folding screen). Wherein, although the logical sequence of the interface display method provided by the embodiments of the present disclosure is shown in the method flowchart, in some cases, the steps shown or described may be performed in a different order than here.
  • the interface display method shown in FIG. 2 may include S201 and S202:
  • the terminal device receives the user's unfolding operation of the folding screen when the user interface of the first application program and the user interface of the second application program are respectively displayed through the first display area and the second display area of the folding screen.
  • the folding screen of the terminal device may include at least two foldable screens, and the folding angle between two adjacent ones of the at least two screens may be between 0 degrees and 360 degrees. The angle between.
  • the folding screen of the terminal device may be a whole flexible screen.
  • the state of the folding screen may include a folded state and an expanded state.
  • the folding screen when the folding screen is in a folded state, part of the folding screen is folded inside the terminal device, and another part of the folding screen is folded outside the terminal device.
  • the screen folded on the outside of the terminal device (such as the main screen) can be used to display content, while the screen folded on the inside of the terminal device will not display content.
  • the unfolded state of the folding screen may specifically be a partially unfolded state or a fully unfolded state.
  • a part of the folding screen is expanded to support the terminal device to display content on the partial screen.
  • all screens in the folding screen are expanded to support the terminal device to display content on all screens.
  • the unfolded part of the folding screen is a continuous adjacent screen.
  • the folding screen of the terminal device may include three screens, such as screen A, screen B, and screen C.
  • screen A such as the main screen
  • screens B and C will not display content.
  • the folding screen when the folding screen is in a partially expanded state, the folding screen can be expanded into two screens, such as adjacent screen A and screen B.
  • the folding screen when the folding screen is in a fully expanded state, the folding screen can be expanded into three screens, that is, expanded into adjacent screens A, B, and C.
  • the folding screen when the folding screen is in a partially expanded state, the folding screen can be expanded into adjacent screens B and C.
  • the aforementioned unfolding operation is an operation in which the user manually stretches the terminal device to expand the folding screen of the terminal device.
  • the aforementioned expansion operation is an operation of a user on a specific control (such as a physical control or a virtual control) in the terminal device, and the specific control is used to trigger the terminal device to expand the folding screen through a device such as an elastic component.
  • the user's expansion operation can specifically control the folding screen to be partially expanded or fully expanded.
  • the first display area and the second display area may be different display areas obtained by splitting the screen of the terminal device on the folding screen in the folded state, for example, the first display area and the second display area may be Different display areas on the main screen of the folding screen.
  • the terminal device splits the screen on one screen to obtain the same or different areas of different display areas.
  • the terminal device splits the screen on one screen to obtain the same area of different display areas.
  • the area of the first display area and the second display area obtained by the split screen of the terminal device on the folding screen are the same.
  • the terminal device displays the user interface of the application program 1 on the display area X1 on the screen A, and displays the user interface of the application program 2 on the display area X2.
  • the display area X1 may be the first display area
  • the display area X2 may be the second display area.
  • the terminal device displays the first application through the third display area and the fourth display area of the folding screen when the display priority of the first application is higher than the display priority of the second application.
  • the user interface of the program and the user interface of the second application program wherein the area of the third display area is larger than the area of the first display area.
  • the above-mentioned third display area and fourth display area may be display areas when the folding screen is in an expanded state (partially expanded state or fully expanded state).
  • the third display area and the fourth display area are different display areas.
  • the display priority of each application program may be preset by the user in the terminal device, or may be obtained by the user from the server when the terminal device is triggered.
  • an application with a higher display priority usually occupies a larger display area on the expanded folding screen.
  • the area of the third display area is larger than the area of the first display area.
  • the application with a higher display priority is usually displayed first, that is, the terminal device can make the expanded display area meet the application with the higher display priority first, and then the application with the lower display priority.
  • the terminal device first satisfies the display area occupied by the user interface requirement of the first application on the third display area and the fourth display area where the folding screen is expanded, and then satisfies the display area occupied by the second application program.
  • the area of the third display area and the area of the fourth display area are the same or different, and can be set according to actual requirements, and the embodiment of the present disclosure does not specifically limit it here.
  • an application with a higher display priority is more important to a user, that is, a user is more inclined to use an application with a higher display priority.
  • the higher the frequency of use of the application the higher the display priority of the application; or, the longer the use time of the application, the higher the display priority of the application.
  • the terminal device may preferentially display the user interface of the application program with a higher display priority on the front display area of the expanded folding screen.
  • the front display area on the folding screen is the front display area along the first direction.
  • the left display area on the folding screen is the front display area.
  • the order of different display areas on the folding screen in the folded state is generally not limited, for example, the order of the first display area and the second display area is generally not limited.
  • the terminal device expands the folding screen from screen A to adjacent screens A and B, and displays the user interface of application 1 on the display area where screen A is located.
  • the user interface of the application 2 is displayed on the display area where the screen B is located.
  • the area of the display area where the screen A is located is greater than the area of the display area X1, that is, the area of the third display area is greater than the area of the first display area.
  • the terminal device expands the folding screen into adjacent screens A, B, and C, and displays the user of application 1 on the display area where the screens A and B are located Interface, the user interface of application 2 is displayed on the display area where the screen C is located.
  • the area of the display area where the screen A and the screen B are located is larger than the area of the display area X1.
  • different content displayed on different display areas of the folding screen of the terminal device may be different user interfaces of different applications, or different user interfaces of the same application.
  • the terminal device may randomly display the user interfaces on the different display areas.
  • the user interface of the different application may be randomly displayed.
  • the terminal device can randomly display different user interfaces of the application on the different display areas.
  • the interface display method provided by the embodiments of the present disclosure can be applied to terminal devices including a folding screen.
  • the user interface of the first application and the user interface of the second application are respectively displayed through the first display area and the second display area of the folding screen
  • the user's unfolding operation of the folding screen may be received; and responding
  • the display priority of the first application is higher than the display priority of the second application
  • the user interface of the first application is displayed through the third display area and the fourth display area of the folding screen, respectively And the user interface of the second application.
  • the area of the third display area is larger than the area of the first display area.
  • the terminal device may, according to the display priority of the application, make the display area expanded on the folding screen first meet the application with a higher display priority, and then meet the application with a lower display priority, so that the display priority is higher.
  • the user interface of a tall application can occupy a larger display area on the folding screen.
  • the area of the display area occupied by the user interface of the application with higher display priority increases (for example, the display area of the first application changes from the first display area to the larger area).
  • Three display areas so as to help improve the display effect of the user interface of the application with a higher display priority.
  • different user interfaces of different applications can be displayed on different display areas of the folding screen, instead of displaying the user interface of one application on the entire area of the expanded folding screen, or different in the expanded folding screen.
  • Different user interfaces of different applications are displayed indiscriminately on the display area. In this way, it is possible to solve the problem of insufficient flexibility in the way of displaying content on the folding screen type terminal device, and realize that the terminal device can display more content on the folding screen and the display effect of the content is better.
  • the area of the display area occupied by the user interface of the application program with a higher display priority increases more.
  • the first value is greater than or equal to the second value; where the first value is the difference between the area of the third display area and the area of the first display area, and the second value is the difference between the fourth display area and the second display area. The difference in area.
  • the difference between the area of the display area where the screen A is located and the area of the display area X1 on the screen A is recorded as a difference of 1
  • the screen B is The difference between the area of the display area and the area of the display area X2 on the screen A is recorded as a difference of 2.
  • the difference value 1 is the same as the difference value 2
  • the difference value 1 is the first value
  • the difference value 2 is the second value.
  • the difference between the area of the display area where screen A and screen B are located and the area of the display area X1 on screen A is recorded as a difference of 3.
  • the difference between the area of the display area where C is located and the area of the display area X2 on the screen A is recorded as a difference of 4.
  • the difference 3 is greater than the difference 4
  • the difference 3 is the first value
  • the difference 4 is the second value.
  • the folding screen expands, the area of the display area occupied by the user interface of the application with higher display priority increases, which is beneficial to the realization of the application with higher display priority. Occupies a larger display area. Furthermore, it is beneficial to improve the display effect of the user interface of the application program with a high display priority.
  • the area of the third display area is greater than or equal to the area of the fourth display area.
  • the area of the display area where the screen A is located is equal to the area of the display area where the screen B is located, that is, the area of the third display area is equal to the area of the fourth display area.
  • the area of the display area where the screen A and the screen B are located is greater than the area of the display area where the screen C is located, that is, the area of the third display area is greater than the area of the fourth display area.
  • the terminal device can make the user interface of the application with higher display priority occupy a larger display area on the folding screen, for example, the user interface of the first application can occupy a larger area.
  • the area of the large third display area, and the user interface of the second application program occupies a smaller area of the fourth display area.
  • the terminal device may display user interfaces of multiple applications on the folding screen.
  • the terminal device can display not only the user interface of the first application program and the user interface of the second application program, but also the interfaces of other applications on the folding screen.
  • the first application and the second application are applications in n applications
  • the n applications are applications running in the foreground before the terminal device receives the unfolding operation
  • each of the n applications The display priority of the program is determined according to the preset first parameter.
  • the first parameter is used to indicate the number of screens corresponding to an application, and n is an integer greater than or equal to 2; where the value of the first parameter corresponding to the application is Larger, the higher the display priority of the application.
  • the value of each first parameter is a positive integer.
  • the display priority of the application program may be determined by at least one of the first parameter, frequency of use, and duration of use of the application program, which is not limited in the embodiment of the present disclosure.
  • the terminal device can display the priority of the application and the first parameter of the application in the folding The user interface of different applications is displayed on the screen.
  • the following embodiments of the present disclosure take the first parameter of the application to determine the display priority of the application as an example to describe the interface display method provided by the embodiment of the present disclosure.
  • the first parameter of an application program may be pre-set by the user in the terminal device, or the user may trigger the terminal device to obtain it from the server.
  • the user controls the terminal device to set the first parameter for the installed application, that is, the display priority of the application is set.
  • the higher the display priority of the application the greater the value of the first parameter, that is, the higher the display priority of the user interface of the application’s user interface occupies more screens, that is, the higher the display priority
  • the first parameter of an application when the first parameter of an application is greater than or equal to 2, it means that the application occupies two screens by default, that is, the application is displayed across screens by default when the folding screen is in the expanded state.
  • the terminal device can not only display the user interface of the application running in the foreground of the terminal device before the folding screen is expanded, but also the user interface of the application running in the background of the terminal device before the folding screen is expanded, or fold The user interface of some applications that are not running on the terminal device before the screen is expanded.
  • the first parameter of an application program is less than or equal to the number of all screens in the folding screen of the terminal device.
  • the user can set the priority for some applications in the terminal device, but not for other applications.
  • the default number of display areas (ie, screens) occupied by the content of an application program with no priority set in the terminal device is 1, that is, the application program will not be displayed across screens when the folding screen is in the expanded state.
  • the user can control the terminal device to choose whether to display the user interface of the application program on the folded screen in the expanded state according to the display priority of the application program.
  • the user can set the maximum number of applications when the terminal device allows the user interface of the application to be displayed on the unfolded folding screen.
  • FIG. 5 it is a schematic diagram of content displayed by a terminal device according to an embodiment of the present disclosure.
  • Fig. 5(a) shows a setting interface provided by the terminal device.
  • the setting interface includes a control P1, a control P2, one or more controls P3, and one or more controls P4.
  • control P1 that is, the control "cross-screen display”
  • control P2 that is, the control "maximum number of displayed applications”
  • Each control 3 is used to set an application that enables cross-screen display.
  • Option P31 in each control P3 is used to trigger the modification of an application that has cross-screen display enabled to an application that does not enable cross-screen display, and option P32 in each control P3 is used to trigger the setting of an application that enables cross-screen display The number of display areas occupied by the program by default.
  • Each control P4 is used to trigger the terminal device to set an application that is not enabled for cross-screen display, and the option P3a in each control P4 is used to trigger the modification of an application that is not enabled for cross-screen display to the one that enables cross-screen display. application.
  • application 1 to application 3 shown in FIG. 5(a) are applications that enable cross-screen display
  • application 4 and application 5 are applications that do not enable cross-screen display.
  • the terminal device can be triggered to display the setting interface as shown in FIG. 5(b).
  • the setting interface shown in Figure 5 (b) includes the control P321 expanded by the option P32 corresponding to application 1.
  • the control P321 is used to trigger the selection of application 1 from 1, 2, 3, 4, and 5.
  • the value of the first parameter of the application program 1 is an integer from 1 to 5. For example, after the user inputs "2" in P321, the terminal device determines that the first parameter of application 1 is 2.
  • the terminal device after the terminal device unfolds the folding screen, if the number of unfolded screens in the folding screen is large enough, the terminal device can display the corresponding cross-screen display on the first parameter of these unfolded screens.
  • the user interface of the application The user interface of the application.
  • the terminal device may display the user interface of the n application programs on the expanded n display areas according to the first parameters of the n application programs. For example, the terminal device displays the user interfaces of n application programs on n display areas in descending order of the first parameter. Of course, the larger the first parameter, the higher the display priority of the application.
  • the n display areas include the aforementioned third display area and fourth display area.
  • the above n application programs are all applications that are set by the user to enable cross-screen display, or some applications that enable cross-screen display.
  • the terminal device can display on n groups of display areas according to n first parameters.
  • the user interface of n application programs is displayed, so that the terminal device can preferentially display the application program with the first parameter on the folded screen in the expanded state. Therefore, it is beneficial to ensure the display effect of the content of the application program that requires a larger display area.
  • user interfaces of different applications in the n applications are located in different display areas of the folding screen.
  • one display area includes at least one screen, or one display area is a part of one screen.
  • the division of the display area in the folding screen may be any of the following two scenarios:
  • Each display area on the folding screen is at least one screen.
  • Each display area in a part of the display area on the folding screen is at least one screen, and each display area in the other part of the display area is a partial area on one screen.
  • different display areas on one screen can be obtained by dividing the terminal device using split screen technology.
  • one screen divided into different display areas may be located on the last unfolded screen in the folding screen.
  • the terminal device can display the user interface of each application program on one screen according to the display priority, or even Multi-screen display.
  • the terminal device can display the user interface of the application with higher priority on one screen, or even display it across multiple screens, and display the user interface of some applications with lower priority.
  • the user interface is displayed in a split screen on one screen.
  • the first parameter of application 1 (denoted as parameter 1) is 2, the first parameter of application 2 (denoted as parameter 2) is 1, and the first parameter of application 3 (denoted as parameter 2) is 1.
  • the parameter 3) is 1 as an example to illustrate the interface display method in the embodiment of the present disclosure.
  • the number of screens occupied by application 1 (ie, screen A) K1 is equal to 1, and the value of K1 is less than the value of parameter 1; the number of screens occupied by application 2 (ie, screen B) K2 is equal to 1, that is, the value of K2 is less than the value of parameter 2.
  • the number of screens occupied by application 1 (ie, screen A and screen B) K1 is equal to 2, and the value of K2 is less than the value of parameter 1; the screen occupied by application 2 (ie, screen The number K2 of C) is equal to 1, that is, the value of K2 is less than the value of parameter 2.
  • n is equal to 2.
  • the terminal device expands the folding screen into adjacent screens A, B, and C, and displays the user interface of application 1 on the screens A and B.
  • the user interfaces of application 2 and application 3 are displayed on screen C in separate screens.
  • the number of screens occupied by application 1 ie, screen A and screen B
  • K1 the number of screens occupied by application 1
  • the number of screens occupied by application 2 ie, a partial area of one screen
  • K2 is equal to 1, that is, the value of K2 is equal to the value of parameter 2
  • the number of screens occupied by application 3 that is, an area in one screen
  • is equal to 1 that is, the value of K3 is equal to the value of parameter 3.
  • the screens divided into different display areas are located in the last unfolded folding screen. On the screen.
  • the terminal device can not only display the user interface of the application program across screens, but also display the user interface of the application program in split screens, to achieve Multiple content (such as multiple user interfaces) are displayed on the folding screen, and the content display effect is better, so it is beneficial to improve the flexibility of the terminal device to display content on the folding screen.
  • the interface display method provided in the embodiment of the present disclosure may further include S203 and S204 after the above S202:
  • S203 The terminal device receives the user's target operation on the first application.
  • the target operation may be used to trigger the terminal device to close the currently running first application, such as a click operation on the exit control included in the user interface of the first application.
  • the terminal device cancels the user interface of the first application program displayed on the third display area, and updates the content displayed on the folding screen.
  • the terminal device displays the user interface of the second application on the third display area, and cancels the user interface of the second application displayed on the fourth display area.
  • the number of screens occupied by the third display area may or may not change .
  • the terminal device updates the content displayed on the third display area from the user interface of the first application program to the user interface of the second application program
  • the number of screens occupied by the third display area may be determined by the first application program.
  • the first parameter change is the first parameter of the second application program, such as changing from parameter 1 to parameter 2.
  • interface display method provided by the embodiment of the present disclosure may further include S204b after the above S204a:
  • the terminal device displays the preset content on the fourth display area.
  • the aforementioned preset content is the user interface of the first application running in the foreground on the folding screen and other applications other than the second application, or the user interface of other applications running in the background of the terminal device, or It is the content preset by the user (such as the desktop interface), etc.
  • the user interface of the first application running in the foreground on the folding screen and the user interface of other applications other than the second application is taken as an example for description. That is, after closing the first application running in the foreground, the terminal device sequentially updates the display area occupied by each application according to the display priority of the application.
  • the terminal device when the terminal device sequentially updates the display area occupied by each application on the folding screen, it may re-detect the first parameter of the application to be updated and the number of idle screens in the folding screen. For example, the terminal device may update the display area occupied by the user interface of each application program on the folding screen according to the first parameter of the application program in descending order.
  • the terminal device may sequentially update the content on the rear display area on the folding screen to the front display area.
  • the terminal device can display the application across screens A and B
  • the user interface of program 1 and the user interface of application 3 are displayed on screen C.
  • application 2 is the first application
  • application 3 is the second application.
  • the terminal device when the folding screen is in the unfolded state, the terminal device can update the display area occupied by the user interface of the continuously running application displayed on the folding screen with the closing of the application running in the foreground, which is beneficial to Further improve the flexibility of the terminal device to display content on the folding screen.
  • S204c may be further included after the above step S204:
  • the terminal device expands and displays the user interface of the second application on the third display area and the fourth display area.
  • the terminal device can display on the entire display area of the folded screen.
  • the user interface of another application is displayed on the folding screen of the terminal device.
  • the terminal device can re-detect the first parameter of the application to be displayed and the number of idle screens in the current folding screen to display different content on different display areas on the folding screen.
  • the terminal device can update the content displayed on the folding screen in real time, such as updating the display area occupied by the user interface of some applications, it is beneficial to further improve the terminal device. Flexibility to display content on the folding screen.
  • FIG. 9 it is a schematic structural diagram of a possible terminal device provided by an embodiment of the present disclosure.
  • the terminal device 90 shown in FIG. 9 includes a folding screen.
  • the terminal device 90 also includes: a receiving module 901 and a display module 902; the receiving module 901 is configured to display the first display area and the second display area through the folding screen.
  • the display module 902 is configured to respond to the expansion operation received by the receiving module 901, and the display of the first application program is prioritized
  • the display priority of the second application is higher than the display priority of the second application
  • the user interface of the first application and the user interface of the second application are respectively displayed through the third display area and the fourth display area of the folding screen;
  • the area of the display area is larger than the area of the first display area.
  • the first value is greater than or equal to the second value; where the first value is the difference between the area of the third display area and the area of the first display area, and the second value is the fourth display area and the second display area The difference of the area.
  • the area of the third display area is greater than or equal to the area of the fourth display area.
  • the receiving module 901 is further used for the display module 902 after displaying the user interface of the first application program and the user interface of the second application program through the third display area and the fourth display area of the folding screen, respectively, and then receive the user's first application A target operation of an application; the display module 902 is also used to respond to the target operation received by the receiving module 901, cancel the user interface of the first application displayed on the third display area, and update the content displayed on the folding screen.
  • the display module 902 is specifically configured to display the user interface of the second application program on the third display area and cancel the user interface of the second application program displayed on the fourth display area.
  • the display module 902 is further configured to display preset content on the fourth display area after canceling the user interface of the second application program displayed on the fourth display area.
  • the display module 902 is specifically configured to expand and display the user interface of the second application on the third display area and the fourth display area.
  • the first application and the second application are applications in n applications, and the n applications are applications running in the foreground before the terminal device 90 receives the unfolding operation.
  • Each of the n applications The display priority of the application is determined according to the preset first parameter.
  • the first parameter is used to indicate the number of screens corresponding to an application, and n is an integer greater than or equal to 2; among them, the value of the first parameter corresponding to the application The larger the value, the higher the display priority of the application.
  • the user interfaces of different applications in the n application programs are located in different display areas; among them, one display area includes at least one screen, or one display area is a partial area of one screen.
  • the terminal device provided by the embodiment of the present disclosure includes a folding screen. Specifically, in the case where the terminal device respectively displays the user interface of the first application program and the user interface of the second application program through the first display area and the second display area of the folding screen, the user's expansion operation of the folding screen may be received; And in response to the expansion operation, in the case where the display priority of the first application is higher than the display priority of the second application, the third display area and the fourth display area of the folding screen are respectively displayed for the first application The user interface and the user interface of the second application. Wherein, the area of the third display area is larger than the area of the first display area.
  • the terminal device may, according to the display priority of the application, make the display area expanded on the folding screen first meet the application with a higher display priority, and then meet the application with a lower display priority, so that the display priority is higher.
  • the user interface of a tall application can occupy a larger display area on the folding screen.
  • the area of the display area occupied by the user interface of the application with higher display priority increases (for example, the display area of the first application changes from the first display area to the larger area).
  • Three display areas so as to help improve the display effect of the user interface of the application with a higher display priority.
  • different user interfaces of different applications can be displayed on different display areas of the folding screen, instead of displaying the user interface of one application on the entire area of the expanded folding screen, or different in the expanded folding screen.
  • Different user interfaces of different applications are displayed indiscriminately on the display area. In this way, it is possible to solve the problem of insufficient flexibility in the way of displaying content on the folding screen type terminal device, and realize that the terminal device can display more content on the folding screen and the display effect of the content is better.
  • the terminal device 90 provided in the embodiment of the present disclosure can implement the various processes implemented by the terminal device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
  • the terminal 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 structure of the terminal device shown in FIG. 10 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than shown in the figure, or a combination of certain components, or different components Layout.
  • terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminal devices, wearable devices, and ped
  • the user input unit 107 is configured to receive the user's feedback on the folding screen when the user interface of the first application and the user interface of the second application are respectively displayed through the first display area and the second display area of the folding screen. Expansion operation; the display unit 106, in response to the expansion operation received by the receiving module 901, through the third display area of the folding screen when the display priority of the first application is higher than the display priority of the second application And the fourth display area respectively display the user interface of the first application program and the user interface of the second application program; wherein the area of the third display area is larger than the area of the first display area.
  • the terminal device provided by the embodiment of the present disclosure includes a folding screen. Specifically, in a case where the terminal device respectively displays the user interface of the first application program and the user interface of the second application program through the first display area and the second display area of the folding screen, it may receive the user's feedback on the folding screen. Expanding operation; and in response to the expanding operation, in the case where the display priority of the first application is higher than the display priority of the second application, the third display area and the fourth display area of the folding screen respectively display the first The user interface of the application and the user interface of the second application. Wherein, the area of the third display area is larger than the area of the first display area.
  • the terminal device may, according to the display priority of the application, make the display area expanded on the folding screen first meet the application with a higher display priority, and then meet the application with a lower display priority, so that the display priority is higher.
  • the user interface of a tall application can occupy a larger display area on the folding screen.
  • the area of the display area occupied by the user interface of the application with higher display priority increases (for example, the display area of the first application changes from the first display area to the larger area).
  • Three display areas so as to help improve the display effect of the user interface of the application with a higher display priority.
  • different user interfaces of different applications can be displayed on different display areas of the folding screen, instead of displaying the user interface of one application on the entire area of the expanded folding screen, or different in the expanded folding screen.
  • Different user interfaces of different applications are displayed indiscriminately on the display area. In this way, it is possible to solve the problem of insufficient flexibility in the way of displaying content on the folding screen type terminal device, and realize that the terminal device can display more content on the folding screen and the display effect of the content is better.
  • 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; 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 terminal 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 audio signals and output them as sounds. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., 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 processor 1041 is configured to monitor 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 terminal device 100 also 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 terminal device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 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 (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc.
  • 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 terminal 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 user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 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 realized by various 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 is transmitted to the processor 110 to determine the type of the touch event.
  • 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 terminal 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 terminal device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the terminal 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 terminal device 100 or can be used to connect to the terminal device 100 and external 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 (such as audio data, phone book, etc.) created by the use of mobile phones.
  • 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 terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the terminal 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 through the power management system. Management and other functions.
  • the terminal device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a terminal device, including a processor 110, a memory 109, a computer program stored in the memory 109 and capable of running on the processor 110, and the computer program is executed by the processor 110
  • a terminal device including a processor 110, a memory 109, a computer program stored in the memory 109 and capable of running on the processor 110, and the computer program is executed by the processor 110
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • the computer program is executed by a processor, each process of the above-mentioned interface display method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the 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 a number of instructions to enable a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present disclosure.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

An interface display method and a terminal device, applicable in the field of terminal technology so as to solve the problem of insufficient flexibility in the methods by which folding-screen-type terminal devices display content. The method comprising: when a terminal device uses a first display region and second display region of a folding screen to respectively display a user interface of a first application program and a user interface of a second application program, receiving an expansion operation performed by a user with regard to the folding screen (S201); the terminal device, in response to the expansion operation, and when a display priority level of the first application program is higher than a display priority level of the second application program, using a third display region and fourth display region of the folding screen for respectively displaying a user interface of the first application program and a user interface of the second application program; wherein, the area of the third display region being greater than the area of the first display region (S202). The method being specifically applicable to the process of a terminal device displaying content on a folding screen.

Description

界面显示方法及终端设备Interface display method and terminal equipment
相关申请的交叉引用Cross references to related applications
本申请要求于2019年03月28日提交国家知识产权局、申请号为201910245186.X、申请名称为“一种界面显示方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on March 28, 2019, the application number is 201910245186.X, and the application name is "An interface display method and terminal equipment", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本公开实施例涉及终端技术领域,尤其涉及一种界面显示方法及终端设备。The embodiments of the present disclosure relate to the technical field of terminals, and in particular to an interface display method and terminal equipment.
背景技术Background technique
当前折叠屏式的终端设备处于展开状态时,可以在其折叠屏中的每个屏上分别显示不同的内容(如不同应用程序的不同内容或者同一应用程序的不同内容),或者将其折叠屏作为一个整体显示一个应用程序的内容。When the current folding screen terminal device is in the unfolded state, different content (such as different content of different applications or different content of the same application) can be displayed on each of its folding screens, or the screen can be folded Display the content of an application as a whole.
然而,在用户需求终端设备提供较多内容,且该较多内容中的一些内容需求的显示区域的面积较大的情况下,按照上述方法展开折叠屏,终端设备只能将折叠屏作为一个整体显示一个需求占用显示区域的面积较大的应用程序的内容,而无法显示出该内容之外的其他内容。如此,导致折叠屏式的终端设备显示内容的方式不够灵活的问题。However, when the user needs the terminal device to provide more content, and some of the more content requires a larger display area, the folding screen is expanded according to the above method, and the terminal device can only use the folding screen as a whole Display the content of an application that needs to occupy a larger area of the display area, and cannot display content other than the content. This leads to the problem of insufficient flexibility in the way of displaying content on the folding screen terminal device.
发明内容Summary of the invention
本公开实施例提供一种界面显示方法及终端设备,以解决折叠屏式的终端设备显示内容的方式不够灵活的问题。The embodiments of the present disclosure provide an interface display method and terminal device to solve the problem of insufficient flexibility in the manner of displaying content on a folding screen terminal device.
为了解决上述技术问题,本公开实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present disclosure are implemented as follows:
第一方面,本公开实施例提供一种界面显示方法,该方法包括:在通过折叠屏的第一显示区域和第二显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面的情况下,接收用户对折叠屏的展开操作;响应于展开操作,在第一应用程序的显示优先级高于第二应用程序的显示优先级的情况下,通过折叠屏的第三显示区域和第四显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面;其中,第三显示区域的面积大于第一显示区域的面积。In a first aspect, an embodiment of the present disclosure provides an interface display method, which includes: displaying a user interface of a first application program and a user interface of a second application program in a first display area and a second display area of a folding screen, respectively In the case of receiving the user's expansion operation of the folding screen; in response to the expansion operation, in the case that the display priority of the first application is higher than the display priority of the second application, the third display area and The fourth display area respectively displays the user interface of the first application program and the user interface of the second application program; wherein the area of the third display area is larger than the area of the first display area.
第二方面,本公开实施例还提供了一种终端设备,该终端设备包括折叠屏,该终端设备还包括:接收模块和显示模块;接收模块,用于在通过折叠屏的第一显示区域和第二显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面的情况下,接收用户对折叠屏的展开操作;显示模块,用于响应于接收模块接收的展开操作,在第一应用程序的显示优先级高于第二应用程序的显示优先级的情况下,通过折叠屏的第三显示区域和第四显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面;其中,第三显示区域的面积大于第一显示区域的面积。In the second aspect, the embodiments of the present disclosure also provide a terminal device, the terminal device includes a folding screen, the terminal device further includes: a receiving module and a display module; the receiving module is used to pass through the first display area and When the user interface of the first application program and the user interface of the second application program are displayed in the second display area, the user's expansion operation of the folding screen is received; the display module is used to respond to the expansion operation received by the receiving module. When the display priority of an application is higher than the display priority of the second application, the user interface of the first application and the user of the second application are respectively displayed through the third display area and the fourth display area of the folding screen Interface; wherein, the area of the third display area is greater than the area of the first display area.
第三方面,本公开实施例提供了一种终端设备,包括处理器、存储器及存储在该 存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的界面显示方法的步骤。In a third aspect, embodiments of the present disclosure provide a terminal device, including a processor, a memory, and a computer program stored on 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 interface display method.
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的界面显示方法的步骤。In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the interface display method as described in the first aspect are implemented. .
在本公开实施例中,针对包括折叠屏的终端设备,在通过折叠屏的第一显示区域和第二显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面的情况下,可以接收用户对折叠屏的展开操作;并响应于该展开操作,在第一应用程序的显示优先级高于第二应用程序的显示优先级的情况下,通过折叠屏的第三显示区域和第四显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面。其中,第三显示区域的面积大于第一显示区域的面积。具体的,终端设备可以按照应用程序的显示优先级,使得折叠屏上展开的显示区域先满足显示优先级较高的应用程序,再满足显示优先级较低的应用程序,进而使得显示优先级较高的应用程序的用户界面可以占用折叠屏上面积较大的显示区域。此时,随着折叠屏的展开,显示优先级较高的应用程序的用户界面占用的显示区域的面积增大(如第一应用程序的显示区域由第一显示区域变为面积较大的第三显示区域),从而有利于提升显示优先级较高的应用程序的用户界面的显示效果。另外,可以实现在折叠屏的不同显示区域上显示不同应用程序的不同用户界面,而不是在展开后的折叠屏的全部区域上显示一个应用程序的用户界面,或者在展开后的折叠屏的不同显示区域上无差别地显示不同应用程序的不同用户界面。如此,可以解决折叠屏式的终端设备显示内容的方式不够灵活的问题,并实现终端设备在折叠屏上显示较多内容、且内容的显示效果较好。In the embodiment of the present disclosure, for a terminal device including a folding screen, when the user interface of the first application program and the user interface of the second application program are respectively displayed through the first display area and the second display area of the folding screen, The user’s expansion operation of the folding screen can be received; and in response to the expansion operation, in the case that the display priority of the first application is higher than the display priority of the second application, the third display area and the second display area of the folding screen The four display areas respectively display the user interface of the first application program and the user interface of the second application program. Wherein, the area of the third display area is larger than the area of the first display area. Specifically, the terminal device may, according to the display priority of the application, make the display area expanded on the folding screen first meet the application with a higher display priority, and then meet the application with a lower display priority, so that the display priority is higher. The user interface of a tall application can occupy a larger display area on the folding screen. At this time, as the folding screen expands, the area of the display area occupied by the user interface of the application with higher display priority increases (for example, the display area of the first application changes from the first display area to the larger area). Three display areas), so as to help improve the display effect of the user interface of the application with a higher display priority. In addition, different user interfaces of different applications can be displayed on different display areas of the folding screen, instead of displaying the user interface of one application on the entire area of the expanded folding screen, or different in the expanded folding screen. Different user interfaces of different applications are displayed indiscriminately on the display area. In this way, it is possible to solve the problem of insufficient flexibility in the way of displaying content on the folding screen type terminal device, and realize that the terminal device can display more content on the folding screen and the display effect of the content is better.
附图说明Description of the drawings
图1为本公开实施例提供的一种可能的安卓操作系统的架构示意图;FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure;
图2为本公开实施例提供的一种界面显示方法的流程示意图;2 is a schematic flowchart of an interface display method provided by an embodiment of the disclosure;
图3为本公开实施例提供的终端设备显示的内容的示意图之一;FIG. 3 is one of schematic diagrams of content displayed by a terminal device provided by an embodiment of the disclosure;
图4为本公开实施例提供的终端设备显示的内容的示意图之二;4 is a second schematic diagram of content displayed by a terminal device provided by an embodiment of the disclosure;
图5为本公开实施例提供的终端设备显示的内容的示意图之三;FIG. 5 is the third schematic diagram of content displayed by a terminal device according to an embodiment of the disclosure;
图6为本公开实施例提供的终端设备显示的内容的示意图之四;FIG. 6 is a fourth schematic diagram of content displayed by a terminal device according to an embodiment of the disclosure;
图7为本公开实施例提供的终端设备显示的内容的示意图之五;FIG. 7 is a fifth schematic diagram of content displayed by a terminal device according to an embodiment of the disclosure;
图8为本公开实施例提供的终端设备显示的内容的示意图之六;FIG. 8 is a sixth schematic diagram of content displayed by a terminal device according to an embodiment of the disclosure;
图9为本公开实施例提供的一种可能的终端设备的结构示意图;FIG. 9 is a schematic structural diagram of a possible terminal device provided by an embodiment of the disclosure;
图10为本公开实施例提供的一种终端设备的硬件结构示意图。FIG. 10 is a schematic diagram of the hardware structure of a terminal device provided by an embodiment of the disclosure.
具体实施方式detailed description
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的 “和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“多个”是指两个或多于两个。It should be noted that the "/" in this article means or, for example, A/B can mean A or B; the "and/or" in this article is only an association relationship describing associated objects, which means 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.
需要说明的是,本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in the embodiments of the present disclosure, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
本公开的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一应用程序和第二应用程序等是用于区别不同的应用程序,而不是用于描述输入的特定顺序。The terms "first" and "second" in the specification and claims of the present disclosure are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first application program and the second application program are used to distinguish different applications, rather than to describe a specific order of input.
本公开实施例提供的界面显示方法及终端设备,可以应用于终端设备在折叠屏上显示内容的过程中。具体的,具体的,终端设备可以按照应用程序的显示优先级,使得折叠屏上展开的显示区域先满足显示优先级较高的应用程序,再满足显示优先级较低的应用程序,进而使得显示优先级较高的应用程序的用户界面可以占用折叠屏上面积较大的显示区域。此时,随着折叠屏的展开,显示优先级较高的应用程序的用户界面占用的显示区域的面积增大,从而有利于提升显示优先级较高的应用程序的用户界面的显示效果。另外,可以实现在折叠屏的不同显示区域上显示不同应用程序的不同用户界面,而不是在展开后的折叠屏的全部区域上显示一个应用程序的用户界面,或者在展开后的折叠屏的不同显示区域上无差别地显示不同应用程序的不同用户界面。如此,可以解决折叠屏式的终端设备显示内容的方式不够灵活的问题,并实现终端设备在折叠屏上显示较多内容、且内容的显示效果较好。The interface display method and terminal device provided by the embodiments of the present disclosure can be applied to the process of displaying content on the folding screen by the terminal device. Specifically, according to the display priority of the application, the terminal device can make the display area expanded on the foldable screen first meet the display priority of the application program, and then meet the display priority of the application program, so that the display The user interface of a higher priority application can occupy a larger display area on the folding screen. At this time, as the folding screen expands, the area of the display area occupied by the user interface of the application with a higher display priority is increased, which is beneficial to improve the display effect of the user interface of the application with the higher display priority. In addition, different user interfaces of different applications can be displayed on different display areas of the folding screen, instead of displaying the user interface of one application on the entire area of the expanded folding screen, or different in the expanded folding screen. Different user interfaces of different applications are displayed indiscriminately on the display area. In this way, it is possible to solve the problem of insufficient flexibility in the way of displaying content on the folding screen type terminal device, and realize that the terminal device can display more content on the folding screen and the display effect of the content is better.
本公开实施例中的终端设备可以为移动终端设备,也可以为非移动终端设备。移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等;本公开实施例不作具体限定。本公开实施例以下,以终端设备为手机为例进行说明。The terminal device in the embodiment of the present disclosure may be a mobile terminal device or a non-mobile terminal device. Mobile terminal devices can be mobile phones, tablet computers, notebook computers, handheld computers, vehicle-mounted terminals, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (personal digital assistants, PDAs), etc. ; The non-mobile terminal 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 disclosure does not specifically limit it. In the following embodiments of the present disclosure, the terminal device is a mobile phone as an example for description.
需要说明的是,本公开实施例提供的界面显示方法,执行主体可以为终端设备,或者,该终端设备的中央处理器(Central Processing Unit,CPU),或者该终端设备中的用于执行界面显示方法的控制模块。本公开实施例中以终端设备执行界面显示方法为例,说明本公开实施例提供的界面显示方法。It should be noted that, in the interface display method provided by the embodiments of the present disclosure, the execution subject may be a terminal device, or the central processing unit (CPU) of the terminal device, or the terminal device for executing interface display The control module of the method. In the embodiment of the present disclosure, the interface display method executed by the terminal device is taken as an example to illustrate the interface display method provided by the embodiment of the present disclosure.
本公开实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本公开实施例不作具体限定。The terminal device in the embodiment of the present disclosure may be a terminal device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present disclosure.
下面以安卓操作系统为例,介绍一下本公开实施例提供的界面显示方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment applied by the interface display method provided by the embodiments of the present disclosure.
如图1所示,为本公开实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure. In Figure 1, the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。例如,系统设置应用、系统聊天应用和系统相机应用等应用程序。第三方设置应用、第三方相机应用和第三方聊天应用等应用程序。Among them, 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.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。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.
以安卓操作系统为例,本公开实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本公开实施例提供的界面显示方法的软件程序,从而使得该界面显示方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本公开实施例提供的界面显示方法。Taking the Android operating system as an example, in the embodiments of the present disclosure, developers can develop a software program that implements the interface display method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG. 1, so that the interface The display method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the terminal device can implement the interface display method provided by the embodiments of the present disclosure by running the software program in the Android operating system.
下面结合图2所示的界面显示方法的流程图对本公开实施例提供的界面显示方法进行详细描述。具体的,本公开实施例提供的界面显示方法应用于折叠屏式的终端设备(即包括折叠屏的终端设备)。其中,虽然在方法流程图中示出了本公开实施例提供的界面显示方法的逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。例如,图2中示出的界面显示方法可以包括S201和S202:The interface display method provided by the embodiment of the present disclosure will be described in detail below in conjunction with the flowchart of the interface display method shown in FIG. 2. Specifically, the interface display method provided by the embodiments of the present disclosure is applied to a terminal device with a folding screen (that is, a terminal device including a folding screen). Wherein, although the logical sequence of the interface display method provided by the embodiments of the present disclosure is shown in the method flowchart, in some cases, the steps shown or described may be performed in a different order than here. For example, the interface display method shown in FIG. 2 may include S201 and S202:
S201、终端设备在通过折叠屏的第一显示区域和第二显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面的情况下,接收用户对折叠屏的展开操作。S201: The terminal device receives the user's unfolding operation of the folding screen when the user interface of the first application program and the user interface of the second application program are respectively displayed through the first display area and the second display area of the folding screen.
可选的,本公开实施例中,终端设备的折叠屏可以包括可折叠的至少两个屏,该至少两个屏中相邻的两个屏之间折叠的角度可以为0度到360度之间的角度。Optionally, in the embodiment of the present disclosure, the folding screen of the terminal device may include at least two foldable screens, and the folding angle between two adjacent ones of the at least two screens may be between 0 degrees and 360 degrees. The angle between.
可选的,终端设备的折叠屏可以为一整块柔性屏。Optionally, the folding screen of the terminal device may be a whole flexible screen.
可选的,折叠屏中的至少两个屏之间不存在物理边框,或该至少两个屏之间存在物理边框,本公开实施例对此不作具体限定。Optionally, there is no physical frame between at least two screens in the folding screen, or there is a physical frame between the at least two screens, which is not specifically limited in the embodiment of the present disclosure.
需要说明的是,折叠屏的状态可以包括折叠状态和展开状态。It should be noted that the state of the folding screen may include a folded state and an expanded state.
其中,在折叠屏处于折叠状态时,该折叠屏中的部分屏折叠在终端设备的内部,另一部分屏折叠在终端设备的外部。此时,折叠在终端设备的外部的屏(如主屏)可以用于显示内容,而折叠在终端设备的内部的屏不会显示内容。Wherein, when the folding screen is in a folded state, part of the folding screen is folded inside the terminal device, and another part of the folding screen is folded outside the terminal device. At this time, the screen folded on the outside of the terminal device (such as the main screen) can be used to display content, while the screen folded on the inside of the terminal device will not display content.
或者,在终端设备的折叠屏处于折叠状态时,该折叠屏中的全部屏均折叠在终端设备的内部,该全部屏均不会显示内容。Or, when the folding screen of the terminal device is in the folded state, all screens in the folding screen are folded inside the terminal device, and no content is displayed on all the screens.
另外,折叠屏的展开状态,具体可以为部分展开状态或者全部展开状态。其中,在终端设备的折叠屏处于部分展开状态时,该折叠屏中的部分屏被展开,以支持终端设备在该部分屏上显示内容。在终端设备的折叠屏处于全部展开状态时,该折叠屏中的全部屏被展开,以支持终端设备在该全部屏上显示内容。具体的,折叠屏中展开的部分屏为连续相邻的屏。In addition, the unfolded state of the folding screen may specifically be a partially unfolded state or a fully unfolded state. Wherein, when the folding screen of the terminal device is in a partially expanded state, a part of the folding screen is expanded to support the terminal device to display content on the partial screen. When the folding screen of the terminal device is in a fully expanded state, all screens in the folding screen are expanded to support the terminal device to display content on all screens. Specifically, the unfolded part of the folding screen is a continuous adjacent screen.
示例性的,本公开实施例中,终端设备的折叠屏可以包括三个屏,如屏A、屏B和屏C。例如,如图3中(a)所示,在折叠屏处于折叠状态时,该折叠屏中的屏A(如主屏)可以用于显示内容,而屏B和屏C不会显示内容。另外,如图3中的(b)所示,在折叠 屏处于部分展开状态时,如该折叠屏可以展开为两个屏,如展开为相邻的屏A和屏B。如图3中的(c)所示,在折叠屏处于全部展开状态时,该折叠屏可以展开为三个屏,即展开为相邻的屏A、屏B和屏C。当然,虽然附图中未示出,但是在折叠屏处于部分展开状态时,该折叠屏可以展开为相邻的屏B和屏C。Exemplarily, in the embodiment of the present disclosure, the folding screen of the terminal device may include three screens, such as screen A, screen B, and screen C. For example, as shown in Figure 3(a), when the folding screen is in the folded state, screen A (such as the main screen) in the folding screen can be used to display content, but screens B and C will not display content. In addition, as shown in Figure 3(b), when the folding screen is in a partially expanded state, the folding screen can be expanded into two screens, such as adjacent screen A and screen B. As shown in (c) of FIG. 3, when the folding screen is in a fully expanded state, the folding screen can be expanded into three screens, that is, expanded into adjacent screens A, B, and C. Of course, although not shown in the drawings, when the folding screen is in a partially expanded state, the folding screen can be expanded into adjacent screens B and C.
可选的,上述展开操作为用户手动拉伸终端设备使得终端设备的折叠屏展开的操作。或者,上述展开操作为用户对终端设备中特定的控件(如物理控件或虚拟控件)的操作,该特定控件用于触发终端设备通过弹性部件等装置展开折叠屏。Optionally, the aforementioned unfolding operation is an operation in which the user manually stretches the terminal device to expand the folding screen of the terminal device. Alternatively, the aforementioned expansion operation is an operation of a user on a specific control (such as a physical control or a virtual control) in the terminal device, and the specific control is used to trigger the terminal device to expand the folding screen through a device such as an elastic component.
另外,用户的展开操作具体可以控制折叠屏部分展开或全部展开。In addition, the user's expansion operation can specifically control the folding screen to be partially expanded or fully expanded.
需要说明的是,本公开实施例中,第一显示区域和第二显示区域可以为终端设备在处于折叠状态的折叠屏上分屏得到不同显示区域,如第一显示区域和第二显示区域可以为折叠屏的主屏上的不同显示区域。It should be noted that in the embodiments of the present disclosure, the first display area and the second display area may be different display areas obtained by splitting the screen of the terminal device on the folding screen in the folded state, for example, the first display area and the second display area may be Different display areas on the main screen of the folding screen.
可选的,终端设备在一个屏上分屏得到不同显示区域的面积相同或不同。Optionally, the terminal device splits the screen on one screen to obtain the same or different areas of different display areas.
本公开实施例以下,以终端设备在一个屏上分屏得到不同显示区域的面积相同为例进行说明。例如,终端设备在折叠屏上分屏得到的第一显示区域和第二显示区域的面积相同。In the following embodiments of the present disclosure, description is given by taking as an example that the terminal device splits the screen on one screen to obtain the same area of different display areas. For example, the area of the first display area and the second display area obtained by the split screen of the terminal device on the folding screen are the same.
示例性的,如图4中(a)所示,终端设备在屏A上的显示区域X1上显示应用程序1的用户界面,并在显示区域X2上显示应用程序2的用户界面。此时,显示区域X1可以为第一显示区域,显示区域X2可以为第二显示区域。Exemplarily, as shown in FIG. 4(a), the terminal device displays the user interface of the application program 1 on the display area X1 on the screen A, and displays the user interface of the application program 2 on the display area X2. At this time, the display area X1 may be the first display area, and the display area X2 may be the second display area.
S202、终端设备响应于展开操作,在第一应用程序的显示优先级高于第二应用程序的显示优先级的情况下,通过折叠屏的第三显示区域和第四显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面;其中,第三显示区域的面积大于第一显示区域的面积。S202. In response to the expansion operation, the terminal device displays the first application through the third display area and the fourth display area of the folding screen when the display priority of the first application is higher than the display priority of the second application. The user interface of the program and the user interface of the second application program; wherein the area of the third display area is larger than the area of the first display area.
其中,上述第三显示区域和第四显示区域可以为折叠屏处于展开状态(部分展开状态或全部展开状态)时的显示区域。当然,第三显示区域和第四显示区域为不同显示区域。The above-mentioned third display area and fourth display area may be display areas when the folding screen is in an expanded state (partially expanded state or fully expanded state). Of course, the third display area and the fourth display area are different display areas.
可选的,本公开实施例中,各个应用程序的显示优先级可以为用户在终端设备中预先设置的,或者为用户触发终端设备从服务器获取的。Optionally, in the embodiments of the present disclosure, the display priority of each application program may be preset by the user in the terminal device, or may be obtained by the user from the server when the terminal device is triggered.
具体的,显示优先级越高的应用程序通常在展开的折叠屏上占用面积较大的显示区域。例如,上述第三显示区域的面积大于第一显示区域的面积。Specifically, an application with a higher display priority usually occupies a larger display area on the expanded folding screen. For example, the area of the third display area is larger than the area of the first display area.
可选的,显示优先级越高的应用程序通常被优先显示,即终端设备可以使展开的显示区域先满足显示优先级较高的应用程序,再满足显示优先级较低的应用程序。例如,终端设备在折叠屏展开的第三显示区域和第四显示区域上先满足第一应用程序的用户界面需求占用的显示区域,再满足第二应用程序需求占用的显示区域。Optionally, the application with a higher display priority is usually displayed first, that is, the terminal device can make the expanded display area meet the application with the higher display priority first, and then the application with the lower display priority. For example, the terminal device first satisfies the display area occupied by the user interface requirement of the first application on the third display area and the fourth display area where the folding screen is expanded, and then satisfies the display area occupied by the second application program.
其中,第三显示区域的面积与第四显示区域的面积相同或不同,可以根据实际需求设置,本公开实施例这里不作具体限定。Wherein, the area of the third display area and the area of the fourth display area are the same or different, and can be set according to actual requirements, and the embodiment of the present disclosure does not specifically limit it here.
可以理解的是,显示优先级越高的应用程序对用户的重要程度越高,即用户更倾向于使用显示优先级高的应用程序。It is understandable that an application with a higher display priority is more important to a user, that is, a user is more inclined to use an application with a higher display priority.
可选的,在一定时间段内,应用程序的使用频率越高,应用程序的显示优先级越高;或者,应用程序的使用时长越大,应用程序的显示优先级越高。Optionally, within a certain period of time, the higher the frequency of use of the application, the higher the display priority of the application; or, the longer the use time of the application, the higher the display priority of the application.
可以理解的是,终端设备可以将显示优先级较高的应用程序的用户界面优先显示在展开后的折叠屏上靠前的显示区域上。示例性的,在折叠屏上相邻的显示区域沿着第一方向 排列的情况下,折叠屏上靠前的显示区域为在沿着第一方向靠前的显示区域。例如,在折叠屏上相邻的显示区域沿着从左到右的方向排列的情况下,折叠屏上靠左的显示区域为靠前的显示区域。It is understandable that the terminal device may preferentially display the user interface of the application program with a higher display priority on the front display area of the expanded folding screen. Exemplarily, in the case where adjacent display areas on the folding screen are arranged along the first direction, the front display area on the folding screen is the front display area along the first direction. For example, in the case where adjacent display areas on the folding screen are arranged in a left-to-right direction, the left display area on the folding screen is the front display area.
可以理解的是,处于折叠状态的折叠屏上的不同显示区域的顺序通常不作限定,如第一显示区域和第二显示区域的顺序通常不作限定。It can be understood that the order of different display areas on the folding screen in the folded state is generally not limited, for example, the order of the first display area and the second display area is generally not limited.
示例性的,如图4中(b)所示,终端设备将折叠屏由屏A展开为相邻的屏A和屏B,并在屏A所在的显示区域上显示应用程序1的用户界面,在屏B所在的显示区域上显示应用程序2的用户界面。显然,屏A所在的显示区域的面积大于显示区域X1的面积,即第三显示区域的面积大于第一显示区域的面积。Exemplarily, as shown in Figure 4(b), the terminal device expands the folding screen from screen A to adjacent screens A and B, and displays the user interface of application 1 on the display area where screen A is located. The user interface of the application 2 is displayed on the display area where the screen B is located. Obviously, the area of the display area where the screen A is located is greater than the area of the display area X1, that is, the area of the third display area is greater than the area of the first display area.
进一步的,如图4中(c)所示,终端设备将折叠屏展开为相邻的屏A、屏B和屏C,并在屏A和屏B所在的显示区域上显示应用程序1的用户界面,在屏C所在的显示区域上显示应用程序2的用户界面。显然,屏A和屏B所在的显示区域的面积大于显示区域X1的面积。Further, as shown in Figure 4 (c), the terminal device expands the folding screen into adjacent screens A, B, and C, and displays the user of application 1 on the display area where the screens A and B are located Interface, the user interface of application 2 is displayed on the display area where the screen C is located. Obviously, the area of the display area where the screen A and the screen B are located is larger than the area of the display area X1.
进一步的,本公开实施例中,终端设备的折叠屏的不同显示区域显示的不同内容,可以为不同应用程序的不同用户界面,或者为同一应用程序的不同用户界面。Further, in the embodiments of the present disclosure, different content displayed on different display areas of the folding screen of the terminal device may be different user interfaces of different applications, or different user interfaces of the same application.
可选的,在折叠屏的不同显示区域(如相邻的不同显示区域)上分别显示多个显示优先级相同的应用程序的用户界面时,终端设备可以随机地在该不同显示区域上分别显示该不同应用程序的用户界面。Optionally, when multiple user interfaces displaying applications with the same priority are displayed on different display areas of the folding screen (such as adjacent different display areas), the terminal device may randomly display the user interfaces on the different display areas. The user interface of the different application.
另外,在折叠屏的不同显示区域(如相邻的不同显示区域)上分别显示同一应用程序的不同用户界面时,终端设备可以随机地在该不同显示区域上分别显示该应用程序的不同用户界面。In addition, when different user interfaces of the same application are displayed on different display areas (such as adjacent different display areas) of the folding screen, the terminal device can randomly display different user interfaces of the application on the different display areas. .
需要说明的是,本公开实施例提供的界面显示方法,可以应用于包括折叠屏的终端设备。具体的,在通过折叠屏的第一显示区域和第二显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面的情况下,可以接收用户对折叠屏的展开操作;并响应于该展开操作,在第一应用程序的显示优先级高于第二应用程序的显示优先级的情况下,通过折叠屏的第三显示区域和第四显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面。其中,第三显示区域的面积大于第一显示区域的面积。具体的,终端设备可以按照应用程序的显示优先级,使得折叠屏上展开的显示区域先满足显示优先级较高的应用程序,再满足显示优先级较低的应用程序,进而使得显示优先级较高的应用程序的用户界面可以占用折叠屏上面积较大的显示区域。此时,随着折叠屏的展开,显示优先级较高的应用程序的用户界面占用的显示区域的面积增大(如第一应用程序的显示区域由第一显示区域变为面积较大的第三显示区域),从而有利于提升显示优先级较高的应用程序的用户界面的显示效果。另外,可以实现在折叠屏的不同显示区域上显示不同应用程序的不同用户界面,而不是在展开后的折叠屏的全部区域上显示一个应用程序的用户界面,或者在展开后的折叠屏的不同显示区域上无差别地显示不同应用程序的不同用户界面。如此,可以解决折叠屏式的终端设备显示内容的方式不够灵活的问题,并实现终端设备在折叠屏上显示较多内容、且内容的显示效果较好。It should be noted that the interface display method provided by the embodiments of the present disclosure can be applied to terminal devices including a folding screen. Specifically, in the case where the user interface of the first application and the user interface of the second application are respectively displayed through the first display area and the second display area of the folding screen, the user's unfolding operation of the folding screen may be received; and responding In this expansion operation, when the display priority of the first application is higher than the display priority of the second application, the user interface of the first application is displayed through the third display area and the fourth display area of the folding screen, respectively And the user interface of the second application. Wherein, the area of the third display area is larger than the area of the first display area. Specifically, the terminal device may, according to the display priority of the application, make the display area expanded on the folding screen first meet the application with a higher display priority, and then meet the application with a lower display priority, so that the display priority is higher. The user interface of a tall application can occupy a larger display area on the folding screen. At this time, as the folding screen expands, the area of the display area occupied by the user interface of the application with higher display priority increases (for example, the display area of the first application changes from the first display area to the larger area). Three display areas), so as to help improve the display effect of the user interface of the application with a higher display priority. In addition, different user interfaces of different applications can be displayed on different display areas of the folding screen, instead of displaying the user interface of one application on the entire area of the expanded folding screen, or different in the expanded folding screen. Different user interfaces of different applications are displayed indiscriminately on the display area. In this way, it is possible to solve the problem of insufficient flexibility in the way of displaying content on the folding screen type terminal device, and realize that the terminal device can display more content on the folding screen and the display effect of the content is better.
可选的,本公开实施例中,随着折叠屏的展开,显示优先级较高的应用程序的用户界面占用的显示区域的面积增幅越大。具体的,第一数值大于或等于第二数值;其中,第一 数值为第三显示区域的面积与第一显示区域的面积的差值,第二数值为第四显示区域和第二显示区域的面积的差值。Optionally, in the embodiments of the present disclosure, as the folding screen expands, the area of the display area occupied by the user interface of the application program with a higher display priority increases more. Specifically, the first value is greater than or equal to the second value; where the first value is the difference between the area of the third display area and the area of the first display area, and the second value is the difference between the fourth display area and the second display area. The difference in area.
示例性的,结合图4中的(a)和(b),屏A所在的显示区域的面积与屏A上的显示区域X1的面积之间的差值记为差值1,屏B所在的显示区域的面积与屏A上的显示区域X2的面积之间的差值记为差值2。此时,差值1与差值2相同,差值1为第一数值,差值2为第二数值。Exemplarily, in conjunction with (a) and (b) in Figure 4, the difference between the area of the display area where the screen A is located and the area of the display area X1 on the screen A is recorded as a difference of 1, and where the screen B is The difference between the area of the display area and the area of the display area X2 on the screen A is recorded as a difference of 2. At this time, the difference value 1 is the same as the difference value 2, the difference value 1 is the first value, and the difference value 2 is the second value.
示例性的,结合图4中的(a)和(c),屏A和屏B所在的显示区域的面积与屏A上的显示区域X1的面积之间的差值记为差值3,屏C所在的显示区域的面积与屏A上的显示区域X2的面积之间的差值记为差值4。此时,差值3大于差值4,差值3为第一数值,差值4为第二数值。Exemplarily, in conjunction with (a) and (c) in Figure 4, the difference between the area of the display area where screen A and screen B are located and the area of the display area X1 on screen A is recorded as a difference of 3. The difference between the area of the display area where C is located and the area of the display area X2 on the screen A is recorded as a difference of 4. At this time, the difference 3 is greater than the difference 4, the difference 3 is the first value, and the difference 4 is the second value.
需要说明的是,本公开实施例中,随着折叠屏的展开,显示优先级较高的应用程序的用户界面占用的显示区域的面积增幅越大,有利于实现显示优先级较高的应用程序占用较大面积的显示区域。进而,有利于提升显示优先级高的应用程序的用户界面的显示效果。It should be noted that, in the embodiments of the present disclosure, as the folding screen expands, the area of the display area occupied by the user interface of the application with higher display priority increases, which is beneficial to the realization of the application with higher display priority. Occupies a larger display area. Furthermore, it is beneficial to improve the display effect of the user interface of the application program with a high display priority.
可选的,本公开实施例中,第三显示区域的面积大于或等于第四显示区域的面积。Optionally, in the embodiment of the present disclosure, the area of the third display area is greater than or equal to the area of the fourth display area.
示例性的,结合图4中(b),屏A所在的显示区域的面积等于屏B所在的显示区域的面积,即第三显示区域的面积等于第四显示区域的面积。结合图4中(c),屏A和屏B所在的显示区域的面积大于屏C所在的显示区域的面积,即第三显示区域的面积大于第四显示区域的面积。Exemplarily, with reference to FIG. 4(b), the area of the display area where the screen A is located is equal to the area of the display area where the screen B is located, that is, the area of the third display area is equal to the area of the fourth display area. With reference to Figure 4(c), the area of the display area where the screen A and the screen B are located is greater than the area of the display area where the screen C is located, that is, the area of the third display area is greater than the area of the fourth display area.
其中,本公开实施例提供的界面显示方法,终端设备可以使得显示优先级较高的应用程序的用户界面占用折叠屏上面积较大的显示区域,如使得第一应用程序的用户界面占用面积较大的第三显示区域的面积、第二应用程序的用户界面占用面积较小的第四显示区域。如此,有利于终端设备在折叠屏上显示的显示优先级较高的应用程序的内容更为清楚,即有利于进一步提升显示优先级较高的应用程序的内容的显示效果。In the interface display method provided by the embodiments of the present disclosure, the terminal device can make the user interface of the application with higher display priority occupy a larger display area on the folding screen, for example, the user interface of the first application can occupy a larger area. The area of the large third display area, and the user interface of the second application program occupies a smaller area of the fourth display area. In this way, it is beneficial for the terminal device to display the content of the application with a higher display priority on the folding screen more clearly, that is, it is beneficial to further improve the display effect of the content of the application with a higher display priority.
需要说明的是,本公开实施例中,终端设备在折叠屏上可以显示多个应用程序的用户界面。如终端设备在折叠屏上不仅可以显示第一应用程序的用户界面和第二应用程序的用户界面,还可以显示其他应用程序的界面。It should be noted that in the embodiments of the present disclosure, the terminal device may display user interfaces of multiple applications on the folding screen. For example, the terminal device can display not only the user interface of the first application program and the user interface of the second application program, but also the interfaces of other applications on the folding screen.
可选的,第一应用程序和第二应用程序为n个应用程序中的应用程序,n个应用程序为终端设备在接收展开操作之前,前台运行的应用程序,n个应用程序中每个应用程序的显示优先级根据预设的第一参数确定,第一参数用于指示一个应用程序对应的屏的数量,n为大于或等于2的整数;其中,应用程序对应的第一参数的数值越大,应用程序的显示优先级越高。具体的,每个第一参数的取值均为正整数。Optionally, the first application and the second application are applications in n applications, the n applications are applications running in the foreground before the terminal device receives the unfolding operation, and each of the n applications The display priority of the program is determined according to the preset first parameter. The first parameter is used to indicate the number of screens corresponding to an application, and n is an integer greater than or equal to 2; where the value of the first parameter corresponding to the application is Larger, the higher the display priority of the application. Specifically, the value of each first parameter is a positive integer.
可以理解的是,显示优先级越高的应用程序通常需求占用的显示区域的面积越大。即,显示优先级越高的应用程序需求占用的屏的数量越多。It is understandable that an application with a higher display priority usually needs to occupy a larger display area. That is, an application with a higher display priority needs to occupy more screens.
可选的,本公开实施例中,应用程序的显示优先级可以由应用程序的第一参数、使用频率、使用时长等参数中的至少一项确定,本公开实施例中对此不作限定。另外,在应用程序的显示优先级由应用程序的使用频率、使用时长等参数中的至少一项确定的场景中,终端设备可以按照应用程序的显示优先级和应用程序的第一参数,在折叠屏上显示不同应用程序的用户界面。Optionally, in the embodiment of the present disclosure, the display priority of the application program may be determined by at least one of the first parameter, frequency of use, and duration of use of the application program, which is not limited in the embodiment of the present disclosure. In addition, in a scenario where the display priority of the application is determined by at least one of the use frequency and duration of the application, the terminal device can display the priority of the application and the first parameter of the application in the folding The user interface of different applications is displayed on the screen.
示例性的,本公开实施例以下,以应用程序的第一参数确定应用程序的显示优先级为 例,对本公开实施例提供的界面显示方法进行说明。Exemplarily, the following embodiments of the present disclosure take the first parameter of the application to determine the display priority of the application as an example to describe the interface display method provided by the embodiment of the present disclosure.
具体的,一个应用程序的第一参数可以为用户预先在终端设备中设置的,或者由用户触发终端设备从服务器获取的。具体的,用户控制终端设备对其安装的应用程序设置第一参数,即实现了设置应用程序的显示优先级。Specifically, the first parameter of an application program may be pre-set by the user in the terminal device, or the user may trigger the terminal device to obtain it from the server. Specifically, the user controls the terminal device to set the first parameter for the installed application, that is, the display priority of the application is set.
可以理解的是,显示优先级越高的应用程序的第一参数的数值越大,即显示优先级越高的应用程序的用户界面默认占用的屏的数量越多,即显示优先级越高的应用程序的用户界面默认占用的显示区域的面积越大。It is understandable that the higher the display priority of the application, the greater the value of the first parameter, that is, the higher the display priority of the user interface of the application’s user interface occupies more screens, that is, the higher the display priority The larger the area of the display area occupied by the user interface of the application by default.
示例性的,一个应用程序的第一参数大于或等于2时,表示该应用程序默认占用两个屏,即该应用程序在折叠屏处于展开状态时默认跨屏显示。Exemplarily, when the first parameter of an application is greater than or equal to 2, it means that the application occupies two screens by default, that is, the application is displayed across screens by default when the folding screen is in the expanded state.
可选的,随着折叠屏的展开,终端设备不仅可以显示折叠屏展开之前终端设备前台运行的应用程序的用户界面,还可以折叠屏展开之前终端设备后台运行的应用程序的用户界面,或者折叠屏展开之前终端设备未运行的一些应用程序的用户界面。Optionally, as the folding screen expands, the terminal device can not only display the user interface of the application running in the foreground of the terminal device before the folding screen is expanded, but also the user interface of the application running in the background of the terminal device before the folding screen is expanded, or fold The user interface of some applications that are not running on the terminal device before the screen is expanded.
其中,本公开实施例中,一个应用程序的第一参数小于或等于终端设备的折叠屏中的全部屏的数量。Wherein, in the embodiment of the present disclosure, the first parameter of an application program is less than or equal to the number of all screens in the folding screen of the terminal device.
可以理解的是,用户可以对终端设备中的部分应用程序设置优先级,而对另一部分应用程序不设置优先级。具体的,终端设备中未设置优先级的应用程序的内容默认占用的显示区域(即屏)的数量为1,即该应用程序在折叠屏处于展开状态时不会跨屏显示。It is understandable that the user can set the priority for some applications in the terminal device, but not for other applications. Specifically, the default number of display areas (ie, screens) occupied by the content of an application program with no priority set in the terminal device is 1, that is, the application program will not be displayed across screens when the folding screen is in the expanded state.
进一步的,用户可以控制终端设备选择是否按照应用程序的显示优先级、在处于展开状态的折叠屏上显示应用程序的用户界面。Further, the user can control the terminal device to choose whether to display the user interface of the application program on the folded screen in the expanded state according to the display priority of the application program.
进一步的,用户可以设置终端设备允许在处于展开的折叠屏上显示应用程序的用户界面时,应用程序的最大数量。Further, the user can set the maximum number of applications when the terminal device allows the user interface of the application to be displayed on the unfolded folding screen.
示例性的,如图5所示,为本公开实施例提供的一种终端设备显示的内容的示意图。图5中(a)示出了终端设备提供的一种设置界面,该设置界面中包括控件P1、控件P2、一个或多个控件P3,以及一个或多个控件P4。Exemplarily, as shown in FIG. 5, it is a schematic diagram of content displayed by a terminal device according to an embodiment of the present disclosure. Fig. 5(a) shows a setting interface provided by the terminal device. The setting interface includes a control P1, a control P2, one or more controls P3, and one or more controls P4.
其中,控件P1(即控件“跨屏显示”),用于触发终端设备选择是否按照应用程序的优先级、在处于展开状态的折叠屏上显示内容。控件P2(即控件“最大显示应用数”)用于触发终端设备设置在处于展开的折叠屏上显示应用程序的内容时,应用程序的最大数量。每个控件3用于对一个开启跨屏显示的应用程序进行设置。每个控件P3中的选项P31用于触发将一个开启跨屏显示的应用程序修改为未开启跨屏显示的应用程序,每个控件P3中的选项P32用于触发设置一个开启跨屏显示的应用程序默认占用的显示区域的数量。每个控件P4用于触发终端设备对一个未开启跨屏显示的应用程序进行设置,每个控件P4中的选项P3a用于触发将一个未开启跨屏显示的应用程序修改为开启跨屏显示的应用程序。Among them, the control P1 (that is, the control "cross-screen display") is used to trigger the terminal device to select whether to display content on the folded screen in the expanded state according to the priority of the application. The control P2 (that is, the control "maximum number of displayed applications") is used to trigger the terminal device to set the maximum number of applications when the content of the applications is displayed on the expanded folding screen. Each control 3 is used to set an application that enables cross-screen display. Option P31 in each control P3 is used to trigger the modification of an application that has cross-screen display enabled to an application that does not enable cross-screen display, and option P32 in each control P3 is used to trigger the setting of an application that enables cross-screen display The number of display areas occupied by the program by default. Each control P4 is used to trigger the terminal device to set an application that is not enabled for cross-screen display, and the option P3a in each control P4 is used to trigger the modification of an application that is not enabled for cross-screen display to the one that enables cross-screen display. application.
具体的,图5中(a)示出的应用程序1~应用程序3为开启跨屏显示的应用程序,应用程序4和应用程序5为未开启跨屏显示的应用程序。在用户对图5中(a)示出的应用程序1所在的控件P3中的选项P31的输入之后,可以触发终端设备显示如图5中(b)示出的设置界面。其中,图5中(b)示出的设置界面中包括应用程序1对应的选项P32展开的控件P321,该控件P321用于触发从1、2、3、4和5中选择应用程序1默认占用的屏的数量。显然,应用程序1的第一参数的数值为1~5中的整数。如用户对P321中的“2”进行输入之后,终端设备确定应用程序1的第一参数为2。Specifically, application 1 to application 3 shown in FIG. 5(a) are applications that enable cross-screen display, and application 4 and application 5 are applications that do not enable cross-screen display. After the user inputs the option P31 in the control P3 where the application 1 shown in FIG. 5(a) is located, the terminal device can be triggered to display the setting interface as shown in FIG. 5(b). Among them, the setting interface shown in Figure 5 (b) includes the control P321 expanded by the option P32 corresponding to application 1. The control P321 is used to trigger the selection of application 1 from 1, 2, 3, 4, and 5. The number of screens. Obviously, the value of the first parameter of the application program 1 is an integer from 1 to 5. For example, after the user inputs "2" in P321, the terminal device determines that the first parameter of application 1 is 2.
可以理解的是,终端设备将折叠屏展开之后,在折叠屏中展开的屏的数量足够多的情况下,终端设备可以在这些展开的屏中数量为第一参数的屏上跨屏显示相应的应用程序的用户界面。It is understandable that after the terminal device unfolds the folding screen, if the number of unfolded screens in the folding screen is large enough, the terminal device can display the corresponding cross-screen display on the first parameter of these unfolded screens. The user interface of the application.
具体的,终端设备可以按照n个应用程序的第一参数,在展开后的n个显示区域上显示n个应用程序的用户界面。例如,终端设备按照第一参数从大到小的顺序,在n个显示区域上显示n个应用程序的用户界面。当然,第一参数越大的应用程序的显示优先级越高。其中,该n个显示区域中包括上述第三显示区域和第四显示区域。Specifically, the terminal device may display the user interface of the n application programs on the expanded n display areas according to the first parameters of the n application programs. For example, the terminal device displays the user interfaces of n application programs on n display areas in descending order of the first parameter. Of course, the larger the first parameter, the higher the display priority of the application. Wherein, the n display areas include the aforementioned third display area and fourth display area.
其中,本公开实施例中,上述n个应用程序为用户设置的全部开启跨屏显示的应用程序,或部分开启跨屏显示的应用程序。Among them, in the embodiment of the present disclosure, the above n application programs are all applications that are set by the user to enable cross-screen display, or some applications that enable cross-screen display.
需要说明的是,本公开实施例提供的界面显示方法,由于n个应用程序的显示优先级可以根据n个第一参数确定,即终端设备可以根据n个第一参数,在n组显示区域上显示n个应用程序的用户界面,因此可以实现终端设备在处于展开状态的折叠屏上优先显示第一参数大的应用程序。从而,有利于保证需求占用较大显示面积的应用程序的内容的显示效果。It should be noted that, in the interface display method provided by the embodiments of the present disclosure, since the display priority of n applications can be determined according to n first parameters, that is, the terminal device can display on n groups of display areas according to n first parameters. The user interface of n application programs is displayed, so that the terminal device can preferentially display the application program with the first parameter on the folded screen in the expanded state. Therefore, it is beneficial to ensure the display effect of the content of the application program that requires a larger display area.
可选的,n个应用程序中不同应用程序的用户界面位于折叠屏的不同显示区域。其中,一个显示区域包括至少一个屏,或者,一个显示区域为一个屏中的部分区域。Optionally, user interfaces of different applications in the n applications are located in different display areas of the folding screen. Wherein, one display area includes at least one screen, or one display area is a part of one screen.
具体的,本公开实施例中,折叠屏中的显示区域的划分可以为以下两种场景中的任一种:Specifically, in the embodiments of the present disclosure, the division of the display area in the folding screen may be any of the following two scenarios:
场景1、折叠屏上的每个显示区域均为至少一个屏。Scene 1. Each display area on the folding screen is at least one screen.
场景2、折叠屏上的一部分显示区域中的每个显示区域均为至少一个屏,另一部分显示区域中的每个显示区域均为一个屏上的部分区域。Scenario 2. Each display area in a part of the display area on the folding screen is at least one screen, and each display area in the other part of the display area is a partial area on one screen.
其中,一个屏上的不同显示区域可以由终端设备采用分屏技术划分得到。Among them, different display areas on one screen can be obtained by dividing the terminal device using split screen technology.
一般而言,终端设备的折叠屏中,划分为不同显示区域的一个屏可以位于折叠屏中展开的最后一个屏上。Generally speaking, among the folding screens of the terminal device, one screen divided into different display areas may be located on the last unfolded screen in the folding screen.
需要说明的是,本公开实施例中,随着折叠屏的展开,当折叠屏展开的屏的数量足够多时,终端设备可以将各个应用程序的用户界面按照显示优先级在一个屏上显示、甚至跨屏显示。当折叠屏展开的屏的数量较少时,终端设备可以将显示优先级较高的应用程序的用户界面在一个屏上显示、甚至跨屏显示,并将一些显示优先级较低的应用程序的用户界面在一个屏上分屏显示。It should be noted that in the embodiment of the present disclosure, as the folding screen is expanded, when the number of expanded screens of the folding screen is large enough, the terminal device can display the user interface of each application program on one screen according to the display priority, or even Multi-screen display. When the number of expanded screens of the folding screen is small, the terminal device can display the user interface of the application with higher priority on one screen, or even display it across multiple screens, and display the user interface of some applications with lower priority. The user interface is displayed in a split screen on one screen.
其中,当一个应用程序的用户界面采用分屏技术显示在一个屏上时,可以认为该应用程序的用户界面当前占用的屏的数量为1。Wherein, when the user interface of an application program is displayed on one screen using split-screen technology, it can be considered that the number of screens currently occupied by the user interface of the application program is 1.
示例性的,以下实施例中以应用程序1的第一参数(记为参数1)为2,应用程序2的第一参数(记为参数2)为1,应用程序3的第一参数(记为参数3)为1为例,说明本公开实施例中的界面显示方法。Exemplarily, in the following embodiments, the first parameter of application 1 (denoted as parameter 1) is 2, the first parameter of application 2 (denoted as parameter 2) is 1, and the first parameter of application 3 (denoted as parameter 2) is 1. The parameter 3) is 1 as an example to illustrate the interface display method in the embodiment of the present disclosure.
例如,结合图4中的(b),应用程序1占用的屏(即屏A)的数量K1等于1,K1的数值小于参数1的数值;应用程序2占用的屏(即屏B)的数量K2等于1,即K2的数值小于参数2的数值。进一步的,结合图4中的(c),应用程序1占用的屏(即屏A和屏B)的数量K1等于2,K2的数值小于参数1的数值;应用程序2占用的屏(即屏C)的数量K2等于1,即K2的数值小于参数2的数值。此时,n等于2。For example, in conjunction with (b) in Figure 4, the number of screens occupied by application 1 (ie, screen A) K1 is equal to 1, and the value of K1 is less than the value of parameter 1; the number of screens occupied by application 2 (ie, screen B) K2 is equal to 1, that is, the value of K2 is less than the value of parameter 2. Further, with reference to (c) in Figure 4, the number of screens occupied by application 1 (ie, screen A and screen B) K1 is equal to 2, and the value of K2 is less than the value of parameter 1; the screen occupied by application 2 (ie, screen The number K2 of C) is equal to 1, that is, the value of K2 is less than the value of parameter 2. At this time, n is equal to 2.
进一步示例性的,如图6中(a)所示,在终端设备的折叠屏处于折叠状态的情况下,折叠屏中的屏A(即主屏)上分屏显示了应用程序1、应用程序2和应用程序3的用户界面。随后,如图6中(b)所示,终端设备将折叠屏展开为相邻的屏A和屏B,并在该屏A上显示应用程序1的用户界面,在屏B上分屏显示应用程序2和应用程序3的用户界面。此时,应用程序1占用的屏(即屏A)的数量K1等于1,K1的数值小于参数1的数值;应用程序2占用的屏(即占用一个屏中的部分区域)的数量K2等于1,即K2的数值等于参数2的数值;应用程序3占用的屏(即占用一个屏中的区域)的数量K3等于1,即K3的数值等于参数3的数值。此时n等于3。As a further example, as shown in Figure 6(a), when the folding screen of the terminal device is in the folded state, the screen A (ie the main screen) of the folding screen displays the application program 1, application program 2. And the user interface of application 3. Subsequently, as shown in Figure 6 (b), the terminal device unfolds the folding screen into adjacent screens A and B, and displays the user interface of application 1 on this screen A, and displays the application in split screens on screen B User interface of Program 2 and Application 3. At this time, the number of screens occupied by application 1 (ie, screen A) K1 is equal to 1, and the value of K1 is less than the value of parameter 1; the number of screens occupied by application 2 (ie, occupying part of a screen) K2 is equal to 1. , That is, the value of K2 is equal to the value of parameter 2; the number of screens occupied by application 3 (that is, an area in one screen) is equal to 1, that is, the value of K3 is equal to the value of parameter 3. At this time, n is equal to 3.
进一步的,如图6中(c)所示,终端设备将折叠屏展开为相邻的屏A、屏B和屏C,并在该屏A和屏B上显示应用程序1的用户界面,在屏C上分屏显示应用程序2和应用程序3的用户界面。此时,应用程序1占用的屏(即屏A和屏B)的数量K1等于2,K1的数值等于参数1的数值;应用程序2占用的屏(即占用一个屏中的部分区域)的数量K2等于1,即K2的数值等于参数2的数值;应用程序3占用的屏(即占用一个屏中的区域)的数量K3等于1,即K3的数值等于参数3的数值。Further, as shown in Figure 6(c), the terminal device expands the folding screen into adjacent screens A, B, and C, and displays the user interface of application 1 on the screens A and B. The user interfaces of application 2 and application 3 are displayed on screen C in separate screens. At this time, the number of screens occupied by application 1 (ie, screen A and screen B) K1 is equal to 2, and the value of K1 is equal to the value of parameter 1; the number of screens occupied by application 2 (ie, a partial area of one screen) K2 is equal to 1, that is, the value of K2 is equal to the value of parameter 2; the number of screens occupied by application 3 (that is, an area in one screen) is equal to 1, that is, the value of K3 is equal to the value of parameter 3.
其中,终端设备的折叠屏中,划分为不同显示区域的屏(如图6中(b)示出的屏B,图6中(c)示出的屏C)位于折叠屏中展开的最后一个屏上。Among them, among the folding screens of the terminal device, the screens divided into different display areas (such as the screen B shown in Figure 6 (b) and the screen C shown in Figure 6 (c)) are located in the last unfolded folding screen. On the screen.
需要说明的是,本公开实施例提供的界面显示方法,由于终端设备在处于展开状态的折叠屏上不仅可以跨屏显示应用程序的用户界面,还可以分屏显示应用程序的用户界面,以实现折叠屏上显示多个内容(如多个用户界面)、且内容显示效果较好,因此有利于提升终端设备在折叠屏上显示内容的灵活性。It should be noted that, in the interface display method provided by the embodiments of the present disclosure, the terminal device can not only display the user interface of the application program across screens, but also display the user interface of the application program in split screens, to achieve Multiple content (such as multiple user interfaces) are displayed on the folding screen, and the content display effect is better, so it is beneficial to improve the flexibility of the terminal device to display content on the folding screen.
在一种可能的实现方式中,本公开实施例提供的界面显示方法,在上述S202之后还可以包括S203和S204:In a possible implementation manner, the interface display method provided in the embodiment of the present disclosure may further include S203 and S204 after the above S202:
S203、终端设备接收用户对第一应用程序的目标操作。S203: The terminal device receives the user's target operation on the first application.
其中,目标操作可以用于触发终端设备关闭当前运行的第一应用程序,如对第一应用程序的用户界面中包括的退出控件的点击操作。Wherein, the target operation may be used to trigger the terminal device to close the currently running first application, such as a click operation on the exit control included in the user interface of the first application.
S204、终端设备响应于目标操作,取消在第三显示区域上显示的第一应用程序的用户界面,并更新折叠屏上显示的内容。S204. In response to the target operation, the terminal device cancels the user interface of the first application program displayed on the third display area, and updates the content displayed on the folding screen.
具体的,上述S204可以通过S204a实现:Specifically, the above S204 can be implemented through S204a:
S204a、终端设备在第三显示区域上显示第二应用程序的用户界面,并取消在第四显示区域上显示的第二应用程序的用户界面。S204a. The terminal device displays the user interface of the second application on the third display area, and cancels the user interface of the second application displayed on the fourth display area.
可选的,终端设将第三显示区域上显示的内容由第一应用程序的用户界面更新为第二应用程序的用户界面之后,第三显示区域占用的屏的数量可能变化,也可能不变。Optionally, after the terminal device updates the content displayed on the third display area from the user interface of the first application to the user interface of the second application, the number of screens occupied by the third display area may or may not change .
示例性的,终端设备将第三显示区域上显示的内容由第一应用程序的用户界面更新为第二应用程序的用户界面之后,第三显示区域占用的屏的数量可以由第一应用程序的第一参数变化为第二应用程序的第一参数,如由参数1变化为参数2。Exemplarily, after the terminal device updates the content displayed on the third display area from the user interface of the first application program to the user interface of the second application program, the number of screens occupied by the third display area may be determined by the first application program. The first parameter change is the first parameter of the second application program, such as changing from parameter 1 to parameter 2.
进一步的,本公开实施例提供的界面显示方法,在上述S204a之后还可以包括S204b:Further, the interface display method provided by the embodiment of the present disclosure may further include S204b after the above S204a:
S204b、终端设备在第四显示区域上显示预设内容。S204b. The terminal device displays the preset content on the fourth display area.
可选的,上述预设内容为折叠屏上前台运行的第一应用程序和第二应用程序之外的其他应用程序的用户界面,或者,为终端设备后台运行的其他应用程序的用户界面,或者为 由用户预先设置的内容(如桌面界面)等。Optionally, the aforementioned preset content is the user interface of the first application running in the foreground on the folding screen and other applications other than the second application, or the user interface of other applications running in the background of the terminal device, or It is the content preset by the user (such as the desktop interface), etc.
示例性的,以下实施例中,以预设内容为折叠屏上前台运行的第一应用程序和第二应用程序之外的其他应用程序的用户界面为例进行说明。即终端设备在关闭前台运行的第一应用程序之后,按照应用程序的显示优先级,依次更新各个应用程序占用的显示区域。Exemplarily, in the following embodiments, the user interface of the first application running in the foreground on the folding screen and the user interface of other applications other than the second application is taken as an example for description. That is, after closing the first application running in the foreground, the terminal device sequentially updates the display area occupied by each application according to the display priority of the application.
可选的,终端设备在折叠屏上依次更新各个应用程序占用的显示区域时,可以重新检测待更新的应用程序的第一参数和折叠屏中空闲屏的数量。例如,终端设备可以按照应用程序的第一参数由大到小的顺序,更新各个应用程序的用户界面在折叠屏上占用的显示区域。Optionally, when the terminal device sequentially updates the display area occupied by each application on the folding screen, it may re-detect the first parameter of the application to be updated and the number of idle screens in the folding screen. For example, the terminal device may update the display area occupied by the user interface of each application program on the folding screen according to the first parameter of the application program in descending order.
可以理解的是,在终端设备取消显示折叠屏上靠前的显示区域上的内容之后,终端设备可以将折叠屏上靠后的显示区域上内容依次向靠前的显示区域上更新。It is understandable that after the terminal device cancels displaying the content on the front display area on the folding screen, the terminal device may sequentially update the content on the rear display area on the folding screen to the front display area.
示例性的,结合图6中的(c)所示的内容,在用户触发终端设备取消显示应用程序2的内容之后,如图7所示终端设备可以在屏A和屏B上跨屏显示应用程序1的用户界面,并在屏C上显示应用程序3的用户界面。此时,应用程序2为第一应用程序,应用程序3为第二应用程序。Exemplarily, in combination with the content shown in (c) in Figure 6, after the user triggers the terminal device to cancel the display of the content of the application 2, as shown in Figure 7, the terminal device can display the application across screens A and B The user interface of program 1 and the user interface of application 3 are displayed on screen C. At this time, application 2 is the first application, and application 3 is the second application.
其中,由于在折叠屏处于展开状态的情况下,终端设备可以随着前台运行的应用程序的关闭,更新终端设备在折叠屏上显示的持续运行应用程序的用户界面占用的显示区域,因此有利于进一步提高终端设备在折叠屏上显示内容的灵活性。Among them, when the folding screen is in the unfolded state, the terminal device can update the display area occupied by the user interface of the continuously running application displayed on the folding screen with the closing of the application running in the foreground, which is beneficial to Further improve the flexibility of the terminal device to display content on the folding screen.
进一步的,本公开实施例中,上述步骤S204之后还可以包括S204c:Further, in the embodiment of the present disclosure, S204c may be further included after the above step S204:
S204c、终端设备在第三显示区域和第四显示区域上展开显示第二应用程序的用户界面。S204c. The terminal device expands and displays the user interface of the second application on the third display area and the fourth display area.
可以理解的是,终端设备的折叠屏上显示两个应用程序的用户界面的情况下,若用户触发终端设备关闭前台运行的一个应用程序后,终端设备可以在折叠屏展开的全部显示区域上显示另一个应用程序的用户界面。It is understandable that when the user interface of two applications is displayed on the folding screen of the terminal device, if the user triggers the terminal device to close an application running in the foreground, the terminal device can display on the entire display area of the folded screen. The user interface of another application.
示例性的,示例性的,结合图4中的(b)所示的内容,在用户触发终端设备取消显示应用程序2的内容之后,如图8所示终端设备可以在屏A、屏B和屏C上跨屏显示应用程序1的用户界面。此时,应用程序2为第一应用程序。Exemplary, exemplary, combined with the content shown in Figure 4 (b), after the user triggers the terminal device to cancel the display of the content of the application 2, as shown in Figure 8, the terminal device can display screen A, screen B and The user interface of the application 1 is displayed across the screen on the screen C. At this time, application 2 is the first application.
可以理解的是,本公开实施例中,在折叠屏处于展开的屏的数量发生变化,和/或终端设备在折叠屏上待显示的内容的数量发生变化(如终端设备取消显示或者添加显示一个应用程序的内容)的情况下,终端设备均可以重新检测待显示的应用程序的第一参数和当前折叠屏中空闲的屏的数量,以重新在折叠屏上的不同显示区域上显示不同的内容。It is understandable that, in the embodiments of the present disclosure, the number of unfolded screens on the folding screen changes, and/or the number of content to be displayed on the folding screen of the terminal device changes (for example, the terminal device cancels the display or adds a display In the case of the content of the application), the terminal device can re-detect the first parameter of the application to be displayed and the number of idle screens in the current folding screen to display different content on different display areas on the folding screen. .
需要说明的是,本公开实施例提供的界面显示方法,由于终端设备设备可以实时地更新折叠屏上显示的内容,如更新一些应用程序的用户界面占用的显示区域,因此有利于进一步提高终端设备在折叠屏上显示内容的灵活性。It should be noted that, in the interface display method provided by the embodiments of the present disclosure, since the terminal device can update the content displayed on the folding screen in real time, such as updating the display area occupied by the user interface of some applications, it is beneficial to further improve the terminal device. Flexibility to display content on the folding screen.
如图9所示,为本公开实施例提供的可能的终端设备的结构示意图。图9示出的终端设备90包括折叠屏,终端设备90还包括:接收模块901和显示模块902;接收模块901,用于在通过折叠屏的第一显示区域和第二显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面的情况下,接收用户对折叠屏的展开操作;显示模块902,用于响应于接收模块901接收的展开操作,在第一应用程序的显示优先级高于第二应用程序的显示优先级的情况下,通过折叠屏的第三显示区域和第四显示区域分别显示第一应用程序 的用户界面和第二应用程序的用户界面;其中,第三显示区域的面积大于第一显示区域的面积。As shown in FIG. 9, it is a schematic structural diagram of a possible terminal device provided by an embodiment of the present disclosure. The terminal device 90 shown in FIG. 9 includes a folding screen. The terminal device 90 also includes: a receiving module 901 and a display module 902; the receiving module 901 is configured to display the first display area and the second display area through the folding screen. In the case of the user interface of the application program and the user interface of the second application program, the user's expansion operation of the folding screen is received; the display module 902 is configured to respond to the expansion operation received by the receiving module 901, and the display of the first application program is prioritized When the display priority of the second application is higher than the display priority of the second application, the user interface of the first application and the user interface of the second application are respectively displayed through the third display area and the fourth display area of the folding screen; The area of the display area is larger than the area of the first display area.
可选的,第一数值大于或等于第二数值;其中,第一数值为第三显示区域的面积与第一显示区域的面积的差值,第二数值为第四显示区域和第二显示区域的面积的差值。Optionally, the first value is greater than or equal to the second value; where the first value is the difference between the area of the third display area and the area of the first display area, and the second value is the fourth display area and the second display area The difference of the area.
可选的,第三显示区域的面积大于或等于第四显示区域的面积。Optionally, the area of the third display area is greater than or equal to the area of the fourth display area.
可选的,接收模块901,还用于显示模块902通过折叠屏的第三显示区域和第四显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面之后,接收用户对第一应用程序的目标操作;显示模块902,还用于响应于接收模块901接收的目标操作,取消在第三显示区域上显示的第一应用程序的用户界面,并更新折叠屏上显示的内容。Optionally, the receiving module 901 is further used for the display module 902 after displaying the user interface of the first application program and the user interface of the second application program through the third display area and the fourth display area of the folding screen, respectively, and then receive the user's first application A target operation of an application; the display module 902 is also used to respond to the target operation received by the receiving module 901, cancel the user interface of the first application displayed on the third display area, and update the content displayed on the folding screen.
可选的,显示模块902,具体用于在第三显示区域上显示第二应用程序的用户界面,并取消在第四显示区域上显示的第二应用程序的用户界面。Optionally, the display module 902 is specifically configured to display the user interface of the second application program on the third display area and cancel the user interface of the second application program displayed on the fourth display area.
可选的,显示模块902,还用于取消在第四显示区域上显示的第二应用程序的用户界面之后,在第四显示区域上显示预设内容。Optionally, the display module 902 is further configured to display preset content on the fourth display area after canceling the user interface of the second application program displayed on the fourth display area.
可选的,显示模块902,具体用于在第三显示区域和第四显示区域上展开显示第二应用程序的用户界面。Optionally, the display module 902 is specifically configured to expand and display the user interface of the second application on the third display area and the fourth display area.
可选的,第一应用程序和第二应用程序为n个应用程序中的应用程序,n个应用程序为终端设备90在接收展开操作之前,前台运行的应用程序,n个应用程序中每个应用程序的显示优先级根据预设的第一参数确定,第一参数用于指示一个应用程序对应的屏的数量,n为大于或等于2的整数;其中,应用程序对应的第一参数的数值越大,应用程序的显示优先级越高。Optionally, the first application and the second application are applications in n applications, and the n applications are applications running in the foreground before the terminal device 90 receives the unfolding operation. Each of the n applications The display priority of the application is determined according to the preset first parameter. The first parameter is used to indicate the number of screens corresponding to an application, and n is an integer greater than or equal to 2; among them, the value of the first parameter corresponding to the application The larger the value, the higher the display priority of the application.
可选的,n个应用程序中不同应用程序的用户界面位于不同的显示区域;其中,一个显示区域包括至少一个屏,或者,一个显示区域为一个屏中的部分区域。Optionally, the user interfaces of different applications in the n application programs are located in different display areas; among them, one display area includes at least one screen, or one display area is a partial area of one screen.
本公开实施例提供的终端设备,该终端设备包括折叠屏。具体的,在终端设备通过折叠屏的第一显示区域和第二显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面的情况下,可以接收用户对折叠屏的展开操作;并响应于该展开操作,在第一应用程序的显示优先级高于第二应用程序的显示优先级的情况下,通过折叠屏的第三显示区域和第四显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面。其中,第三显示区域的面积大于第一显示区域的面积。具体的,终端设备可以按照应用程序的显示优先级,使得折叠屏上展开的显示区域先满足显示优先级较高的应用程序,再满足显示优先级较低的应用程序,进而使得显示优先级较高的应用程序的用户界面可以占用折叠屏上面积较大的显示区域。此时,随着折叠屏的展开,显示优先级较高的应用程序的用户界面占用的显示区域的面积增大(如第一应用程序的显示区域由第一显示区域变为面积较大的第三显示区域),从而有利于提升显示优先级较高的应用程序的用户界面的显示效果。另外,可以实现在折叠屏的不同显示区域上显示不同应用程序的不同用户界面,而不是在展开后的折叠屏的全部区域上显示一个应用程序的用户界面,或者在展开后的折叠屏的不同显示区域上无差别地显示不同应用程序的不同用户界面。如此,可以解决折叠屏式的终端设备显示内容的方式不够灵活的问题,并实现终端设备在折叠屏上显示较多内容、且内容的显示效果较好。The terminal device provided by the embodiment of the present disclosure includes a folding screen. Specifically, in the case where the terminal device respectively displays the user interface of the first application program and the user interface of the second application program through the first display area and the second display area of the folding screen, the user's expansion operation of the folding screen may be received; And in response to the expansion operation, in the case where the display priority of the first application is higher than the display priority of the second application, the third display area and the fourth display area of the folding screen are respectively displayed for the first application The user interface and the user interface of the second application. Wherein, the area of the third display area is larger than the area of the first display area. Specifically, the terminal device may, according to the display priority of the application, make the display area expanded on the folding screen first meet the application with a higher display priority, and then meet the application with a lower display priority, so that the display priority is higher. The user interface of a tall application can occupy a larger display area on the folding screen. At this time, as the folding screen expands, the area of the display area occupied by the user interface of the application with higher display priority increases (for example, the display area of the first application changes from the first display area to the larger area). Three display areas), so as to help improve the display effect of the user interface of the application with a higher display priority. In addition, different user interfaces of different applications can be displayed on different display areas of the folding screen, instead of displaying the user interface of one application on the entire area of the expanded folding screen, or different in the expanded folding screen. Different user interfaces of different applications are displayed indiscriminately on the display area. In this way, it is possible to solve the problem of insufficient flexibility in the way of displaying content on the folding screen type terminal device, and realize that the terminal device can display more content on the folding screen and the display effect of the content is better.
本公开实施例提供的终端设备90能够实现上述方法实施例中终端设备实现的各个过 程,为避免重复,这里不再赘述。The terminal device 90 provided in the embodiment of the present disclosure can implement the various processes implemented by the terminal device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
图10为本公开实施例提供的一种终端设备的硬件结构示意图,该终端设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图10中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。10 is a schematic diagram of the hardware structure of a terminal device provided by an embodiment of the disclosure. The terminal 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. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 10 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than shown in the figure, or a combination of certain components, or different components Layout. In the embodiments of the present disclosure, terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminal devices, wearable devices, and pedometers.
其中,用户输入单元107,用于在通过折叠屏的第一显示区域和第二显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面的情况下,接收用户对折叠屏的展开操作;显示单元106,用于响应于接收模块901接收的展开操作,在第一应用程序的显示优先级高于第二应用程序的显示优先级的情况下,通过折叠屏的第三显示区域和第四显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面;其中,第三显示区域的面积大于第一显示区域的面积。Wherein, the user input unit 107 is configured to receive the user's feedback on the folding screen when the user interface of the first application and the user interface of the second application are respectively displayed through the first display area and the second display area of the folding screen. Expansion operation; the display unit 106, in response to the expansion operation received by the receiving module 901, through the third display area of the folding screen when the display priority of the first application is higher than the display priority of the second application And the fourth display area respectively display the user interface of the first application program and the user interface of the second application program; wherein the area of the third display area is larger than the area of the first display area.
本公开实施例提供的终端设备,该终端设备包括折叠屏。具体的,具体的,在终端设备通过折叠屏的第一显示区域和第二显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面的情况下,可以接收用户对折叠屏的展开操作;并响应于该展开操作,在第一应用程序的显示优先级高于第二应用程序的显示优先级的情况下,通过折叠屏的第三显示区域和第四显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面。其中,第三显示区域的面积大于第一显示区域的面积。具体的,终端设备可以按照应用程序的显示优先级,使得折叠屏上展开的显示区域先满足显示优先级较高的应用程序,再满足显示优先级较低的应用程序,进而使得显示优先级较高的应用程序的用户界面可以占用折叠屏上面积较大的显示区域。此时,随着折叠屏的展开,显示优先级较高的应用程序的用户界面占用的显示区域的面积增大(如第一应用程序的显示区域由第一显示区域变为面积较大的第三显示区域),从而有利于提升显示优先级较高的应用程序的用户界面的显示效果。另外,可以实现在折叠屏的不同显示区域上显示不同应用程序的不同用户界面,而不是在展开后的折叠屏的全部区域上显示一个应用程序的用户界面,或者在展开后的折叠屏的不同显示区域上无差别地显示不同应用程序的不同用户界面。如此,可以解决折叠屏式的终端设备显示内容的方式不够灵活的问题,并实现终端设备在折叠屏上显示较多内容、且内容的显示效果较好。The terminal device provided by the embodiment of the present disclosure includes a folding screen. Specifically, in a case where the terminal device respectively displays the user interface of the first application program and the user interface of the second application program through the first display area and the second display area of the folding screen, it may receive the user's feedback on the folding screen. Expanding operation; and in response to the expanding operation, in the case where the display priority of the first application is higher than the display priority of the second application, the third display area and the fourth display area of the folding screen respectively display the first The user interface of the application and the user interface of the second application. Wherein, the area of the third display area is larger than the area of the first display area. Specifically, the terminal device may, according to the display priority of the application, make the display area expanded on the folding screen first meet the application with a higher display priority, and then meet the application with a lower display priority, so that the display priority is higher. The user interface of a tall application can occupy a larger display area on the folding screen. At this time, as the folding screen expands, the area of the display area occupied by the user interface of the application with higher display priority increases (for example, the display area of the first application changes from the first display area to the larger area). Three display areas), so as to help improve the display effect of the user interface of the application with a higher display priority. In addition, different user interfaces of different applications can be displayed on different display areas of the folding screen, instead of displaying the user interface of one application on the entire area of the expanded folding screen, or different in the expanded folding screen. Different user interfaces of different applications are displayed indiscriminately on the display area. In this way, it is possible to solve the problem of insufficient flexibility in the way of displaying content on the folding screen type terminal device, and realize that the terminal device can display more content on the folding screen and the display effect of the content is better.
应理解的是,本公开实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, 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; Uplink data is sent to the base station. Generally, 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. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
终端设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal 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.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终 端设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。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 audio signals and output them as sounds. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。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 processor 1041 is configured to monitor 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.
终端设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, 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 terminal device 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。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 (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。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 terminal device. Specifically, 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 user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, 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. In addition, the touch panel 1071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, 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.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图10中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it is transmitted to the processor 110 to determine the type of the touch event. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 10, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the terminal 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 terminal device is not specifically limited here.
接口单元108为外部装置与终端设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡 端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备100内的一个或多个元件或者可以用于在终端设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device with the terminal device 100. For example, 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 terminal device 100 or can be used to connect to the terminal device 100 and external Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。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 (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, 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.
处理器110是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
终端设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 100 may also include a power source 111 (such as a battery) for supplying power to various components. Optionally, 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 through the power management system. Management and other functions.
另外,终端设备100包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 100 includes some functional modules not shown, which will not be repeated here.
可选的,本公开实施例还提供一种终端设备,包括处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述界面显示方法的实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides a terminal device, including a processor 110, a memory 109, a computer program stored in the memory 109 and capable of running on the processor 110, and the computer program is executed by the processor 110 Each process of the embodiment of the above interface display method is realized at a time, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述界面显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned interface display method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that 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.的实施方式。 Based on this understanding, the technical solution of the present disclosure 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 a number of instructions to enable a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present disclosure, many forms can be made without departing from the purpose of the present disclosure and the scope of protection of the claims, all of which fall within the protection of the present disclosure.

Claims (19)

  1. 一种界面显示方法,应用于包括折叠屏的终端设备,所述方法包括:An interface display method, applied to a terminal device including a folding screen, the method including:
    在通过所述折叠屏的第一显示区域和第二显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面的情况下,接收用户对所述折叠屏的展开操作;Receiving a user's unfolding operation of the folding screen in the case where the user interface of the first application program and the user interface of the second application program are respectively displayed through the first display area and the second display area of the folding screen;
    响应于所述展开操作,在所述第一应用程序的显示优先级高于所述第二应用程序的显示优先级的情况下,通过所述折叠屏的第三显示区域和第四显示区域分别显示所述第一应用程序的用户界面和所述第二应用程序的用户界面;In response to the expansion operation, in the case where the display priority of the first application is higher than the display priority of the second application, the third display area and the fourth display area of the folding screen are respectively Displaying the user interface of the first application program and the user interface of the second application program;
    其中,所述第三显示区域的面积大于所述第一显示区域的面积。Wherein, the area of the third display area is larger than the area of the first display area.
  2. 根据权利要求1所述的方法,其中,第一数值大于或等于第二数值;The method according to claim 1, wherein the first value is greater than or equal to the second value;
    其中,所述第一数值为所述第三显示区域的面积与所述第一显示区域的面积的差值,所述第二数值为所述第四显示区域和所述第二显示区域的面积的差值。Wherein, the first value is the difference between the area of the third display area and the area of the first display area, and the second value is the area of the fourth display area and the second display area The difference.
  3. 根据权利要求2所述的方法,其中,The method of claim 2, wherein:
    所述第三显示区域的面积大于或等于所述第四显示区域的面积。The area of the third display area is greater than or equal to the area of the fourth display area.
  4. 根据权利要求3所述的方法,其中,所述通过所述折叠屏的第三显示区域和第四显示区域分别显示所述第一应用程序的用户界面和所述第二应用程序的用户界面之后,所述方法还包括:The method according to claim 3, wherein after the user interface of the first application program and the user interface of the second application program are respectively displayed through the third display area and the fourth display area of the folding screen , The method further includes:
    接收用户对所述第一应用程序的目标操作;Receiving a user's target operation on the first application;
    响应于所述目标操作,取消在所述第三显示区域上显示的所述第一应用程序的用户界面,并更新所述折叠屏上显示的内容。In response to the target operation, cancel the user interface of the first application program displayed on the third display area, and update the content displayed on the folding screen.
  5. 根据权利要求4所述的方法,其中,所述更新所述折叠屏上显示的内容,包括:The method according to claim 4, wherein said updating the content displayed on the folding screen comprises:
    在所述第三显示区域上显示所述第二应用程序的用户界面,并取消在所述第四显示区域上显示的所述第二应用程序的用户界面。The user interface of the second application program is displayed on the third display area, and the user interface of the second application program displayed on the fourth display area is cancelled.
  6. 根据权利要求5所述的方法,其中,所述取消在所述第四显示区域上显示的所述第二应用程序的用户界面之后,所述方法还包括:The method according to claim 5, wherein after the canceling the user interface of the second application program displayed on the fourth display area, the method further comprises:
    在所述第四显示区域上显示预设内容。The preset content is displayed on the fourth display area.
  7. 根据权利要求4所述的方法,其中,所述更新所述折叠屏上显示的内容,包括:The method according to claim 4, wherein said updating the content displayed on the folding screen comprises:
    在所述第三显示区域和所述第四显示区域上展开显示所述第二应用程序的用户界面。Expand and display the user interface of the second application program on the third display area and the fourth display area.
  8. 根据权利要求1至7中任一项所述的方法,其中,所述第一应用程序和所述第二应用程序为n个应用程序中的应用程序,所述n个应用程序为所述终端设备在接收所述展开操作之前,前台运行的应用程序,所述n个应用程序中每个应用程序的显示优先级根据预设的第一参数确定,所述第一参数用于指示一个应用程序对应的屏的数量,n为大于或等于2的整数;The method according to any one of claims 1 to 7, wherein the first application and the second application are applications among n applications, and the n applications are the terminal Before the device receives the expansion operation, the application program running in the foreground, the display priority of each of the n applications is determined according to a preset first parameter, and the first parameter is used to indicate an application The number of corresponding screens, n is an integer greater than or equal to 2;
    其中,应用程序对应的第一参数的数值越大,应用程序的显示优先级越高。Among them, the larger the value of the first parameter corresponding to the application, the higher the display priority of the application.
  9. 根据权利要求8所述的方法,其中,所述n个应用程序中不同应用程序的用户界面位于不同的显示区域;The method according to claim 8, wherein the user interfaces of different applications among the n applications are located in different display areas;
    其中,一个显示区域包括至少一个屏,或者,一个显示区域为一个屏中的部分区域。Wherein, one display area includes at least one screen, or one display area is a part of one screen.
  10. 一种终端设备,所述终端设备包括折叠屏,所述终端设备还包括:接收模块 和显示模块;A terminal device, the terminal device includes a folding screen, the terminal device further includes: a receiving module and a display module;
    所述接收模块,用于在通过所述折叠屏的第一显示区域和第二显示区域分别显示第一应用程序的用户界面和第二应用程序的用户界面的情况下,接收用户对所述折叠屏的展开操作;The receiving module is configured to receive a user's request to the folding screen when the user interface of the first application program and the user interface of the second application program are respectively displayed through the first display area and the second display area of the folding screen. Expand operation of the screen;
    所述显示模块,用于响应于所述接收模块接收的所述展开操作,在所述第一应用程序的显示优先级高于所述第二应用程序的显示优先级的情况下,通过所述折叠屏的第三显示区域和第四显示区域分别显示所述第一应用程序的用户界面和所述第二应用程序的用户界面;The display module is configured to respond to the expansion operation received by the receiving module, in the case that the display priority of the first application is higher than the display priority of the second application, through the The third display area and the fourth display area of the folding screen respectively display the user interface of the first application program and the user interface of the second application program;
    其中,所述第三显示区域的面积大于所述第一显示区域的面积。Wherein, the area of the third display area is larger than the area of the first display area.
  11. 根据权利要求10所述的终端设备,其中,第一数值大于或等于第二数值;The terminal device according to claim 10, wherein the first value is greater than or equal to the second value;
    其中,所述第一数值为所述第三显示区域的面积与所述第一显示区域的面积的差值,所述第二数值为所述第四显示区域和所述第二显示区域的面积的差值。Wherein, the first value is the difference between the area of the third display area and the area of the first display area, and the second value is the area of the fourth display area and the second display area The difference.
  12. 根据权利要求11所述的终端设备,其中,The terminal device according to claim 11, wherein:
    所述第三显示区域的面积大于或等于所述第四显示区域的面积。The area of the third display area is greater than or equal to the area of the fourth display area.
  13. 根据权利要求12所述的终端设备,其特征在于,所述接收模块,还用于所述显示模块通过所述折叠屏的第三显示区域和第四显示区域分别显示所述第一应用程序的用户界面和所述第二应用程序的用户界面之后,接收用户对所述第一应用程序的目标操作;The terminal device according to claim 12, wherein the receiving module is further used for the display module to respectively display the information of the first application program through the third display area and the fourth display area of the folding screen. After the user interface and the user interface of the second application program, receiving a user's target operation on the first application program;
    所述显示模块,还用于响应于所述接收模块接收的所述目标操作,取消在所述第三显示区域上显示的所述第一应用程序的用户界面,并更新所述折叠屏上显示的内容。The display module is further configured to, in response to the target operation received by the receiving module, cancel the user interface of the first application program displayed on the third display area, and update the display on the folding screen Content.
  14. 根据权利要求13所述的终端设备,其中,The terminal device according to claim 13, wherein:
    所述显示模块,具体用于在所述第三显示区域上显示所述第二应用程序的用户界面,并取消在所述第四显示区域上显示的所述第二应用程序的用户界面。The display module is specifically configured to display the user interface of the second application program on the third display area, and cancel the user interface of the second application program displayed on the fourth display area.
  15. 根据权利要求14所述的终端设备,其中,The terminal device according to claim 14, wherein:
    所述显示模块,还用于取消在所述第四显示区域上显示的所述第二应用程序的用户界面之后,在所述第四显示区域上显示预设内容。The display module is further configured to display preset content on the fourth display area after canceling the user interface of the second application program displayed on the fourth display area.
  16. 根据权利要求13所述的终端设备,其中,The terminal device according to claim 13, wherein:
    所述显示模块,具体用于在所述第三显示区域和所述第四显示区域上展开显示所述第二应用程序的用户界面。The display module is specifically configured to expand and display the user interface of the second application program on the third display area and the fourth display area.
  17. 根据权利要求10至16中任一项所述的终端设备,其中,所述第一应用程序和所述第二应用程序为n个应用程序中的应用程序,所述n个应用程序为所述终端设备在接收所述展开操作之前,前台运行的应用程序,所述n个应用程序中每个应用程序的显示优先级根据预设的第一参数确定,所述第一参数用于指示一个应用程序对应的屏的数量,n为大于或等于2的整数;The terminal device according to any one of claims 10 to 16, wherein the first application and the second application are applications of n applications, and the n applications are the Before the terminal device receives the expansion operation, the application program running in the foreground, the display priority of each application program in the n applications is determined according to a preset first parameter, and the first parameter is used to indicate an application The number of screens corresponding to the program, n is an integer greater than or equal to 2;
    其中,应用程序对应的第一参数的数值越大,应用程序的显示优先级越高。Among them, the larger the value of the first parameter corresponding to the application, the higher the display priority of the application.
  18. 根据权利要求17所述的终端设备,其中,所述n个应用程序中不同应用程序的用户界面位于不同的显示区域;The terminal device according to claim 17, wherein the user interfaces of different applications among the n applications are located in different display areas;
    其中,一个显示区域包括至少一个屏,或者,一个显示区域为一个屏中的部分区域。Wherein, one display area includes at least one screen, or one display area is a part of one screen.
  19. 一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至9中任一项所述的界面显示方法的步骤。A terminal device, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program is executed by the processor to implement any of claims 1 to 9 One of the steps of the interface display method.
PCT/CN2020/075369 2019-03-28 2020-02-14 Interface display method and terminal device WO2020192296A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910245186.X 2019-03-28
CN201910245186.XA CN110058649A (en) 2019-03-28 2019-03-28 A kind of interface display method and terminal device

Publications (1)

Publication Number Publication Date
WO2020192296A1 true WO2020192296A1 (en) 2020-10-01

Family

ID=67317797

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/075369 WO2020192296A1 (en) 2019-03-28 2020-02-14 Interface display method and terminal device

Country Status (2)

Country Link
CN (1) CN110058649A (en)
WO (1) WO2020192296A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110058649A (en) * 2019-03-28 2019-07-26 维沃移动通信有限公司 A kind of interface display method and terminal device
CN110531903B (en) * 2019-07-31 2021-01-12 维沃移动通信有限公司 Screen display method, terminal device and storage medium
CN112698684A (en) * 2019-10-22 2021-04-23 北京小米移动软件有限公司 Screen display device, screen display control method, screen display control device, and storage medium
CN110825474B (en) * 2019-10-31 2023-03-31 维沃移动通信有限公司 Interface display method and device and electronic equipment
CN113076154B (en) * 2020-01-03 2023-09-05 华为技术有限公司 Method and device for splitting screen under multiple applications and electronic equipment
CN111371864A (en) * 2020-02-26 2020-07-03 维沃移动通信有限公司 Data transmission method and electronic equipment
CN113625905A (en) * 2020-05-07 2021-11-09 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090079664A1 (en) * 2005-03-02 2009-03-26 Nec Corporation Portable terminal
CN107499251A (en) * 2017-04-01 2017-12-22 宝沃汽车(中国)有限公司 The method, apparatus and vehicle shown for vehicle-carrying display screen
CN107526565A (en) * 2017-08-31 2017-12-29 珠海格力电器股份有限公司 A kind of interface display control method, mobile terminal
CN108200269A (en) * 2017-11-30 2018-06-22 努比亚技术有限公司 Display screen control management method, terminal and computer readable storage medium
CN108196804A (en) * 2017-12-28 2018-06-22 努比亚技术有限公司 Split screen method, terminal and computer storage media based on flexible screen
CN110058649A (en) * 2019-03-28 2019-07-26 维沃移动通信有限公司 A kind of interface display method and terminal device

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130024778A1 (en) * 2011-07-13 2013-01-24 Z124 Dynamic cross-environment application configuration/orientation
US20100058205A1 (en) * 2008-09-04 2010-03-04 Motorola, Inc. Reconfigurable multiple-screen display
WO2016035899A1 (en) * 2014-09-01 2016-03-10 엘지전자 주식회사 Display device for displaying multiple applications on flexible display and method for controlling the display device
WO2016052778A1 (en) * 2014-10-01 2016-04-07 엘지전자 주식회사 Portable device and method for controlling same
KR102649254B1 (en) * 2016-08-03 2024-03-20 삼성전자주식회사 Display control method, storage medium and electronic device
KR20180097356A (en) * 2017-02-23 2018-08-31 삼성전자주식회사 Out-foldable electronic apparatus and control method thereof
CN107577414A (en) * 2017-09-07 2018-01-12 广东欧珀移动通信有限公司 The method and mobile terminal of split screen display available
CN107613117A (en) * 2017-09-08 2018-01-19 维沃移动通信有限公司 A kind of interface display method and mobile terminal based on multitask
CN107957843B (en) * 2017-12-20 2020-01-07 维沃移动通信有限公司 Control method and mobile terminal
CN108196752B (en) * 2018-01-15 2023-04-07 维沃移动通信有限公司 Display method and terminal equipment
CN108874280B (en) * 2018-05-11 2021-08-31 努比亚技术有限公司 Screen division method, terminal and computer readable storage medium
CN108762709B (en) * 2018-05-31 2021-09-14 努比亚技术有限公司 Terminal control method, terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090079664A1 (en) * 2005-03-02 2009-03-26 Nec Corporation Portable terminal
CN107499251A (en) * 2017-04-01 2017-12-22 宝沃汽车(中国)有限公司 The method, apparatus and vehicle shown for vehicle-carrying display screen
CN107526565A (en) * 2017-08-31 2017-12-29 珠海格力电器股份有限公司 A kind of interface display control method, mobile terminal
CN108200269A (en) * 2017-11-30 2018-06-22 努比亚技术有限公司 Display screen control management method, terminal and computer readable storage medium
CN108196804A (en) * 2017-12-28 2018-06-22 努比亚技术有限公司 Split screen method, terminal and computer storage media based on flexible screen
CN110058649A (en) * 2019-03-28 2019-07-26 维沃移动通信有限公司 A kind of interface display method and terminal device

Also Published As

Publication number Publication date
CN110058649A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
WO2020192296A1 (en) Interface display method and terminal device
US11496835B2 (en) Speaker control method and mobile terminal
EP4145259A1 (en) Display control method and apparatus, and electronic device
WO2020186945A1 (en) Interface display method and terminal device
WO2020258929A1 (en) Folder interface switching method and terminal device
US20220004357A1 (en) Audio signal outputting method and terminal device
CN109614061B (en) Display method and terminal
US20210200398A1 (en) Information processing method and terminal
CN108762634B (en) Control method and terminal
US11658932B2 (en) Message sending method and terminal device
WO2020215932A1 (en) Method for displaying unread message and terminal device
CN109032486B (en) Display control method and terminal equipment
WO2020215950A1 (en) Interface display method and terminal device
US11392267B2 (en) Icon display control method and terminal
WO2020192297A1 (en) Screen interface switching method and terminal device
WO2020215982A1 (en) Desktop icon management method and terminal device
US20220043564A1 (en) Method for inputting content and terminal device
WO2021136330A1 (en) Bullet screen display control method and electronic device
WO2020181956A1 (en) Method for displaying application identifier, and terminal apparatus
WO2020181954A1 (en) Application program control method and terminal device
WO2020155980A1 (en) Control method and terminal device
WO2020220893A1 (en) Screenshot method and mobile terminal
WO2021031717A1 (en) Screen capturing method and terminal device
CN111026350A (en) Display control method and electronic equipment
WO2021017705A1 (en) Interface display method and terminal device

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

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

Country of ref document: EP

Kind code of ref document: A1