Patent Description:
<CIT> describes that an information handling system includes a primary integrated display platform and a secondary integrated display platform attached via a hinge, and including a passive cooling system, a dynamic thermal management system, and a processor. It is described that the information handling system further includes an application window locator system for determining a location of a software application display window running on the information handling system on the primary integrated display platform or the secondary integrated display platform.

<CIT> describes a mobile terminal having a foldable display and an operation method for the same. It is described that the foldable display unit includes a plurality of display zones, wherein the application of program depends on the degree of folding angle of the display unit, and the display unit displays on its screen according to the folding angle, and that variations of closing and opening motion of the foldable display unit triggers different modes of operation and displays.

Currently, cameras are disposed on many terminals (such as mobile phones and tablet computers). A user may shoot videos through a camera, to implement functions such as video chat and online live broadcast. Regardless of video chat or online live broadcast, a terminal needs to be placed in a specific posture to provide a better shooting angle for a camera of the terminal. After the terminal is placed in the posture, the terminal needs to be relatively fastened. Currently, common fastening manners include hand-holding-based fastening, holder-based fastening, and the like. <FIG> shows a hand-holding-based fastening manner. <FIG> shows a holder-based fastening manner. For hand-holding-based fastening, the user needs to hold a mobile phone for a long time (this easily causes fatigue). For holder-based fastening, the user needs to set up a holder in real time (an implementation process is relatively troublesome). Therefore, in a process of performing a shooting task through a camera, how to simplify user operations is a technical problem being studied by persons skilled in the art.

Embodiments of the present invention disclose an application control method and an electronic apparatus, so that a user can operate an electronic apparatus more efficiently and conveniently in a scenario in which a camera needs to be used, for example, a video chat scenario or a video live broadcast scenario.

The invention and its scope of protection is defined in the appended independent claims. Claim <NUM> defines an application control method. Claim <NUM> defines an application control method. Claim <NUM> defines an electronic apparatus. Claim <NUM> defines an electronic apparatus. Claim <NUM> defines a computer-readable storage medium. Claim <NUM> defines a computer program product.

Accompanying drawings used in embodiments of the present invention are described below.

The embodiments of the present invention provide an electronic apparatus. The electronic apparatus is configured to perform an application control method. The electronic apparatus may include a handheld device (for example, a mobile phone, a tablet computer, or a palmtop computer) having a wireless communication function, a wearable device (for example, a smartwatch (such as iWatch), a smart band, or a pedometer), a workshop remote control device, or the like.

<FIG> is a schematic structural diagram of an electronic apparatus <NUM> according to an embodiment of the present invention. The electronic apparatus <NUM> may include a processor <NUM>, a memory <NUM>, an input/output interface <NUM>, a display <NUM>, and a communications interface <NUM>. The foregoing elements: the processor <NUM>, the memory <NUM>, the input/output interface <NUM>, the display <NUM>, and the communications interface <NUM>, may be connected to each other through a bus <NUM>, to implement a circuit for supporting transmission and communication (for example, transmission of a control message and/or data) between the elements. In this embodiment of this application, at least one of the foregoing elements may be omitted, or another element may be added to the electronic apparatus <NUM>.

The processor <NUM> may include at least one of a central processing unit (CPU), an application processor (AP), or a communications processor (CP). The processor <NUM> may perform an operation or data processing related to control and/or communication of at least one of the elements of the electronic apparatus <NUM>.

The memory <NUM> may include a volatile memory and/or a non-volatile memory. The memory <NUM> may store an instruction or data related to at least one of the other elements of the electronic apparatus <NUM>. According to the embodiments of this disclosure, the memory <NUM> may store software and/or a program <NUM>. The program <NUM> may include, for example, a kernel <NUM>, middleware <NUM>, an application programming interface (API) <NUM>, and/or an application <NUM>. The application <NUM> may specifically include a screen control program. The screen control program is used to define a control policy for the display <NUM> (which includes a first display area and a second display area). For example, the display <NUM> is controlled to display an interface of an application in both the first display area and the second display area under a specific condition, or display an interface of an application in either of the first display area and the second display area under a specific condition.

At least a part of the kernel <NUM>, the middleware <NUM>, or the API <NUM> may be referred to as an operating system (OS).

The kernel <NUM> may control or manage a system resource (such as the processor <NUM> or the memory <NUM>) used to perform an operation or a function of another program (such as the middleware <NUM>, the API <NUM>, or the application <NUM>). In addition, the kernel <NUM> may provide an interface, and the interface allows the middleware <NUM>, the API <NUM>, or the application <NUM> to access each element of the electronic apparatus <NUM> to control or manage the system resource.

The middleware <NUM> may act as an intermediary that enables the API <NUM> or the application <NUM> to communicate and exchange data with the kernel <NUM>.

