CN116886818B - Electronic equipment starting method and device, electronic equipment and storage medium - Google Patents
Electronic equipment starting method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116886818B CN116886818B CN202311152619.XA CN202311152619A CN116886818B CN 116886818 B CN116886818 B CN 116886818B CN 202311152619 A CN202311152619 A CN 202311152619A CN 116886818 B CN116886818 B CN 116886818B
- Authority
- CN
- China
- Prior art keywords
- display screen
- power
- state
- power interface
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000002159 abnormal effect Effects 0.000 claims abstract description 37
- 230000005856 abnormality Effects 0.000 claims abstract description 15
- 230000008569 process Effects 0.000 claims description 12
- 239000000758 substrate Substances 0.000 claims 2
- 238000012545 processing Methods 0.000 description 16
- 238000007726 management method Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 4
- 229920001621 AMOLED Polymers 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Power Sources (AREA)
Abstract
The embodiment of the application provides a starting method and device of electronic equipment, the electronic equipment and a storage medium, relates to the technical field of display, and can enable the electronic equipment to be still used when power supply abnormality occurs on one display screen of the electronic equipment. The method for starting the electronic equipment comprises a first display screen and a second display screen, and the method comprises the following steps: after power is supplied to the first display screen and the second display screen, acquiring the power state of the first display screen and the power state of the second display screen; if the power state of the first display screen is abnormal and the power state of the second display screen is normal, the electronic equipment is set to be started in a mode that the second display screen is used for single-screen display.
Description
Technical Field
The present application relates to the field of display technologies, and in particular, to a method and apparatus for starting an electronic device, and a storage medium.
Background
With the development of electronic devices, electronic devices having a plurality of display screens have appeared, for example, a folding mobile phone has two display screens of an inner screen and an outer screen, and when the mobile phone is folded, a user can use the outer screen, and when the mobile phone is unfolded, a user can use the inner screen. However, if the power supply of one display screen of the mobile phone is short-circuited or broken, the mobile phone can restart or the two display screens cannot be used normally when the mobile phone is started.
Disclosure of Invention
In view of this, the present application provides a method and apparatus for starting an electronic device, and a storage medium, which can enable the electronic device to still be used when a power supply abnormality occurs in one display screen of the electronic device.
In a first aspect, a method for starting an electronic device is provided, where the electronic device includes a first display screen and a second display screen, and the method includes: after power is supplied to the first display screen and the second display screen, acquiring the power state of the first display screen and the power state of the second display screen; if the power state of the first display screen is abnormal and the power state of the second display screen is normal, the electronic equipment is set to be started in a mode that the second display screen is used for single-screen display.
In one possible implementation, the first display screen and the second display screen each have a first power interface and a second power interface; the step of obtaining the power state of the first display screen and the power state of the second display screen comprises the following steps: acquiring state values in a state register of a first power interface of the first display screen and a second power interface of the second display screen, and acquiring voltage values of the second power interface of the first display screen and the second display screen; the power state of the first display screen is abnormal and comprises: the state value in the state register of the first power interface of the first display screen represents abnormality, or the voltage value of the second power interface of the first display screen does not belong to a normal range; the power state of the second display screen is normal and includes: the state value in the state register of the first power interface of the second display screen indicates normal, and the voltage value of the second power interface of the second display screen belongs to a normal range.
In one possible implementation, the first power interface includes an input-output power interface, a display driver chip power interface, and a mobile industry processor interface MIPI power interface; the second power interface is an analog circuit power interface, an anode power interface or a cathode power interface; the power state of the first display screen is abnormal and comprises: the state values in any state registers of the input and output power interface of the first display screen, the power interface of the display driving chip and the power interface of the MIPI represent abnormality, or the voltage value of the second power interface of the first display screen does not belong to a normal range; the power state of the second display screen is normal and includes: the state values in all the state registers of the input and output power interfaces of the second display screen, the power interfaces of the display driving chip and the power interfaces of the MIPI are normal, and the voltage value of the second power interface of the second display screen does not belong to the normal range.
In one possible embodiment, the second power interface is an anode power interface.
In one possible implementation, the first display screen and the second display screen each have a mobile industry processor interface MIPI; the power state of the first display screen is abnormal and comprises: the state value in the state register of the first power interface of the first display screen represents an abnormality, or the voltage value of the second power interface of the first display screen does not belong to a normal range, or the state value in the state register of the MIPI represents an abnormality; the power state of the second display screen is normal and includes: the state value in the state register of the first power interface of the second display screen indicates normal, and the voltage value of the second power interface of the second display screen belongs to a normal range, and the state value in the state register of the MIPI indicates normal.
In one possible embodiment, the method further comprises: if the power state of the first display screen is normal and the power state of the second display screen is normal, the electronic equipment is set to be started in a mode that the first display screen and the second display screen are in double-screen display.
In one possible implementation, the electronic device further includes: two first voltage dividing resistors connected in series between the second power interface of the first display screen and the grounding end; the two second voltage dividing resistors are connected in series between the second power interface of the second display screen and the grounding end; in the process of acquiring the power state of the first display screen and the power state of the second display screen, the voltage value of the second power interface of the first display screen is determined by the voltage value between the two first voltage dividing resistors, and the voltage value of the second power interface of the second display screen is determined by the voltage value between the two second voltage dividing resistors.
In a second aspect, there is provided a starting apparatus for an electronic device, the electronic device including a first display screen and a second display screen, the apparatus including: the acquisition module is used for acquiring the power state of the first display screen and the power state of the second display screen after supplying power to the first display screen and the second display screen; and the starting module is used for setting the electronic equipment to be started in a mode of taking the second display screen as a single screen display if the power state of the first display screen is abnormal and the power state of the second display screen is normal.
In a third aspect, there is provided an electronic device comprising: a first display screen and a second display screen; the electronic device comprises a processor and a memory for storing at least one instruction which, when loaded and executed by the processor, causes the electronic device to perform the above-described method.
In a fourth aspect, a computer readable storage medium is provided, comprising a program or instructions which, when run on a computer, performs the above method.
According to the starting method, the device, the electronic equipment and the storage medium of the electronic equipment, after the power is supplied to the display screen, if the power state of the first display screen is abnormal and the power state of the second display screen is normal, the electronic equipment is set to be started in a mode that the second display screen is used as a single screen for display, so that the use of the first display screen is not triggered, namely the problems of starting failure, restarting or incapacity of working normally and the like caused by the abnormal power state of the first display screen are avoided. The electronic equipment can still be used when one display screen of the electronic equipment has abnormal power supply, so that fault decoupling among a plurality of display screens is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic diagram of a part of an electronic device according to an embodiment of the present application;
fig. 3 is a flowchart of a method for starting an electronic device according to an embodiment of the present application.
Detailed Description
For a better understanding of the technical solutions of the present application, embodiments of the present application are described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, of the embodiments of the present application. All other embodiments, based on the embodiments herein, which would be apparent to one of ordinary skill in the art without making any inventive effort, are intended to be within the scope of the present application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one way of describing an association of associated objects, meaning that there may be three relationships, e.g., a and/or b, which may represent: the first and second cases exist separately, and the first and second cases exist separately. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Before explaining the embodiment of the application, firstly explaining the related technology and the technical problems thereof, in the related technology, the electronic equipment is provided with two display screens, and the two display screens are respectively powered, but the bottom layer can not detect and report the power failure of one of the display screens, so that the upper layer can not know that one of the display screens has the power failure when the electronic equipment is started, and the electronic equipment is still started according to the process of using the two display screens, and the problem that the system is restarted or the two display screens can not work normally is caused.
The embodiments of the present application are used to solve the above-mentioned problems, and are described below.
Fig. 1 shows a schematic configuration of an electronic device 100.
The electronic device 100 may include a processor 110, an internal memory 121, a power management module 141, a battery 142, a display 194, and the like.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present invention is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The power management module 141 is used for connecting the battery 142 and the processor 110. The power management module 141 receives input from the battery 142 and provides power to the processor 110, the internal memory 121, the display 194, etc. 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.
The power management module 141 may include a power management unit 1411 (power management unit, PMU) that powers the processor 110, the internal memory 121, some of the devices of the display screen 194, etc., and a power chip 1412 (power IC) that powers another part of the devices of the display screen 194.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 2 or N display screens 194, N being a positive integer greater than 2.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The embodiment of the application provides a method for starting an electronic device, which may be used in the electronic device 100, where an execution body of the method may be a processor in the electronic device 100, and the electronic device 100 includes a first display screen and a second display screen, and the method includes: after power is supplied to the first display screen and the second display screen, acquiring the power state of the first display screen and the power state of the second display screen; if the power state of the first display screen is abnormal and the power state of the second display screen is normal, the electronic equipment is set to be started in a mode that the second display screen is used for single-screen display.
Specifically, for example, the electronic device is a folding mobile phone, one of the first display screen and the second display screen is an inner screen of the folding mobile phone, and the other of the first display screen and the second display screen is an outer screen of the folding mobile phone. The first display screen and the second display screen are respectively powered by different power supply paths, and in the starting process of the electronic equipment, after the first display screen and the second display screen are powered, if the power supply state of the display screen is abnormal, the power supply fault of the display screen is indicated, such as power supply short circuit or open circuit and the like. Therefore, in the starting process of the electronic equipment, the power state of each display screen is detected respectively, if the power state of one display screen is abnormal and the power state of the other display screen is normal, the display screen with the normal power state is registered, and the display screen with the abnormal power state is not registered. The bottom layer reports the power state detection result of the display screen to the upper layer, so that a system of the upper layer can control the electronic equipment to start and work in a corresponding mode according to the registration condition of the display screen.
According to the starting method of the electronic equipment, after the power is supplied to the display screen, if the power state of the first display screen is abnormal and the power state of the second display screen is normal, the electronic equipment is set to be started in a mode that the second display screen is used as a single screen for display, so that the first display screen cannot be triggered to be used, namely the problems of starting failure, restarting or incapability of working normally and the like caused by the abnormal power state of the first display screen are avoided. The electronic equipment can still be used when one display screen of the electronic equipment has abnormal power supply, so that fault decoupling among a plurality of display screens is realized.
In some embodiments, the first display screen and the second display screen each have a first power interface and a second power interface; the step of obtaining the power state of the first display screen and the power state of the second display screen comprises the following steps: acquiring state values in a state register of a first power interface of the first display screen and a second power interface of the second display screen, and acquiring voltage values of the second power interface of the first display screen and the second display screen; the power state of the first display screen is abnormal and comprises: the state value in the state register of the first power interface of the first display screen represents abnormality, or the voltage value of the second power interface of the first display screen does not belong to a normal range; the power state of the second display screen is normal and includes: the state value in the state register of the first power interface of the second display screen indicates normal, and the voltage value of the second power interface of the second display screen belongs to a normal range.
Specifically, the first power interface refers to an interface powered by the PMU and the second power interface refers to an interface powered by the power IC. The PMU is provided with a state register corresponding to the first power interface, and whether the power supply state of the first power interface is normal can be judged through the state value in the state register. For the second power interface, there is no corresponding status register, so the voltage value of the second power interface can be directly obtained, and whether the power state of the second power interface is normal can be determined by comparing the obtained voltage value with a standard value or a standard value range. For any display screen, if the power states of the first power interface and the second power interface are normal, the power states of the display screen are normal; if the power state of at least one of the first power interface and the second power interface is abnormal, the power state of the display screen is abnormal. Thus, the power state of the display screen may be determined by the state value of the state register of the first power interface and the voltage value of the second power interface of each display screen.
In some embodiments, power to each display is provided by six power supplies, IOVDD, VCI, DVDD, AVDD, ELVDD and ELVSS, respectively. IOVDD, VCI and DVDD are provided by PMU, and AVDD, ELVDD and ELVSS are provided by power IC. The first power interface includes an input/output power interface, a Display Driver IC (DDIC) power interface, and a power interface of a mobile industry processor interface (mobile industry processor interface, MIPI), the input/output power interface is an interface corresponding to the IOVDD, the Display Driver IC is an interface corresponding to the VCI, and the MIPI is an interface corresponding to the DVDD; the second power interface is an analog circuit power interface, an anode power interface or a cathode power interface, wherein the analog circuit power interface is an interface corresponding to AVDD, the anode power interface is an interface corresponding to ELVDD, and the cathode power interface is an interface corresponding to ELVSS. The power state of the first display screen is abnormal and comprises: the state values in any state registers of the input and output power interface of the first display screen, the power interface of the display driving chip and the power interface of the MIPI represent abnormality, or the voltage value of the second power interface of the first display screen does not belong to a normal range; the power state of the second display screen is normal and includes: the state values in all the state registers of the input and output power interfaces of the second display screen, the power interfaces of the display driving chip and the power interfaces of the MIPI are normal, and the voltage value of the second power interface of the second display screen does not belong to the normal range.
Specifically, for three power supplies, i.e., IOVDD, VCI, and DVDD, the state values in the corresponding state registers can be directly used to determine whether the power supply is normal or abnormal. For the three power supplies AVDD, ELVDD and ELVSS, if one power supply fails to be powered on, the three power supplies are powered off simultaneously, so that the voltage value corresponding to one power supply can be used for judging whether the three power supplies are normal or not.
In some embodiments, the second power interface is an anode power interface. For the three power supplies AVDD, ELVDD and ELVSS, ELVDD is powered on first, and ELVDD corresponds to a fixed voltage, so that it is more accurate to determine whether the three power supplies AVDD, ELVDD and ELVSS are normal according to the anode power interface. For example, the normal operating voltage corresponding to ELVDD is 4.6V, so that during the start-up, the voltage value of the anode power supply interface can be obtained, and if the difference from 4.6V is large, it is determined that the voltage value does not belong to the normal range.
In some embodiments, the above method further comprises: if the power state of the first display screen is normal and the power state of the second display screen is normal, the electronic equipment is set to be started in a mode that the first display screen and the second display screen are in double-screen display.
In some embodiments, as shown in fig. 2, the electronic device further comprises: the two first voltage dividing resistors are connected in series between the second power interface of the first display screen 1941 and the grounding end, and are R1 and R2 respectively; the two second voltage dividing resistors are connected in series between the second power interface of the second display screen 1942 and the ground end, and are respectively R3 and R4; in the process of acquiring the power state of the first display 1941 and the power state of the second display 1942, the voltage value of the second power interface of the first display 1941 is determined by the voltage value between the two first voltage dividing resistors R1, R2, and the voltage value of the second power interface of the second display 1942 is determined by the voltage value between the two second voltage dividing resistors R3, R4.
Specifically, the electronic device may obtain the partial pressure between R1 and R2 through a general purpose input output (General Purpose Input Output, GPIO) interface of the processor 110, and obtain the partial pressure between R3 and R4 through a GPIO interface. Since the voltage division proportion relation of the two first voltage division resistors R1 and R2 is determined, the voltage division proportion relation of the two second voltage division resistors R3 and R4 is determined, and the voltage of the anode power interface in normal operation is determined. For the second power interface, if it works normally, a fixed 4.6V voltage is output, and if the power supply is abnormal, no voltage is output. Therefore, if the voltage value detected through the GPIO interface falls within the preset range, the power supply is considered to be operating normally, and if the voltage value detected through the GPIO interface does not fall within the preset range, for example, is 0, the power supply is considered to be abnormal. For example, if the voltage detected by the GPIO interface is greater than a preset value, the GPIO interface outputs 1, i.e. the power supply is considered to be normal; and if the voltage detected by the GPIO interface is not greater than the preset value, outputting 0 by the GPIO interface, namely considering that the power supply is abnormal.
As shown in fig. 3, an example of a start-up procedure of the electronic device is described. In the starting process of the electronic equipment, two display screens are electrified, whether the state values in the state registers of the three power interfaces, namely the input power interface, the output power interface and the MIPI power interface, are normal is judged for each display screen, if not, the display screen is not registered if any state value in any one of the state registers is abnormal, if yes, the judgment that the voltage value of the second power interface of the display screen belongs to the normal range is continued, the first display screen is registered, if not, the first display screen is not registered, after whether each display screen is registered or not is determined, if both display screens are registered, the normal starting is performed, if one display screen is not registered, the starting is performed in a mode that the registered display screen is a single screen, and if both display screens are not registered, the power supply of both display screens is abnormal.
In some embodiments, the first display screen and the second display screen each have a mobile industry processor interface MIPI; the power state of the first display screen is abnormal and comprises: the state value in the state register of the first power interface of the first display screen represents an abnormality, or the voltage value of the second power interface of the first display screen does not belong to a normal range, or the state value in the state register of the MIPI represents an abnormality; the power state of the second display screen is normal and includes: the state value in the state register of the first power interface of the second display screen indicates normal, and the voltage value of the second power interface of the second display screen belongs to a normal range, and the state value in the state register of the MIPI indicates normal.
Specifically, the MIPI is an interface for transmitting display data, and besides the state value of the state register of the MIPI representing an abnormality due to communication, the state value of the state register of the MIPI representing an abnormality due to a power failure, so that the state value of the state register of the MIPI can be combined to assist in judging whether the power supply of the display screen is abnormal, thereby improving the accuracy of judging whether the power supply of the display screen is abnormal. That is, in the automatic process of the electronic device, if the status values in the status registers of the three power interfaces, i.e., the input/output power interface, the DDIC power interface, and the MIPI power interface, are all normal, the voltage value of the second power interface is in the normal range, and the status value of the status register of the MIPI is normal, the display screen is registered; if the state value in the state register of at least one of the three power interfaces of the input/output power interface, the DDIC power interface and the MIPI power interface is abnormal, or the voltage value of the second power interface does not belong to the normal range, or the state value of the state register of the MIPI is abnormal, the display screen is not registered. If one of the two displays is registered and the other is not registered, the registered display is started in a single-screen mode.
The embodiment of the application also provides a starting device of an electronic device, the electronic device comprises a first display screen and a second display screen, and the device comprises: the acquisition module is used for acquiring the power state of the first display screen and the power state of the second display screen after supplying power to the first display screen and the second display screen; and the starting module is used for setting the electronic equipment to be started in a mode of taking the second display screen as a single screen display if the power state of the first display screen is abnormal and the power state of the second display screen is normal.
The starting device can apply the starting method in any embodiment, and the specific process and principle are the same as those in the embodiment, and are not repeated here.
It should be understood that the above division of the starting device is merely a division of a logic function, and may be fully or partially integrated into a physical entity or may be physically separated when actually implemented. And these modules may all be implemented in software in the form of calls by the processing element; or can be realized in hardware; it is also possible that part of the modules are implemented in the form of software called by the processing element and part of the modules are implemented in the form of hardware. For example, any one of the acquisition module and the startup module may be a processing element that is set up separately, may be integrated in the startup device, for example, may be implemented in a certain chip of the startup device, or may be stored in a memory of the startup device in a program form, and the functions of the above modules may be called and executed by a certain processing element of the startup device. The implementation of the other modules is similar. In addition, all or part of the modules can be integrated together or can be independently implemented. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in a software form.
For example, the acquisition module and the start module may be one or more integrated circuits configured to implement the above methods, such as: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC), or one or more microprocessors (digital singnal processor, DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, FPGA), or the like. For another example, when a module above is implemented in the form of a processing element scheduler, the processing element may be a general purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
The embodiment of the application also provides electronic equipment, which comprises: a first display screen and a second display screen; the electronic device comprises a processor and a memory for storing at least one instruction which, when loaded and executed by the processor, causes the electronic device to perform the start-up method of any of the embodiments described above. The electronic device may be the electronic device 100 described above, and the specific structure and the working principle are not described again.
The present application also provides a computer-readable storage medium in which a computer program is stored which, when run on a computer, causes the computer to perform the start-up method in any of the above embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk), etc.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relation of association objects, and indicates that there may be three kinds of relations, for example, a and/or B, and may indicate that a alone exists, a and B together, and B alone exists. Wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of the following" and the like means any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
The foregoing is merely a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and variations may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims (8)
1. A method for starting an electronic device, wherein the electronic device includes a first display screen and a second display screen, the method comprising:
in the starting process of the electronic equipment, after power is supplied to the first display screen and the second display screen, acquiring the power state of the first display screen and the power state of the second display screen;
if the power state of the first display screen is abnormal and the power state of the second display screen is normal, the electronic equipment is set to be started in a mode that the second display screen is used for single-screen display;
the first display screen and the second display screen are respectively provided with a first power interface and a second power interface;
the obtaining the power state of the first display screen and the power state of the second display screen includes:
acquiring state values in a state register of a first power interface of the first display screen and a state register of a second power interface of the second display screen, and acquiring voltage values of the second power interfaces of the first display screen and the second display screen;
the first power interface comprises an input/output power interface, a display driving chip power interface and a power interface of a mobile industry processor interface MIPI;
the power state of the first display screen is abnormal and comprises: the state values in any state registers of the input/output power interface, the display driving chip power interface and the MIPI power interface of the first display screen represent abnormality, or the voltage value of the second power interface of the first display screen does not belong to a normal range;
the power state of the second display screen is normal and comprises: the state values in all the state registers of the input and output power interfaces of the second display screen, the power interfaces of the display driving chip and the power interfaces of the MIPI are normal, and the voltage value of the second power interface of the second display screen belongs to a normal range.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the second power interface is an analog circuit power interface, an anode power interface or a cathode power interface.
3. A method according to claim 1 or 2, characterized in that,
the first display screen and the second display screen are provided with a mobile industry processor interface MIPI;
if the state value in the MIPI state register of the first display screen represents abnormality, the power supply state of the first display screen is abnormal;
when the state value in the state register of the first power interface of the second display screen is normal, and the voltage value of the second power interface of the second display screen belongs to a normal range, if the state value in the state register of the MIPI of the second display screen is normal, the power state of the second display screen is normal.
4. The method according to claim 1 or 2, further comprising:
if the power state of the first display screen is normal, and the power state of the second display screen is normal, the electronic equipment is set to be started in a mode that the first display screen and the second display screen are in double-screen display.
5. The method of claim 2, wherein the step of determining the position of the substrate comprises,
when the second power interface is the anode power interface, the electronic device further includes:
two first voltage dividing resistors connected in series between the second power interface of the first display screen and a grounding end;
the two second voltage-dividing resistors are connected in series between the second power interface of the second display screen and the grounding end;
and in the process of acquiring the power supply state of the first display screen and the power supply state of the second display screen, the voltage value of the second power supply interface of the first display screen is determined by the voltage value between the two first voltage dividing resistors, and the voltage value of the second power supply interface of the second display screen is determined by the voltage value between the two second voltage dividing resistors.
6. An apparatus for starting an electronic device, wherein the electronic device includes a first display screen and a second display screen, the apparatus comprising:
the acquisition module is used for acquiring the power supply state of the first display screen and the power supply state of the second display screen after supplying power to the first display screen and the second display screen in the starting process of the electronic equipment;
the starting module is used for setting the electronic equipment to be started in a mode that the second display screen is used for displaying a single screen if the power state of the first display screen is abnormal and the power state of the second display screen is normal;
the first display screen and the second display screen are respectively provided with a first power interface and a second power interface;
the acquisition module is specifically configured to acquire a state value in a state register of a first power interface of the first display screen and a state value in a state register of a second power interface of the second display screen, and acquire a voltage value of the second power interface of the first display screen and the second display screen;
the first power interface comprises an input power interface, an output power interface, a display driving chip power interface and a power interface of a mobile industry processor interface MIPI;
the power state of the first display screen is abnormal and comprises: the state values in any state registers of the input/output power interface, the display driving chip power interface and the MIPI power interface of the first display screen represent abnormality, or the voltage value of the second power interface of the first display screen does not belong to a normal range;
the power state of the second display screen is normal and comprises: the state values in all the state registers of the input and output power interfaces of the second display screen, the power interfaces of the display driving chip and the power interfaces of the MIPI are normal, and the voltage value of the second power interface of the second display screen belongs to a normal range.
7. An electronic device, comprising:
a first display screen and a second display screen;
a processor and a memory for storing at least one instruction that, when loaded and executed by the processor, causes the electronic device to perform the method of any one of claims 1 to 5.
8. A computer readable storage medium comprising a program or instructions which, when run on a computer, performs the method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311152619.XA CN116886818B (en) | 2023-09-08 | 2023-09-08 | Electronic equipment starting method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311152619.XA CN116886818B (en) | 2023-09-08 | 2023-09-08 | Electronic equipment starting method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116886818A CN116886818A (en) | 2023-10-13 |
CN116886818B true CN116886818B (en) | 2024-04-12 |
Family
ID=88260934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311152619.XA Active CN116886818B (en) | 2023-09-08 | 2023-09-08 | Electronic equipment starting method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116886818B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740107A (en) * | 2016-05-04 | 2016-07-06 | 刘其锋 | Redundancy technique based on multiple layers of display screen |
CN109284078A (en) * | 2018-10-16 | 2019-01-29 | 维沃移动通信有限公司 | A kind of control method and mobile terminal of double-sided screen |
CN211280643U (en) * | 2019-11-19 | 2020-08-18 | 上海赫千电子科技有限公司 | Standby display system for vehicle instrument |
CN111866560A (en) * | 2020-07-16 | 2020-10-30 | 深圳创维-Rgb电子有限公司 | Terminal control method, terminal, electronic equipment and readable storage medium |
CN113377315A (en) * | 2021-06-29 | 2021-09-10 | 广州小鹏汽车科技有限公司 | Multi-screen management method and device, electronic equipment and storage medium |
CN116820293A (en) * | 2023-06-30 | 2023-09-29 | 荣耀终端有限公司 | Display control method and electronic equipment |
-
2023
- 2023-09-08 CN CN202311152619.XA patent/CN116886818B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740107A (en) * | 2016-05-04 | 2016-07-06 | 刘其锋 | Redundancy technique based on multiple layers of display screen |
CN109284078A (en) * | 2018-10-16 | 2019-01-29 | 维沃移动通信有限公司 | A kind of control method and mobile terminal of double-sided screen |
CN211280643U (en) * | 2019-11-19 | 2020-08-18 | 上海赫千电子科技有限公司 | Standby display system for vehicle instrument |
CN111866560A (en) * | 2020-07-16 | 2020-10-30 | 深圳创维-Rgb电子有限公司 | Terminal control method, terminal, electronic equipment and readable storage medium |
CN113377315A (en) * | 2021-06-29 | 2021-09-10 | 广州小鹏汽车科技有限公司 | Multi-screen management method and device, electronic equipment and storage medium |
CN116820293A (en) * | 2023-06-30 | 2023-09-29 | 荣耀终端有限公司 | Display control method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN116886818A (en) | 2023-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018021830A1 (en) | Electronic device and operation control method of electronic device | |
WO2019227953A1 (en) | Organic light-emitting display device driving method, drive controller and display device | |
US9990885B2 (en) | Throttling power consumption based on a current draw of an organic light emitting diode (OLED) | |
CN112466253B (en) | Display judgment method, device, equipment and storage medium | |
CN101373589A (en) | Display control method used in a display apparatus, and display apparatus | |
CN106557391A (en) | Display screen processing method and processing device | |
US11556195B2 (en) | Input-display device with shared memory | |
WO2022037495A1 (en) | Display screen anomaly recovery method and apparatus, computer device, and storage medium | |
CN109147701B (en) | Display control structure, display control method, display substrate and display device | |
CN112530360A (en) | Display controller, operation method thereof and display system | |
US11030927B2 (en) | Method of performing a sensing operation in an organic light emitting diode display device, and organic light emitting diode display device | |
CN116886818B (en) | Electronic equipment starting method and device, electronic equipment and storage medium | |
US9442546B2 (en) | Computing system and method for respectively displaying information corresponding to host computer under booting state or standby state | |
WO2023065601A1 (en) | Server component self-test anomaly recovery method and device, system, and medium | |
US20160342800A1 (en) | Electronic device and hard disk device of electronic device | |
CN113241035B (en) | Drive control circuit, drive method, shift register and display device | |
US8037001B2 (en) | Determining corrective actions using a geometrically-based determination of sufficient confidence | |
US8495353B2 (en) | Method and circuit for resetting register | |
CN116820293B (en) | Display control method and electronic equipment | |
US9652259B2 (en) | Apparatus and method for managing register information in a processing system | |
TWI718913B (en) | Display method | |
CN111045876A (en) | Splash screen detection method and device, storage medium and electronic equipment | |
US11508273B2 (en) | Built-in test of a display driver | |
CN114844179B (en) | Electronic device and electricity meter resetting method | |
CN116360886A (en) | Startup display method, device, equipment and storage medium of electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |