CN115567630B - Electronic equipment management method, electronic equipment and readable storage medium - Google Patents

Electronic equipment management method, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115567630B
CN115567630B CN202210013508.XA CN202210013508A CN115567630B CN 115567630 B CN115567630 B CN 115567630B CN 202210013508 A CN202210013508 A CN 202210013508A CN 115567630 B CN115567630 B CN 115567630B
Authority
CN
China
Prior art keywords
function
electronic device
collaborative
display
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210013508.XA
Other languages
Chinese (zh)
Other versions
CN115567630A (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
Priority to CN202210013508.XA priority Critical patent/CN115567630B/en
Priority to PCT/CN2022/143843 priority patent/WO2023131070A1/en
Publication of CN115567630A publication Critical patent/CN115567630A/en
Application granted granted Critical
Publication of CN115567630B publication Critical patent/CN115567630B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a management method of electronic equipment, the electronic equipment and a readable storage medium, and belongs to the technical field of terminals. The method comprises the steps that first operation on first electronic equipment is detected by the first electronic equipment, a first function of the first electronic equipment is started by a first operation request, and the first function is used for enabling a first display screen and a second display screen of the first electronic equipment to display the same picture; responding to the first operation, judging whether a second function of the first electronic equipment is in an on state currently, wherein the second function is used for enabling a current display interface of the first electronic equipment to be projected on the second electronic equipment, and the current display interface of the first electronic equipment is the current display interface of the first display screen or the current display interface of the second display screen; the first function is turned on when the second function is currently in the off state. Therefore, multiple functions of the electronic equipment can be managed under different use scenes, and the optimization of the application scenes is realized.

Description

Electronic equipment management method, electronic equipment and readable storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a management method of an electronic device, and a readable storage medium.
Background
With the continued development of electronic devices, electronic devices with folding screens are currently emerging. The electronic device with the folding screen can be folded, so that multiple functions can be realized, and how to manage the multiple functions under different use scenes is a problem to be solved at present.
Disclosure of Invention
The embodiment of the application provides a management method of electronic equipment, the electronic equipment and a readable storage medium.
In a first aspect, an embodiment of the present application provides a method for managing an electronic device, where the method is performed by a first electronic device, and the first electronic device includes at least two display screens, including: detecting a first operation on the first electronic equipment, wherein the first operation requests to start a first function of the first electronic equipment, and the first function is used for enabling a first display screen and a second display screen of the first electronic equipment to display the same picture, wherein the first display screen and the second display screen are any two display screens positioned on different planes; responding to the first operation, judging whether a second function of the first electronic equipment is in an on state currently, wherein the second function is used for enabling a current display interface of the first electronic equipment to be projected on the second electronic equipment, and the current display interface of the first electronic equipment is the current display interface of the first display screen or the current display interface of the second display screen; the first function is turned on when the second function is currently in the off state.
Based on the technical scheme, when a user requests to start the first function of the first electronic equipment, if the second function is in a closed state, the first function is started, and if the second function is in an open state, the first function cannot be started. Through managing the first function and the second function of the first electronic equipment, when the first electronic equipment is used under different use scenes, the first electronic equipment can be in a good running state, scene optimization is realized, and user experience is improved.
In some embodiments, the pictures displayed in the first display and the pictures displayed in the second display may be displayed in the same proportion, i.e. at the same aspect ratio.
In some embodiments, the frame displayed by the second display is a mirror image of the frame displayed by the first display.
With reference to the first aspect, in certain implementations of the first aspect, detecting a first operation on the first electronic device includes: detecting a camera opening operation, and starting a camera application; a first operation is detected on a first electronic device in a camera application.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, an application interface of the camera application displays an on button of a first function, and the first operation is a click operation on the on button.
With reference to the first aspect and the foregoing implementation manner, in some implementation manners of the first aspect, after determining whether the second function of the first electronic device is currently in an on state, the method further includes: when the second function is in an on state, displaying a first interface, wherein the first interface is used for guiding a user to close the second function; detecting an operation to turn off the second function; and in response to the operation of closing the second function, opening the first function after closing the second function.
Based on the scheme, when the first electronic equipment does not support the operation of the user, the user can be prompted how to operate so as to meet the requirements of the user and improve the user experience.
With reference to the first aspect and the foregoing implementation manner, in some implementation manners of the first aspect, after the turning on the first function, the method further includes: detecting a second operation on the first electronic device, wherein the second operation requests to start a second function; in response to the second operation, the second function is turned on after the first function is turned off.
With reference to the first aspect and the foregoing implementation manner, in some implementation manners of the first aspect, in response to a second operation, after turning off the first function, turning on the second function includes: responding to the second operation, judging whether the first function is in an on state at present; when the first function is in the on state currently, the second function is started after the first function is closed.
That is, when the first function and the second function are simultaneously requested to be turned on, the second function is preferentially used.
With reference to the first aspect and the foregoing implementation manner, in some implementation manners of the first aspect, when the first function is currently in an on state, the method further includes: displaying a second interface, wherein the second interface is used for guiding a user to confirm to close the first function; detecting an operation of confirming to close the first function by a user; the first function is turned off in response to an operation confirming the turning off of the first function.
With reference to the first aspect and the foregoing implementation manner, in some implementation manners of the first aspect, when the first function is currently in an on state, the method further includes: and closing the first function when the electric quantity of the first electronic device is detected to be lower than a first threshold value.
With reference to the first aspect and the foregoing implementation manner, in some implementation manners of the first aspect, when the first function is currently in an on state, the method further includes: the first function is turned off upon detecting that the temperature of the first electronic device is above a second threshold.
When the first electronic equipment is in the scenes of low electric quantity, abnormal temperature and the like, the first function can be automatically closed, so that a system of the first electronic equipment can normally operate.
With reference to the first aspect and the foregoing implementation manners, in some implementation manners of the first aspect, turning off the first function includes: displaying a third interface, wherein the third interface is used for prompting a user whether to close the first function; detecting a third operation on the first electronic device, wherein the third operation requests to close the first function; in response to the third operation, the first function is turned off.
The third interface may display a yes button or a no button, and the user may click the yes button to confirm to close the first function, or click the no button to confirm not to close the first function, so when the first electronic device is in a scene such as low battery, abnormal temperature, etc., the user may select to continue to use the first function, or may select to close the first function, thereby improving user experience.
With reference to the first aspect and the foregoing implementation manner, in some implementation manners of the first aspect, when the first function is currently in an on state, the method further includes: receiving a call request from third electronic equipment; the first function is turned off.
It can be understood that the first function is not required to be used when the user is talking, and the first function can be closed by the first electronic device when the user is talking by using the first electronic device, so that the running process of the first electronic device is reduced, the electricity consumption of the electronic device can be saved, and the user experience is improved.
With reference to the first aspect and the foregoing implementation manner, in some implementation manners of the first aspect, when the first function is currently in an on state, the method further includes: and closing the first function when the camera application of the first electronic device is detected to be inoperable.
In a second aspect, the present application provides an electronic device, comprising: at least two display screens; one or more processors; one or more memories; a module in which a plurality of application programs are installed; the memory stores one or more programs that, when executed by the processor, cause the electronic device to perform the steps of: detecting a first operation on the electronic equipment, wherein the first operation requests to start a first function of the electronic equipment, and the first function is used for enabling a first display screen and a second display screen of the electronic equipment to display the same picture, wherein the first display screen and the second display screen are any two display screens of the electronic equipment, which are positioned on different surfaces; responding to the first operation, judging whether a second function of the first electronic equipment is in an on state currently, wherein the second function is used for enabling a current display interface of the electronic equipment to be projected on the second electronic equipment, and the current display interface of the electronic equipment is a current display interface of the first display screen or a current display interface of the second display screen; the first function is turned on when the second function is currently in the off state.
With reference to the second aspect, in certain implementations of the second aspect, the one or more programs, when executed by the processor, cause the electronic device to perform the steps of: detecting a camera opening operation, and starting a camera application; a first operation is detected on a first electronic device in a camera application.
The application interface of the camera application displays an opening button of a first function, and the first operation is a click operation of the opening button.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second aspect, when one or more programs are executed by a processor, the electronic device is caused to perform the following steps: when the second function is in an on state, displaying a first interface, wherein the first interface is used for guiding a user to close the second function; detecting an operation to turn off the second function; and in response to the operation of closing the second function, opening the first function after closing the second function.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second aspect, when one or more programs are executed by a processor, the electronic device is caused to perform the following steps: detecting a second operation on the electronic equipment, wherein the second operation requests to start a second function; in response to the second operation, the second function is turned on after the first function is turned off.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second aspect, when one or more programs are executed by a processor, the electronic device is caused to perform the following steps: responding to the second operation, judging whether the first function is in an on state at present; when the first function is in the on state currently, the second function is started after the first function is closed.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second aspect, when one or more programs are executed by a processor, the electronic device is caused to perform the following steps: displaying a second interface, wherein the second interface is used for guiding a user to confirm to close the first function; detecting an operation of confirming to close the first function by a user; the first function is turned off in response to an operation confirming the turning off of the first function.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second aspect, when one or more programs are executed by a processor, the electronic device is caused to perform the following steps: and closing the first function when the electric quantity of the electronic equipment is detected to be lower than a first threshold value.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second aspect, when one or more programs are executed by a processor, the electronic device is caused to perform the following steps: the first function is turned off upon detecting that the temperature of the electronic device is above a second threshold.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second aspect, when one or more programs are executed by a processor, the electronic device is caused to perform the following steps: displaying a third interface, wherein the third interface is used for prompting a user whether to close the first function; detecting a third operation on the electronic equipment, wherein the third operation requests to close the first function; in response to the third operation, the first function is turned off.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second aspect, when one or more programs are executed by a processor, the electronic device is caused to perform the following steps: receiving a call request from third electronic equipment; the first function is turned off.
With reference to the second aspect and the foregoing implementation manner, in some implementation manners of the second aspect, when one or more programs are executed by a processor, the electronic device is caused to perform the following steps: and closing the first function when the fact that the application program of the electronic device cannot run is detected.
In a third aspect, an embodiment of the present application provides an apparatus, where the apparatus is included in an electronic device, and the apparatus has a function of implementing the foregoing aspects and a possible implementation manner of the foregoing aspects of the electronic device. The functions may be realized by hardware, or may be realized by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions described above. Such as a display module or unit, a detection module or unit, a processing module or unit, etc.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, including computer instructions that, when executed on an electronic device, cause the electronic device to perform a method of managing an electronic device as possible in any one of the first aspects above.
In a fifth aspect, embodiments of the present application provide a computer program product, which when run on an electronic device, causes the electronic device to perform the method of managing an electronic device possible according to any one of the first aspects.
In this embodiment of the present application, the first electronic device includes at least two display screens, and the first display screen and the second display screen are any two display screens located on different planes in the at least two display screens. The method comprises the steps that a first electronic device detects first operation on the first electronic device, a first operation request starts a first function of the first electronic device, the first function is used for enabling a first display screen and a second display screen of the first electronic device to display the same picture, whether the second function of the first electronic device is currently in a starting state or not is judged in response to the first operation, the second function is used for enabling a current display interface of the first electronic device to be projected on the second electronic device, and the current display interface of the first electronic device is the current display interface of the first display screen or the current display interface of the second display screen; the first function is turned on when the second function is currently in the off state.
Based on the technical scheme, when a user requests to start the first function of the first electronic equipment, if the second function is in the closed state, the first electronic equipment starts the first function, and the first electronic equipment manages the first function and the second function, so that the problem that the first function and the second function conflict when the first electronic equipment does not support to display the display picture of the first display screen on the second display screen and the second electronic equipment at the same time is avoided, and the first electronic equipment can be in a good running state when being used under different use scenes, thereby realizing the optimization of application scenes and improving user experience.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the application;
fig. 2 is a schematic diagram of an example of a mobile phone 100 according to an embodiment of the present disclosure when the display screen is unfolded, and when the display screen is folded;
fig. 3 is a schematic diagram of an example of a mobile phone 100 according to an embodiment of the present disclosure when a first function is turned on and off;
FIG. 4 is a flowchart illustrating an example of using a first function according to an embodiment of the present application;
fig. 5 is a schematic diagram of an example of a mobile phone 100 according to an embodiment of the present application when a second function is turned on;
FIG. 6 is a schematic flowchart of an exemplary method for managing electronic devices according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an example of a prompt interface provided in an embodiment of the present application;
FIG. 8 is a schematic flow chart of another example of a method for managing electronic devices according to an embodiment of the present application;
fig. 9 is a software architecture block diagram of an example of a mobile phone 100 according to an embodiment of the present application;
FIG. 10 is a schematic diagram showing interactions between the various software structures of FIG. 9 to implement the method of the present application;
FIG. 11 is a schematic diagram showing another interaction between the various software structures of FIG. 9 to implement the method of the present application;
FIG. 12 is a further schematic interaction diagram illustrating the implementation of the method of the present application with the cooperation between the various software structures of FIG. 9;
FIG. 13 is a further schematic diagram illustrating the interaction between the various software structures of FIG. 9 to implement the method of the present application;
FIG. 14 illustrates yet another interaction diagram for implementing the method of the present application in conjunction with the various software structures of FIG. 9;
FIG. 15 is a further schematic diagram illustrating the interaction between the various software structures of FIG. 9 to implement the method of the present application;
fig. 16 shows still another interaction diagram for implementing the method of the present application in cooperation with each of the software structures in fig. 9.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are a part of the present invention, but not all embodiments.
It should be understood that reference herein to "a plurality" means two or more. In the description of the present application, "/" means or, 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, for the purpose of facilitating the clear description of the technical solutions of the present application, the words "first", "second", etc. are used to distinguish between the same item or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
Fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
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 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 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, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic 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 functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic 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 electronic device 100, and may also be used to transfer data between the electronic 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 electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present invention is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic 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 electronic device 100. The charging management module 140 may also supply power to the electronic 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 to power the processor 110, the internal memory 121, 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 electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G/6G, etc. applied on the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The 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., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The 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 electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. 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 electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1, and the display screens 194 may be foldable.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. 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, electronic 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 electronic 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 electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: 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 electronic device 100 may be implemented through 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 enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. 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 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 created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. 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 processor 110 performs various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, 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 electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity 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 electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic 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 electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device 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 electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on 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 electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize 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, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 may detect the opening and closing of the flip 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 may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 180F to achieve quick focus.
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 electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100. The electronic device 100 can detect that the user holds the electronic device 100 close to the ear 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 electronic 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. Ambient light sensor 180L may also cooperate with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc.
The temperature sensor 180J is for detecting temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs a reduction in the performance of a processor located in the vicinity of temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the low temperature causing the electronic device 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the electronic 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 device". 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. For example, the touch sensor 180K acquires a touch operation by which the user clicks the collaborative photographing function button, and then passes the operation to the processor 110, and the processor 110 determines that the touch event is "open the collaborative photographing function". When the user clicks the collaborative photographing button again, the operation is transferred to the processor 110 by the touch sensor 180K, and the processor 110 determines that the touch event is "turning off the collaborative photographing function". In some embodiments, visual output related to touch operations may be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the mobile phone 100 at a location different from the location of the display 194. The present application is not limited in this regard.
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 electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic 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 inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic 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 electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The method of the embodiment of the application is applicable to any multi-screen electronic device having a first function and a second function, where the multi-screen electronic device has at least two display screens, and the at least two display screens are mounted on different sides of the electronic device, such as a folding screen mobile phone, a tablet computer, etc., and the application is not limited thereto. For convenience of description, the electronic device 100 will be described as a folding-screen mobile phone 100, and the folding-screen mobile phone 100 will be simply referred to as the mobile phone 100.
For example, fig. 2 (a) shows a schematic front view of the display of the mobile phone 100 when the display of the mobile phone 100 is unfolded, the display of the mobile phone 100 may be turned into a complete plane when the mobile phone 100 is unfolded, and the plane of the display may be parallel to the horizontal plane when the mobile phone 100 is horizontally placed. The display screen shown in fig. 2 (a) may be referred to as an inner screen, and when the mobile phone 100 is in an unfolded state, the inner screen may be divided into an inner screen area a-1 and an inner screen area a-2, and the inner screen area a-1 and the inner screen area a-2 are divided by a rotation axis. The camera P2 may be disposed on the inner screen area a-1 or the inner screen area a-2 of the mobile phone 100, which is not limited in this application.
Fig. 2 (B) shows a schematic back view of the display of the mobile phone 100 when unfolded, where the back side includes an external screen B and a mobile phone housing, and cameras may be disposed on the external screen B and the mobile phone housing. The outer screen B is arranged opposite to the inner screen area A-1, and the mobile phone shell is arranged opposite to the inner screen area A-2. Or the outer screen B is arranged opposite to the inner screen area A-2, and the mobile phone shell is arranged opposite to the inner screen area A-1. Meanwhile, a camera P1 is arranged on the outer screen B. The mobile phone shell is located on one side of the outer screen B, and a camera P3 is arranged on the mobile phone shell, and the camera P3 comprises one or more cameras, such as 3 cameras.
Fig. 2 (c) shows a schematic diagram of the mobile phone 100 when the display screen is folded, in which the inner screen area a-1 is rotated in the direction of the inner screen area a-2, or the inner screen area a-2 is rotated in the direction of the inner screen area a-1, so that the mobile phone 100 is folded, and when the mobile phone 100 is in the folded state, the inner screen a-1 and the inner screen a-2 are not displayed to the user, and the outer screen B is displayed to the user.
In this embodiment, the first function is configured to enable the first display screen and the second display screen of the mobile phone to display the same picture, where the first display screen is an outer screen B, and the second display screen may be an integral inner screen a formed by an inner screen area a-1 and an inner screen area a-2, or may be an inner screen area a-1, or may also be an inner screen area a-2.
The camera application in the folding screen handset 100 will be described as an example. It can be appreciated that the technical solution of the present application is also applicable to other applications on electronic devices, not limited to camera applications.
For convenience of description, in the following description, it is assumed that a photographer faces an inner screen a, and a photographer faces an outer screen B as an example, and correspondingly, the camera P2 is referred to as a front camera, and the cameras P1 and P3 are referred to as rear cameras. Or when the inner screen a is in the unfolded state, the camera P1 is not activated, and correspondingly, the camera P2 is referred to as a front camera, and the camera P3 is referred to as a rear camera.
It can be understood that the method of the present application is also applicable to a scenario where a photographer faces the external screen a and a photographer faces the internal screen B, where the camera P2 is referred to as a rear camera and the cameras P1 and P3 are referred to as front cameras, respectively. Alternatively, camera P1 is not enabled, camera P2 is referred to as a rear camera, and camera P3 is referred to as a front camera. Alternatively, the camera P3 is not activated, the camera P2 is referred to as a rear camera, and the camera P1 is referred to as a front camera.
For example, (a) in fig. 3 shows a schematic diagram when the first function of the mobile phone 100 is turned on, and when the photographer 10 photographs the subject 20 with the rear camera P1 of the mobile phone 100, the photographed screen 101a photographed by the camera P1 is displayed in the inner screen a facing the photographer, and the mirrored screen 101B of the photographed screen 101a is displayed in the outer screen B of the folding screen mobile phone 100 facing the subject. In this way, the information such as the posture of the subject 20 seen by the subject 20 on the mirror image screen 101B of the outer screen B, and the position of the subject 20 on the entire shooting screen is the same as that seen by the user 10 on the shooting screen 101a of the inner screen. The mirror image of the shot image displayed on the outer screen B may be obtained by copying or mirroring the shot image displayed on the inner screen a. In addition, in order to display the complete mirror image picture of the photographing picture 101a in the external screen B, the size ratio (e.g., aspect ratio) of the photographing picture 101a to the mirror image picture 101B may be the same. In this way, when the photographer uses the folding screen mobile phone 100 to photograph the photographer, the photographer can intuitively see the photographing effect through the picture displayed by the external screen B, and the photographer can adjust the posture and the position of the photographer directly according to the picture displayed by the external screen B so as to obtain a better photographing effect.
Fig. 3 (B) shows a schematic diagram of the mobile phone 100 when the first function is turned off, where the inner screen a displays a shot preview screen, the outer screen B may display information such as current time, network status, electric quantity, etc., or display a default screen-locking screen, desktop, etc., which is not limited in this application.
Fig. 3 (c) and (d) show a camera application interface of the mobile phone 100, where the interface includes a currently photographed picture and function buttons located on both sides of the camera application interface, and the function buttons include a collaborative photographing button for starting a collaborative photographing function, such as the collaborative photographing button 02 in a closed state. The collaborative photographing button 02 in the closed state is used for indicating that the collaborative photographing function is closed at this time, and the external screen a displays time and other information. Such as a collaborative photographing button 03 in an on state, the collaborative photographing button 03 in the on state is used to indicate that the collaborative photographing function is on at this time.
In this embodiment of the present application, the user may perform a first operation in the camera application interface to start the collaborative photographing function, where the first operation may be clicking a button related to collaborative photographing in the camera application interface, or may also be a voice command, etc., which is not limited herein.
For example, fig. 4 shows an implementation of the mobile phone 100 to turn on the collaborative photographing function. As in (a) of fig. 4, the user clicks on the camera application at the application program interface to launch the camera application. After the camera application is opened, the inner screen A displays a camera application interface. After the user clicks the collaborative photographing button 02 in the closed state, the user clicks the collaborative photographing button 02, and then the mobile phone 100 starts the collaborative photographing function in response to the clicking operation of the user.
At this time, as shown in (b) of fig. 4, the collaborative photographing 02 in the off state is switched to the collaborative photographing button 03 in the on state. As shown in fig. 4 (c), the external screen B of the mobile phone 100 displays a mirror image screen 101B of the photographing screen 101a of the internal screen a.
After the user clicks the collaborative photographing button 03 in the on state again, in response to the clicking operation of the user, the mobile phone 100 turns off the collaborative photographing function, and the collaborative photographing button 03 in the on state is switched back to the collaborative photographing button 02 in the off state, at which time the external screen B of the mobile phone 100 displays time as shown in (d) of fig. 4.
Camera applications include a variety of shooting modes to meet shooting requirements. It should be noted that, in some shooting modes, the mobile phone 100 supports the use of collaborative shooting functions, such as a video mode and a movie mode. In other photographing modes, the handset 100 does not support the use of collaborative photographing functions, such as a self-photographing mode.
And the camera application judges whether the current camera mode supports the collaborative photographing function according to the photographing mode selected by the user and the started camera. For example, in the case where the current camera mode is a movie mode, a collaborative photographing function is supported. In the case where the current camera mode is the self-timer mode, the collaborative photographing function is not supported. For another example, in the case where the camera application is turned on with a rear camera, a collaborative photographing function is supported. In the case where the camera application is started with a front-end camera, the collaborative photographing function is not supported.
If the user selects a mode that does not support the collaborative photographing function from the camera modes after the collaborative photographing function is turned on, the collaborative photographing function of the mobile phone 100 is automatically turned off, for example, when the user switches the photographing mode from the movie mode to the self-timer mode, the external screen B does not display the preview picture of the photographing of the internal screen a.
In one implementation, the inner screen area A-1 and the inner screen area A-2 may display different content, for example, when photographing, the inner screen area A-1 and the outer screen B simultaneously display a photographed preview screen, and the inner screen area A-2 may display an album. The first function applied in the camera application described above is called a collaborative photographing function.
In this embodiment, the second function is used to make the current display screen of the mobile phone 100 be projected on a second electronic device, which may be the computer 200. The second function may be referred to as a system coordination function hereinafter.
Fig. 5 is a schematic diagram illustrating a second function of the mobile phone 100 when the second function is turned on. The mobile phone 100 and the computer 200 can be connected through NFC, code scanning, bluetooth and the like. For example, sliding up from the bottom of the mobile phone 100, a "multi-device collaboration" button may appear, clicking on the "multi-device collaboration" button, the mobile phone 100 displaying a list of electronic devices that can establish a collaborative connection with the mobile phone 100, clicking on the computer 200 when the list of electronic devices includes the computer 200, so that the mobile phone 100 establishes a collaborative connection with the computer 200. After the mobile phone 100 is connected with the computer 200, a mobile phone window appears on the desktop of the computer 200, and the mobile phone window displays the current display interface of the inner screen A or the outer screen B of the mobile phone 100. The second function of the handset 100 may be used in either a folded state or an unfolded state. When the mobile phone 100 opens the first function in the folded state, the user can be guided to expand the display screen of the mobile phone 100.
In this embodiment, the collaborative photographing function of the mobile phone 100 causes the image displayed by the inner screen a to be split and displayed on the outer screen B, and the system collaborative function of the mobile phone 100 causes the image displayed by the inner screen a to be split and displayed on the computer 200. The user may request to start the system collaborative function in a state where the collaborative photographing function is started, or the user may request to start the collaborative photographing function in a state where the system collaborative function is started. When the mobile phone 100 does not support the simultaneous shunting of the picture displayed by the inner screen a to the outer screen B and the computer 200, the collaborative photographing function and the system collaborative function cannot be used simultaneously.
Fig. 6 illustrates a management method of an electronic device according to an embodiment of the present application. When the mobile phone 100 receives the user request, the mobile phone 100 determines whether the collaborative photographing function or the system collaborative function is activated by the user request operation. When the user requests to operate and request to start the collaborative photographing function, the mobile phone 100 needs to determine whether the current system collaborative function is in an on state, and when the system collaborative function is in an off state, the mobile phone 100 starts the collaborative photographing function. When the system collaborative function is in an on state, the collaborative photographing function is not available.
In one implementation, when the system coordination function is in an on state, the mobile phone 100 may send a prompt to the user to turn off the system coordination function. Illustratively, fig. 7 (a) shows a prompt interface. When the system collaborative function is in an on state, if a user requests to start the collaborative shooting function, a prompt box 01 is popped up, the prompt box 01 displays that the collaborative shooting function cannot be started, the system collaborative function is closed firstly, and a 'go-close' button and a 'cancel' button are displayed. The user may click a "go to close" button to perform an operation for closing the system cooperation function. Alternatively, the user may click a "cancel" button, forgoing to turn on the collaborative photographing function.
When the user requests to operate and request to start the system coordination function, the mobile phone 100 needs to determine whether the current coordination shooting function is in an on state, and when the coordination shooting function is in an off state, the mobile phone 100 starts the system coordination function. When the collaborative photographing function is in the on state, the mobile phone 100 first turns off the collaborative photographing function and then turns on the system collaborative function.
In one implementation, the mobile phone 100 may send a prompt to the user that the collaborative photographing function is to be turned off. Illustratively, fig. 7 (b) shows a prompt interface. When the collaborative photographing function is in an on state, if a user requests to start the system collaborative function, a prompt box 02 pops up, the prompt box 02 displays "the collaborative photographing function is to be closed, whether to start the system collaborative function" is confirmed, and a "yes" button and a "no" button are displayed. The user may click the "yes" button and the handset 100 turns on the system collaboration function. Alternatively, the user may click the "no" button, relinquishing the system collaboration function to be turned on.
Fig. 8 illustrates a management method of an electronic device provided in an embodiment of the present application. When the collaborative photographing function of the mobile phone 100 is in an on state, the electric quantity, the temperature, etc. of the mobile phone 100 will change during the use of the mobile phone 100. When the mobile phone 100 detects that its own power is lower than a first threshold, for example, the power of the mobile phone 100 is lower than 30%, or when the mobile phone 100 detects that its own temperature is higher than a second threshold, the mobile phone 100 will turn off the collaborative photographing function.
In one implementation, when the mobile phone 100 detects that the electric quantity of the mobile phone 100 is lower than the first threshold value or when the mobile phone 100 detects that the temperature of the mobile phone is higher than the second threshold value, the mobile phone 100 may send a prompt to the user to prompt the user that the mobile phone 100 is currently available poorly. For example, when the electric quantity of the mobile phone 100 is low, the mobile phone 100 pops up a prompt box, and the prompt box displays "whether the current electric quantity is low, whether to close the collaborative photographing function", and displays a "yes" button and a "no" button. The user may click the yes button and the cell phone 100 turns off the collaborative photographing function in response to the operation. Alternatively, the user may click the "no" button, and the mobile phone 100 continues to turn on the collaborative photographing function in response to the operation. The interface including the prompt box displayed by the mobile phone 100 corresponds to a third interface, and the operation of clicking the yes button by the user corresponds to a third operation.
In addition, the mobile phone 100 may receive a call request from the third electronic device, and when the mobile phone 100 receives the call request while the collaborative photographing function of the mobile phone 100 is in the on state, the mobile phone 100 automatically turns off the collaborative photographing function.
In one implementation manner, when the collaborative photographing function of the mobile phone 100 is in an on state and the mobile phone 100 receives a call request, whether the user accepts the call request is determined, and if the user accepts the call request, the mobile phone 100 establishes a call connection with the third electronic device, and then the mobile phone 100 automatically closes the collaborative photographing function. If the user does not accept the call request, the mobile phone 100 continues to start the collaborative photographing function. After the call is ended, the mobile phone 100 can restart the collaborative photographing function to restore to the state where the camera application was located before the call.
It should be noted that, the above-mentioned closing of the collaborative photographing function is only one function of closing the camera application, and after closing the collaborative photographing function, the camera may continue to operate in the foreground.
In addition, when the mobile phone 100 detects that the camera application fails and cannot run, if the camera application automatically moves back to the background running, the mobile phone 100 automatically closes the collaborative photographing function.
To more clearly understand the implementation details of the above method on the mobile phone 100, the following describes the process of implementing the above method by combining various software/hardware components in the mobile phone 100 with fig. 9 to 16.
Fig. 9 is a block diagram of a software architecture of a mobile phone 100 according to an embodiment of the present application, where a layered framework divides the software into several layers, each layer having a distinct role and division, and the layers communicate with each other through a software interface. In some embodiments, the system of the handset 100 may be divided into an application layer 10, an application framework layer 20, and a hardware layer 30.
The application layer 10 may comprise a series of application packages, which may include, for example, camera applications including functional modules, logic modules, and camera management classes.
The functional modules include a plurality of photographing modes of the camera application, such as a photographing mode 11, a portrait mode 12, a video recording mode 13, a movie mode 14, a self-photographing mode, and the like. Wherein, the photographing mode 11, the portrait mode 12, the video mode 13 and the movie mode 14 all support the collaborative photographing function 1105.
It will be appreciated that in some embodiments, the photographing mode 11 may include functions of intelligent recognition 1101, artificial intelligence (artificial intelligence, AI) photographing 1102, a filter function 1103, a flash function 1104, a collaborative photographing function 1105, etc., which may be selected by a user according to the needs to achieve the corresponding purpose.
For example, the user may choose to turn on the smart knowledge 1101 function in the photographing mode 11 to recognize an object in the image. Specifically, after the user turns on the smart recognition function in the photographing mode 11, the user only needs to aim the camera at the photographed object, and when the mobile phone 100 recognizes the object, the name (such as "azalea") or the type ("dog") of the object is displayed on the screen B in the mobile phone. In other embodiments, the user may also activate the filter function 1103 to beautify the photographed object. The present application is not limited in this regard.
In some embodiments, portrait mode 12 may include collaborative photographing function 1105, and may also include other functions, such as a beauty function, special effects function (not shown), and so forth. When the user selects the portrait mode 12 for photographing, the portrait mode can keep the face of the photographed person clear while blurring the background, thereby highlighting the subject of photographing.
In some embodiments, the recording mode 13 may include a multi-view recording function 1301, a flash function 1104, a filter function 1103, a collaborative shooting function 1105, and the like. When the user starts the multi-view video function 1301, the front and rear cameras of the mobile phone 100 are simultaneously started, so that the user can use the front and rear cameras to simultaneously record a plurality of objects. For example, after the user can start the multi-view video recording function 1301, the image shot by the lower front camera P2 and the image shot by the rear camera P3 can be recorded at the same time, so as to record the scene where the user is located in detail. In addition, the user can turn on the flash function 1104, so that the imaging effect is improved in a darker scene, for example, when the user shoots in a darker place, the user can turn on the flash function 1104, the exposure time is increased, and the imaging effect of the shot object is improved.
In some embodiments, the movie mode 14 may include a Look Up Table (LUT) function 1401,4K, a high-dynamic range (HDR) function 1402, a slow motion function 1403, a flash function 1104, a collaborative shooting function 1105, and the like. The color finding function 1401 is essentially to realize a color matching function for an object photographed by a user, so that the color of the object photographed by the user is richer. In the 4K HDR function 1402, 4K refers to resolution (4096 pixels×2160 pixels), and HDR is an image rendering technology, which aims to implement scene illumination and simulated reflection and refraction of light, so as to make the object representation more realistic, and 4K HDR is used to improve the quality of the photographed picture, and improve the image resolution and the object reality. The slow motion function 1403 can increase the sense of beauty and realism of the photographed image by the user through the slow motion function 1403 in order to increase the interest in photographing.
In addition, the camera application realizes the opening and closing of the functions and controls the collaborative display of the inner screen and the outer screen of the mobile phone 100 through corresponding control logic in the logic module. When the state of the mobile phone 100 accords with the preset control logic, the logic module starts or closes the collaborative photographing function, for example, the logic module comprises an electric quantity control logic 1501, a temperature control logic 1502, a call control logic 1503, a fault control logic 1504, a system change control logic 1505 and a collaborative photographing switch control logic 1506.
When the power of the handset 100 is too low, the camera application turns off the collaborative photographing function through the power control logic 1501. When the temperature of the handset 100 is too high, the camera application turns off the collaborative photographing function through the temperature control logic 1502. When the handset 100 receives an incoming call, the camera application turns off the collaborative photographing function through the call control logic 1503. When the camera of the handset 100 is inoperable, the camera application turns off the collaborative photographing function through the fault control logic 1504.
The camera application coordinates the use of the first and second functions through the system change control logic 1505. In a state where the collaborative photographing function is turned on, when the user turns on the system collaborative function, the system change control logic 1505 is triggered to turn off the collaborative photographing function. In addition, when the collaborative photographing function is turned on, the system change control logic 1505 is triggered to confirm whether the system collaborative function is turned on.
The camera application detects the on or off of the collaborative photographing switch through the collaborative photographing switch control logic 1506, and controls the on and off of the collaborative photographing function according to the on or off of the collaborative photographing switch.
In some embodiments of the present application, the collaborative photographing switch may be the collaborative photographing button 02 or the collaborative photographing button 03 shown in fig. 3. The user can trigger the collaborative photographing switch control logic 1506 by clicking the collaborative photographing button 02 in the off state on the mobile phone internal screen a as shown in (d) of fig. 3 to start the collaborative photographing function 1105 of the camera application. In addition, the user may trigger the collaborative photographing switch control logic 1506 by clicking the collaborative photographing button 03 in an on state on the mobile phone internal screen a as shown in (c) of fig. 3 to turn off the collaborative photographing function 1105 of the camera application.
It will be appreciated that in some embodiments, the collaborative photographing switch may be another type of switch, and the display state of the collaborative photographing switch may be changed according to the on and off states of the collaborative photographing function. For example, when the cooperative photographing function is turned on, the cooperative photographing switch is in a convex state, and when the cooperative photographing function is turned off, the cooperative photographing switch is restored to its original state. The present application is not limited in this regard.
The camera management class is a module that manages functions of the camera application. The abnormal scene processing module 16 receives abnormal information of the mobile phone 100 to trigger the control logic in the logic module. The function opening module 17 and the function closing module 18 are respectively used for realizing a collaborative photographing function 1105 for opening a camera application and a collaborative photographing function 1105 for closing the camera application.
It is to be appreciated that the application layer 10 can also include other applications, such as video applications, chat applications, etc., as the present application is not limited in this regard.
The application framework layer 20 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. In the embodiment of the present application, the framework layer includes a camera API21, a data stream switching module 22, a camera service module 23, an information receiving module 24, and a display management module (DisplayManager) 25, a cooperative display management module 26, a cooperative listening module 27, and a system management module 28.
The camera API21 is a program interface of the camera module 31, and the camera application can call the camera module 31 to take a photograph by calling the camera API 21. The camera API21 may also provide an interface for other applications, for example, an album may be connected to the camera API, and a user may enter the album at the interface of the camera application while using the camera application.
The data stream switching module 22 is used to switch various data streams of the camera, such as switching a photographing data stream to a video data stream.
The camera service module 23 may monitor the operation of the camera application and pass this information to the logic module when the camera application is not operational, thereby triggering the fault control logic 1504 to turn off the collaborative photographing function.
The information receiving module 24 includes a battery information receiving module (BatteryInfoReceiver) and a temperature information receiving module (overheatreceiver), and is configured to receive information such as battery power information and temperature information of the mobile phone 100, and after determining that the battery power is low or the temperature of the mobile phone 100 is too high, transmit the information to the abnormal scene processing module 16 of the camera application, so as to trigger the corresponding control logic in the logic module. The information receiving module 24 further includes a call information receiving module, configured to receive call information of the mobile phone 100, and after receiving the call information of the mobile phone 100, transmit the call information to the abnormal scene processing module 16 of the camera application, so as to trigger the corresponding control logic in the logic module.
In addition, the display management module 25 monitors the use states of the inner screen a and the outer screen B of the mobile phone 100 in real time, so as to monitor whether the collaborative photographing function and the system collaborative function of the mobile phone 100 are in an on state. The camera application acquires the state of the system collaborative function from the display management module 25, and then determines whether to turn on the collaborative photographing function according to the acquired state and the control logic set in advance. For example, when the user turns on the collaborative photographing function, the camera management class acquires the state of the system collaborative photographing function from the display management module 25, triggers the system change control logic 1505 when the system collaborative function is currently in the on state, executes the logic that cannot turn on the collaborative photographing function, and executes the logic that turns on the collaborative photographing function when the system collaborative function is currently in the off state.
After the collaborative photographing function is started, the display management module 25 informs the camera application in a state callback mode when the external screen is perceived to be lightened, so that the camera application can refresh the display state of the collaborative photographing switch.
The collaborative monitoring module 27 is configured to monitor whether a collaborative photographing switch in a camera application is in an on state or an off state.
The collaborative display management module 26 is configured to display a preview screen of the internal screen on the external screen, so as to implement collaborative display of the internal screen a and the external screen B, for example, by creating a split screen management class and an interface base class. In some embodiments, the collaborative display management module 26 may create a corresponding display layer (bitmap) for the external screen B, and display the layer as a carrier of a mirror image of the photographed image on the external screen B of the mobile phone, and display the mirror image of the photographed image using the layer.
The collaborative display management module 26 may provide a relevant interface for the collaborative photographing function 1105 of the camera application, and after the collaborative photographing function 1105 is started, the collaborative display of the inner screen a and the outer screen B may be implemented by calling the relevant interface of the collaborative display management module 26. After the collaborative photographing function 1105 is turned off, the collaborative display window of the external screen B may be turned off by calling the relevant interface of the collaborative display management module 26.
The system management module 28 is used for controlling the on and off of the cooperative functions of the system. When the system coordination function is requested to be turned on, the system management module 28 acquires the state of the coordination shooting function from the display management module 25, and when the coordination shooting function is currently in the on state, executes logic for turning on the system coordination function after turning off the coordination shooting function. And when the collaborative photographing function is in the off state currently, executing logic for starting the collaborative function of the system.
It will be appreciated that the application framework layer 20 may also include other modules, such as a view manager (not shown), a wireless fidelity communication module (wireless fidelity, wi-Fi) (not shown), to which the present application is not limited.
The hardware layer 30 includes a camera module 31, an image signal processing (image signal processor, ISP) driver 32, a display interface (display port) driver 33, a sensor module 34, and a communication module 35.
In the present embodiment, the camera module 31 includes the cameras P1, P2, and P3 described above. In other embodiments, other cameras may also be included.
The ISP drive 32 is used to process the signals transmitted by the image sensor of the handset 100. For example, an electrical signal of an image fed back by the image sensor is converted into an image visible to the naked eye. ISP driver 32 may also perform algorithmic optimization of noise, brightness, etc. of the image. The ISP driver 32 may also optimize parameters such as exposure, color temperature, etc. of the photographed scene, or to implement anti-shake processing on the image, so as to enhance the display effect of the image.
The DP driver 33 is an interface of the external display connected to the mobile phone 100, and the mobile phone 100 can connect with the external display through the DP driver 33 and synchronously display the images displayed on the mobile phone 100 on the external display.
In the embodiment of the present application, the sensor module 34 includes a temperature sensor and a power management module, and the temperature sensor is used for detecting the temperature of the mobile phone 100. The power management module is used for monitoring the electric quantity of the battery.
The communication module 35 includes a mobile communication module and a wireless communication module so that the mobile phone 100 can receive a call request from the third electronic device to communicate with the third electronic device. And, the mobile phone 100 can establish a communication connection with the computer 200 to realize the second function.
It will be appreciated that the software framework of the handset 100 may also include a kernel layer (not shown), a hardware abstraction layer (not shown).
It will be appreciated that the above described software architecture is exemplary only and not limiting as to the software architecture of the handset 100, and that in other embodiments, the handset 100 may have more or less architecture, as the present application is not limited in this regard.
In order to more intuitively understand the process of realizing the method by matching the software modules. Specifically, taking the interaction diagram shown in fig. 10 as an example, a procedure of turning off the collaborative photographing function when the collaborative photographing function is in an on state and the battery power is too low will be described below.
In step 1001, the power management module (lowbattery controller) detects that the battery power of the mobile phone 100 is lower than the first threshold.
The electric quantity management module comprises a power management module and a battery information receiving module. The power management module is used for monitoring the electric quantity of the battery, and the battery information receiving module judges whether the electric quantity of the battery is lower than a first threshold value.
In step 1002, the power management module transmits the detection result that the battery power is lower than the first threshold to a camera management class (appurtilll). After receiving the detection result, the camera management class sends the detection result to an abnormal scene processing module (handleabnormal sceneexitcorboratemode) of the camera application, so that the abnormal scene processing module processes the condition of low battery power.
In step 1003, the abnormal scene processing module triggers the power control logic 1501 to determine to turn off the collaborative photographing function.
In step 1004, the abnormal scene processing module sends an instruction for closing the collaborative photographing function to a function closing module (exitcolloplaatemode). The function closing module sends an instruction for closing the collaborative photographing function to a collaborative display management module (collaborative presentation).
In step 1005, the collaborative display management module closes the window for collaborative display in the external screen.
In step 1006, after closing the window for collaborative display, the collaborative display management module uses a callback function (ondisplay) to callback the information of the window closing for collaborative display in the external screen of the mobile phone 100 to the display management module.
In order to more intuitively understand the process of realizing the method by matching the software modules. Specifically, taking the interaction diagram shown in fig. 11 as an example, a procedure of turning off the collaborative photographing function when the temperature of the mobile phone 100 is too high while the collaborative photographing function is in an on state will be described.
In step 1101, the temperature management module (overtempureController) detects that the temperature of the handset 100 is above a second threshold.
The temperature management module comprises a temperature sensor and a temperature information receiving module. The temperature sensor detects the temperature of the cell phone 100. The temperature information receiving module determines whether the temperature of the mobile phone 100 is higher than a second threshold.
In step 1102, the temperature management module transmits the detection result that the temperature of the mobile phone 100 is higher than the second threshold to the camera management class (appurtilll). After receiving the detection result, the camera management class sends the information to an abnormal scene processing module (handleabnormal sceneexitcorboratemode) of the camera application, so that the abnormal scene processing module processes the situation that the temperature of the mobile phone 100 is too high.
In step 1103, the abnormal scene processing module triggers the temperature control logic 1502 to determine to close the collaborative photographing function.
In step 1104, the abnormal scene processing module sends an instruction to close the collaborative photographing function to a function closing module (exitCollaborateMode). The function closing module sends an instruction for closing the collaborative photographing function to a collaborative display management module (collaborative presentation).
In step 1105, the collaborative display management module closes a window for collaborative display in the external screen.
In step 1106, after closing the window for collaborative display, the collaborative display management module uses a callback function (ondisplay) to callback the information of the external screen closing of the mobile phone 100 to the display management module.
In order to more intuitively understand the process of realizing the method by matching the software modules. Specifically, taking the interaction diagram shown in fig. 12 as an example, a procedure of turning off the collaborative photographing function in the event of an operation failure of the camera application when the collaborative photographing function is in an on state will be described below.
Step 1201, a camera service module (camera on error processor) detects that a camera application is malfunctioning.
In step 1202, the camera service module communicates the detection result of the failure of the camera application to the camera management class. And after receiving the detection result, the camera management class sends the detection result to an abnormal scene processing module of the camera application.
In step 1203, the abnormal scene processing module triggers the fault control logic 1504 to determine to close the collaborative photographing function.
In step 1204, the abnormal scene processing module sends an instruction for closing the collaborative photographing function to the function closing module. And the function closing module sends an instruction for closing the collaborative photographing function to the collaborative display management module.
In step 1205, the collaborative display management module closes the window for collaborative display in the external screen.
In step 1206, after closing the window for collaborative display, the collaborative display management module uses a callback function (ondisplay) to callback the information of the external screen closing of the mobile phone 100 to the display management module.
In order to more intuitively understand the process of realizing the method by matching the software modules. Specifically, taking the interaction diagram shown in fig. 13 as an example, a procedure of turning off the collaborative photographing function when the mobile phone 100 receives a call request while the collaborative photographing function is in an on state will be described.
In step 1301, the communication processing module detects that the mobile phone 100 receives a call request.
The communication processing module comprises a communication module and a call information receiving module.
In step 1302, the communication processing module transmits the detection result of the call request received by the mobile phone 100 to a camera management class (appurtilll). And after receiving the detection result, the camera management class sends the detection result to an abnormal scene processing module of the camera application.
In step 1303, the abnormal scene processing module triggers the call control logic 1503 to determine to close the collaborative photographing function.
In step 1304, the abnormal scene processing module sends an instruction for closing the collaborative photographing function to the function closing module. And the function closing module sends an instruction for closing the collaborative photographing function to the collaborative display management module.
In step 1305, the collaborative display management module closes a window for collaborative display in the external screen.
In step 1306, after closing the window for collaborative display, the collaborative display management module uses a callback function (ondisplay), to callback the information of the external screen closing of the mobile phone 100 to the display management module.
In order to more intuitively understand the process of realizing the method by matching the software modules. Specifically, taking the interaction diagram shown in fig. 14 as an example, an implementation process of turning on the collaborative photographing function is described below.
In step 1401, the user opens a camera application.
For example, the user may open the camera application by clicking on an application icon of the camera application. Of course, the camera application may also be opened by other means, such as by voice instructions or gesture instructions.
In step 1402, the camera application is started and notifies the collaborative listening module.
In step 1403, the collaborative listening module (collaborateonckisterizer) detects that the collaborative photographing function of the camera application was in an on state the last time the camera application was turned off.
In step 1404, the collaborative listening module sends an instruction to the camera management class to turn on the collaborative photographing function. The camera management class transmits an instruction to open the collaborative photographing function to a function opening module (entercollarbonmodel).
In step 1405, the function opening module sends a request to the query module (isCastingsState) to obtain the current state of the collaborative function of the system. The query module sends a request for acquiring the current state of the system collaboration function to the display management module.
The request is for obtaining a current state of a system coordination function.
In step 1406, the display management module returns a response to the query module, the response including the current state of the system collaboration function. The query module returns a response to the function opening module including the current state of the system collaborative function.
Step 1407, when the system coordination function is in an on state, a prompt message is displayed to the user.
As shown in fig. 7 (a), the mobile phone 100 prompts the user that the system coordination function is currently in an on state, and if the coordination shooting function needs to be started, the system coordination function needs to be turned off first.
In step 1408, when the system coordination function is in the off state, the coordination photographing function is turned on.
In order to more intuitively understand the process of realizing the method by matching the software modules. Specifically, another implementation procedure for turning on the collaborative photographing function will be described below taking the interaction diagram shown in fig. 15 as an example.
Step 1501: the user opens the camera application.
Step 1502: the camera application is started.
In step 1503, when the collaborative monitoring module detects that the camera application was previously turned off, the collaborative photographing function of the camera application is in the off state.
In step 1504, the user clicks the collaborative photo button.
For example, as shown in fig. 3 (d), the user clicks the collaborative photographing button 02 in the off state.
After the user clicks the collaborative photographing button, the collaborative monitoring module can detect an opening instruction of the collaborative photographing button, and according to the opening instruction, the collaborative photographing function is opened.
In step 1505, the collaborative monitoring module sends an instruction to the camera management class to start the collaborative photographing function. The camera management class sends an instruction for starting the collaborative photographing function to the function starting module.
In step 1506, the function opening module sends a request to the query module (isCastingsState) to obtain the current state of the system collaborative function. The query module sends a request for acquiring the current state of the system collaboration function to the display management module.
In step 1507, the display management module returns a response to the query module, the response including the current state of the system collaboration function. The query module returns a response to the function opening module including the current state of the system collaborative function.
In step 1508, when the system coordination function is in an on state, a prompt message is displayed to the user.
In step 1509, when the system collaborative function is in the off state, the collaborative photographing function is turned on.
In order to more intuitively understand the process of realizing the method by matching the software modules. Specifically, taking the interaction diagram shown in fig. 16 as an example, an implementation procedure of the system collaboration function is described below.
In step 1601, the user turns on the system collaboration function.
In step 1602, a system management module (mainview page) sends a request to a display management module to obtain a current state of a collaborative photographing function.
In step 1603, the display management module returns a response to the system collaborative function management module, the response including the current state of the collaborative photographing function.
In step 1604, when the collaborative photographing function is in the off state, the system management module turns on the system collaborative function.
In step 1605, when the collaborative photographing function is in an on state, the system management module sends information of the system collaborative function on to the camera management class. After receiving the information, the camera management class sends the information to an abnormal scene processing module (handleabnormal sceneexit colorframe) of the camera application, so that the abnormal scene processing module processes the situation.
In step 1606, the abnormal scene processing module triggers the system change control logic 1505 to determine to close the collaborative photographing function.
In step 1607, the abnormal scene processing module sends an instruction to close the collaborative photographing function to a function closing module (exitcolloplaatemode). The function closing module sends an instruction for closing the collaborative photographing function to a collaborative display management module (collaborative presentation).
In step 1608, the collaborative display management module closes a window for collaborative display in the external screen.
In step 1609, after closing the window for collaborative display, the collaborative display management module uses a callback function (ondisplay) to callback the information of the external screen closing of the mobile phone 100 to the display management module. The display management module sends the information of closing the collaborative photographing function of the mobile phone 100 to the system management module.
In step 1610, the system management module turns on the system collaboration function.
The present embodiment may divide the functional modules of the electronic device according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules described above may be implemented in hardware. It should be noted that, in this embodiment, the division of the modules is schematic, only one logic function is divided, and another division manner may be implemented in actual implementation.
It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The electronic device provided in this embodiment is configured to execute the management method of an electronic device, so that the same effects as those of the implementation method can be achieved. In case an integrated unit is employed, the electronic 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 electronic device, for example, may be configured to support the electronic device to execute steps executed by the processing unit. The memory module may be used to support the electronic device to execute stored program code, data, etc. And the communication module can be used for supporting the communication between the electronic device and other devices.
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 electronic equipment.
In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 1.
The present embodiment also provides a computer-readable storage medium having stored therein computer instructions which, when executed on an electronic device, cause the electronic device to perform the related method steps described above to implement the method in the above embodiments.
The present embodiment also provides a computer program product which, when run on a computer, causes the computer to perform the above-mentioned related steps to implement the method in the above-mentioned embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component, or a module, and may include a processor and a memory connected to each other; the memory is configured to store computer-executable instructions, and when the device is operated, the processor may execute the computer-executable instructions stored in the memory, so that the chip performs the methods in the above method embodiments.
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.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
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. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of 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.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
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 (12)

1. A method of managing an electronic device, the method being performed by a first electronic device, the first electronic device comprising at least two display screens, comprising:
detecting a camera opening operation, and starting a camera application;
detecting a first operation on the first electronic equipment in the camera application, wherein the first operation requests to start a first function of the first electronic equipment, the first function is used for enabling a first display screen and a second display screen of the first electronic equipment to display the same picture, the first display screen and the second display screen are any two display screens positioned on different surfaces of the at least two display screens, and the picture displayed by the first display screen is obtained by copying or mirroring a shooting picture displayed by the second display screen;
Responding to a first operation, judging whether a second function of the first electronic equipment is in an on state currently, wherein the second function is used for enabling a current display interface of the first electronic equipment to be projected on the second electronic equipment, and the current display interface of the first electronic equipment is the current display interface of the first display screen or the current display interface of the second display screen;
when the second function is in a closing state currently, starting the first function;
when the second function is in an on state, a first interface is displayed, and the first interface is used for guiding a user to close the second function;
detecting an operation to turn off the second function;
and responding to the operation of closing the second function, and opening the first function after closing the second function.
2. The method of claim 1, wherein the application interface of the camera application displays an on button of the first function, the first operation being a click operation of the on button.
3. The method of claim 1, wherein after turning on the first function, the method further comprises:
detecting a second operation on the first electronic device, the second operation requesting that the second function be turned on;
And responding to the second operation, and starting the second function after closing the first function.
4. A method according to claim 3, wherein said turning on said second function after turning off said first function in response to said second operation comprises:
responding to the second operation, judging whether the first function is in an on state currently;
and when the first function is in the on state currently, the second function is started after the first function is closed.
5. The method of claim 4, wherein when the first function is currently in an on state, the method further comprises:
displaying a second interface, wherein the second interface is used for guiding a user to confirm to close the first function;
detecting that a user confirms an operation of closing the first function;
and closing the first function in response to the operation of confirming to close the first function.
6. The method of claim 1, wherein when the first function is currently in an on state, the method further comprises:
and closing the first function when the electric quantity of the first electronic equipment is detected to be lower than a first threshold value.
7. The method of claim 1, wherein when the first function is currently in an on state, the method further comprises:
and closing the first function when the temperature of the first electronic device is detected to be higher than a second threshold value.
8. The method of claim 7, wherein the turning off the first function comprises:
displaying a third interface, wherein the third interface is used for prompting a user whether to close the first function;
detecting a third operation on the first electronic device, the third operation requesting that the first function be turned off;
in response to the third operation, the first function is turned off.
9. The method of claim 1, wherein when the first function is currently in an on state, the method further comprises:
receiving a call request from third electronic equipment;
and after receiving the call request, closing the first function.
10. The method according to any one of claims 1 to 9, wherein when the first function is currently in an on state, the method further comprises:
and closing the first function when the camera application of the first electronic device is detected to be inoperable.
11. An electronic device, comprising: the display device comprises at least two display screens, wherein a first display screen and a second display screen in the at least two display screens are any two display screens positioned on different surfaces; one or more processors; one or more memories; a module in which a plurality of application programs are installed; the memory stores one or more programs that, when executed by the processor, cause the electronic device to perform the method of managing electronic devices of any of claims 1-10.
12. A computer readable storage medium storing computer instructions which, when run on an electronic device, cause the electronic device to perform the method of managing electronic devices according to any one of claims 1 to 10.
CN202210013508.XA 2022-01-06 2022-01-06 Electronic equipment management method, electronic equipment and readable storage medium Active CN115567630B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210013508.XA CN115567630B (en) 2022-01-06 2022-01-06 Electronic equipment management method, electronic equipment and readable storage medium
PCT/CN2022/143843 WO2023131070A1 (en) 2022-01-06 2022-12-30 Electronic device management method, electronic device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210013508.XA CN115567630B (en) 2022-01-06 2022-01-06 Electronic equipment management method, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN115567630A CN115567630A (en) 2023-01-03
CN115567630B true CN115567630B (en) 2023-06-16

Family

ID=84736528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210013508.XA Active CN115567630B (en) 2022-01-06 2022-01-06 Electronic equipment management method, electronic equipment and readable storage medium

Country Status (2)

Country Link
CN (1) CN115567630B (en)
WO (1) WO2023131070A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117111796A (en) * 2023-04-28 2023-11-24 荣耀终端有限公司 Collaborative display method, equipment and medium
CN117687586A (en) * 2023-07-17 2024-03-12 荣耀终端有限公司 Electronic device, display method, chip system and readable storage medium
CN117555658A (en) * 2023-10-11 2024-02-13 荣耀终端有限公司 Method for managing application running and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554537A (en) * 2015-12-08 2016-05-04 青岛海信电器股份有限公司 Control method and control device
CN107766023A (en) * 2017-10-19 2018-03-06 广东欧珀移动通信有限公司 Method for information display, device, terminal and storage medium
CN110221798A (en) * 2019-05-29 2019-09-10 华为技术有限公司 A kind of throwing screen method, system and relevant apparatus

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005005909A (en) * 2003-06-10 2005-01-06 Sony Ericsson Mobilecommunications Japan Inc Competition management program, storage medium stored with competition management program, competition management method and electronic apparatus
US9083781B2 (en) * 2004-11-15 2015-07-14 Bascule Development Ag Llc Portable image-capturing device with embedded projector
CN108174042A (en) * 2018-01-23 2018-06-15 北京珠穆朗玛移动通信有限公司 Image pickup method, mobile terminal and the device of mobile terminal
CN110113483B (en) * 2019-04-19 2022-02-25 华为技术有限公司 Method for using enhanced function of electronic equipment and related device
CN110381195A (en) * 2019-06-05 2019-10-25 华为技术有限公司 A kind of throwing screen display methods and electronic equipment
CN111124342A (en) * 2019-12-27 2020-05-08 西安万像电子科技有限公司 Screen projection method and equipment
CN114237530A (en) * 2020-01-21 2022-03-25 华为技术有限公司 Display method and related device of folding screen
CN111324327B (en) * 2020-02-20 2022-03-25 华为技术有限公司 Screen projection method and terminal equipment
CN113590059A (en) * 2020-04-30 2021-11-02 青岛海信移动通信技术股份有限公司 Screen projection method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554537A (en) * 2015-12-08 2016-05-04 青岛海信电器股份有限公司 Control method and control device
CN107766023A (en) * 2017-10-19 2018-03-06 广东欧珀移动通信有限公司 Method for information display, device, terminal and storage medium
CN110221798A (en) * 2019-05-29 2019-09-10 华为技术有限公司 A kind of throwing screen method, system and relevant apparatus

Also Published As

Publication number Publication date
WO2023131070A1 (en) 2023-07-13
CN115567630A (en) 2023-01-03

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
EP3893491A1 (en) Method for photographing the moon and electronic device
CN110602315B (en) Electronic device with foldable screen, display method and computer-readable storage medium
CN115567630B (en) Electronic equipment management method, electronic equipment and readable storage medium
CN113810601B (en) Terminal image processing method and device and terminal equipment
CN114040242B (en) Screen projection method, electronic equipment and storage medium
CN113448382B (en) Multi-screen display electronic device and multi-screen display method of electronic device
CN114125130B (en) Method for controlling communication service state, terminal device and readable storage medium
CN114095666B (en) Photographing method, electronic device, and computer-readable storage medium
WO2020118490A1 (en) Automatic screen-splitting method, graphical user interface, and electronic device
CN115967851A (en) Quick photographing method, electronic device and computer readable storage medium
CN114500901A (en) Double-scene video recording method and device and electronic equipment
CN112532508B (en) Video communication method and video communication device
CN116389884B (en) Thumbnail display method and terminal equipment
CN114257737B (en) Shooting mode switching method and related equipment
CN114827098A (en) Method and device for close shooting, electronic equipment and readable storage medium
CN116540908A (en) Application layout control method and related device
CN116437194B (en) Method, apparatus and readable storage medium for displaying preview image
CN116782023A (en) Shooting method and electronic equipment
CN115941836B (en) Interface display method, electronic equipment and storage medium
CN116233599B (en) Video mode recommendation method and electronic equipment
CN117750186A (en) Camera function control method, electronic device and storage medium
CN117850989A (en) Service calling method, system and electronic equipment
CN117729420A (en) Continuous shooting method and electronic equipment

Legal Events

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