In addition, the middleware <NUM> may process, in a priority order, one or more task requests received from the application <NUM>. For example, the middleware <NUM> may allocate, to at least one application <NUM>, a priority of using the system resource (for example, the processor <NUM> or the memory <NUM>) of the electronic apparatus <NUM>. For example, the middleware <NUM> may process the one or more task requests based on the priority allocated to the at least one application, to perform scheduling or load balancing for the one or more task requests.

The API <NUM> is an interface for allowing the application <NUM> to control a function provided by the kernel <NUM> or the middleware <NUM>, and may include at least one interface or function (for example, an instruction) used for file control, display control, image processing, character control, and the like.

The input/output interface <NUM> may be configured to transmit, to another element of the electronic apparatus <NUM>, an instruction or data that is input from a user or another external apparatus. In addition, the input/output interface <NUM> may output, to the user or the another external apparatus, an instruction or data received from the another element of the electronic apparatus <NUM>.

The display <NUM> may include, for example, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode (OLED) display, a micro-electro-mechanical system (MEMS) display, or an electronic paper display. The display <NUM> may present various content (for example, texts, images, videos, icons, symbols, or similar objects) to the user. The display <NUM> may include a touchscreen, and may receive a touch, a gesture, an approach operation, or a hover operation that is input from an electronic pen or a part of the body of the user. In addition, in this embodiment of this application, the display <NUM> is a flexible display (screen), and can be folded. For example, each cascading structure of a cover (Cover) and a panel (Panel) in the foldable flexible display is made of a foldable flexible material. The display <NUM> includes at least two display areas, which may be respectively referred to as a first display area and a second display area. A rotating apparatus <NUM> exists between the first display area and the second display area. The rotating apparatus <NUM> may include a rotating shaft and an angle sensor. Both the first display area and the second display area may rotate along the rotating shaft of the rotating apparatus <NUM>. An included angle between the first display area and the second display area may be a straight angle in a rotation process, so that it seems that the first display area and the second display area form a complete planar display area. The complete planar display area may be used to display an interface of the electronic apparatus <NUM>. In the rotation process, the included angle between the first display area and the second display area may alternatively be an angle greater than <NUM> degrees and less than <NUM> degrees. After rotation of a specific angle, it can be clearly seen that the two display areas are not on a same plane. It may be understood that the angle sensor may collect some technical parameters in the rotation process, for example, the angle between the first display area and the second display area in the rotation process. Optionally, an IMU (including functions of a gyroscope and an accelerometer) may be installed in each of the first display area and the second display area, so that horizontal angles of the first display area and the second display area can be separately measured. Then, the included angle between the first display area and the second display area can be obtained through difference calculation.

A photographing apparatus <NUM> may include one camera (camera) or a plurality of cameras (for example, one front-facing camera and one rear-facing camera, or a plurality of front-facing cameras). The camera may alternatively be a group of camera modules. For example, when there is a front-facing camera and a rear-facing camera, and the first display area and the second display area are on a same plane, a shooting direction of the front-facing camera may be basically consistent with a display direction of the display <NUM>, and a shooting direction of the rear-facing camera may be basically opposite to the display direction of the display <NUM>.

The communications interface <NUM> may establish communication between the electronic apparatus <NUM> and an external apparatus (for example, a first external electronic apparatus <NUM>, a second external electronic apparatus <NUM>, or a server <NUM>). For example, the communications interface <NUM> may be connected to a network <NUM> through wireless communication or wired communication, to communicate with the external apparatus (for example, the second external electronic apparatus <NUM> or the server <NUM>). The wireless communication may use at least one of cellular communications protocols, such as long term evolution (LTE), long term evolution-advanced (LTE-A), code division multiple access (CDMA), wideband code division multiple access (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBro), or global system for mobile communications (GSM). The wireless communication may include, for example, short-range communication <NUM>. The short-range communication may include at least one of wireless fidelity (Wi-Fi), Bluetooth, near field communication (NFC), magnetic stripe transmission (MST), or GNSS.

<FIG> is a schematic structural diagram of another electronic apparatus according to an embodiment of the present invention. The electronic apparatus may include a part or all of the electronic apparatus <NUM> shown in <FIG>. The electronic apparatus <NUM> may include at least one processor (for example, an AP) <NUM>, a communications module <NUM>, a subscriber identity module (SIM) <NUM>, a memory <NUM>, a sensor module <NUM>, an input apparatus <NUM>, a display <NUM>, an interface <NUM>, an audio module <NUM>, a camera module <NUM>, a power management module <NUM>, a battery <NUM>, an indicator <NUM>, and a rotating shaft <NUM>.

The processor <NUM> may run an operating system or an application program to control a plurality of hardware or software elements connected to the processor <NUM>, and may process various data and perform an operation. The processor <NUM> may be implemented as, for example, a system on chip (SoC). According to this embodiment of this disclosure, the processor <NUM> may further include a graphics processing unit (GPU) and/or an image signal processor. The processor <NUM> may include at least some of the elements shown in <FIG> (for example, a cellular module <NUM>). The processor <NUM> may load an instruction or data received from at least one of other elements (for example, a non-volatile memory) onto a volatile memory to process the instruction or the data, and may store various data in the non-volatile memory.

