CN116504177B - Display screen control method, electronic equipment, storage medium and chip - Google Patents

Display screen control method, electronic equipment, storage medium and chip Download PDF

Info

Publication number
CN116504177B
CN116504177B CN202310723814.7A CN202310723814A CN116504177B CN 116504177 B CN116504177 B CN 116504177B CN 202310723814 A CN202310723814 A CN 202310723814A CN 116504177 B CN116504177 B CN 116504177B
Authority
CN
China
Prior art keywords
display screen
circuit
power
screen
display
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
CN202310723814.7A
Other languages
Chinese (zh)
Other versions
CN116504177A (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 CN202310723814.7A priority Critical patent/CN116504177B/en
Publication of CN116504177A publication Critical patent/CN116504177A/en
Application granted granted Critical
Publication of CN116504177B publication Critical patent/CN116504177B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/02Details of power systems and of start or stop of display operation
    • 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)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Liquid Crystal (AREA)
  • Power Sources (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a display screen control method, electronic equipment, a storage medium and a chip, and relates to the technical field of terminals. The electronic equipment comprises a voltage reduction circuit, a power management circuit and a display screen, wherein the voltage reduction circuit is electrically connected with the display screen through the power management circuit, and the display screen control method comprises the following steps: when detecting that the voltage reducing circuit is abnormal in power failure, controlling the voltage reducing circuit to restore power supply when the display screen enters a screen-off state; after the power supply of the step-down circuit is successfully recovered, determining the enabling state of the power supply management circuit; initializing the power management circuit upon determining that the power management circuit is not enabled; and initializing the display screen, so that the display screen is restored to a bright screen state. By using the embodiment of the application, the display screen can be restored to the bright screen state as soon as possible after the screen is turned off due to abnormal power failure of the voltage reducing circuit.

Description

Display screen control method, electronic equipment, storage medium and chip
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a display screen control method, electronic equipment, a storage medium and a chip.
Background
With the continuous development of electronic devices, more and more electronic devices with display screens are widely used in daily life and work of people, and the display screens of the electronic devices are becoming larger and larger, so that in order to balance portability of the electronic devices and demands for large screens, electronic devices with folding screens (such as folding screen mobile phones) are increasingly put into the market. The folded screen may be folded into at least two screens (e.g., a first screen and a second screen). However, the current required by the folding screen mobile phone is larger during operation, so that the hardware circuit and structure of the folding screen mobile phone are more complex. If the hardware circuit is powered down, the folding screen is blacked out (namely, the screen is turned off) and cannot be recovered.
Disclosure of Invention
In view of the above, it is necessary to provide a display screen control method, an electronic device, a storage medium and a chip, which can solve the problem that the display screen cannot be recovered after power failure and screen shutdown.
In a first aspect, the present application provides a display screen control method, applied to an electronic device, where the electronic device includes a voltage reduction circuit, a power management circuit, and a display screen, and the voltage reduction circuit is electrically connected to the display screen through the power management circuit, where the method includes: if the step-down circuit is detected to have the abnormal power failure, the display screen is controlled to enter a screen-off state, and the step-down circuit is controlled to resume power supply; after the voltage reduction circuit resumes power supply, determining the enabling state of the power management circuit; initializing the power management circuit if the power management circuit is not enabled; and initializing the display screen, so that the display screen is restored to a bright screen state.
According to the display screen control method, when the abnormal power failure of the voltage reducing circuit is detected, and the display screen enters the screen-off state, the power supply of the voltage reducing circuit, the power supply management circuit and the display screen is automatically restored, the bright screen of the display screen is automatically restored under the condition that a user does not perceive, and the problem that the display screen cannot be restored after power failure and screen failure is solved.
In one possible implementation, before initializing the display screen, the method further includes: controlling the display screen to be powered down by sending power-down control information to the display screen; and controlling the power-on of the display screen by sending power-on control information to the display screen. Through the technical scheme, after the display screen is turned off, the display screen is controlled to be powered down, and then the display screen is controlled to be powered up, so that the bright screen of the display screen is restored.
In one possible implementation, the step-down circuit includes an over-current protection switch, and the method further includes: detecting that the overcurrent protection switch is disconnected through the voltage reduction circuit, wherein the voltage reduction circuit triggers an interrupt signal; and determining that the voltage reduction circuit has power failure abnormality according to the interrupt signal. Through the technical scheme, the condition that the display screen enters the screen-off state due to the power failure of the voltage reduction circuit can be automatically detected.
In one possible implementation, the controlling the step-down circuit to resume power supply includes: writing a preset value into a control register of the overcurrent protection switch; and reading the written preset value from the control register to conduct the overcurrent protection switch. Through the technical scheme, the step-down circuit can be automatically conducted so as to recover power supply to the display screen.
In a second aspect, the present application provides a display screen control method, applied to an electronic device, where the electronic device includes a voltage reduction circuit, a power management circuit, and a display screen, and the voltage reduction circuit is electrically connected to the display screen through the power management circuit, where the method includes: after the display screen enters a screen-off state, responding to a power-on operation of a user, and determining an enabling state of the power management circuit; if the power management circuit is not enabled, controlling the voltage reduction circuit to restore power supply; initializing the power management circuit after the step-down circuit resumes power supply; and initializing the display screen, so that the display screen is restored to a bright screen state.
The display screen control method provided by the application can automatically detect the abnormal power failure of the voltage reducing circuit after the display screen enters the screen-off state in response to the power-on operation of a user, and then automatically recover the power supply of the voltage reducing circuit, the power management circuit and the display screen, thereby solving the problem that the display screen cannot be recovered after the power failure of the display screen.
In one possible implementation, before the determining the enable state of the power management circuit, the method further includes: and controlling the display screen to be powered down in response to the power-down operation of the user. Through the technical scheme, after the display screen is powered off and turned off, the display screen can be controlled to be powered off from the aspect of hardware.
In one possible implementation, after the initializing the power management circuit, the method further includes: and sending power-on control information to the display screen to control the power-on of the display screen. Through the technical scheme, after the display screen is controlled to be powered down, the display screen is controlled to be powered up continuously so as to recover the bright screen of the display screen.
In one possible implementation, the powering up operation includes any one of the following operations: an operation of pressing a power key by a user, an operation of folding a screen, and an operation of expanding the screen; the power-down operation includes any one of the following operations: an operation of pressing a power key, an operation of folding a screen, and an operation of expanding a screen by a user.
In one possible implementation, the electronic device further includes a charging driver, and the method further includes: and sending indication information to the charging drive, and controlling the step-down circuit to restore power supply through the charging drive.
In one possible implementation, the indication information is a variable set by a function callback, and the function is usb_is_power_new_reset_notify. Through the technical scheme, the charging drive control voltage reduction circuit can be indicated by the indication information to restore power supply so as to restore the power supply of the display screen.
In one possible implementation, the method further includes: writing a preset value into a control register of an overcurrent protection switch in the voltage reduction circuit through the charging drive; and reading the written preset value from the control register through the charging drive, so that the overcurrent protection switch is conducted. Through the technical scheme, the automatic current-guiding and passing protection switch can be driven by charging to recover the power supply of the voltage-reducing circuit.
In a third aspect, the present application provides an electronic device comprising a display screen, a memory, and a processor; the memory is used for storing program instructions; the processor is used for reading the program instructions stored in the memory to realize the display screen control method.
In a fourth aspect, the present application provides a computer readable storage medium having stored therein computer readable instructions which when executed by a processor implement the above-described display screen control method.
In a fifth aspect, the present application provides a chip coupled to a memory in an electronic device, the chip being configured to control the electronic device to perform the display control method described above.
The technical effects of the third to fifth aspects may be referred to in the description related to the method designed in the method section above, and are not repeated here.
Drawings
FIG. 1 is a hardware architecture diagram of an electronic device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a connection relationship of a charging circuit according to an embodiment of the present application;
FIG. 3 is a software architecture diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a charging circuit according to an embodiment of the application;
FIG. 5 is a schematic diagram showing a BUCK circuit according to an embodiment of the present application;
FIG. 6 is a schematic diagram showing a structure of another BUCK circuit according to an embodiment of the present application;
FIG. 7 is a flowchart of a method for controlling a display screen according to an embodiment of the present application;
fig. 8 is a schematic application scenario diagram of a display screen control method according to an embodiment of the present application;
FIG. 9 is a flowchart of another method for controlling a display screen according to still another embodiment of the present application;
Fig. 10 is a schematic application scenario diagram of another display screen control method according to another embodiment of the present application.
Detailed Description
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more of the described features. In describing embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
Fig. 1 is a schematic structural diagram of an electronic device 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.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a 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 instructions or data, it may 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. In an embodiment of the present application, the GPIO interface may also be used to connect the processor 110 and the voltage-reducing circuit, so that the processor 110 may monitor the working state (e.g., the on state and/or the off state) of the voltage-reducing circuit.
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 100, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and 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 employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
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 100 through the power management module 141 while charging the battery 142.
Specifically, referring to fig. 1, the charge management module 140 is connected to the USB interface 130. In order to achieve normal charging or rapid charging of the battery, referring to fig. 2, the charge management module 140 may include a charging circuit 143 for charging the battery 142, a power supply terminal VBUS of the charging circuit 143 is connected to the USB interface 130, and a charging terminal Vbat of the charging circuit 143 is connected to the battery 142. For another example, in some embodiments, when the battery 142 is wirelessly charged, referring to fig. 2, the power source VBUS of the charging circuit 143 is specifically connected to the wireless charging coil 131 through the receiving circuit (Receive integrated circuit, rxIC) 132. The processor 110 or the charge management module 140 may control the voltage dropping circuit 1430 in the charging circuit 143 to convert the voltage of the power source terminal VBUS to a voltage Vbat close to the battery voltage (typically 5V) according to the charging protocol, and then charge the battery. As shown in fig. 2, the charging circuit 143 further includes a system voltage terminal Vsys for supplying a voltage to the load circuit. It should be noted that, in order to enable the electronic device to be generally coupled to an external device (such as a charger, an analog earphone, a digital earphone, a mobile storage device, a mobile terminal, etc.) through the USB interface 130, the USB interface 130 may be a Type &#x2011 or a C interface, which is not limited in practical application.
The embodiment of the present application is not particularly limited to the implementation manner of the step-down circuit 1430, but may be a circuit having a step-down function, for example, the step-down circuit 1430 may be in any of the following forms: buck circuit, switched capacitor (switched capacitor), three-level DC-DC circuit and single-ended primary inductance converter (single ended primary inductor converter).
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.
In this embodiment, the power management module 141 may include a power management circuit, which may be a PM8008 chip. PM8008 chip is a high-efficiency, low-cost pulse width modulation (Pulse Width Modulation, PWM) controller, commonly used in power management, motor control, etc. PM8008 chip supports multiple input voltage scope and output voltage scope, is applicable to various application scenario.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The 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 (FLED), 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, N being a positive integer greater than 1.
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 internal memory 121 may include one or more random access memories (random access memory, RAM) and one or more non-volatile memories (NVM).
The random access memory may include a static random-access memory (SRAM), a dynamic random-access memory (dynamic random access memory, DRAM), a synchronous dynamic random-access memory (synchronous dynamic random access memory, SDRAM), a double data rate synchronous dynamic random-access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, such as fifth generation DDR SDRAM is commonly referred to as DDR5 SDRAM), etc.;
the nonvolatile memory may include a disk storage device, a flash memory (flash memory).
The FLASH memory may include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. divided according to an operation principle, may include single-level memory cells (SLC), multi-level memory cells (MLC), triple-level memory cells (TLC), quad-level memory cells (QLC), etc. divided according to a storage specification, may include universal FLASH memory (english: universal FLASH storage, UFS), embedded multimedia memory cards (embedded multi media Card, eMMC), etc. divided according to a storage specification.
The random access memory may be read directly from and written to by the processor 110, may be used to store executable programs (e.g., machine instructions) for an operating system or other on-the-fly programs, may also be used to store data for users and applications, and the like.
The nonvolatile memory may store executable programs, store data of users and applications, and the like, and may be loaded into the random access memory in advance for the processor 110 to directly read and write.
The external memory interface 120 may be used to connect external non-volatile memory to enable expansion of the memory capabilities of the electronic device 100. The external nonvolatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and video are stored in an external nonvolatile memory.
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 media data playback, 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 100 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.
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 method can also be used for identifying the gesture of the electronic equipment 100, and can be applied to applications such as horizontal and vertical screen switching, pedometers and the like.
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. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The 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.
Fig. 3 is a block diagram of a software architecture of an electronic device 100 according to an embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. Taking the Android system as an example, in some embodiments, the Android system is divided into four layers, namely an application layer, a framework layer, a hardware abstraction layer (Hardware Abstraction Layer, HAL), and a kernel layer from top to bottom.
The application layer may include a series of applications and may also include system services. System services refer to programs, routines, or processes that perform specified system functions in order to support other programs. As shown in fig. 3, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The framework layer is a logic scheduling layer of the operating system architecture, and can perform resource scheduling and strategy allocation on the video processing process. Illustratively, the framing layer includes:
the power management service (power manager service, PMS) is a core service for Android system power management, and can be used for controlling to turn on or off the screen of the electronic device.
A display management service (display manager service, DMS) may be used to obtain the specific physical form of the current screen from the underlying display system. For example, when the screen is a folding screen, the specific physical forms of the current screen include a fully folded state, a partially folded state, and an unfolded state.
The graphics framework (Graphics Framework) is responsible for the layout of the graphics window and the rendering of the graphics data, stores the rendered graphics data in a graphics Buffer (graphics Buffer), and sends the graphics layer data in the graphics Buffer to the SurfaceFlinger.
The multimedia framework (Multimedia Framework) is responsible for decoding the video stream and delivering the decoded data to the surfeflinger.
The surface eFlink is responsible for managing each layer (including a graphics layer and a Video layer), receiving Graphic Buffer and Video Buffer of each layer, and overlapping the graphics layers by using a graphics processor (Graphics Processing Unit, GPU) or a hardware synthesizer. The graphics layer data obtained by the superposition of the surface eFlingers are stored in a frame buffer, and the data in the frame buffer can be read and displayed by a display screen.
Open graphics language (Open Graphics Library, openGL) provides an interface for graphics rendering and superposition of graphics layers, and may interface with GPU drivers.
Of course, an activity manager, a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc. may also be included in the framework layer, which is not limited in any way by the embodiments of the present application.
The hardware abstraction layer HAL is an interface layer of operating system software and audio and video hardware equipment. The HAL provides an interface for interaction between the upper layer software and the lower layer hardware. The HAL layer abstracts the underlying hardware into software containing corresponding hardware interfaces, and the setting of the underlying hardware devices can be achieved by accessing the HAL layer, for example, related hardware devices can be enabled or disabled at the HAL layer.
The kernel layer is used for realizing direct control of the bottom hardware equipment according to the control information input by the HAL. Illustratively, the HAL includes a Hardware synthesizer (Hardware Composer, HWC) abstraction and a Media Hardware (Media HW) abstraction. Correspondingly, the kernel layer comprises a hardware synthesis driver and a media hardware driver. The HWC is used for hardware synthesis of a plurality of graphics layers, can provide support for hardware synthesis of SurfaceFlinger, and stores the synthesized graphics layers in a frame buffer and sends the synthesized graphics layers to a display driver. The Media HW is responsible for processing the video layer data and informing the display driver of the processed video layer and the position information of the video layer, and is a special hardware circuit which can be used for improving the video display effect. It should be appreciated that different vendors may refer to media hardware differently. It should be appreciated that the HWC abstraction of the HAL layer corresponds to the hardware composition driver of the kernel layer, the media hardware abstraction corresponds to the media hardware driver, and the control of the underlying HWC hardware can be achieved by accessing the HWC abstraction of the HAL layer through the hardware composition driver. Control of the underlying Media HW is achieved by accessing the Media hardware abstraction and Media hardware drivers of the HAL layer.
The kernel layer may also include a charge Driver (charge Driver), a touch screen Driver (TP Driver), a display Driver (Direct Rendering Manger, DRM), a graphics processor Driver, a sensor Driver, etc., which is not limited in any way by the embodiments of the present application.
The hardware layer is the hardware of the electronic equipment, and the hardware layer at least comprises a charging circuit and a display screen.
It will be appreciated that the layers and components contained in the layers in the software architecture shown in fig. 3 do not constitute a specific limitation on the electronic device. In other embodiments of the application, the electronic device may include more or fewer layers than shown, and more or fewer components may be included in each layer, as the application is not limited.
It should be noted that although the embodiment of the application uses Android ® The system is illustrated by way of example, but the basic principle is equally applicable to a hong Mony-based system (Harmony OS) ® 、iOS ® Or Windows ® And the like operating the electronic device of the system.
In the embodiments provided in the present application, the electronic device may be of various types, such as a mobile phone (mobile phone), a tablet pc (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), an in-vehicle terminal device, a wireless terminal in unmanned (self-driving), a wireless terminal in remote medical (remote medium), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), a wearable terminal device, and the like.
Referring to fig. 4, for an electronic device with a display screen that is a folded screen, the charging circuit 143 may at least include a first voltage-reducing circuit 1431 and a second voltage-reducing circuit 1432, where the first voltage-reducing circuit 1431 and the second voltage-reducing circuit 1432 are electrically connected to the processor 110 respectively. The processor 110 is further electrically connected to the first battery 1421 through a first voltage step-down circuit 1431, and the processor 110 is further electrically connected to the second battery 1422 through a second voltage step-down circuit 1432. Typically, the first battery 1421 is disposed at one side of the electronic device having the folding screen, the second battery 1422 is disposed at the other side of the electronic device having the folding screen, and the battery pack formed by the first battery 1421 and the second battery 1422 supplies power to the electronic device. To ensure the cruising ability of the electronic device having the folding screen, the battery capacities of the first and second batteries 1421 and 1422 are generally large, and the input voltage of the large-capacity battery is generally high. Therefore, it is necessary to lower the high voltage of the first battery 1421 to a voltage range suitable for use by an electronic device through the first voltage-reducing circuit 1431, and to lower the high voltage of the second battery 1422 to a voltage range suitable for use by an electronic device through the second voltage-reducing circuit 1432.
In an embodiment of the present application, the first step-down circuit 1431 is further electrically connected to the load circuit 144 for supplying power to the load circuit 144. In the present embodiment, the load circuit 144 includes at least a display 194, a Touch Panel (TP) 196, a camera 193, and an audio module 170.
In an embodiment of the application, the first step-down circuit 1431 is electrically connected to the display screen 194, the touch panel 196 and the camera 193 through the power management circuit 1410.
In an embodiment of the present application, the first voltage step-down circuit 1431 and the second voltage step-down circuit 1432 are connected to the charger 146 through the charging interface 145, so as to charge the first battery 1421 and the second battery 1422 and supply power to the load circuit 144 when the electronic device is externally connected to the charger 146.
In an embodiment of the present application, as can be seen in fig. 2, 4 and 5, the voltage output terminal of the first step-down circuit 1431 is coupled to the load circuit 144. The first step-down circuit 1431 includes a switch circuit composed of a switch Q1&#x2011 and a switch Q4, wherein Q4 is an overcurrent protection switch. The first step-down circuit 1431 is connected between VBUS and Vsys, wherein a first end of Q1 is coupled to VBUS, a second end of Q1 is coupled to a first end of Q2, a second end of Q2 is coupled to a first end of Q3, a second end of Q3 is coupled to a first end of Q4 and then coupled to the load circuit Vsys, and a second end of Q4 is coupled to the first battery 1421. To achieve charging of the first battery 1421, the voltage output (i.e., vsys) of the first voltage step-down circuit 1431 is connected to the charging terminal (Vbat) through an overcurrent protection switch Q4. In this way, when the electronic device is connected to the external charger 146, power can be directly supplied to the load circuit 144 of the system through the first voltage dropping circuit 1431, and the first battery 1421 can be directly charged when Q4 is turned on. In addition, when the electronic device is not connected to the external charger 146, power may be supplied to the load circuit 144 through the first battery 1421 by turning on Q4.
In an embodiment of the present application, as can be seen in fig. 2, 4 and 6, the voltage output terminal of the second step-down circuit 1432 is coupled to the processor 110. The second step-down circuit 1432 may have the same structure as the first step-down circuit 1431. Specifically, as shown in fig. 6, the second step-down circuit 1432 may include a switching circuit composed of a switch Q5& #x2011; Q8. The second voltage step-down circuit 1432 is connected between VBUS and Vbat, wherein a first terminal of Q5 is coupled to VBUS, a second terminal of Q5 is coupled to a first terminal of Q6, a second terminal of Q6 is coupled to a first terminal of Q7, a second terminal of Q7 is coupled to a first terminal of Q8, and a second terminal of Q8 is coupled to the second battery 1422. When the electronic device is connected to the external charger 146, power can be directly supplied to the processor 110 (as shown in fig. 4) through the second voltage step-down circuit 1432, and the second battery 1422 can be directly charged. In addition, when the electronic device is not connected to the external charger 146, power can also be supplied to the processor 110 through the second battery 1422.
In other embodiments, the structure of the second step-down circuit 1432 may also be different from the structure of the first step-down circuit 1431. For example, the second step-down circuit 1432 may include a switch Q5. When the electronic device is connected to the external charger 146, the power is directly supplied to the processor 110 by turning on the switch Q5, and the power can also be supplied to the second battery 142; when the electronic device is not connected to the external charger 146, the second battery 142 is enabled to supply power to the processor 110 by turning on the switch Q5. In other embodiments of the present application, the number of switches in the second step-down circuit 1432 is not limited.
In an embodiment of the present application, for an electronic device (not shown in the figure) in which the display screen 194 is not a folding screen, the charging circuit 143 may include at least a first step-down circuit 1431. The processor 110 is electrically connected to the first battery 1421 through the first voltage step-down circuit 1431, and the first battery 1421 supplies power to the electronic device. The first voltage step-down circuit 1431 is further powered by the power management circuit 1410 and a load (e.g., the display 194) in the load circuit 144.
In an embodiment of the present application, the first step-down circuit 1431 may further directly supply power to a load (such as the audio module 170) in the load circuit 144.
In the embodiment of the application, after the electronic equipment is connected with an external charger, the charger supplies power to a load circuit through a first voltage reduction circuit; when the electronic equipment is not connected with an external charger, the first battery supplies power to the load circuit through the first voltage reduction circuit. When a user uses an application program (such as navigation) with high power consumption in an electronic device, a current required by a load circuit becomes large. The current flowing through the first voltage-dropping circuit also becomes large. In order to protect the first step-down circuit from damage, the overcurrent protection switch Q4 may be turned off. If the overcurrent protection switch Q4 is turned off, the first voltage reduction circuit does not supply power to the load circuit any more, and the display screen is powered down to generate a screen blacking (namely screen extinguishing) phenomenon. In order to solve the problem that the display screen is powered down and is in a black screen state, the embodiment of the application provides a display screen control method, electronic equipment and a storage medium, which can timely enable the display screen to be restored to a bright screen state under the condition that the display screen is in the black screen state.
It should be noted that, in some embodiments, after the overcurrent protection switch Q4 is turned off, in a case that the display screen appears black, the first voltage-reducing circuit has a capability of detecting power failure, and it can be detected that the overcurrent protection switch Q4 is turned off, and at this time, the display screen can be timely restored to the bright screen state by the display screen control method provided in fig. 7. In some embodiments, after the overcurrent protection switch Q4 is turned off, in the case that the display screen has a black screen, the first voltage reduction circuit does not have the capability of detecting the power failure, and cannot detect that the overcurrent protection switch Q4 is turned off, so that the display screen can be timely restored to the bright screen state by the display screen control method provided in fig. 9.
The following describes in detail a display screen control method provided by an embodiment of the present application with reference to fig. 7. The execution main body of the display screen control method provided by the embodiment of the application can be an electronic device or a chip. In the embodiment of the application, the display control method executed by the electronic device is taken as an example, and the display control method provided by the embodiment of the application is described.
S101, the charging module detects power failure abnormality of the voltage reduction circuit.
In an embodiment of the present application, when a user uses an application program with high power consumption in an electronic device, a current required by a load circuit becomes large. For example, in a scene where a user uses a navigation application, a navigation path needs to be displayed through a display screen, and navigation information needs to be played aloud through an audio module. Then, the current flowing through the step-down circuit (the first step-down circuit shown in fig. 4) is required to be increased, so as to satisfy the capability of the display screen to display the navigation path and the audio module to play the navigation information. In order to protect the step-down circuit from damage, an overcurrent protection switch in the step-down circuit may be turned off, so that the step-down circuit is powered down. After the voltage-reducing circuit is powered down, the voltage-reducing circuit cannot supply power to the load circuit, so that the load circuit is powered down, namely, the display screen is powered down abnormally, and the display screen enters a screen-off state.
Under the condition that the voltage reduction circuit has the capability of detecting power failure, the processor is electrically connected with the voltage reduction circuit through the GPIO interface, and can monitor the state of a pin of the GPIO interface to determine the working state of the voltage reduction circuit and send the state of the pin to the charging module. When the step-down circuit detects that the overcurrent protection switch is turned off, the GPIO pin is pulled down to trigger interruption, the charging module monitors an interruption signal, determines that the step-down circuit is in an off state, determines that the load circuit is abnormal in power failure, causes that the display screen is also abnormal in power failure, and enters a screen-off state. In order not to affect the user to view the navigation path using the display screen, it is necessary to restore the display screen to the bright screen state as soon as possible.
In an embodiment of the application, the charging module is used for managing and controlling a charging process of the electronic device. The charging module may be a charging driver in the kernel layer.
S102, the charging module controls the voltage reduction circuit to restore power supply.
In an embodiment of the present application, if the charging module receives the interrupt information, it is determined that the voltage-reducing circuit is abnormal in power failure, and the display screen enters a screen-off state, in order to restore the display screen to a bright screen state as soon as possible, the charging module will attempt to restore the power supply of the voltage-reducing circuit, that is, attempt to restore the power supply of the voltage-reducing circuit by turning on the overcurrent protection switch. Specifically, the charging module resets the overcurrent protection switch to restore the on state. For example, the charging module may write a first preset value to a control register of the over-current protection switch to reset the over-current protection switch state, so that the over-current protection switch is changed to the on state again. Typically, the first preset value is a fixed level or voltage value for resetting the state of the overcurrent protection switch.
In practical applications, the first preset value may be any suitable level or voltage value capable of making the overcurrent protection switch turned back on. For example, the first preset value may be a common voltage value of 0V, 5V, 10V, etc., or a specific level signal. It should be noted that different over-current protection switches may have different resetting modes and requirements, so that in practical applications, a specific value of the first preset value needs to be determined according to specific product specifications and design requirements.
S103, determining whether the charging module successfully resumes the power supply of the voltage-reducing circuit.
In an embodiment of the present application, after the charging module attempts to restore the power supply to the step-down circuit, it is further required to determine whether the charging module successfully restores the power supply to the step-down circuit to determine whether the step-down circuit is damaged. If the charging module is determined to successfully recover the power supply of the step-down circuit, the step-down circuit is not damaged, and step S104 is executed; if the charging module is determined to fail to restore the power supply of the step-down circuit, the step-down circuit is determined to be damaged, the power supply cannot be restored, and the process is ended.
Specifically, after the charging module writes the first preset value into the control register of the overcurrent protection switch successfully, the charging module needs to read the written first preset value from the control register of the overcurrent protection switch, so as to determine whether the charging module conducts the overcurrent protection switch. If the written first preset value is successfully read, the charging module is determined to conduct the overcurrent protection switch, the power supply of the voltage reduction circuit is successfully recovered, and step S104 is executed; if the written first preset value cannot be read, the failure that the charging module is conducted on the overcurrent protection switch is determined, namely the failure of recovering the power supply of the voltage reduction circuit is determined, and the process is ended.
S104, the charging module sends indication information to the display module to indicate the display module to determine the enabling state of the power management circuit.
In an embodiment of the present application, after the charging module successfully resumes the power supply of the voltage-reducing circuit, it is further required to determine whether the power management circuit is in an enabled state, and the charging module sends indication information to the display module to instruct the display module to determine the enabled state of the power management circuit. The display module is used for managing and controlling the display process of the display screen, and the display module can be a display driver in the kernel layer.
S105, the display module determines the enabling state of the power management circuit.
In one embodiment of the present application, the voltage reducing circuit is connected to the display screen through the power management circuit. The power management circuit receives the input current of the battery (such as the first battery in fig. 4) and/or the charger, and supplies power to the display screen after the input current is reduced by the voltage reducing circuit. Therefore, before the display module indicates that the display screen is restored to the bright screen state, it is necessary to determine whether the power management circuit is in an enabled state (i.e., an operating state). After the power management circuit is in the enabling state, the power supply of the display screen can be restored, so that the display screen enters a bright screen state.
In one embodiment of the present application, it may be determined whether the power management circuit is in an operational state by determining the enabling condition of the power management circuit. Specifically, the enable condition of the power management circuit may be determined by reading a flag bit in a control register of the power management circuit. For example, the flag bit read into the control register is 1, it is determined that the power management circuit is enabled, that is, it is determined that the power management circuit is in an operating state, and the flow ends. If the flag bit read into the control register is 0, it is determined that the power management circuit is not enabled, that is, it is determined that the power management circuit is in a non-working state, and step S106 is executed.
In an embodiment of the application, the power management circuit is used for managing the charging and discharging of the battery, and can output multiple different voltages according to the power supply requirement of the load circuit so as to improve the performance and reliability of the electronic equipment. In this embodiment, the power management circuit may include a PM8008 chip.
When it is determined that the power management circuit is not enabled, the flow proceeds to step S106, where the display module reinitializes the power management circuit.
In an embodiment of the present application, when it is determined that the power management circuit is not enabled, the power management circuit needs to be reinitialized to enable the power management circuit, so that the power management circuit enters the working state again, and the display screen is successfully restored to the bright screen state. Specifically, in an embodiment of the present application, the display module initializes the power management circuit by calling a function lcdket_pm 8008_reset, specifically includes resetting the power management circuit by calling a low level of the function lcdket_pm 8008_reset, so that the power management circuit enters a reset mode; then the power management circuit enters a configuration mode by calling a function lcdkit_PM8008_reset to pull down a high level; in the configuration mode, the configuration pins and data pins of the power management circuit are used to set the required configuration voltage to enable the power management circuit. Initializing the power management circuit by the display module may further include restoring the power management circuit to a factory default setting to reset the power management circuit; or reset the control register value of the power management circuit to a default value to clear the register value of the power manager.
S107, the display module sends power-down control information to the display screen.
In an embodiment of the application, when the voltage reducing circuit has abnormal power failure, the display screen enters a screen-off state from a screen-on state, but the display screen is still in a power-on state at the moment. After the voltage reduction circuit is restored to supply power through the charging module and the power management circuit is initialized through the display module, the display module is required to trigger the display screen to enter a power-down state, and the display module sends power-down control information to the display screen.
S108, powering down the display screen.
In one embodiment of the application, the display screen enters a powered-down state in response to the power-down control information. Specifically, a power-down control function panel_off in the display module is used for controlling the power-down of the display screen. After the display screen is powered down, a power-down control function panel_off determines whether the display screen is in a power-down state currently by comparing whether the read voltage value is consistent with a preset voltage value. If the read voltage value is consistent with the preset voltage value, determining that the display screen is in the power-down state currently; if the read voltage value is inconsistent with the preset voltage value, determining that the display screen is not in the power-down state currently.
S109, the display module sends power-on control information to the display screen.
In this embodiment, in order to restore the bright screen of the display screen, after the display screen is powered down, the display module continues to send power-on control information to the display screen so as to control the power-on of the display screen.
S110, powering up the display screen.
In one embodiment of the application, the display screen is responsive to the power-on control information to enter a power-on state. Specifically, a power-on control function panel_on in the display module is used for controlling the power-on of the display screen so as to restore the display screen to a bright screen state. The power-on control function panel_on can ensure that the display screen can work normally by detecting whether the voltage setting state of the display screen is correct. And the power-on control function panel_on continuously transmits power-on control information to the display screen after the display screen is powered down so as to control the power-on of the display screen. After the power-on control function panel_on is finished, the power-on control function panel_on detects whether the voltage setting state of the display screen is correct or not by comparing whether the read voltage value is consistent with a preset voltage value. If the read voltage value is consistent with the preset voltage value, determining that the display screen is in a power-on state; if the read voltage value is inconsistent with the preset voltage value, determining that the display screen is not in the power-on state currently.
S111, the display module sends initialization information to the display screen.
In an embodiment of the present application, after the display screen is powered on, the display module sends initialization information to the display screen to perform initialization setting on the display screen.
S112, initializing the display screen, and enabling the display screen to be restored to a bright screen state.
In an embodiment of the application, the display screen responds to the initialization information, and after the display module triggers the display screen to enter a power-down state and then enter a power-up state, the voltage-down circuit and the power management circuit for recovering power supply can normally supply power to the display screen. Because the hardware device display data interface controller (Display Data Interface Controller, DDIC) in the display screen responsible for controlling and managing the display information cannot start to work immediately after the display screen is powered down and powered up, the DDIC needs to reinitialize and load the display driver after the display screen is powered down and powered up so as to ensure normal work. At this time, after the display screen is initialized by the display module, the display screen can be restored to the bright screen state.
In an embodiment of the present application, initializing the display mainly includes downloading an initialization code to a controller of the display, and connecting three circuits of power-up to ensure that the display can work normally. The initialization code includes how to set various parameters of the display screen, such as resolution, refresh rate, color depth, etc. The three-way power-on comprises power-on operation of three main circuit boards connected to the display screen, so that the three main circuit boards can work normally. The three main circuit boards include an LCD driver, a backlight module, and a control circuit board.
In one embodiment of the present application, after the display screen resumes the bright screen state, the application may be notified to draw and render the layer to display the relevant interface on the display screen. For example, taking the navigation application as an example, the display module further informs the HWC of hardware synthesis of one or more graphics layers of the navigation application, which may provide support for hardware synthesis of SurfaceFlinger, and the SurfaceFlinger thread overlays the one or more graphics layers and informs the application thread of the navigation application to draw and render the one or more graphics layers.
By the display screen control method, after the display screen is turned off, the bright screen of the display screen can be restored under the condition that a user does not feel, and the problem that the display screen cannot be restored after the power is turned off is solved.
Fig. 8 is a schematic application scenario diagram of a display screen control method according to an embodiment of the present application.
Assuming that a user has a power failure abnormality in a first voltage reduction circuit of the hardware layer 105 during an application program (such as a navigation application program) using the application program layer 101, when the first voltage reduction circuit detects the power failure, an interrupt is triggered, and a charging drive of the kernel layer 104 monitors an interrupt signal, so that it is determined that the first voltage reduction circuit is in a disconnected state, and the display screen is in a power failure abnormality state, and is in a screen-off state, so that the user cannot view a navigation application program interface. At this time, the charging drive may attempt to restore the power supply of the first voltage-reducing circuit, and after the power supply is restored successfully, send instruction information to the display drive to instruct the display drive to determine the enabled state of the power management circuit. If the power management circuit is not enabled, the power management circuit is reinitialized, so that the power management circuit enters a working state. The display driver triggers the display screen to enter a power-down state to close the function of the display screen, then triggers the display screen to enter a power-up state, and initializes the display screen to enable the display screen to enter a bright screen state.
After the display screen resumes the bright screen state, the navigation application may be notified to draw and render the layers to display the relevant interface on the display screen. Specifically, the display driver further implements hardware synthesis of one or more graphics layers of the navigation application through the hardware synthesizer of the hardware abstraction layer 103, so that support can be provided for hardware synthesis of the SurfaceFlinger, the SurfaceFlinger thread superimposes the one or more graphics layers, and notifies an application thread of the navigation application to draw and render the one or more graphics layers, and the application thread can also send the rendered graphics layers to the SurfaceFlinger thread of the framework layer 102. At the framework layer 102, the surfaceflinger thread may synthesize the rendered image layer to obtain an image frame to be displayed. At the kernel layer 104, the display driver transmits the image frame to be displayed to the display layer of the display screen for buffering. At the hardware layer 105, the display layer of the display screen displays image frames under the control of the display driver of the kernel layer 104. At this time, the user can see the application interface of the navigation application program after the screen is lit on the display screen.
Fig. 9 is a flowchart of a display screen control method according to another embodiment of the present application. In this embodiment, the voltage reduction circuit does not have the capability of detecting power failure, and cannot trigger interruption after the overcurrent protection switch in the voltage reduction circuit is turned off, so that user operation needs to be responded to trigger the display module to control the enabling of the power management circuit, and trigger the charging module to control the voltage reduction circuit to resume power supply, so that the display screen is restored to a bright screen state. Specifically, the display screen control method comprises the following steps:
S801, after the display screen enters a screen-off state, responding to the power-down operation of a user, and controlling the power-down of the display screen by the display module.
In an embodiment of the present application, when a user uses an application program with high power consumption in an electronic device, a current required by a load circuit becomes large. For example, in a scene where a user uses a navigation application, a navigation path needs to be displayed through a display screen, and navigation information needs to be played aloud through an audio module. Then, the current flowing through the step-down circuit (the first step-down circuit shown in fig. 4) is required to be increased, so as to satisfy the capability of the display screen to display the navigation path and the audio module to play the navigation information. In order to protect the step-down circuit from damage, an overcurrent protection switch in the step-down circuit may be turned off, so that the step-down circuit is powered down. After the voltage-reducing circuit is powered down, the voltage-reducing circuit cannot supply power to the load circuit, so that the load circuit is powered down, the display screen is powered down abnormally, and the display screen enters a screen-off state.
The voltage reduction circuit does not detect the power failure capability, so that the display module cannot be informed to restore the display screen to the bright screen state. After determining that the display screen enters a screen-off state, the user controls the display screen to be powered down through power-down operation. The Power-down operation may be a trigger operation for hibernating the display screen, and for example, the trigger operation may be an operation in which the user clicks a Power key (Power), an operation in which the screen is folded, an operation in which the screen is unfolded, or the like.
S802, responding to a power-on operation of a user, and determining an enabling state of the power management circuit by the display module.
In some embodiments of the present application, the display screen is electrically connected to the voltage reducing circuit through the power management circuit. The power management circuit receives the input current of the battery (such as the first battery in fig. 4) and/or the charger, and supplies power to the display screen after the input current is reduced by the voltage reducing circuit. After the display screen enters the off-screen state, the display module needs to determine the enabling state (i.e. the working state) of the power management circuit in response to the power-on operation of the user. If the display module determines that the power management circuit is in the disabled state, step S803 is performed, possibly because the overcurrent protection switch in the step-down circuit is turned off, so that the power management circuit is in the disabled state. If the display module determines that the power management circuit is in an enabling state, it is determined that the overcurrent protection in the step-down circuit is not disconnected, and other reasons may occur to cause the display screen to be black, so that the process is ended.
In some embodiments of the present application, the display module determines the enable state of the power management circuit by writing and reading a second preset value to a control register of the power management circuit in response to a power-up operation by a user. Specifically, after the display module successfully writes a second preset value into the control register of the power management circuit and successfully reads the second preset value written into the control register of the power management circuit, the display module determines that the power management circuit is in an enabling state, and the process is ended; if the display module cannot write the second preset value into the control register of the power management circuit, or if the display module cannot write the second preset value into the control register of the power management circuit, the display module cannot successfully read the written second preset value, and determines that the power management circuit is in an disabled state, step S803 is executed.
In an embodiment of the present application, the Power-on operation may be a triggering operation for waking up the display screen, for example, the triggering operation may be an operation of clicking a Power button (Power), folding a screen, unfolding a screen, lifting a hand, double-clicking a screen, floating a touch, unlocking a fingerprint, or plugging and unplugging a USB data line, which is not limited to the above operation types in practical application.
In an embodiment of the present application, the power-on operation may be the same as the power-off operation or may be different from the power-off operation.
S803, the display module sends first indication information to the charging module to indicate the charging module to control the voltage reduction circuit to resume power supply.
In an embodiment of the present application, when the display module determines that the power management circuit is not enabled, it determines that an overcurrent protection switch in the step-down circuit may be turned off, and needs to send first indication information to the charging module to inform the charging module to control the step-down circuit to resume power supply. The first indication information is a variable set by a function callback. Specifically, the charging module is registered with a function usb_is_power_new_reset_notify, for instructing the charging module to control the step-down circuit to resume power supply. The charging module sets the function usb_is_power_new_reset_notify variable to 1. When the display module calls back the function usb_is_power_new_reset_notify, the variable corresponding to the function changes, for example, from 1 to 0. The display module sends the changed variable to the charging module to instruct the charging module to control the voltage reduction circuit to restore power supply.
S804, the charging module controls the voltage reduction circuit to restore power supply.
In an embodiment of the application, after receiving the first indication information, the charging module resets the overcurrent protection switch in the step-down circuit to restore the overcurrent protection switch to a conducting state.
Specifically, step S804 of the embodiment of the present application is similar to step S102 of the previous embodiment, and in order to avoid repetition, the description is omitted here.
S805, it is determined whether the charging module successfully resumes the power supply of the step-down circuit.
In an embodiment of the present application, after the charging module controls the voltage-reducing circuit to resume power supply, it is further required to determine whether the charging module successfully resumes power supply to the voltage-reducing circuit, so as to determine whether the voltage-reducing circuit is damaged. If it is determined that the charging module successfully recovers the power supply of the step-down circuit, the step-down circuit is not damaged, and step S806 is executed; if the charging module is determined to fail to restore the power supply of the step-down circuit, the step-down circuit is determined to be damaged, the power supply cannot be restored, and the process is ended.
Specifically, step S805 of the embodiment of the present application is similar to step S103 of the previous embodiment, and in order to avoid repetition, a description thereof is omitted here.
S806, the charging module sends second indication information to the display module to instruct the display module to initialize the power management circuit.
In an embodiment of the present application, after the charging module successfully resumes the power supply of the voltage-reducing circuit, the power management circuit and the voltage-reducing circuit electrically connected to the display screen form a hardware current path that is already successfully turned on, and may supply power to the display screen through the battery or the charger. However, to restore the display to the bright state, it is also necessary to initialize the power management circuit.
S807, the display module initializes the power management circuit.
In an embodiment of the present application, the display module initializes the power management circuit by calling a function lcdkit_pm8008_reset, specifically includes resetting the power management circuit by calling a low level of the function lcdkit_pm8008_reset, so that the power management circuit enters a reset mode; then the power management circuit enters a configuration mode by calling a function lcdkit_PM8008_reset to pull down a high level; in the configuration mode, the configuration pins and data pins of the power management circuit are used to set the required configuration voltage to enable the power management circuit. Initializing the power management circuit by the display module may further include restoring the power management circuit to a factory default setting to reset the power management circuit; or reset the control register value of the power management circuit to a default value to clear the register value of the power manager.
S808, the display module sends power-on control information to the display screen.
In an embodiment of the application, in response to a power-on operation of a user, after the charging module successfully resumes power supply of the voltage-reducing circuit, the display module initializes the power management circuit, and the display module continuously sends power-on control information to the display screen to control the power-on of the display screen.
S809, powering on the display screen.
In one embodiment of the application, the display screen is responsive to the power-on control information to enter a power-on state.
Specifically, step S809 of the embodiment of the present application is similar to step S110 of the previous embodiment, and in order to avoid repetition, a detailed description is omitted here.
S810, the display module sends initialization information to the display screen.
In an embodiment of the present application, after the display screen is powered on, the display module sends initialization information to the display screen to perform initialization setting on the display screen.
S811, initializing the display screen, and enabling the display screen to be restored to a bright screen state.
In an embodiment of the application, the step-down circuit and the power management circuit for recovering power supply can normally supply power to the display screen in response to the power-down operation and the power-up operation of a user. And the display screen responds to the initialization information, and after the display screen is initialized through the display module, the display screen can be restored to a bright screen state.
In an embodiment, the display module further notifies the HWC of hardware synthesis of one or more graphics layers of the navigation application, which may provide support for hardware synthesis of SurfaceFlinger, and the SurfaceFlinger thread overlays the one or more graphics layers and notifies the application thread of the navigation application to render and render the one or more graphics layers.
According to the display screen control method, after the voltage reduction circuit is abnormal in power failure, and the display screen is turned off, under the condition that the voltage reduction circuit does not detect the abnormal power failure, the display screen can be restored to the bright screen state by responding to manual operation (such as power-on operation and power-off operation) of a user, and the problem that the display screen cannot be restored after the power-on and the power-off of the display screen is solved.
Fig. 10 is a schematic application scenario diagram of a display screen control method according to still another embodiment of the present application.
Assume that during the process of using an application program (such as a navigation application program) of the application program layer 101, a power-down abnormality occurs in a first voltage-reducing circuit of the hardware layer 105, so that a power-down abnormality occurs in a display screen, and a screen-off state is entered, so that the user cannot view a navigation application program interface. At this time, since the first step-down circuit does not have the power-down detection capability, the charging drive does not know that the first step-down circuit has the power-down condition. The display screen control method provided by the embodiment of the application needs to recover the power supply of the voltage reduction circuit from the hardware level so as to recover the conduction of the hardware current path, and the bright screen of the display screen can be recovered. Wherein the hardware current path includes a path from the first battery/charger to the first buck circuit to the power management circuit to the display screen. Specifically, after the user confirms that the display screen is turned off, the PMS of the frame layer 102 controls the display screen to be turned off in response to the power-off operation of the user. The PMS notifies the charging drive to determine an enable state of the power management circuit in response to a power-up operation of a user to determine whether the first step-down circuit is powered down. If the power management circuit is not enabled, the power failure abnormality of the first voltage reduction circuit is determined, and first indication information is sent to the charging drive to indicate the charging drive to control the voltage reduction circuit to resume power supply. After the voltage reducing circuit resumes power supply, the power supply management circuit is initialized through the display drive, power-on control information is sent to the display screen, the power-on of the display screen is controlled, and the display screen is initialized, so that the display screen enters a bright screen state.
After the display screen resumes the bright screen state, the navigation application may be notified to draw and render the layers to display the relevant interface on the display screen. Specifically, the display driver may further provide support for hardware synthesis of the SurfaceFlinger by using the hardware synthesizer of the hardware abstraction layer 103 to synthesize hardware of one or more graphics layers, and the SurfaceFlinger thread may further superimpose the one or more graphics layers and notify an application thread of the navigation application program to draw the one or more graphics layers and render the one or more graphics layers, where the thread of the navigation application program may further send the rendered graphics layers to the SurfaceFlinger thread of the framework layer 102. At the framework layer 102, the surfaceflinger thread may synthesize the rendered image layer to obtain an image frame to be displayed. At the kernel layer 104, the display driver transmits the image frame to be displayed to the display layer of the display screen for buffering. At the hardware layer 105, the display layer of the display screen displays image frames under control of the display driver of the kernel layer. At this time, the user can see the application interface of the navigation application program after the screen is lit on the display screen.
The display screen control method provided by the embodiment of the application can be a step executed by a display driver included in the electronic equipment, and can also be executed by a display chip included in the electronic equipment. And calling a computer program stored in a memory when the display chip runs, and realizing the steps executed by the electronic equipment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (11)

1. The display screen control method is applied to electronic equipment and is characterized in that the electronic equipment comprises a voltage reduction circuit, a power management circuit and a display screen, wherein the voltage reduction circuit is electrically connected with the display screen through the power management circuit, and comprises an overcurrent protection switch, and the method comprises the following steps of:
if the step-down circuit detects that the overcurrent protection switch is disconnected, the step-down circuit triggers an interrupt signal;
determining that the voltage reduction circuit has abnormal power failure according to the interrupt signal, enabling the display screen to enter a screen-off state, and controlling the voltage reduction circuit to resume power supply;
after the voltage reduction circuit resumes power supply, determining the enabling state of the power management circuit;
Initializing the power management circuit if the power management circuit is not enabled; and
initializing the display screen, and enabling the display screen to be restored to a bright screen state.
2. The display screen control method of claim 1, wherein prior to initializing the display screen, the method further comprises:
controlling the display screen to be powered down by sending power-down control information to the display screen;
and controlling the power-on of the display screen by sending power-on control information to the display screen.
3. The display screen control method of claim 1, wherein the controlling the step-down circuit to resume power supply comprises:
writing a preset value into a control register of the overcurrent protection switch;
and reading the written preset value from the control register to conduct the overcurrent protection switch.
4. The display screen control method is applied to electronic equipment and is characterized in that the electronic equipment comprises a voltage reduction circuit, a power management circuit and a display screen, wherein the voltage reduction circuit is electrically connected with the display screen through the power management circuit, and the method comprises the following steps:
after the display screen enters a screen-off state, controlling the display screen to be powered down in response to a power-down operation of a user, and determining an enabling state of the power management circuit in response to a power-up operation of the user;
If the power management circuit is not enabled, controlling the voltage reduction circuit to restore power supply;
after the voltage reducing circuit resumes power supply, initializing the power supply management circuit, sending power-on control information to the display screen, and controlling the display screen to be powered on; and
initializing the display screen, and enabling the display screen to be restored to a bright screen state.
5. The display screen control method of claim 4, wherein:
the power-up operation includes any one of the following operations: an operation of pressing a power key by a user, an operation of folding a screen, and an operation of expanding the screen;
the power-down operation includes any one of the following operations: an operation of pressing a power key, an operation of folding a screen, and an operation of expanding a screen by a user.
6. The display screen control method of claim 4, wherein the electronic device further comprises a charging drive, the method further comprising: and sending indication information to the charging drive, and controlling the step-down circuit to restore power supply through the charging drive.
7. The display control method of claim 6, wherein the indication information is a variable set by a function callback, and the function is usb_is_power_new_reset_notify.
8. The display screen control method of claim 6, wherein the method further comprises:
writing a preset value into a control register of an overcurrent protection switch in the voltage reduction circuit through the charging drive;
and reading the written preset value from the control register through the charging drive, so that the overcurrent protection switch is conducted.
9. An electronic device comprising a display screen, a memory, and a processor;
the memory is used for storing program instructions;
the processor is configured to read the program instructions stored in the memory to implement the display screen control method according to any one of claims 1 to 8.
10. A computer readable storage medium having stored therein computer readable instructions which when executed by a processor implement the display screen control method of any one of claims 1 to 8.
11. A chip coupled to a memory in an electronic device, wherein the chip is configured to control the electronic device to perform the display control method of any one of claims 1 to 8.
CN202310723814.7A 2023-06-19 2023-06-19 Display screen control method, electronic equipment, storage medium and chip Active CN116504177B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310723814.7A CN116504177B (en) 2023-06-19 2023-06-19 Display screen control method, electronic equipment, storage medium and chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310723814.7A CN116504177B (en) 2023-06-19 2023-06-19 Display screen control method, electronic equipment, storage medium and chip

Publications (2)

Publication Number Publication Date
CN116504177A CN116504177A (en) 2023-07-28
CN116504177B true CN116504177B (en) 2023-10-20

Family

ID=87324942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310723814.7A Active CN116504177B (en) 2023-06-19 2023-06-19 Display screen control method, electronic equipment, storage medium and chip

Country Status (1)

Country Link
CN (1) CN116504177B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5366193A (en) * 1976-11-23 1978-06-13 Siemens Ag Photoelectric device
CN1490924A (en) * 2002-06-12 2004-04-21 三星Sdi株式会社 Energy controlling circuit for switch power supply of plasma displaying board and method thereof
WO2015136588A1 (en) * 2014-03-13 2015-09-17 株式会社Joled El display apparatus
CN114094647A (en) * 2020-12-29 2022-02-25 荣耀终端有限公司 Battery cell connection state switching method, power supply system and electronic equipment
CN217157672U (en) * 2022-03-16 2022-08-09 深圳市艾比森光电股份有限公司 LED display panel and overcurrent protection device thereof
CN217769459U (en) * 2022-07-26 2022-11-08 珠海格力智能装备有限公司 Overcurrent protection circuit
CN218497411U (en) * 2022-07-22 2023-02-17 荣耀终端有限公司 Folding electronic equipment
CN115953987A (en) * 2022-11-30 2023-04-11 京东方科技集团股份有限公司 Display panel, overcurrent protection device and method thereof and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5366193A (en) * 1976-11-23 1978-06-13 Siemens Ag Photoelectric device
CN1490924A (en) * 2002-06-12 2004-04-21 三星Sdi株式会社 Energy controlling circuit for switch power supply of plasma displaying board and method thereof
WO2015136588A1 (en) * 2014-03-13 2015-09-17 株式会社Joled El display apparatus
CN114094647A (en) * 2020-12-29 2022-02-25 荣耀终端有限公司 Battery cell connection state switching method, power supply system and electronic equipment
CN217157672U (en) * 2022-03-16 2022-08-09 深圳市艾比森光电股份有限公司 LED display panel and overcurrent protection device thereof
CN218497411U (en) * 2022-07-22 2023-02-17 荣耀终端有限公司 Folding electronic equipment
CN217769459U (en) * 2022-07-26 2022-11-08 珠海格力智能装备有限公司 Overcurrent protection circuit
CN115953987A (en) * 2022-11-30 2023-04-11 京东方科技集团股份有限公司 Display panel, overcurrent protection device and method thereof and electronic equipment

Also Published As

Publication number Publication date
CN116504177A (en) 2023-07-28

Similar Documents

Publication Publication Date Title
WO2021169337A1 (en) In-screen fingerprint display method and electronic device
EP4024910A1 (en) Method for recovering sim card of electronic device from card drop, and electronic device
CN113704205B (en) Log storage method, chip, electronic device and readable storage medium
WO2021052170A1 (en) Motor vibration control method and electronic device
CN110687998A (en) Application management method and device
WO2022170856A1 (en) Method for establishing connection, and electronic device
CN115567630B (en) Electronic equipment management method, electronic equipment and readable storage medium
CN115589051B (en) Charging method and terminal equipment
CN116257200A (en) Display method and related device of folding screen
CN116048436B (en) Application interface display method, electronic device and storage medium
CN111356222A (en) Transmission power adjustment method, terminal, storage medium, and electronic device
CN114461057A (en) VR display control method, electronic device and computer readable storage medium
CN114077519B (en) System service recovery method and device and electronic equipment
CN116048772B (en) Method and device for adjusting frequency of central processing unit and terminal equipment
CN116504177B (en) Display screen control method, electronic equipment, storage medium and chip
WO2022170854A1 (en) Video call method and related device
CN113901485B (en) Application program loading method, electronic device and storage medium
CN113918003A (en) Method and device for detecting time length of skin contacting screen and electronic equipment
CN116703691B (en) Image processing method, electronic device, and computer storage medium
CN115529379B (en) Method for preventing Bluetooth audio Track jitter, electronic equipment and storage medium
CN116684520B (en) Shutdown method, electronic equipment, storage medium and chip
CN115941836B (en) Interface display method, electronic equipment and storage medium
CN117013660B (en) Charging icon display method and electronic equipment
CN116048769B (en) Memory recycling method and device and terminal equipment
CN117424957B (en) Camera mode switching method, electronic device, chip, storage medium, and program product

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