CN117424957A - Camera mode switching method and electronic equipment - Google Patents

Camera mode switching method and electronic equipment Download PDF

Info

Publication number
CN117424957A
CN117424957A CN202311196496.XA CN202311196496A CN117424957A CN 117424957 A CN117424957 A CN 117424957A CN 202311196496 A CN202311196496 A CN 202311196496A CN 117424957 A CN117424957 A CN 117424957A
Authority
CN
China
Prior art keywords
camera
screen
time point
state
interface
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.)
Pending
Application number
CN202311196496.XA
Other languages
Chinese (zh)
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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202311196496.XA priority Critical patent/CN117424957A/en
Publication of CN117424957A publication Critical patent/CN117424957A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Abstract

The application discloses a switching method of camera modes and electronic equipment, wherein the method comprises the following steps: at a first time point, responding to a power saving mode, enabling a camera of the electronic equipment to enter a sleep state, and closing a first camera interface displayed on a back screen; before the first time point, the camera is in a rear-mounted self-timer state; at a second time point, responding to the operation of switching the screen, and setting the display area as a main screen or an entire display screen; at a third time point, responding to the operation of waking up the camera, enabling the camera to exit from a sleep state, and based on the display area not being a back screen, enabling the camera to be in a rear-mounted self-timer state, setting the camera to exit from the rear-mounted self-timer state, and displaying a second camera interface on the main screen or the whole display screen; the first camera mode employed by the first camera interface is different from the second camera mode employed by the second camera interface. Through this application, can support the rear-mounted function of auto heterodyning when the camera is in power saving mode, avoid appearing the circumstances of camera mode disorder when waking up the camera simultaneously.

Description

Camera mode switching method and electronic equipment
Technical Field
The embodiment of the application relates to the field of computers, in particular to a camera mode switching method and electronic equipment.
Background
The outward folding screen is a display screen which can be folded outwards, and the electronic equipment with the outward folding screen comprises an outward folding screen mobile phone, an outward folding screen tablet personal computer and the like. Taking an out-folded folding screen mobile phone as an example, as shown in fig. 1A, the out-folded folding screen mobile phone may include an unfolded state and a folded state, when the out-folded folding screen mobile phone is in the unfolded state, the whole screen faces to the user, that is, the main screen and the back screen face to the same, and the display area seen by the user is the whole screen; when the mobile phone with the folding screen is in a folding state, the main screen and the back screen face opposite directions, and the main screen and the back screen are different display areas of the same screen.
A camera may be provided on an electronic device with an out-folded folding screen, which may support a post self-timer. Taking the out-folded folding screen mobile phone as an example, as shown in fig. 1B, the main screen may be equipped with a front camera and a rear camera, where the front camera is located in the display area of the main screen, and the rear camera is located in the back area of the main screen (opposite to the main screen).
The main screen and the back screen can display camera interfaces, and the camera interfaces displayed by the main screen and the back screen can adopt different camera modes. The camera mode herein refers to a shooting mode of a camera, shooting magnification, and the like. The shooting mode can be a portrait mode, a night view mode, a large aperture mode, a shooting mode, a video mode, a professional mode and the like, and the shooting magnification can be 0.7 times, 1 times, 1.3 times, 2 times and the like. As shown in fig. 1C, the back screen may display a camera interface of a first camera mode, where the first camera mode includes 4 shooting modes, that is, a portrait mode, a night view mode, a shooting mode, and a video mode, and the supportable shooting magnification is 0.7 times, 1 times, and 1.3 times; the main screen and the whole display screen can display a camera interface of a second camera mode, wherein the second camera mode comprises 6 shooting modes, namely a portrait mode, a night scene mode, a large aperture mode, a shooting mode, a video mode and a professional mode, and the shooting magnification capable of being supported is 1 time and 2 times. In addition, as shown in fig. 1D, when the folded-out folding-screen mobile phone is in a folded state, the user can orient the back screen to himself and shoot by using the rear camera, and meanwhile, the back screen can display a shooting picture acquired by the rear camera, so that the mode is called a rear self-timer state; meanwhile, a button for switching to the main screen can be displayed on the back screen, and a user can switch the camera interface to the main screen for display by clicking the button.
However, when the camera is in the post-auto-shooting state, the camera enters a power saving mode (the power saving mode refers to that the camera enters a sleep state in order to save power consumption, and the camera interface is closed at this time, and the user can wake up the camera only when clicking the screen), if the user performs the operation of switching the screen in the power saving mode, the situation that the camera mode is disordered when the user wakes up the camera occurs, so that the current camera does not support the power saving mode when in the post-auto-shooting state.
Disclosure of Invention
The application provides a camera mode switching method and electronic equipment, which can support a rear-mounted self-timer function when a camera is in a power saving mode, and avoid the condition that the camera mode is disordered when the camera is awakened.
In a first aspect, the present application provides a method for switching a camera mode, which is applied to an electronic device, where the electronic device includes a display screen and a rear camera, the display screen includes a main screen and a back screen, and the main screen and the back screen are two display areas of the same display screen; when the electronic equipment is in a folded state, the main screen and the back screen face opposite directions; when the electronic equipment is in an unfolding state, the main screen and the back screen face the same direction, and the display area is the whole display screen; the rear camera is positioned in the back area of the main screen, and the direction of the rear camera is opposite to that of the main screen; the method comprises the following steps: at a first time point, responding to a power saving mode starting, and enabling a camera of the electronic equipment to enter a sleep state; when the camera enters the sleep state, a first camera interface displayed by the back screen is closed; before a first time point, the electronic equipment is in a folded state, a back screen displays a first camera interface, and the camera is in a rear-mounted self-timer state; the first camera interface is a camera interface in a first camera mode, and the rear self-timer state is a state that a shooting picture acquired by a rear camera is displayed on a back screen; under the condition that the camera is in a sleep state, at a second time point, responding to the operation of switching the screen, and setting a display area as a main screen or an entire display screen; at a third time point, responding to the operation of waking up the camera, enabling the camera to exit from a sleep state, and based on the display area not being a back screen, enabling the camera to be in a rear-mounted self-timer state, setting the camera to exit from the rear-mounted self-timer state, and displaying a second camera interface on the main screen or the whole display screen; the second camera interface is a camera interface of a second camera mode, and the first camera mode and the second camera mode are different; the second time point is later than the first time point, and the third time point is later than the second time point.
Based on the method described in the first aspect, the first camera mode adopted by the back screen display camera interface is different from the second camera mode adopted by the main screen or the whole display screen display camera interface, when the electronic device is in the power saving mode, whether the current display area is switched needs to be judged when the camera is awakened, if the user performs the operation of switching the screen, the camera mode needs to be refreshed when the camera is awakened, the situation that the camera interface is displayed in an error camera mode, and the camera mode is disordered is avoided, so that the back-end self-timer function can be supported when the camera is in the power saving mode.
In one possible implementation manner, at a second time point, in response to an operation of switching the screen, setting the display area as the main screen or the entire display screen includes: setting a display area as a main screen in response to an operation of switching the screen under the condition that the electronic equipment is in a folded state at a second time point; the operation of the switching screen is a click operation of a screen switching button displayed on the back screen. Based on the mode, the flexibility of screen switching is improved.
In one possible implementation manner, at a second time point, in response to an operation of switching the screen, setting the display area as the main screen or the entire display screen includes: when the electronic equipment is in a folded state at a second time point, responding to the operation of switching the screen, and setting a display area as the whole display screen; the operation of the switching screen is an operation of expanding the electronic device. Based on the mode, the flexibility of screen switching is improved.
In one possible implementation, the method further includes: at a fourth time point, responding to the starting of the power saving mode, and enabling a camera of the electronic equipment to enter a sleep state; when the camera enters a sleep state, a first camera interface displayed by the back screen is closed; before a fourth time point, the electronic equipment is in a folded state, the back screen displays a first camera interface, and the camera is in a rear-mounted self-timer state; under the condition that the camera is in a sleep state, responding to an operation of waking up the camera at a fifth time point, taking a display area as a back screen, and displaying a first camera interface on the back screen when the camera is in a rear self-timer state; the fourth time point is later than the third time point, and the fifth time point is later than the fourth time point. Based on the mode, the situation that the camera modes are disordered can be avoided, and meanwhile, when judging that the screen switching operation is not executed, refreshing of the camera modes is not needed, so that power consumption is saved.
In one possible implementation, the method further includes: starting from a third time point, enabling a camera of the electronic equipment to enter a sleep state again after a preset time period; setting a display area as a back screen in response to an operation of switching the screen to the back screen at a sixth time point under the condition that the camera is in a sleep state; at a seventh time point, responding to the operation of waking up the camera, enabling the camera to exit from a sleep state, and based on the display area being a back screen, setting the camera to enter a rear-mounted self-timer state, and displaying a first camera interface on the back screen, wherein the camera is not in the rear-mounted self-timer state; the sixth time point is later than the third time point, and the seventh time point is later than the sixth time point. Based on this, it is possible to avoid a situation in which the camera mode is disordered when waking up the camera.
In one possible implementation, the method further includes: starting from a third time point, enabling a camera of the electronic equipment to enter a sleep state again after a preset time period; under the condition that the camera is in a sleep state, at an eighth time point, responding to an operation of waking up the camera, enabling the camera to exit the sleep state, and displaying a second camera interface on a main screen or the whole display screen based on the fact that the display area is not a back screen and the camera is not in a rear-mounted self-timer state; the eighth time point is later than the third time point. Based on this, it is possible to avoid a situation in which the camera mode is disordered when waking up the camera.
In one possible implementation manner, at a first time point, the display area is a back screen, and the electronic device is in a folded state; at a second time point, the operation of the switching screen is the operation of unfolding the electronic equipment, the display area is the whole display screen, and the electronic equipment is in an unfolded state; the method further comprises the steps of: starting from a third time point, enabling a camera of the electronic equipment to enter a sleep state again after a preset time period; under the condition that the camera is in a sleep state, at a ninth time point, responding to the operation of the folding electronic equipment, setting the current display area to be restored to the last display area, wherein the last display area is a back screen; based on the display area, recovering to the back screen, and setting the camera to reenter the rear self-timer state when the camera is not in the rear self-timer state; the ninth time point is later than the third time point. Based on this, it is possible to avoid a situation in which the camera mode is disordered when waking up the camera.
In a second aspect, the present application provides a device for switching a camera mode, where the device may be an electronic device, or may be a device in an electronic device, or may be a device that is capable of being used in a matching manner with the electronic device; the camera mode switching device may also be a chip system, where the camera mode switching device may perform the method performed by the electronic device in the first aspect. The function of the switching device of the camera mode can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more units corresponding to the functions described above. The unit may be software and/or hardware. The operations and advantages performed by the switching device of the camera mode may be referred to the methods and advantages described in the first aspect, and the repetition is omitted.
In a third aspect, the present application provides an electronic device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, the one or more memories being configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of switching camera modes in any of the possible implementations of the first aspect described above.
In a fourth aspect, the present application provides a switching device of camera modes comprising a function or unit for performing the method according to any one of the first aspects.
In a fifth aspect, the present application provides a computer readable storage medium having stored therein a computer program comprising program instructions which, when run on an electronic device, cause the electronic device to perform the method of switching camera modes in any of the possible implementations of the first aspect described above.
In a sixth aspect, the present application provides a computer program product for, when run on a computer, causing the computer to perform the method of switching camera modes in any one of the possible implementations of the first aspect.
Drawings
Fig. 1A is a schematic diagram of an unfolded state and a folded state of an out-folded folding screen mobile phone according to an embodiment of the present application;
fig. 1B is a schematic diagram of a front camera and a rear camera of an out-folded folding screen mobile phone according to an embodiment of the present application;
FIG. 1C is a schematic diagram of a first camera interface and a second camera interface provided in an embodiment of the present application;
FIG. 1D is a schematic diagram of a post self-timer state according to an embodiment of the present application;
fig. 2 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
FIG. 3 is a block diagram of a software architecture of an electronic device according to an embodiment of the present application;
fig. 4 is a flowchart of a method for switching camera modes based on a software structure according to an embodiment of the present application;
FIG. 5A is a schematic diagram of a camera entering a sleep state according to an embodiment of the present application;
FIG. 5B is a schematic diagram of a camera according to an embodiment of the present application in a sleep state (wake-up camera);
fig. 6 is a flowchart of a method for switching camera modes according to an embodiment of the present application;
FIG. 7A is a schematic diagram of a switch screen operation provided by an embodiment of the present application;
FIG. 7B is a schematic diagram of another switch screen operation provided by an embodiment of the present application;
FIG. 8A is a schematic diagram of waking up a camera and displaying a second camera interface on a home screen according to an embodiment of the present application;
FIG. 8B is a schematic diagram of waking up a camera and displaying a second camera interface throughout a display screen provided in an embodiment of the present application;
FIG. 9A is a schematic diagram of waking up a camera and displaying a first camera interface on a back screen according to an embodiment of the present application;
FIG. 9B is a schematic diagram of another wake-up camera and display of a second camera interface on a primary screen provided in an embodiment of the present application;
fig. 9C is a schematic diagram showing a first camera interface displayed on a back screen when the electronic device returns from an unfolded state to a folded state according to an embodiment of the present disclosure;
fig. 10 is a flowchart of another method for switching camera modes according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a switching device for camera modes according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a chip according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and thoroughly described below with reference to the accompanying drawings. Wherein, in the description of the embodiments of the present application, "/" means or is meant unless otherwise indicated, for example, a/B may represent a or B; the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: the three cases where a exists alone, a and B exist together, and B exists alone, and in addition, in the description of the embodiments of the present application, "plural" means two or more than two.
The terms "first," "second," and the like, are used below for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature, and in the description of embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
The term "User Interface (UI)" in the following embodiments of the present application is a media interface for interaction and information exchange between an application program or an operating system and a user, which enables conversion between an internal form of information and an acceptable form of the user. The user interface is a source code written in a specific computer language such as java, extensible markup language (extensible markup language, XML) and the like, and the interface source code is analyzed and rendered on the terminal equipment to finally be presented as content which can be identified by a user. A commonly used presentation form of the user interface is a graphical user interface (graphic user interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed in the display screen of the terminal device.
In order to facilitate understanding of the solutions provided by the embodiments of the present application, the following description describes related concepts related to the embodiments of the present application:
1. outward folding screen
The outward folding screen is a display screen which can be folded outwards, and the electronic equipment with the outward folding screen comprises an outward folding screen mobile phone, an outward folding screen tablet personal computer and the like. Taking an out-folded folding screen phone as an example, as shown in fig. 1A, the out-folded folding screen phone may include an unfolded state and a folded state. When the folding screen mobile phone is in an unfolding state, the whole screen faces to a user, namely the main screen and the back screen face to the same direction, and the display area which can be seen by the user is the whole screen, so that a better visual effect can be obtained. When the mobile phone with the folding screen is in a folding state, the main screen and the back screen face opposite directions, and on the folding screen, the main screen and the back screen are different display areas of the same screen. The screen orientation refers to a direction in which the front surface of the display screen faces.
2. Camera mode
The camera mode refers to a shooting mode, shooting magnification, and the like of the camera. The shooting mode may be a portrait mode, a night view mode, a large aperture mode, a shooting mode, a video mode, a professional mode, a panoramic mode, etc., and of course, more shooting modes may be included, which is not limited herein; the photographing magnification may be 0.7 times, 1 times, 1.3 times, 2 times, etc., and of course, more photographing magnifications may be included, which is not limited thereto. Different camera interfaces may employ different camera modes. Taking an out-folded folding screen mobile phone as an example, the main screen and the back screen can both display camera interfaces, and the camera interfaces displayed by the main screen and the back screen can adopt different camera modes. Illustratively, as shown in fig. 1C (a), the back screen displays a camera interface of a first camera mode (i.e., a first camera interface), which includes 4 photographing modes, i.e., a portrait mode, a night view mode, a photographing mode, a video recording mode, and can support photographing magnifications of 0.7 times, 1 times, 1.3 times; as shown in (b) of fig. 1C, the main screen displays a camera interface of a second camera mode (i.e., a second camera interface) including 6 photographing modes, i.e., a portrait mode, a night view mode, a large aperture mode, a photographing mode, a video mode, a professional mode, and photographing magnification that can be supported is 1-fold, 2-fold. As shown in (C) of fig. 1C, the entire display screen displays a camera interface of a second camera mode (i.e., a second camera interface), which also includes 6 photographing modes, i.e., a portrait mode, a night view mode, a large aperture mode, a photographing mode, a video mode, a professional mode, and can support photographing magnifications of 1-2 times.
It should be noted that, the second camera interface has more camera modes than the first camera interface, the supported magnification is larger, the interface displaying the camera picture is larger, and the user can execute more functional operations on the second camera interface; compared with the second camera interface, the first camera interface adopts fewer camera modes, the supported magnification is smaller, the operation is easier and more simplified, and the focusing self-timer is realized.
3. Power saving mode of camera
The power saving mode of the camera means that the camera can enter a sleep state in order to reduce power consumption and save electric quantity; when the camera enters a sleep state, closing a camera interface, and closing physical camera equipment (namely physical cameras such as a rear camera); and when the user clicks the screen, the user can wake up the camera, so that the camera is in a sleep state, a camera interface is displayed, and the physical camera equipment is started. The sleep state is a state designed to reduce the consumption of the battery. When the camera enters a sleep state, the camera does not run any background process, and at the moment, the camera is in an idle state, so that the power consumption can be reduced.
4. Rear-mounted self-timer
An application program of a camera can be installed on the electronic equipment with the folding screen, and the camera can support the post self-timer. Taking an out-folded folding screen mobile phone as an example, as shown in fig. 1B, a main screen may be equipped with a front camera and a rear camera, where the front camera is located in a display area of the main screen, and the rear camera is located in a back area of the main screen (opposite to the main screen and same to the back screen); the main screen and the back screen can display camera interfaces, and the camera interfaces displayed by the main screen and the back screen can adopt different camera modes.
In addition, as shown in fig. 1D, when the folding-out folding-screen mobile phone is in a folded state, the user can orient the back screen to himself and shoot by using the rear camera, and meanwhile, the back screen can display a shooting picture acquired by the rear camera, so that the mode is called a rear self-timer state. When a user opens the camera, shooting by adopting a rear camera by default, and if a camera interface is displayed on a back screen at the moment, considering that the camera directly enters a rear self-shooting state; if the camera interface is displayed on the main screen at this time, a button for switching to the back screen is also displayed on the main screen, and the user can click on the button for switching to the back screen, so that the camera interface is displayed on the back screen, and at this time, the camera is considered to enter a rear-mounted self-timer state. Of course, a button for switching to the main screen can be displayed on the back screen, and the user can switch the camera interface to the main screen for display by clicking the button; the user can also expand the mobile phone, so that the camera interface is switched to the whole display screen for display.
However, when the camera is in the rear-mounted self-timer state, the camera enters a power saving mode, if the user performs the operation of switching the screen in the power saving mode, a situation that the camera mode is disordered occurs when the camera is awakened, for example, the main screen should be a camera interface (i.e. a second camera interface) displaying a second camera mode, but a camera interface (i.e. a first camera interface) displaying a first camera mode is displayed when the camera is awakened; so the current camera cannot support the power saving mode when in the rear self-timer state.
In order to realize a rear-mounted self-timer function when a camera is in a power saving mode and avoid the condition that the camera mode is disordered when the camera is awakened, the application provides a switching method of the camera mode and electronic equipment. In a specific implementation, the above mentioned method of switching camera modes may be performed by the electronic device 100. The electronic device 100 may be an electronic device with an out-folded folding screen, such as an out-folded folding screen mobile phone, an out-folded folding screen tablet computer, an out-folded folding screen notebook computer, or the like, but is not limited thereto. The term "folding-out screen" as used herein means a display screen that can be folded out and includes a main screen and a back screen.
The hardware configuration of the electronic device 100 is described below. Referring to fig. 2, fig. 2 is a schematic hardware structure of an electronic device 100 according to an embodiment of the disclosure.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system. The processor 110 invokes instructions or data stored in the memory to cause the electronic device 100 to perform a method for switching camera modes performed by the electronic device in the method embodiments described below.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, etc. in other embodiments, the power management module 141 may be disposed in the processor 110.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a 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 may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into 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 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the 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 transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wi-Fi network), bluetooth (BT), BLE broadcast, global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., applied on the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1. The display 194 may be an out-folded display, i.e., a display that is folded out.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like. The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture still images or video. The camera 193 may include a front camera located in a display area of the screen and a rear camera located in a rear area of the screen. The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function) required for at least one function of the operating system, and the like. The storage data area may store data created during use of the electronic device 100 (e.g., audio data), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a nonvolatile memory such as a flash memory device or the like.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. The earphone interface 170D is used to connect a wired earphone. The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a hall sensor. The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). A distance sensor 180F for measuring a distance. The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector. The ambient light sensor 180L is used to sense ambient light level. The fingerprint sensor 180H is used to collect a fingerprint. The temperature sensor 180J is for detecting temperature. The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The bone conduction sensor 180M may acquire a vibration signal. The keys 190 include a power-on key, a volume key, etc. The motor 191 may generate a vibration cue. The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc. The SIM card interface 195 is used to connect a SIM card.
In addition, an operating system is run on the components. Such as iOS, android, etc. The operating system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated. It should be noted that, although the embodiment of the present application is described by taking an Android system as an example, the basic principle is also applicable to electronic devices of other operating systems.
Fig. 3 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application. The software structure adopts a layered architecture, the layered architecture divides the software into a plurality of layers, and each layer has clear roles and division work. The layers communicate with each other through a software interface. In this embodiment of the present application, an operating system (for example, an Android system runs on an AP) may be divided into three layers, namely, an application layer (APP), an application framework layer (FWK), and a hardware abstraction layer (hardware abstraction layer, HAL) from top to bottom.
The application layer may include a series of application packages, among other things. As shown in fig. 3, the application package may include an application such as a camera. In the present embodiment, a camera refers to a camera application. Camera applications may include camera Interface modules (which may be referred to as camera api2 modules), post self-timer management (which may be referred to as reacamselfiedmanager), power saving services (which may be referred to as blackscreen service), user Interface (UI) modules, and the like.
The camera api2Module is a Module in the camera application, and is used for managing and controlling the camera application, and providing an interface of the camera application.
The rearcamselfiedmanager is a module in the camera application and is used for managing the rear self-timer state of the camera, wherein the rear self-timer state is a state that a shooting picture acquired by a rear camera is displayed on a back screen. In the embodiment of the application, the rearcamselfiedmanager can be responsible for entering and exiting the post self-timer state, and can register monitoring of a power saving mode with blackscreen service and the like. In embodiments of the present application, post self-timer management (rearcamselfiedmanager) may be initiated in response to an operation in which the camera is started.
The BlackScreen service is a module in the camera application, and is used for enabling the camera to enter a sleep state when the camera is in a power saving mode, closing a camera interface at the moment, and closing physical camera equipment through a FWK layer and a HAL layer; when the camera is woken up, the camera exits the sleep state and the physical camera device may be turned on through the FWK layer, HAL layer. In this embodiment of the present application, when the blackscreen service monitors that the camera exits from the sleep state under the condition that the reasemselfiedmanager registers the monitoring in the power saving mode with the blackscreen service, a callback function may be invoked to notify that the reasemselfiedmanager is currently awakened.
The UI module is a module in the camera application, and is used for displaying an interface of the electronic device, such as a first camera interface, a second camera interface, and the like.
The application framework layer provides application programming interface (application programming interface, API) frameworks for application developers to access core functions and various services and management tools, including interface management, data access, messaging at the application layer, management of application packages, telephony management, location management, etc. The application framework layer includes a number of predefined functions. As shown in fig. 3, the application framework layer may include a camera service (camera service) or the like. The camera service is used for being responsible for starting flow scheduling of camera applications, creation and management of processes, creation and management of windows and the like.
The hardware abstraction layer is an interface layer between the operating system kernel and the hardware circuitry, which aims at abstracting the hardware. It hides the hardware interface details of the specific platform and can provide a virtual hardware platform for the operating system. As shown in fig. 3, the hardware abstraction layer may include a camera device interface (camera device), a camera device session interface (camera device session), a camera provisioning service (camera provider), and the like. Wherein the camera device is an abstract representation of a single camera connected to the device, the camera device may support fine-grained control and post-processing of captured images at high frame rates; the camera device session is used for creating a camera device session, storing attributes, configuration information and the like required by the camera device session; the camel provider is used to enumerate individual devices and manage their status, and can turn on and off physical camera devices (e.g., a rear camera).
Based on the software structure, the embodiment of the application provides a flow diagram of a method for switching camera modes based on the software structure. As shown in fig. 4, the method for switching the camera mode includes the following steps S401 to S406. Wherein:
s401, the electronic equipment responds to the operation of starting the camera by a user, and calls a camera interface module to start the camera; when the camera is started, the post self-timer management is initialized.
In the embodiment of the application, a user can start a camera (also called as a camera application) to shoot; the electronic device invokes the camera interface module to turn on the camera in response to a user turning on the camera. The post self-timer management needs to be initialized while the camera is turned on. At the moment, the electronic equipment is in a folded state, a first camera interface is displayed on the back screen through the user interface module, and the camera is in a rear-mounted self-timer state. The first camera interface is a camera interface in a first camera mode (as shown in fig. 1C (a)), and the rear self-timer state refers to a state in which a shooting picture acquired by a rear camera is displayed on a back screen (as shown in fig. 1D).
S402, the post self-timer management registers monitoring to the power saving service.
In the embodiment of the application, the post self-timer management can register monitoring with the power saving service in a static configuration mode. By snoop is meant a mechanism for listening to the occurrence of an event and performing the corresponding action when the event occurs. The event of the specific monitoring of the post self-timer management is that the camera is awakened when the camera is in a sleep state under the condition that the camera is in a power saving mode.
S403, under the condition of starting a power saving mode, the camera enters a sleep state; the power saving service closes the first camera interface in response to the camera entering a sleep state.
In this embodiment of the present application, the user may be able to turn on the power saving mode for the electronic device by himself, or may be able to automatically turn on the power saving mode when the electronic device detects that the electric quantity is lower than the preset threshold, which is not limited herein. Under the condition of starting the power saving mode, the camera enters a sleep state. The sleep state is a state designed to reduce the consumption of the battery. When the camera enters a sleep state, the power saving service closes the first camera interface, and simultaneously closes the physical camera device through the modules in the FWK layer and the HAL layer. At this time, the camera does not run any background process, and is in an idle state, so that power consumption can be reduced. The user can wake up the camera when clicking or tapping the screen, so that the camera can be in a sleep state.
As shown in fig. 5A, the power saving service may monitor an event that the camera enters a sleep state, and when monitoring that the camera enters the sleep state, close a first camera interface displayed on the back screen in response to the event that the camera enters the sleep state; at this time, the back screen does not display the first camera interface, but only displays a button for switching the screen (for example, a button for switching to the main screen).
S404, the electronic equipment responds to the operation of waking up the camera by the user, and the camera exits from a sleep state; and the power saving service calls a callback function to inform the rear self-timer to manage that the current camera is awakened in response to the camera exiting the sleep state.
In the embodiment of the present application, the operation of waking up the camera by the user may be an operation of clicking or tapping the screen by the user, which is not limited herein. As shown in fig. 5B, the camera exits the sleep state in response to a user waking up the camera. The power saving service can monitor the event that the camera exits the sleep state, and when the event that the camera exits the sleep state is monitored, call a callback function to inform the rear-mounted self-timer to manage that the current camera is awakened.
And S405, when the rear-mounted self-timer management judges that the current display area is not the back screen and the current camera is in the rear-mounted self-timer state, indicating that the current camera mode is wrong, and setting the camera to exit the rear-mounted self-timer state.
In this embodiment of the present application, the post self-timer management needs to determine whether the current display area is a back screen, and whether the current camera is in a post self-timer state. If the current display area is not the back screen and the current camera is in the rear-mounted self-timer state, indicating that the current camera mode is wrong, and setting the camera to exit the rear-mounted self-timer state; if the current display area is the back screen and the current camera is in the rear self-timer state, the camera is kept in the rear self-timer state.
It can be understood that if the post self-timer management determines that the current display area is not the back screen and the current camera is in the post self-timer state, it indicates that the camera is in the sleep state and the user performs the operation of screen switching, for example, the user clicks a button for switching to the main screen, and at this time, the display area is switched to the main screen; or, the user expands the electronic device, at which time the display area is switched to the entire display screen. Since the user performs screen switching (i.e., the display area is switched to the main screen or the entire display screen), the camera interface of the second camera mode (i.e., the second camera interface) should be displayed at the main screen or the entire display screen. However, the camera is still in the rear-mounted self-timer state, the camera interface (i.e., the first camera interface) of the first camera mode is displayed on the main screen or the whole display screen, and the situation that the camera mode is disordered is generated at this time, so that the rear-mounted self-timer management needs to indicate the error of the current camera mode, and the camera is set to exit the rear-mounted self-timer state, so that the situation that the camera mode is disordered due to the fact that the camera interface is displayed in the wrong camera mode is avoided. If the rear self-timer management judges that the current display area is the back screen and the current camera is in the rear self-timer state, the camera is indicated to be in the sleep state, the user does not switch the screen, and the display area is still the back screen, so that the camera does not need to exit from the rear self-timer state.
S406, the user interface module displays a second camera interface on the main screen or the whole display screen.
In the embodiment of the application, when the camera exits from the sleep state, the power saving service starts the physical camera device through the modules in the FWK layer and the HAL layer. The electronic device refreshes the camera mode in response to the camera exiting the post-self-timer state. The user interface module displays a second camera interface on the main screen or the entire display screen according to the current display area. When the rear-mounted self-timer management does not set the camera to exit the rear-mounted self-timer state (namely, the current camera is still in the rear-mounted self-timer state), the camera mode does not need to be refreshed at the moment, and the user interface module displays a first camera interface on the back screen. Based on the mode, the rear-mounted self-timer function can be realized when the camera is in the power saving mode, and meanwhile, the condition that the camera mode is disordered when the camera is awakened is avoided.
1. Under the condition that the camera is in a rear-mounted self-timer state, the electronic equipment starts a power saving mode, and screen switching is performed when the camera is in a dormant state.
Based on the foregoing, a method for switching camera modes provided in the embodiments of the present application is further described in detail below. As shown in fig. 6, the camera mode switching method includes the following steps S601 to S603. The method execution body shown in fig. 6 may be the above-mentioned electronic device. Alternatively, the method execution body shown in fig. 6 may be a chip in the electronic device, which is not limited in the embodiment of the present application. Fig. 6 illustrates an example of an execution body of the method of the electronic device. The electronic equipment comprises a display screen and a rear camera, wherein the display screen comprises a main screen and a back screen, and the main screen and the back screen are two display areas of the same display screen; when the electronic equipment is in a folded state, the main screen and the back screen face opposite directions; when the electronic equipment is in an unfolding state, the main screen and the back screen face the same direction, and the display area is the whole display screen; the rear camera is located in the back area of the main screen, and the direction of the rear camera is opposite to that of the main screen.
S601, at a first time point, the electronic device responds to a power saving mode to enable a camera of the electronic device to enter a sleep state.
In the embodiment of the application, a user may start a camera (may also be referred to as a camera application) to shoot. Before a first time point, the electronic device is in a folded state, the back screen displays a first camera interface, and the camera is in a rear-mounted self-timer state (shown in fig. 1D); the first camera interface is a camera interface in a first camera mode (as shown in fig. 1C (a)), and the rear self-timer state is a state in which a shooting picture acquired by a rear camera is displayed on a back screen.
At the first time point, the power saving mode of the electronic device can be a power saving mode of the electronic device which is started by a user, or a power saving mode of the electronic device which is started automatically when the electric quantity detected by the electronic device is lower than a preset threshold value, and the method is not limited. At this point the electronic device will enable the camera to go to sleep. When the camera enters a sleep state, the first camera interface displayed by the back screen is closed, and the physical camera device is also closed. As shown in fig. 5A, only a button for switching the screen (e.g., a button for switching to the main screen) is displayed on the back screen at this time.
In the software architecture of the electronic device, the application layer includes a camera (camera application); camera applications include User Interface (UI) modules, camera interface modules (CameraApi 2 modules), post self-timer management (rearcamselfiedmanager), power saving services (blackscreen service). At the first time point, the specific implementation process of the electronic device in response to the power saving mode enabling the camera of the electronic device to enter the sleep state may refer to the steps S401 to S403, namely: the electronic equipment responds to the operation of starting the camera by a user, and calls a camera interface module to start the camera; when the camera is started, the post self-timer management is initialized; the post self-timer management registers and monitors to the power saving service; under the condition of starting a power saving mode, the camera enters a sleep state; the power saving service closes the first camera interface in response to the camera entering a sleep state.
And S602, under the condition that the camera is in a sleep state, at a second time point, the electronic equipment responds to the operation of switching the screen, and sets the display area as a main screen or an entire display screen.
In the embodiment of the application, under the condition that the camera is in a sleep state, the user performs screen switching operation on the electronic equipment at a second time point; and the electronic equipment responds to the operation of switching the screen, and sets the display area as a main screen or an entire display screen. The operation of switching the screen may be, but not limited to, clicking a button displayed on the back screen to switch to the main screen (as shown in fig. 5A), expanding the electronic device by the user, or switching other screens. Wherein the second point in time is later than the first point in time.
In one possible implementation manner, when the electronic device sets the display area to be the main screen or the whole display screen in response to the operation of switching the screen at the second time point, the following two cases may be included in a specific implementation manner.
Case 1: setting a display area as a main screen in response to an operation of switching the screen under the condition that the electronic equipment is in a folded state at a second time point; the operation of the switching screen is a click operation of a screen switching button displayed on the back screen.
As shown in fig. 7A, after the user clicks the screen switching button displayed on the back screen (i.e., the button for switching to the home screen), the electronic device sets the display area as the home screen, and at this time, the back screen does not display the camera interface, nor the screen switching button; the home screen does not display a camera interface, but only displays another screen switch button (i.e., a button to switch to the back screen).
Case 2: when the electronic equipment is in a folded state at a second time point, responding to the operation of switching the screen, and setting a display area as the whole display screen; the operation of the switching screen is an operation of expanding the electronic device.
As shown in fig. 7B, after the user expands the folded electronic device at the second time point, the electronic device forcibly sets the display area to be the whole display screen, and at this time, the camera interface is not displayed on the whole display screen.
S603, at a third time point, the electronic equipment responds to the operation of waking up the camera, enables the camera to exit from a sleep state, and based on the display area not being a back screen, the camera is in a rear self-timer state, the camera is set to exit from the rear self-timer state, and a second camera interface is displayed on the main screen or the whole display screen.
In the embodiment of the application, at the third time point, the user may wake up the camera by clicking the screen or tapping the screen; the electronic equipment responds to the operation of waking up the camera and enables the camera to exit from a sleep state; meanwhile, when the current display area is judged not to be the back screen and the camera is in the rear-mounted self-timer state, the electronic equipment needs to set the camera to exit the rear-mounted self-timer state, and meanwhile, the physical camera equipment is started, and a second camera interface is displayed on the main screen or the whole display screen. Wherein the second camera interface is a camera interface of a second camera mode (as shown in (b) of fig. 1C or (C) of fig. 1C), and the first camera mode and the second camera mode are different; the third point in time is later than the second point in time.
That is, if the electronic device determines that the current display area is not the back screen and the current camera is in the rear self-timer state, it indicates that the user performs the screen switching operation while the camera is in the sleep state. Since the user performs screen switching (i.e., the display area is switched to the main screen or the entire display screen), a camera interface of the second camera mode (i.e., a second camera interface) should be displayed at this time. However, the camera is still in the rear-mounted self-timer state, and the camera interface of the first camera mode (i.e., the first camera interface) is displayed on the main screen or the whole display screen, so that the situation of disordered camera mode occurs. Therefore, the electronic device needs to refresh the camera mode, and sets the camera to exit the post-self-timer state so as to avoid the situation that the camera mode is disordered due to the fact that the camera interface is displayed in the wrong camera mode.
For a specific implementation process, reference may be made to steps S404 to S406 described above, that is, the electronic device responds to the operation of waking up the camera by the user, and the camera exits from the sleep state; the power saving service calls a callback function to inform the rear-mounted self-timer to manage that the current camera is awakened in response to the camera exiting from the sleep state; when the rear self-timer management judges that the current display area is not a back screen and the current camera is in a rear self-timer state, indicating that the current camera mode is wrong, and setting the camera to exit the rear self-timer state; the user interface module displays the second camera interface on the main screen or the entire display screen.
For example, suppose that the user clicks a screen switch button displayed on the back screen (i.e., a button to switch to the main screen), at which point the back screen does not display a camera interface nor a screen switch button, as shown in fig. 7A; the home screen does not display a camera interface, but only displays another screen switch button (i.e., a button to switch to the back screen). As shown in fig. 8A, the user may wake up the camera by clicking on the home screen, where the electronic device displays a second camera interface.
For another example, assume that the user expands the folded electronic device, at which time the electronic device forcibly sets the display area to the entire display screen, and the camera interface is not displayed on the entire display screen, as shown in fig. 7B. As shown in fig. 8B, the user may wake up the camera by clicking on the screen and the electronic device displays a second camera interface throughout the display screen.
In one possible implementation, the method further includes: at a fourth time point, the electronic equipment responds to the power saving mode starting to enable a camera of the electronic equipment to enter a sleep state; when the camera enters a sleep state, a first camera interface displayed by the back screen is closed; before a fourth time point, the electronic equipment is in a folded state, the back screen displays a first camera interface, and the camera is in a rear-mounted self-timer state; under the condition that the camera is in a sleep state, at a fifth time point, the electronic equipment responds to the operation of waking up the camera, the display area is a back screen, the camera is in a rear self-timer state, and a first camera interface is displayed on the back screen; the fourth time point is later than the third time point, and the fifth time point is later than the fourth time point.
It is understood that before the fourth point in time, the user switches the camera to the post-self-timer state again. Under the condition that the camera is in the rear-mounted self-timer state, the electronic equipment starts a power saving mode, if the electronic equipment judges that the current display area is the back screen when the camera is awakened, and the current camera is in the rear-mounted self-timer state, the fact that the camera is in the sleep state does not carry out screen switching operation is indicated, the current display area is still the back screen, a camera interface does not need to be refreshed, and the first camera interface can be directly displayed on the back screen. Specific implementation may refer to the following description in fig. 10, which is not described herein.
In one possible implementation, the method further includes: starting from a third time point, enabling a camera of the electronic equipment to enter a sleep state again after a preset time period; setting a display area as a back screen in response to an operation of switching the screen to the back screen at a sixth time point under the condition that the camera is in a sleep state; at a seventh time point, responding to the operation of waking up the camera, enabling the camera to exit from a sleep state, and based on the display area being a back screen, setting the camera to enter a rear-mounted self-timer state, and displaying a first camera interface on the back screen, wherein the camera is not in the rear-mounted self-timer state; the sixth time point is later than the third time point, and the seventh time point is later than the sixth time point. Based on this, it is possible to avoid a situation in which the camera mode is disordered when waking up the camera. The preset time period may be a time period set by a user or a manufacturer, and after the camera is awakened, the camera enters a sleep state again after the preset time period.
Illustratively, as shown in fig. 9A, after the user wakes up the camera by clicking or tapping the home screen at a third point in time, a second camera interface is displayed on the home screen. From the third time point, the camera can reenter the sleep state after the preset time period so as to save the electric quantity. Under the condition that the camera is in a sleep state, at a sixth time point, the user performs the operation of switching the screen to the back screen (namely, clicks a button for switching to the back screen), the electronic equipment sets a display area to the back screen, and at the moment, the main screen does not display a camera picture and does not display the button for switching to the back screen; the back screen does not display the camera interface, but only displays the button to switch to the home screen. When the user wakes up the camera by clicking the back screen or touching the back screen at the seventh time point, the electronic equipment responds to the operation of waking up the camera and enables the camera to exit from the sleep state; meanwhile, when the current display area is judged to be the back screen and the camera is not in the rear-mounted self-timer state, the electronic equipment needs to set the camera to enter the rear-mounted self-timer state and display a first camera interface on the back screen.
In one possible implementation, the method further includes: starting from a third time point, enabling a camera of the electronic equipment to enter a sleep state again after a preset time period; under the condition that the camera is in a sleep state, at an eighth time point, responding to an operation of waking up the camera, enabling the camera to exit the sleep state, and displaying a second camera interface on a main screen or the whole display screen based on the fact that the display area is not a back screen and the camera is not in a rear-mounted self-timer state; the eighth time point is later than the third time point. Based on this, it is possible to avoid a situation in which the camera mode is disordered when waking up the camera. The preset time period may be a time period set by a user or a manufacturer, and after the camera is awakened, the camera enters a sleep state again after the preset time period.
Illustratively, as shown in fig. 9B, after the user wakes up the camera by clicking or tapping the home screen at a third point in time, a second camera interface is displayed on the home screen. From the third time point, the camera can reenter the sleep state after the preset time period so as to save the electric quantity. Under the condition that the camera is in a sleep state, when a user wakes up the camera by clicking or tapping the main screen at an eighth time point, the electronic equipment responds to the operation of waking up the camera and enables the camera to exit the sleep state; meanwhile, when the current display area is judged not to be the back screen and the camera is not in the rear-mounted self-timer state, the fact that the user does not execute the operation of switching the screen in the process of re-entering the sleep state to being awakened again is indicated, and therefore the camera interface does not need to be refreshed, and the second camera interface can be directly displayed on the main screen.
In one possible implementation manner, at a first time point, the display area is a back screen, and the electronic device is in a folded state; at a second time point, the operation of the switching screen is the operation of unfolding the electronic equipment, the display area is the whole display screen, and the electronic equipment is in an unfolded state; the method further comprises the steps of: starting from a third time point, enabling a camera of the electronic equipment to enter a sleep state again after a preset time period; under the condition that the camera is in a sleep state, at a ninth time point, responding to the operation of the folding electronic equipment, setting the current display area to be restored to the last display area, wherein the last display area is a back screen; based on the display area, recovering to the back screen, and setting the camera to reenter the rear self-timer state when the camera is not in the rear self-timer state; the ninth time point is later than the third time point. Based on this, it is possible to avoid a situation in which the camera mode is disordered when waking up the camera. The preset time period may be a time period set by a user or a manufacturer, and after the camera is awakened, the camera enters a sleep state again after the preset time period.
As shown in fig. 9C, at a first time point, the electronic device is in a folded state, and the display area is a back screen; at a second point in time, the user expands the electronic device in the collapsed state, at which time the display area is set to the entire display screen. And after the camera is awakened through the operation of clicking the screen or tapping the screen at the third time point, displaying a second camera interface on the whole display screen, wherein the electronic equipment is in an unfolding state. From the third time point, the camera can reenter the sleep state after the preset time period so as to save the electric quantity. Under the condition that the camera is in a sleep state, the user refolding the unfolded electronic equipment at a ninth time point, and the electronic equipment needs to restore the current display area to the previous display area, namely a back screen; when the electronic equipment judges that the current display area is restored to the back screen and the camera is not in the rear-mounted self-timer state, the camera needs to be reset to enter the rear-mounted self-timer state.
Therefore, based on the method described in the application, the first camera mode adopted by the back screen display camera interface is different from the second camera mode adopted by the main screen or the whole display screen display camera interface, and when the electronic equipment is in the power saving mode, whether the current display area is switched needs to be judged when the camera is awakened, if the user performs the operation of switching the screen, the camera mode needs to be refreshed when the camera is awakened, the situation that the camera interface is displayed in an error camera mode to cause the disorder of the camera mode is avoided, and the back self-timer function can be supported when the camera is in the power saving mode.
2. Under the condition that the camera is in a rear-mounted self-timer state, the electronic equipment starts a power saving mode, and screen switching is not performed when the camera is in a dormant state.
Based on the foregoing, another method for switching camera modes provided in the embodiments of the present application is described in further detail below. As shown in fig. 10, the method of switching the camera mode includes the following steps S1001 and S1002. The method execution body shown in fig. 10 may be the above-mentioned electronic device. Alternatively, the method execution body shown in fig. 10 may be a chip in the electronic device, which is not limited in the embodiment of the present application. Fig. 10 illustrates an execution body of the method of the electronic device as an example. The electronic equipment comprises a display screen and a rear camera, wherein the display screen comprises a main screen and a back screen, and the main screen and the back screen are two display areas of the same display screen; when the electronic equipment is in a folded state, the main screen and the back screen face opposite directions; when the electronic equipment is in an unfolding state, the main screen and the back screen face the same direction, and the display area is the whole display screen; the rear camera is located in the back area of the main screen, and the direction of the rear camera is opposite to that of the main screen.
S1001, at a fourth time point, the electronic device responds to the power saving mode to enable the camera of the electronic device to enter a sleep state.
In the embodiment of the application, when the camera enters a sleep state, a first camera interface displayed on the back screen is closed, and meanwhile, the physical camera equipment is also closed; before a fourth time point, the electronic equipment is in a folded state, the back screen displays a first camera interface, and the camera is in a rear self-timer state. Specific implementation may refer to the description of step S601 at that time, and will not be described herein.
And S1002, under the condition that the camera is in a sleep state, at a fifth time point, the electronic equipment responds to the operation of waking up the camera, the display area is a back screen, the camera is in a rear self-timer state, and a first camera interface is displayed on the back screen.
In the embodiment of the present application, the fifth time point is later than the fourth time point. Under the condition that the camera is in the rear-mounted self-timer state, the electronic equipment starts a power saving mode, if the electronic equipment judges that the current display area is the back screen when the camera is awakened, and the current camera is in the rear-mounted self-timer state, the fact that the camera is in the sleep state does not perform screen switching operation is indicated, the current display area is still the back screen, physical camera equipment can be started, and a first camera interface is directly displayed on the back screen.
As shown in fig. 5B, at a fourth time point, the user turns on the power saving mode, the camera of the electronic device enters a sleep state, and when the camera enters the sleep state, the first camera interface displayed on the back screen is turned off, and only a button for switching to the main screen is displayed; at a fifth time point, the user can click the back screen to wake up the camera, at this time, the electronic device judges that the current display area is the back screen, and the current camera is in a rear self-timer state, which indicates that the user does not perform screen switching operation when the camera is in a sleep state, and the first camera interface is directly displayed on the back screen.
Therefore, based on the method described in the application, the first camera mode adopted by the back screen display camera interface is different from the second camera mode adopted by the main screen or the whole display screen display camera interface, and when the electronic equipment is in the power saving mode, whether the current display area is switched needs to be judged when the camera is awakened, if the user does not execute the operation of switching the screen, the camera mode does not need to be refreshed when the camera is awakened, so that the power consumption is saved.
It should be noted that the method for switching camera modes provided in the present application may also be applicable to other applications with high power consumption, such as game applications, video applications, and the like. The method and the device can be particularly applied to a scene of state disorder when the application enters the power saving mode and exits the power saving mode. For example, for a game application, when the game application enters a power saving mode and the electronic device is unfolded, the screen state changes, and when the electronic device exits the power saving mode, the interface can be refreshed to adapt to a new layout similar to the switching method of the camera mode, which is not described herein.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a camera mode switching device 1100 according to an embodiment of the present application. The switching device of the camera mode shown in fig. 11 may be an electronic device, a device in an electronic device, or a device that can be used in a matching manner with an electronic device. The electronic equipment comprises a display screen and a rear camera, wherein the display screen comprises a main screen and a back screen, and the main screen and the back screen are two display areas of the same display screen; when the electronic equipment is in a folded state, the main screen and the back screen face opposite directions; when the electronic equipment is in an unfolding state, the main screen and the back screen face the same direction, and the display area is the whole display screen; the rear camera is located in the back area of the main screen, and the direction of the rear camera is opposite to that of the main screen. The switching device of the camera mode shown in fig. 11 may include a processing unit 1101 and a display unit 1102. Wherein:
A processing unit 1101, configured to, at a first time point, in response to turning on a power saving mode, cause a camera of the electronic device to enter a sleep state; when the camera enters the sleep state, a first camera interface displayed by the back screen is closed; before a first time point, the electronic equipment is in a folded state, a back screen displays a first camera interface, and the camera is in a rear-mounted self-timer state; the first camera interface is a camera interface in a first camera mode, and the rear self-timer state is a state that a shooting picture acquired by a rear camera is displayed on a back screen;
the processing unit 1101 is further configured to set, at a second time point, a display area as a main screen or an entire display screen in response to an operation of switching the screen in a case where the camera is in a sleep state;
the display unit 1102 is configured to, at a third time point, respond to an operation of waking up the camera, cause the camera to exit the sleep state, and display a second camera interface on the main screen or the entire display screen based on the display area not being the back screen, the camera being in a rear-mounted self-timer state, and set the camera to exit the rear-mounted self-timer state; the second camera interface is a camera interface of a second camera mode, and the first camera mode and the second camera mode are different; the second time point is later than the first time point, and the third time point is later than the second time point.
In one possible implementation manner, the processing unit 1101 is specifically configured to, at the second time point, when setting the display area as the main screen or the entire display screen in response to the operation of switching the screen: setting a display area as a main screen in response to an operation of switching the screen under the condition that the electronic equipment is in a folded state at a second time point; the operation of the switching screen is a click operation of a screen switching button displayed on the back screen.
In one possible implementation manner, the processing unit 1101 is specifically configured to, at the second time point, when setting the display area as the main screen or the entire display screen in response to the operation of switching the screen: when the electronic equipment is in a folded state at a second time point, responding to the operation of switching the screen, and setting a display area as the whole display screen; the operation of the switching screen is an operation of expanding the electronic device.
In a possible implementation, the processing unit 1101 is further configured to, at a fourth point in time, in response to turning on the power saving mode, put the camera of the electronic device into a sleep state; when the camera enters a sleep state, a first camera interface displayed by the back screen is closed; before a fourth time point, the electronic equipment is in a folded state, the back screen displays a first camera interface, and the camera is in a rear-mounted self-timer state; the display unit 1102 is further configured to, in a case where the camera is in a sleep state, respond to an operation of waking up the camera at a fifth time point, display a first camera interface on the back screen based on the display area being the back screen, and the camera being in a rear-mounted self-timer state; the fourth time point is later than the third time point, and the fifth time point is later than the fourth time point.
In a possible implementation manner, the processing unit 1101 is further configured to, after a preset period of time from the third time point, make the camera of the electronic device reenter the sleep state; setting a display area as a back screen in response to an operation of switching the screen to the back screen at a sixth time point under the condition that the camera is in a sleep state; the display unit 1102 is further configured to, at a seventh time point, respond to an operation of waking up the camera, make the camera exit from the sleep state, and based on the display area being a back screen, and the camera not being in a rear-mounted self-timer state, set the camera to enter the rear-mounted self-timer state, and display a first camera interface on the back screen; the sixth time point is later than the third time point, and the seventh time point is later than the sixth time point.
In a possible implementation manner, the processing unit 1101 is further configured to, after a preset period of time from the third time point, make the camera of the electronic device reenter the sleep state; the display unit 1102 is further configured to, in a case where the camera is in a sleep state, at an eighth time point, respond to an operation of waking up the camera, cause the camera to exit the sleep state, and display a second camera interface on the main screen or the entire display screen based on the display area not being the back screen and the camera not being in a rear-mounted self-timer state; the eighth time point is later than the third time point.
In a possible implementation manner, the processing unit 1101 is further configured to, at a first time point, display the display area as a back screen, and the electronic device as a folded state; at a second time point, the operation of the switching screen is the operation of unfolding the electronic equipment, the display area is the whole display screen, and the electronic equipment is in an unfolded state; the method further comprises the steps of: starting from a third time point, enabling a camera of the electronic equipment to enter a sleep state again after a preset time period; the display unit 1102 is further configured to set, at a ninth time point, in response to an operation of the folding electronic device, a display area to be restored to a previous display area, where the previous display area is a back screen, where the camera is in a sleep state; based on the display area, recovering to the back screen, and setting the camera to reenter the rear self-timer state when the camera is not in the rear self-timer state; the ninth time point is later than the third time point.
For the case that the switching means of the camera mode may be a chip or a chip system, reference may be made to the schematic structure of the chip shown in fig. 12. The chip 1200 shown in fig. 12 includes a processor 1201 and an interface 1202. Optionally, a memory 1203 may also be included. Wherein the number of processors 1201 may be one or more, and the number of interfaces 1202 may be a plurality.
For the case where the chip is used to implement the electronic device in the embodiments of the present application:
the interface 1202 is configured to receive or output a signal;
the processor 1201 is configured to perform data processing operations of the electronic device.
It can be understood that some optional features in the embodiments of the present application may be implemented independently in some scenarios, independent of other features, such as the scheme on which they are currently based, so as to solve corresponding technical problems, achieve corresponding effects, or may be combined with other features according to requirements in some scenarios. Accordingly, the switching device of the camera mode provided in the embodiments of the present application may also implement these features or functions accordingly, which will not be described herein.
It should be appreciated that the processor in the embodiments of the present application may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method embodiments may be implemented by integrated logic circuits of hardware in a processor or instructions in software form. The processor may be a general purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
It will be appreciated that the memory in embodiments of the present application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous DRAM (SLDRAM), and direct memory bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The present application also provides a computer readable storage medium having stored therein a computer program comprising program instructions for implementing the functions of any of the method embodiments described above when the program instructions are run on an electronic device.
The present application also provides a computer program product which, when run on a computer, causes the computer to carry out the functions of any of the method embodiments described above.
In the above embodiments, the implementation may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a high-density digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to 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 (11)

1. The switching method of the camera mode is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a display screen and a rear camera, the display screen comprises a main screen and a back screen, and the main screen and the back screen are two display areas of the same display screen; when the electronic equipment is in a folded state, the main screen and the back screen face opposite directions; when the electronic equipment is in an unfolding state, the main screen and the back screen face the same direction, and the display area is the whole display screen; the rear camera is positioned in the back area of the main screen, and the direction of the rear camera is opposite to that of the main screen; the method comprises the following steps:
at a first point in time, in response to turning on a power saving mode, causing a camera of the electronic device to enter a sleep state; when the camera enters the sleep state, a first camera interface displayed by the back screen is closed; before the first time point, the electronic equipment is in a folded state, the back screen displays the first camera interface, and the camera is in a rear-mounted self-timer state; the first camera interface is a camera interface in a first camera mode, and the rear self-timer state is a state in which a shooting picture acquired by the rear camera is displayed on the back screen;
Setting the display area as the main screen or the whole display screen in response to an operation of switching the screen at a second time point under the condition that the camera is in the sleep state;
at a third time point, responding to an operation of waking up a camera, enabling the camera to exit from the sleep state, and based on the display area not being the back screen, and the camera being in the rear self-timer state, setting the camera to exit from the rear self-timer state, and displaying a second camera interface on the main screen or the whole display screen; the second camera interface is a camera interface of a second camera mode, and the first camera mode and the second camera mode are different; the second time point is later than the first time point, and the third time point is later than the second time point.
2. The method according to claim 1, wherein at the second point in time, in response to an operation of switching the screen, setting the display area as the main screen or the entire display screen includes:
setting the display area as the main screen in response to the operation of switching the screen under the condition that the electronic equipment is in a folded state at a second time point; and the operation of the switching screen is the click operation of a screen switching button displayed on the back screen.
3. The method according to claim 1, wherein at the second point in time, in response to an operation of switching the screen, setting the display area as the main screen or the entire display screen includes:
in a second time point, under the condition that the electronic equipment is in a folded state, responding to the operation of switching the screen, and setting the display area as the whole display screen; the operation of the switching screen is an operation of expanding the electronic device.
4. A method according to any one of claims 1-3, characterized in that the method further comprises:
at a fourth point in time, in response to turning on the power saving mode, causing a camera of the electronic device to enter the sleep state; when the camera enters the sleep state, the first camera interface displayed by the back screen is closed; before the fourth time point, the electronic equipment is in a folded state, the back screen displays the first camera interface, and the camera is in the rear-mounted self-timer state;
when the camera is in the sleep state, responding to the operation of waking up the camera at a fifth time point, and displaying the first camera interface on the back screen based on the display area as the back screen, wherein the camera is in the rear self-timer state; the fourth time point is later than the third time point, and the fifth time point is later than the fourth time point.
5. A method according to any one of claims 1-3, characterized in that the method further comprises:
starting from the third time point, enabling the camera of the electronic equipment to reenter the sleep state after a preset time period;
setting the display area as a back screen in response to an operation of switching the screen to the back screen at a sixth time point under the condition that the camera is in the sleep state;
at a seventh time point, responding to the operation of waking up the camera, enabling the camera to exit from the sleep state, and based on the display area being the back screen, and the camera not being in the rear-mounted self-timer state, setting the camera to enter into the rear-mounted self-timer state, and displaying the first camera interface on the back screen; the sixth time point is later than the third time point, and the seventh time point is later than the sixth time point.
6. A method according to any one of claims 1-3, characterized in that the method further comprises:
starting from the third time point, enabling the camera of the electronic equipment to reenter the sleep state after a preset time period;
under the condition that the camera is in the sleep state, at an eighth time point, responding to the operation of waking up the camera, enabling the camera to exit the sleep state, and displaying the second camera interface on the main screen or the whole display screen based on the fact that the display area is not the back screen and the camera is not in the rear self-timer state; the eighth time point is later than the third time point.
7. A method according to any one of claims 1-3, wherein at the first point in time the display area is the back screen and the electronic device is in the folded state; at the second time point, the operation of switching the screen is the operation of unfolding the electronic equipment, the display area is the whole display screen, and the electronic equipment is in the unfolded state; the method further comprises the steps of:
starting from the third time point, enabling the camera of the electronic equipment to reenter the sleep state after a preset time period;
under the condition that the camera is in the sleep state, at a ninth time point, responding to the operation of folding the electronic equipment, setting the current display area to be restored to the last display area, wherein the last display area is the back screen;
based on the display area being restored to the back screen, and the camera not being in the rear-mounted self-timer state, setting the camera to reenter the rear-mounted self-timer state; the ninth time point is later than the third time point.
8. An electronic device, comprising: one or more processors, one or more memories; wherein one or more memories are coupled to one or more processors, the one or more memories being operable to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-7.
9. A chip comprising a processor and an interface, the processor and the interface being coupled; the interface being for receiving or outputting signals, the processor being for executing code instructions to cause the method of any of claims 1-7 to be performed.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program comprising program instructions, which when run on an electronic device, cause the electronic device to perform the method of any of claims 1-7.
11. A computer program product, characterized in that the computer program product, when run on a computer, causes the computer to perform the method according to any of claims 1-7.
CN202311196496.XA 2023-09-15 2023-09-15 Camera mode switching method and electronic equipment Pending CN117424957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311196496.XA CN117424957A (en) 2023-09-15 2023-09-15 Camera mode switching method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311196496.XA CN117424957A (en) 2023-09-15 2023-09-15 Camera mode switching method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117424957A true CN117424957A (en) 2024-01-19

Family

ID=89523700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311196496.XA Pending CN117424957A (en) 2023-09-15 2023-09-15 Camera mode switching method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117424957A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150317120A1 (en) * 2014-05-02 2015-11-05 Samsung Electronics Co., Ltd. Method and apparatus for outputting contents using a plurality of displays
CN106469038A (en) * 2016-09-26 2017-03-01 南京酷派软件技术有限公司 Display screen changing method based on multi-screen terminal and device
CN109756630A (en) * 2019-01-25 2019-05-14 维沃移动通信有限公司 A kind of screen control method and terminal device
CN110069167A (en) * 2019-05-05 2019-07-30 努比亚技术有限公司 Touch point sweep-out method, mobile terminal and computer readable storage medium
CN111596876A (en) * 2020-04-28 2020-08-28 维沃移动通信有限公司 Information display method and device, electronic equipment and storage medium
CN113076154A (en) * 2020-01-03 2021-07-06 华为技术有限公司 Method and device for splitting screen under multiple applications and electronic equipment
WO2022002205A1 (en) * 2020-07-01 2022-01-06 华为技术有限公司 Display method and electronic device
CN115002339A (en) * 2021-12-31 2022-09-02 荣耀终端有限公司 Collaborative photographing method, electronic device, storage medium, and program product
WO2022222002A1 (en) * 2021-04-19 2022-10-27 深圳市大疆创新科技有限公司 Photographing device and control method thereof, and storage medium
CN115623099A (en) * 2022-01-10 2023-01-17 荣耀终端有限公司 Screen display method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150317120A1 (en) * 2014-05-02 2015-11-05 Samsung Electronics Co., Ltd. Method and apparatus for outputting contents using a plurality of displays
CN106469038A (en) * 2016-09-26 2017-03-01 南京酷派软件技术有限公司 Display screen changing method based on multi-screen terminal and device
CN109756630A (en) * 2019-01-25 2019-05-14 维沃移动通信有限公司 A kind of screen control method and terminal device
CN110069167A (en) * 2019-05-05 2019-07-30 努比亚技术有限公司 Touch point sweep-out method, mobile terminal and computer readable storage medium
CN113076154A (en) * 2020-01-03 2021-07-06 华为技术有限公司 Method and device for splitting screen under multiple applications and electronic equipment
CN111596876A (en) * 2020-04-28 2020-08-28 维沃移动通信有限公司 Information display method and device, electronic equipment and storage medium
WO2022002205A1 (en) * 2020-07-01 2022-01-06 华为技术有限公司 Display method and electronic device
WO2022222002A1 (en) * 2021-04-19 2022-10-27 深圳市大疆创新科技有限公司 Photographing device and control method thereof, and storage medium
CN115002339A (en) * 2021-12-31 2022-09-02 荣耀终端有限公司 Collaborative photographing method, electronic device, storage medium, and program product
CN115623099A (en) * 2022-01-10 2023-01-17 荣耀终端有限公司 Screen display method and device

Similar Documents

Publication Publication Date Title
WO2021052279A1 (en) Foldable screen display method and electronic device
CN111182614B (en) Method and device for establishing network connection and electronic equipment
WO2021042978A1 (en) Theme switching method and theme switching apparatus
WO2021063237A1 (en) Control method for electronic device, and electronic device
US20230117194A1 (en) Communication Service Status Control Method, Terminal Device, and Readable Storage Medium
WO2022052897A1 (en) Method and device for adjusting memory configuration parameter
CN116257200A (en) Display method and related device of folding screen
CN111381996B (en) Memory exception handling method and device
US20230350631A1 (en) Projection display method and electronic device
CN112437341B (en) Video stream processing method and electronic equipment
CN116048436B (en) Application interface display method, electronic device and storage medium
CN116048243B (en) Display method and electronic equipment
CN116708958A (en) Motor control method and electronic equipment
CN114500732B (en) Interface display method, electronic equipment and storage medium
CN117424957A (en) Camera mode switching method and electronic equipment
CN114173005B (en) Application layout control method and device, terminal equipment and computer readable storage medium
CN112214294B (en) Method for calling hardware interface and electronic equipment
CN116504177B (en) Display screen control method, electronic equipment, storage medium and chip
CN117376475A (en) Shooting switching method and related equipment
CN116592756B (en) Detection method for included angle of folding screen and electronic equipment
CN116302291B (en) Application display method, electronic device and storage medium
WO2024017332A1 (en) Method for controlling component, and related apparatus
CN115529379B (en) Method for preventing Bluetooth audio Track jitter, electronic equipment and storage medium
CN110780929B (en) Method for calling hardware interface and electronic equipment
WO2023045932A1 (en) Device control method and related apparatus

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