CN116055856A - Camera interface display method, electronic device, and computer-readable storage medium - Google Patents

Camera interface display method, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN116055856A
CN116055856A CN202210899873.5A CN202210899873A CN116055856A CN 116055856 A CN116055856 A CN 116055856A CN 202210899873 A CN202210899873 A CN 202210899873A CN 116055856 A CN116055856 A CN 116055856A
Authority
CN
China
Prior art keywords
mode
shooting
preview interface
interface
shooting mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210899873.5A
Other languages
Chinese (zh)
Other versions
CN116055856B (en
Inventor
余溪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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
Publication of CN116055856A publication Critical patent/CN116055856A/en
Application granted granted Critical
Publication of CN116055856B publication Critical patent/CN116055856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The application relates to the technical field of electronics, and provides a camera interface display method, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: receiving a first operation input by a user, wherein the first operation is used for indicating a camera application program APP to enter a first operation mode; in response to a first operation, displaying a first preview interface, wherein the first preview interface is a preview interface in a first operation mode, the types of shooting mode controls in the first preview interface are less than those in a second preview interface, the second preview interface is a preview interface in a second operation mode, and the second preview interface comprises shooting mode controls corresponding to all shooting modes supported by a camera APP. The method can reduce the operation threshold of the camera APP and improve the loading efficiency of the camera APP, thereby improving the user experience.

Description

Camera interface display method, electronic device, and computer-readable storage medium
The present application claims priority from the chinese patent application filed 30 months 2022, with the application number 202210603306.0, application name "camera interface display method, electronic device, and computer readable storage medium", the entire contents of which are incorporated herein by reference.
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a camera interface display method, an electronic device, and a computer readable storage medium.
Background
The camera function of the mobile phone now becomes a photographing tool used by people in common use, and replaces digital cameras and the like. The mobile phone now supports a plurality of modes, such as shooting, video recording, large aperture, portrait, night scene, profession and the like. In each mode, a plurality of functions are supported, for example, in a photographing mode, the method can further comprise: whether to turn on the flash lamp, whether to turn on the AI function, the color, the various functions such as beauty skin and the like are used for improving the shooting experience of people.
However, the functions and the multiple shooting modes are rich, so that the use is complicated, the user needs to select among the multiple shooting modes and the multiple functions, and for some users, the operation threshold is high, and the use is complicated.
Disclosure of Invention
The application provides a camera interface display method, a camera interface display device, a camera interface display chip, electronic equipment, a computer readable storage medium and a computer program product, which can reduce an operation threshold.
In a first aspect, a camera interface display method is provided, including: receiving a first operation input by a user, wherein the first operation is used for indicating a camera application program APP to enter a first operation mode; in response to a first operation, displaying a first preview interface, wherein the first preview interface is a preview interface in a first operation mode, the types of shooting mode controls in the first preview interface are less than those in a second preview interface, the second preview interface is a preview interface in a second operation mode, and the second preview interface comprises shooting mode controls corresponding to all shooting modes supported by a camera APP.
The first operation mode may be a very simple mode hereinafter, and the second operation mode is a normal mode, i.e. a common addition APP operation mode. The first preview interface is a preview interface in a very simple mode, and the second preview interface is a preview interface in a common mode. The user may find a menu for setting an operation mode in a setting interface of the camera APP and select a control for opening a very simple mode in the menu, which may be a first operation. The user may enter the very simple mode of the camera APP by a shortcut key of the camera APP in other applications, and the terminal device may display the first preview interface. The first preview interface may be a preview interface in a photographing mode or a preview interface in a video recording mode. In the very simple mode, the camera APP supports a small number of photographing modes, and the number of photographing modes is reduced as compared with the normal mode, so that the number of controls of the photographing modes displayed in the first preview interface is also reduced.
According to the method, the shooting interface is simplified, a user does not need to select a plurality of shooting modes, for example, the user can directly operate the camera APP to carry out corresponding shooting only by simply selecting whether to shoot a picture or record a video according to the needs, so that the operation is simplified, the operation threshold is reduced, and the user experience is improved. In addition, in the very simple mode, the shooting mode loaded by the camera APP is reduced, and the loading efficiency can be improved.
In some possible implementations, the first preview interface further includes a photographing function control, where the photographing function control in the first preview interface is less generic than the photographing function control in the second preview interface.
According to the method, a shooting interface is simplified, a user does not need to select a plurality of shooting functions, for example, the user can directly operate the camera APP to realize corresponding functions only by simply selecting whether to turn on or turn off the flash lamp or adjusting the focal length according to the needs, so that the operation is simplified, the operation threshold is reduced, and the user experience is improved. In addition, in the extremely simple mode, the function loaded by the camera APP is reduced, and the loading efficiency can be improved.
In some possible implementations, the shooting mode control in the first preview interface includes: a photographing control and a video control; the shooting mode control in the second preview interface includes: photographing controls, video controls, and other photographing mode controls.
The other shooting mode controls may include controls corresponding to all shooting modes except for a shooting control and a video control, such as a large aperture control, a night scene control, a professional camera control, and the like. Each shooting mode control corresponds to one shooting mode.
The shooting mode controls in the first preview interface comprise shooting controls and video controls, and do not comprise other shooting mode controls, so that the interface can be simplified to the maximum extent, the loading shooting modes can be reduced to the maximum extent, and the loading efficiency is improved to the maximum extent on the basis of meeting shooting requirements of users.
In some possible implementations, the shooting functionality control in the first preview interface includes: a flash control and a focus adjustment control; the shooting function control in the second preview interface includes: flash controls, focus adjustment controls, and other capture functionality controls.
The other shooting function controls may include controls corresponding to all shooting functions except the flash control and the focus adjustment control, such as an AI function, a beauty function, a smiling face recognition snapshot function, and the like. Each shooting function control corresponds to one shooting function.
The shooting function controls in the first preview interface comprise flash lamp controls and focus adjustment controls, and other shooting function controls are not included, so that the interface can be simplified to the maximum extent, the shooting function of loading is reduced to the maximum extent, and the loading efficiency is improved to the maximum extent on the basis of meeting shooting requirements of users.
In some possible implementations, the first operation is an operation that a user opens the first operation mode in a second page of the second preview interface; or, the first operation is an operation that a user clicks a shortcut control in other APP interfaces of the non-camera APP to open a first operation mode of the camera APP.
The user can open the extremely simple mode of the camera APP through a plurality of different ways, so that the extremely simple mode of the camera APP can be conveniently and rapidly entered under different application scenes of the terminal equipment, and the portability of operation is improved.
In some possible implementations, in response to the first operation, displaying a first preview interface includes: in response to a first operation, determining whether a persistent very simple identifier exists for the camera APP, the persistent very simple identifier being used to characterize the camera APP as being in a first mode of operation; if yes, the historical operation mode is cleared, and the first operation mode is loaded according to a first mode list and a first function list corresponding to the first operation mode so as to display a first preview interface, wherein the historical operation mode is the first operation mode or the second operation mode; if not, adding a lasting extremely simple identifier to the camera APP, and loading a first operation mode according to a first mode list and a first function list corresponding to the first operation mode to display a first preview interface; the method comprises the steps of enabling an entry in a first mode list to correspond to a shooting mode control in a first preview interface one by one, enabling a shooting mode in a second mode list corresponding to a second running mode to correspond to a shooting mode control in the second preview interface one by one, enabling a shooting function control in the first preview interface to correspond to an entry in the first function list one by one, and enabling a shooting function control in the second preview interface to correspond to an entry in a second function list corresponding to the second running mode one by one.
The first shooting mode list is a list corresponding to shooting modes supported by a very simple mode, for example, a very simple mode shooting list, and the second shooting mode list is a list corresponding to a full quantity of shooting modes supported by a common mode, for example, a common mode shooting list; the first photographing function list is a list corresponding to photographing functions supported by the very simple mode, for example, a very simple function list, and the second photographing function list is a list corresponding to a full-scale photographing function supported by the normal mode, for example, a full-scale function list.
In general, when the camera APP is awakened from the background, the supported shooting modes and functions are loaded, if the camera APP is in the extremely simple mode when the camera APP is in the background, only the shooting modes and functions supported by the extremely simple mode, namely, the functions corresponding to the first mode list and the first function list are loaded, so that the camera APP enters the extremely simple mode, the number of the loaded shooting modes and functions is reduced, the operation amount is reduced, the loading efficiency of the camera APP is improved, and the system resources are saved.
In some possible implementations, adding a persistent very simple identification to the camera APP includes:
The persistence identification module is used for executing the operation of adding a persistence extremely simplified identification to the camera APP;
the storage module is used for responding to the operation of adding the persistent extremely simple identifier to the camera APP and storing the persistent extremely simple identifier;
loading the first operation mode according to a first mode list and a first function list corresponding to the first operation mode, wherein the loading comprises the following steps:
the persistence identification module is used for issuing a first loading instruction for reloading the first mode list and the first function list to the plug-in manager;
the plug-in manager responds to the first loading instruction and issues a first clearing instruction to the plug-in loader;
the plug-in loader is used for responding to the first clearing instruction and clearing the historical operation mode;
the plug-in manager sends a first switching instruction to the switching control module, wherein the first switching instruction is used for indicating to switch the shooting mode into a first target shooting mode, and the first target shooting mode is a shooting mode in a first mode list;
the switching control module responds to the first switching instruction, and when determining that the camera APP carries the lasting extremely simple identifier, the switching control module issues a first initialization instruction to the switching manager;
the switching manager is used for initializing a first target shooting mode in response to the first initialization instruction, and sending a second switching instruction to the mode selection module, wherein the second switching instruction is used for indicating to switch the shooting mode into the first target shooting mode;
And the mode selection module is used for loading a first mode list and a first function list when determining that the camera APP carries the lasting extremely simple identifier in response to the second switching instruction.
In some possible implementations, before receiving the first operation of the user input, further includes:
the plug-in manager acquires a historical shooting mode, and the shooting mode of the camera APP in the historical shooting mode is in a second running mode; when the history shooting mode is a shooting mode, the target shooting mode is a shooting mode; when the historical shooting mode is a video mode, the target shooting mode is a video mode; when the history shooting mode is other shooting modes, the target shooting mode is a shooting mode, and the other shooting modes are a non-shooting mode and a non-video shooting mode.
According to the method, when the camera APP enters the extremely simple mode, the shooting mode in which the previous common mode is located can be operated, so that the history setting of a user can be used, the tedious operation of switching the shooting mode again by the user caused by the fact that the previous shooting mode is changed due to the switching of the operation mode is avoided, and the portability of the operation is improved; the method only enters the shooting mode of the field Jing Jiaoduo when the extremely simple mode does not support the shooting mode of the prior ordinary mode, but does not support the video mode, so that the rationality is improved.
In some possible implementations, the method further includes: receiving a second operation input by a user on the first preview interface, wherein the second operation is used for indicating the camera APP to exit from the first operation mode; and responding to the second operation, switching from the first preview interface to the second preview interface.
The user can also operate the terminal equipment, so that the terminal equipment exits the extremely simple mode and enters the common mode, the free switching of the two operation modes is realized, and the application scene is more flexible.
In some possible implementations, the second operation is an operation performed by the user in a second page of the first preview interface that exits the first mode of operation.
In some possible implementations, in response to the second operation, switching from the first preview interface to the second preview interface includes:
the persistence identification module is used for responding to the second operation and executing the operation of deleting the persistence extremely simple identification;
the storage module is used for responding to the operation of deleting the persistent extremely simple identifier and clearing the stored persistent extremely simple identifier;
the persistence identification module is used for issuing a second loading instruction for reloading the shooting mode list and the function list to the plug-in manager;
the plug-in manager responds to the second loading instruction and issues a second clearing instruction to the plug-in loader;
The plug-in loader responds to a second clearing instruction to clear a historical operation mode, wherein the historical operation mode is a first operation mode or a second operation mode;
the plug-in manager sends a third switching instruction to the switching control module, wherein the third switching instruction is used for indicating to switch the shooting mode into a second target shooting mode, and the second target shooting mode is a shooting mode in a second mode list corresponding to the second running mode;
the switching control module responds to the third switching instruction, and when determining that the camera APP does not carry the lasting extremely simple identification, the switching control module issues a second initialization instruction to the switching manager;
the switching manager responds to a second initialization instruction, initializes a second target shooting mode and sends a fourth switching instruction to the mode selection module, wherein the fourth switching instruction is used for indicating to switch the shooting mode into the second target shooting mode;
and the mode selection module is used for loading a second mode list and a second function list corresponding to a second running mode when the camera APP does not carry the lasting extremely simple identification in response to the fourth switching instruction.
In a second aspect, a device for displaying a camera interface is provided, which comprises a unit comprising software and/or hardware, and the unit is configured to perform any one of the methods in the first aspect.
In a third aspect, there is provided an electronic device, comprising: a processor, a memory, and an interface; the processor, the memory and the interface cooperate with each other to enable the electronic device to execute any one of the methods according to the first aspect.
In a fourth aspect, embodiments of the present application provide a chip comprising a processor; the processor is configured to read and execute a computer program stored in the memory to perform any one of the methods according to the first aspect.
Optionally, the chip further comprises a memory, and the memory is connected with the processor through a circuit or a wire.
Further optionally, the chip further comprises a communication interface.
In a fifth aspect, there is provided a computer readable storage medium having stored therein a computer program which, when executed by a processor, causes the processor to perform any one of the methods according to the first aspect.
In a sixth aspect, there is provided a computer program product comprising: computer program code which, when run on an electronic device, causes the electronic device to carry out any one of the methods of the first aspect.
Drawings
Fig. 1 is a schematic structural diagram of an example of a terminal device 100 according to an embodiment of the present application;
fig. 2 is a software structural block diagram of the terminal device 100 provided in the embodiment of the present application;
fig. 3 is a schematic diagram of a loading flow of a camera APP in a normal mode according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an interface operation of a camera APP from a normal mode to a very simple mode according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a preview interface of an example camera APP in a very simple mode according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating an example of a camera APP entering a very simple mode according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating a process sequence interaction of a camera APP entering a very simple mode according to an embodiment of the present application;
FIG. 8 is a schematic diagram illustrating a process sequence interaction of a camera APP exiting a very simple mode according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a software module of an example camera APP according to an embodiment of the present application;
fig. 10 is an interaction schematic diagram of software modules implementing a secondary page of an example camera APP provided in an embodiment of the present application;
fig. 11 is a schematic flowchart of a software module of a camera APP exiting a secondary page of a setup interface in an ordinary mode according to an embodiment of the present application;
FIG. 12 is a schematic diagram of a software module of a second-level page of a camera APP exit setup interface in an extreme simple mode provided in an embodiment of the present application;
FIG. 13 is a flowchart of an example of exiting a secondary page by a user clicking a return control provided by an embodiment of the present application;
FIG. 14 is a flowchart of an example of exiting a secondary page through a user sliding operation provided in an embodiment of the present application;
FIG. 15 is a flowchart illustrating an example of a second level page being exited by a user returning to a home page according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. 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; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
The terms "first," "second," "third," and the like, are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", or a third "may explicitly or implicitly include one or more such feature.
The camera interface display method provided by the embodiment of the application can be applied to terminal devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (augmented reality, AR)/Virtual Reality (VR) devices, notebook computers, ultra-mobile personal computer (UMPC), netbooks, personal digital assistants (personal digital assistant, PDA) and the like, and the specific types of the terminal devices are not limited.
Fig. 1 is a schematic structural diagram of an exemplary terminal device 100 according to an embodiment of the present application. The terminal 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 is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, terminal device 100 may include more or less components than illustrated, 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 center and a command center of the terminal device 100. 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.
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 I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the terminal device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing function of terminal device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display function of the terminal device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the terminal device 100, or may be used to transfer data between the terminal device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other terminal devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not constitute a structural limitation of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
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. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. The charging management module 140 may also supply power to the terminal device through the power management module 141 while charging the battery 142.
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 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the terminal device 100 can 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. The structures of the antennas 1 and 2 in fig. 1 are only one example. Each antenna in the terminal 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 including 2G/3G/4G/5G wireless communication applied to the terminal 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 application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), 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 to the terminal 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 terminal device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that terminal device 100 may communicate with a network and other devices via wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The terminal 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. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the terminal device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The terminal device 100 may implement a photographing function 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. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the terminal device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the terminal device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record video in various encoding formats, for example: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
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. Applications such as intelligent awareness of the terminal device 100 may be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the terminal 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, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (such as audio data, phonebook, etc.) created during use of the terminal device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The terminal 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. The terminal device 100 can listen to music or to handsfree talk through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the terminal device 100 receives a call or voice message, it is possible to receive voice by approaching the receiver 170B to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The terminal device 100 may be provided with at least one microphone 170C. In other embodiments, the terminal device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal device 100 may be further provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, implement directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The earphone interface 170D may be a USB interface 130 or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
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 pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The terminal device 100 determines the intensity of the pressure according to the change of the capacitance. When a touch operation is applied to the display 194, the terminal device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal device 100 may also calculate the position of the touch from the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 about three axes (i.e., x, y, and z axes) may be determined by the gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 180B detects the angle of the shake of the terminal device 100, calculates the distance to be compensated by the lens module according to the angle, and allows the lens to counteract the shake of the terminal device 100 by the reverse motion, thereby realizing anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates altitude from barometric pressure values measured by the barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The terminal device 100 can detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the terminal device 100 is a folder, the terminal device 100 may detect opening and closing of the folder according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E can detect the magnitude of acceleration of the terminal device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the terminal device 100 is stationary. The method can also be used for identifying the gesture of the terminal equipment, and is applied to the applications such as horizontal and vertical screen switching, pedometers and the like.
A distance sensor 180F for measuring a distance. The terminal device 100 may measure the distance by infrared or laser. In some embodiments, the terminal device 100 may range using the distance sensor 180F to achieve fast focusing.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light outward through the light emitting diode. The terminal device 100 detects infrared reflected light from a nearby object using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object in the vicinity of the terminal device 100. When insufficient reflected light is detected, the terminal device 100 may determine that there is no object in the vicinity of the terminal device 100. The terminal device 100 can detect that the user holds the terminal device 100 close to the ear to talk by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The terminal device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The terminal device 100 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is for detecting temperature. In some embodiments, the terminal device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 performs a reduction in the performance of a processor located near the temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the terminal device 100 heats the battery 142 to avoid the low temperature causing the terminal device 100 to shut down abnormally. In other embodiments, when the temperature is below a further threshold, the terminal device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
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 touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the terminal device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The terminal device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the terminal device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
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. The SIM card may be contacted and separated from the terminal apparatus 100 by being inserted into the SIM card interface 195 or by being withdrawn from the SIM card interface 195. The terminal device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, the terminal device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
The software system of the terminal device 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the terminal device 100 is illustrated.
Fig. 2 is a software configuration block diagram of the terminal device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively. The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the terminal device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the terminal equipment vibrates, and an indicator light blinks.
Android runtimes include core libraries and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
For easy understanding, the following embodiments of the present application will take a terminal device having a structure shown in fig. 1 and fig. 2 as an example, and specifically describe a camera interface display method provided in the embodiments of the present application with reference to the accompanying drawings and application scenarios.
With the continuous development and update of terminal equipment, taking a smart phone as an example, the attached camera function has become a common photographing tool for people, and replaces special photographing equipment such as a digital camera. People install a camera APP on a smart phone, and multiple photographing modes are realized under the support of the camera. Current camera APP develops a wide variety of shooting modes such as photographing, video recording, large aperture, portrait, night scenes, professions, etc. The shooting mode is used for shooting picture frames, the video recording mode is used for recording videos, the large aperture mode is used for shooting details of objects in a short distance, the night scene mode is used for shooting night scenes, and manual setting of various shooting parameters can be supported in the professional mode so as to meet various user requirements. In each shooting mode, a plurality of functions are also supported, taking a shooting mode as an example, a flash lamp function, an intelligent recognition (artificial intelligence, AI) function, a beautifying function, a skin beautifying function, a selection function of different base colors, a smiling face recognition snapshot function and the like can be supported, so that different shooting requirements can be met. However, for some users, the multiple shooting modes and various rich functions of the camera APP improve the operation threshold of shooting, which can lead to that the user cannot quickly select the shooting mode without knowing the characteristics of the various shooting modes, so that the use is relatively complex and the experience is not high.
In the technical scheme provided by the embodiment of the application, a very simple mode of a camera APP is provided. The extremely simplified mode simplifies the supported shooting modes and functions relative to the common mode common to the camera APP. When shooting is performed in the extremely simple mode, the camera APP supports a small number of shooting modes and a small number of necessary functions, such as a shooting mode and a video recording mode, and functionally, only a flash lamp function and a focus adjusting function are reserved. The extremely simple mode can simplify the shooting interface, a user does not need to select a plurality of shooting modes, and the camera APP can be directly operated to carry out corresponding shooting only by simply selecting whether to shoot a picture or record a video according to the needs, so that the operation is simplified, the operation threshold is reduced, and the user experience is improved. In addition, in the extremely simple mode, the shooting mode and the function loaded by the camera APP are reduced, and the loading efficiency can be improved. In general, when the camera APP is awakened from the background, the supported shooting mode and function are generally loaded, if the camera APP is in the extremely simple mode when the camera APP is in the background, only the shooting mode and function supported by the extremely simple mode can be loaded, so that the number of the loaded shooting modes and functions is reduced, the operation amount is reduced, the loading efficiency of the camera APP is improved, and the system resources are saved.
For a clearer description of the improvement points of the technical solution provided by the embodiments of the present application, the loading flow in the normal mode of the camera APP will be described first.
Fig. 3 is a flowchart of loading a normal mode of a camera APP at startup according to an embodiment of the present application, including:
s301, when the terminal equipment receives an operation of starting the camera APP, which is executed by a user, a process is started.
The user may initiate the camera APP by clicking on an icon of the camera APP on the desktop to initiate the process.
S302, loading a full quantity of shooting modes according to a shooting mode list of the common mode.
Typically, all supported shooting modes of the camera APP form a list of shooting modes, which may include, but are not limited to, shooting modes of shooting, video recording, large aperture, portrait, night view, professional, etc.
The terminal device can load the whole shooting modes according to the shooting mode list of the common mode.
S303, loading a full function according to a shooting function list of a common mode; wherein each function supports a photographing function.
For example, in a photographing mode, supported functions may include, but are not limited to: flash lamp function, intelligent identification (AI) function, skin-care function, selection function of different base colors, smiling face identification snapshot function, face thinning function, etc.
The terminal device can load the whole shooting function according to the shooting function list in the common mode.
S304, displaying a preview interface of the common mode.
And after the terminal equipment loads the complete shooting mode and the complete function, displaying a preview interface of the common mode. In the preview interface of the normal mode, the terminal device may display controls such as photographing, video recording, large aperture, portrait, night scene, specialty, etc., and may display controls of all functions supported by the photographing mode in the corresponding photographing mode, as shown in a diagram a in fig. 4. The user may click the control of the corresponding shooting mode in the preview interface of the normal mode to shoot, for example, slide the screen left and right to switch the current shooting mode to any one of shooting modes such as shooting, video recording, large aperture, portrait, night scene, specialty, etc., or click different functional controls above the interface in a diagram in fig. 4 to perform auxiliary shooting using various functions, for example, turning on or off a flash lamp, and turning on or off an intelligent recognition function.
In the embodiment shown in fig. 3, the terminal device loads the full-quantity shooting function list and the full-quantity function supported by the normal mode, so that the preview interface of the normal mode includes a plurality of shooting mode selection controls, and each shooting mode interface includes a plurality of function selection controls, so that a part of users have difficulty in using and selecting, and inconvenience is caused. In some embodiments, the user may manually turn on the reduced mode of the camera APP. Specifically, the user may first turn on the camera APP, for example, the user clicks on an icon of the camera APP in a desktop or sidebar to turn on the camera APP. At this time, the start-up flow of the camera APP can be referred to as the flow shown in fig. 3. The camera APP is usually in a normal mode when it is turned on for the first time, and the preview interface in the normal mode can be shown by referring to a diagram in fig. 4. In the normal mode, the camera APP generally does not need to determine whether a persistent extremely simple identifier exists, directly load a list of all shooting modes, and load a function list of all functions of all shooting modes. The list of shooting modes may include all supported shooting modes including, but not limited to, shooting, video recording, large aperture, portrait, night scenes, profession, etc. The list of functions corresponding to each shooting mode includes, but is not limited to, flash lamp, face and skin beautifying, color, focusing, auto focusing, etc.
In case the user wants to use the very simple mode, then the user can see the operation shown in a diagram in fig. 4, click on the setting control in the preview interface in the normal mode, after which the terminal device enters the setting interface of the camera APP, which can be seen as a first level page. In the setting interface, the user displays a control of "extended service" as shown in b diagram in fig. 4 by sliding up and down, and clicks the control of "extended service" to enter a secondary page of the camera APP. In this secondary page, a switching control of the very simple mode and the normal mode, for example, a switching control of "all services" is included. When the user clicks the switch control of the 'all services', the switching between the extremely simple mode and the normal mode can be realized. For example, when the user turns on the function of "all services", the camera APP enters the normal mode. When the user turns off the "all services" function, the camera APP then enters the very simple mode. Optionally, before entering the extremely simple mode, a popup window with secondary confirmation can be popped up, as shown in a c diagram in fig. 4, at this time, the user can click a cancel control in the popup window to cancel the flow of entering the extremely simple mode, and keep the ordinary mode; the user may also click on the "still closed" control in the secondary confirmation pop-up window to close the "all services" to enter the reduced mode. Specifically, the terminal device loads a shooting mode in a shooting mode list corresponding to the polar-profile mode, and then loads a function in a shooting function list corresponding to the polar-profile mode. In the very simple mode, the preview interface of the photographing mode can be shown in the d diagram in fig. 4, the photographing mode keeps two photographing modes and video recording, and other photographing modes are not displayed any more. I.e. the terminal device is loaded with a photographing mode and a video recording mode. Meanwhile, in two shooting modes of shooting and video recording, the number of functional controls displayed on the preview interface is reduced.
In some embodiments, in the take mode of the very simple mode, the functionality in the preview interface retains the flash control and the set control; the control for adjusting the focal length can be reserved, and the control for adjusting the size and the proportion of the picture can be reserved; in the normal mode, the controls such As Intelligence (AI), color mode (e.g. lycra standard, lycra vivid, lycra soft, middle gray, nostalgic, etc.) in the photographing mode are not displayed any more, e.g. the interface shown in a diagram a in fig. 5, and the terminal device loads the function of the flash lamp and the function of adjusting the focal length in the photographing mode. In some embodiments, in the video mode of the extremely simple mode, the function in the preview interface reserves a flash control and a setting control, and also can reserve a control for adjusting the focal length; in the original normal mode, controls such as intelligent AI, color mode (e.g. lycra standard, lycra vivid, lycra soft, middle gray, nostalgic, etc.) in the video mode are not displayed any more, e.g. an interface shown in b diagram in fig. 5, and the terminal device loads the function of flash lamp and the function of adjusting focal length in the video mode. In some embodiments, the preview interface, whether in the very simple mode or the normal mode, may include controls for entering an album and controls for front-to-back camera conversion.
Fig. 6 is a flowchart of an example of a camera APP entering a reduced mode provided in an embodiment of the present application, when a user performs an operation of entering the reduced mode on a screen of a terminal device, for example, the reduced mode is turned on by turning off a function of "all services" on a secondary page, the method includes:
s601, the terminal equipment receives the operation of entering the extremely simple mode of the user, and recognizes the instruction of entering the extremely simple mode.
S602, responding to an instruction for entering a pole simple mode, and judging whether a lasting pole simple identifier is held. If not, executing S603; if yes, execution proceeds to S604.
S603, adding a lasting extremely simple identifier, and executing S604.
S604, clearing the history shooting mode and issuing an instruction for loading the extremely simple mode.
S605, responding to an instruction of loading the extremely simple mode, and judging whether the lasting extremely simple identification is held for the second time. If yes, executing S606A; if not, S606B is performed.
S606A, loading shooting modes in the extremely simple shooting mode list. For example, two photographing modes, photographing and video recording, are loaded.
S606B, loading the whole shooting modes in the common shooting mode list and/or continuously displaying a preview interface of the common mode.
S607, judging whether a lasting extremely simple identifier is held for the third time; if yes, executing S608A; if not, S608B is performed.
S608A, loading a corresponding extremely simple function list in the current shooting mode.
The function functions included in the extremely simple function list are corresponding function functions in extremely simple mode, and compared with the list of function functions in common mode, the types and the number of the function functions are small. For example, if the current photographing mode is a photographing mode, a flash function (flash) and a focus adjustment function (zoom) may be loaded. For another example, if the current photographing mode is a video recording mode, a flash function (flash) and a focus adjustment function (zoom) may be loaded. A preview interface as shown in fig. 5 a or fig. 5 b is then displayed.
S608B, a list of the corresponding full-scale function functions in the current shooting mode is loaded, for example, a preview interface shown in a diagram a in fig. 4 is displayed.
The function functions corresponding to the shooting modes in the extremely simple mode shown in the a diagram in fig. 5 and the b diagram in fig. 5 are examples, and actually, the function functions corresponding to the extremely simple mode in different shooting modes may be added or deleted according to the user requirement or the product specification, which is not limited in this embodiment.
The beneficial effects of the foregoing embodiments may be referred to the description of the foregoing embodiments, and are not repeated here.
In some embodiments, the user may also enter the camera APP's reduced mode through a shortcut key in other APPs. For example, when a user operates a memo, and a photo needs to be added, the camera APP can be turned on by a camera shortcut key on the memo interface. Optionally, at this time, the camera APP may directly enter the reduced mode, and the user may take a photograph or video by simply operating to complete the recording. Optionally, when the user opens the camera APP through a camera shortcut key on the memo interface, if the camera APP is running in the background, if the camera APP is currently in the very simple mode, a preview interface in the very simple mode is displayed at this time; if the camera APP is not running in the background, the camera APP can enter according to the mode when the camera APP exits last time, if the camera APP exits last time in the extremely simple mode, a preview interface of the extremely simple mode can be displayed at the moment, and if the camera APP exits last time in the normal mode, a preview interface of the normal mode can be displayed at the moment. Alternatively, other APPs may also open an interface for entering the camera APP, for example, a mail APP, and when the user resends the mail, the user may enter the very simple mode or the normal mode of the camera APP by clicking a control of the camera APP on the mail interface.
In some embodiments, a timing diagram of the camera APP entering the reduced mode may be seen in fig. 7. Comprising the following steps:
s701, the terminal equipment receives an operation of entering a very simple mode executed by a user.
S702, a persistence identification module (SimplePatternFuntion) responds to the operation of entering the extremely simple mode by a user, and adds a persistence extremely simple identification.
For example, the persistence identification module adds a character string of a persistence extremely simple identification, such as simplepattern fusion, to a preset flag bit.
S703, a storage module (preference Utilll) stores a persistent extremely simple identifier.
S704, the persistence identification module issues an instruction for reloading the shooting mode list and the function list to a plug-in Manager (plug Manager).
S705, the plug-in manager issues a clear instruction to the plug-in loader (PluginLoader) in response to an instruction to reload the shooting mode list and the function list.
S706, the plug-in loader responds to the clearing instruction to clear the original shooting mode (historical shooting mode).
The plug-in loader may delete the list of previously loaded shooting modes, or may hide the list of previously loaded shooting modes.
S707, the plug-in manager issues a switching mode instruction to a switching control module (MoreSwitchPresenter).
S708, the switching control module responds to the instruction of the switching mode and issues an initialized instruction to a switching manager (ModeWitcherManager).
S709, the switching manager responds to the initialized command to initialize the mode to be displayed, and sends a command for switching modes to the mode selection module (modeselecter).
S710, the mode selection module responds to the mode switching instruction, and loads the shooting mode in the extremely simple shooting mode list when the current extremely simple mode is determined.
For example, the mode selection module may be configured to read whether a string of persistent extremely simple identifiers is stored in a preset flag bit, and if the string of persistent extremely simple identifiers is read, determine that the string is extremely simple, load a shooting mode in an extremely simple shooting mode list.
S711, the plug-in manager determines which shooting mode is the current shooting mode in the extremely simple mode and performs corresponding page setting.
Specifically, the plug-in manager may determine the current photographing mode in the reduced mode according to the photographing mode in which the camera APP is in the normal mode before entering the reduced mode. For example, if the user opens the very simple mode when the camera APP is in the photographing mode in the normal mode, then the plug-in management will determine that the current photographing mode is the photographing mode; if the camera APP is in a video mode under a common mode, the user opens a very simple mode, and then the plug-in management determines that the current shooting mode is the video mode; if the camera APP is in the large aperture mode, the night view mode, the portrait mode and the like in the normal mode and does not belong to the shooting modes in the extremely simple shooting mode list, the extremely simple mode is opened by the user, and then the plug-in management can determine that the current shooting mode defaults to the shooting mode.
S712, after the plugin manager determines the current shooting mode in the current polar-profile mode, continuing to load the polar-profile function list corresponding to the current shooting mode.
After that, the terminal device displays a preview interface of the current photographing mode in the very simple mode, for example, a preview interface as shown in a diagram in fig. 5 or b diagram in fig. 5.
When the user wants to switch from the reduced mode to the normal mode, the setup key may be clicked in the preview interface of the reduced mode as shown in a diagram in fig. 5, and a secondary page as shown in c diagram in fig. 5 may be displayed. The user executes a control that opens the "all services". At this time, the interface may be shown with reference to the d-diagram in fig. 4.
If the user clicks the returned control in the d diagram in fig. 4, the camera APP can display a preview interface in the normal mode; alternatively, the user may perform an operation of returning to the previous stage in the interface shown in d-chart in fig. 4, for example, performing an operation of sliding from the left side or the right side of the screen to the middle, and the camera APP may exit the second-stage page to display a preview interface in the normal mode. Optionally, if the photographing mode is a photographing mode before exiting the polar-profile mode, the photographing mode may be a photographing mode after exiting the polar-profile mode and entering the normal mode; if the shooting mode is the video mode before the extreme simple mode is exited, the shooting mode can be the video mode after the extreme simple mode is exited and the normal mode is entered. Optionally, the camera APP may also display a preview interface of the default shooting mode after exiting the reduced mode and entering the normal mode. The embodiments of the present application are not limited in this regard.
In some embodiments, a timing diagram of the camera APP exiting the reduced mode may be seen in fig. 8, the method comprising:
s801, the terminal equipment receives an operation of executing the exit of the extremely simple mode by the user.
S802, a persistent identification module (SimplePatternFuntion) responds to the operation that the user exits the extremely simple mode, and deletes the persistent extremely simple identification. For example, a string of persistent extremely simple identifiers on a preset flag bit, such as simplepattern function, is cleared or hidden.
S803, a storage module (preference Utilll) clears the stored persistent extremely simple identification.
S804, the persistence identification module issues an instruction for reloading the shooting mode list and the function list to a plug-in Manager (plug Manager).
S805, the plug-in manager responds to the reload instruction to issue a clear instruction to a plug-in loader (PluginLoader).
S806, the plug-in loader clears the original shooting mode. The list of the shooting modes loaded before may be deleted, or the list of the shooting modes loaded before may be hidden.
S807, the plug-in manager issues a switch mode instruction to a switch control module (MoreSwitchPresenter).
S808, the switching control module responds to the instruction of the switching mode and issues an initialized instruction to a switching manager (ModeWitcherManager).
S809, the switching manager initializes the mode to be displayed and sends a mode switching instruction to the mode selection module (ModeSelecter).
S810, the mode selection module responds to the mode switching instruction to judge whether the mode is the extremely simple mode. When the mode is not the very simple mode, namely the normal mode, the full quantity shooting mode in the normal mode is loaded.
For example, the mode selection module may read whether the preset flag bit stores the character string of the persistent extremely-simple identifier, and if the character string of the persistent extremely-simple identifier is not read, determine that the mode is a normal mode, and load the full quantity of shooting modes in the normal shooting mode list.
S811, the plug-in manager determines which shooting mode is the current shooting mode in the normal mode, and performs corresponding setting.
Specifically, the plug-in manager may determine the current photographing mode in the normal mode according to the photographing mode in which the camera APP is in the reduced mode before exiting the reduced mode. For example, if the user exits the polar profile mode when the camera APP is in the photographing mode in the polar profile mode, then the plug-in management will determine that the current photographing mode is the photographing mode; if the camera APP is in the video mode in the very simple mode, the user operation exits the very simple mode, and then the plug-in management determines that the current shooting mode is the video mode. Optionally, when the user operation exits the extremely simple mode, the plugin manager can directly determine that the current shooting mode defaults to the shooting mode.
And S812, after the plugin manager determines the current shooting mode in the current common mode, continuously loading a full function list corresponding to the current shooting mode.
And then, displaying a preview interface of the current shooting mode in the normal mode, and exiting the extremely simple mode.
In order to realize the function of entering the secondary page, the improvement of the technical scheme is described by combining the function added in the setting menu page display class diagram. As shown in fig. 9, the function functions (i.e., methods, shown by method names in fig. 9) in the square frame circles in each function module are newly added function functions, and in the actual use process, the method names correspond to a section of functions and can realize corresponding functions. The call flow of these function functions may be as shown in fig. 10, and may include:
s1001, when the user performs an operation of opening the setting interface under the preview interface, the setting entry function settingentryfunction issues an instruction (showSettingMenu) to display the setting menu to the UI service (UIservice).
S1002, UIservice updates the UI data (update UI) corresponding to the setting interface to the UI drawing manager (uilayou manager).
S1003, UILayoutManager acquires content to be filled (call two function functions of get container and put container), including the element corresponding to the data of UI, and updates the element (update elements) corresponding to the data of UI to the setting menu manager (setting menu).
S1004, the setting menu updates the corresponding element (update elements) of the UI to the setting menu page module (setting menuPages).
S1005, setting menuPages, a setup menu page is displayed.
S1006, setting menuPages judges whether the mode is the extremely simple mode, if yes, executing S1007A; if not, S1007B is performed.
S1007A, a flow of displaying the secondary page is performed in the normal mode. The method specifically comprises the following steps: scheme 1.
S1007B, a flow of displaying the secondary page is performed in the reduced mode. The method specifically comprises the following steps: scheme 2.
The scene corresponding to the process 1 is an interaction process of entering a secondary page in a normal mode of the camera APP in a normal mode, and the operation of opening a setting interface by a user corresponding to the process 1 is an operation of entering the setting interface by clicking a setting button in a preview interface in the normal mode of the user and entering the secondary page through a control of "expanding services" in the setting interface, and the process 1 can refer to steps S1101 to S1104 in fig. 11:
s1101, updating the UI data corresponding to the setting interface to the setting menu;
s1102, setting menu updates display data of a setting menu page to setting menuPages;
s1103, setting menuPages, rendering (super show) a second level page of the setting page in the normal mode (full Screen Pages);
S1104, a page switching module (Pages switch) displays the set page switch as a secondary page.
The scene corresponding to the flow 2 is an interaction flow of the secondary page in the polar-profile mode of the camera APP under the polar-profile mode, and the operation of opening the setting interface by the user corresponding to the flow 2 is an operation of clicking the setting button to directly enter the secondary page in the preview interface of the user under the polar-profile mode, and the flow 2 can be seen from steps S1201 to S1204 in fig. 11:
s1201, controlling and displaying a secondary page (setting MenushowSecond menu) by an external application function (externalapplication function);
s1202, setting menu updates the display data of the secondary page to setting menuPages;
s1203, setting menuPages render (super show) a secondary page (full Screen Pages);
and S1204, a page switching module (Pages switch) switches and displays the preview interface in the extremely simple mode as a secondary page.
The function in the class diagram of the setup menu page display referred to when exiting the above-mentioned secondary page is specifically described next, and reference may be made to fig. 12, in which onbackpress is a left-right sliding entry function for exiting the secondary page. The architecture and call flow of these functional functions in software can be seen from fig. 12:
When the user logs out by clicking a return control arranged on the secondary page, the user can see the flow 3; the current second-level page can also be exited by performing an operation of returning to the previous level, for example, an operation of sliding from the left side or the right side of the screen to the middle of the screen, as described in flow 4; the method can also be that when the camera APP is operated to move back to the background in the second-level page, so that the camera APP is not displayed on the foreground interface any more, or the screen of the electronic device is turned off, for example, a user actively turns off the screen, and when the camera APP is not operated for a long time, the electronic device enters a dormant state and the screen is turned off, under the conditions, the camera APP can automatically exit the second-level page, and after the electronic device exits the second-level page, the electronic device can also display a preview interface in a very simple mode or a preview interface in a common mode, and the method can refer to a flow 5.
Specifically, under the secondary page, the user slides from the left side of the screen to the middle, and the electronic device may perform steps S1301 to S1305 in fig. 13:
scheme 3:
at the second level page, the user clicks on the return control (onClick):
s1301, a menu page setting module judges whether the mode is a very simple mode or not; if yes, executing S1302A; if not, S1302B is performed.
S1302A, a setting menu page module displays a preview interface in a very simple mode.
S1302B, the setting menu page module issues a hidden command (hide ()).
S1303, the setup menu page module performs an operation of immediate hiding (hide ()).
S1304, the secondary page module (full Screen Pages) closes the secondary page (switchOffPage).
S1305, a page switching module (Pages switch) displays the second-level page switch as a preview interface in a common mode.
Scheme 4:
at the secondary page, the user slides from the left side of the screen to the middle to exit the secondary page, and the electronic device may perform the steps of S1401 to S1404 in fig. 14:
s1401, a return control module acquires an exit instruction for exiting the secondary page and judges whether the mode is a very simple mode or not; if yes, executing S1402A; if not, then S1402B is performed.
S1402A, the page switching module updates the display data of the preview interface in the extremely simple mode to the setting menu page module;
S1403A, setting a menu page module to execute operation of hiding the secondary page;
S1404A, a page switch module (Pages switch) displays the two-level page switch as a preview interface in the very simple mode.
S1402B, the page switching module updates the display data of the setting menu interface in the common mode to the setting menu page module;
S1403B, the setup menu page module performs an operation of displaying the setup menu interface.
And S1404B, the page switching module switches and displays the second-level page as a preview interface in a common mode.
Scheme 5:
the electronic device may perform the steps S1501 to S1503 in fig. 15, taking the example of the operation of the user to return to the home page as the operation of the electronic device to stop the screen on the secondary page or to be performed by the user to return to the home page:
s1501, a homepage key receiving module (Homekeybraddcastanever) issues an immediately hidden command.
S1502, the secondary page module closes the secondary page.
S1503, page switching module (Pages switch) displays the second level page switch as the interface of the homepage.
Examples of the methods provided herein are described in detail above. It is to be understood that the corresponding means, in order to carry out the functions described above, comprise corresponding hardware structures and/or software modules for carrying out the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The present application may divide the functional modules of the camera interface display device according to the above method example, for example, each function may be divided into each functional module, or two or more functions may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that the division of the modules in this application is illustrative, and is merely a logic function division, and other division manners may be implemented in practice.
The application also provides a camera interface display device, including: the system comprises a persistence identification module, a storage module, a plug-in manager, a plug-in loader, a switching control module, a switching manager and a mode selection module.
The specific manner in which the camera interface display device performs the camera interface display method and the resulting beneficial effects may be referred to in the related description of the method embodiments, and are not described herein.
The embodiment of the application also provides electronic equipment, which comprises the processor. The electronic device provided in this embodiment may be the terminal device 100 shown in fig. 1, for executing the above-described camera interface display method. In case of an integrated unit, the terminal device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage actions of the terminal device, for example, may be configured to support the terminal device to execute steps executed by the display unit, the detection unit, and the processing unit. The memory module may be used to support the terminal device to execute stored program codes, data, etc. And the communication module can be used for supporting the communication between the terminal equipment and other equipment.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other terminal equipment.
In an embodiment, when the processing module is a processor and the storage module is a memory, the terminal device according to this embodiment may be a device having the structure shown in fig. 1.
The embodiment of the application also provides a computer readable storage medium, in which a computer program is stored, which when executed by a processor, causes the processor to execute the camera interface display method according to any one of the embodiments.
The embodiment of the application also provides a computer program product, which when running on a computer, causes the computer to execute the related steps so as to realize the camera interface display method in the embodiment.
The electronic device, the computer readable storage medium, the computer program product or the chip provided in this embodiment are used to execute the corresponding method provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding method provided above, and will not be described herein.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with respect to each other may be an indirect coupling or communication connection via interfaces, devices, or units, and the replacement units may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions to cause a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
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 (13)

1. A camera interface display method, comprising:
receiving a first operation input by a user, wherein the first operation is used for indicating a camera application program APP to enter a first operation mode;
and responding to the first operation, displaying a first preview interface, wherein the first preview interface is a preview interface in the first operation mode, the types of shooting mode controls in the first preview interface are less than those in a second preview interface, the second preview interface is a preview interface in the second operation mode, and the second preview interface comprises shooting mode controls corresponding to all shooting modes supported by the camera APP.
2. The method of claim 1, further comprising a capture functionality control in the first preview interface, wherein the capture functionality control in the first preview interface is of fewer categories than the capture functionality control in the second preview interface.
3. The method of claim 1, wherein the capture mode control in the first preview interface comprises: a photographing control and a video control;
the shooting mode control in the second preview interface comprises: photographing controls, video controls, and other photographing mode controls.
4. The method of claim 2, wherein the capture functionality control in the first preview interface comprises: a flash control and a focus adjustment control;
the shooting function control in the second preview interface comprises: the flash lamp control, the focus adjustment control and other shooting function controls.
5. The method of claim 1, wherein the first operation is an operation in which a user opens the first mode of operation in a secondary page of the second preview interface; or,
the first operation is an operation that a user clicks a shortcut control in other APP interfaces of a non-camera APP to open the first operation mode of the camera APP.
6. The method of claim 2, wherein the displaying a first preview interface in response to the first operation comprises:
in response to the first operation, determining whether a persistent very simple identification exists for the camera APP, the persistent very simple identification being used to characterize the camera APP as being in the first mode of operation;
If yes, a historical operation mode is cleared, and the first operation mode is loaded according to a first mode list and a first function list corresponding to the first operation mode so as to display the first preview interface, wherein the historical operation mode is the first operation mode or the second operation mode;
if not, adding the lasting extremely simple identifier to the camera APP, and loading the first operation mode according to the first mode list and the first function list corresponding to the first operation mode so as to display the first preview interface;
the items in the first mode list are in one-to-one correspondence with the shooting mode controls in the first preview interface, the shooting modes in the second mode list corresponding to the second operation mode are in one-to-one correspondence with the shooting mode controls in the second preview interface, the shooting function controls in the first preview interface are in one-to-one correspondence with the items in the first function list, and the shooting function controls in the second preview interface are in one-to-one correspondence with the items in the second function list corresponding to the second operation mode.
7. The method of claim 6, wherein the adding the persistent very simple identification to the camera APP comprises:
A persistence identification module, which is used for executing the operation of adding the persistence extremely simple identification to the camera APP;
a storage module for storing the persistent very simple identifier in response to the operation of adding the persistent very simple identifier to the camera APP;
the loading the first operation mode according to the first mode list and the first function list corresponding to the first operation mode includes:
the persistence identification module issues a first loading instruction for reloading the first mode list and the first function list to a plug-in manager;
the plug-in manager responds to the first loading instruction and issues a first clearing instruction to the plug-in loader;
the plug-in loader is used for responding to the first clearing instruction and clearing the historical operation mode;
the plug-in manager sends a first switching instruction to the switching control module, wherein the first switching instruction is used for indicating to switch a shooting mode into a first target shooting mode, and the first target shooting mode is a shooting mode in the first mode list;
the switching control module responds to the first switching instruction, and when determining that the camera APP carries the lasting extremely simple identifier, the switching control module issues a first initialization instruction to a switching manager;
The switching manager is used for initializing the first target shooting mode in response to the first initialization instruction and sending a second switching instruction to the mode selection module, wherein the second switching instruction is used for indicating to switch the shooting mode into the first target shooting mode;
and the mode selection module is used for loading the first mode list and the first function list when the camera APP is determined to carry the lasting extremely simple identifier in response to the second switching instruction.
8. The method of claim 7, wherein prior to the first operation of receiving user input, further comprising:
the plug-in manager acquires a historical shooting mode, wherein the camera APP is in a shooting mode when in a second running mode;
when the history shooting mode is a shooting mode, the target shooting mode is the shooting mode;
when the history shooting mode is a video mode, the target shooting mode is the video mode;
when the history shooting mode is other shooting modes, the target shooting mode is the shooting mode, and the other shooting modes are shooting modes of a non-shooting mode and a non-video shooting mode.
9. The method according to any one of claims 1 to 8, further comprising:
receiving a second operation input by a user at the first preview interface, wherein the second operation is used for indicating the camera APP to exit the first operation mode;
and responding to the second operation, and switching from the first preview interface to the second preview interface.
10. The method of claim 9, wherein the second operation is an operation performed by a user in a secondary page of the first preview interface that exits the first mode of operation.
11. The method of claim 9, wherein the switching from the first preview interface to the second preview interface in response to the second operation comprises:
a persistence identification module, responsive to the second operation, performing an operation of deleting the persistence extremely simple identification;
the storage module is used for responding to the operation of deleting the persistent extremely simple identifier and clearing the stored persistent extremely simple identifier;
the persistence identification module issues a second loading instruction for reloading the shooting mode list and the function list to the plug-in manager;
The plug-in manager responds to the second loading instruction and issues a second clearing instruction to the plug-in loader;
the plug-in loader responds to a second clearing instruction to clear a historical operation mode, wherein the historical operation mode is the first operation mode or the second operation mode;
the plug-in manager issues a third switching instruction to the switching control module, where the third switching instruction is used to instruct to switch the shooting mode to a second target shooting mode, and the second target shooting mode is a shooting mode in a second mode list corresponding to the second running mode;
the switching control module responds to the third switching instruction, and when determining that the camera APP does not carry the lasting extremely simple identifier, the switching control module issues a second initialization instruction to a switching manager;
the switching manager responds to the second initialization instruction, initializes the second target shooting mode and sends a fourth switching instruction to the mode selection module, wherein the fourth switching instruction is used for indicating to switch the shooting mode into the second target shooting mode;
and the mode selection module is used for loading the second mode list and a second function list corresponding to the second running mode when the camera APP does not carry the lasting extremely simple identifier in response to the fourth switching instruction.
12. An electronic device, comprising: a processor, a memory, and an interface;
the processor, the memory and the interface cooperate to cause the electronic device to perform the method of any one of claims 1 to 11.
13. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, causes the processor to perform the method of any of claims 1 to 11.
CN202210899873.5A 2022-05-30 2022-07-28 Camera interface display method, electronic device, and computer-readable storage medium Active CN116055856B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210603306 2022-05-30
CN2022106033060 2022-05-30

Publications (2)

Publication Number Publication Date
CN116055856A true CN116055856A (en) 2023-05-02
CN116055856B CN116055856B (en) 2023-12-19

Family

ID=86114058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210899873.5A Active CN116055856B (en) 2022-05-30 2022-07-28 Camera interface display method, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN116055856B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116310243A (en) * 2023-05-24 2023-06-23 山东捷瑞数字科技股份有限公司 AR anti-shake method, system, equipment and storage medium based on artificial intelligence

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102197362A (en) * 2008-10-27 2011-09-21 微软公司 Surfacing and management of window-specific controls
US20160139739A1 (en) * 2014-11-15 2016-05-19 Stan Ciepcielinski Simplified User Interface for the Elderly and the Vision Impaired
CN105959552A (en) * 2016-05-26 2016-09-21 维沃移动通信有限公司 Shooting method and mobile terminal
WO2018076309A1 (en) * 2016-10-29 2018-05-03 华为技术有限公司 Photographing method and terminal
CN108509247A (en) * 2018-04-08 2018-09-07 深圳先搜科技有限公司 A kind of extremely simple mode implementation method, system and terminal device
CN109518413A (en) * 2017-09-20 2019-03-26 青岛海尔洗衣机有限公司 A kind of control method and control system of washing machine
US20190182371A1 (en) * 2016-08-01 2019-06-13 Zone V Ltd Smartphone accessory for visually impaired or elderly users
CN111124224A (en) * 2019-12-12 2020-05-08 维沃移动通信有限公司 Application program control method and electronic equipment
CN111465918A (en) * 2018-07-25 2020-07-28 华为技术有限公司 Method for displaying service information in preview interface and electronic equipment
CN111614891A (en) * 2020-04-24 2020-09-01 深圳传音控股股份有限公司 Camera application function switching method, terminal and computer readable storage medium
CN112153283A (en) * 2020-09-22 2020-12-29 维沃移动通信有限公司 Shooting method and device and electronic equipment
CN112463138A (en) * 2020-11-18 2021-03-09 华南师范大学 Software and hardware combined artificial intelligence education learning system
CN112486390A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Display control method and device and electronic equipment
CN112905073A (en) * 2021-02-09 2021-06-04 维沃移动通信有限公司 Method and device for realizing extremely simple mode of application program
US20210255746A1 (en) * 2018-07-20 2021-08-19 Huawei Technologies Co., Ltd. Application control method and electronic device
CN113824886A (en) * 2021-10-29 2021-12-21 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium
CN114245017A (en) * 2021-12-21 2022-03-25 维沃移动通信有限公司 Shooting method and device and electronic equipment
CN115022551A (en) * 2022-07-22 2022-09-06 维沃移动通信有限公司 Shooting interface display method and device, electronic equipment and readable storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102197362A (en) * 2008-10-27 2011-09-21 微软公司 Surfacing and management of window-specific controls
US20160139739A1 (en) * 2014-11-15 2016-05-19 Stan Ciepcielinski Simplified User Interface for the Elderly and the Vision Impaired
CN105959552A (en) * 2016-05-26 2016-09-21 维沃移动通信有限公司 Shooting method and mobile terminal
US20190182371A1 (en) * 2016-08-01 2019-06-13 Zone V Ltd Smartphone accessory for visually impaired or elderly users
WO2018076309A1 (en) * 2016-10-29 2018-05-03 华为技术有限公司 Photographing method and terminal
CN109518413A (en) * 2017-09-20 2019-03-26 青岛海尔洗衣机有限公司 A kind of control method and control system of washing machine
CN108509247A (en) * 2018-04-08 2018-09-07 深圳先搜科技有限公司 A kind of extremely simple mode implementation method, system and terminal device
US20210255746A1 (en) * 2018-07-20 2021-08-19 Huawei Technologies Co., Ltd. Application control method and electronic device
CN111465918A (en) * 2018-07-25 2020-07-28 华为技术有限公司 Method for displaying service information in preview interface and electronic equipment
CN111124224A (en) * 2019-12-12 2020-05-08 维沃移动通信有限公司 Application program control method and electronic equipment
CN111614891A (en) * 2020-04-24 2020-09-01 深圳传音控股股份有限公司 Camera application function switching method, terminal and computer readable storage medium
CN112153283A (en) * 2020-09-22 2020-12-29 维沃移动通信有限公司 Shooting method and device and electronic equipment
CN112463138A (en) * 2020-11-18 2021-03-09 华南师范大学 Software and hardware combined artificial intelligence education learning system
CN112486390A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Display control method and device and electronic equipment
CN112905073A (en) * 2021-02-09 2021-06-04 维沃移动通信有限公司 Method and device for realizing extremely simple mode of application program
CN113824886A (en) * 2021-10-29 2021-12-21 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium
CN114245017A (en) * 2021-12-21 2022-03-25 维沃移动通信有限公司 Shooting method and device and electronic equipment
CN115022551A (en) * 2022-07-22 2022-09-06 维沃移动通信有限公司 Shooting interface display method and device, electronic equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116310243A (en) * 2023-05-24 2023-06-23 山东捷瑞数字科技股份有限公司 AR anti-shake method, system, equipment and storage medium based on artificial intelligence
CN116310243B (en) * 2023-05-24 2023-08-15 山东捷瑞数字科技股份有限公司 AR anti-shake method, system, equipment and storage medium based on artificial intelligence

Also Published As

Publication number Publication date
CN116055856B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
CN114679537B (en) Shooting method and terminal
CN114467297B (en) Video call display method and related device applied to electronic equipment
CN112217923B (en) Display method of flexible screen and terminal
CN112231025B (en) UI component display method and electronic equipment
CN114546190A (en) Application display method and electronic equipment
CN114327666B (en) Application starting method and device and electronic equipment
CN113254409B (en) File sharing method, system and related equipment
CN113641271B (en) Application window management method, terminal device and computer readable storage medium
CN115967851A (en) Quick photographing method, electronic device and computer readable storage medium
CN114125130A (en) Method for controlling communication service state, terminal device and readable storage medium
CN114995715B (en) Control method of floating ball and related device
CN113949803B (en) Photographing method and electronic equipment
CN115129410B (en) Desktop wallpaper configuration method and device, electronic equipment and readable storage medium
CN116055856B (en) Camera interface display method, electronic device, and computer-readable storage medium
CN116527805A (en) Card display method, electronic device, and computer-readable storage medium
CN116339568A (en) Screen display method and electronic equipment
CN116540908A (en) Application layout control method and related device
CN116709018B (en) Zoom bar segmentation method and electronic equipment
WO2024109573A1 (en) Method for floating window display and electronic device
CN116719569B (en) Method and device for starting application
CN118646821A (en) Card display method and electronic equipment
CN116339569A (en) Split screen display method, folding screen device and computer readable storage medium
CN117666810A (en) Input method and electronic equipment
CN117435309A (en) Task migration method, electronic equipment and system
CN117784990A (en) Method and related device for displaying icons of application programs in task bar

Legal Events

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