CN112269465A - Method and device for preventing screen flashing and electronic equipment - Google Patents

Method and device for preventing screen flashing and electronic equipment Download PDF

Info

Publication number
CN112269465A
CN112269465A CN202011166658.1A CN202011166658A CN112269465A CN 112269465 A CN112269465 A CN 112269465A CN 202011166658 A CN202011166658 A CN 202011166658A CN 112269465 A CN112269465 A CN 112269465A
Authority
CN
China
Prior art keywords
pixel
acquiring
scale value
pixel points
display interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011166658.1A
Other languages
Chinese (zh)
Other versions
CN112269465B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011166658.1A priority Critical patent/CN112269465B/en
Publication of CN112269465A publication Critical patent/CN112269465A/en
Application granted granted Critical
Publication of CN112269465B publication Critical patent/CN112269465B/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/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • 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/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring of peripheral devices of display devices

Abstract

The application discloses a method and a device for preventing screen flashing and electronic equipment, and belongs to the technical field of electronic equipment. The method comprises the following steps: under the condition that electronic equipment is in a charging state and the screen brightness of the electronic equipment is lower than a first set threshold value, acquiring at least part of pixel points of a display interface of the electronic equipment; and increasing the gray scale value of each pixel point in the at least part of pixel points.

Description

Method and device for preventing screen flashing and electronic equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a method for preventing screen flashing, a device for preventing screen flashing and electronic equipment.
Background
In the prior art, an Active-matrix organic light emitting diode (AMOLED) driving power supply of an electronic device is charged through a charging chip, for example, during charging, a VPH _ PWR port of the charging chip may be connected to an ELVDD port of the AMOLED driving power supply, and as a voltage of the VPH _ PWR port is too high during charging, a voltage of the ELVDD port is also increased, and when a screen brightness of the electronic device is low, a current of the ELVDD port is low, that is, a charging energy of the VPH _ PWR port is large, and a discharging energy of the ELVDD port is small, so that an imbalance between the charging energy and the discharging energy of the AMOLED driving power supply is caused.
Currently, in order to balance the charging energy and the discharging energy of the AMOLED driving power, the AMOLED driving power is usually controlled to enter a Power Saving (PSM) Mode, and then the ELVDD port voltage drops.
Disclosure of Invention
The purpose of the embodiment of the application is to provide a new technical scheme for preventing screen flashing, which can solve the problem that screen flashing is easily caused by low screen brightness of electronic equipment in the charging process of the electronic equipment in the prior art.
In a first aspect, an embodiment of the present application provides a method for preventing a splash screen, where the method includes:
under the condition that electronic equipment is in a charging state and the screen brightness of the electronic equipment is lower than a first set threshold value, acquiring at least part of pixel points of a display interface of the electronic equipment;
and increasing the gray scale value of each pixel point in the at least part of pixel points.
In a second aspect, an embodiment of the present application provides an apparatus for preventing a splash screen, the apparatus including:
the device comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring at least part of pixel points of a display interface of the electronic equipment under the condition that the electronic equipment is in a charging state and the screen brightness of the electronic equipment is lower than a first set threshold;
and the increasing module is used for increasing the gray-scale value of each pixel point in at least part of the pixel points.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In the embodiment of the application, when the electronic device is in a charging state and the screen brightness of the electronic device is lower than a set threshold, the gray-scale value of a part of pixel points in the display interface of the electronic device is increased to increase the ELVDD port current in the electronic device, so that the balance between the charging energy and the discharging energy of the AMOLED driving power supply is realized, the PSM mode is not entered, and the problem of screen flashing is solved.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating a method for preventing screen splash according to an embodiment of the present disclosure;
FIG. 2 is a schematic illustration of an interface display for performing a splash screen prevention process;
FIG. 3 is a schematic view of another interface display for performing a splash screen prevention process;
FIG. 4 is a schematic view of a third interface display for performing a splash screen prevention process;
FIG. 5 is a schematic flow chart diagram of a method of preventing splash screen in accordance with an example of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a hardware structure diagram of an electronic device implementing an embodiment of the present application;
fig. 8 is a schematic hardware structure diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The method for preventing the splash screen according to the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In practice, when an electronic device is charged, the VPH _ PWR port of the charging chip is connected to each load terminal as a system Power supply, and the load includes, for example and without limitation, a Power Amplifier (PA), a speaker Power Amplifier, and an AMOLED Power driver. During the charging process of the electronic device, the VPH _ PWR port is caused to be very close to the ELVDD port voltage of the AMOLED power supply driver, that is, the VPH _ PWR port voltage is increased to cause the ELVDD port voltage to be increased, and the screen brightness of the electronic device is low to cause the ELVDD port current to be small, that is, the charging energy of the VPH _ PWR port is large, and the discharging energy of the ELVDD port is small, which easily causes the imbalance between the charging energy and the discharging energy of the AMOLED power supply driver. To solve this problem, the AMOLED driving power is usually controlled to enter PSM, and then the ELVDD port voltage drops, however, the ELVDD port voltage jitter may cause a screen flicker. Compared with the prior art, the method and the device have the advantages that under the condition that the electronic equipment is in the charging state and the screen brightness of the electronic equipment is lower than the set threshold value, the ELVDD port current is increased by increasing the brightness of at least part of pixel points of the display interface of the electronic equipment, the balance of the charging energy and the amplification energy of the AMOLED driving power supply is achieved, the AMOLED driving power supply does not enter the PSM mode, and the screen flicker problem is avoided.
The embodiment of the application provides a method for preventing screen flashing, an execution main body of the method can be electronic equipment, and the electronic equipment can be any equipment with a display screen, such as a mobile phone, a tablet personal computer and the like, and is not limited herein. The following embodiments will be described with the execution main body as an electronic apparatus.
As shown in fig. 1, the method for preventing the splash screen includes the following steps S2100 to S2200:
s2100, when the electronic device is in a charging state and the screen brightness of the electronic device is lower than a first set threshold, obtaining at least some pixel points of a display interface of the electronic device.
The first set threshold may be a value set according to a specific application scenario and a specific application requirement, and when the electronic device is in a charging state and the screen brightness of the electronic device is lower than the first set threshold, the ELVDD port current may be smaller, for example, the ELVDD port current is 10mA, and the VPH _ PWR port voltage is larger, which may cause a problem of screen flicker.
In this embodiment, two different methods are used to obtain at least part of the pixel points of the display interface of the electronic device for the solid interface and the non-solid interface.
In an example, when the display interface of the electronic device is a non-solid interface, the acquiring at least a part of the pixel points of the display interface of the electronic device in S2100 may further include the following S2110 to S2150:
s2110, acquiring an initial gray-scale value of each pixel point in the display interface.
In this embodiment, due to the interface distribution of the solid interface and the non-solid interface, different manners of obtaining at least part of the pixel points are respectively given for the display interface being the solid interface and the non-solid interface.
The gray scale is the brightness change between the brightest and darkest, and is divided into a plurality of parts so as to facilitate the control of the screen brightness corresponding to the signal input. Each digital picture is composed of a number of dots, also called pixels (x, y), where x represents the number of columns of pixels and y represents the number of rows of pixels. The gray scale value is a value representing the degree of darkness and lightness of the pixel point, that is, the gray scale value represents the gradation level of different lightness between the darkest and the brightest of the pixel point.
Illustratively, for example, the initial gray scale value of the pixel point (1,1) in the display interface is 1, the initial gray scale value of the pixel point (1,2) is 64, the initial gray scale value of the pixel point (1,6) is 64, the initial gray scale value of the pixel point (1,3) is 56, the initial gray scale value of the pixel point (1,9) is 56, and the initial gray scale value of the pixel point (2,7) is 56, of course, other pixel points are also included in the display interface, which is not described in detail herein.
And S2120, grouping all the pixel points according to the initial gray-scale value to obtain a plurality of pixel groups.
All the pixels in any pixel group have the same initial gray-scale value.
Continuing with the above example, the pixel point (1,1) is a pixel group called as the first pixel group, the initial gray-scale values of the pixel point (1,2) and the pixel point (1,6) are both 64, the two pixel points form the second pixel group, the initial gray-scale values of the pixel point (1,3), the pixel point (1,9) and the pixel point (2,7) are both 56, the three pixel points form the third pixel group, of course, the fourth pixel group, the fifth pixel group, the nth pixel group, and the like may also be included, where n is an integer greater than 1.
S2130, an area value of each pixel group is obtained.
Continuing with the above example, the area value is the number of pixels included in the pixel group, for example, the area value of the first pixel group may be 1, the area value of the second pixel group may be 2, and the area value of the third pixel group may be 3.
S2140, obtaining a target pixel group according to the area value.
In this embodiment, the obtaining of the target pixel group in S2140 according to the area value may further include the following S2141 to S2142:
s2141, sorting the area values to obtain a sorting result.
Continuing with the above example, the area value 1 of the first pixel group, the area value 2 of the second pixel group, the area value 3 of the third pixel group and the area value of the nth pixel group may be sorted from small to large to obtain a sorting result, as shown in table 1 below:
TABLE 1 results of ranking
The area rank is from small to large Containing pixel point coordinates Initial gray scale value
1 1,1 1
2 1,2、1,6 64
3 1,3、1,9、2,7 56
S2142, according to the sorting result, obtaining the pixel groups corresponding to the area values of the previous preset number as the target pixel group.
The predetermined number may be a numerical value set according to a specific application scenario and specific requirements, and for example, the predetermined number may be 10.
Continuing with the above example, the pixel group corresponding to the area value of the top 10 of the sequence may be selected as the target pixel group.
S2150, acquiring all the pixels included in the target pixel group as at least a part of the pixels.
In one example, all the pixels included in the target pixel group may be directly obtained as at least some of the pixels. For example, the pixel points included in the pixel group corresponding to the area value of the top 10 in the above table 1 are selected as at least part of the pixel points, and fig. 2 shows 2 pixel points selected from the display interface, where circle 1 represents pixel point (1,2), circle 2 represents pixel point (1,6), and the initial gray scale values of the two pixel points are both 64.
In an example, for example, all the pixels included in the target pixel group may be used as at least part of the pixels only when the initial gray-scale values of all the pixels in the target pixel group are greater than the second set threshold. The second set threshold may be a value set according to a specific application scenario and a specific requirement, and the second set threshold may be 10. For example, after selecting the pixel group corresponding to the area value of 10 before ranking in the above table 1 as the target pixel point, it is further determined whether the initial gray scale value of each pixel point in the target pixel group is greater than 10, and only when the initial gray scale value is greater than 10, the corresponding pixel point is taken as at least part of the pixel points.
In an example, when the display interface of the electronic device is a solid interface, the acquiring at least a part of the pixel points of the display interface of the electronic device in S2100 may further include S2111: and acquiring at least part of pixel points from the display interface by taking the central point position of the display interface as a starting point or an end point for acquiring.
In this embodiment, for the solid interface, the middle brightness is actually the largest and the peripheral brightness is decreasing in order due to the screen distribution. Here, as shown in fig. 3, the pixel points within the circle with the center point of the interface as the radius may be selected as at least part of the pixel points, for example, the pixel points within the radius circles 1 and 2 may be selected as at least part of the pixel points; alternatively, as shown in fig. 4, the surrounding pixels may be selected as at least part of the pixels, for example, the pixels in the surrounding 1 and 2 may be selected as at least part of the pixels.
S2200, increasing the gray scale value of each pixel point in at least some pixel points.
In this embodiment, the current of the ELVDD port can be increased by increasing the gray scale values of at least some of the pixels.
In this embodiment, the increasing the gray level value of each of at least some of the pixels in S2200 may further include the following steps S2210 to S2230:
s2210, obtaining an initial gray scale value of each pixel point.
Illustratively, at least some of the pixels may be selected according to the above S2110 to S2150, and for example, the pixels (1,1), the pixels (1,2), the pixels (1,6), the pixels (1,3), the pixels (1,9), and the pixels (2,7) shown in table 1 may be the pixels (1,2), and the pixels (1,6) shown in fig. 2.
Exemplarily, at least part of the pixels may also be pixels selected in S2111, for example, the pixels in circles 1 and 2 shown in fig. 3, or the pixels in the peripheries 1 and 2 shown in fig. 4.
S2220, the gray scale value increase rate of the pixel point is obtained.
The gray scale value increase ratio may be a numerical value set according to a specific application scenario and a specific requirement, for example, the gray scale value increase ratio may be 10%, each pixel may have the same gray scale value increase ratio, or respective corresponding gray scale value increase ratios may be set for corresponding pixels, where the gray scale value increase ratios set for each pixel may be the same or different, and are not limited herein.
S2230, on the basis of the initial gray value, increasing the gray value of the pixel point according to the gray value increasing rate.
Exemplarily, taking at least part of the pixel points included in the display interface shown in table 1 as an example, when the gray level value of each pixel point in the pixel group corresponding to the area value of the top 10 in the sequence in table 1 is greater than 10, the initial gray level value of the pixel point is increased by 10%, and after modification, the gray level value may be as shown in table 2:
TABLE 2 Gray-scale modification Table
The area rank is from small to large Containing pixel point coordinates Initial gray scale value After the gray scale value is modified
1 1,1 1 1
2 1,2、1,6 64 70
3 1,3、1,9、2,7 56 62
For example, in the interface on the left side of fig. 2, circle 1 may represent pixel point (1,2), circle 2 may represent pixel point (1,6), the initial gray scale values of the two pixel points are both 64, and the modified gray scale values are both 70, so as to obtain the interface shown on the right side of fig. 2.
Exemplarily, at least a part of the pixel points selected from the display interface shown on the left side of fig. 3 include the pixel points in the circles 1 and 2, and the gray-scale values of the pixel points in the circles 1 and 2 may be increased to obtain the display interface shown on the right side of fig. 3.
For example, at least a part of the pixel points selected from the display interface shown on the left side of fig. 4 include pixel points in the four sides 1 and 2, and the gray scale values of the pixel points in the four sides 1 and 2 may be increased to obtain the display interface shown on the right side of fig. 4.
According to the method for preventing the screen flashing, when the electronic equipment is in a charging state and the screen brightness of the electronic equipment is lower than the set threshold value, the gray scale value of part of pixel points in the display interface of the electronic equipment is improved, so that the ELVDD port current in the electronic equipment is increased, the balance of the charging energy and the discharging energy of the AMOLED driving power supply is realized, the electronic equipment does not enter a PSM mode, and the screen flashing problem is solved.
It should be noted that, according to the method for preventing a splash screen provided in the embodiment of the present application, the execution subject may be a device for preventing a splash screen, or a control module in the device for preventing a splash screen, which is used for executing the method for preventing a splash screen from being loaded. In the embodiment of the present application, a method for preventing a splash screen, which is provided by the embodiment of the present application, is described by taking an example in which a device for preventing a splash screen executes a method for loading a device for preventing a splash screen.
Fig. 5 is a flowchart illustrating an example of a method for preventing a splash screen, which may include the following S5010 to S5070, according to the flowchart illustrated in fig. 5:
s5010, when the electronic device is in the charging state, detecting whether the screen brightness of the electronic device is lower than a first set threshold, if so, performing S5020, otherwise, continuing to perform S5010.
S5020, determining whether the display interface is a solid interface, if so, executing S5060, otherwise, executing S5030.
S5030, obtaining an initial gray level value of each pixel in the display interface, grouping all the pixels according to the initial gray level value to obtain a plurality of groups of each image, and obtaining an area value of each pixel group.
S5040, sorting the area values to obtain a sorting result, and acquiring pixel groups corresponding to the area values of the preset number as target pixel groups according to the sorting result.
S5050, in a case where the initial gray-scale values of all the pixel points included in the target pixel group are greater than the second set threshold, takes all the pixel points included in the target pixel group as at least part of the pixel points, and then executes S5070.
S5060, using the central point of the display interface as a start point or an end point of the obtaining, obtaining at least a part of the pixel points from the achromatic interface.
S5070, increasing the gray level of each of at least some of the pixels.
In one embodiment of the present application, as shown in fig. 6, an apparatus 6000 for preventing screen flashing is provided, which includes an acquiring module 6100 and an adding module 6200.
An obtaining module 6100, configured to obtain at least part of pixel points of a display interface of an electronic device when the electronic device is in a charging state and a screen brightness of the electronic device is lower than a first set threshold;
an increasing module 6200, configured to increase a gray-scale value of each of the at least part of the pixels.
In an embodiment, in a case that the display interface of the electronic device is a solid interface, the obtaining module 6100 is further configured to:
and acquiring at least part of pixel points from the display interface by taking the central point position of the display interface as a starting point or an end point for acquiring.
In an embodiment, in a case that the display interface of the electronic device is not a solid interface, the obtaining module 6100 is further configured to:
acquiring an initial gray scale value of each pixel point in the display interface;
grouping all the pixel points according to the initial gray-scale value to obtain a plurality of pixel groups; all pixel points included in any one pixel group have the same initial gray-scale value;
acquiring an area value of each pixel group;
acquiring a target pixel group according to the area value;
and acquiring all pixel points included in the target pixel group as the at least part of pixel points.
In one embodiment, the obtaining module 6100 is further configured to:
sequencing the area values to obtain a sequencing result;
and acquiring pixel groups corresponding to the area values of the previous preset number as target pixel groups according to the sorting result.
In one embodiment, the increasing module 6200 is further configured to:
acquiring an initial gray scale value of each pixel point;
acquiring the gray-scale value increasing rate of the pixel points;
and on the basis of the initial gray-scale value, increasing the gray-scale value of each pixel point according to the gray-scale value increase rate.
The device for preventing the splash screen in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in the terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The device for preventing the splash screen in the embodiment of the application can be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The device for preventing the splash screen provided by the embodiment of the application can realize each process realized by the method for preventing the splash screen in the method embodiments of fig. 1 to 5, and is not described herein again to avoid repetition.
In this embodiment, the obtaining module is configured to obtain at least part of the pixels in the display interface of the electronic device when the electronic device is in a charging state and the screen brightness of the electronic device is lower than a set threshold, and provide the determined at least part of the pixels to the adding module, so that the adding module adds the gray scale values of the at least part of the pixels. Therefore, the method can increase the ELVDD port current in the electronic equipment, realize the balance of the charging energy and the discharging energy of the AMOLED driving power supply, avoid entering a PSM mode, and solve the problem of screen flashing.
Optionally, an electronic device 100 is further provided in this embodiment of the present application, and includes a processor 110, a memory 109, and a program or an instruction stored in the memory 109 and capable of being executed on the processor 110, where the program or the instruction is executed by the processor 110 to implement each process of the above method embodiment for preventing a splash screen, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 8 is a schematic hardware structure diagram of an electronic device 100 implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 1010 is configured to acquire at least part of pixel points of a display interface of the electronic device when the electronic device is in a charging state and the screen brightness of the electronic device is lower than a first set threshold; the gray scale value of each pixel point in at least part of the pixel points is increased.
In this embodiment, the electronic device can acquire at least part of the pixels in the display interface and increase the gray scale values of at least part of the pixels when the electronic device is in the charging state and the screen brightness is lower than the set threshold. Therefore, the ELVDD port current in the electronic equipment can be increased, the balance of the charging energy and the discharging energy of the AMOLED driving power supply is realized, the PSM mode is not entered, and the screen flashing problem is solved.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above method for preventing a splash screen, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above method for preventing a splash screen, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of preventing screen flicker, comprising:
under the condition that electronic equipment is in a charging state and the screen brightness of the electronic equipment is lower than a first set threshold value, acquiring at least part of pixel points of a display interface of the electronic equipment;
and increasing the gray scale value of each pixel point in the at least part of pixel points.
2. The method according to claim 1, wherein in a case that the display interface of the electronic device is a solid interface, the obtaining at least some pixel points of the display interface of the electronic device includes:
and acquiring at least part of pixel points from the display interface by taking the central point position of the display interface as a starting point or an end point for acquiring.
3. The method according to claim 1, wherein in a case that the display interface of the electronic device is a non-solid interface, the obtaining at least some pixel points of the display interface of the electronic device includes:
acquiring an initial gray scale value of each pixel point in the display interface;
grouping all the pixel points according to the initial gray-scale value to obtain a plurality of pixel groups; all pixel points included in any one pixel group have the same initial gray-scale value;
acquiring an area value of each pixel group;
acquiring a target pixel group according to the area value;
and acquiring all pixel points included in the target pixel group as the at least part of pixel points.
4. The method of claim 3, wherein said obtaining a target pixel group comprises:
sequencing the area values to obtain a sequencing result;
and acquiring pixel groups corresponding to the area values of the previous preset number as the target pixel groups according to the sorting result.
5. The method of claim 1, wherein increasing the gray level value of each of the at least some of the pixels comprises:
acquiring an initial gray scale value of each pixel point;
acquiring the gray-scale value increasing rate of the pixel points;
and on the basis of the initial gray-scale value, increasing the gray-scale value of the pixel point according to the gray-scale value increase rate.
6. An apparatus for preventing a splash screen, comprising:
the device comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring at least part of pixel points of a display interface of the electronic equipment under the condition that the electronic equipment is in a charging state and the screen brightness of the electronic equipment is lower than a first set threshold;
and the increasing module is used for increasing the gray-scale value of each pixel point in at least part of the pixel points.
7. The apparatus of claim 6, wherein, in a case that the display interface of the electronic device is a solid interface, the obtaining module is further configured to:
and acquiring at least part of pixel points from the display interface by taking the central point position of the display interface as a starting point or an end point for acquiring.
8. The apparatus of claim 6, wherein in the case that the display interface of the electronic device is not a solid interface, the obtaining module is further configured to:
acquiring an initial gray scale value of each pixel point in the display interface;
grouping all the pixel points according to the initial gray-scale value to obtain a plurality of pixel groups; all pixel points included in any one pixel group have the same initial gray-scale value;
acquiring an area value of each pixel group;
acquiring a target pixel group according to the area value;
and acquiring all pixel points included in the target pixel group as the at least part of pixel points.
9. The apparatus of claim 6, wherein the increasing module is further configured to:
acquiring an initial gray scale value of each pixel point;
acquiring the gray-scale value increasing rate of the pixel points;
and on the basis of the initial gray-scale value, increasing the gray-scale value of the pixel point according to the gray-scale value increase rate.
10. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the method of preventing splash screen of claims 1-5.
CN202011166658.1A 2020-10-27 2020-10-27 Method and device for preventing screen flashing and electronic equipment Active CN112269465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011166658.1A CN112269465B (en) 2020-10-27 2020-10-27 Method and device for preventing screen flashing and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011166658.1A CN112269465B (en) 2020-10-27 2020-10-27 Method and device for preventing screen flashing and electronic equipment

