CN111949345A - Application display method and electronic equipment - Google Patents

Application display method and electronic equipment Download PDF

Info

Publication number
CN111949345A
CN111949345A CN201910996394.3A CN201910996394A CN111949345A CN 111949345 A CN111949345 A CN 111949345A CN 201910996394 A CN201910996394 A CN 201910996394A CN 111949345 A CN111949345 A CN 111949345A
Authority
CN
China
Prior art keywords
screen
interface
display
state
application
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201910996394.3A
Other languages
Chinese (zh)
Other versions
CN111949345B (en
Inventor
王波
文平
韩国辉
鞠华玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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
Priority to CN202310300314.2A priority Critical patent/CN116795465A/en
Priority to CN202310278189.XA priority patent/CN116382530A/en
Priority to CN202310298619.4A priority patent/CN116400991A/en
Priority to CN202310300201.2A priority patent/CN116414505A/en
Priority to CN202310305080.0A priority patent/CN116521290A/en
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202310311624.4A priority patent/CN116414506A/en
Priority to PCT/CN2020/090009 priority patent/WO2020228735A1/en
Publication of CN111949345A publication Critical patent/CN111949345A/en
Application granted granted Critical
Publication of CN111949345B publication Critical patent/CN111949345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Set Structure (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a method for displaying an application and electronic equipment, and relates to the technical field of electronics. The electronic equipment comprises a folding screen, wherein the folding screen can be folded to form at least two screens, the at least two screens comprise a first screen and a second screen, and the first screen and the second screen are opposite; the specific method comprises the following steps: the method comprises the steps that when the folding screen is in a folding state, the first screen is controlled to display a first interface of a first application; in response to the folding screen being changed from the folding state to the unfolding state, controlling a first display area of the folding screen to display a first interface, and controlling a second display area of the folding screen to display a second interface; the second display area is not overlapped with the first display area; the second interface is different from the first interface.

Description

Application display method and electronic equipment
The present application claims priority of chinese patent application entitled "a method for a foldable screen display application and an electronic device" filed by the national intellectual property office at 14/05/2019 under application number 201910398758.8, the entire contents of which are incorporated herein by reference.
Technical Field
The embodiment of the application relates to the technical field of electronics, in particular to a method for displaying an application and electronic equipment.
Background
With the continuous development of electronic devices, more and more electronic devices with display screens are widely used in daily life and work of people, such as mobile phones with display screens. Moreover, as the screen technology is developed, the display screen of the electronic device is also getting larger and larger, so that richer information is provided for the user, and better use experience is brought to the user.
However, the display screen of the electronic device is too large, which seriously affects its portability. Therefore, the folding screen electronic devices (such as folding screen mobile phones) proposed in recent years are the development direction of the electronic devices in the future.
Wherein the folding screen can be folded into at least two screens (e.g., a first screen and a second screen). After the folding screen is folded, the electronic device may display the interface of the application on one screen (e.g., the first screen). In general, the aspect ratio (i.e., aspect ratio) of the first panel of the folded panel is similar to that of a conventional unfolded panel, e.g., the aspect ratio may be a conventional ratio of 16:9, 18:9, 20:9, or 16: 10; most current applications are designed for non-folding screens, and the interface layout of the non-folding screen is matched with the interface layout of the non-folding screen. Therefore, after the folding screen is folded, the first screen can normally display each application interface. I.e. the folded screen (i.e. the first screen) is adapted to the interface layout of the application.
After the folded screen is unfolded, the display area of the folded screen comprises at least two screens, and the aspect ratio of the unfolded folded screen can be 1:1 or 16:18, and the like. At this point, the interface layout of the application cannot fit the unfolded folded screen. Therefore, when the electronic device displays the application interface on the unfolded folding screen, the interface layout may be disordered.
Disclosure of Invention
The embodiment of the application provides a method for displaying an application and an electronic device, and the electronic device can display an application interface on an expanded folding screen on the premise that the interface layout of the application is not changed.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, the present application provides a method for displaying an application, where the method may be applied to an electronic device including a folding screen. The folded screen is foldable to form at least two screens, including a first screen and a second screen. This folding screen is under fold condition, and first screen and second screen back of the body are mutually carried on the back. The method for displaying the application comprises the following steps: the method comprises the steps that when the folding screen is in a folding state, a first screen is controlled to display a first interface; and controlling a first display area of the folding screen to display a first interface and a second display area of the folding screen to display a second interface in response to the folding screen being changed from the folding state to the unfolding state. Wherein the second display area is not overlapped with the first display area. The second interface is different from the first interface.
The folding state is a state that an included angle between the first screen and the second screen is smaller than a preset angle threshold value; the unfolding state is a state that an included angle between the first screen and the second screen is larger than or equal to a preset angle threshold value. Or the folding state is a state that an included angle between the first screen and the second screen is smaller than or equal to a preset angle threshold value; the unfolding state is a state that an included angle between the first screen and the second screen is larger than a preset angle threshold value.
In the embodiment of the application, in response to the electronic device being converted from the folded state to the unfolded state, the foldable screen may display the first interface and the second interface in a dual-window mode, that is, the foldable screen simultaneously displays two interfaces in two display areas. Since the aspect ratio (i.e., aspect ratio) of the first and second panels of the folded panel is similar to that of a normal unfolded panel; thus, both the first screen and the second screen may adapt the interface layout of the launched application. Therefore, the electronic equipment can normally display the application interface without restarting the application in response to the operation of the user for unfolding the folding screen.
And the folding screen that expandes can show first interface and second interface simultaneously, can make the display content of folding screen abundanter like this, can promote the utilization ratio of folding screen to promote user's visual experience.
With reference to the first aspect, in one possible design, the electronic device may further be converted from the unfolded state to the folded state. The first screen may be controllable to display the first interface or the second interface in response to the foldable screen transitioning from the unfolded state to the folded state.
With reference to the first aspect, in another possible design manner, the first display area is a display area corresponding to the first screen, and the second display area is a display area corresponding to the second screen. Specifically, the folding screen is folded along a folding edge or a folding axis to form a first screen and a second screen. The first display area and the second display area use a folding edge or a folding shaft as a boundary, one side of the folding edge or the folding shaft on the folding screen is the first display area, and the other side of the folding edge or the folding shaft on the folding screen is the second display area. That is, with the folding edge of the folding screen as a boundary, when the user faces the unfolded folding screen, the left side of the folding edge on the folding screen is a first display area, and the right side of the folding edge on the folding screen is a second display area; or the right side of the folding edge on the folding screen is a first display area, and the left side of the folding edge on the folding screen is a second display area. Therefore, the method is more suitable for the use habit of most users on the folding screen electronic equipment.
With reference to the first aspect, in another possible design manner, the first display area and the second display area are pre-configured in the electronic device; alternatively, the first display region and the second display region are set in the electronic device by the user.
With reference to the first aspect, in another possible design manner, the first interface and the second interface are both interfaces of a first application. Wherein the second interface is a home page of the first application; or the second interface is an interface of a previous level of the first interface; alternatively, the second interface is an interface of a next hierarchy of the first interface.
The first interface may be a home page of the first application or not.
In the case that the first interface is not a home page of the first application, the second interface may be a home page of the first application; or, the second interface may be an interface of a previous level of the first interface in the interface of the first application; or, the second interface may be an interface corresponding to a previous entry of the entry corresponding to the first interface in the activity record of the first application.
In the case where the first interface is a home page of the first application, the second interface may be any interface of a next hierarchy of the first application; alternatively, the second interface may be any interface of the interfaces of the first application except for the home page; or, the second interface may be an interface corresponding to a previous entry of the entry corresponding to the first interface in the activity record of the first application.
And storing record items of all interfaces in the activity record of the first application according to the sequence of displaying all interfaces of the first application by the electronic equipment.
With reference to the first aspect, in another possible design manner, the first interface is an interface of a first application, and the second interface is an interface of a second application. The second application is different from the first application. The second application may be any of one or more applications that have been recently run and not closed by the electronic device in addition to the first application.
With reference to the first aspect, in another possible design manner, the method according to the embodiment of the present application may further include: the method comprises the steps that when the folding screen is in an unfolded state, a first operation of a user on a first interface displayed in a first display area is received, and the first operation is used for triggering the first display area to display a third interface; in response to the first operation, the first display area of the folding screen displays the third interface, and the interface displayed in the second display area is unchanged, namely the second display area still displays the second interface.
With reference to the first aspect, in another possible design manner, the method according to the embodiment of the present application may further include: receiving a second operation of a user on a second interface displayed in a second display area when the folding screen is in an unfolded state, wherein the second operation is used for triggering the second display area to display a fourth interface; and responding to the second operation, controlling the second display area of the folding screen to display the fourth interface, and keeping the interface displayed in the first display area unchanged, namely the first display area still displays the third interface.
To sum up, in the embodiment of the present application, when the first display area and the second display area of the foldable screen display different interfaces, the first display area and the second display area of the foldable screen may respectively receive and respond to an operation of a user.
In a second aspect, embodiments of the present application provide a method for displaying an application, which may be applied to an electronic device including a folding screen. The folded screen is foldable to form at least two screens, including a first screen and a second screen. When the folding screen is in a folding state, the first screen and the second screen are opposite, and the method for displaying the application comprises the following steps: the method comprises the steps that when the folding screen is in a folding state, a first screen is controlled to display a first interface; in response to the foldable screen being converted from the folded state to the unfolded state, the first display area and the second display area of the foldable screen as a whole centrally display the first interface; wherein the second display area is not overlapped with the first display area; the method comprises the steps that a first operation of a user on a first interface is received by a folding screen, and the first operation is used for triggering the folding screen to display a second interface; and responding to the first operation, controlling a first display area of the folding screen to display a first interface, and controlling a second display area to display a second interface. It should be noted that the folding screen according to the second aspect of the embodiment of the present application is an outer folding screen.
In the embodiment of the application, the first display area and the second display area of the folding screen are controlled to be displayed in the middle as a whole in response to the folding screen being changed from the folding state to the unfolding state. That is, in response to the folding screen being converted from the folded state to the unfolded state, the folding screen may be controlled to display the first interface in the single-window mode. The interface layout of the first interface is not changed, so that the electronic equipment can normally display the interface of the application without restarting the application.
Further, in response to a first operation of the user inputting the first interface displayed in the center to trigger the foldable screen to display the second interface, the foldable screen may display the first interface and the second interface in a dual window mode, that is, the foldable screen simultaneously displays two interfaces in two display areas. Since the aspect ratio (i.e., aspect ratio) of the first and second panels of the folded panel is similar to that of a normal unfolded panel; thus, both the first screen and the second screen may adapt the interface layout of the launched application. Therefore, the electronic equipment can normally display the application interface without restarting the application in response to the operation of the user for unfolding the folding screen.
And the folding screen that expandes can show first interface and second interface simultaneously, can make the display content of folding screen abundanter like this, can promote the utilization ratio of folding screen to promote user's visual experience.
It is noted that the first interface and the second interface described in the second aspect and any possible design thereof are interfaces of the same application (e.g. the first application).
With reference to the second aspect, in one possible design manner, the method of the embodiment of the present application may further include: and controlling the first screen to display the first interface or the second interface in response to the folding screen being changed from the unfolded state to the folded state.
With reference to the second aspect, in another possible design manner, the method according to the embodiment of the present application may further include: receiving a second operation of a user on a first interface displayed in the first display area when the folding screen is in an unfolded state, wherein the second operation is used for triggering the first display area to display a third interface; and responding to the first operation, controlling the first display area of the folding screen to display the third interface, and controlling the second display area to display the second interface.
With reference to the second aspect, in another possible design manner, the method according to the embodiment of the present application may further include: receiving a third operation of a user on a second interface displayed in a second display area when the folding screen is in an unfolded state, wherein the second operation is used for triggering the second display area to display a fourth interface; and responding to the third operation, controlling the second display area of the folding screen to display a fourth interface, and controlling the first display area to display a third interface.
In summary, in the embodiment of the present application, when the first display area and the second display area of the foldable screen display different interfaces, the first display area and the second display area may respectively receive and respond to the operation of the user.
In a third aspect, embodiments of the present application provide a method for displaying an application, where the method may be applied to an electronic device including a folding screen. The folded screen is foldable to form at least two screens, including a first screen and a second screen. The first screen and the second screen are opposite to each other when the folding screen is in the folding state. The back of the first screen is provided with a third screen. The method for displaying the application comprises the following steps: controlling a third screen to display a first interface when the folding screen is in a folding state; in response to the folding screen being changed from the folding state to the unfolding state, controlling a first display area of the folding screen to display a first interface, and controlling a second display area of the folding screen to display a second interface; wherein the second display area is not overlapped with the first display area. The second interface is different from the first interface.
It will be appreciated that since the folded screen is fully folded, the third screen is visible to the user, while the first and second screens are not visible to the user. Therefore, for an electronic device with such a folding screen, when the folding screen is in a folded state, an interface can be displayed on the third screen; when the folded screen is in the unfolded state, an interface can be displayed on the first screen and the second screen.
In the embodiment of the application, in response to the folding screen being changed from the folding state to the unfolding state, the third screen displays the first interface, and the first interface and the second interface are switched to be displayed on the first screen and the second screen in a double-window mode, that is, the folding screen simultaneously displays the two interfaces in the two display areas. Since the aspect ratio (i.e., aspect ratio) of the first and second panels of the folded panel is similar to that of a normal unfolded panel; thus, both the first screen and the second screen may adapt the interface layout of the launched application. Therefore, the electronic equipment can normally display the application interface without restarting the application in response to the operation of the user for unfolding the folding screen.
And the folding screen that expandes can show first interface and second interface simultaneously, can make the display content of folding screen abundanter like this, can promote the utilization ratio of folding screen to promote user's visual experience.
With reference to the third aspect, in one possible design manner, the third screen is controlled to display the first interface or the second interface in response to the foldable screen being converted from the unfolded state to the folded state. It can be understood that, after the folding screen is completely folded, the third screen is visible to the user, and the first screen and the second screen are invisible to the user; therefore, after the folding screen is converted from the unfolding state to the folding state, the third screen can display the first interface or the second interface.
It should be noted that, for the first interface and the second interface described in the third aspect and any possible design manner of the third aspect of the present application, reference may be made to the description of the second interface in the first aspect and any possible design manner of the first aspect, and details of the embodiment of the present application are not repeated herein.
With reference to the third aspect, in another possible design manner, the method according to the embodiment of the present application may further include: the method comprises the steps that when the folding screen is in an unfolded state, a first operation of a user on a first interface displayed in a first display area is received, and the first operation is used for triggering the first display area to display a third interface; and responding to the first operation, controlling the first display area of the folding screen to display the third interface, and keeping the interface displayed in the second display area unchanged, namely the second interface is still displayed in the second display area.
With reference to the third aspect, in another possible design manner, the method according to the embodiment of the present application may further include: receiving a second operation of a user on a second interface displayed in a second display area when the folding screen is in an unfolded state, wherein the second operation is used for triggering the second display area to display a fourth interface; and responding to the second operation, controlling the second display area of the folding screen to display the fourth interface, and keeping the interface displayed in the first display area unchanged, namely the first display area still displays the third interface.
In summary, in the embodiment of the present application, when the first display area and the second display area of the foldable screen display different interfaces, the first display area and the second display area of the foldable screen may respectively receive and respond to an operation of a user.
In a fourth aspect, embodiments of the present application provide an electronic device that includes a folding screen, a memory, and one or more processors. The folded screen is foldable to form at least two screens, including a first screen and a second screen. The first screen and the second screen are opposite to each other when the folding screen is in a folding state. The folding screen, the memory and the processor are coupled. The memory is for storing computer program code, the computer program code including computer instructions. When the processor executes the computer instructions, the electronic device performs: the processor is used for controlling the first screen to display a first interface when the folding screen is in a folding state; the processor is further used for controlling a first display area of the folding screen to display a first interface and a second display area of the folding screen to display a second interface in response to the folding screen being changed from the folding state to the unfolding state; wherein the second display area is not overlapped with the first display area; the second interface is different from the first interface.
With reference to the fourth aspect, in a possible design, the processor is further configured to control the first screen to display the first interface or the second interface in response to the foldable screen being converted from the unfolded state to the folded state.
It should be noted that, for the first interface and the second interface described in the fourth aspect and any possible design manner of the present application, reference may be made to the description of the second interface in the first aspect and any possible design manner of the first aspect, and details of the embodiment of the present application are not repeated here.
With reference to the fourth aspect, in another possible design manner, the processor is further configured to receive, when the foldable screen is in the unfolded state, a first operation of a user on a first interface displayed in the first display area, where the first operation is used to trigger the first display area to display a third interface; and the processor is also used for responding to the first operation and controlling the first display area of the folding screen to display the third interface, and the second display area to display the second interface.
With reference to the fourth aspect, in another possible design manner, the processor is further configured to receive, when the foldable screen is in the unfolded state, a second operation performed by the user on a second interface displayed in the second display area, where the second operation is used to trigger the second display area to display the fourth interface; and the processor is also used for responding to the second operation and controlling the second display area of the folding screen to display the fourth interface, and the first display area to display the third interface.
In a fifth aspect, embodiments of the present application provide an electronic device that includes a folding screen, a memory, and one or more processors. The folded screen is foldable to form at least two screens, including a first screen and a second screen. The first screen and the second screen are opposite to each other when the folding screen is in a folding state. The folding screen, the memory and the processor are coupled. The memory is for storing computer program code, the computer program code including computer instructions. When the processor executes the computer instructions, the electronic device performs: the processor is used for controlling the first screen to display a first interface when the folding screen is in a folding state; the processor is further used for responding to the folding screen from the folding state to the unfolding state, controlling the first display area and the second display area of the folding screen as a whole and displaying the first interface in the middle; wherein the second display area is not overlapped with the first display area; the processor is further used for receiving a first operation of a user on the first interface, wherein the first operation is used for triggering the folding screen to display the second interface; and the processor is also used for responding to the first operation and controlling the first display area of the folding screen to display the first interface and the second display area to display the second interface.
With reference to the fifth aspect, in a possible design, the processor is further configured to control the first screen to display the first interface or the second interface in response to the foldable screen being converted from the unfolded state to the folded state.
With reference to the fifth aspect, in another possible design manner, the processor is further configured to receive, when the foldable screen is in the unfolded state, a second operation performed by the user on the first interface displayed in the first display area, where the second operation is used to trigger the first display area to display a third interface; and the processor is also used for responding to the first operation and controlling the first display area of the folding screen to display the third interface, and the second display area to display the second interface.
With reference to the fifth aspect, in another possible design manner, the processor is further configured to receive, when the foldable screen is in the unfolded state, a third operation performed by a user on a second interface displayed in the second display area, where the second operation is used to trigger the second display area to display a fourth interface; and the processor is also used for responding to the third operation and controlling the second display area of the folding screen to display a fourth interface, and the first display area displays the third interface.
In a sixth aspect, embodiments of the present application provide an electronic device that includes a folding screen, a memory, and one or more processors. The folded screen is foldable to form at least two screens, including a first screen and a second screen. The first screen and the second screen are opposite to each other when the folding screen is in the folding state. A third screen is arranged on the back of the first screen; the folding screen, the third screen, the memory, and the processor are coupled. The memory is for storing computer program code comprising computer instructions which, when executed by the processor, the electronic device performs: the processor is used for controlling the third screen to display the first interface when the folding screen is in a folding state; the processor is further used for controlling a first display area of the folding screen to display a first interface and a second display area of the folding screen to display a second interface in response to the folding screen being changed from the folding state to the unfolding state; wherein the second display area is not overlapped with the first display area; the second interface is different from the first interface.
With reference to the sixth aspect, in a possible design, the processor is further configured to control the third screen to display the first interface or the second interface in response to the foldable screen being converted from the unfolded state to the folded state.
It should be noted that, for the first interface and the second interface described in the sixth aspect and any possible design manner of the sixth aspect of the present application, reference may be made to the description of the second interface in the third aspect and any possible design manner of the third aspect, and details of the embodiment of the present application are not repeated here.
It should be noted that, for the first display region, the second display region, the unfolded state and the folded state described in the second aspect to the sixth aspect and any one of the possible design manners of the present application, reference may be made to related descriptions in the first aspect and any one of the possible design manners of the first aspect, and details of the embodiments of the present application are not repeated here.
In a seventh aspect, an embodiment of the present application provides a method for displaying an application, where the method may be applied to an electronic device, and the method includes: the method comprises the steps that when a display screen of the electronic equipment is in a first state, the display screen is controlled to display a main interface of the electronic equipment, wherein the main interface comprises a first application icon; receiving a first operation of a user on an icon of a first application, wherein the first operation is used for triggering a display screen to display a first interface of the first application; and responding to the first operation, if the first interface is a preset home page of the first application, controlling a first display area of the display screen to display the first interface, and controlling a second display area of the display screen to display a second interface of the first application. The second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area.
Wherein the first state is a landscape state. Alternatively, the display screen is a folding screen and the first state is an unfolded state. The unfolding state is a state that an included angle between a first screen and a second screen of the folding screen is larger than or equal to a preset angle threshold value; the horizontal screen state is a state that the included angle between the long edge of the display screen and the horizontal plane is smaller than a preset value.
In the embodiment of the application, when the electronic device displays the main interface in the horizontal screen state or the expanded state, in response to a first operation of a user on an icon of the first application, it may be determined whether the first interface displayed by the electronic device is triggered by the first operation and is a preset main Page (i.e., main Page) of the first application. If the first interface is a main Page of the first application, the electronic device may display the main Page of the first application and a related Page (i.e., a related Page) configured in pair with the main Page in a dual window. So, the electronic equipment that is in horizontal screen state or expansion state then can show two interfaces of first application at the display screen simultaneous, can make the display content of display screen abundanter like this, can promote the utilization ratio of display screen to promote user's visual experience.
In an eighth aspect, an embodiment of the present application provides a method for displaying an application, where the method may be applied to an electronic device, and the method includes: the method comprises the steps that when a display screen of the electronic equipment is in a first state, the display screen is controlled to display a first interface of a first application; responding to the display screen to be changed from the first state to the second state, if the first interface is a preset home Page (i.e. main Page) of the first application, controlling a first display area of the display screen to display the first interface, and controlling a second display area of the display screen to display a second interface of the first application; wherein, the second interface is a related Page (i.e. a related Page) configured in pair with the preset homepage; the second display area is not overlapped with the first display area.
Wherein the first state is a vertical screen state and the second state is a horizontal screen state. The horizontal screen state is a state that an included angle between the long edge of the display screen and the horizontal plane is smaller than a preset value, and the vertical screen state is a state that the included angle between the long edge of the display screen and the horizontal plane is larger than or equal to the preset value. Or the display screen is a folding screen, the first state is a folding state, and the second state is an unfolding state; the unfolding state is a state that an included angle between a first screen and a second screen of the folding screen is larger than or equal to a preset angle threshold value, and the folding state is a state that the included angle between the first screen and the second screen is smaller than the preset angle threshold value.
In the embodiment of the application, the electronic device displays the first interface of the first application in the first state, and in response to the electronic device being changed from the first state to the second state, the electronic device may determine whether the first interface displayed by the electronic device is triggered by the first operation is a main Page of the first application. If the first interface is a main Page of the first application, the electronic device may display the main Page of the first application and a related Page configured in pair with the main Page in a dual window. So, the electronic equipment that is in horizontal screen state or expansion state then can show two interfaces of first application at the display screen simultaneous, can make the display content of display screen abundanter like this, can promote the utilization ratio of display screen to promote user's visual experience.
In a ninth aspect, embodiments of the present application provide a method for displaying an application, where the method may be applied to an electronic device. The display screen of the electronic equipment is in a horizontal screen state, and the horizontal screen state is a state that an included angle between a long edge of the display screen and a horizontal plane is smaller than a preset value. Or the display screen of the electronic device is a folding screen, the display screen is in an unfolding state, and the unfolding state is a state that an included angle between the first screen and the second screen of the folding screen is larger than or equal to a preset angle threshold value. The method can comprise the following steps: controlling the display screen to display an interface of a second application; receiving a first operation of a user on an interface of a second application, wherein the first operation is used for triggering a display screen to display a first interface of a first application; in response to the first operation, if the first interface is a preset home Page (i.e., main Page) of the first application, controlling the first display area of the display screen to display the first interface and controlling the second display area of the display screen to display the second interface of the first application. Wherein, the second interface is a related Page (i.e. a related Page) configured in pair with the preset homepage; the second display area is not overlapped with the first display area.
In the embodiment of the application, the electronic equipment displays an interface of a second application in a first state; in response to a first operation for triggering the electronic device to call the first application to display the first interface, the electronic device may determine whether the first interface displayed by the electronic device triggered by the first operation is a main Page of the first application. If the first interface is a main Page of the first application, the electronic device may display the main Page of the first application and a related Page configured in pair with the main Page in a dual window. So, the electronic equipment that is in horizontal screen state or expansion state then can show two interfaces of first application at the display screen simultaneous, can make the display content of display screen abundanter like this, can promote the utilization ratio of display screen to promote user's visual experience.
In a tenth aspect, embodiments of the present application provide a method for displaying an application, where the method may be applied to an electronic device. The display screen of the electronic equipment is in a horizontal screen state, and the horizontal screen state is a state that an included angle between a long edge of the display screen and a horizontal plane is smaller than a preset value. Or the display screen of the electronic device is a folding screen, the display screen is in an unfolding state, and the unfolding state is a state that an included angle between the first screen and the second screen of the folding screen is larger than or equal to a preset angle threshold value. The method can comprise the following steps: controlling a first display area of the display screen to display a first interface of a first application, and controlling a second display area of the display screen to display an interface of a second application; receiving a first operation of a user, wherein the first operation is used for triggering a display screen to quit displaying an interface of a second application and only displaying a first interface; in response to the first operation, if the first interface is a preset home Page (i.e., main Page) of the first application, controlling the first display area of the display screen to display the first interface and controlling the second display area of the display screen to display the second interface of the first application. Wherein, the second interface is a related Page (i.e. a related Page) configured in pair with the preset homepage; the second display area is not overlapped with the first display area.
In the embodiment of the application, the electronic equipment displays a first interface of a first application and an interface of a second application in a double window mode in a first state; in response to the first operation for triggering the electronic device to quit displaying the interface of the second application and only displaying the first interface, the electronic device may determine whether the first interface displayed by the electronic device triggered by the first operation is a main Page of the first application. If the first interface is a main Page of the first application, the electronic device may display the main Page of the first application and a related Page configured in pair with the main Page in a dual window. So, the electronic equipment that is in horizontal screen state or expansion state then can show two interfaces of first application at the display screen simultaneous, can make the display content of display screen abundanter like this, can promote the utilization ratio of display screen to promote user's visual experience.
With reference to any one of the seventh aspect to the tenth aspect, in a possible design manner, the preset home page is pre-configured in a configuration file of an installation package of the first application. Alternatively, the preset home page is a home page of the first application. Or the preset homepage is an interface meeting preset conditions in the plurality of interfaces of the first application, and the preset conditions are as follows: the method comprises the steps that preset interface features are included, the number of the preset interface features is larger than a preset number threshold, and the preset interface features comprise preset components or small programs.
With reference to any one of the seventh aspect to the tenth aspect, in another possible design manner, the related page is configured in a configuration file of an installation package of the first application in advance. Alternatively, the related page is an interface of the next level of the top page. The related page is set in the electronic device by the user.
With reference to any one of the seventh aspect to the tenth aspect, in another possible design manner, the method may further include: the display screen is in a first state or a second state, and a third interface of the first application is displayed; wherein, the first state is a horizontal screen state, and the second state is a vertical screen state; or the first state is an unfolded state and the second state is a folded state; receiving a preset gesture input by a user on a third interface, wherein the preset gesture is used for configuring a related page of the first application; and responding to the preset gesture, and configuring the third interface to be a related page of the first application.
With reference to any one of the seventh aspect to the tenth aspect, in another possible design manner, after controlling the first display area of the display screen to display the first interface and controlling the second display area of the display screen to display the second interface of the first application, the method may further include: responding to a second operation of the user on the first interface, wherein the second operation comprises a click operation on a Back key in a navigation bar of the electronic equipment, and controlling a display screen to display a main interface; wherein, in response to the second operation on the first interface, the electronic device does not run the first application in the background; responding to a second operation of the user on the second interface, and controlling the display screen to display the main interface; and responding to a second operation on the second interface, and the electronic equipment runs the first application in the background.
With reference to any one of the seventh aspect to the tenth aspect, in another possible design manner, after controlling the first display area of the display screen to display the first interface and controlling the second display area of the display screen to display the second interface of the first application, the method may further include: responding to a second operation of the user on the first interface or the second interface, wherein the second operation comprises clicking a Back key in a navigation bar of the electronic device to operate a display screen to display a main interface, and the electronic device runs the first application in a background in response to the second operation on the first interface.
In an eleventh aspect, embodiments of the present application provide an electronic device that includes a display screen, a memory, and one or more processors. The display screen, the memory and the processor are coupled. The memory is for storing computer program code, the computer program code including computer instructions. When the processor executes the computer instructions, the electronic device performs the following operations: and the processor is used for controlling the display screen to display the main interface of the electronic equipment when the display screen is in the first state. The primary interface includes an icon of a first application. The processor is further used for receiving a first operation of a user on an icon of the first application, wherein the first operation is used for triggering the display screen to display a first interface of the first application; the processor is further used for responding to the first operation, controlling a first display area of the display screen to display a first interface and controlling a second display area of the display screen to display a second interface of the first application if the first interface is a preset home page of the first application; the second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area;
It should be noted that, for the detailed description of the first state, the horizontal screen state, and the expanded state in the eleventh aspect, and the beneficial effects that the electronic device can achieve, reference may be made to the detailed description in the seventh aspect, and details of the embodiment of the present application are not repeated here.
In a twelfth aspect, embodiments of the present application provide an electronic device that includes a display screen, a memory, and one or more processors. The display screen, the memory and the processor are coupled; the memory is for storing computer program code, the computer program code including computer instructions. When the processor executes the computer instructions, the electronic device performs the following operations: and the processor is used for controlling the display screen to display the first interface of the first application when the display screen is in the first state. And the processor is also used for responding to the display screen to be changed from the first state to the second state, controlling the first display area of the display screen to display the first interface and controlling the second display area of the display screen to display the second interface of the first application if the first interface is the preset home page of the first application. The second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area.
It should be noted that, for the detailed description of the first state, the second state, the horizontal screen state, the vertical screen state, the folded state, and the unfolded state in the twelfth aspect, and the beneficial effects that the electronic device can achieve, reference may be made to the detailed description in the eighth aspect, and details of the embodiment of the present application are not repeated here.
In a thirteenth aspect, embodiments of the present application provide an electronic device that includes a display screen, a memory, and one or more processors. The display screen, the memory and the processor are coupled. The display screen of the electronic equipment is in a horizontal screen state or an unfolded state. The memory is for storing computer program code, the computer program code including computer instructions. When the processor executes the computer instructions, the electronic device performs the following operations: and the processor is used for controlling the display screen to display the interface of the second application. And the processor is further used for receiving a first operation of the user on the interface of the second application, wherein the first operation is used for triggering the display screen to display the first interface of the first application. And the processor is also used for responding to the first operation, controlling the first display area of the display screen to display the first interface and controlling the second display area of the display screen to display the second interface of the first application if the first interface is the preset home page of the first application. The second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area.
It should be noted that, for the detailed description of the landscape state and the unfolded state in the thirteenth aspect, reference may be made to the detailed description in the ninth aspect and the beneficial effects that the electronic device can achieve, and details are not repeated herein in this embodiment of the application.
In a fourteenth aspect, an embodiment of the present application provides an electronic device including a display screen, a memory, and one or more processors. The display screen, the memory and the processor are coupled. The display screen of the electronic equipment is in a horizontal screen state or an unfolded state. The memory is for storing computer program code, the computer program code including computer instructions. When the processor executes the computer instructions, the electronic device performs the following operations: and the processor is used for controlling the first display area of the display screen to display the first interface of the first application and controlling the second display area of the display screen to display the interface of the second application. And the processor is also used for receiving a first operation of a user, wherein the first operation is used for triggering the display screen to quit displaying the interface of the second application and only displaying the first interface. And the processor is also used for responding to the first operation, controlling the first display area of the display screen to display the first interface and controlling the second display area of the display screen to display the second interface of the first application if the first interface is the preset home page of the first application. The second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area.
It should be noted that, for the detailed description of the landscape state and the unfolded state in the fourteenth aspect, reference may be made to the detailed description in the tenth aspect and the beneficial effects that can be achieved by the electronic device, and details are not repeated here in the embodiments of the present application.
For detailed description of the preset home page and the related pages in any one of the eleventh to fourteenth aspects, reference may be made to the description in any one of the possible design manners in the seventh to tenth aspects, and details of embodiments of the present application are not repeated herein.
With reference to any one of the eleventh aspect to the fourteenth aspect, in a possible design manner, the processor is further configured to control the display screen to display a third interface of the first application when the display screen is in the first state or the second state. And the processor is further used for receiving a preset gesture input by a user on the third interface, wherein the preset gesture is used for configuring a related page of the first application. And the processor is also used for responding to the preset gesture and configuring the third interface to be a related page of the first application.
With reference to any one of the eleventh aspect to the fourteenth aspect, in another possible design manner, the processor is further configured to control the display screen to display the main interface in response to a second operation of the user on the first interface or the second interface after the first interface is displayed on the first display area of the control display screen and the second interface is displayed on the second display area of the control display screen.
The second operation comprises clicking operation of a Back key in a navigation bar of the electronic equipment. In response to the second operation on the first interface, the processor does not run the first application in the background. In response to a second operation on the second interface, the processor runs the first application in the background.
With reference to any one of the eleventh aspect to the fourteenth aspect, in another possible design manner, the processor is further configured to control the display screen to display the main interface in response to a second operation of the user on the first interface or the second interface after the first interface is displayed on the first display area of the control display screen and the second interface is displayed on the second display area of the control display screen. Wherein, in response to the second operation, the processor runs the first application in the background. The second operation comprises clicking operation of a Back key in a navigation bar of the electronic device.
In a fifteenth aspect, an embodiment of the present application provides an apparatus for displaying an application, where the apparatus may be applied to an electronic device including a foldable screen, and the apparatus is configured to perform the method according to the first, second, third, seventh, eighth, ninth, or tenth aspects and any possible design manner thereof.
In a sixteenth aspect, an embodiment of the present application provides a chip system, where the chip system is applied to an electronic device including a foldable screen. The system-on-chip includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line. The interface circuit is configured to receive a signal from a memory of the electronic device and to transmit the signal to the processor, the signal including computer instructions stored in the memory. When executed by a processor, the computer instructions cause an electronic device to perform the method of the first, second, third, seventh, eighth, ninth, or tenth aspect, or any of its possible designs.
In a seventeenth aspect, embodiments of the present application provide a computer storage medium including computer instructions, which, when run on an electronic device, cause the electronic device to perform the method according to the first, second, third, seventh, eighth, ninth, or tenth aspect and any possible design thereof.
In an eighteenth aspect, embodiments of the present application provide a computer program product, which when run on a computer, causes the computer to perform the method as set forth in the first, second, third, seventh, eighth, ninth or tenth aspect and any possible design thereof.
It should be understood that, for the electronic device according to any one of the fourth, fifth, sixth, eleventh to fourteenth aspects and any possible design manner thereof, the apparatus according to the fifteenth aspect, the chip system according to the sixteenth aspect, the computer storage medium according to the seventeenth aspect, and the computer program product according to the eighteenth aspect, reference may be made to the advantageous effects of the first, second, third, seventh, eighth, ninth, or tenth aspect and any possible design manner thereof, and no further description is provided herein.
Drawings
Fig. 1 is a schematic view of a folding screen according to an embodiment of the present disclosure;
fig. 2 is a schematic view of another foldable screen provided in the embodiment of the present application;
FIG. 3 is a diagram illustrating an example of a prior art foldable screen display application interface;
fig. 4 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 5A is a schematic diagram illustrating a principle of calculating an included angle α between a screen a and a screen B according to an embodiment of the present application;
fig. 5B is a schematic diagram of an example of a geographic coordinate system according to an embodiment of the present disclosure;
Fig. 6 is a schematic diagram illustrating an example software architecture of an electronic device according to an embodiment of the present application;
FIG. 7 is a flowchart of a method for displaying an application according to an embodiment of the present application;
FIG. 8 is a schematic diagram illustrating an example of an application interface displayed on a folding screen according to an embodiment of the present application;
FIG. 9 is a schematic diagram of an example of an application interface of another foldable screen display provided in an embodiment of the present application;
fig. 10A is a schematic diagram illustrating an example of a display area according to an embodiment of the present disclosure;
FIG. 10B is a schematic diagram illustrating an example of an application interface of another foldable screen display according to an embodiment of the present application;
FIG. 11 is a schematic diagram illustrating an example of an application interface of another foldable screen display provided in an embodiment of the present application;
fig. 12 is a schematic diagram illustrating an example of a first record stack according to an embodiment of the present application;
FIG. 13 is a schematic diagram of an example of an application interface of another foldable screen display provided in an embodiment of the present application;
FIG. 14 is a schematic diagram of an example of another application interface provided by embodiments of the present application;
FIG. 15 is a schematic diagram illustrating an example of an application interface of another foldable screen display provided in an embodiment of the present application;
FIG. 16 is a schematic diagram of an example of an application interface of another foldable screen display provided in an embodiment of the present application;
FIG. 17 is a schematic diagram of an example of an application interface of another foldable screen display provided in an embodiment of the present application;
FIG. 18 is a schematic diagram of an example of an application interface of another foldable screen display provided in an embodiment of the present application;
fig. 19 is a schematic view of an example of a setting interface of a display area according to an embodiment of the present application;
fig. 20 is a schematic view of an example of a setting interface of a display area according to an embodiment of the present disclosure;
fig. 21 is a schematic view of an example of a setting interface of a display area according to an embodiment of the present application;
FIG. 22A is a schematic diagram illustrating an example of an application interface of another foldable screen display provided in an embodiment of the present application;
FIG. 22B is a schematic diagram illustrating an example of an application interface displayed on a non-folding screen according to an embodiment of the present application;
fig. 23A is a schematic diagram illustrating an example software architecture of another electronic device according to an embodiment of the present application;
fig. 23B is a schematic diagram illustrating a calling principle of a preset page and a related page according to an embodiment of the present application;
FIG. 24 is a schematic diagram of a landscape screen state and a portrait screen state provided by an embodiment of the present application;
FIG. 25 is a flow chart of another method for displaying an application provided by an embodiment of the present application;
FIG. 26 is a schematic diagram illustrating an example of an application interface displayed on an electronic device in a landscape state according to an embodiment of the present application;
FIG. 27 is a schematic diagram illustrating an example application interface displayed on a folding screen in an unfolded state according to an embodiment of the present application;
FIG. 28 is a flowchart of another method for displaying an application according to an embodiment of the present application;
fig. 29 is a schematic diagram illustrating an example of an application interface displayed on an electronic device in a portrait screen state to a landscape screen state according to an embodiment of the present application;
FIG. 30 is a schematic diagram illustrating an example of an application interface displayed on a foldable screen for transforming from a folded state to an unfolded state according to an embodiment of the present application;
FIG. 31A is a flowchart of another method for displaying an application according to an embodiment of the present application;
fig. 31B is a schematic diagram of an example of an application interface displayed on a folding screen in an unfolded state according to an embodiment of the present application;
FIG. 32 is a flow chart of another method for displaying an application provided by an embodiment of the present application;
FIG. 33 is a schematic diagram illustrating an example application interface of a folding screen display in an unfolded state according to an embodiment of the present application;
FIG. 34A is a block flow diagram of a method for displaying an application according to an embodiment of the present application;
FIG. 34B is a schematic block diagram illustrating a method for displaying an application according to an embodiment of the present disclosure;
FIG. 35 is a schematic diagram illustrating an example application interface displayed on a folding screen in an unfolded state according to an embodiment of the present application;
FIG. 36 is a schematic diagram illustrating an example of an interface for setting up a related page of an application according to an embodiment of the present application;
FIG. 37 is a diagram illustrating an example interface for another related page of a setup application according to an embodiment of the present application;
FIG. 38 is a schematic diagram illustrating an example interface of another related page of a setup application according to an embodiment of the present application;
fig. 39 is a schematic diagram of a chip system according to an embodiment of the present application.
Detailed Description
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
The embodiment of the application provides a method for displaying an application, and the method can be applied to electronic equipment with a folding screen. The folded screen is foldable to form at least two screens. For example, the folded screen may be folded along a folding edge or folding axis to form the first screen and the second screen. I.e. the at least two screens comprise a first screen and a second screen.
The folding screens in the embodiments of the present application can be classified into two types. The first type is folding screens folded outwards (called as outwards folded screens for short), and the second type is folding screens folded inwards (called as inwards folded screens for short). In this case, the foldable screen may be folded to form the first screen and the second screen. The first screen and the second screen are opposite to each other after the folding screen is folded. The first screen and the second screen are opposite after the inward folding screen is folded.
For example, please refer to fig. 1, which shows a product form diagram of an electronic device 100 with a folding screen according to an embodiment of the present application. Fig. 1 (a) is a schematic view of the folded-out screen in a fully unfolded state. The folded-out screen can be folded along the folded edge in the directions 101a and 101B shown in fig. 1 (a), and can form a screen a (i.e., a first screen) and a screen B (i.e., a second screen) shown in fig. 1 (B). The folded-out screen may be folded further along the folding edges in the directions 102a and 102b as shown in fig. 1 (b), to form an everted screen in the folded state as shown in fig. 1 (c). As shown in fig. 1 (c), when the folding screen of the electronic device 100 is completely folded, the a screen and the B screen are opposite to each other and visible to the user.
It is understood that for an electronic device having a fold-out folding screen, an interface may be displayed on the first screen or the second screen when the folding screen is in a folded state; when the folded screen is in the unfolded state, an interface can be displayed on the first screen and the second screen. For the description of the unfolding state and the folding state of the folding screen, reference may be made to the description in the following embodiments, which are not repeated herein.
For another example, please refer to fig. 2, which shows a product form diagram of an electronic device 100 with a foldable screen folded inwards according to an embodiment of the present application. Fig. 2 (a) is a schematic view of the fully unfolded folded-in screen. The folded-in screen can be folded along the folding edge in the directions 201a and 201B as shown in fig. 2 (a), and can form a screen a (i.e., a first screen) and a screen B (i.e., a second screen) as shown in fig. 2 (B). The fold-in screen may be folded along the folding edges, continuing in the directions 202a and 202b as shown in fig. 2 (b), to form an fold-out screen in the folded state as shown in fig. 2 (c). As shown in fig. 2 (c), when the folding screen of the electronic device 100 is completely folded, the a screen and the B screen are opposite and invisible to the user. After the folded-in folding screen is completely folded, the a screen is opposite to the B screen, and a black line 203 shown in (c) of fig. 2 is a line on a contact surface of the a screen and the B screen.
It should be noted that a display screen, which may be referred to as a third screen, may also be disposed on the back of the first screen or the second screen of the fold-in folding screen provided in the embodiment of the present application. For example, as shown in fig. 2 (b), a C screen (i.e., a third screen) may be provided on the back of the a screen (i.e., the first screen). As shown in fig. 2 (C), after the fold-in folding screen is completely folded, the C screen is opposite and visible to the user. It is understood that for an electronic device having such a fold-in folding screen, an interface may be displayed on the third screen when the folding screen is in the folded state; when the folded screen is in the unfolded state, an interface can be displayed on the first screen and the second screen.
Generally, the angle α between the first and second panels of the folding screen (including the inward-folding screen and the outward-folding screen) is in the range of [0 °, 180 ° ]. In the embodiment of the application, if alpha is ∈ [0 °, P ], the electronic device can determine that the folding screen is in a folding state; if α ∈ (P, 180 ° ], the electronic device may determine that the folded screen is in the unfolded state, or, if α ∈ [0 °, P ], the electronic device may determine that the folded screen is in the folded state; if α ∈ [ P, 180 ° ], the electronic device may determine that the folded screen is in the unfolded state. Where P is a preset angle threshold. P may be determined according to the usage habit of a large number of users using the folding screen; alternatively, P may be set in the electronic device by the user.
In some embodiments, when the angle α between the first screen and the second screen is greater than 90 °, the probability that the user wants to use the first screen and the second screen as a whole (i.e., as a complete display screen) is high according to the usage habit of most users. Therefore, the preset angle threshold P in the embodiment of the present application may be greater than 90 °. The value range of the preset angle threshold P may be (90 °, 180 °). For example, the preset angle threshold P may be 100 °, 120 °, 135 °, 140 °, 145 °, 150 °, or the like.
It should be noted that, at least two screens formed by folding the folding screens (including the inward folding screen and the outward folding screen) in the embodiment of the present application may be multiple screens that exist independently, or may be a complete screen of an integrated structure, and only are folded to form at least two parts.
For example, the folded screen may be a flexible folded screen. The flexible folding screen comprises a folding edge made of flexible materials. Part or all of the flexible folding screen is made of flexible materials. At least two screens formed by folding the flexible folding screen are a whole screen of an integral structure, and only the flexible folding screen is folded to form at least two parts.
For another example, the folding screen may be a multi-screen folding screen. The multi-screen folding screen may include a plurality (two or more) of screens. The plurality of screens are a plurality of individual display screens. The plurality of screens may be connected in turn by a folding shaft. Each screen can rotate around a folding shaft connected with the screen, and folding of the multi-screen folding screen is achieved.
In fig. 1 and fig. 2, the foldable screen in the embodiment of the present application is described by taking the foldable screen as an example. In addition, in the following embodiments of the present application, the method provided in the embodiments of the present application is also described by taking the foldable screen as a flexible foldable screen as an example.
The problem that when an application interface is displayed on a folding screen in an unfolded state of an electronic device is solved, interface layout is possibly disordered. In some solutions, the electronic device may display the application interface in a partial area of the unfolded folding screen without changing the interface layout of the application. For example, the electronic device 100 may display a home page 301 of a "Taobao" application in the display manner shown in FIG. 3. As shown in fig. 3, the home page of the "pan and bao" application is displayed in the left half area of the folding screen.
Although the display mode shown in fig. 3 is adopted, when the application interface is displayed on the unfolded folding screen, the interface layout of the application is not required to be adapted to the unfolded folding screen, and the disorder of the interface layout can be avoided. However, the display area of the unfolded folding screen is large, and the display area occupied by the application interface is small, so that the display content of the folding screen is single, and the display area of the folding screen cannot be fully utilized. And, it also affects the visual experience of the user.
In other solutions, some applications may design multiple interface layouts. For example, application 1 may include: an interface layout adapted to a display screen having an aspect ratio of 18:9, and an interface layout adapted to a display screen having an aspect ratio of 1: 1. However, when the application switches the interface layout, the application needs to be restarted. For example, assume that when the folded screen is folded, the first screen has an aspect ratio of 18:9 and the unfolded folded screen has an aspect ratio of 1: 1. When the folding screen is folded, the first screen displays the interface 1 of the application 1 (not the application 1 is the home page), and the interface layout of the application 1 is matched with the aspect ratio of 18: 9. In response to the operation of the user to unfold the folding screen, the electronic device needs to restart the application 1, so that the interface layout of the application 1 can be adapted to the aspect ratio 1: 1. After the application is restarted, the electronic device displays the home page of the application, but the interface (such as interface 1) displayed by the electronic device when the foldable screen is folded affects the user experience.
In order to solve the above problem, embodiments of the present application provide a method for displaying an application. Take the above-mentioned folding screen of external folding as an example. When the folding screen is in a folding state, the first screen can display a first interface of the first application; in response to a user's operation of unfolding the foldable screen (i.e., the foldable screen is converted from the folded state to the unfolded state), a first display area (e.g., a display area corresponding to the first screen) of the foldable screen may display the first interface, and a second display area (e.g., a display area corresponding to the second screen) of the foldable screen may display the second interface. The second interface may be an interface of the first application, or may be an interface of another application.
It will be appreciated that since the aspect ratio (i.e. aspect ratio) of the first and second panels of the folded screen is similar to that of a conventional unfolded screen; thus, both the first screen and the second screen may adapt the interface layout of the launched application. Therefore, the electronic equipment can normally display the application interface without restarting the application in response to the operation of the user for unfolding the folding screen.
And the folding screen that expandes can show first interface and second interface simultaneously, can make the display content of folding screen abundanter like this, can promote the utilization ratio of folding screen to promote user's visual experience.
For example, the electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, and the like including the above-mentioned folding screen, and the embodiment of the present application does not particularly limit the specific form of the electronic device.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Please refer to fig. 4, which is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure. As shown in fig. 4, the electronic device 100 may include a processor 410, an external memory interface 420, an internal memory 421, a Universal Serial Bus (USB) interface 430, a charging management module 440, a power management module 441, a battery 442, an antenna 1, an antenna 2, a mobile communication module 450, a wireless communication module 460, an audio module 470, a speaker 470A, a receiver 470B, a microphone 470C, an earphone interface 470D, a sensor module 480, keys 490, a motor 491, an indicator 492, a camera 493, a display screen 494, a Subscriber Identification Module (SIM) card interface 495, and the like. Among them, the sensor module 480 may include a pressure sensor 480A, a gyro sensor 480B, an air pressure sensor 480C, a magnetic sensor 480D, an acceleration sensor 480E, a distance sensor 480F, a proximity light sensor 480G, a fingerprint sensor 480H, a temperature sensor 480J, a touch sensor 480K, an ambient light sensor 480L, a bone conduction sensor 480M, and the like.
It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the electronic apparatus 100. In other embodiments, electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 410 may include one or more processing units, such as: the processor 410 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 410 for storing instructions and data. In some embodiments, the memory in the processor 410 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 410. If the processor 410 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 410, thereby increasing the efficiency of the system.
In some embodiments, processor 410 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the interface connection relationship between the modules illustrated in the present embodiment is only an exemplary illustration, and does not limit the structure of the electronic device 100. In other embodiments, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 440 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 440 may receive charging input from a wired charger via the USB interface 430. In some wireless charging embodiments, the charging management module 440 may receive a wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 440 charges the battery 442, the power management module 441 may also supply power to the electronic device.
The power management module 441 is used to connect the battery 442, the charging management module 440 and the processor 410. The power management module 441 receives input from the battery 442 and/or the charging management module 440 and provides power to the processor 410, the internal memory 421, the external memory, the display 494, the camera 493, the wireless communication module 460, and the like. The power management module 441 may also be used to monitor parameters such as battery capacity, battery cycle number, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 441 may be disposed in the processor 410. In other embodiments, the power management module 441 and the charging management module 440 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 450, the wireless communication module 460, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 450 may provide a solution including 2G/3G/4G/5G wireless communication applied on the electronic device 100. The mobile communication module 450 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 450 may receive the electromagnetic wave from the antenna 1, and filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 450 can also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 450 may be disposed in the processor 410. In some embodiments, at least some of the functional blocks of the mobile communication module 450 may be disposed in the same device as at least some of the blocks of the processor 410.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 470A, the receiver 470B, etc.) or displays images or video through the display screen 494. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 410, and may be located in the same device as the mobile communication module 450 or other functional modules.
The wireless communication module 460 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 460 may be one or more devices integrating at least one communication processing module. The wireless communication module 460 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 410. The wireless communication module 460 may also receive a signal to be transmitted from the processor 410, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 450 and antenna 2 is coupled to wireless communication module 460, such that electronic device 100 may communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 494, and the application processor, among other things. The GPU is an image processing microprocessor connected to a display screen 494 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 410 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 494 is used to display images, videos, and the like. The display screen 494 is the fold-out screen described above. Alternatively, the display screen 494 may include the above-described fold-in folding screen that can be folded to form a first screen (e.g., an a screen shown in (B) of fig. 2) and a second screen (e.g., a B screen shown in (B) of fig. 2), and a third screen (e.g., a C screen shown in (C) of fig. 2).
The display screen 494 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like.
The electronic device 100 may implement a shooting function through the ISP, the camera 493, the video codec, the GPU, the display screen 494, the application processor, and the like.
The ISP is used to process the data fed back by the camera 493. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 493.
The camera 493 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 493, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 420 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 410 through the external memory interface 420 to implement data storage functions. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 421 may be used to store computer-executable program code, including instructions. The processor 410 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 421. For example, in this embodiment, the processor 410 may display the corresponding display content on the display screen 484 (i.e., the folding screen) in response to a first operation or a second operation of the user on the display screen 494 (i.e., the folding screen) by executing instructions stored in the internal memory 421. The internal memory 421 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 421 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
Electronic device 100 may implement audio functions via audio module 470, speaker 470A, microphone 470C, headset interface 470D, and an application processor, among others. Such as music playing, recording, etc.
The audio module 470 is used to convert digital audio information into an analog audio signal output and also used to convert an analog audio input into a digital audio signal. The audio module 470 may also be used to encode and decode audio signals. In some embodiments, the audio module 470 may be disposed in the processor 410, or some functional modules of the audio module 470 may be disposed in the processor 410. The speaker 470A, also called a "horn", is used to convert the audio electrical signals into sound signals. The electronic device 100 can listen to music through the speaker 470A or listen to a hands-free call. The receiver 470B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 470B close to the ear of the person. The microphone 470C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When a call is placed or a voice message is sent or it is desired to trigger the electronic device 100 to perform some function by the voice assistant, the user may speak via his/her mouth near the microphone 470C and input a voice signal into the microphone 470C. The electronic device 100 may be provided with at least one microphone 470C. In other embodiments, the electronic device 100 may be provided with two microphones 470C to achieve noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 470C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The earphone interface 470D is used to connect a wired earphone. The headset interface 470D may be the USB interface 430, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 480A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 480A may be disposed on the display screen 494. The pressure sensor 480A may be of a variety of types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 480A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 494, the electronic apparatus 100 detects the intensity of the touch operation based on the pressure sensor 480A. The electronic apparatus 100 may also calculate the touched position based on the detection signal of the pressure sensor 480A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 480B may be used to determine the motion pose of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by the gyroscope sensor 480B. The gyro sensor 480B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 480B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 480B can also be used for navigation and body sensing game scenes. In the embodiment of the present application, the display screen 494 of the electronic device 100 may be folded to form a plurality of screens. A gyro sensor 480B may be included in each screen for measuring the orientation (i.e., the directional vector of the orientation) of the corresponding screen. The electronic device 100 may determine the included angle between adjacent screens according to the measured angle change of the orientation of each screen.
It should be noted that in the embodiment of the present application, the foldable screen (such as the display screen 494 described above) of the electronic device 100 may be folded to form a plurality of screens. A gyro sensor (e.g., gyro sensor 480B described above) may be included in each screen for measuring the orientation (i.e., the directional vector of the orientation) of the corresponding screen. For example, in conjunction with FIG. 1, the display screen 494 of the electronic device 100 may be folded to form an A-screen and a B-screen, and then both the A-screen and the B-screen may include a gyroscope sensor 480B therein for measuring the orientation of the A-screen and the B-screen, respectively. The electronic device 100 may determine the included angle between adjacent screens according to the measured angle change of the orientation of each screen.
Illustratively, the folded screen of the electronic device 100 may be folded to form an A-screen and a B-screen as shown in FIG. 5A. A gyroscope sensor A is arranged in the screen A, and a gyroscope sensor B is arranged on the screen B. Here, the present embodiment describes a principle that the gyro sensor a measures the orientation of the a screen (i.e., the directional vector of the orientation), the gyro sensor B measures the orientation of the B screen (i.e., the directional vector of the orientation), and a principle that the electronic apparatus 100 calculates the angle α between the a screen and the B screen based on the orientation of the a screen and the orientation of the B screen.
Wherein the coordinate system of the gyro sensor is a geographical coordinate system. As shown in fig. 5B, the origin O of the geographic coordinate system is located at the point where the vehicle (i.e., the device containing the gyro sensor, such as the electronic device 100) is located, the x-axis points east (E) along the local latitudes, the y-axis points north (N) along the local meridian, and the z-axis points upward along the local geographic vertical line, and forms a right-hand orthogonal coordinate system with the x-axis and the y-axis. The plane formed by the x axis and the y axis is the local horizontal plane, and the plane formed by the y axis and the z axis is the local meridian plane. Thus, it can be understood that the coordinate system of the gyro sensor is: the gyroscope sensor is used as an origin O, the east direction along the local latitude line is used as an x axis, the north direction along the local meridian line is used as a y axis, and the upward direction along the local geographical vertical line (namely the opposite direction of the geographical vertical line) is used as a z axis.
The electronic device can measure and obtain the direction vector of the orientation of each screen in the coordinate system of the gyro sensor arranged in the electronic device by using the gyro sensor arranged in each screen. For example, referring to the side view of the electronic device as shown in fig. 5A, the directional vector of the orientation of the a-screen measured by the electronic device in the coordinate system of gyro sensor a is vector z1, and the directional vector of the orientation of the B-screen in the coordinate system of gyro sensor B is vector z 2. The electronic device utilizes equation (1):
Figure BDA0002239830240000171
the angle θ between vector z1 and vector z2 can be calculated.
As can be seen from fig. 5A, since the vector z1 is perpendicular to the a screen and the vector z2 is perpendicular to the B screen, the angle α between the a screen and the B screen can be obtained as 180 ° - θ. That is, the electronic device can determine the angle α between the a screen and the B screen according to the measured direction vector of the a screen in the coordinate system of the gyro sensor a (i.e., vector z1) and the direction vector of the B screen in the coordinate system of the gyro sensor B (i.e., vector z 2).
It should be noted that although the positions of the gyro sensors disposed in the a-screen and the B-screen do not overlap, that is, the origins of the coordinate systems of the gyro sensors disposed in the a-screen and the B-plane do not overlap, the x-axis, the y-axis, and the z-axis of the two coordinate systems are parallel, so that the coordinate systems of the gyro sensors disposed in the a-screen and the B-screen can be considered to be parallel. Thus, although the vector z1 and the vector z2 are not in the same coordinate system, the angle θ between the vector z1 and the vector z2 can be calculated by the above equation (1) because the axes of the two coordinate systems are parallel.
In some embodiments, the angle α between the a screen and the B screen can also be measured by one or more other sensors. For example, one acceleration sensor may be provided in each of the folding screens. The electronic device 100 (e.g., the processor 410) may measure the motion acceleration of each screen as it is rotated using the acceleration sensor; and then calculating the rotation angle of one screen relative to the other screen according to the measured motion acceleration, namely the included angle alpha between the screen A and the screen B.
In other embodiments, the gyro sensor may be a virtual gyro sensor formed by a plurality of other sensors in cooperation. The virtual gyroscope sensor can be used for calculating the included angle between adjacent screens of the folding screen, namely the included angle alpha between the screen A and the screen B.
The air pressure sensor 480C is used to measure air pressure. In some embodiments, electronic device 100 may calculate altitude, aid in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 480C.
The magnetic sensor 480D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 480D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 480D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 480E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications. It should be noted that in the embodiment of the present application, the display screen 494 of the electronic device 100 may be folded to form a plurality of screens. An acceleration sensor 480E may be included in each screen for measuring the orientation (i.e., the directional vector of the orientation) of the corresponding screen.
A distance sensor 480F for measuring distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, the electronic device 100 may utilize the distance sensor 480F to range for fast focus.
The proximity light sensor 480G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity sensor 480G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to save power. The proximity light sensor 480G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 480L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 494 based on the perceived ambient light level. The ambient light sensor 480L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 480L may also cooperate with the proximity light sensor 480G to detect whether the electronic device 100 is in a pocket to prevent inadvertent contact.
The fingerprint sensor 480H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 480J is used to detect temperature. In some embodiments, the electronic device 100 implements a temperature processing strategy using the temperature detected by the temperature sensor 480J. For example, when the temperature reported by the temperature sensor 480J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 480J, so as to reduce power consumption and implement thermal protection. In other embodiments, electronic device 100 heats battery 442 when the temperature is below another threshold to avoid an abnormal shutdown of electronic device 100 due to low temperatures. In other embodiments, electronic device 100 performs a boost on the output voltage of battery 442 when the temperature is below a further threshold to avoid an abnormal shutdown due to low temperatures.
The touch sensor 480K is also referred to as a "touch panel". The touch sensor 480K may be disposed on the display screen 494, and the touch sensor 480K and the display screen 494 form a touch screen, which is also referred to as a "touch screen". The touch sensor 480K is used to detect a touch operation applied thereto or thereabout. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 494. In other embodiments, the touch sensor 480K may be disposed on a surface of the electronic device 100 at a different position than the display screen 494.
The bone conduction sensor 480M may acquire a vibration signal. In some embodiments, the bone conduction transducer 480M may acquire a vibration signal of the human voice vibrating a bone mass. The bone conduction sensor 480M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 480M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 470 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 480M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 480M, so as to realize a heart rate detection function.
The keys 490 include a power-on key, a volume key, etc. The keys 490 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 491 may generate a vibration indication. The motor 491 may be used for both incoming call vibration prompting and touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 491 may also respond to different vibration feedback effects in response to touch operations applied to different areas of the display screen 494. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 492 may be an indicator light, and may be used to indicate a charging status, a change in charge level, or a message, a missed call, a notification, etc.
The SIM card interface 495 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic apparatus 100 by being inserted into the SIM card interface 495 or being pulled out from the SIM card interface 495. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 495 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. Multiple cards can be inserted into the same SIM card interface 495 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 495 may also be compatible with different types of SIM cards. The SIM card interface 495 may also be compatible with an external memory card. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The methods in the following embodiments may be implemented in the electronic device 100 having the above-described hardware structure.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the electronic device 100.
Fig. 6 is a block diagram of a software structure of the electronic device 100 according to an embodiment of the present disclosure. The layered architecture can divide the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into three layers, which are an application layer (referred to as an application layer), an application framework layer (referred to as a framework layer), and a kernel layer (also referred to as a driver layer) from top to bottom.
Wherein the application layer may comprise a series of application packages. As shown in fig. 6, the application layer may include a plurality of application packages such as application 1 and application 2. For example, the application package may be a camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, and desktop Launcher (Launcher) application.
The Framework layer (i.e., Framework layer) provides an Application Programming Interface (API) and a programming Framework for the application program of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 6, the framework layer may include a Window Manager (WMS), an Activity Manager (AMS), and the like. Optionally, the framework layer may further include a content provider, a view system, a telephony manager, an explorer, a notification manager, etc. (not shown in the drawings).
Among them, the window manager WMS is used to manage the window program. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The Activity manager AMS is used for managing Activity and is used for starting, switching and scheduling each component in the system, managing and scheduling application programs and the like. The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver. The kernel layer is a layer between hardware and software. The kernel layer may contain display drivers, input/output device drivers (e.g., keyboard, touch screen, headphones, speakers, microphones, etc.), camera drivers, audio drivers, and sensor drivers, among others.
The user performs an input operation (e.g., an operation of unfolding the folding screen) on the electronic device 100, and the kernel layer may generate a corresponding input event (e.g., an event of unfolding the folding screen) according to the input operation and report the event to the application framework layer. The window mode (such as a multi-window mode, a single-window mode or a full-screen mode) of the application, the window position and size, and the like are set by the activity management server AMS of the application framework layer. And the window management server WMS of the application framework layer draws a window according to the setting of the AMS, then sends the window data to the display driver of the kernel layer, and the display driver displays a corresponding application interface on the folding screen. When the folding screen of the electronic device 100 is in the folding state, the electronic device 100 displays the application interface in a full screen mode. For example, as shown in fig. 8 (a), when the folding screen is in the folded state, the interface of the "panning" application is displayed in full screen mode. When the foldable screen of the electronic device 100 is in the unfolded state, the electronic device 100 displays the application interface in a multi-window mode or a single-window mode. For example, as shown in fig. 8 (c), when the folding screen is in the unfolded state, two interfaces of the "panning" application are displayed in a two-window mode. For example, as shown in (b) of fig. 13, when the folding screen is in the unfolded state, the home page of the "pan and bao" application is displayed in the single window mode.
The display scheme provided by the embodiment of the application is realized based on a free window (freeform) characteristic of *** and a multi-window multi-task infrastructure. The display process provided by the embodiment of the present application can be referred to fig. 6. As shown in fig. 6, in an embodiment of the present application, the Activity manager AMS may include an Activity native management module and an Activity extension module. The Activity native management module is used for managing Activity, and is responsible for starting, switching and scheduling each component in the system, managing and scheduling application programs and the like. The Activity expansion module is used for setting a window mode and the property of the window according to the folding state or the unfolding state of the folding screen.
The properties of the window may include, among other things, the position and size of the Activity window, and the visible properties of the Activity window (i.e., the state of the Activity window). The position of the Activity window is that when the folding screen displays the Activity window, the position of the Activity window on the folding screen, the size of the Activity window can be high-level information in the application starting config. The visible property of the Activity window may be true or false. When the visible property of the Activity window is true, it indicates that the Activity window is visible to the user, i.e., the display driver will display the content of the Activity window. When the visible property of the Activity window is false, it indicates that the Activity window is not visible to the user, i.e., the display driver may not display the content of the Activity window.
Wherein an application (e.g., app 1 or app 2) may invoke a launch Activity interface to launch a corresponding Activity. The Activity manager AMS may request the window manager WMS to draw a window corresponding to the Activity in response to the application call, and call a display driver to implement display of the interface.
It is understood that during the process of displaying the application interface by the electronic device 100, the foldable screen of the electronic device 100 may be switched from the folded state to the unfolded state or from the unfolded state to the folded state. At this time, the folding driver (i.e., input/output device driver) of the driver layer may detect the folding event input by the user. In the embodiment of the present application, the folding event may be triggered by the operation of the user controlling the folding screen to be converted from the folding state to the unfolding state, and is referred to as a folding event 1. Alternatively, the folding event may be triggered by a user controlling the operation of the folding screen from the unfolded state to the folded state, and is referred to as a folding event 2. The collapse driver may report the collapse event to a window manager WMS of the framework layer (i.e., the application framework layer).
The window manager WMS may listen to a collapse event, and may determine to switch a display size after listening to the collapse event. The window manager WMS transmits a display change event to the activity manager AMS, and the activity manager AMS sets the window mode and the attributes of the window. When monitoring the folding event 1, the window manager WMS may determine that the display becomes large, and send a display change event 1 to the activity manager AMS. The display change event 1 is used for triggering the activity manager AMS to switch the window mode from the full-screen mode to the multi-window mode or the single-window mode, and to adjust the attributes of the window. When the window manager WMS listens to the collapse event 2, it may be determined that the display becomes small, and the display change event 2 is transmitted to the activity manager AMS. The display change event 2 is used to trigger the activity manager AMS to switch the window mode from the multi-window mode or the single-window mode to the full-screen mode, and to adjust the attributes of the window.
After the Activity manager AMS sets the Activity window mode and the property, the Activity manager AMS can request the window manager WMS to draw a window, and call the display driver to display the drawn window content, so that the interface is displayed to the user.
For example, in response to the display change event 1 described above, the activity manager AMS may request the window manager WMS to draw a window and call a display-driven display interface may be: the folded screen is unfolded and an application interface (corresponding to a single window mode) is displayed in the middle, and the size of the application interface is the same as that of the application interface displayed when the folded screen is in a folded state. Alternatively, in response to the display change event 1, the interface for displaying the driving display may be: the folding screen is unfolded and the folding screen displays two application interfaces (corresponding to a multi-window mode, such as a dual-window mode). The two application interfaces comprise one application interface displayed when the folding screen is in the folding state, and the size of the one application interface is unchanged. In response to the display change event 2, the activity manager AMS may request the window manager WMS to draw a window and call a display driver display interface: the electronic equipment displays an application interface in a full screen mode (corresponding to the full screen mode) in a folded state.
The technical solution provided by the embodiment of the present application will be specifically explained below by taking the electronic device as a mobile phone, the folding screen of the mobile phone is the folding screen that is folded outwards, and the folding screen that is folded outwards can form a first screen (for example, a screen a) and a second screen (for example, a screen B). As shown in fig. 7, the method of displaying an application may include S701-S702:
s701, the mobile phone controls the first screen to display a first interface when the folding screen is in a folding state.
In the embodiment of the application, when the folding screen is in the folding state, the first screen is used as a main screen to display a main interface or an application interface (such as the first interface) of the mobile phone, and the second screen can be blank.
When the folding screen is in a folding state, an included angle alpha epsilon [0 DEG, P ] between a first screen (such as a screen A) and a second screen (such as a screen B) of the mobile phone. When the mobile phone is in an unfolding state, the included angle alpha between the screen A and the screen B of the folding screen belongs to (P, 180 degrees).
Or when the folding screen is in a folding state, the included angle alpha epsilon [0 DEG, P ] between the first screen (such as the A screen) and the second screen (such as the B screen) of the mobile phone. When the mobile phone is in an unfolded state, the included angle alpha between the screen A and the screen B of the folding screen belongs to [ P, 180 degrees ].
Wherein P is a preset angle threshold. P may be determined according to the usage habit of a large number of users using the folding screen; alternatively, P may be set by the user in the handset.
In some embodiments, when α >90 °, the probability that the user wants to use the first screen and the second screen as a whole (i.e., as one complete display screen) is high. Therefore, the preset angle threshold P in the embodiment of the present application may be greater than 90 °. The value range of the preset angle threshold P may be (90 °, 180 °). The larger P, the higher the possibility that the user uses the first screen and the second screen as a whole. For example, the preset angle threshold P may be 100 °, 120 °, 135 °, 140 °, 145 °, 150 °, or the like.
The mobile phone can calculate the included angle alpha between the screen A and the screen B in real time and detect the change of the included angle alpha. When the included angle alpha between the screen A and the screen B is detected to be changed from small to large and is larger than P after the change, the mobile phone can determine that the folding screen is changed from the folding state to the unfolding state. For a specific method for calculating the included angle α between the screen a and the screen B by the mobile phone, reference may be made to the method for calculating the included angle α by the electronic device 100 in the foregoing embodiment, which is not described herein again in this embodiment of the present application.
It should be noted that, when the included angle α between the first screen and the second screen is 0 °, the folding screen is in the folding state; the method of the embodiment of the present application will be described with reference to the example in which the folded screen is in the unfolded state when the angle α between the first screen and the second screen is 180 °. The first interface may be an interface of a first application.
Illustratively, the first application is a "Taobao" application. The first interface may be an item detail page for a "Taobao" application. Fig. 8 (a) shows a front view of the cellular phone when the folding screen is in the folded state, i.e., the first screen of the cellular phone. Fig. 8 (b) shows a rear view of the cellular phone, i.e., the second screen of the cellular phone, when the folding screen is in the folded state. As shown in fig. 8 (a), the first screen displays a first interface 801 of the "panning" application, i.e., an item detail page. As shown in (b) of fig. 8, the second screen is blank.
Wherein, the first interface is an interface of a first application. Wherein the first interface may be a home page of the first application; alternatively, the first interface may not be the home page of the first application.
In the application scenario (1) of the embodiment of the present application, the first interface is not a home page of the first application. The first interface is any one of the interfaces of the first application except for a home page of the first application. For example, the first interface may be the item detail page 801 shown in (a) of fig. 8, and the item detail page 801 is not the top page of the "panning" application.
In the application scenario (2) of the embodiment of the present application, the first interface may be a home page of the first application. For example, the first interface may be the first interface 901 shown in (a) in fig. 9. This first interface 901 is the first page of the "Taobao" application. The first interface of the mobile phone displaying the first application may include the following case (1) and case (2).
Case (1): the home page of the first application is displayed in response to a user clicking (e.g., clicking) an icon of the first application in a main interface (i.e., a desktop) of the mobile phone after the mobile phone quits running the first application (i.e., stops displaying the interface of the first application on the mobile phone and stops running the first application in the background). Or, the home page of the first application is displayed in response to a user clicking (e.g., clicking) an icon of the first application in a main interface (i.e., a desktop) of the mobile phone for the first time after the mobile phone is started.
For example, the mobile phone may display a first page 901, i.e., a first interface, of the "pan" application shown in (a) of fig. 9 in response to a click operation (e.g., a one-click operation) of the user on an icon of the "pan" application in a main interface (i.e., a desktop) of the mobile phone.
Case (2): the mobile phone can respond to a return operation of the user on an interface of a next layer of the home page of the first application, and the home page of the first application is displayed.
For example, a home page 901 of the "pan" application shown in (a) in fig. 9, that is, a first interface, may be displayed by the cell phone in response to a return operation of the user in the search result page 903 shown in (b) in fig. 9 (e.g., a click operation of the "return" button 904 by the user). The handset may display the search result page 903 in response to a user clicking (e.g., clicking) a search button 902 on a home page 901 of the "pan and bao" application. Item detail page 903 is the next level interface to the top page 901 of the "Taobao" application. For detailed description of the hierarchical relationship between the interfaces, reference may be made to subsequent related descriptions in the embodiments of the present application, which are not repeated herein.
S702, responding to the condition that the folding screen is changed from the folding state to the unfolding state, controlling a first display area of the folding screen to display a first interface and controlling a second display area of the folding screen to display a second interface by the mobile phone.
The first display area and the second display area are parts of the display area of the folding screen. The first display area and the second display area are not overlapped.
In some embodiments, the first display area is a display area corresponding to the first screen and the second display area is a display area corresponding to the second screen. Specifically, the folding edge of the folding screen is taken as a boundary, when a user faces the unfolded folding screen, the left side of the folding edge on the folding screen is a first display area, and the right side of the folding edge on the folding screen is a second display area; or the right side of the folding edge on the folding screen is a first display area, and the left side of the folding edge on the folding screen is a second display area. Therefore, the method is more suitable for the use habit of most users on the folding screen electronic equipment.
Take the left side of the folding edge on the folding screen as the first display area and the right side of the folding edge on the folding screen as the second display area as an example. As shown in fig. 10A (a), a boundary L1 between the first display region and the second display region coincides with the folding edge of the folding screen. In this embodiment, the first display area corresponds to the first screen, and the second display area corresponds to the second screen. For example, as shown in fig. 8 (c), a boundary L between the first display region 803 and the second display region 804 coincides with a folding edge of the folding screen. The first display area 803 corresponds to a first screen, and the second display area 804 corresponds to a second screen.
In other embodiments, the sizes (including width and height) of the first display area and the second display area may be configured in the mobile phone in advance. Alternatively, the width and height of the first display area and the second display area may be set by a user in the mobile phone. The method for setting the first display area and the second display area by the user can refer to the related descriptions in fig. 19 to fig. 21, and is not described herein again. In this embodiment, the size of the first display region and the size of the second display region may be the same or different.
For example, as shown in (b) in fig. 10A, the size of the first display region and the size of the second display region are the same. In fig. 10A (b), the first display region and the second display region are bounded by a boundary line L2, the height of the first display region and the height of the second display region are the same, and the width of the first display region and the width of the second display region are both the length x.
For another example, as shown in (c) of fig. 10A, the size of the first display region and the size of the second display region are different. In fig. 10A (c), the first display region and the second display region are bounded by a boundary line L3, and the first display region is smaller than the second display region.
For another example, as shown in (d) of fig. 10A, the size of the first display region and the size of the second display region are different. In fig. 10A (d), the first display region and the second display region are bounded by a boundary line L4, and the first display region is larger than the second display region.
It should be noted that, in the following embodiments, the method of the present application will be described by taking an example in which the boundary between the first display region and the second display region is a folding side, the right side of the folding side is the second display region, and the left side of the folding side is the first display region. In this case, the first display region corresponds to the first screen, and the second display region corresponds to the second screen.
In this embodiment of the application, the second interface may be an interface of the first application, and the second interface is different from the first interface. Alternatively, the second interface may be an interface of a second application, the second application being different from the first application.
In some embodiments, the second interface may be an interface of the first application, the second interface being different from the first interface. In this embodiment, the handset may determine the second interface in the following manner.
In connection with the application scenario (1) described above, the first interface is not the home page of the first application. In an implementation (1) of the application scenario (1), the second interface may be a home page of the first application.
For example, take the first application as a "Taobao" application. The top page of the "Taobao" application is the interface 802 shown in (c) of FIG. 8. Assume that the cell phone displays the item detail page 801 shown in (a) in fig. 8, i.e., the first interface. In response to the folding screen being changed from the folded state to the unfolded state, as shown in fig. 8 (c), the mobile phone controls the first display area 803 of the folding screen to display the first interface 801 and the second display area 804 to display the second interface 802. The second interface 802 is the first page of the "Taobao" application.
In implementation (2) of the application scenario (1), the second interface may be an interface of a previous level of the first interface. The embodiment of the present application describes a hierarchical relationship between different interfaces:
in the embodiment of the application, different interfaces of the same application can be divided into an upper layer and a lower layer. The mobile phone can display the interface to be displayed in the display area of the display screen according to the hierarchical relationship between the interface to be displayed and the displayed interface.
For example, different interfaces of the same application may correspond to the same Activity (Activity) or different activities. When different interfaces correspond to the same Activity, the interfaces may correspond to the same hierarchy. When different interfaces correspond to different Activity, the interfaces correspond to different hierarchies. In response to a user operating on one interface, the interface may invoke another interface.
When the actively-called interface and the called interface correspond to the same Activity, the actively-called interface and the called interface can correspond to the same hierarchy. For example, the actively invoked interface may be the "hot spot" interface 1001 shown in fig. 10B, and the invoked interface may be a "video" interface displayed by the mobile phone after the user clicks the "video" button shown in fig. 10B. The "video" interface and the "hot" interface 1001 correspond to the same Activity and the same hierarchy. And when the actively called interface and the called interface correspond to different Activities, the called interface is the next level of the actively called interface. For example, the active invocation interface may be the search results page 903 shown in (b) of fig. 9. In response to a user's click operation on the "baseball cap" search term 905 in the search result page 903, the cellular phone may display an item detail page 801 shown in (a) in fig. 8. Item detail page 801 is a called interface. The search result page 903 and the item detail page 801 correspond to different activities, and the search result page 903 is an interface on a level above the item detail page 801.
In a technical scheme, the call process of the mobile phone to the interface can be realized by a first-in and last-out stack. For example, when the mobile phone calls and displays the interface 1, the interface 1 is pushed; when the interface 1 calls the interface 2, the interface 2 is stacked; when the user returns to interface 1 from current interface 2, current interface 2 is popped. In addition, when the mobile phone detects a return operation of the user on the current interface, the mobile phone returns to the interface which actively calls the current interface before responding to the operation.
For another example, the hierarchical relationship between different activities is preset on the mobile phone, the interface corresponding to the Activity with the higher hierarchy level is also higher in hierarchy level, and the interface corresponding to the Activity with the lower hierarchy level is also lower in hierarchy level. For example, in the "Taobao" application, the Activity level corresponding to the home page is the highest, and the Activity level corresponding to the search result page is higher than that corresponding to the product detail page.
The search result page 903 shown in (b) in fig. 9 is an interface at the previous level of the item detail page 801 shown in (a) in fig. 8 based on the hierarchical relationship between the interfaces.
For example, the mobile phone displays 1101 (i.e., an item detail page) of the first interface shown in (a) of fig. 11. In response to the folding screen transitioning from the folded state shown in fig. 11 (a) to the unfolded state shown in fig. 11 (b), the cellular phone controls the first display area 1103 of the folding screen to display the first interface 1101 and the second display area 1104 to display the second interface 1102 (i.e., the search result page, the interface of the upper level of the item detail page).
In the implementation manner (3) of the application scenario (1), the second interface may be an interface corresponding to a record item previous to a record item corresponding to the first interface in the activity record of the first application.
Generally, in response to a click operation of a user on an icon of a first application in a main interface (i.e., a desktop) of the mobile phone, the mobile phone may generate an Activity record (Activity record) of the first application after displaying a home page of the first application, and store a record item for the home page in the Activity record. When the mobile phone displays another interface of the first application in response to the operation of the user on the home page or any interface of the first application, a record item of the other interface can be saved in the activity record of the first application. Wherein, the handset can record the activity record of the application through a first-in-first-out stack (called a first record stack). And when the interface of the first application is displayed by the mobile phone, the interface corresponding to the record item pointed by the pointer is displayed.
For example, after the mobile phone displays the home page of the first application in response to a user clicking an icon of the first application in a main interface (i.e., a desktop) of the mobile phone, the mobile phone may generate the first record stack shown in (a) of fig. 12. Here, the first record stack shown in (a) in fig. 12 includes an entry of the interface 1 (i.e., the first page of the first application), and the pointer points to the entry of the interface 1. In response to the operation of the user in the interface 1, the mobile phone may display the interface 2, and push a record item corresponding to the interface 2 in the first record stack, resulting in the first record stack shown in (b) in fig. 12. In the first record stack shown in (b) in fig. 12, the pointer points to the entry of the interface 2. In response to the return operation input by the user on the interface 2, the mobile phone may display the interface 1, and push a record item corresponding to the interface 1 in the first record stack, resulting in the first record stack shown in (c) in fig. 12. In the first record stack shown in (c) in fig. 12, the pointer points to the entry of interface 1 at the top of the stack. In response to the operation of the user in the interface 1, the mobile phone may display the interface 3, and push a record item corresponding to the interface 3 in the first record stack, resulting in the first record stack shown in (d) in fig. 12. In the first record stack shown in (d) in fig. 12, the pointer points to the entry of the interface 3 at the top of the stack. In response to the operation of the user in the interface 3, the mobile phone may display the interface 4, and push a record item corresponding to the interface 4 in the first record stack, resulting in the first record stack shown in (e) in fig. 12. In the first record stack shown in (e) in fig. 12, the pointer points to the entry of the interface 4 at the top of the stack.
In connection with the above example, in response to the foldable screen being changed from the folded state to the unfolded state, the mobile phone may move the top pointer of the first record stack downward, so that the pointer points to the next record item at the top of the stack. At this time, the interface corresponding to the entry pointed by the pointer is the second interface, and the entry at the top of the stack is the first interface. The mobile phone can display a first interface corresponding to the record item at the top of the stack in a first display area of the folding screen, and display a second interface corresponding to the record item pointed by the pointer in a second display area. Or, the mobile phone may display a first interface corresponding to the entry at the top of the stack in a second display area of the folding screen, and display a second interface corresponding to the entry pointed by the pointer in the first display area. For example, the entry of the first record stack may store an identifier of the corresponding interface.
In combination with the case (1) of the application scenario (2), the first interface is a home page of the first application, and only the entry of the home page of the first application is saved in the first activity record of the first application. For example, as shown in (a) in fig. 12, only the entry of interface 1 is included in the first record stack. In this case, in response to the folding screen being changed from the folded state to the unfolded state, the mobile phone cannot find out the entries of the interfaces other than the first interface from the activity record of the first application.
Based on this, in the implementation manner (a) of the case (1), in response to the folding screen being converted from the folding state to the unfolding state, the mobile phone controls the first display region and the second display region of the folding screen as a whole, centering on the first interface, that is, the folding screen displays the first interface in a single window.
For example, the first screen displays 1301 of the first interface shown in (a) in fig. 13 (i.e., the top page of the "pan and bao" application). And only the record item of the first page of the 'panning' application is saved in the first activity record of the 'panning' application. In this case, in response to the folding screen transitioning from the folded state shown in fig. 13 (a) to the unfolded state shown in fig. 13 (b), the cellular phone may control the folding screen to display the above-described first interface 1301 in a single window. For example, the mobile phone may display the first interface 1301 illustrated in (b) of fig. 13.
In implementation (b) of case (1), the second interface may be any interface of a next level of the first application's home page.
In the implementation manner (c) of the case (1), the mobile phone may be preset in the case (1), and the second interface may be any interface except the top page in the interface of the first application.
In combination with the case (2) of the application scenario (2), although the first interface is the top page of the first application, the mobile phone stores the entries of the other interfaces of the first application in the activity record of the first application. In this case, the second interface may be an interface corresponding to a record item previous to the record item corresponding to the first interface in the activity record of the first application. The specific method for determining the second interface by the mobile phone may refer to detailed description in the implementation manner (3) of the application scenario (1), and details are not repeated here in the embodiment of the present application.
Assume that when the user faces the unfolded folded screen, the left side of the folded edge on the folded screen is a first display area, and the right side of the folded edge on the folded screen is a second display area. In S702, in response to the foldable screen being converted from the folded state to the unfolded state, the mobile phone controls the first display area of the foldable screen to display the first interface, and the second display area to display the second interface. In order to enable the display mode to accord with the use habits of most users when the first interface and the second interface are displayed on the folding screen, and the use experience of the users is improved. The embodiment of the application provides the following scheme:
in response to the folding screen being changed from the folding state to the unfolding state, if the hierarchy of the first interface is higher than that of the second interface, the mobile phone can control the first display area (namely, the left display area) of the folding screen to display the first interface and control the second display area (namely, the right display area) to display the second interface; if the level of the second interface is higher than that of the first interface, the mobile phone can control the first display area of the folding screen to display the second interface, and the second display area displays the first interface; if the second interface and the first interface are interfaces at the same level, the mobile phone can control the first display area of the folding screen to display the first interface, and the second display area to display the second interface. Therefore, when the hierarchy of the interface displayed in the second display area on the right side is lower than or equal to that of the interface displayed in the first display area on the left side, comparison and operation can be performed on the aspect of users, and the use habits of most users can be better met.
In other embodiments, the second interface is an interface of a second application, the second application being different from the first application. The second application is any one of one or more applications that the mobile phone has recently run and not closed, in addition to the first application. The fact that the second application is not closed by the mobile phone means that the mobile phone runs the second application in the background.
For example, assume that applications that have been recently run by a cell phone and not closed include a "dial-up" application, a "set up" application, and a "WeChat" application. The application task window interface 401 shown in fig. 14 can be displayed by the mobile phone in response to a preset operation (e.g., a double-click operation on the Home key) performed by the user on the mobile phone. The application task window interface 401 includes task windows of applications that have been recently run by the mobile phone and are not closed, such as a task window 402 of a "dial-up" application, a task window 403 of a "setup" application, and a task window 404 of a "WeChat" application. The first application is a "WeChat" application. The second application may then be a "dial" application or a "set" application.
As shown in fig. 15 (a), the cellular phone displays a first interface 1501 of the first application, i.e., one interface of the "WeChat" application. In response to the folding screen transitioning from the folded state shown in fig. 15 (a) to the unfolded state shown in fig. 15 (b), the cellular phone may control the first display region 1503 of the folding screen to display the first interface 1501 and the second display region 1504 to display the second interface 1502. The second interface 1502 is an interface of the above-described "setup" application.
In some embodiments, the second interface is an interface of a second application. In this embodiment, in response to the foldable screen being converted from the folded state to the unfolded state, the mobile phone may control the first display area (i.e., the left display area) to display the first interface and the second display area (i.e., the right display area) to display the second interface. Therefore, the first interface of the first application is displayed in the first display area on the left side first, and the second interface of the second application is displayed in the second display area on the right side, so that the use habits of most users can be better met.
Further, as shown in fig. 7, after S702, the method in the embodiment of the present application may further include S703:
and S703, responding to the condition that the folding screen is changed from the unfolding state to the folding state, and controlling the first screen to display the first interface or the second interface by the mobile phone.
For example, in response to the folding screen being changed from the unfolded state shown in (b) in fig. 15 to the folded state shown in (a) in fig. 15, the first screen may display the first interface 1501 shown in (a) in fig. 15. Of course, the first interface 1501 shown in fig. 15 (a) may be replaced with the second interface 1502 shown in fig. 15 (b).
The mobile phone can calculate the included angle alpha between the screen A and the screen B in real time and detect the change of the included angle alpha. When the included angle alpha between the screen A and the screen B is detected to be changed from big to small and the changed included angle alpha is smaller than P, the mobile phone can determine that the folding screen is changed from the unfolding state to the folding state. For a specific method for calculating the included angle α between the screen a and the screen B by the mobile phone, reference may be made to the method for calculating the included angle α by the electronic device 100 in the foregoing embodiment, which is not described herein again in this embodiment of the present application.
In the embodiment of the application, in response to the foldable screen being converted from the folded state to the unfolded state, the mobile phone may control the foldable screen to display the first interface and the second interface in a dual-window mode, that is, the foldable screen simultaneously displays the two interfaces in the two display areas. Since the aspect ratio (i.e., aspect ratio) of the first and second panels of the folded panel is similar to that of a normal unfolded panel; thus, both the first screen and the second screen may adapt the interface layout of the launched application. Therefore, the mobile phone can normally display the application interface without restarting the application in response to the operation of the user for unfolding the folding screen.
And the folding screen that expandes can show first interface and second interface simultaneously, can make the display content of folding screen abundanter like this, can promote the utilization ratio of folding screen to promote user's visual experience.
As an alternative, in some embodiments, the above S702 may be replaced with S702 a:
s702a, in response to the foldable screen being converted from the folded state to the unfolded state, the mobile phone may control the foldable screen to display the first interface in a single window.
When the folding screen is in the unfolding state, the folding screen displays a first interface through a single window, which specifically can be: the first display area and the second display area of the folding screen are used as a whole to centrally display the first interface.
For example, the cell phone displays 1301 of the first interface shown in (a) of fig. 13 (i.e., the top page of the "pan bao" application). In response to the folding screen transitioning from the folded state shown in fig. 13 (a) to the unfolded state shown in fig. 13 (b), the mobile phone may control the folding screen to display the first interface 1301 in a single window. For example, the folding screen may display the first interface 1301 illustrated in (b) of fig. 13.
Note that, unlike the implementation (a) of the above case (1), there are: the first interface in this embodiment may be any interface of the first application, and is not limited to the home page of the first application.
Further, after S702a, the method according to the embodiment of the present application may further include: in response to the foldable screen being changed from the unfolded state to the folded state, the mobile phone may control the first screen to display the first interface. For example, in response to the folding screen transitioning from the unfolded state shown in (b) in fig. 13 to the folded state shown in (a) in fig. 13, the cellular phone may control the first screen to display 1301 of the first interface shown in (a) in fig. 13.
In the embodiment of the application, in response to the folding screen being changed from the folding state to the unfolding state, the mobile phone can control the folding screen to display the first interface in the single-window mode. The interface layout of the first interface cannot be changed, so that the mobile phone can normally display the interface of the application without restarting the application.
After S702a, the mobile phone may receive a first operation of the first interface displayed in the first display area by the user. The first operation is used for triggering the first display area to display a third interface of the first application. In response to a first operation of the first interface of the user, the mobile phone can control the first display area of the folding screen to display the first interface, and the second display area displays the third interface. For detailed descriptions of the first display area and the second display area, reference may be made to the descriptions in the foregoing embodiments, which are not repeated herein.
For example, the mobile phone displays a first interface 1601 shown in (a) of fig. 16, such as the top page of the "pan bao" application, in a single window. In general, in response to a user's click operation (e.g., a one-click operation) on the "search" button 1602 in the first interface 1601, a search result interface, i.e., a third interface, may be displayed in a single window. In the embodiment of the present application, in response to a click operation (e.g., a single click operation) of the "search" button 1602 in the first interface 1601, the mobile phone may control the foldable screen to simultaneously display the first interface and the third interface in a dual window. As shown in (b) of fig. 16, the first display area 1604 of the folding screen displays a first interface, and the second display area displays a third interface 1603, i.e., a search result interface.
Optionally, after S702a, in response to the first operation performed by the user on the first interface, if the hierarchy of the first interface is higher than the hierarchy of the third interface, the mobile phone may control the first display area (i.e., the left display area) of the foldable screen to display the first interface, and control the second display area (i.e., the right display area) to display the third interface; if the level of the third interface is higher than that of the first interface, the mobile phone can control the first display area of the folding screen to display the third interface, and the second display area displays the first interface; if the third interface and the first interface are interfaces at the same level, the mobile phone can control the first display area of the folding screen to display the first interface, and the second display area can display the third interface. Therefore, when the hierarchy of the interface displayed in the second display area on the right side is lower than or equal to that of the interface displayed in the first display area on the left side, comparison and operation can be performed on the aspect of users, and the use habits of most users can be better met.
In other embodiments, after the first interface is displayed in the first display area of the folding screen, and the second interface is displayed in the second display area, in response to a second operation of the first interface displayed in the first display area by the user, the first display area of the folding screen displays a fourth interface corresponding to the second operation, and the second interface displayed in the second display area is unchanged; and responding to a third operation of the second interface displayed in the second display area by the user, displaying a fifth interface corresponding to the third operation in the second display area of the folding screen, and keeping a fourth interface displayed in the first display area unchanged.
The second interface and the first interface may both be interfaces of a first application (e.g., a "Taobao" application). For example, as shown in (a) of fig. 17, a first display area 1701 of the folding screen displays a home page 1703 of the "panning" application, i.e., a first interface; a second display area 1702 of the collapsed screen displays a "hat" search results page 1704, i.e., a second interface. The cellular phone may receive a third operation of the user on the first interface (e.g., a user's click operation on the "search" button 1705 shown in (a) of fig. 17). In response to a third operation of the user on the home page 1703 of the "Taobao" application, as shown in (b) of FIG. 17, the first display area 1701 of the collapsed screen displays a "milk" search results page 1706 (i.e., a fourth interface). And the second interface displayed in the second display area is unchanged. For example, as shown in (b) in fig. 17, the second display area 1702 still displays the "hat" search result page 1704, i.e., the second interface.
The cell phone may receive a fourth operation by the user at the second interface (e.g., a user click operation on a "baseball cap" search term in a "hat" search results page 1704 shown in fig. 17 (b)). In response to a fourth operation of the "hat" search result page 1704 by the user, as shown in fig. 17 (c), the second display area 1702 of the folding screen displays an item detail page 1708 (i.e., a fifth interface). And the fourth interface displayed in the first display area is unchanged. For example, as shown in (c) of fig. 17, the cellular phone may still display the "milk" search result page 1706, i.e., the fourth interface, in the first display area 1701.
The second interface may be an interface of a second application and the first interface is an interface of a first application. The second application is different from the first application. For example, the first application is a "settings" application and the second application is a "Taobao" application. As shown in fig. 18 (a), a first display area 1801 of the folder displays a WLAN (i.e., WiFi) setting interface 1803, i.e., a first interface, of the "setting" application; the second display area 1802 displays a "hat" search results page 1804, i.e., a second interface, of the "Taobao" application. The handset may receive a third operation by the user in the first interface (e.g., a click operation by the user on the "back" button 1805 in the WLAN setting interface 1803 shown in (a) in fig. 18). In response to a third operation of the WLAN setting interface 1803 by the user, as shown in (b) of fig. 18, the first display area 1801 of the folder displays a top page 1806 of the "setting" application, i.e., a fourth interface. And the second interface displayed in the second display area is unchanged. For example, as shown in fig. 18 (b), the cell phone may still display a "hat" search result page 1804, i.e., a second interface, in the second display area 1802.
The cell phone can receive a fourth operation by the user at the second interface (e.g., a user click operation on a "baseball cap" search term in a "hat" search results page 1804 shown in fig. 18 (b)). In response to a fourth operation by the user on the "hat" search result page 1804, as shown in fig. 18 (c), the second display area 1802 of the collapsed screen displays an article detail page 1808 (i.e., a fifth interface). And the fourth interface displayed in the first display area is unchanged. For example, as shown in (c) of fig. 18, the cellular phone may still display a home page 1806 of the "setup" application, i.e., a fourth interface, in the first display area 1801.
In this embodiment, after the first interface is displayed in the first display area of the folding screen and the second interface is displayed in the second display area, the interfaces displayed in the first display area and the second display area are not affected by each other. Therefore, the user can open different interfaces in the first display area and the second display area to control the mobile phone to execute different events in parallel.
In some embodiments, the display content of the mobile phone is prevented from being frequently switched due to the fact that the included angle alpha between the A screen and the B screen changes frequently around P in a short time. In some embodiments, if the mobile phone detects that the included angle α between the a screen and the B screen is changed from small to large, and the included angle α is greater than P after the change, the first interface is not immediately displayed in the first display area of the folded screen, the second interface is not immediately displayed in the second display area, but the first interface is continuously displayed on the first screen, and the second screen is blank. At this time, the mobile phone may start a timer, and when the included angle α between the screen a and the screen B is greater than P within the preset time, the first display area of the folding screen displays the first interface, and the second display area displays the second interface.
In some embodiments, the plurality of display regions included in the folded screen in the unfolded state or the unfolded screen in the landscape state of the electronic device may be user-set.
For example, as shown in fig. 19, a setting control of a display region is displayed on a setting interface 1901 of the electronic device, and a user can set an aspect ratio (i.e., an aspect ratio) of a first display region and an aspect ratio of a second display region by himself or the user can select the aspect ratio of the first display region and the aspect ratio of the second display region from the setting interface.
For another example, as shown in (a) in fig. 20, a display region number setting control 2002 and a display region range setting control 2003 are displayed on the setting interface 2001 of the mobile phone. After the user sets the number of display areas to 2 and clicks the control 2003, as shown in (b) of fig. 20, the mobile phone may prompt the user to set the range of the first display area, and the user may drag on the display screen to set the range of the first display area. After the user stops the dragging, as shown in (c) of fig. 20, the mobile phone may display a control 2004 of determining the range of the first display area and a control 2005 of canceling the setting. After the user clicks on the control 2004, referring to (d) in fig. 20, the handset may determine the range of the first display region and the second display region set by the user.
For another example, after the user sets the number of display regions to 2 on the setting interface 2001 and clicks the widget 2003, as shown in fig. 21, a dividing line 2101 is displayed on the setting interface of the cell phone, and the user may drag the dividing line 2101 to set the size and aspect ratio of the first display region and the second display region.
Of course, the user may also set the display area included in the display screen of the mobile phone in other ways, which is not limited in the embodiment of the present application.
In other embodiments, the electronic device is a mobile phone. The folding screen of the mobile phone can be the folding screen folded inwards, the folding screen folded inwards forms a first screen (a screen a shown in fig. 2) and a second screen (a screen B shown in fig. 2), and a third screen (a screen C shown in fig. 2) is arranged on the back of the first screen.
It can be appreciated that after the fold-in folded screen is fully folded, the third screen (i.e., the C screen) is visible to the user, while the first and second screens are not visible to the user; therefore, for a mobile phone with the folding screen folded inwards, when the folding screen is in a folding state, an interface can be displayed on the third screen; when the folded screen is in the unfolded state, an interface can be displayed on the first screen and the second screen.
It should be noted that all the above-mentioned solutions of the fold-out screen can be applied to a mobile phone including a fold-in screen. However, in contrast, for a cell phone that includes a fold-in folding screen, the cell phone displays an interface (such as the first interface described above) on the third screen in the folded state.
Illustratively, take the "Taobao" application of the first application as described above as an example. The first interface may be an item detail page for a "Taobao" application. Fig. 22A (a) shows a front view of the cellular phone when the folding screen is in the folded state, i.e., a third screen of the cellular phone. As shown in fig. 22A (a), the third screen of the mobile phone displays a first interface 2201 of the "pan bao" application, i.e., an item detail page. In response to the folding screen being converted from the folded state to the unfolded state, as shown in (b) of fig. 22A, the cellular phone may display the first interface 2201 in the first display area 2202 and the second interface 2204 in the second display area 2203.
For the mobile phone comprising the inward folding screen, the third screen can be controlled to display the first interface when the mobile phone is in a folding state; in response to the foldable screen being converted from the folded state to the unfolded state, the mobile phone may control the foldable screen to display the first interface and the second interface on the foldable screen (i.e., the first screen and the second screen) in a dual-window mode, that is, the foldable screen simultaneously displays two interfaces in two display areas. Since the aspect ratio (i.e., aspect ratio) of the first and second panels of the folded panel is similar to that of a normal unfolded panel; thus, both the first screen and the second screen may adapt the interface layout of the launched application. Therefore, the mobile phone can normally display the application interface without restarting the application in response to the operation of the user for unfolding the folding screen.
And the folding screen that expandes can show first interface and second interface simultaneously, can make the display content of folding screen abundanter like this, can promote the utilization ratio of folding screen to promote user's visual experience.
For the non-folding screen electronic device or the folding screen electronic device in the folding state, when the electronic device is changed from the vertical screen state to the horizontal screen state, there may be a problem that the display area of the display screen of the electronic device cannot be fully utilized. For example, take a mobile phone to display a video playing interface as an example. As shown in (a) in fig. 22B, the mobile phone is in a portrait state, and the mobile phone displays a video playback interface 2205. As shown in (B) in fig. 22B, the mobile phone is in a landscape state, and the mobile phone displays a video playback interface 2205 in the center. However, in the landscape state shown in fig. 22B (B), a part of the display area of the display screen of the mobile phone does not display specific contents, and the display area of the display screen is not fully utilized.
In order to solve the problem that a display area of a display screen (a folding screen or a non-folding screen) of an electronic device cannot be fully utilized, the embodiment of the application provides a method for displaying an application. If the electronic device enters the preset scene, and the interface displayed before the electronic device enters the preset scene is the preset homepage (i.e., main Page) of the first application, or the interface to be displayed after the electronic device enters the preset scene is the preset homepage of the first application, the electronic device may control the first display area of the display screen to display the preset homepage of the first application, and control the second display area of the display screen to display the related Page (i.e., related Page) configured in pair with the preset homepage. Therefore, the electronic equipment in the preset scene can simultaneously display the preset homepage and the related pages of the first application on the display screen, so that the display content of the display screen is richer, the utilization rate of the display screen can be improved, and the visual experience of a user is improved.
It should be noted that, for the detailed description of the preset scenario, the preset home page of the first application, and the related page, reference may be made to the detailed description in the following embodiments, which are not repeated herein.
The methods in the following embodiments may be implemented in the electronic device 100 having the hardware structure shown in fig. 4. Fig. 23A is a block diagram of another software structure of the electronic device 100 according to the embodiment of the present application. The layered architecture can divide the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into three layers, which are an application layer (referred to as an application layer), an application framework layer (referred to as a framework layer), and a kernel layer (also referred to as a driver layer) from top to bottom.
Wherein the application layer may comprise a series of application packages. As shown in fig. 23A, the application layer may include a plurality of application packages such as application 1 and application 2. For example, the application package may be a camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, Launcher, or other application. The applications such as application 1 and application 2 are applications that support dual-window display.
As shown in fig. 23A, the application layer may further include a System User Interface (UI), and the System UI (i.e., System UI) is responsible for displaying the System Interface and is an installation Package (APK) of the System. Wherein, the interface function of the system interacting with the user is also realized in the APK. In the embodiment of the application, the user self-defines the interactive interface and the preset gesture for selecting the related Page (namely the related Page) of the first application, and the selection is also realized in the APK.
The Framework layer (i.e., Framework layer) provides an API and programming Framework for applications (i.e., applications) at the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 23A, the framework layer may include a configuration module, an Activity management module (equivalent to the Activity manager AMS shown in fig. 6), and a window display module (equivalent to the window manager WMS shown in fig. 6).
The configuration module is used for managing a preset main Page (main Page) and a related Page (related Page) of the application in the application layer.
In one case, the main Page and related Page described above are included in the configuration file in the installation package (APK) of the application. Thus, as shown in fig. 23A, the configuration module can parse the configuration file in the installation package of the application, and obtain and store the main Page and the related Page.
In another case, the configuration module may configure the main Page for the application. For example, the configuration module may configure a home Page of the first application as a main Page of the application. Or the configuration module can also determine the main Page of the first application from a plurality of interfaces of the application according to the interface characteristics of each interface of the application. For example, the configuration module may determine an interface satisfying a preset condition among a plurality of interfaces of the application as a main Page of the application. Wherein the preset conditions are as follows: the method comprises the steps of presetting interface features, wherein the number of the preset interface features is larger than a preset number threshold. The preset interface features may include preset components or applets.
The configuration module can call the interface and receive the related Page of the application customized by the interactive interface provided by the user through the system UI. The configuration module can also store a user-defined related Page. Alternatively, the configuration module may configure or identify an interface at a next level of the main Page as a related Page of the first application.
The configuration module can analyze, configure or identify the main Page and the related Page of the application in response to the installation or the update of the application, and store the main Page and the related Page of the application. In response to the uninstallation of the application, the configuration module may delete the main Page and the related Page of the application saved in the configuration module.
And the Activity management module (such as an Activity manager AMS) is used for managing the Activity and is used for starting, switching and scheduling each component in the system, managing and scheduling the application program and the like. The window display module (window manager WMS) is used to manage the window program. The kernel layer is a layer between hardware and software. The kernel layer may contain display drivers, input/output device drivers (e.g., keyboard, touch screen, headphones, speakers, microphones, etc.), camera drivers, audio drivers, and sensor drivers, among others. The inner core layer of the folding screen electronic device may also include a folding drive. The folding drive is used for detecting the unfolding and folding of the folding screen.
The user performs an input operation (e.g., an operation of unfolding the folding screen) on the electronic device 100, and the kernel layer may generate a corresponding input event (e.g., an event of unfolding the folding screen) according to the input operation and report the event to the framework layer. Or, the sensor driver may drive the sensor to detect switching of a motion state (e.g., a landscape state and a portrait state) of the electronic device, and the kernel layer may generate a corresponding input event (e.g., a case that the portrait state is converted into the landscape state) according to the switching of the state, and report the event to the framework layer.
The Activity management module of the framework layer (for example) may monitor listening scene switching (i.e., determining whether the electronic device enters a preset scene) and application startup (i.e., determining whether the electronic device starts an application) in response to the time. If the electronic equipment enters a preset scene and the application is started, the main Page and the related Page of the application can be acquired from the configuration module. The Activity management module can judge whether the current interface of the application is a main Page; if the current interface of the application is the main Page of the application, it may be determined that the related Page is populated on the display screen. Wherein an application (e.g., app 1 or app 2) may invoke a start Activity interface to launch a corresponding Activity.
For example, assume that A is the main Page Activity of an application and B is the related Page Activity of the application. Taking the example that the electronic device enters the preset scene as "when the electronic device displays the main interface in the first state (for example, the electronic device with the non-folding screen is in the horizontal screen state or the folding screen is in the unfolding state), the scene of the interface of the first application is displayed in response to the click operation of the user on the icon of the first application". As shown in fig. 23B, an application (e.g., APK of the application) may call a startActivity () interface of the framework layer (i.e., FWK) to start main Page Activity (i.e., startActivity (a) shown in fig. 23B). At this time, as shown in fig. 23B, if FWK (e.g. Activity management module) detects that the currently activated Activity is main Page Activity and the main Page has a related Page, FWK may automatically call startActivity () to activate related Page Activity (i.e. startActivity (B) shown in fig. 23B).
Then, the Activity management module may request the window display module (i.e., the window management server WMS) to draw a window corresponding to the main Page Activity and the relatedPage Activity, and invoke the display driver to implement the display of the interface. The window display module may draw a main Page Activity and a relatedPage Activity window according to a request of the AMS, then transmit the drawn window data to a display driver of the kernel layer, and the display driver displays the preset home Page and the related pages in a dual window on a display screen (e.g., a folder).
It should be noted that, for detailed descriptions of each layer in the software structure shown in fig. 23A, reference may be made to the related description of fig. 6 in the foregoing embodiment, and details of the embodiment of the present application are not repeated herein. Taking the above-mentioned electronic device as an example, a mobile phone is taken as an example, and the technical solution provided by the embodiment of the present application is specifically described.
For convenience of understanding, the present embodiment here describes the landscape state and the portrait state described in the present embodiment.
When a user uses the non-folding screen electronic device or the folding screen electronic device in a folding state, the electronic device may be in a landscape screen state or a portrait screen state. The display screen of the electronic device (including the foldable screen in the folded state) may include four sides, where the four sides include two longer sides that are parallel and equal to each other, and may be referred to as long sides of the display screen; the four sides also include two short sides which are parallel and equal to each other, and can be called as short sides of the display screen. In the landscape state, the long side of the display screen of the electronic device is parallel to the horizontal plane (for example, as shown in fig. 24 (a)), that is, the included angle between the long side of the display screen and the horizontal plane is 0; or the angle 03 between the long side 01 of the display screen and the horizontal plane 02 is less than or equal to a preset value 1 (for example, as shown in (b) of fig. 24). The preset value 1 is less than or equal to 45 °, and the specific value of the preset value 1 may be set according to an actual application scenario, for example, the preset value 1 may be 20 °. In the landscape screen state, the display screen of the electronic device is substantially in a landscape bar shape.
In the landscape state, the height of the display screen of the electronic device is smaller than the width, and the aspect ratio (i.e. the ratio of the height to the width) of the display screen is smaller than 1. The height of the display screen is the length of the side with a smaller included angle between the display screen and the vertical plane, and the width of the display screen is the length of the side with a smaller included angle between the display screen and the horizontal plane. The height of the display screen can also be understood as the longitudinal length of the display screen, the width of the display screen can also be understood as the transverse length of the display screen, and the aspect ratio of the display screen can also be understood as the aspect ratio (i.e. the ratio of the longitudinal length to the transverse length) of the display screen.
In order to distinguish the landscape screen state from the portrait screen state, the portrait screen state is also described in the embodiments of the present application. In the portrait state, the long side of the display screen of the electronic device is perpendicular to the horizontal plane (e.g., as shown in fig. 24 (c)); or the angle 04 between the long side 01 of the display screen and the horizontal plane 02 is greater than a preset value 1 (for example, as shown in (d) in fig. 24, the preset value 1 is greater than or equal to 45 °). In the vertical screen state, the height of the display screen of the electronic equipment is larger than the width of the display screen, the height-width ratio of the display screen is larger than 1, and the display screen of the electronic equipment is basically in a vertical bar shape.
In some embodiments, the electronic device in the embodiments of the present application may be an unfolded-screen electronic device or a folded-screen electronic device. The non-folding screen electronic device or the folding screen electronic device is a mobile phone as an example. The preset scene is scene 1. The mobile phone entering the scene 1 means that: when the non-folding screen mobile phone is in a horizontal screen state and displays the main interface, receiving the click operation of a user on the icon of the first application, and displaying the scene of the interface of the first application. Or, the mobile phone entering the preset scene means: when the folding screen of the mobile phone displays the main interface in the unfolding state, receiving the click operation of a user on the icon of the first application, and displaying the scene of the interface of the first application. As shown in fig. 25, the method of displaying an application may include S2501 to S2505.
S2501, controlling a display screen of the mobile phone to display a main interface of the mobile phone when the display screen of the mobile phone is in a first state. The primary interface includes an icon of a first application. Wherein the first state is a landscape state; alternatively, the display screen is a folding screen and the first state is an unfolded state.
In one aspect, the mobile phone is a non-folding screen mobile phone, and the first state is a landscape screen state. For example, as shown in fig. 26 (a), the cell phone 2600 is an unfolded-screen cell phone, and the cell phone 2600 is in a landscape state. As shown in fig. 26 (a), the mobile phone 2600 displays a home interface 2601, and the home interface 2601 includes an icon 2602 of a first application.
In another case, the mobile phone is a folding screen mobile phone, that is, the display screen is a folding screen. In this case, the first state of the display screen is specifically: the folding screen is in a folding state and in a transverse screen state. Or, the display screen in the first state specifically includes: the folding screen is in an unfolded state. For example, take the case of a folding screen mobile phone in an unfolded state. As shown in (a) in fig. 27, the folding screen mobile phone 2700 is in an unfolded state, the folding screen mobile phone 2700 displays a home interface 2701, and the home interface 2701 includes an icon 2702 of a first application.
S2502, the mobile phone receives a first operation of the user on the icon of the first application, and the first operation is used for triggering the display screen to display a first interface of the first application.
For example, the first operation may be a single click operation. If the mobile phone receives a first operation of the user on the icon of the first application, the mobile phone does not run (including background running) the first application; then, in response to the first operation, the handset may then launch the first application. At this time, the first operation is used for triggering the mobile phone to start the first application and displaying a home page of the first application, that is, the first interface is the home page of the first application. In the embodiment of the present application, the "starting the first application in response to the first operation when the mobile phone does not run the first application" is referred to as: the handset cold starts the first application from the main interface (i.e. desktop). In this embodiment of the application, if the mobile phone cold-starts the first application from the home interface, the mobile phone may display a home page (i.e., a preset home page) of the first application in response to an operation (i.e., a first operation) of starting the first application, that is, the first interface is the preset home page.
If the mobile phone receives a first operation of the user on the icon of the first application, the mobile phone runs the first application in the background; then, in response to the first operation, the mobile phone may display an interface of the first application displayed by the mobile phone when the mobile phone switches the first application from foreground operation to background operation. In this case, the first interface may or may not be the first application's home page.
S2503, responding to the first operation, the mobile phone judges whether the first interface is a preset homepage of the first application.
The mobile phone may determine a preset home Page (main Page) of the first application through any one of the following implementation manners (I) - (III).
In implementation (I), the main Page of the first application is pre-configured in the configuration file of the installation package of the first application. When the first application is installed on the mobile phone, the configuration file of the installation package of the first application can be analyzed, and the preset homepage of the first application is obtained and stored. Generally, the main Page configured in the configuration file of the installation package of the first application is the first Page of the first application.
Of course, the main Page of the first application may not be included in the configuration file of the installation package of some applications. In this case, the mobile phone may determine the main Page of the first application through implementation (II) or implementation (III).
In Implementation (II), the main Page may be configured for the first application by the mobile phone. For example, the cell phone may configure the home Page of the first application as the main Page of the first application. I.e. main Page is the first application's home Page.
In implementation mode (III), the plurality of interfaces of the first application may be identified by the mobile phone, and the main Page of the first application may be determined from the plurality of interfaces. Specifically, the preset homepage may be an interface satisfying a preset condition among a plurality of interfaces of the first application. The preset conditions are as follows: the method comprises the steps of presetting interface features, wherein the number of the preset interface features is larger than a preset number threshold. For example, the preset interface features may include preset components or applets.
In the embodiment of the present application, the main Page described in the above implementation (I) -implementation (III) has different priorities. Specifically, the priority of the main Page in the implementation mode (I) is higher than that of the main Page in the implementation mode (II), and the priority of the main Page in the implementation mode (II) is higher than that of the main Page in the implementation mode (III). That is, if a main Page is included in the configuration file of the installation package of the first application, the mobile phone can preferentially use the main Page as the preset home Page of the first application.
Illustratively, the preset home page is the home page of the first application. From the above description it follows that: in response to a first operation of the user on the icon of the first application, the first interface of the first application to be displayed by the mobile phone may be a home page (i.e., a preset home page) of the first application or may not be the home page of the first application.
In this embodiment, the mobile phone may determine whether to display the preset home Page of the first application and the related Page configured in pair with the preset home Page in a dual-window manner by determining whether the first interface is the preset home Page (i.e., main Page) of the first application. Specifically, if the first interface is a preset home page of the first application, the mobile phone may execute S2504; if the first interface is not the preset home page of the first application, the cellular phone may perform S2505.
S2504, the mobile phone controls a first display area of the display screen to display a first interface, and controls a second display area of the display screen to display a second interface of the first application. The second interface is a related page configured in pair with a preset home page.
Wherein the second display area is not overlapped with the first display area. It should be noted that the related pages and the preset homepage are configured in pairs. Wherein, the mobile phone may determine a related Page of the first application through any one of the following implementation manners (i) - (iii).
In implementation (i), the related Page of the first application is pre-configured in the configuration file of the installation package of the first application. When the mobile phone installs the first application, the configuration file of the installation package of the first application can be analyzed, and the related page of the first application is obtained and stored. For example, the related Page configured in the configuration file of the installation package of the first application may be an interface of any next level of the first application's top Page.
In implementation (ii), the related Page may be configured for the first application by the handset. For example, the cell phone may configure any next-level interface of the first application's top Page as the related Page of the first application. I.e. the relevant page of the first application is the interface of the next level of the top page. For another example, the mobile phone may set a blank Page as a related Page of the first application. For another example, the mobile phone may set a preset Page (e.g., an interface including a preset identifier) as the related Page of the first application.
In implementation (iii), the related Page of the first application may be set in the mobile phone by the user. The mobile phone can receive the setting of the user, and set any interface of the first application as a related Page of the first application. The method for the mobile phone to receive the setting of the user and set the related Page for the first application may refer to the subsequent related description in the embodiment of the present application, which is not described herein again in the embodiment of the present application.
In the embodiment of the present application, the priority of the related Page described in the above implementation (i) -implementation (iii) is different. Specifically, the priority of the related Page in the implementation (ii) is higher than that of the related Page in the implementation (i), and the priority of the related Page in the implementation (i) is higher than that of the related Page in the implementation (ii). That is, if the user customizes the related Page of the first application in the mobile phone, the mobile phone may preferentially use the related Page as the related Page of the first application.
S2505, the mobile phone controls the display screen to display a first interface of the first application in a single window.
An example of the non-folding screen mobile phone 2600 in the landscape state is shown in fig. 26 (a). In general, in response to a first operation by a user on icon 2602 of a first application shown in (a) of fig. 26, cell phone 2600 can display a first interface 2603 shown in (b) of fig. 26. In the embodiment of the present application, in response to the first operation, the mobile phone 2600 does not directly display the first interface 2603; instead, S2503 is executed to determine whether the first interface 2603 is a main Page of the first application.
If first interface 2603 is main Page (e.g., home Page) of the first application, cell phone 2600 can execute S2504. For example, as shown in fig. 26 (c), the mobile phone 2600 may display a main Page (i.e., a first interface) 2604 of the first application in a first display area a of the display screen, and display a related Page (i.e., a second interface) 2605 arranged in a pair with the main Page in a second display area b of the display screen. If first interface 2603 is not main Page (e.g., home Page) of the first application, cell phone 2600 can execute S2505. As shown in (b) in fig. 26, the cellular phone 2600 may display the first interface 2603 in a single window.
A folding screen mobile phone 2700 in an unfolded state shown in fig. 27 (a) is taken as an example. In general, in response to a first operation of the icon 2702 of the first application shown in (a) in fig. 27 by the user, the cell phone 2700 may display the first interface 2703 shown in (b) in fig. 27. In the embodiment of the present application, in response to the first operation, the mobile phone 2700 does not directly display the first interface 2703; instead, S2503 is executed to determine whether the first interface 2703 is a main Page of the first application.
If the first interface 2703 is the main Page (e.g., the home Page) of the first application, the mobile phone 2700 may perform S2504. For example, as shown in fig. 27 (c), the mobile phone 2700 may display a main Page (i.e., a first interface) 2704 of the first application in the first display area a of the display screen, and display a related Page (i.e., a second interface) 2705 arranged in pair with the main Page in the second display area B of the display screen. If the first interface 2703 is not the main Page (e.g., the home Page) of the first application, the mobile phone 2700 may perform S2505. As shown in (b) in fig. 27, the cellular phone 2700 may display the first interface 2703 in a single window.
The embodiment of the application provides an application display method, and when a mobile phone can display a main interface in a horizontal screen state or an expanded state, in response to a first operation of a user on an icon of a first application, whether the first interface displayed by the mobile phone triggered by the first operation is a main Page of the first application can be judged. If the first interface is the main Page of the first application, the mobile phone can display the main Page of the first application and a related Page configured in pair with the main Page in a double window. So, the cell-phone that is in horizontal screen state or expansion state then can show two interfaces of first application at the display screen simultaneous, can make the display content of display screen abundanter like this, can promote the utilization ratio of display screen to promote user's visual experience.
In other embodiments, the electronic device in the embodiments of the present application may be an unfolded-screen electronic device or a folded-screen electronic device. The non-folding screen electronic device or the folding screen electronic device is a mobile phone as an example. The above-described preset scene is scene 2. The mobile phone entering the scene 2 means that: the non-folding screen mobile phone is changed from a vertical screen state to a horizontal screen state. Or, the mobile phone entering the preset scene means: the folding screen of the mobile phone is changed from a folding state to an unfolding state. As shown in fig. 28, the method of displaying an application may include S2801-S2804.
S2801, controlling a display screen of the mobile phone to display a first interface of a first application when the display screen is in a first state.
S2802, in response to the display screen changing from the first state to the second state, the mobile phone determines whether the first interface is a preset home page of the first application.
In one case, the mobile phone is an unfolded-screen mobile phone, and the first state is a vertical-screen state and the second state is a horizontal-screen state. For example, as shown in (a) of fig. 29, the mobile phone 2900 is an unfolded-screen mobile phone, and the mobile phone 2900 is in a vertical-screen state. As shown in (a) of fig. 29, the mobile phone 2900 displays a first interface 2901 of a first application (e.g., news application). As shown in fig. 29 (b) or 29 (c), the mobile phone 2900 is in a landscape state.
In another case, the mobile phone is a folding screen mobile phone, that is, the display screen is a folding screen. In this case, the first state of the display screen is specifically: the folding screen is in a folding state and in a vertical screen state; the display screen is specifically in the second state as follows: the folding screen is in a folding state and in a transverse screen state. For example, the mobile phone 2900 shown in (a) in fig. 29 may be a folding screen mobile phone, and the mobile phone 2900 is in a folded state and in a vertical screen state. As shown in (a) of fig. 29, the mobile phone 2900 displays a first interface 2901 of a first application (e.g., news application). As shown in fig. 29 (b) or 29 (c), the mobile phone 2900 is in a folded state and in a landscape state.
In another case, the mobile phone is a folding screen mobile phone, that is, the display screen is a folding screen. In this case, the first state is a folded state, and the second state is an unfolded state. For example, as shown in (a) of fig. 30, the mobile phone 3000 is a folding screen mobile phone, and the mobile phone 3000 is in a folded state. As shown in (a) of fig. 30, the cellular phone 3000 displays a first interface 3001 of a first application (e.g., a news application). As shown in fig. 30 (b) or fig. 30 (c), the cellular phone 3000 is in the unfolded state.
Specifically, if the first interface is a preset home page of the first application, the mobile phone may execute S2803; if the first interface is not the preset home page of the first application, the mobile phone may perform S2804.
S2803, the mobile phone controls a first display area of the display screen to display a first interface, and controls a second display area of the display screen to display a second interface of the first application. The second interface is a related page configured in pair with a preset home page.
Wherein the second display area is not overlapped with the first display area. It should be noted that the preset home page and the related page of the first application, and the method for determining whether the first interface is the preset home page of the first application by the mobile phone may refer to the related description in the embodiment of scenario 1, which are not described herein again in this embodiment of the application.
S2804, the mobile phone controls the display screen to display a first interface of the first application in a single window.
Take the mobile phone 2600 in the vertical screen state shown in fig. 29 (a) as an example. As shown in fig. 29 (a), the mobile phone 2600 in the portrait state displays a first interface 2901 of a first application (e.g., a news application). In general, in response to the cell phone 2600 changing from the portrait screen state shown in (a) of fig. 29 to the landscape screen state, the cell phone 2600 may display a first interface 2902 shown in (b) of fig. 29. In this embodiment, in response to the mobile phone 2600 being converted from the vertical screen state to the horizontal screen state shown in fig. 29 (a), the mobile phone 2600 does not directly display the first interface 2902; instead, S2802 is executed to determine whether the first interface 2901 is a main Page of the first application.
If first interface 2901 is main Page (e.g., home Page) for the first application, cell phone 2600 can perform S2803. For example, as shown in fig. 29 (c), the mobile phone 2600 may display a main Page (i.e., a first interface) 2903 of the first application in the first display area a of the display screen, and display a related Page (i.e., a second interface) 2904 arranged in a pair with the main Page in the second display area b of the display screen. If first interface 2901 is not main Page (e.g., home Page) for the first application, cell phone 2600 can perform S2804. As shown in (b) in fig. 29, the mobile phone 2600 may display the first interface 2902 in a single window.
Take, for example, a folding screen mobile phone 2700 shown in fig. 30 (a) in a folded state. As shown in fig. 30 (a), the mobile phone 2700 in a folded state displays a first interface 3001 of a first application (e.g., a news application). In general, the cell phone 3700 can display the first interface 3002 shown in (b) of fig. 30 in response to the cell phone 2700 being transitioned from the folded state shown in (a) of fig. 30 to the unfolded state. In the embodiment of the present application, in response to the mobile phone 2700 being changed from the folded state shown in (a) in fig. 30 to the unfolded state, the mobile phone 2700 does not directly display the first interface 3002; instead, S2802 is executed to determine whether the first interface 3001 is a main Page of the first application.
If the first interface 3001 is the main Page (e.g., the home Page) of the first application, the mobile phone 2700 may perform S2803. For example, as shown in fig. 30 (c), the mobile phone 2700 may display a main Page (i.e., a first interface) 3003 of a first application in a first display area a of the display screen, and display a related Page (i.e., a second interface) 3004 arranged in a pair with the main Page in a second display area B of the display screen. If the first interface 3001 is not the main Page (e.g., home Page) of the first application, the mobile phone 2700 may perform S2804. As shown in (b) in fig. 30, the mobile phone 2700 may display the first interface 3002 in a single window.
The embodiment of the application provides an application display method, a mobile phone displays a first interface of a first application in a first state, and in response to the mobile phone being changed from the first state to a second state, the mobile phone can judge whether the first interface displayed by the mobile phone triggered by a first operation is a main Page of the first application. If the first interface is the main Page of the first application, the mobile phone can display the main Page of the first application and a related Page configured in pair with the main Page in a double window. So, the cell-phone that is in horizontal screen state or expansion state then can show two interfaces of first application at the display screen simultaneous, can make the display content of display screen abundanter like this, can promote the utilization ratio of display screen to promote user's visual experience.
In other embodiments, the electronic device in the embodiments of the present application may be an unfolded-screen electronic device or a folded-screen electronic device. The non-folding screen electronic device or the folding screen electronic device is a mobile phone as an example. The above-mentioned preset scene is scene 3. The mobile phone entering the scene 3 means that: the non-folding screen mobile phone is in a horizontal screen state, and a scene of the first application is called in the second application. Or, the mobile phone entering the preset scene means: the folding screen of the folding screen mobile phone is in an unfolding state, and the mobile phone calls a scene of the first application in the second application. As shown in fig. 31A, the method of displaying an application may include S3101-S3105.
S3101, when the mobile phone is in the first state, the mobile phone controls the display screen to display the interface of the second application.
In one aspect, the mobile phone is a non-folding screen mobile phone, and the first state is a landscape screen state.
In another case, the mobile phone is a folding screen mobile phone, that is, the display screen is a folding screen. In this case, the first state of the display screen is specifically: the folding screen is in a folding state and in a transverse screen state.
In another case, the mobile phone is a folding screen mobile phone, that is, the display screen is a folding screen. In this case, the first state of the display screen is specifically: the folding screen is in an unfolded state.
S3102, the mobile phone receives a first operation of the user on the interface of the second application. The first operation is used for triggering the mobile phone to call the first application to display a first interface of the first application.
For example, the mobile phone is a folding screen mobile phone, and the first state is an unfolded state. As shown in (a) of fig. 31B, the cell phone displays a home page (i.e., a first interface of the first application) 3101 of the news application. At this time, the short message application (i.e., the second application) of the mobile phone receives the short message, and as shown in (a) of fig. 31B, the mobile phone may display a notification message 3102 of the short message on the notification bar. In response to the user clicking the prompt 3102, as shown in fig. 31B (B), the mobile phone may display an interface 3103 of a short message application (i.e., a second application) to present the short message to the user. As shown in fig. 31B (B), the mobile phone may display the interface of the short message application and display the prompt information 3104 for returning to the interface of the news application. The first operation may be a click operation of the presentation information 3104 by the user. The first operation is used for triggering the mobile phone to call the news application and displaying a home page of the news application.
S3103, in response to the first operation, the mobile phone determines whether the first interface is a preset home page of the first application.
Specifically, if the first interface is a preset home page of the first application, the mobile phone may perform S3104; if the first interface is not the preset home page of the first application, the cellular phone may perform S3105.
S3104, the mobile phone controls the first display area of the display screen to display the first interface and controls the second display area of the display screen to display the second interface of the first application. The second interface is a related page configured in pair with a preset home page.
Wherein the second display area is not overlapped with the first display area. It should be noted that the preset home page and the related page of the first application, and the method for determining whether the first interface is the preset home page of the first application by the mobile phone may refer to the related description in the embodiment of scenario 1, which are not described herein again in this embodiment of the application.
S3105, the mobile phone controls the display screen to display a first interface of the first application in a single window.
In connection with the above example, if the first interface 3101 shown in (a) in fig. 31B is a main Page of a news application (i.e., a first application), in response to a first operation by the user on the prompt information 3104 shown in (B) in fig. 31B, as shown in (c) in fig. 30, the cellular phone may display the first interface 3003 in the first display area a and the second interface 3004 in the second display area B. The second interface 3004 is a related Page of the news application. If the first interface 3101 shown in (a) of fig. 31B is not the main Page of the news application (i.e., the first application), the cellular phone may display the first interface 3002 in a single window in response to the user's first operation of the reminder information 3104 shown in (B) of fig. 31B, as shown in (B) of fig. 30.
The embodiment of the application provides an application display method, wherein a mobile phone displays an interface of a second application in a first state; in response to a first operation for triggering the mobile phone to call the first application to display the first interface, the mobile phone may determine whether the first interface displayed by the mobile phone triggered by the first operation is a main Page of the first application. If the first interface is the main Page of the first application, the mobile phone can display the main Page of the first application and a related Page configured in pair with the main Page in a double window. So, the cell-phone that is in horizontal screen state or expansion state then can show two interfaces of first application at the display screen simultaneous, can make the display content of display screen abundanter like this, can promote the utilization ratio of display screen to promote user's visual experience.
In other embodiments, the electronic device in the embodiments of the present application may be an unfolded-screen electronic device or a folded-screen electronic device. The non-folding screen electronic device or the folding screen electronic device is a mobile phone as an example. The above-mentioned preset scene is scene 4. The mobile phone entering the scene 4 means that: the non-folding screen mobile phone is in a horizontal screen state, and quits from a double-window state to display a plurality of application scenes. Or, the mobile phone entering the preset scene means: the folding screen of the folding screen mobile phone is in an unfolded state, and exits from the double windows to display a plurality of application scenes. As shown in FIG. 32, the method of displaying an application may include S3201-S3204.
S3201, when the mobile phone is in the first state, controlling a first display area of the display screen to display a first interface of the first application, and controlling a second display area of the display screen to display an interface of the second application.
In one aspect, the mobile phone is a non-folding screen mobile phone, and the first state is a landscape screen state.
In another case, the mobile phone is a folding screen mobile phone, that is, the display screen is a folding screen. In this case, the first state of the display screen is specifically: the folding screen is in a folding state and in a transverse screen state.
In another case, the mobile phone is a folding screen mobile phone, that is, the display screen is a folding screen. In this case, the first state of the display screen is specifically: the folding screen is in an unfolded state.
Take the case where the mobile phone is a folding screen mobile phone and the first state is an unfolded state. As shown in fig. 33 (a), the folding screen mobile phone 2700 is in an unfolded state, and the first display area a of the folding screen mobile phone 2700 displays a first interface 3301 of a first application (e.g., a news application), and the second display area B displays an interface 3302 of a second application (e.g., a setup application).
S3202, the mobile phone receives a first operation of the user. The first operation is used for triggering the display screen to quit displaying the interface of the second application and only displaying the first interface.
For example, the first operation may be a preset gesture. The preset gesture is used for triggering the display screen of the mobile phone to quit displaying the interface of the second application and only displaying the first interface. For example, the preset gesture may be an S-shaped gesture, an L-shaped gesture, a v-shaped gesture, or the like. Alternatively, the first operation may be a drag operation by the user on a boundary (a boundary 2101 shown in fig. 21) between the first display area and the second display area. The dragging operation is used for triggering the display screen of the mobile phone to quit displaying the interface of the second application and only displaying the first interface.
S3203, in response to the first operation, the mobile phone determines whether the first interface is a preset home page of the first application.
Specifically, if the first interface is a preset home page of the first application, the mobile phone may execute S3204; if the first interface is not the preset home page of the first application, the cellular phone may perform S3205.
S3204, the first interface is displayed in a first display area of a display screen controlled by the mobile phone, and a second interface of the first application is displayed in a second display area of the display screen controlled by the mobile phone. The second interface is a related page configured in pair with a preset home page.
Wherein the second display area is not overlapped with the first display area. It should be noted that the preset home page and the related page of the first application, and the method for determining whether the first interface is the preset home page of the first application by the mobile phone may refer to the related description in the embodiment of scenario 1, which are not described herein again in this embodiment of the application.
S3205, the mobile phone controls the display screen to display the first interface of the first application in a single window.
A folding screen mobile phone 2700 in an unfolded state shown in fig. 33 (a) is taken as an example. As shown in fig. 33 (a), the first display area a of the mobile phone 2700 in the unfolded state displays a first interface 3301 of a first application (e.g., a news application), and the second display area B displays an interface 3302 of a second application (e.g., a setup application). In general, in response to the above-described first operation, the mobile phone 2700 may display the first interface in a single window, for example, the mobile phone 3700 may display the first interface 3303 shown in (b) of fig. 33. In the embodiment of the present application, in response to the first operation, the mobile phone 2700 does not directly display the first interface 3303 in a single window; s3203 is executed to determine whether the first interface 3301 is the main Page of the first application.
If the first interface 3301 is main Page (e.g., home Page) of the first application, the mobile phone 2700 may perform S3204. For example, as shown in fig. 33 (c), the mobile phone 2700 may display a main Page (i.e., a first interface) 3304 of the first application in the first display area a of the display screen, and display a related Page (i.e., a second interface) 3305 arranged in pair with the main Page in the second display area B of the display screen. If the first interface 3301 is not main Page (e.g., home Page) of the first application, the mobile phone 2700 may perform S3205. As shown in (b) in fig. 33, the mobile phone 2700 may display the first interface 3303 in a single window.
The embodiment of the application provides an application display method, wherein a mobile phone displays a first interface of a first application and an interface of a second application in a double window mode in a first state; in response to the interface for triggering the mobile phone to quit displaying the second application, only the first operation of the first interface is displayed, and the mobile phone can judge whether the first interface displayed by the mobile phone triggered by the first operation is the main Page of the first application. If the first interface is the main Page of the first application, the mobile phone can display the main Page of the first application and a related Page configured in pair with the main Page in a double window. So, the cell-phone that is in horizontal screen state or expansion state then can show two interfaces of first application at the display screen simultaneous, can make the display content of display screen abundanter like this, can promote the utilization ratio of display screen to promote user's visual experience.
Optionally, in the preset scenario (for example, any scenario of scenarios 1 to 4), before performing the above S2503, S2802, S3103, or S3203, the mobile phone may determine whether the first application supports dual-window display. If the first application supports dual window display, S2503, S2802, S3103, or S3203 may be performed.
The principle of the method described in scenarios 1-4 above is described below with reference to fig. 34A. As shown in fig. 34A, after the mobile phone enters the preset scene (i.e., 3410), it may be determined whether the first application supports dual-window display (i.e., 3420 is executed). If the first application supports dual-window display, the mobile phone may determine whether the current window (i.e., the window corresponding to the first interface) is the main Page of the first application (i.e., execute S3430). If the first interface is a main Page of the first application, an Activity position of the first interface may be set in a first display area (e.g., a left display area) (i.e., execution 3440). The handset may then call the start Activity () interface, automatically launching the second interface (i.e., execute 3450). Wherein the second interface is a related Page of the first application. Finally, the cell phone may set the Activity location of the second interface in the second display area (e.g., the display area on the right) (i.e., execute 3460).
Corresponding to fig. 34A, fig. 34B shows a functional block diagram of a method provided by an embodiment of the present application. As shown in fig. 34B, 34a shows a preset scene entry provided in the embodiment of the present application. The mobile phone executes 3410 shown in fig. 34A, and after entering the preset scene shown in fig. 34B, 34B may be executed to identify whether the first interface is a preset home Page (i.e., main Page) of the first application (i.e., 3430 shown in fig. 34A). Alternatively, before 34B shown in fig. 34B, the handset may determine whether the first application supports dual window display. If the first application supports dual window display, 34b may be executed. Three sources of the preset home Page (i.e., main Page) of the first application, i.e., three main pages shown in the above-described implementation (I) -implementation (III), are shown in 34 b. If the first interface is main Page of the first application, 34c shown in FIG. 34B can be executed to launch the related Page (i.e., related Page) of the first application, i.e., 3450 shown in FIG. 34A. Among them, 34c shows three sources of related pages (related pages) of the first application, namely, three related pages shown in the above-described implementation (i) -implementation (iii). Finally, the mobile phone may execute 34d shown in fig. 34B, display a preset home page in the first display area (e.g., left display area), and display related pages, i.e., 3440 and 3460 shown in fig. 34A, in the second display area (e.g., right display area).
In any of the above scenarios 1 to 4, after the mobile phone controls the first display area of the display screen to display the first interface and controls the second display area of the display screen to display the second interface of the first application, the mobile phone may receive a click operation of a Back (Back) key in a navigation bar of the mobile phone from a user. The mobile phone has different focus interfaces, and different operations can be executed by the mobile phone in response to the click operation of a Back key by a user.
In some embodiments, after S2504, S2803, S3104, or S3204 described above, the method of embodiments of the present application may further include S1 and S2. S1: and responding to a second operation of the user on the first interface, and controlling the display screen to display the main interface of the mobile phone by the mobile phone. And responding to the second operation of the first interface, and the mobile phone does not run the first application in the background. S2: and responding to a second operation of the user on the second interface, and controlling the display screen to display the main interface of the mobile phone by the mobile phone. And responding to a second operation on the second interface, and running the first application in the background by the mobile phone.
And the second operation comprises clicking operation on a Back key in a navigation bar of the mobile phone. The Navigation Bar (Navigation Bar) in the application is a shortcut button Bar at the bottom of a mobile phone screen, generally appears at the bottom of the mobile phone screen in the form of virtual keys, and the Navigation Bar defaults to comprise three buttons of a Back key, a Home key and a Recent key. The Back key is used for returning to the previous interface, the Home key is used for returning to the desktop, and the register key is used for displaying the application program which is used recently. As shown in (a) in fig. 35, a Back key 3501, a Home key 3502, and a percent key 3503 are included in the navigation bar 3500. As shown in (a) of fig. 35, the first display area a of the mobile phone displays a first interface 3504 of the first application, and the second display area B displays a second interface 3505 of the first application.
In this embodiment of the application, the second operation performed by the user on the first interface may be a click operation (e.g., a click operation) performed by the user on a Back key when the first interface is a focus interface (e.g., an interface currently operated by the user or a selected interface). The second operation of the user on the second interface may be a click operation (e.g., a single-click operation) on the Back key by the user when the second interface is the focus interface.
And the mobile phone can return to the main interface in response to the second operation on the first interface or the second interface. However, the differences are: since the first interface is the main Page of the first application; therefore, the first application cannot be run in the background after the mobile phone displays the main interface in response to the second operation of the user on the first interface.
Specifically, in response to the second operation of the user on the first interface, the mobile phone may execute an Activity finish flow for the main Page Activity and the related Page Activity to delete the main Page Activity and the related Page Activity. And responding to a second operation of the user on the second interface, the mobile phone can intercept the Activity finish flow, can call the moveToBack function, and keeps the main Page Activity window and the related Page Activity window in the background, namely the mobile phone can run the first application in the background.
For example, please refer to table 1, which illustrates the control principle of the mobile phone responding to the second operation in the embodiment of the present application.
TABLE 1
Figure BDA0002239830240000391
For example, as shown in (a) in fig. 35, the first interface 3504 displayed by the first display area a is a focus interface, i.e., the interfaces in the black line frame are focus interfaces. The handset executes S1: in response to a user's clicking operation of the Back key 3501 shown in (a) of fig. 35 (i.e., a second operation of the first interface 3504), the main interface 3701 shown in (a) of fig. 27 may be displayed.
For another example, as shown in (B) in fig. 35, the second interface 3505 displayed by the second display region B is a focus interface, that is, an interface in the black line frame is a focus interface. The handset executes S2: in response to a user's clicking operation of the Back key 3501 shown in (b) of fig. 35 (i.e., a second operation of the second interface 3505), the main interface 3701 shown in (a) of fig. 27 may be displayed.
However, the differences are: in response to a user clicking a Back key 3501 shown in (a) of fig. 35, the mobile phone does not run the first application in the background; and in response to the user's click operation on the Back key 3501 shown in (b) of fig. 35, the cellular phone may continue to run the first application in the background.
It should be noted that, the mobile phone may display a task window of an application that has been recently run and is not closed in response to a preset operation (for example, a double-click operation on the Home key 3502 or a single-click operation on the receive key) performed by the user on the mobile phone, so as to determine whether the first application is still running in response to the second operation by the mobile phone. For a specific method for displaying the task window of the application that has been recently run and is not closed by the mobile phone in response to the preset operation, reference may be made to the related description of fig. 14 in the foregoing embodiment, and details of the embodiment of the present application are omitted here.
In other embodiments, after S2504, S2803, S3104, or S3204, the method of the embodiment of the present application may further include Sa and Sb. Sa: and responding to a second operation of the user on the first interface, and controlling the display screen to display the main interface by the mobile phone. The second operation comprises clicking operation of a Back key in a navigation bar of the mobile phone. And responding to a second operation on the second interface, and running the first application in the background by the mobile phone. Sb: and responding to a second operation of the user on the second interface, and controlling the display screen to display the first interface in the first display area and the second interface in the second display area without any operation of the mobile phone.
Specifically, in response to the second operation of the user on the first interface, the mobile phone may call the movetoack function, and reserve the main Page Activity window and the related Page Activity window in the background, that is, the mobile phone may run the first application in the background. In response to a second operation of the second interface by the user, the mobile phone can run the first application in the background.
For example, please refer to table 2, which illustrates the control principle of the mobile phone responding to the second operation in the embodiment of the present application.
TABLE 2
Figure BDA0002239830240000401
For example, as shown in (a) in fig. 35, the first interface 3504 displayed by the first display area a is a focus interface, i.e., the interfaces in the black line frame are focus interfaces. The mobile phone executes Sa: in response to a user's clicking operation of the Back key 3501 shown in (a) of fig. 35 (i.e., a second operation of the first interface 3504), the main interface 3701 shown in (a) of fig. 27 may be displayed.
For another example, as shown in (B) in fig. 35, the second interface 3505 displayed by the second display region B is a focus interface, that is, an interface in the black line frame is a focus interface. The mobile phone executes the Sb: in response to a user's clicking operation of the Back key 3501 shown in (b) of fig. 35 (i.e., a second operation of the second interface 3505), the main interface 3701 shown in (a) of fig. 27 may be displayed. Or, the handset executes Sb: in response to a user's clicking operation on the Back key 3501 shown in (B) of fig. 35 (i.e., a second operation on the second interface 3505), the interface shown in (B) of fig. 35 may be continuously displayed, i.e., the first interface 3504 is displayed in the first display area a and the second interface 3505 is displayed in the second display area B.
Note that, unlike S1 described above,: the mobile phone executes Sa: in response to a user's click operation on the Back key 3501 shown in (a) of fig. 35, the cellular phone may continue to run the first application in the background.
In the embodiment of the present application, a method for a user to customize a related Page (i.e., a related Page) of a first application in any one of the scenarios 1 to 4 is described herein. For example, the mobile phone may display a third interface of the first application in the first state or the second state. The mobile phone can receive a preset gesture input by a user on the third interface, and the preset gesture is used for configuring a related page of the first application. In response to the preset gesture, the mobile phone may configure the third interface as a related Page (i.e., a related Page) of the first application.
For example, the preset gesture may be a three-finger pinch gesture, a two-finger slide-up gesture, a three-finger slide-down gesture, or the like. In the following embodiments, the preset gesture is a three-finger pinch gesture as an example.
The first state can be a horizontal screen state, and the second state is a vertical screen state; alternatively, the first state is an unfolded state and the second state is a folded state.
It should be noted that, when the mobile phone is in the vertical screen state or the folded state, the third interface may be displayed in a single window. For example, as shown in (a) in fig. 36, the mobile phone is in a portrait state, and the mobile phone displays the third interface 3601. In response to a preset gesture input by the user at the third interface 3601 shown in fig. 36 (a), the mobile phone may set the third interface 3601 as a related Page of the first application. Alternatively, in response to a preset gesture input by the user on the third interface 3601 shown in fig. 36 (a), the mobile phone may display the prompt information 3602 shown in fig. 36 (b), and in response to a selection operation of the user on the "yes" option in the prompt information 3602, the mobile phone may set the third interface 3601 as a related Page of the first application.
The mobile phone can display the third interface in a single window or double windows when being in a horizontal screen state or an expansion state. The mobile phone displays a third interface through the double windows, and specifically comprises the following steps: the mobile phone displays two interfaces in a double window, and the third interface is one of the two interfaces.
For example, as shown in (a) in fig. 37, the cellular phone is in an expanded state, and the third interface 3701 is displayed in a single window. In response to a preset gesture input by the user at the third interface 3701 shown in (a) of fig. 37, the cellular phone may display prompt information 3702 shown in (b) of fig. 37, and in response to a selection operation of the yes option in the prompt information 3702 by the user, the cellular phone may set the third interface 3701 as a related Page of the first application.
For another example, as shown in (a) of fig. 38, the cellular phone is in the unfolded state, and the third interface 3505 and the other interface 3504 are displayed in two windows. In response to a preset gesture input by the user at the third interface 3505 shown in (a) of fig. 38, the cellular phone may display the prompt information 3801 shown in (b) of fig. 38, and in response to a selection operation of the user on the "yes" option in the prompt information 3801, the cellular phone may set the third interface 3505 as a related Page of the first application.
The mobile phone can store a related Page set (i.e. customized) for the first application by the user. For example, as shown in FIG. 23A, the handset can save a user-defined related Page in the configuration module.
Still other embodiments of the present application provide an electronic device, which may include: the folding screen, memory, and one or more processors described above. The folding screen, memory and processor are coupled. The memory is for storing computer program code comprising computer instructions. When the processor executes the computer instructions, the electronic device may perform various functions or steps performed by the mobile phone in the above-described method embodiments. The structure of the electronic device may refer to the structure of the electronic device 100 shown in fig. 4.
Other embodiments of the present application further provide an apparatus for displaying applications, wherein the apparatus can be applied to an electronic device including the foldable screen. The device is used for executing each function or step executed by the mobile phone in the method embodiment.
Embodiments of the present application further provide a chip system, as shown in fig. 39, the chip system includes at least one processor 3901 and at least one interface circuit 3902. Processor 3901 and interface circuit 3902 may be interconnected by wires. For example, interface circuit 3902 may be used to receive signals from other devices (e.g., a memory of an electronic device). Also for example, interface circuit 3902 may be used to transmit signals to other devices (e.g., processor 3901). Illustratively, the interface circuit 3902 may read instructions stored in the memory and send the instructions to the processor 3901. The instructions, when executed by processor 3901, may cause the electronic device to perform the various steps in the embodiments described above. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device is enabled to execute each function or step executed by the mobile phone in the foregoing method embodiment.
The embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute each function or step executed by the mobile phone in the above method embodiments.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (55)

1. A method of displaying an application, applied to an electronic device including a foldable screen, the foldable screen being foldable to form at least two screens, the at least two screens including a first screen and a second screen, the foldable screen being in a folded state with the first screen and the second screen facing away from each other, the method comprising:
the folding screen controls the first screen to display a first interface in the folding state;
in response to the folding screen being changed from the folding state to the unfolding state, controlling a first display area of the folding screen to display the first interface and controlling a second display area of the folding screen to display a second interface; wherein the second display area is not overlapped with the first display area; the second interface is different from the first interface;
the folded state is a state in which an included angle between the first screen and the second screen is smaller than a preset angle threshold, and the unfolded state is a state in which the included angle between the first screen and the second screen is greater than or equal to the preset angle threshold; or, fold condition does first screen with the contained angle of second screen is less than or equal to the state of predetermineeing the angle threshold value, it does to expand the state first screen with the contained angle of second screen is greater than predetermineeing the state of angle threshold value.
2. The method of claim 1, further comprising:
controlling the first screen to display the first interface or the second interface in response to the foldable screen transitioning from the unfolded state to the folded state.
3. The method according to claim 1 or 2, wherein the first display area is a display area corresponding to the first screen, and the second display area is a display area corresponding to the second screen; alternatively, the first and second electrodes may be,
the first display area and the second display area are configured in the electronic equipment in advance; alternatively, the first and second electrodes may be,
the first display area and the second display area are set in the electronic device by a user.
4. The method of any of claims 1-3, wherein the first interface and the second interface are both interfaces of a first application;
the second interface is a home page of the first application; alternatively, the first and second electrodes may be,
the second interface is an interface of a previous level of the first interface; alternatively, the first and second electrodes may be,
the second interface is an interface of a next hierarchy of the first interface.
5. The method of any of claims 1-3, wherein the first interface is an interface of a first application and the second interface is an interface of a second application, the second application being different from the first application;
The second application is any application of one or more applications that have been recently run and not closed by the electronic device in addition to the first application.
6. The method according to any one of claims 1-5, further comprising:
the folding screen receives a first operation of a user on the first interface displayed in the first display area in the unfolding state, wherein the first operation is used for triggering the first display area to display a third interface;
and responding to the first operation, controlling the first display area of the folding screen to display the third interface, and controlling the second display area to display the second interface.
7. The method of claim 6, further comprising:
the folding screen receives a second operation of the user on the second interface displayed in the second display area in the unfolded state, wherein the second operation is used for triggering the second display area to display a fourth interface;
and responding to the second operation, controlling the second display area of the folding screen to display the fourth interface, and controlling the first display area to display the third interface.
8. A method of displaying an application, applied to an electronic device including a foldable screen, the foldable screen being foldable to form at least two screens, the at least two screens including a first screen and a second screen, the foldable screen being in a folded state with the first screen and the second screen facing away from each other, the method comprising:
the folding screen controls the first screen to display a first interface in the folding state;
controlling a first display area and a second display area of the folding screen as a whole to centrally display the first interface in response to the folding screen being transitioned from the folded state to the unfolded state; wherein the second display area is not overlapped with the first display area;
the folding screen receives a first operation of a user on the first interface, and the first operation is used for triggering the folding screen to display a second interface;
in response to the first operation, controlling the first display area of the folding screen to display the first interface, and controlling the second display area to display the second interface;
the folded state is a state in which an included angle between the first screen and the second screen is smaller than a preset angle threshold, and the unfolded state is a state in which the included angle between the first screen and the second screen is greater than or equal to the preset angle threshold; or, fold condition does first screen with the contained angle of second screen is less than or equal to the state of predetermineeing the angle threshold value, it does to expand the state first screen with the contained angle of second screen is greater than predetermineeing the state of angle threshold value.
9. The method of claim 8, further comprising:
controlling the first screen to display the first interface or the second interface in response to the foldable screen transitioning from the unfolded state to the folded state.
10. The method according to claim 8 or 9, wherein the first display area is a display area corresponding to the first screen, and the second display area is a display area corresponding to the second screen; alternatively, the first and second electrodes may be,
the first display area and the second display area are configured in the electronic equipment in advance; alternatively, the first and second electrodes may be,
the first display area and the second display area are set in the electronic device by a user.
11. The method according to any one of claims 8-10, further comprising:
the folding screen receives a second operation of the first interface displayed in the first display area by a user in the unfolding state, wherein the second operation is used for triggering the first display area to display a third interface;
and responding to the first operation, controlling the first display area of the folding screen to display the third interface, and controlling the second display area to display the second interface.
12. The method of claim 11, further comprising:
the folding screen receives a third operation of a user on the second interface displayed in the second display area in the unfolded state, wherein the second operation is used for triggering the second display area to display a fourth interface;
and responding to the third operation, controlling the second display area of the folding screen to display the fourth interface, and controlling the first display area to display the third interface.
13. A method for displaying an application, applied to an electronic device including a foldable screen, the foldable screen being foldable to form at least two screens, the at least two screens including a first screen and a second screen, the foldable screen being in a folded state, the first screen being opposite to the second screen, a back surface of the first screen being provided with a third screen, the method comprising:
the folding screen controls the third screen to display a first interface in the folding state;
in response to the foldable screen being changed from the folded state to the unfolded state, controlling a first display area of the foldable screen to display the first interface, and controlling a second display area of the foldable screen to display a second interface; wherein the second display area is not overlapped with the first display area; the second interface is different from the first interface;
The folded state is a state in which an included angle between the first screen and the second screen is smaller than a preset angle threshold, and the unfolded state is a state in which the included angle between the first screen and the second screen is greater than or equal to the preset angle threshold; or, fold condition does first screen with the contained angle of second screen is less than or equal to the state of predetermineeing the angle threshold value, it does to expand the state first screen with the contained angle of second screen is greater than predetermineeing the state of angle threshold value.
14. The method of claim 13, further comprising:
controlling the third screen to display the first interface or the second interface in response to the folded screen transitioning from the unfolded state to the folded state.
15. The method according to claim 13 or 14, wherein the first display area is a display area corresponding to the first screen, and the second display area is a display area corresponding to the second screen; alternatively, the first and second electrodes may be,
the first display area and the second display area are configured in the electronic equipment in advance; alternatively, the first and second electrodes may be,
the first display area and the second display area are set in the electronic device by a user.
16. The method of any of claims 13-15, wherein the first interface and the second interface are both interfaces of a first application;
the second interface is a home page of the first application; alternatively, the first and second electrodes may be,
the second interface is an interface of a previous level of the first interface; alternatively, the first and second electrodes may be,
the second interface is an interface of a next hierarchy of the first interface.
17. The method of any of claims 13-15, wherein the first interface is an interface of a first application and the second interface is an interface of a second application, the second application being different from the first application;
the second application is any application of one or more applications that have been recently run and not closed by the electronic device in addition to the first application.
18. The method according to any one of claims 13-17, further comprising:
the folding screen receives a first operation of a user on the first interface displayed in the first display area in the unfolding state, wherein the first operation is used for triggering the first display area to display a third interface;
and responding to the first operation, controlling the first display area of the folding screen to display the third interface, and controlling the second display area to display the second interface.
19. The method of claim 18, further comprising:
the folding screen receives a second operation of the user on the second interface displayed in the second display area in the unfolded state, wherein the second operation is used for triggering the second display area to display a fourth interface;
and responding to the second operation, controlling the second display area of the folding screen to display the fourth interface, and controlling the first display area to display the third interface.
20. An electronic device, comprising a folding screen, a memory, and one or more processors; the foldable screen can be folded to form at least two screens, the at least two screens comprise a first screen and a second screen, and the first screen and the second screen are opposite to each other when the foldable screen is in a folded state; the folding screen, the memory and the processor are coupled; the memory for storing computer program code, the computer program code comprising computer instructions that, when executed by the processor, the electronic device performs:
the processor is used for controlling the first screen to display a first interface when the folding screen is in the folding state;
The processor is further configured to control a first display area of the foldable screen to display the first interface and a second display area of the foldable screen to display a second interface in response to the foldable screen being converted from the folded state to the unfolded state; wherein the second display area is not overlapped with the first display area; the second interface is different from the first interface;
the folded state is a state in which an included angle between the first screen and the second screen is smaller than a preset angle threshold, and the unfolded state is a state in which the included angle between the first screen and the second screen is greater than or equal to the preset angle threshold; or, fold condition does first screen with the contained angle of second screen is less than or equal to the state of predetermineeing the angle threshold value, it does to expand the state first screen with the contained angle of second screen is greater than predetermineeing the state of angle threshold value.
21. The electronic device of claim 20, wherein the processor is further configured to control the first screen to display the first interface or the second interface in response to the foldable screen transitioning from the unfolded state to the folded state.
22. The electronic device according to claim 20 or 21, wherein the first display area is a display area corresponding to the first screen, and the second display area is a display area corresponding to the second screen; alternatively, the first and second electrodes may be,
the first display area and the second display area are configured in the electronic equipment in advance; alternatively, the first and second electrodes may be,
the first display area and the second display area are set in the electronic device by a user.
23. The electronic device of any of claims 20-22, wherein the first interface and the second interface are both interfaces of a first application;
the second interface is a home page of the first application; alternatively, the first and second electrodes may be,
the second interface is an interface of a previous level of the first interface; alternatively, the first and second electrodes may be,
the second interface is an interface of a next hierarchy of the first interface.
24. The electronic device of any of claims 20-23, wherein the first interface is an interface of a first application and the second interface is an interface of a second application, the second application being different from the first application;
the second application is any application of one or more applications that have been recently run and not closed by the electronic device in addition to the first application.
25. The electronic device according to any of claims 20-24, wherein the processor is further configured to receive, in the unfolded state, a first operation of the first interface displayed in the first display area by a user, where the first operation is used to trigger the first display area to display a third interface;
the processor is further configured to control the first display area of the folding screen to display the third interface and the second display area to display the second interface in response to the first operation.
26. The electronic device according to claim 25, wherein the processor is further configured to receive, in the unfolded state, a second operation of the second interface displayed in the second display area by the user, where the second operation is used to trigger the second display area to display a fourth interface;
the processor is further configured to control the second display area of the foldable screen to display the fourth interface and the first display area to display the third interface in response to the second operation.
27. An electronic device, comprising a folding screen, a memory, and one or more processors; the foldable screen can be folded to form at least two screens, the at least two screens comprise a first screen and a second screen, and the first screen and the second screen are opposite to each other when the foldable screen is in a folded state; the folding screen, the memory and the processor are coupled; the memory for storing computer program code, the computer program code comprising computer instructions that, when executed by the processor, the electronic device performs:
The processor is used for controlling the first screen to display a first interface when the folding screen is in the folding state;
the processor is further configured to control a first display area and a second display area of the foldable screen as a whole to centrally display the first interface in response to the foldable screen being transitioned from the folded state to the unfolded state; wherein the second display area is not overlapped with the first display area;
the processor is further configured to receive a first operation of a user on the first interface, where the first operation is used to trigger the folding screen to display a second interface;
the processor is further configured to control the first display area of the folding screen to display the first interface and the second display area to display the second interface in response to the first operation;
the folded state is a state in which an included angle between the first screen and the second screen is smaller than a preset angle threshold, and the unfolded state is a state in which the included angle between the first screen and the second screen is greater than or equal to the preset angle threshold; or, fold condition does first screen with the contained angle of second screen is less than or equal to the state of predetermineeing the angle threshold value, it does to expand the state first screen with the contained angle of second screen is greater than predetermineeing the state of angle threshold value.
28. The electronic device of claim 27, wherein the processor is further configured to control the first screen to display the first interface or the second interface in response to the foldable screen transitioning from the unfolded state to the folded state.
29. The electronic device according to claim 27 or 28, wherein the first display area is a display area corresponding to the first screen, and the second display area is a display area corresponding to the second screen; alternatively, the first and second electrodes may be,
the first display area and the second display area are configured in the electronic equipment in advance; alternatively, the first and second electrodes may be,
the first display area and the second display area are set in the electronic device by a user.
30. The electronic device according to any of claims 27-29, wherein the processor is further configured to receive, in the unfolded state, a second operation of the first interface displayed in the first display area by a user, where the second operation is used to trigger the first display area to display a third interface;
the processor is further configured to control the first display area of the folding screen to display the third interface and the second display area to display the second interface in response to the first operation.
31. The electronic device according to claim 30, wherein the processor is further configured to receive, in the unfolded state, a third operation of the second interface displayed in the second display area by a user, where the second operation is used to trigger the second display area to display a fourth interface;
the processor is further configured to control the second display area of the foldable screen to display the fourth interface and the first display area to display the third interface in response to the third operation.
32. An electronic device, comprising a folding screen, a memory, and one or more processors; the foldable screen can be folded to form at least two screens, the at least two screens comprise a first screen and a second screen, and the first screen and the second screen are opposite when the foldable screen is in a folded state; a third screen is arranged on the back of the first screen; the folding screen, the third screen, the memory and the processor are coupled; the memory for storing computer program code, the computer program code comprising computer instructions that, when executed by the processor, the electronic device performs:
The processor is used for controlling the third screen to display a first interface when the folding screen is in the folding state;
the processor is further configured to control a first display area of the foldable screen to display the first interface and a second display area of the foldable screen to display a second interface in response to the foldable screen being converted from the folded state to the unfolded state; wherein the second display area is not overlapped with the first display area; the second interface is different from the first interface;
the folded state is a state in which an included angle between the first screen and the second screen is smaller than a preset angle threshold, and the unfolded state is a state in which the included angle between the first screen and the second screen is greater than or equal to the preset angle threshold; or, fold condition does first screen with the contained angle of second screen is less than or equal to the state of predetermineeing the angle threshold value, it does to expand the state first screen with the contained angle of second screen is greater than predetermineeing the state of angle threshold value.
33. The electronic device of claim 32, wherein the processor is further configured to control the third screen to display the first interface or the second interface in response to the foldable screen transitioning from the unfolded state to the folded state.
34. A method for displaying an application, applied to an electronic device, the method comprising:
when a display screen of the electronic equipment is in a first state, controlling the display screen to display a main interface of the electronic equipment, wherein the main interface comprises an icon of a first application; wherein the first state is a landscape state; or the display screen is a folding screen, and the first state is an unfolding state;
receiving a first operation of a user on an icon of the first application, wherein the first operation is used for triggering the display screen to display a first interface of the first application;
responding to the first operation, if the first interface is a preset home page of the first application, controlling a first display area of the display screen to display the first interface, and controlling a second display area of the display screen to display a second interface of the first application; wherein the second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area;
the unfolding state is a state that an included angle between a first screen and a second screen of the folding screen is larger than or equal to a preset angle threshold value; the horizontal screen state is a state that an included angle between the long edge of the display screen and the horizontal plane is smaller than a preset value.
35. The method according to claim 34, wherein the preset home page is pre-configured in a configuration file of an installation package of the first application; alternatively, the first and second electrodes may be,
the preset home page is a home page of the first application; alternatively, the first and second electrodes may be,
the preset homepage is an interface meeting preset conditions in the plurality of interfaces of the first application, and the preset conditions are as follows: the method comprises the steps that preset interface features are included, the number of the preset interface features is larger than a preset number threshold, and the preset interface features comprise preset components or small programs.
36. The method according to claim 34 or 35, wherein the related page is pre-configured in a configuration file of an installation package of the first application; alternatively, the first and second electrodes may be,
the related page is an interface of a next level of a home page of the first application;
the related page is set in the electronic device by a user.
37. The method according to any one of claims 34-36, further comprising:
the display screen is in the first state or the second state, and a third interface of the first application is displayed; wherein the first state is the landscape screen state and the second state is the portrait screen state; or, the first state is the unfolded state and the second state is the folded state;
Receiving a preset gesture input by a user on the third interface, wherein the preset gesture is used for configuring the related page of the first application;
and responding to the preset gesture, and configuring the third interface to be the related page of the first application.
38. The method of any of claims 34-37, wherein after the controlling the first display area of the display screen to display the first interface and the second display area of the display screen to display the second interface of the first application, the method further comprises:
responding to a second operation of the user on the first interface, wherein the second operation comprises a click operation on a Back key in a navigation bar of the electronic equipment, and controlling the display screen to display the main interface; wherein, in response to the second operation on the first interface, the electronic device does not run the first application in the background;
responding to the second operation of the user on the second interface, and controlling the display screen to display the main interface; wherein, in response to the second operation on the second interface, the electronic device runs the first application in the background.
39. The method of any of claims 34-37, wherein after the controlling the first display area of the display screen to display the first interface and the second display area of the display screen to display the second interface of the first application, the method further comprises:
responding to a second operation of the user on the first interface or the second interface, wherein the second operation comprises a click operation on a Back key in a navigation bar of the electronic equipment, and controlling the display screen to display the main interface; wherein, in response to the second operation, the electronic device runs the first application in the background.
40. A method for displaying an application, applied to an electronic device, the method comprising:
the method comprises the steps that when a display screen of the electronic equipment is in a first state, the display screen is controlled to display a first interface of a first application;
responding to the display screen to be changed from the first state to the second state, if the first interface is a preset home page of the first application, controlling a first display area of the display screen to display the first interface, and controlling a second display area of the display screen to display a second interface of the first application; wherein the second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area;
Wherein the first state is a vertical screen state and the second state is a horizontal screen state; the horizontal screen state is a state that an included angle between the long edge of the display screen and the horizontal plane is smaller than a preset value, and the vertical screen state is a state that the included angle between the long edge of the display screen and the horizontal plane is larger than or equal to the preset value;
or the display screen is a folding screen, the first state is a folding state, and the second state is an unfolding state; the unfolding state is that the included angle of the first screen of folding screen and the second screen is greater than or equal to the state of presetting the angle threshold value, fold state is first screen with the included angle of second screen is less than the state of presetting the angle threshold value.
41. The method for displaying the application is characterized by being applied to electronic equipment, wherein a display screen of the electronic equipment is in a transverse screen state, and the transverse screen state is a state that an included angle between a long edge of the display screen and a horizontal plane is smaller than a preset value; or the display screen of the electronic device is a folding screen, the display screen is in an unfolded state, and the unfolded state is a state that an included angle between a first screen and a second screen of the folding screen is greater than or equal to a preset angle threshold value; the method comprises the following steps:
Controlling the display screen to display an interface of a second application;
receiving a first operation of a user on an interface of the second application, wherein the first operation is used for triggering the display screen to display a first interface of a first application;
responding to the first operation, if the first interface is a preset home page of the first application, controlling a first display area of the display screen to display the first interface, and controlling a second display area of the display screen to display a second interface of the first application; wherein the second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area.
42. The method for displaying the application is characterized by being applied to electronic equipment, wherein a display screen of the electronic equipment is in a transverse screen state, and the transverse screen state is a state that an included angle between a long edge of the display screen and a horizontal plane is smaller than a preset value; or the display screen of the electronic device is a folding screen, the display screen is in an unfolded state, and the unfolded state is a state that an included angle between a first screen and a second screen of the folding screen is greater than or equal to a preset angle threshold value; the method comprises the following steps:
Controlling a first display area of the display screen to display a first interface of a first application, and controlling a second display area of the display screen to display an interface of a second application;
receiving a first operation of a user, wherein the first operation is used for triggering the display screen to quit displaying the interface of the second application and only displaying the first interface;
responding to the first operation, if the first interface is a preset home page of the first application, controlling a first display area of the display screen to display the first interface, and controlling a second display area of the display screen to display a second interface of the first application; wherein the second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area.
43. An electronic device, comprising a display screen, a memory, and one or more processors; the display screen, the memory and the processor are coupled; the memory for storing computer program code, the computer program code comprising computer instructions that, when executed by the processor, the electronic device performs:
The processor is used for controlling the display screen to display a main interface of the electronic equipment when the display screen is in a first state, wherein the main interface comprises an icon of a first application; wherein the first state is a landscape state; or the display screen is a folding screen, and the first state is an unfolding state;
the processor is used for receiving a first operation of a user on an icon of the first application, wherein the first operation is used for triggering the display screen to display a first interface of the first application;
the processor is used for responding to the first operation, controlling a first display area of the display screen to display the first interface and controlling a second display area of the display screen to display a second interface of the first application if the first interface is a preset home page of the first application; wherein the second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area;
the unfolding state is a state that an included angle between a first screen and a second screen of the folding screen is larger than or equal to a preset angle threshold value; the horizontal screen state is a state that an included angle between the long edge of the display screen and the horizontal plane is smaller than a preset value.
44. The electronic device according to claim 43, wherein the preset home page is pre-configured in a configuration file of an installation package of the first application; alternatively, the first and second electrodes may be,
the preset home page is a home page of the first application; alternatively, the first and second electrodes may be,
the preset homepage is an interface meeting preset conditions in the plurality of interfaces of the first application, and the preset conditions are as follows: the method comprises the steps that preset interface features are included, the number of the preset interface features is larger than a preset number threshold, and the preset interface features comprise preset components or small programs.
45. The electronic device of claim 43 or 44, wherein the related page is pre-configured in a configuration file of an installation package of the first application; alternatively, the first and second electrodes may be,
the related page is an interface of a next level of a home page of the first application;
the related page is set in the electronic device by a user.
46. The electronic device of any of claims 43-45, wherein the processor is further configured to control the display screen to display a third interface of the first application when the display screen is in the first state or the second state; wherein the first state is the landscape screen state and the second state is the portrait screen state; or, the first state is the unfolded state and the second state is the folded state;
The processor is further configured to receive a preset gesture input by a user on the third interface, where the preset gesture is used to configure the relevant page of the first application;
the processor is further configured to configure the third interface to be the relevant page of the first application in response to the preset gesture.
47. The electronic device of any of claims 43-46, wherein the processor is further configured to, after controlling a first display area of the display screen to display the first interface and controlling a second display area of the display screen to display the second interface,
responding to a second operation of the user on the first interface, wherein the second operation comprises a click operation on a return Back key in a navigation bar of the electronic equipment, and controlling the display screen to display the main interface; wherein, in response to the second operation on the first interface, the processor does not run the first application in the background;
responding to the second operation of the user on the second interface, and controlling the display screen to display the main interface; wherein, in response to the second operation on the second interface, the processor runs the first application in the background.
48. The electronic device of any of claims 43-47, wherein the processor is further configured to, after controlling a first display area of the display screen to display the first interface and controlling a second display area of the display screen to display the second interface,
responding to a second operation of the user on the first interface or the second interface, wherein the second operation comprises a click operation on a Back key in a navigation bar of the electronic equipment, and controlling the display screen to display the main interface; wherein, in response to the second operation, the processor runs the first application in the background.
49. An electronic device, comprising a display screen, a memory, and one or more processors; the display screen, the memory and the processor are coupled; the memory for storing computer program code, the computer program code comprising computer instructions that, when executed by the processor, the electronic device performs:
the processor is used for controlling the display screen to display a first interface of a first application when the display screen is in a first state;
The processor is further configured to respond to the display screen being changed from the first state to a second state, and if the first interface is a preset home page of the first application, control a first display area of the display screen to display the first interface and control a second display area of the display screen to display a second interface of the first application; wherein the second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area;
wherein the first state is a vertical screen state and the second state is a horizontal screen state; the horizontal screen state is a state that an included angle between the long edge of the display screen and the horizontal plane is smaller than a preset value, and the vertical screen state is a state that the included angle between the long edge of the display screen and the horizontal plane is larger than or equal to the preset value;
or the display screen is a folding screen, the first state is a folding state, and the second state is an unfolding state; the unfolding state is that the included angle of the first screen of folding screen and the second screen is greater than or equal to the state of presetting the angle threshold value, fold state is first screen with the included angle of second screen is less than the state of presetting the angle threshold value.
50. An electronic device, comprising a display screen, a memory, and one or more processors; the display screen, the memory and the processor are coupled; the display screen of the electronic equipment is in a horizontal screen state, and the horizontal screen state is a state that an included angle between a long edge of the display screen and a horizontal plane is smaller than a preset value; or the display screen of the electronic device is a folding screen, the display screen is in an unfolded state, and the unfolded state is a state that an included angle between a first screen and a second screen of the folding screen is greater than or equal to a preset angle threshold value; the memory for storing computer program code, the computer program code comprising computer instructions that, when executed by the processor, the electronic device performs:
the processor is used for controlling the display screen to display an interface of a second application;
the processor is further configured to receive a first operation of a user on an interface of the second application, where the first operation is used to trigger the display screen to display a first interface of a first application;
the processor is further configured to, in response to the first operation, control a first display area of the display screen to display the first interface and control a second display area of the display screen to display a second interface of the first application if the first interface is a preset home page of the first application; wherein the second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area.
51. An electronic device, comprising a display screen, a memory, and one or more processors; the display screen, the memory and the processor are coupled; the display screen of the electronic equipment is in a horizontal screen state, and the horizontal screen state is a state that an included angle between a long edge of the display screen and a horizontal plane is smaller than a preset value; or the display screen of the electronic device is a folding screen, the display screen is in an unfolded state, and the unfolded state is a state that an included angle between a first screen and a second screen of the folding screen is greater than or equal to a preset angle threshold value; the memory for storing computer program code, the computer program code comprising computer instructions that, when executed by the processor, the electronic device performs:
the processor is used for controlling a first display area of the display screen to display a first interface of a first application and controlling a second display area of the display screen to display an interface of a second application;
the processor is further configured to receive a first operation of a user, where the first operation is used to trigger the display screen to quit displaying the interface of the second application, and only the first interface is displayed;
The processor is further configured to, in response to the first operation, control a first display area of the display screen to display the first interface and control a second display area of the display screen to display a second interface of the first application if the first interface is a preset home page of the first application; wherein the second interface is a related page configured in pair with the preset homepage; the second display area is not overlapped with the first display area.
52. An apparatus for displaying an application, for use in an electronic device comprising a display screen, the apparatus being configured to perform the method of any of claims 1-19 or 34-42.
53. A chip system is applied to an electronic device comprising a display screen; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a line; the interface circuit is to receive a signal from a memory of the electronic device and to send the signal to the processor, the signal comprising computer instructions stored in the memory; the electronic device, when the processor executes the computer instructions, performs the method of any of claims 1-19 or 34-42.
54. A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-19 or 34-42.
55. A computer program product, which, when run on a computer, causes the computer to perform the method of any one of claims 1-19 or 34-42.
CN201910996394.3A 2019-05-14 2019-10-18 Application display method and electronic equipment Active CN111949345B (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
CN202310278189.XA CN116382530A (en) 2019-05-14 2019-10-18 Application display method and electronic equipment
CN202310298619.4A CN116400991A (en) 2019-05-14 2019-10-18 Application display method and electronic equipment
CN202310300201.2A CN116414505A (en) 2019-05-14 2019-10-18 Application display method and electronic equipment
CN202310305080.0A CN116521290A (en) 2019-05-14 2019-10-18 Application display method and electronic equipment
CN202310300314.2A CN116795465A (en) 2019-05-14 2019-10-18 Application display method and electronic equipment
CN202310311624.4A CN116414506A (en) 2019-05-14 2019-10-18 Application display method and electronic equipment
PCT/CN2020/090009 WO2020228735A1 (en) 2019-05-14 2020-05-13 Method for displaying application, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910398758.8A CN110286972A (en) 2019-05-14 2019-05-14 A kind of method and electronic equipment of Folding screen display application
CN2019103987588 2019-05-14

Related Child Applications (6)

Application Number Title Priority Date Filing Date
CN202310305080.0A Division CN116521290A (en) 2019-05-14 2019-10-18 Application display method and electronic equipment
CN202310300201.2A Division CN116414505A (en) 2019-05-14 2019-10-18 Application display method and electronic equipment
CN202310278189.XA Division CN116382530A (en) 2019-05-14 2019-10-18 Application display method and electronic equipment
CN202310300314.2A Division CN116795465A (en) 2019-05-14 2019-10-18 Application display method and electronic equipment
CN202310311624.4A Division CN116414506A (en) 2019-05-14 2019-10-18 Application display method and electronic equipment
CN202310298619.4A Division CN116400991A (en) 2019-05-14 2019-10-18 Application display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111949345A true CN111949345A (en) 2020-11-17
CN111949345B CN111949345B (en) 2023-03-24

Family

ID=68001989

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910398758.8A Withdrawn CN110286972A (en) 2019-05-14 2019-05-14 A kind of method and electronic equipment of Folding screen display application
CN201910996394.3A Active CN111949345B (en) 2019-05-14 2019-10-18 Application display method and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910398758.8A Withdrawn CN110286972A (en) 2019-05-14 2019-05-14 A kind of method and electronic equipment of Folding screen display application

Country Status (1)

Country Link
CN (2) CN110286972A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905144A (en) * 2021-03-30 2021-06-04 中国建设银行股份有限公司 Terminal display method and device, electronic equipment and storage medium
WO2022222752A1 (en) * 2021-04-22 2022-10-27 华为技术有限公司 Display method and related apparatus
WO2023030506A1 (en) * 2021-09-03 2023-03-09 Oppo广东移动通信有限公司 Content display method and apparatus, and terminal and storage medium
CN116048686A (en) * 2022-08-29 2023-05-02 荣耀终端有限公司 Display method and folding screen device
WO2023155810A1 (en) * 2022-02-18 2023-08-24 维沃移动通信有限公司 Display method, electronic device and readable storage medium
WO2023160349A1 (en) * 2022-02-22 2023-08-31 华为技术有限公司 Display method and related apparatus
CN117111796A (en) * 2023-04-28 2023-11-24 荣耀终端有限公司 Collaborative display method, equipment and medium
WO2024012354A1 (en) * 2022-07-11 2024-01-18 华为技术有限公司 Display method and electronic device
WO2024032421A1 (en) * 2022-08-08 2024-02-15 华为技术有限公司 Screen display method, and terminal device and storage medium

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116795465A (en) * 2019-05-14 2023-09-22 华为技术有限公司 Application display method and electronic equipment
CN112506386B (en) * 2019-09-16 2023-08-01 华为技术有限公司 Folding screen display method and electronic equipment
CN110955373A (en) * 2019-10-30 2020-04-03 华为技术有限公司 Display element display method and electronic equipment
CN110825474B (en) * 2019-10-31 2023-03-31 维沃移动通信有限公司 Interface display method and device and electronic equipment
CN110995896A (en) * 2019-11-27 2020-04-10 维沃移动通信有限公司 Control method and electronic equipment
CN112860359A (en) * 2019-11-28 2021-05-28 华为技术有限公司 Display method and related device of folding screen
WO2021128245A1 (en) * 2019-12-27 2021-07-01 Intel Corporation Hinge angle detection
CN114237530A (en) * 2020-01-21 2022-03-25 华为技术有限公司 Display method and related device of folding screen
CN114173165B (en) * 2020-08-19 2023-02-14 华为技术有限公司 Display method and electronic equipment
CN113888961B (en) * 2021-03-05 2022-08-12 荣耀终端有限公司 Electronic equipment with folding screen and control method
WO2023131313A1 (en) * 2022-01-10 2023-07-13 荣耀终端有限公司 Window interaction method and electronic device
CN114510210A (en) * 2022-02-14 2022-05-17 惠州Tcl移动通信有限公司 Folding screen display method and device, computer equipment and storage medium
CN114740952B (en) * 2022-04-02 2023-12-19 西安中诺通讯有限公司 Intelligent terminal with folding screen and control method and device thereof

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536715A (en) * 2014-12-08 2015-04-22 联想(北京)有限公司 Display method and electronic equipment
EP3073362A1 (en) * 2015-03-24 2016-09-28 LG Electronics Inc. Mobile terminal and method of controlling the same
CN107704177A (en) * 2017-11-07 2018-02-16 广东欧珀移动通信有限公司 interface display method, device and terminal
CN107728901A (en) * 2017-10-24 2018-02-23 广东欧珀移动通信有限公司 interface display method, device and terminal
CN107809504A (en) * 2017-11-07 2018-03-16 广东欧珀移动通信有限公司 Method, apparatus, terminal and the storage medium of display information
CN107807773A (en) * 2017-10-19 2018-03-16 广东欧珀移动通信有限公司 One kind is using attend to anything else method, apparatus, terminal and storage medium
CN107870724A (en) * 2017-11-07 2018-04-03 广东欧珀移动通信有限公司 Display screen method of deploying, device and terminal
CN109062466A (en) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 Split screen window adjusting method, device, storage medium and electronic equipment
CN109445736A (en) * 2018-10-26 2019-03-08 维沃移动通信有限公司 A kind of multi-screen display method and mobile terminal
CN110324464A (en) * 2019-05-17 2019-10-11 华为技术有限公司 A kind of application display method and electronic equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536715A (en) * 2014-12-08 2015-04-22 联想(北京)有限公司 Display method and electronic equipment
EP3073362A1 (en) * 2015-03-24 2016-09-28 LG Electronics Inc. Mobile terminal and method of controlling the same
CN106020675A (en) * 2015-03-24 2016-10-12 Lg电子株式会社 Mobile terminal and method of controlling the same
CN107807773A (en) * 2017-10-19 2018-03-16 广东欧珀移动通信有限公司 One kind is using attend to anything else method, apparatus, terminal and storage medium
CN107728901A (en) * 2017-10-24 2018-02-23 广东欧珀移动通信有限公司 interface display method, device and terminal
CN107704177A (en) * 2017-11-07 2018-02-16 广东欧珀移动通信有限公司 interface display method, device and terminal
CN107809504A (en) * 2017-11-07 2018-03-16 广东欧珀移动通信有限公司 Method, apparatus, terminal and the storage medium of display information
CN107870724A (en) * 2017-11-07 2018-04-03 广东欧珀移动通信有限公司 Display screen method of deploying, device and terminal
CN109710206A (en) * 2017-11-07 2019-05-03 Oppo广东移动通信有限公司 Show method, apparatus, terminal and the storage medium of information
CN109062466A (en) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 Split screen window adjusting method, device, storage medium and electronic equipment
CN109445736A (en) * 2018-10-26 2019-03-08 维沃移动通信有限公司 A kind of multi-screen display method and mobile terminal
CN110324464A (en) * 2019-05-17 2019-10-11 华为技术有限公司 A kind of application display method and electronic equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905144B (en) * 2021-03-30 2024-03-22 中国建设银行股份有限公司 Terminal display method and device, electronic equipment and storage medium
CN112905144A (en) * 2021-03-30 2021-06-04 中国建设银行股份有限公司 Terminal display method and device, electronic equipment and storage medium
CN115328358B (en) * 2021-04-22 2024-02-13 华为技术有限公司 Display method and related device
WO2022222752A1 (en) * 2021-04-22 2022-10-27 华为技术有限公司 Display method and related apparatus
CN115328358A (en) * 2021-04-22 2022-11-11 华为技术有限公司 Display method and related device
WO2023030506A1 (en) * 2021-09-03 2023-03-09 Oppo广东移动通信有限公司 Content display method and apparatus, and terminal and storage medium
WO2023155810A1 (en) * 2022-02-18 2023-08-24 维沃移动通信有限公司 Display method, electronic device and readable storage medium
WO2023160349A1 (en) * 2022-02-22 2023-08-31 华为技术有限公司 Display method and related apparatus
WO2024012354A1 (en) * 2022-07-11 2024-01-18 华为技术有限公司 Display method and electronic device
WO2024032421A1 (en) * 2022-08-08 2024-02-15 华为技术有限公司 Screen display method, and terminal device and storage medium
CN116048686B (en) * 2022-08-29 2023-11-24 荣耀终端有限公司 Display method and folding screen device
CN116048686A (en) * 2022-08-29 2023-05-02 荣耀终端有限公司 Display method and folding screen device
CN117111796A (en) * 2023-04-28 2023-11-24 荣耀终端有限公司 Collaborative display method, equipment and medium

Also Published As

Publication number Publication date
CN111949345B (en) 2023-03-24
CN110286972A (en) 2019-09-27

Similar Documents

Publication Publication Date Title
CN111949345B (en) Application display method and electronic equipment
CN114397979B (en) Application display method and electronic equipment
CN112217923B (en) Display method of flexible screen and terminal
CN110536004B (en) Method for applying multiple sensors to electronic equipment with flexible screen and electronic equipment
CN110456951B (en) Application display method and electronic equipment
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
CN115004676A (en) Display method and related device of folding screen
WO2021052279A1 (en) Foldable screen display method and electronic device
CN110727382A (en) Split-screen display method and electronic equipment
CN112445448B (en) Flexible screen display method and electronic equipment
CN111669459B (en) Keyboard display method, electronic device and computer readable storage medium
CN110633043A (en) Split screen processing method and terminal equipment
CN110543287A (en) Screen display method and electronic equipment
CN114281439A (en) Screen splitting method and device and electronic equipment
WO2020228735A1 (en) Method for displaying application, and electronic device
CN114173005B (en) Application layout control method and device, terminal equipment and computer readable storage medium
WO2023116418A1 (en) Content display method, electronic device, and computer readable storage medium
CN116339569A (en) Split screen display method, folding screen device and computer readable storage medium
CN112230793A (en) Display method of electronic equipment with flexible screen and electronic equipment
CN116027886A (en) Display method of folding screen and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant