CN113835503A - Method and device for controlling display mode switching, electronic equipment and storage medium - Google Patents

Method and device for controlling display mode switching, electronic equipment and storage medium Download PDF

Info

Publication number
CN113835503A
CN113835503A CN202010589073.4A CN202010589073A CN113835503A CN 113835503 A CN113835503 A CN 113835503A CN 202010589073 A CN202010589073 A CN 202010589073A CN 113835503 A CN113835503 A CN 113835503A
Authority
CN
China
Prior art keywords
processor
voltage pin
data
display mode
display screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010589073.4A
Other languages
Chinese (zh)
Other versions
CN113835503B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010589073.4A priority Critical patent/CN113835503B/en
Publication of CN113835503A publication Critical patent/CN113835503A/en
Application granted granted Critical
Publication of CN113835503B publication Critical patent/CN113835503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The disclosure relates to a method and a device for controlling display mode switching, an electronic device and a storage medium. The electronic device comprises a processor and a display screen; the processor comprises a preset first voltage pin and a preset second voltage pin, and the first voltage pin of the processor is connected with the display screen through a first power line; a second voltage pin of the processor is connected with the display screen through a second power line; the processor is configured to adjust potentials of the first voltage pin and the second voltage pin, so that the display screen is switched from a current display mode to a target display mode according to the potentials of the first power line and the second power line. In this embodiment, the processor may directly output the voltage required by the display screen, so that the mode switching instruction and the voltage switching are kept synchronous, and the current display mode and the target display mode are reliably switched.

Description

Method and device for controlling display mode switching, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of control technologies, and in particular, to a method and an apparatus for controlling display mode switching, an electronic device, and a storage medium.
Background
Currently, some smart phones are provided with an underscreen fingerprint unlocking function. When the fingerprint unlocking function is started, a highlight area is formed in a finger pressing area of a display screen of the smart phone, and the display screen works in an FOD (finger print on display) mode at the moment. Then, detecting the highlighted area may obtain the fingerprint of the finger and unlock the display screen.
Referring to fig. 1, a smart phone in the related art adopts the following power supply scheme:
when the mode is switched from the normal display mode (AOD) to the FOD mode, the processor AP sends a mode switching instruction to the driver chip DDIC, and the driver chip DDIC sends a switch control signal to the power management chip PMIC, so as to achieve the effect of controlling the voltage of the light emitting diode.
However, the inventors found that: referring to fig. 2, the processor AP sends a mode switching command to the driver chip DDIC, and at least waits for one frame, that is, there is a time delay t 3; the driving chip DDIC sends out the wire control signal until the voltage switching is completed, and at least the time of waiting for another frame is needed, that is, there is a time delay t 4; the driving chip DDIC sends out SWIRE control signals to the power management chip PMIC to control the voltage switching. Thus, in a scenario of fast switching between the AOD mode and the FOD mode, if the mode switching command is too fast, the mode switching command may occur within a delay time period, so that the PMIC switching voltage of the power management chip is not timely, resulting in an error that the AOD mode is high brightness or the FOD mode is low brightness.
Disclosure of Invention
The present disclosure provides a method and apparatus for controlling display mode switching, an electronic device, and a storage medium, to solve the deficiencies of the related art.
According to a first aspect of embodiments of the present disclosure, there is provided an electronic device comprising a processor and a display screen; the processor comprises a preset first voltage pin and a preset second voltage pin, and the first voltage pin of the processor is connected with the display screen through a first power line; a second voltage pin of the processor is connected with the display screen through a second power line;
the processor is configured to adjust potentials of the first voltage pin and the second voltage pin, so that the display screen is switched from a current display mode to a target display mode according to the potentials of the first power line and the second power line.
Optionally, the processor is further configured to obtain detection data, and adjust the potentials of the first voltage pin and the second voltage pin when the detection data satisfies a trigger condition,
wherein the detection data satisfying the trigger condition includes any one of: and detecting a first trigger operation for indicating switching to the target display mode, and detecting a second trigger operation for indicating exiting the current display mode.
Optionally, the current display mode comprises one of an AOD mode and a FOD mode, and the target display mode comprises the other of the AOD mode and the FOD mode;
the first trigger operation includes one of an operation of touching the screen with a finger and an operation of leaving the screen with a finger; the second trigger operation includes the other of the operation of touching the screen with the finger and the operation of leaving the screen with the finger.
Optionally, the electronic device further comprises an optical sensor disposed below the display screen; the optical sensor is connected with the processor;
the optical sensor is used for acquiring light sensation data of external environment light in an area corresponding to the display screen and sending the light sensation data to the processor;
the processor is further used for comparing the light sensation data with a preset light sensation threshold value, and determining that the first trigger operation is detected when the light sensation data is smaller than or equal to the light sensation threshold value; and/or determining that the second trigger operation is detected when the light sensation data is greater than the light sensation threshold and the previous light sensation data of the light sensation data is less than or equal to the light sensation threshold.
Optionally, the electronic device further comprises a pressure sensor disposed below the display screen; the pressure sensor is connected with the processor;
the pressure sensor is used for acquiring pressure data when a corresponding area of the display screen is pressed and sending the pressure data to the processor;
the processor is further configured to compare the pressure data with a preset pressure data threshold, determine that the first trigger operation is detected when the pressure data is less than or equal to the pressure data threshold, and/or determine that the second trigger operation is detected when the pressure data is greater than the pressure data threshold and a previous pressure data of the pressure data is less than the pressure data threshold.
Optionally, the processor includes a power management unit and a controller, the controller is connected to the power management unit, and the power management unit is connected to the first voltage pin and the second voltage pin respectively;
the controller is used for generating a mode switching instruction when the detection data meet the trigger condition and sending the mode switching instruction to the power supply management unit;
and the power supply management unit is used for calculating the voltage required by the target display mode according to the mode switching instruction and adjusting the potentials of the first voltage pin and the second voltage pin according to the required voltage.
Optionally, the electronic device further includes a driving chip; the driving chip is connected with a preset third voltage pin of the processor through a third power line, and the processor supplies power to the driving chip.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for controlling display mode switching, which is applied to the electronic device of the first aspect, the method including:
acquiring detection data;
when the detection data are determined to meet the trigger condition, the potentials of a first voltage pin and a second voltage pin of a processor in the electronic equipment are respectively adjusted, so that the display screen is switched from the current display mode to the target display mode.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling display mode switching, which is applied to the electronic device of the first aspect, the apparatus includes:
the detection data acquisition module is used for acquiring detection data;
and the display mode switching module is used for respectively adjusting the electric potentials of a first voltage pin and a second voltage pin of a processor in the electronic equipment when the detection data are determined to meet the trigger condition, so that the display screen is switched from the current display mode to the target display mode.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing a computer program executable by the processor;
the processor is configured to execute the computer program in the memory to implement the steps of the method of the second aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon an executable computer program which, when executed, performs the steps of the method of the second aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
it can be known from the foregoing embodiment that, in the embodiment of the present disclosure, the processor may preset the first voltage pin and the second voltage pin, where the first voltage pin is connected to the display screen through the first power line, and the second voltage pin is connected to the display screen through the second power line, so that the processor may adjust the power supply voltage of the display screen by adjusting the potentials of the first voltage pin and the second voltage pin, so as to switch the display screen from the current display mode to the target display mode. In this embodiment, the processor may directly output the voltage required by the display screen, so that the mode switching instruction and the voltage switching are kept synchronous, and the current display mode and the target display mode are reliably switched.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a block diagram of an electronic device in the related art.
Fig. 2 is a waveform diagram of a power supply timing in the related art.
FIG. 3 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Fig. 4 is a flowchart illustrating a method of controlling display mode switching according to an exemplary embodiment.
FIG. 5 is a waveform diagram illustrating a processor power sequence in accordance with an exemplary embodiment.
Fig. 6 is a flowchart illustrating a method of controlling display mode switching according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus for controlling display mode switching according to an exemplary embodiment.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The following exemplary described embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure as recited in the claims below.
In the related art, there is a delay between the processor in the electronic device issuing the mode switching command and the power management chip completing the voltage switching. For example, when the switching command occurs in a delayed time period, the power management chip PMIC switching voltage is not timely, which may cause an error that the AOD mode is high brightness or the FOD mode is low brightness.
In order to solve the above technical problem, embodiments of the present disclosure provide a method and apparatus for controlling display mode switching, an electronic device, and a storage medium, fig. 3 is a block diagram of an electronic device according to an exemplary embodiment, and referring to fig. 3, an electronic device is disclosed, which includes a processor 10 and a display 20. The processor 10 includes a preset first voltage pin P1 and a preset second voltage pin P2, the first voltage pin P1 of the processor 10 is connected to the display screen 20 through a first power line (e.g., which may be labeled as ELVDD); the second voltage pin P2 of the processor 10 is connected to the display screen 20 via a second power line (e.g., which may be labeled ELVSS).
And the processor 10 is used for adjusting the potentials of the first voltage pin P1 and the second voltage pin P2 so that the display screen 20 is switched from the current display mode to the target display mode according to the potentials on the first power line and the second power line.
In one example, the current display mode and the target display mode may be any two different display modes of the electronic device, and the two display modes support unidirectional switching or bidirectional switching. For example, the switching of the current display mode to the target display mode may be one and the other of the AOD mode and the FOD mode.
In one example, processor 10 includes a controller 11 and a power management unit 12. The controller 11 may be implemented by a microprocessor, a digital processing chip, or a chip or a circuit with a processing function, such as a single chip, and is configured to send a mode switching instruction to the power management unit 12 when a trigger condition is met. The power management unit 12 may be implemented using a power management chip or a power management circuit. The power management unit 12 is connected to the controller 11, and is configured to calculate a voltage required by the target display mode according to the mode switching command, and adjust the potentials of the first voltage pin P1 and the second voltage pin P2 according to the required voltage. During specific implementation, the power management unit can also preset the required potential in the target display mode, and when a mode switching instruction is received, the required potential can be obtained by directly looking up a table. In addition, the power management unit 12 supplies power to the controller 11 in addition to the display 20.
In one embodiment, the controller 11 and the power management unit 12 may be integrated together and the first voltage pin P1, the second voltage pin P2, and the third voltage pin P3 are reserved when packaged, thereby facilitating subsequent electrical connection.
In an example, the processor 10 may also acquire the detection data before determining to adjust the potentials of the first and second voltage pins P1 and P2, and determine whether to adjust the potentials of the first and second voltage pins P1 and P2 based on whether the detection data satisfies the trigger condition. The detection data meeting the trigger condition may include any one of the following: a first trigger operation for instructing switching to a target display mode is detected, and a second trigger operation for instructing exiting from a current display mode is detected.
In one example, the current display mode of the display screen 20 includes one of an AOD mode and a FOD mode, and the target display mode includes the other of the AOD mode and the FOD mode; namely, switching from the current display mode to the target mode includes: switching from the AOD mode to the FOD mode or switching from the FOD mode to the AOD mode. In this example, the first trigger operation may include one of an operation of touching the screen with a finger and an operation of leaving the screen with a finger, and the second trigger operation may include the other of the operation of touching the screen with a finger and the operation of leaving the screen with a finger.
In an example, the electronic device may further include a component for acquiring the detection data, such as an optical sensor, a pressure sensor, or an operation key, and the technician may set the component according to a specific scenario, which is not limited herein.
Taking the sensed data as the light sensing data obtained by the optical sensor as an example, the electronic device may further include an optical sensor (not shown) disposed below the display screen 20. The optical sensor can be used for detecting external environment light in a corresponding area of the display screen to obtain light sensing data, and then sending the light sensing data to the processor 10 connected with the light sensing data.
Taking the current display mode of the display panel 20 as the AOD mode as an example, the processor 10 may compare the light sensing data with a preset light sensing threshold, and when the light sensing data is smaller than or equal to the light sensing threshold, it indicates that the operation of touching the display panel 20 by a finger is detected, that is, the processor 10 may determine that the first trigger operation is detected, that is, it determines that the detected data satisfies the trigger condition, and at this time, the processor 10 may generate a mode switching instruction and adjust the potentials of the first voltage pin P1 and the second voltage pin P2.
The light sensation threshold may be set according to a specific scene, for example, the light sensation threshold may be set to 0-0.5 in the case of a black box, and considering that light emitted from the display screen may be reflected by a finger to become a part of external environment light in the AOD display mode, the light sensation threshold may be set to 3-10, and it is understood that the above setting is merely exemplary. For another example, in a specific implementation, considering that when a finger presses a display screen, external ambient light inevitably decreases, the light sensation data that decreases to a certain degree is used as the light sensation threshold, or the average value of a plurality of historical light sensation data before the current light sensation data is compensated and used as the light sensation threshold.
When the light sensation data is greater than the light sensation threshold, the processor 10 may further obtain a comparison result between previous light sensation data of the current light sensation data and the light sensation threshold, and when the comparison result indicates that the previous light sensation data is less than or equal to the light sensation threshold, it indicates that the operation of the finger leaving the display screen is detected, that is, the second trigger operation is detected. The processor 10 may determine that the detection data satisfies the trigger condition, generate a mode switching instruction, and adjust the potentials of the first and second voltage pins P1 and P2. The processor may periodically poll the light sensing data, for example, the light sensing data is acquired at intervals T, each time the light sensing data is detected as a detection node, and the previous light sensing data is the light sensing data detected by the previous detection node before the detection node that detects the current light sensing data.
It can be understood that, when the current display mode of the display screen 20 is the FOD mode, the first trigger operation is changed to the second trigger operation, and the principle of the trigger operation is opposite, which is not described herein again.
Taking the detected data as pressure data obtained by the pressure sensor as an example, the electronic device further includes a pressure sensor (not shown in the figure) disposed below the display screen 20, or the display screen is a touch-sensitive display screen. The pressure sensor may be used to detect pressure data of external pressure on a corresponding area of the display screen and then transmit the pressure data to the processor 10 connected thereto.
Taking the current display mode of the display screen 20 as the AOD mode as an example, the processor 10 may compare the pressure data with a preset pressure threshold, and when the pressure data is greater than the pressure threshold, it indicates that the operation of touching the display screen 20 by a finger is detected, that is, the processor 10 may determine that the first trigger operation is detected, that is, it is determined that the detected data satisfies the trigger condition, and at this time, the processor 10 may generate the mode switching instruction and adjust the potentials of the first voltage pin P1 and the second voltage pin P2. When the pressure data is smaller than the pressure threshold, the processor 10 may further obtain a comparison result between previous pressure data of the current pressure data and the pressure threshold, and when the comparison result indicates that the previous pressure data is larger than the pressure threshold, it indicates that the operation of moving the finger away from the display screen is detected, that is, the second trigger operation is detected. The processor 10 may determine that the detection data satisfies the trigger condition, generate a mode switching instruction, and adjust the potentials of the first and second voltage pins P1 and P2. When the comparison result indicates that the previous pressure data is smaller than the pressure threshold value, the condition that the finger does not touch the display screen is detected, namely the first trigger operation is not detected. The processor may periodically poll to obtain the pressure data, for example, obtain the pressure data once every time interval t, and obtain the pressure data once every time of detection as a detection node, where the previous pressure data is the pressure data detected by the previous detection node before the detection node that detected the current pressure data.
It can be understood that, when the current display mode of the display screen 20 is the FOD mode, the first trigger operation is changed to the second trigger operation, and the principle of the trigger operation is opposite, which is not described herein again.
It should be noted that, the electronic device may further include an optical sensor and a pressure sensor, so that the detection data may include light sensing data and pressure data, and the processor may determine whether the light sensing data and the pressure data satisfy the trigger condition according to the light sensing data and the pressure data, respectively. In specific implementation, one main component and the other auxiliary component can be further arranged, so that when judgment results conflict, the results determined by the detection data of the main component are processed.
In an example, the electronic device further includes a driving chip DDIC, and the driving chip provides a pixel voltage and a gate switching signal required by each light emitting diode. In this example, the processor 10 may supply power to the driving chip through the third power line AVDD through the third voltage pin P3.
The operation of the electronic device shown in fig. 3 is described below, fig. 4 is a flowchart illustrating a process of controlling display mode switching according to an exemplary embodiment, and fig. 5 is a waveform diagram illustrating a processor power timing according to an exemplary embodiment, referring to fig. 4 and 5:
when the current display mode is the AOD mode, an optical sensor in the electronic device senses external ambient light in real time or periodically to obtain light sensing data, and sends the light sensing data to the processor. After the processor obtains the light sensation data, the light sensation data can be compared with a preset light sensation threshold value; when the light sensation data is smaller than or equal to the light sensation threshold, the processor can determine that a first trigger operation that a finger touches the display screen is detected, determine that the light sensation data meets the trigger condition, and otherwise determine that the light sensation data does not meet the trigger condition.
When it is determined that the light sensing data satisfies the trigger condition, the processor adjusts the potentials of the first voltage pin P1 and the second voltage pin P2, and a scenario of keeping the potential of P1 constant is shown in fig. 5.
In one embodiment, a controller in the processor determines whether the light-sensing data meets a trigger condition, and when the trigger condition is met, the controller sends a mode switching instruction to the power management unit. The power supply management unit acquires the voltage required by each light-emitting diode in the display screen and adjusts the potentials of the first voltage pin and the second voltage pin. The processor and the driving chip cooperate with each other to provide required anode and cathode voltages for each light emitting diode, so that the effect of switching to a target switching mode, namely an FOD mode, is achieved, namely, a light spot area with higher brightness is displayed at a preset position in the display screen. Finally, the electronic device can detect the fingerprint of the finger by using the light spot area, and perform operations such as fingerprint unlocking and the like, and the related technology can be referred to in the scheme of fingerprint unlocking, which is not described in detail herein.
In one embodiment, when the current display mode is the FOD mode, the optical sensor in the electronic device senses external ambient light in real time or periodically to obtain light sensing data, and sends the light sensing data to the processor. After the processor obtains the light sensation data, the light sensation data can be compared with a preset light sensation threshold value; when the light sensation data is larger than the light sensation threshold and the previous light sensation data is smaller than or equal to the light sensation threshold, the processor can determine that a second trigger operation that the finger leaves the display screen is detected, and determine that the light sensation data meets the trigger condition, otherwise, determine that the light sensation data does not meet the trigger condition.
When the light sensing data meet the triggering conditions, the processor adjusts the potentials of the first voltage pin P1 and the second voltage pin P2, and the processor and the driving chip cooperate to provide the required anode voltage and cathode voltage for each light emitting diode, so that the effect of switching to the target switching mode, namely the AOD mode, for displaying is achieved.
Therefore, in the embodiment of the present disclosure, a first voltage pin and a second voltage pin may be preset on the processor, the first voltage pin is connected to the display screen through a first power line, and the second voltage pin is connected to the display screen through a second power line, so that the processor may adjust the power supply voltage of the display screen by adjusting the potentials of the first voltage pin and the second voltage pin, so as to switch the display screen from the current display mode to the target display mode. In this embodiment, the processor may directly output the voltage required by the display screen, so that the mode switching instruction and the voltage switching are kept synchronous, and the current display mode and the target display mode are reliably switched.
On the basis of the above electronic device, an embodiment of the present disclosure further provides a method for controlling display mode switching, referring to fig. 6, where the method includes:
in step 61, acquiring detection data;
in step 62, when it is determined that the detection data meets the trigger condition, adjusting the potentials of a first voltage pin and a second voltage pin of a processor in the electronic device, respectively, so as to switch the display screen from the current display mode to the target display mode.
Optionally, whether the detection data meets the trigger condition may be determined by one of the following ways: if a first trigger operation for indicating switching to the target display mode is detected, determining that the detection data meets a trigger condition; and if a second trigger operation for indicating to exit the current display mode is detected, determining that the detection data meets a trigger condition.
Optionally, whether the detection data meets the trigger condition may be determined by one of the following ways: determining whether a first trigger operation for instructing switching to the target display mode is detected; determining whether a second trigger operation is detected to indicate exiting the current display mode.
Optionally, the current display mode includes one of an AOD mode and a FOD mode, and the target display mode includes the other of the AOD mode and the FOD mode. Whether the first trigger operation or the second trigger operation is detected may be determined by one of: it is determined whether an operation of touching the screen with a finger or an operation of leaving the screen with a finger is detected.
Optionally, whether the first trigger operation or the second trigger operation is detected may be determined by: acquiring light sensation data of external environment light of a region corresponding to the display screen; comparing the light sensation data with a preset light sensation threshold value, and determining that the first trigger operation is detected when the light sensation data is smaller than or equal to the light sensation threshold value; and the second trigger operation is determined to be detected when the light sensation data is larger than the light sensation threshold and the previous light sensation data of the light sensation data is smaller than or equal to the light sensation threshold.
Optionally, whether the first trigger operation or the second trigger operation is detected may be determined by: acquiring pressure data when a corresponding area of a display screen is pressed; comparing the pressure data with a preset pressure data threshold, and determining that the first trigger operation is detected when the pressure data is smaller than or equal to the pressure data threshold; determining that the second trigger operation is detected when the pressure data is greater than the pressure data threshold and a previous one of the pressure data is less than the pressure data threshold.
In the embodiment of the disclosure, a first voltage pin and a second voltage pin may be preset on the processor, the first voltage pin is connected to the display screen through a first power line, and the second voltage pin is connected to the display screen through a second power line, so that the processor may adjust the power supply voltage of the display screen by adjusting the potentials of the first voltage pin and the second voltage pin, thereby switching the display screen from the current display mode to the target display mode. In this embodiment, the processor may directly output the voltage required by the display screen, so that the mode switching instruction and the voltage switching are kept synchronous, and the current display mode and the target display mode are reliably switched.
On the basis of the method for controlling display mode switching, an embodiment of the present disclosure further provides an apparatus for controlling display mode switching, referring to fig. 7, where the apparatus includes:
a detection data acquisition module 71 for acquiring detection data;
and a display mode switching module 72, configured to respectively adjust potentials of a first voltage pin and a second voltage pin of a processor in the electronic device when it is determined that the detection data meets a trigger condition, so as to switch the display screen from a current display mode to a target display mode.
It can be understood that the apparatuses provided in the embodiments of the present disclosure correspond to the embodiments of the methods described above, and specific contents may refer to the contents of the embodiments of the methods, which are not described herein again.
In the embodiment of the disclosure, a first voltage pin and a second voltage pin may be preset on the processor, the first voltage pin is connected to the display screen through a first power line, and the second voltage pin is connected to the display screen through a second power line, so that the processor may adjust the power supply voltage of the display screen by adjusting the potentials of the first voltage pin and the second voltage pin, thereby switching the display screen from the current display mode to the target display mode. In this embodiment, the processor may directly output the voltage required by the display screen, so that the mode switching instruction and the voltage switching are kept synchronous, and the current display mode and the target display mode are reliably switched.
FIG. 8 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 800 may be a smartphone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 8, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, communication component 816, and image capture component 818.
The processing component 802 generally operates the entirety of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute computer programs. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include computer programs for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800. The power supply module 806 may include a power chip, and the controller may communicate with the power chip to control the power chip to turn the switching device on or off to allow the battery to supply power to the motherboard circuitry or not.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the target object. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or one of the components, the presence or absence of a target object in contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 816 further includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components.
In an exemplary embodiment, a non-transitory readable storage medium is also provided, such as the memory 804 including instructions, that includes an executable computer program that is executable by the processor. The readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. An electronic device comprising a processor and a display screen; the processor comprises a preset first voltage pin and a preset second voltage pin, and the first voltage pin of the processor is connected with the display screen through a first power line; a second voltage pin of the processor is connected with the display screen through a second power line;
the processor is configured to adjust potentials of the first voltage pin and the second voltage pin, so that the display screen is switched from a current display mode to a target display mode according to the potentials of the first power line and the second power line.
2. The electronic device of claim 1, wherein the processor is further configured to obtain detection data and adjust the potentials of the first voltage pin and the second voltage pin when the detection data satisfies a trigger condition,
wherein the detection data satisfying the trigger condition includes any one of: and detecting a first trigger operation for indicating switching to the target display mode, and detecting a second trigger operation for indicating exiting the current display mode.
3. The electronic device of claim 2, wherein the current display mode comprises one of an AOD mode and a FOD mode, and wherein the target display mode comprises the other of the AOD mode and the FOD mode;
the first trigger operation includes one of an operation of touching the screen with a finger and an operation of leaving the screen with a finger; the second trigger operation includes the other of the operation of touching the screen with the finger and the operation of leaving the screen with the finger.
4. The electronic device of claim 3, further comprising an optical sensor disposed below the display screen; the optical sensor is connected with the processor;
the optical sensor is used for acquiring light sensation data of external environment light in an area corresponding to the display screen and sending the light sensation data to the processor;
the processor is further used for comparing the light sensation data with a preset light sensation threshold value, and determining that the first trigger operation is detected when the light sensation data is smaller than or equal to the light sensation threshold value; and/or determining that the second trigger operation is detected when the light sensation data is greater than the light sensation threshold and the previous light sensation data of the light sensation data is less than or equal to the light sensation threshold.
5. The electronic device of claim 3, further comprising a pressure sensor disposed below the display screen; the pressure sensor is connected with the processor;
the pressure sensor is used for acquiring pressure data when a corresponding area of the display screen is pressed and sending the pressure data to the processor;
the processor is further configured to compare the pressure data with a preset pressure data threshold, determine that the first trigger operation is detected when the pressure data is less than or equal to the pressure data threshold, and/or determine that the second trigger operation is detected when the pressure data is greater than the pressure data threshold and a previous pressure data of the pressure data is less than the pressure data threshold.
6. The electronic device of claim 2, wherein the processor comprises a power management unit and a controller, the controller being connected to the power management unit, the power management unit being connected to the first voltage pin and the second voltage pin, respectively;
the controller is used for generating a mode switching instruction when the detection data meet the trigger condition and sending the mode switching instruction to the power supply management unit;
and the power supply management unit is used for calculating the voltage required by the target display mode according to the mode switching instruction and adjusting the potentials of the first voltage pin and the second voltage pin according to the required voltage.
7. The electronic device of claim 1, further comprising a driver chip; the driving chip is connected with a preset third voltage pin of the processor through a third power line, and the processor supplies power to the driving chip.
8. A method for controlling display mode switching, applied to an electronic device according to any one of claims 1 to 7, the method comprising:
acquiring detection data;
when the detection data are determined to meet the trigger condition, the potentials of a first voltage pin and a second voltage pin of a processor in the electronic equipment are respectively adjusted, so that the display screen is switched from the current display mode to the target display mode.
9. An apparatus for controlling display mode switching, applied to the electronic device of any one of claims 1 to 7, the apparatus comprising:
the detection data acquisition module is used for acquiring detection data;
and the display mode switching module is used for respectively adjusting the electric potentials of a first voltage pin and a second voltage pin of a processor in the electronic equipment when the detection data are determined to meet the trigger condition, so that the display screen is switched from the current display mode to the target display mode.
10. An electronic device, comprising:
a processor;
a memory for storing a computer program executable by the processor;
the processor is configured to execute the computer program in the memory to implement the steps of the method of claim 8.
11. A computer-readable storage medium, on which an executable computer program is stored, characterized in that the computer program, when executed, performs the steps of the method of claim 8.
CN202010589073.4A 2020-06-24 2020-06-24 Method and device for controlling display mode switching, electronic equipment and storage medium Active CN113835503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010589073.4A CN113835503B (en) 2020-06-24 2020-06-24 Method and device for controlling display mode switching, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010589073.4A CN113835503B (en) 2020-06-24 2020-06-24 Method and device for controlling display mode switching, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113835503A true CN113835503A (en) 2021-12-24
CN113835503B CN113835503B (en) 2024-04-12

Family

ID=78964603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010589073.4A Active CN113835503B (en) 2020-06-24 2020-06-24 Method and device for controlling display mode switching, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113835503B (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102938609A (en) * 2012-10-19 2013-02-20 北京小米科技有限责任公司 Power supply management module and terminal processor
CN103578397A (en) * 2012-08-08 2014-02-12 三星显示有限公司 Driving apparatus of display panel and display device including the same
CN105976756A (en) * 2016-07-22 2016-09-28 京东方科技集团股份有限公司 Power supply chip and display device
CN106537583A (en) * 2014-07-03 2017-03-22 高通股份有限公司 Power management integrated circuit (PMIC) integration into a processor package
CN206163103U (en) * 2016-11-04 2017-05-10 深圳市明泰电讯有限公司 Compatible controlling means of mobile terminal major -minor screen
CN106847804A (en) * 2017-01-03 2017-06-13 昆山国显光电有限公司 A kind of integrated circuit and method for burn-recording, system
CN107003707A (en) * 2014-11-06 2017-08-01 高通股份有限公司 With the independent power domain for logic and memory and the integrated system of split-type power rail
CN107103871A (en) * 2017-06-30 2017-08-29 京东方科技集团股份有限公司 The power supply circuit and method of supplying power to of display device and display screen
US20180196931A1 (en) * 2017-01-06 2018-07-12 Samsung Electronics Co., Ltd. Electronic device and method for controlling display unit including a biometric sensor
CN108280336A (en) * 2018-01-19 2018-07-13 京东方科技集团股份有限公司 Unlocked by fingerprint method and unlocked by fingerprint device
US20190012057A1 (en) * 2017-07-10 2019-01-10 Acer Incorporated Electronic devices and methods for gernerating displayed image
CN109256090A (en) * 2018-11-16 2019-01-22 京东方科技集团股份有限公司 A kind of adjusting method, display panel and display device showing picture
US20190057643A1 (en) * 2017-08-21 2019-02-21 Samsung Electronics Co., Ltd. Method and electronic device for switching operating mode of display
CN109740519A (en) * 2018-12-29 2019-05-10 联想(北京)有限公司 Control method and electronic equipment
CN209029081U (en) * 2018-12-10 2019-06-25 深圳市帝麦德斯科技有限公司 A kind of LED display light adjusting control circuit
CN110444162A (en) * 2019-07-18 2019-11-12 武汉华星光电半导体显示技术有限公司 Display device and power management chip for display device
CN110459173A (en) * 2018-05-07 2019-11-15 联咏科技股份有限公司 Display driver, display equipment and its operating method
US20190370525A1 (en) * 2018-05-30 2019-12-05 Beijing Xiaomi Mobile Software Co., Ltd. Fingerprint recognition method, electronic device, and storage medium
CN111192556A (en) * 2019-12-10 2020-05-22 华为技术有限公司 Method and device for controlling power supply chip to supply voltage

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578397A (en) * 2012-08-08 2014-02-12 三星显示有限公司 Driving apparatus of display panel and display device including the same
CN102938609A (en) * 2012-10-19 2013-02-20 北京小米科技有限责任公司 Power supply management module and terminal processor
CN106537583A (en) * 2014-07-03 2017-03-22 高通股份有限公司 Power management integrated circuit (PMIC) integration into a processor package
CN107003707A (en) * 2014-11-06 2017-08-01 高通股份有限公司 With the independent power domain for logic and memory and the integrated system of split-type power rail
CN105976756A (en) * 2016-07-22 2016-09-28 京东方科技集团股份有限公司 Power supply chip and display device
CN206163103U (en) * 2016-11-04 2017-05-10 深圳市明泰电讯有限公司 Compatible controlling means of mobile terminal major -minor screen
CN106847804A (en) * 2017-01-03 2017-06-13 昆山国显光电有限公司 A kind of integrated circuit and method for burn-recording, system
CN108282558A (en) * 2017-01-06 2018-07-13 三星电子株式会社 Electronic equipment and method for control electronics
US20180196931A1 (en) * 2017-01-06 2018-07-12 Samsung Electronics Co., Ltd. Electronic device and method for controlling display unit including a biometric sensor
CN107103871A (en) * 2017-06-30 2017-08-29 京东方科技集团股份有限公司 The power supply circuit and method of supplying power to of display device and display screen
US20190012057A1 (en) * 2017-07-10 2019-01-10 Acer Incorporated Electronic devices and methods for gernerating displayed image
CN111194462A (en) * 2017-08-21 2020-05-22 三星电子株式会社 Method and electronic device for switching operation mode of display
US20190057643A1 (en) * 2017-08-21 2019-02-21 Samsung Electronics Co., Ltd. Method and electronic device for switching operating mode of display
CN108280336A (en) * 2018-01-19 2018-07-13 京东方科技集团股份有限公司 Unlocked by fingerprint method and unlocked by fingerprint device
CN110459173A (en) * 2018-05-07 2019-11-15 联咏科技股份有限公司 Display driver, display equipment and its operating method
US20190370525A1 (en) * 2018-05-30 2019-12-05 Beijing Xiaomi Mobile Software Co., Ltd. Fingerprint recognition method, electronic device, and storage medium
CN109256090A (en) * 2018-11-16 2019-01-22 京东方科技集团股份有限公司 A kind of adjusting method, display panel and display device showing picture
CN209029081U (en) * 2018-12-10 2019-06-25 深圳市帝麦德斯科技有限公司 A kind of LED display light adjusting control circuit
CN109740519A (en) * 2018-12-29 2019-05-10 联想(北京)有限公司 Control method and electronic equipment
CN110444162A (en) * 2019-07-18 2019-11-12 武汉华星光电半导体显示技术有限公司 Display device and power management chip for display device
CN111192556A (en) * 2019-12-10 2020-05-22 华为技术有限公司 Method and device for controlling power supply chip to supply voltage

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宁辉;吴刚;魏志强;黄东;: "基于ARM的OLED显示系统设计", 软件导刊, no. 03, pages 60 - 62 *

Also Published As

Publication number Publication date
CN113835503B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
CN108804010B (en) Terminal control method, device and computer readable storage medium
US10847122B2 (en) Method and apparatus for updating information
CN110796988B (en) Backlight adjusting method and device
US9691332B2 (en) Method and device for adjusting backlight brightness
EP3361369B1 (en) Method and device for displaying time on mobile device
CN108319914B (en) Terminal, display control method and storage medium
US11398744B2 (en) Charging method and device, electronic device and storage medium
CN111258659B (en) Screen-off control method, device and storage medium
CN109862169B (en) Electronic equipment control method, device and storage medium
CN107132983B (en) Split-screen window operation method and device
CN106325454B (en) Power supply control device and method and electronic equipment
US11831190B2 (en) Electronic apparatus and charging method thereof, and storage medium
CN108874450B (en) Method and device for waking up voice assistant
CN112448423A (en) Charging method and device, electronic equipment and storage medium
CN111432068B (en) Display state control method and device, electronic equipment and storage medium
RU2665268C2 (en) Keyboard style switching method and device
CN111261081B (en) Screen display method and device
CN113835503B (en) Method and device for controlling display mode switching, electronic equipment and storage medium
CN106775541B (en) Electronic device and screen display method
CN107422911B (en) Pressure value detection method and device and computer readable storage medium
CN112673612A (en) Display mode switching method, device, equipment and medium
CN112462963A (en) Non-contact gesture control method and device and storage medium
CN107329604B (en) Mobile terminal control method and device
CN111382609B (en) Fingerprint identification method and terminal
CN112492127B (en) Camera positioning method and device, electronic equipment and readable storage medium

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