Publications (2)

Publication Number Publication Date
CN112269465A true CN112269465A (en) 2021-01-26
CN112269465B CN112269465B (en) 2023-03-14

Family

ID=74341213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011166658.1A Active CN112269465B (en) 2020-10-27 2020-10-27 Method and device for preventing screen flashing and electronic equipment

Country Status (1)

Country Link
CN (1) CN112269465B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645232A (en) * 2008-08-06 2010-02-10 三星移动显示器株式会社 Driver ic and organic light emitting display device using the same
CN104505043A (en) * 2014-12-29 2015-04-08 厦门天马微电子有限公司 Method and device for gray scale compensation of image data
CN106157879A (en) * 2014-08-13 2016-11-23 三星显示有限公司 Organic light emitting diode display
US20170287460A1 (en) * 2016-03-30 2017-10-05 Lenovo (Singapore) Pte. Ltd. Minimizing nuisance audio in an interior space
US20180336822A1 (en) * 2017-01-23 2018-11-22 Wuhan China Star Optoelectronics Technology Co., Ltd. Display module driving device and method
CN109557697A (en) * 2018-12-25 2019-04-02 维沃移动通信有限公司 A kind of vision-control method and terminal
CN110189693A (en) * 2019-06-11 2019-08-30 京东方科技集团股份有限公司 Display driving method, display driver and display device
CN111524485A (en) * 2020-05-29 2020-08-11 京东方科技集团股份有限公司 External drive circuit and drive method of OLED module and display device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645232A (en) * 2008-08-06 2010-02-10 三星移动显示器株式会社 Driver ic and organic light emitting display device using the same
CN106157879A (en) * 2014-08-13 2016-11-23 三星显示有限公司 Organic light emitting diode display
CN104505043A (en) * 2014-12-29 2015-04-08 厦门天马微电子有限公司 Method and device for gray scale compensation of image data
US20170287460A1 (en) * 2016-03-30 2017-10-05 Lenovo (Singapore) Pte. Ltd. Minimizing nuisance audio in an interior space
US20180336822A1 (en) * 2017-01-23 2018-11-22 Wuhan China Star Optoelectronics Technology Co., Ltd. Display module driving device and method
CN109557697A (en) * 2018-12-25 2019-04-02 维沃移动通信有限公司 A kind of vision-control method and terminal
CN110189693A (en) * 2019-06-11 2019-08-30 京东方科技集团股份有限公司 Display driving method, display driver and display device
CN111524485A (en) * 2020-05-29 2020-08-11 京东方科技集团股份有限公司 External drive circuit and drive method of OLED module and display device

Also Published As

Publication number Publication date
CN112269465B (en) 2023-03-14

Similar Documents

Publication Publication Date Title
CN107247540B (en) Application icon adjusting method and device
EP2609778B1 (en) Method, apparatus and computer program product for presentation of information in a low power mode
US10101827B2 (en) Method and apparatus for controlling a touch-screen based application ported in a smart device
CN107092453B (en) Screen display control method and device and terminal
CN109298912B (en) Theme color adjusting method and device, storage medium and electronic equipment
CN104867065A (en) Method and equipment for processing orders
US20210349588A1 (en) Mode setting method and device of monitoring system
CN107111469B (en) Method for adjusting display interface of display screen, user interface, device, electronic equipment and storage medium
CN109147674B (en) AMOLED display ghost eliminating method, display terminal and storage medium
CN109062468A (en) Multi-screen display method, device, storage medium and electronic equipment
CN111816139A (en) Screen refresh rate switching method and electronic equipment
WO2023045884A1 (en) Screen light detection model training method, ambient light detection method, and apparatus
US10983583B2 (en) Electronic display reduced blanking duration systems and methods
CN107943571B (en) Background application control method and device, storage medium and electronic equipment
Lin et al. CURA: A framework for quality-retaining power saving on mobile OLED displays
CN111582459A (en) Method, electronic device, apparatus and storage medium for executing operation
CN112269465B (en) Method and device for preventing screen flashing and electronic equipment
CN107766139A (en) Application management method and device
CN106484409A (en) A kind of page control management method and device
CN112783594A (en) Message display method and device and electronic equipment
CN116611476A (en) Performance data prediction method, performance data prediction device, electronic device, and medium
US20180061325A1 (en) Image display method and apparatus
CN111523766B (en) Driving risk assessment method and device, electronic equipment and readable storage medium
CN105278896A (en) Image display method and apparatus, and terminal equipment
CN113038055A (en) Image processing method and device and electronic equipment

Legal Events

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