The communications module <NUM> may have a same or similar configuration as the communications interface <NUM> in <FIG>. The communications module <NUM> may include, for example, the cellular module <NUM>, a Wi-Fi module <NUM>, a Bluetooth (BT) module <NUM>, a GPS module <NUM>, an NFC module <NUM>, and a radio frequency (RF) module <NUM>.

The cellular module <NUM> may provide, for example, a voice call service, a video call service, a text message service, or an internet service through a communications network. The cellular module <NUM> may use the subscriber identity module <NUM> (for example, a SIM card) to identify and verify the electronic apparatus <NUM> in the communications network. The cellular module <NUM> may perform at least some of functions that may be provided by the processor <NUM>. The cellular module <NUM> may include a communication processor (CP).

Each of the Wi-Fi module <NUM>, the Bluetooth module <NUM>, the GPS module <NUM>, and the NFC module <NUM> may include, for example, a processor configured to process data sent/received by the module. According to some different embodiments of this disclosure, at least some (for example, two or more) of the cellular module <NUM>, the Wi-Fi module <NUM>, the Bluetooth module <NUM>, the GPS module <NUM>, and the NFC module <NUM> may be included in a single integrated chip (IC) or an IC package.

The RF module <NUM> may, for example, send/receive a communication signal (for example, an RF signal). The RF module <NUM> may include, for example, a transceiver, a power amplifier module (PAM), a frequency filter, a low noise amplifier (LNA), and an antenna. According to another embodiment of this disclosure, at least one of the cellular module <NUM>, the Wi-Fi module <NUM>, the Bluetooth module <NUM>, the GPS module <NUM>, or the NFC module <NUM> may send/receive an RF signal through a separate RF module. The SIM <NUM> may include, for example, a card including the subscriber identity module and/or an embedded SIM, and may include unique identification information (for example, an integrated circuit card identity (ICCID)) or user information (for example, an international mobile subscriber identity (IMSI)).

The memory <NUM> (for example, the memory <NUM>) may include, for example, an internal memory <NUM> or an external memory <NUM>. The internal memory <NUM> may include at least one of the following: a volatile memory (for example, a dynamic random access memory (DRAM), a static random access memory (SRAM), or a synchronous dynamic random access memory (SDRAM)), and a non-volatile memory (for example, a one-time programmable read-only memory (OTPROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a mask read-only memory, a flash read-only memory, a flash memory (for example, a NAND flash memory or a NOR flash memory), a hard disk drive, or a solid-state drive (SSD)).

The external memory <NUM> may include a flash memory drive, such as a compact flash (CF), a secure digital (SD) card, a micro SD, a mini SD, an extreme card (xD), a multimedia card (MMC), or a memory stick. The external memory <NUM> may be operably and/or physically connected to the electronic apparatus <NUM> through various interfaces.

For example, the sensor module <NUM> may measure a physical quantity or detect an operating status of the electronic apparatus <NUM>, to convert measured or detected information into an electrical signal. The sensor module <NUM> may include, for example, at least one of an angle sensor 1040A (which is configured to detect an angle between a first display area and a second display area), a gyro sensor 1040B, a barometric pressure sensor 1040C, a magnetic sensor 1040D, an acceleration sensor 1040E, a hold sensor 1040F, a proximity sensor <NUM>, a color sensor <NUM> (for example, a red/green/blue (RGB) sensor), a biosensor 1040I, a temperature/humidity sensor 1040J, an illuminance sensor <NUM>, or an ultraviolet (UV) sensor <NUM>. Additionally or alternatively, the sensor module <NUM> may include, for example, an olfaction sensor (such as an electronic nose sensor), an electromyography (EMG) sensor, an electroencephalogram (EEG) sensor, an electrocardiogram (ECG) sensor, an infrared (IR) sensor, an iris recognition sensor, and/or a fingerprint sensor. The sensor module <NUM> may further include a control circuit configured to control at least one sensor included in the sensor module <NUM>. In some different embodiments of this disclosure, the electronic apparatus <NUM> may further include a processor. The processor is used as a part of the processor <NUM> or separately controls the sensor module <NUM>, to control the sensor module <NUM> when the processor <NUM> is in a sleep state.

The display <NUM> (for example, the display <NUM>) may include a panel <NUM>, a holographic apparatus <NUM>, or a projector <NUM>. The panel <NUM> may have a same or similar structure as the display <NUM> in <FIG>. The panel <NUM> may be, for example, flexible, transparent, or wearable. The panel <NUM> and a touch panel <NUM> may be integrated into a single module. The holographic apparatus <NUM> may display a stereoscopic image in space by virtue of a light interference phenomenon. The projector <NUM> may project light onto a screen to display an image. According to this embodiment of this disclosure, the display <NUM> may further include a control circuit configured to control the panel <NUM>, the holographic apparatus <NUM>, or the projector <NUM>. In addition, when the display <NUM> is a flexible display (screen), the display <NUM> can be folded. In this case, the display <NUM> includes at least two display areas, which may be respectively referred to as the first display area and the second display area. The rotating shaft <NUM> exists between the first display area and the second display area. Both the first display area and the second display area may rotate along the rotating shaft <NUM>. An included angle between the first display area and the second display area may be a straight angle in a rotation process, so that it seems that the first display area and the second display area form a complete planar display area. The complete planar display area may be used to display an interface of the electronic apparatus <NUM>. In the rotation process, the included angle between the first display area and the second display area may alternatively be an angle greater than <NUM> degrees and less than <NUM> degrees. After rotation of a specific angle, it can be clearly seen that the two display areas are not on a same plane. It may be understood that the angle sensor 1040A may collect some technical parameters in the process of rotation along the rotating shaft <NUM>, for example, the angle between the first display area and the second display area in the rotation process.

The input apparatus <NUM> may include, for example, the touch panel <NUM>, a (digital) pen sensor <NUM>, a button <NUM>, or an ultrasonic input apparatus <NUM>. The touch panel <NUM> may use at least one of a capacitive sensing method, a resistive sensing method, an infrared sensing method, and an ultrasonic sensing method. The touch panel <NUM> may further include a control circuit. The touch panel <NUM> may further include a tactile layer, to provide a tactile feedback for a user.

The (digital) pen sensor <NUM> may include, for example, a recognition chip that serves as a part of the touch panel or that is separate. The button <NUM> may include, for example, a physical button, an optical button, or a keyboard. The ultrasonic input apparatus <NUM> may sense an ultrasonic wave generated by an input tool through a microphone <NUM> to identify data corresponding to the sensed ultrasonic wave.

The interface <NUM> may include, for example, an HDMI <NUM>, a USB <NUM>, an optical interface <NUM>, or a D-subminiature (D-sub) interface <NUM>. For example, the interface <NUM> may be included in the communications interface <NUM> shown in <FIG>. Additionally or alternatively, the interface <NUM> may include, for example, a mobile high-definition link (MHL) interface, an SD card interface/a multimedia card (MMC) interface, or an infrared data association (IrDA) interface.

For example, the audio module <NUM> may convert a sound into an electrical signal, or may convert an electrical signal into a sound. At least some of elements of the audio module <NUM> may be included in the input/output interface <NUM> shown in <FIG>. The audio module <NUM> may process sound information that is input or output through a speaker <NUM>, a receiver <NUM>, a headset <NUM>, or the microphone <NUM>.

For example, the camera module <NUM> is an apparatus configured to shoot a still image or video. According to this embodiment of this disclosure, the camera module <NUM> may include at least one image sensor (for example, a front sensor or a rear sensor), a lens, an image signal processor (ISP), or a flash (for example, an LED or a xenon lamp). The camera module <NUM> may include one camera (camera) or a plurality of cameras (for example, one front-facing camera and one rear-facing camera, or a plurality of front-facing cameras). The camera may alternatively be a group of camera modules. For example, when there is a front-facing camera and a rear-facing camera, and the first display area and the second display area are on a same plane, a shooting direction of the front-facing camera may be basically consistent with a display direction of the display <NUM>, and a shooting direction of the rear-facing camera may be basically opposite to the display direction of the display <NUM>.

The power management module <NUM> may manage a power supply of the electronic apparatus <NUM>. According to this embodiment of this disclosure, the power management module <NUM> may include a power management integrated circuit (PMIC), a charger integrated circuit (IC), or a battery meter. The PMIC may use a wired charging method and/or a wireless charging method. For example, the wireless charging method may include a magnetic resonance method, a magnetic induction method, an electromagnetic method, or the like. An additional circuit, for example, a coil circuit, a resonant circuit, or a rectifier, used for wireless charging may be further included. The battery meter may measure, for example, a remaining capacity of the battery <NUM> and a voltage, a current, or a temperature of the battery during charging. The battery <NUM> may include, for example, a rechargeable battery and/or a solar cell.

The indicator <NUM> may display a specific state of the electronic apparatus <NUM> or a component (for example, the processor <NUM>) of the electronic apparatus <NUM>, for example, a startup state, a messaging state, or a charging state. Although not shown, the electronic apparatus <NUM> may include a processing apparatus (for example, the GPU) configured to support mobile television. The processing apparatus configured to support the mobile television may process media data according to a standard such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or MediaFLOTM.

Each element described herein may be configured with one or more components, and a name of the element may be changed based on a type of the electronic apparatus. In the embodiments of this disclosure, the electronic apparatus may include at least one of the elements described herein, and some elements may be omitted, or another additional element may be added. In addition, some elements of the electronic apparatus may be combined into one entity, so that functions of the elements may be performed in a manner that is the same as that used before the combination.

<FIG> shows an application control method according to an embodiment of the present invention. The method may be applied to the foregoing electronic apparatus. The electronic apparatus includes a first part and a second part that are flexibly connected. The first part includes a first display area and a camera (namely, a photographing apparatus or a camera module). The second part includes a second display area. The first display area and the second display area form a display of the electronic apparatus. The method includes but is not limited to the following steps.

Step S400: The electronic apparatus displays an interface of an application in both the first display area and the second display area of the display.

Specifically, both the first display area and the second display area may rotate along a rotating shaft. An included angle between the first display area and the second display area varies with a rotation degree. When the included angle between the first display area and the second display area does not fall outside a preset range, the first display area and the second display area may look like a complete display area. Therefore, the first display area and the second display area may be used to jointly display an interface of one application. To be specific, some content in the interface of the application is displayed in the first display area, and the other content in the interface of the application is displayed in the second display area. An absolute value of a difference between any angle in the preset angle range and <NUM> degrees is less than a preset threshold. The preset threshold may be set based on an actual requirement. For example, the preset threshold may be predefined as <NUM>. In this case, the preset range is an angle range from <NUM> degrees to <NUM> degrees. For another example, the preset threshold may be predefined as <NUM>. In this case, the preset range is <NUM> degrees. <FIG> is a schematic diagram of a scenario in which the first display area and the second display area are used to jointly display a home screen of the electronic apparatus when the included angle between the first display area and the second display area is <NUM> degrees.

Step S401: The electronic apparatus determines that the included angle between the first display area and the second display area meets a preset condition.

Specifically, an angle sensor on the electronic apparatus may detect the included angle between the first display area and the second display area in real time, to determine, based on a detection result, whether the included angle meets the preset condition. Specifically, whether the included angle X between the first display area and the second display area falls outside the preset angle range may be determined. <FIG> shows the included angle X between the first display area and the second display area. For example, it is assumed that the preset angle range is set to <NUM> degrees to <NUM> degrees. If a currently detected included angle between the first display area and the second display area is <NUM> degrees, it may be determined that the included angle between the first display area and the second display area falls outside the preset angle range, that is, the preset condition is met.

Step S402: The electronic apparatus displays photographed content in the first display area if the camera is enabled.

Specifically, the camera is configured on the electronic apparatus. The electronic apparatus may include a front-facing camera, or include a rear-facing camera, or include a front-facing camera and a rear-facing camera. <FIG> shows a case in which the electronic apparatus includes both a front-facing camera and a rear-facing camera. The electronic apparatus needs to learn whether the camera is enabled. Optionally, when both the front-facing camera and the rear-facing camera are included, as long as one camera is enabled, it is determined that the camera is enabled. When only one camera (namely, the front-facing camera or the rear-facing camera) is included, if the camera is enabled, it is determined that the camera is enabled.

It should be noted that the electronic apparatus may determine, before performing step S401, after performing step S401, or when performing step S401, whether the camera is enabled.

In this embodiment of this application, the electronic apparatus displays the photographed content in the first display area when determining that the camera is enabled. In this case, the second part is configured to stabilize the electronic apparatus, the first part is configured to flip along (the rotating shaft on) a side connected to the second part to adjust a display angle of the first display area, and the photographed content includes content that is photographed by another device and that is received by the electronic apparatus and/or content photographed by the camera.

For example, it is assumed that the electronic apparatus is a mobile phone. As shown in <FIG>, the mobile phone includes a first part and a second part. When an included angle between a first display area in the first part and a second display area in the second part is <NUM> degrees, a display including both the first display area and the second display area is used to display a video chat interface. As shown in <FIG>, when a user folds the first part or the second part and the included angle meets a preset condition, the video chat interface is displayed in the first display area. The video chat interface may include video information sent by a chat friend, and may further include video information shot by a camera of the user. The second display area may not display any useful information, for example, may be screen-off, or may display a black screen, a white screen, or some information that is not very important. In this case, the user may place the electronic apparatus in a specific location (for example, on a table). The second part is in contact with the location to stabilize the electronic apparatus. In this process, the user may keep the second part still and rotate the first part, to adjust the display angle of the first display area, and adjust a shooting angle of the camera in the first part.

According to the invention, the method further includes step S404. In examples not falling under the scope of the claimed invention, the method may further include step S403. S403 and S404 are as follows:.

Step S403: The electronic apparatus separately displays interfaces of different applications in the first display area and the second display area if the camera is not enabled.

In other words, if the camera is not enabled, and the included angle between the first display area and the second display area meets the preset condition, a split-screen display function is enabled. To be specific, an interface of an application is displayed in the first display area, and a display interface of another application is displayed in the second display area. For example, a news content interface is displayed in the first display area, and a chat interface is displayed in the second display area. For ease of understanding, the following uses a specific application scenario as an example with reference to <FIG>. When the user browses news information on a news client by using the electronic apparatus, a chat message reminder pops up at the lower left corner of the display of the electronic apparatus. In this case, the user folds the electronic apparatus, so that the included angle between the first display area and the second display area meets the preset condition. In this case, if the camera is not enabled, the news information is displayed in the first display area, and a chat interface is displayed in the second display area. Optionally, the news information that is originally displayed in both the first display area and the second display area is now displayed in only the first display area. Therefore, the first display area definitely cannot completely display the news information. In this case, a scroll bar in the first display area may be slid to display content that has not been displayed and hide content that has been displayed.

Optionally, the two applications displayed in a split-screen manner may be two applications for which an association relationship is established in advance, or two applications last used by the user. In addition, the first display area and the second display area are connected through an "arc surface", and the "arc surface" is tangent to each of the two display areas. Tangents between the "arc surface" and the two display areas each may be used as a dividing line of the display areas, or a line that is in the center of the "arc surface" and that is in parallel with the "tangents" may be defined as a dividing line of the display areas.

Step S404: If the camera is not enabled, the electronic apparatus displays an interface of an application in the second display area, and skips displaying an interface of an application in the first display area.

In other words, if the camera is not enabled, and the included angle between the first display area and the second display area meets the preset condition, a one-hand operating function is enabled. To be specific, the interface of the application is displayed in the second display area, and the first display area does not display any useful information, for example, may be screen-off, or may display a black screen or a white screen. For ease of understanding, the following uses a specific application scenario as an example with reference to <FIG>. When the user browses icons on a home screen by using the electronic apparatus, the user folds the electronic apparatus, so that the included angle between the first display area and the second display area meets the preset condition. In this case, if the camera is not enabled, the icons on the home screen are displayed in the second display area, and a blank screen is displayed in the first display area. Optionally, the home screen that is originally displayed in both the first display area and the second display area is now displayed in only the second display area. The icons on the home screen may be scaled down in a same proportion and then displayed in the second display area. Alternatively, some icons on the home screen are first displayed in the second display area, and then the user may slide a scroll bar in the second display area to display an icon that is on the home screen and that has not been displayed and hide an icon that is on the home screen and that has been displayed.

In examples not falling under the scope of the claimed invention, how the electronic apparatus performs displaying when the camera is enabled may not be specifically limited.

In the method shown in <FIG>, when the included angle between the first display area and the second display area meets the preset condition, and the camera is enabled, the second part in which the second display area is located is used as a stabilization holder, the first display area is used as an area for displaying the photographed content, and the user may rotate the first part in which the first display area is located, to adjust the display angle of the first display area. Therefore, in a scenario in which a camera needs to be used, for example, a video chat scenario or a video live broadcast scenario, the user does not need to hold the electronic apparatus for a long time, and an independent holder does not need to be separately configured to stabilize the electronic apparatus, so that the electronic apparatus is used more efficiently and conveniently. In addition, when the included angle between the first display area and the second display area meets the preset condition, and the camera is not enabled, the split-screen display function or the one-hand operating function is enabled. In other words, in this embodiment of this application, with reference to the foregoing two conditions: whether the included angle can meet the preset condition and whether the camera is enabled, the electronic apparatus is flexibly controlled to implement a corresponding service. This enriches flexibility and diversity of controlling the electronic apparatus, and improves user experience.

Step S1200: The electronic apparatus displays an interface of an application in both the first display area and the second display area of the display.

Step S1201: The electronic apparatus determines that the included angle between the first display area and the second display area meets a preset condition.

Step S1202: The electronic apparatus displays photographed content in the second display area if the camera is enabled.

It should be noted that the electronic apparatus may determine, before performing step S1201, after performing step S1201, or when performing step S1201, whether the camera is enabled.

In this embodiment of this application, the electronic apparatus displays the photographed content in the second display area when determining that the camera is enabled. In this case, the first part is configured to flip along (the rotating shaft on) a side connected to the second part to adjust a shooting angle of the camera, and the photographed content is content photographed by the camera.

For example, it is assumed that the electronic apparatus is a mobile phone. As shown in <FIG>, the mobile phone includes a first part and a second part. When an included angle between a first display area in the first part and a second display area in the second part is <NUM> degrees, a display including both the first display area and the second display area is used to display an image shot by the camera. The shot image seen by a user is shown in a left part in <FIG>. As shown in <FIG>, when the user folds the first part or the second part and the included angle meets a preset condition, a shot image is displayed in the second display area. The first display area may not display any useful information, for example, may be screen-off, or may display a black screen, a white screen, or some information that is not important. The shot image seen by the user is shown in a left part in <FIG>. In this process, the user may keep the second part still and rotate the first part, to adjust the shooting angle of the camera. In this way, some special-angle scenery can be photographed. Compared with those in the manner in <FIG>, shooting angles are richer and operations are simpler.

According to the invention, the method further includes step S1204. In examples not falling under the scope of the claimed invention, the method may further include step S1203. S1203 and S1204 are as follows:.

Step S1203: The electronic apparatus separately displays interfaces of different applications in the first display area and the second display area if the camera is not enabled.

Step S1204: If the camera is not enabled, the electronic apparatus displays an interface of an application in the second display area, and skips displaying an interface of an application in the first display area.

In other words, if the camera is not enabled, and the included angle between the first display area and the second display area meets the preset condition, a one-hand operating function is enabled. To be specific, the interface of the application is displayed in the first display area, and the second display area does not display any useful information, for example, may be screen-off, or may display a black screen or a white screen. For ease of understanding, the following uses a specific application scenario as an example with reference to <FIG>. When the user browses icons on a home screen by using the electronic apparatus, the user folds the electronic apparatus, so that the included angle between the first display area and the second display area meets the preset condition. In this case, if the camera is not enabled, the icons on the home screen are displayed in the first display area, and a blank screen is displayed in the second display area. Optionally, the home screen that is originally displayed in both the first display area and the second display area is now displayed in only the first display area. The icons on the home screen may be scaled down in a same proportion and then displayed in the first display area. Alternatively, some icons on the home screen are first displayed in the first display area, and then the user may slide a scroll bar in the first display area to display an icon that is on the home screen and that has not been displayed and hide an icon that is on the home screen and that has been displayed.

In the method shown in <FIG>, when the included angle between the first display area and the second display area meets the preset condition, and the camera is enabled, the photographed content is displayed in the second display area, and no photographed content is displayed in the first display area, but the first part in which the first display area is located may be rotated to adjust the shooting angle of the camera. In this manner, a lot of special-angle scenery can be photographed, and operations are simple. In addition, when the camera is used to photograph the special-angle scenery, a display angle of the second display area may be adjusted to an angle at which the user is relatively comfortable to watch. Then, the angle is maintained. Subsequently, regardless of how the user adjusts the shooting angle of the camera, the user can watch photographed scenery at a relatively comfortable angle. This improves user experience. In addition, when the included angle between the first display area and the second display area meets the preset condition, and the camera is not enabled, the split-screen display function or the one-hand operating function is enabled. In other words, in this embodiment of this application, with reference to the foregoing two conditions: whether the included angle can meet the preset condition and whether the camera is enabled, the electronic apparatus is flexibly controlled to implement a corresponding service. This enriches flexibility and diversity of controlling the electronic apparatus, and improves user experience.

In <FIG> and <FIG>, the electronic apparatus is described from a perspective of hardware. The following divides a structure of the electronic apparatus from a perspective of functions with reference to <FIG>.

<FIG> is a schematic structural diagram of an electronic apparatus <NUM> according to an embodiment of the present invention. The electronic apparatus <NUM> includes a first part and a second part that are flexibly connected, the first part includes a first display area and a camera, the second part includes a second display area, and the first display area and the second display area form a display of the electronic apparatus <NUM>. The electronic apparatus <NUM> includes a determining unit <NUM> and a decision unit <NUM>.

The determining unit <NUM> is configured to determine that an included angle between the first display area and the second display area meets a preset condition.

The decision unit <NUM> is configured to display photographed content in the first display area if the camera is enabled, where the second part is configured to stabilize the electronic apparatus <NUM>, the first part is configured to flip along a side connected to the second part to adjust a display angle of the first display area, and the photographed content includes content that is photographed by another device and that is received by the electronic apparatus <NUM> and/or content photographed by the camera.

That the determining unit <NUM> is configured to determine that an included angle between the first display area and the second display area meets a preset condition is specifically:
determining that the included angle between the first display area and the second display area falls outside a preset angle range, where an absolute value of a difference between any angle in the preset angle range and <NUM> degrees is less than a preset threshold.

When the included angle between the first display area and the second display area does not fall outside the preset angle range, the first display area and the second display area are used to jointly perform a display task.

In a solution not falling under the scope of the claimed invention, the decision unit <NUM> is further configured to separately display interfaces of different applications in the first display area and the second display area if the camera is not enabled.

In the solution according to the claimed invention, the decision unit <NUM> is further configured to: if the camera is not enabled, display an interface of an application in the second display area, and skip displaying an interface of an application in the first display area.

Through running of the electronic apparatus <NUM>, when the included angle between the first display area and the second display area meets the preset condition, and the camera is enabled, the second part in which the second display area is located is used as a stabilization holder, the first display area is used as an area for displaying the photographed content, and a user may rotate the first part in which the first display area is located, to adjust the display angle of the first display area. Therefore, in a scenario in which a camera needs to be used, for example, a video chat scenario or a video live broadcast scenario, the user does not need to hold the electronic apparatus <NUM> for a long time, and an independent holder does not need to be separately configured to stabilize the electronic apparatus <NUM>, so that the electronic apparatus <NUM> is used more efficiently and conveniently. In addition, when the included angle between the first display area and the second display area meets the preset condition, and the camera is not enabled, a split-screen display function or a one-hand operating function is enabled. In other words, in this embodiment of this application, with reference to the foregoing two conditions: whether the included angle can meet the preset condition and whether the camera is enabled, the electronic apparatus <NUM> is flexibly controlled to implement a corresponding service. This enriches flexibility and diversity of controlling the electronic apparatus <NUM>, and improves user experience.

An embodiment of the present invention provides an electronic apparatus <NUM>. The electronic apparatus <NUM> includes a first part and a second part that are flexibly connected, the first part includes a first display area and a camera, the second part includes a second display area, and the first display area and the second display area form a display of the electronic apparatus <NUM>. The electronic apparatus <NUM> includes a determining unit and a decision unit.

The determining unit is configured to determine that an included angle between the first display area and the second display area meets a preset condition.

The decision unit is configured to: if the camera is not enabled, display an interface of an application in the second display area, and skip displaying an interface of an application in the first display area.

That the determining unit is configured to determine that an included angle between the first display area and the second display area meets a preset condition is specifically:
determining that the included angle between the first display area and the second display area falls outside a preset angle range, where an absolute value of a difference between any angle in the preset angle range and <NUM> degrees is less than a preset threshold.

For specific implementation and beneficial effects of the electronic apparatus <NUM>, refer to corresponding descriptions in the foregoing method embodiments.

The decision unit <NUM> is configured to display photographed content in the second display area if the camera is enabled, where the first part is configured to flip along a side connected to the second part to adjust a shooting angle of the camera, and the photographed content is content photographed by the camera.

In a solution according to the claimed invention, the decision unit <NUM> is further configured to: if the camera is not enabled, display an interface of an application in the second display area, and skip displaying an interface of an application in the first display area.

In the electronic apparatus <NUM>, when the included angle between the first display area and the second display area meets the preset condition, and the camera is enabled, the photographed content is displayed in the second display area, and no photographed content is displayed in the first display area, but the first part in which the first display area is located may be rotated to adjust the shooting angle of the camera. In this manner, a lot of special-angle scenery can be photographed, and operations are simple. In addition, when the camera is used to photograph the special-angle scenery, a display angle of the second display area may be adjusted to an angle at which a user is relatively comfortable to watch. Then, the angle is maintained. Subsequently, regardless of how the user adjusts the shooting angle of the camera, the user can watch photographed scenery at a relatively comfortable angle. This improves user experience. In addition, when the included angle between the first display area and the second display area meets the preset condition, and the camera is not enabled, a split-screen display function or a one-hand operating function is enabled. In other words, in this embodiment of this application, with reference to the foregoing two conditions: whether the included angle can meet the preset condition and whether the camera is enabled, the electronic apparatus <NUM> is flexibly controlled to implement a corresponding service. This enriches flexibility and diversity of controlling the electronic apparatus <NUM>, and improves user experience.

An embodiment of the present invention provides a schematic structural diagram of an electronic apparatus. The electronic apparatus includes a first part and a second part that are flexibly connected, the first part includes a first display area and a camera, the second part includes a second display area, and the first display area and the second display area form a display of the electronic apparatus. The electronic apparatus includes a determining unit and a decision unit.

For specific implementation and beneficial effects of the electronic apparatus, refer to corresponding descriptions in the foregoing method embodiments.

An embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium stores an instruction, and when the instruction is run on a processor, the method procedure shown in <FIG> or <FIG> is implemented.

An embodiment of the present invention further provides a computer program product. When the computer program product is run on a processor, the method procedure shown in <FIG> or <FIG> is implemented.

Claim 1:
An application control method, applied to an electronic apparatus, wherein the electronic apparatus comprises a first part and a second part that are flexibly connected, the first part comprises a first display area and a camera, the second part comprises a second display area, the first display area and the second display area form a display of the electronic apparatus, and the method comprises:
determining, by the electronic apparatus, that an included angle between the first display area and the second display area meets a preset condition;
determining, by the electronic apparatus, whether the camera is enabled; and
if the camera is enabled, displaying, by the electronic apparatus, photographed content in the first display area, wherein the second part is configured to stabilize the electronic apparatus, the first part is configured to flip along a side connected to the second part to adjust a display angle of the first display area, and the photographed content comprises content that is photographed by another device and that is received by the electronic apparatus and/or content photographed by the camera; and
if the camera is not enabled, displaying, by the electronic apparatus, an interface of an application in the second display area, and skipping displaying an interface of an application in the first display area;
wherein the determining, by the electronic apparatus, that an included angle between the first display area and the second display area meets a preset condition comprises:
determining that the included angle between the first display area and the second display area falls outside a preset angle range, wherein an absolute value of a difference between any angle in the preset angle range and <NUM> degrees is less than a preset threshold; and
wherein when the included angle between the first display area and the second display area does not fall outside the preset angle range, the first display area and the second display area are used to jointly perform a display task.