CN112116574A - Screen repair method, device and storage medium - Google Patents

Screen repair method, device and storage medium Download PDF

Info

Publication number
CN112116574A
CN112116574A CN202010976276.9A CN202010976276A CN112116574A CN 112116574 A CN112116574 A CN 112116574A CN 202010976276 A CN202010976276 A CN 202010976276A CN 112116574 A CN112116574 A CN 112116574A
Authority
CN
China
Prior art keywords
screen
area
repair
determining
damage
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.)
Pending
Application number
CN202010976276.9A
Other languages
Chinese (zh)
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 CN202010976276.9A priority Critical patent/CN112116574A/en
Publication of CN112116574A publication Critical patent/CN112116574A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation

Abstract

The present disclosure relates to a screen repairing method, device and storage medium, wherein the screen repairing method comprises: determining damage degrees of a plurality of screen division regions; determining whether the corresponding screen division region belongs to a region to be repaired or not according to the damage degree; and if the region belongs to the region to be repaired, performing screen repair on the region to be repaired. Therefore, the screen damage degree corresponding to different screen division areas can be repaired, the screen repair times are effectively reduced, and the screen is protected.

Description

Screen repair method, device and storage medium
Technical Field
The present disclosure relates to the field of screen protection technologies, and in particular, to a screen repairing method and apparatus, and a storage medium.
Background
With the innovation of screen manufacturing technology, more and more screens are available which are light, thin, low in energy consumption, high in brightness and excellent in luminous efficiency. The application in the fields of television, computer, mobile phone, flat panel and the like is increasingly wide. However, as the screen usage time increases, the screen may suffer from aging. Further, the higher the display luminance on the screen area is, the more serious the screen damage is. However, the existing repairing mode can only repair the whole screen indiscriminately, namely, the whole screen can be repaired as long as the screen is damaged a little. Such frequent screen repair may cause damage to a portion of the material of the screen, thereby causing a reduction in the display effect of the screen.
Disclosure of Invention
The disclosure provides a screen repair method, a screen repair device and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a screen repairing method, including:
determining damage degrees of a plurality of screen division regions;
determining whether the corresponding screen division region belongs to a region to be repaired or not according to the damage degree;
and if the region belongs to the region to be repaired, performing screen repair on the region to be repaired.
Optionally, the determining, according to the damage degree, whether the corresponding screen division region belongs to a region to be repaired includes:
and when the damage degree is greater than a preset damage threshold value, determining that the corresponding screen division area belongs to an area to be repaired.
Optionally, if the area belongs to an area to be repaired, performing screen repair on the area to be repaired, including:
if the damaged area belongs to the area to be repaired, determining the repair grade of the damaged degree;
and performing screen repair on the area to be repaired according to the repair strategy corresponding to the repair grade.
Optionally, the screen repairing the to-be-repaired area includes:
displaying a repair picture in the area to be repaired;
and the display duration and/or the display frame number of the repair picture are/is positively correlated with the damage degree.
Optionally, the determining the damage degree of the plurality of screen division regions comprises:
counting the display brightness and the display duration of each screen division area;
and determining the damage degree of each screen division area according to the display brightness and the display duration.
Optionally, the counting the display brightness of each of the screen division regions includes:
acquiring an initial display brightness value of the screen division area at a starting time and a termination display brightness value of the screen division area at an ending time according to a preset acquisition period, and determining the display brightness value of the screen division area in one acquisition period;
and counting the accumulated display brightness values of the screen division areas based on the accumulation of the display brightness values determined by the plurality of acquisition periods.
Optionally, the determining the damage degree of each of the screen division regions according to the display brightness and the display duration includes:
and determining the damage degree of each screen division area according to the product of the display brightness and the display duration.
Optionally, the determining the damage degree of the plurality of screen division regions comprises:
when the service time of the screen is longer than a first time threshold, displaying a preset picture on the screen in a full screen mode;
acquiring a screen capture image of the preset picture;
comparing the screen shot image with the reference image, and determining the damage degree of each screen division area; and the reference image is a screenshot picture obtained by displaying the preset picture in a full screen mode when the screen is not damaged.
Optionally, the comparing the screen shot image with the reference image to determine the damage degree of each of the screen division regions includes:
comparing the gray level of the screenshot image with the gray level of the reference image in each screen division area to obtain a gray level difference;
and determining the damage degree of each screen division area according to the gray difference.
Optionally, the screen repairing the to-be-repaired area includes:
when a screen shutdown instruction is received, determining whether the total use time of the screen is greater than a second time threshold value;
and if the time length is larger than a second time length threshold, performing screen repair on the area to be repaired before executing the shutdown instruction.
According to a second aspect of the embodiments of the present disclosure, there is provided a screen repair apparatus including:
a damage determination module for determining a degree of damage of the plurality of screen division regions;
the area determining module is used for determining whether the corresponding screen division area belongs to an area to be repaired according to the damage degree;
and the screen repairing module is used for repairing the screen of the area to be repaired if the screen division area belongs to the area to be repaired.
Optionally, the region determining module is further configured to:
and when the damage degree is greater than a preset damage threshold value, determining that the corresponding screen division area belongs to an area to be repaired.
Optionally, the screen repair module includes:
the grade determining module is used for determining the repair grade to which the damage degree belongs if the damage degree belongs to the area to be repaired;
and the screen repairing submodule is used for performing screen repairing on the area to be repaired according to the repairing strategy corresponding to the repairing grade.
Optionally, the screen repair module is further configured to:
displaying a repair picture in the area to be repaired;
and the display duration and/or the display frame number of the repair picture are/is positively correlated with the damage degree.
Optionally, the damage determination module includes:
the statistical module is used for counting the display brightness and the display duration of each screen division area;
and the damage determining submodule is used for determining the damage degree of each screen division area according to the display brightness and the display duration.
Optionally, the statistical module includes:
the brightness value determining module is used for acquiring an initial display brightness value of the screen division region at a starting time and a termination display brightness value of the screen division region at an ending time according to a preset acquisition period, and determining a display brightness value of the screen division region in one acquisition period;
and the counting submodule is used for counting the accumulated display brightness values of the screen division areas based on the accumulation of the display brightness values determined by the plurality of acquisition periods.
Optionally, the damage determination sub-module is further configured to:
and determining the damage degree of each screen division area according to the product of the display brightness and the display duration.
Optionally, the damage determination module includes:
the full-screen display module is used for displaying a preset picture on a full screen on a screen when the service time of the screen is longer than a first time threshold;
the acquisition module is used for acquiring a screen capture image of the preset picture;
the comparison module is used for comparing the screen capture image with the reference image and determining the damage degree of each screen division area; and the reference image is a screenshot picture obtained by displaying the preset picture in a full screen mode when the screen is not damaged.
Optionally, the alignment module includes:
the gray difference determining module is used for comparing the gray of the screen capture image in each screen division area with the gray of the reference image to obtain a gray difference;
and the comparison determining module is used for determining the damage degree of each screen division area according to the gray difference.
Optionally, the screen repair module is further configured to:
when a screen shutdown instruction is received, determining whether the total use time of the screen is greater than a second time threshold value;
and if the time length is larger than a second time length threshold, performing screen repair on the area to be repaired before executing the shutdown instruction.
According to a third aspect of the embodiments of the present disclosure, there is provided a screen repair apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the method of any of the above first aspects is implemented when executable instructions stored in the memory are executed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the steps of the method provided by any one of the above-mentioned first aspects.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the screen repairing method provided by the embodiment of the disclosure, the damage degree corresponding to each of the plurality of screen division areas obtained after the screen division is determined, so as to obtain the determination result whether each screen division area belongs to the area to be repaired, and if the screen division area belongs to the area to be repaired, the screen repairing is executed. Therefore, because the damage degree of each screen division area is different in the use of the screen in practice, the damage degree of each screen division area is determined respectively, and then the targeted repair is performed, so that the damage of the organic materials caused by frequent repair of other undamaged parts or less damaged parts can be effectively reduced while the screen is repaired.
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 invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a first flowchart illustrating a screen repairing method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a screen repairing method according to an exemplary embodiment.
Fig. 3(a) is a logic code diagram for screen repair in the embodiment of the present disclosure.
Fig. 3(b) is another logic code diagram for screen repair in the embodiment of the present disclosure.
Fig. 3(c) is a code implementation part for acquiring the gray scales of the screen capture image and the reference image.
Fig. 4 is a third flowchart illustrating a screen repair method according to an exemplary embodiment.
Fig. 5 is a fourth flowchart illustrating a screen repair method according to an exemplary embodiment.
Fig. 6 is a schematic structural diagram illustrating a screen repair apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a screen repair apparatus according to an exemplary 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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the present disclosure provides a screen repairing method, and fig. 1 is a first flowchart illustrating a screen repairing method according to an exemplary embodiment, and as shown in fig. 1, the screen repairing method includes the following steps:
step 101, determining damage degrees of a plurality of screen division areas;
step 102, determining whether the corresponding screen division area belongs to an area to be repaired according to the damage degree;
and 103, if the region belongs to the region to be repaired, performing screen repair on the region to be repaired.
It should be noted that the screen repairing method may be applied to any electronic device with a screen, for example, a computer, a smart phone, a smart watch, a television, and the like, and the disclosure does not limit this.
In an embodiment of the present disclosure, the screen at least includes: organic light emitting semiconductor (OLED) screens. The OLED screen is driven by an electric field, and the organic semiconductor material and the luminescent material in the screen realize luminescence after carrier injection and recombination. In essence, the transparent glass electrode is used as the anode of the device, the metal electrode is used as the cathode, electrons are transported from the cathode to the electron transport layer by the power drive, holes are injected from the anode to the hole transport layer, and then the electrons and the holes are respectively transferred to the light emitting layer, and excitons are generated after the electrons and the holes meet each other. The excitons excite the luminescent molecules to generate light after radiation. Thus, one OLED screen consists of millions of small bulbs.
Due to the light-emitting characteristics of the OLED screen, the OLED screen is damaged along with the prolonging of the service time, and the problem of image sticking is most common. Most of the damaged areas on the whole screen are concentrated in the center of the screen, or some positions where highlighted or static icons are displayed for a long time, for example, in the case of a television, ghost shadow usually appears at the position of a station logo of a radio station; while others are damaged to a lesser extent. At this time, if the entire screen is repaired indiscriminately after a certain limit value is reached by judging whether the screen use time reaches the certain limit value, the problem of damage of the organic material due to frequent repair of the entire screen occurs.
For the problem, the embodiment of the present disclosure provides a scheme for determining damage degrees of a plurality of screen division regions obtained after screen division, and then respectively repairing the screen division regions according to different damage degrees.
Here, the screen needs to be divided before determining the degree of damage of the plurality of screen division regions.
In the embodiment of the present disclosure, the dividing of the screen may include:
the screen is divided into N regions (i.e., N screen division regions are obtained) according to the size of the screen, where N is a positive integer.
For example, the screen is divided into 9 total areas of 3 × 3, which are respectively denoted as a0, a1, and a2.. a8 areas.
In the division of the screen, the screen may be divided into equal areas, that is, N screen division regions with equal areas are obtained. For example, the areas of the a0, a1, a2.. A8 regions are all equal.
Or, the area may be divided into different areas, that is, N screen division areas with incompletely equal areas are obtained, for example, the screen is divided into: a screen division region a in the middle, screen division regions B, C, D and E in the periphery, the area of the screen division region a being an integral multiple, for example, 2 times, the area of the screen division regions B, C, D and E.
In other embodiments, the dividing of the screen may further include:
and dividing the screen according to the layout information of the pictures with higher occurrence frequency to obtain N screen division areas.
For example, if the electronic device is a television, the pictures appearing on the television with higher frequency may be television programs broadcast by each satellite, and the layouts of the display pictures appearing when the television programs of each satellite are broadcast are: the TV station caption is displayed at the upper left corner of the picture, the information bar is displayed in a rolling way at the lower part of the picture, and the other positions are the positions for mainly playing information. Because the television station caption and the information bar displayed in a rolling way at the lower part exist all the time in the process of playing the picture, the two positions can be highlighted all the time, and the possibility of damage is high.
At this time, the minimum division unit can be determined according to the display area and the display position of the television station caption. Thus, the dividing the screen according to the layout information of the pictures with higher occurrence frequency to obtain N screen division regions includes:
determining a minimum division unit of the screen according to the display area and the display position of the television station caption;
and dividing the screen based on the total area of the screen and the minimum dividing unit to obtain N screen dividing regions.
Here, dividing the screen based on the layout information of the picture whose appearance frequency is high may be ascribed to the division of the unequal areas of the screen due to the limitation of the layout information.
In this division, the minimum division unit means: and a unit corresponding to the screen division region with the minimum area in the N screen division regions obtained after the screen division. The minimum dividing unit may be a rectangular unit, a circular unit, or the like, or may be other irregular units, which is not limited in this disclosure.
Taking the example that the minimum division unit is a rectangular unit, the minimum division unit may be a unit determined by the display position and the display area of the television station caption. That is, a region having the same area as the display area is divided at the display position of the tv logo as a minimum division unit.
In other embodiments, the minimum partition unit may also be: and dividing a region with the area being the multiple of the display area of the television station caption by taking the display position of the television station caption as the center.
The division mode is realized by combining with the actual display condition, so that the important restoration can be directly carried out on some fixed areas in the subsequent restoration, and the restoration speed can be higher.
Further, after the screen is divided, it is necessary to determine the degree of damage of each of the divided areas of the screen. As described above, the degree of damage due to the screen is related to the brightness and the use time of the screen. In an embodiment of the present disclosure, the determining the damage degree of the plurality of screen division areas may be: the damage degree of the plurality of screen division regions is determined by performing statistics of display brightness and display time duration for each screen division region. The specific implementation is described in detail later.
It should be noted that, in another embodiment, the determining the damage degree of the plurality of screen division areas further includes:
and determining the damage degree of the plurality of screen division areas after the service time of the screen reaches a preset time threshold.
The size of the preset duration threshold is related to screen parameters, such as the model of the screen or the durability of the material, and the size of the preset duration threshold can be set according to needs, which is not limited by the present disclosure.
That is, since the damage degree is obtained by acquiring some parameters corresponding to the screen, some operations need to be performed on the screen. If the damage degree of a plurality of screen division regions is determined in real time, the system load is increased, and the screen repair is not greatly facilitated. Moreover, most screens are damaged slowly after being used for a period of time, so that the step of determining the damage degree of the divided areas of the screens is started after the use time of the screens reaches the preset time threshold value, and thus, the system load can be reduced as much as possible.
Here, when the screen displays a picture, different regions on the screen are damaged to different degrees in the using process due to different picture structures, for example, a region at the upper left corner of the screen may be damaged to a higher degree, and a lower middle part of the screen may be damaged to a lower degree. While the screen may not necessarily be repaired when it is at a low level of damage, or, alternatively, when it is not damaged. Thus, before performing formal screen repair, the embodiments of the present disclosure need to determine whether each screen partition region belongs to a region to be repaired. Only the screen division area belonging to the area to be repaired performs screen repair.
Thus, by performing the processes separately for different damage levels, other undamaged portions can be reduced, or damage to the organic material due to frequent repair of less damaged portions can be avoided.
In some embodiments, fig. 2 is a flowchart illustrating a second screen repairing method according to an exemplary embodiment, where as shown in fig. 2, in step 102, the determining whether the corresponding screen partition region belongs to a region to be repaired according to the damage degree includes:
and step 1021, when the damage degree is larger than the preset damage threshold value, determining that the corresponding screen division area belongs to the area to be repaired.
Here, a damage threshold is preset to measure whether the screen division area currently damaged needs to be repaired.
The preset damage threshold may be determined based on the model of the screen or the durability of the material.
The relevant parameters of the screen, such as the manufacturer, the material of the screen, the size of the screen, etc., are obtained based on the model of the screen. And the material of the screen may have a direct influence on the durability of the screen. For example, for a screen with a higher durability of the material, the preset damage threshold may be set higher.
Because the picture composition is different when the screen displays the picture, the damage degree of different areas on the screen is different in the using process, and the screen is in a lower damage degree or is unnecessary to be repaired when the screen is not damaged. Therefore, by setting the preset damage threshold value, targeted processing can be realized, and any damage degree is prevented from being repaired, so that the cost is reduced, and the damage caused by frequent repair is also reduced.
Here, the determination process may be: and comparing the damage degree of each screen division region with a preset damage threshold value, and when the damage degree is greater than the preset damage threshold value according to the comparison result, determining that the screen division region corresponding to the damage degree belongs to the region to be repaired. And when the damage degree is smaller than or equal to the preset damage threshold value according to the comparison result, the screen division region corresponding to the damage degree is not considered to belong to the region to be repaired.
In some embodiments, as shown in fig. 2, in step 103, if the area to be repaired belongs to the area to be repaired, performing screen repair on the area to be repaired includes:
step 1031, if the damaged area belongs to the area to be repaired, determining a repair grade to which the damaged degree belongs;
and 1032, performing screen repair on the area to be repaired according to the repair strategy corresponding to the repair grade.
The damage degree is divided into different grades according to the embodiment of the disclosure, and the different grades correspond to different repairing modes. In order to implement automatic execution of corresponding repair, the electronic device according to the embodiment of the present disclosure stores in advance: and mapping relation between damage level and repair strategy and execution action.
As shown in table 1 below, table 1 is a mapping relationship between the damage level of the screen and the repair policy and the execution action.
Grade name Grade of damage Repair strategy Performing an action
Without damage L0 Need not repair Action(none)
Minor injury L1 Minor repair Action(Low)
Normal injury L2 Normal repair Action(Normal)
Severe damage L3 Severe repair Action(High)
TABLE 1
Table 1 above shows the damage levels of 4 grades: zero level (L0), first level (L1), second level (L2), and third level (L3). The zero level is no damage, the first level is slight damage, the second level is normal damage and the third level is severe damage, and the damage degrees of the 4 levels correspond to respective repair modes. Here, taking the damage level as L0 as an example, i.e., no damage, the repair policy is no repair required, and the corresponding execution action is no action.
It should be noted that different repair parameters exist for different repair methods, and each repair parameter is smaller in a repair process corresponding to a slight repair, for example, the repair time is shorter. And normal repair is light repair, and corresponding repair parameters are larger. In the heavy repair process, each repair parameter is relatively maximum, and the repair needs to be carried out for a longer time.
Here, the mapping relationship between the damage level and the repair policy may be determined based on various empirical values of the screen in the historical use and repair, that is, the damage degree and the repair parameter of each screen division region in the historical use process of a certain type of screen are counted, and then the mapping relationship between the damage level and the repair policy is determined.
After the damage degree of each screen division area is determined, when the screen division area is further determined to belong to the area to be repaired, the repair grade to which the damage degree belongs can be determined based on the pre-stored mapping relation between the damage grade and the repair strategy, and the corresponding repair strategy is determined based on the corresponding relation between the repair grade and the repair strategy, so that the screen is repaired. The repair grade is the damage grade in table 1.
In some embodiments, the screen repairing the area to be repaired includes:
displaying a repair picture in the area to be repaired;
and the display duration and/or the display frame number of the repair picture are/is positively correlated with the damage degree.
Here, when a certain area to be repaired is performing screen repair, a repair picture may be displayed in the area to be repaired. The larger the damage degree of the area to be repaired is, the longer the display time of the repair picture displayed on the area to be repaired is when the repair picture is displayed is, and/or the larger the number of display frames is.
Here, when the screen repair is started, the display of the repair screen may be started in the corresponding region to be repaired. And when the screen is repaired, stopping displaying the repair picture.
The repair picture may be any picture, for example, different modification pictures may be set corresponding to different levels of damage, when a certain area to be repaired corresponds to a first level of damage, the repair picture B is displayed on the area to be repaired, and when a certain area to be repaired corresponds to a third level of damage, the repair picture D is displayed on the area to be repaired.
Therefore, the user can directly know the damage degree of the screen according to the repair picture, the repair duration can be further calculated, and the user can conveniently master the repair progress.
The following describes a specific manner of determining the degree of damage of each screen division region:
in some embodiments, the determining the degree of damage of the plurality of screen division regions comprises:
counting the display brightness and the display duration of each screen division area;
and determining the damage degree of each screen division area according to the display brightness and the display duration.
As described above, when the screen is used, the use time period has a direct influence on the damage degree of the screen, and the longer the use time period is, the greater the damage degree of each screen division area is. When the screen division areas are used for the same time, the damage degree of each screen division area can be different due to different brightness of each screen division area in use. According to the embodiment of the disclosure, the damage degree of each screen division region is determined by counting the display brightness and the display time of each screen division region.
In some embodiments, the determining the damage degree of each of the screen division areas according to the display brightness and the display duration includes:
and determining the damage degree of each screen division area according to the product of the display brightness and the display duration.
I.e., C ═ B ═ T
In the formula, C is the damage degree, B is the display brightness, and T is the display duration.
Here, since the use of the screen is not continuous, the total damage degree of the screen is determined based on the accumulation of the damage degrees of the multiple uses. Thus, the accumulated value of the damage degrees in multiple uses is used as the total damage degree of the screen. Namely: CN, C1+ C2+ C3+. CN refers to the damage level determined in the Nth initial use of the screen, and N can take the value of 1, 2, 3 ….
For example, taking an a0 area as an example, the screen power-on time (screen-on time) is recorded as t0, the screen is started for the first time at t0, and then the damage value of the a0 area is 0, and after t minutes, that is, the screen is closed at t1(t0+ t), the damage degree C1 of the a0 area may be determined to be B0 × t from t0 to t1 based on the statistical display brightness B0 and the display duration t.
Then, assuming that the screen is started again after t minutes, that is, the screen is started for the second time at the time t2(t0+2t), and the screen is closed again after t minutes, that is, at the time t3(t0+3t), the damage degree C2 of the a0 region at this time is determined to be C1+ B2 × t. B2 is the statistical display brightness of the acquisition period from time t2 to time t 3.
Here, the counting the display luminance of each of the screen division regions includes:
acquiring an initial display brightness value of the screen division area at a starting time and a termination display brightness value of the screen division area at an ending time according to a preset acquisition period, and determining the display brightness value of the screen division area in one acquisition period;
and counting the accumulated display brightness values of the screen division areas based on the accumulation of the display brightness values determined by the plurality of acquisition periods.
Since the display content executed by the screen after each startup may be different, different display contents may correspond to different brightness in each screen division region. Then, the statistics of the display brightness of each of the screen division regions specifically includes: and counting the average display brightness of each screen division area in the using time length.
The preset acquisition period is as follows: the time period for acquiring the display luminance of the screen is, for example, performed every 1 minute, specifically: taking the area a0 as an example, the power-on time (screen-on time) of the screen is recorded as t0, and the display brightness value of the area a0 is recorded as B0; assuming that the preset acquisition period is t, the display brightness value is acquired once again after t minutes, namely at the time of t1(t0+ t), and is marked as B1, and the display brightness value in the time period from t0 to t1 is (B0+ B1)/2.
Correspondingly, the time from t0 to t1 is an acquisition period, when the display brightness values of the screen are continuously acquired in a plurality of continuous acquisition periods, the acquired display brightness values are accumulated based on the acquired display brightness values, and then the average is calculated, so that the accumulated display brightness values of the divided areas of the screen can be obtained.
For example, taking the a0 area as an example, assuming that the preset acquisition period is t, the screen power-on time (screen-on time) is recorded as t0, and the display brightness value of the a0 area is recorded as B0; then, after t minutes, that is, the display brightness value is collected once again at the time t1(t0+ t) and recorded as B1, and after t minutes, that is, the display brightness value is collected once again at the time t2(t0+2t) and recorded as B2, the display brightness value in the period from t0 to t2 is (B0+ B1+ B2)/3. Thus, the damage degree C of each of the screen division regions is (B0+ B1+ B2)/3 × (2 t).
It should be noted that B0 refers to the display brightness value of the a0 area, and a0 includes a plurality of pixels as one area. Then, in the embodiment of the present disclosure, the display brightness value B0 of the a0 area refers to: and determining an average display brightness value based on the display brightness values of a plurality of pixel points contained in the A0 area.
In the present disclosure, the following embodiments are also provided to determine the degree of damage of a plurality of screen division areas, namely:
in some embodiments, the determining the degree of damage of the plurality of screen division regions comprises:
when the service time of the screen is longer than a first time threshold, displaying a preset picture on the screen in a full screen mode;
acquiring a screen capture image of the preset picture;
comparing the screen shot image with the reference image, and determining the damage degree of each screen division area; and the reference image is a screenshot picture obtained by displaying the preset picture in a full screen mode when the screen is not damaged.
In the disclosure, in addition to directly counting the display brightness and the display duration to determine the degree of damage, a comparison with a reference image is also proposed to determine the degree of damage.
After the screen is used for a period of time, each divided area of the screen can be damaged in different degrees, and the display effect when the preset picture is displayed at the moment can be different compared with the display effect when the preset picture is displayed when the screen is not damaged. Then, the damage degree can be determined by comparing the screen capture image with the reference image.
Here, the process of comparing the screen capture image with the reference image to determine the damage degree of each of the screen division regions may be: a preset picture is prepared, the preset picture is displayed in a full screen mode when the screen is not damaged, and screen capture is carried out to obtain a reference image. And when the service time of the screen is longer than the first time threshold, displaying the preset picture on the screen in a full screen mode, and performing screen capture, wherein the captured image is obtained at the moment. And comparing the screen shot image with the reference image to determine the damage degree of each screen division area.
The first duration threshold refers to a threshold at which damage to the screen is expected, and the size of the first duration threshold is related to screen parameters, such as the model of the screen or the durability of the material, and the size of the first duration threshold may be set as needed, which is not limited by the present disclosure.
In some embodiments, the screen usage time is greater than the first time threshold, which may be: the total use time of the screen is greater than a first time threshold; that is, the total usage time from the beginning of the screen to the present is counted, and when the total usage time is greater than the first time threshold, the preset picture is displayed on the screen in a full screen mode.
In other embodiments, the screen usage duration is greater than the first duration threshold, and may be: the service life of the screen after each start is longer than a first time threshold; namely, when the screen is in use, after the screen is opened every time, if the time length for executing display reaches a first time length threshold value, a preset picture is displayed on the screen in a full screen mode.
Here, since the damage of the screen is damage after cumulative use for a plurality of times, as long as the use time of the screen after each start is greater than the first time threshold, the screen may be damaged, and at this time, the damage degree may be determined based on comparing the screenshot image and the reference image in the above embodiment.
In some embodiments, the comparing the screen shot image and the reference image to determine the damage degree of each of the screen division regions includes:
comparing the gray level of the screenshot image with the gray level of the reference image in each screen division area to obtain a gray level difference;
and determining the damage degree of each screen division area according to the gray difference.
In the embodiment of the present disclosure, the captured image and the reference image are compared to determine the damage degree of each screen division region, which may be by comparing feature values of the captured image and the reference image to determine the damage degree of each screen division region.
In some embodiments, the feature value of the image may be determined based on a grayscale of the image. Namely: calculating gray difference through the gray of each pixel point in the screenshot image and the gray of each pixel point in the reference image, and determining the damage degree of each screen division area according to the gray difference.
Here, table 2 shows the correspondence of the gradation of different screen division regions in the screen shot image and the reference image screen to the degree of damage:
screen partition area 0 1 2 N-1
Reference image G(A0) G(A1) G(A2) G(An-1)
Screenshot image G(P0) G(P1) G(P2) G(Pn-1)
Degree of damage M0 M1 M2 Mn-1
TABLE 2
Here, based on the parameters in table 2, the degree of damage of each of the screen division regions may be determined as:
Mn=G(Pn)-G(An)
in the formula, Mn is a damage degree of the screen division region n in the screen shot image, g (pn) is a gray scale corresponding to the screen division region n in the screen shot image, and g (an) is a gray scale corresponding to the screen division region n in the reference image.
Here, since the damage degree of each screen division region is different in actual use of the screen, the damage degree of each screen division region is determined separately, and the damage degree of each portion can be processed to reduce other undamaged portions or avoid damage of organic materials caused by frequent repair of less damaged portions.
In some embodiments, the screen repairing the area to be repaired includes:
when a screen shutdown instruction is received, determining whether the total use time of the screen is greater than a second time threshold value;
and if the time length is larger than a second time length threshold, performing screen repair on the area to be repaired before executing the shutdown instruction.
The size of the second duration threshold is related to screen parameters, such as the model of the screen or the durability of the material, and the size of the preset duration threshold can be set according to needs, which is not limited by the present disclosure.
In some embodiments, the second duration threshold > the first duration threshold > the preset duration threshold.
In order not to affect the use of the user, the embodiment of the present disclosure may determine whether to perform screen repair by determining whether the total use time of the screen is greater than the second time threshold each time the screen shutdown instruction is received. And if the total use time of the screen is determined to be greater than the second time threshold when the screen shutdown instruction is received, screen repair can be executed, and at the moment, the repair opportunity is better because the user does not use the screen any more.
In some embodiments, the step of counting the screen use duration may be periodically performed in advance, and when the screen shutdown instruction is received, it is determined whether the total screen use duration is greater than the second duration threshold based on the data counted in advance.
Here, when the total usage time period of the screen is less than or equal to the second time period threshold, the shutdown is normally performed. And when the total use time of the screen is greater than the second time threshold, firstly executing screen repair, and executing shutdown after the repair is completed.
It should be noted that, when shutdown is performed after repair is completed, the repair is completed, and the repair includes: repair is successful or repair fails. I.e. after a repair failure, shutdown is performed as well. For example, when the network is suddenly disconnected, the repair termination is detected, and if the termination time reaches a preset time, the repair is considered to fail, and the shutdown is executed.
Thus, redundant waiting caused by repair failure can be reduced through the detection step and the judgment step.
Here, at the time of screen restoration, it is possible to determine which damage level the damage value of the current screen division area corresponds to by extracting the relevant parameters of the plurality of screen division areas, thereby performing the corresponding action. Regarding the correspondence of damage levels to regions, damage values, and actions to perform, see table 3, table 3 shows the relevant parameters of the screen, as shown in table 3:
grade of damage L0,L1,L2,L3
Screen partition area A0,A1,A2....An-1
Damage value C(A0),C(A1),C(A2)....C(An-1)
Performing an action Action(none),action(low),action(normal),action(high)
TABLE 3
Fig. 3 is a partial implementation code of a screen repairing method according to an embodiment of the present disclosure, where fig. 3(a) is a schematic logic code diagram of screen repairing according to an embodiment of the present disclosure. Fig. 3(b) is another logic code diagram for screen repair in the embodiment of the present disclosure. Fig. 3(c) is a code implementation part for acquiring the gray scales of the screen capture image and the reference image. As shown in fig. 3(c), the gray levels of the screen capture image and the reference image may be acquired based on the getColorGray () function. After obtaining the gray scale, the damage degree can be further determined, and then the screen repair is realized according to the main logic code in fig. 3 (b).
The present disclosure also provides the following embodiments:
before executing the embodiment of the present disclosure, the damage level of the screen and the execution time of screen repair are defined:
for example, the damage of the screen may be defined as 4 levels as shown in table 1 according to the degree of damage of the screen.
For another example, after the screen use time exceeds T minutes, it is determined whether screen repair is required, and after it is determined that screen repair is performed, the repair strategy of the embodiment of the present disclosure is performed to repair.
As shown in fig. 4, fig. 4 is a schematic flowchart illustrating a screen repairing method according to an exemplary embodiment, where the screen repairing method of the present disclosure includes:
step 401, counting the service life of the screen.
And counting the service time T of the screen from the screen lightening on the screen. The flow is as follows:
and after the screen is lightened, the screen is considered to be used, after m minutes, the time is counted once, and the m value is stored in the database.
Namely: T-T0 + m;
t0 is the saved time value in the database, and m minutes is saved on the basis of the saved time value, so that the screen use time length T is obtained.
It should be noted that the use duration here refers to the total use duration of the screen.
Step 402, determining whether the usage duration of the screen is greater than a second duration threshold.
When the usage time of the screen is less than or equal to the second time threshold, go to step 407 directly.
When the usage time of the screen is greater than the second time threshold, go to step 403.
In step 403, the screen is divided into a plurality of screen division areas.
After the screen is highlighted, the screen area may be divided into N areas (for example, 9 areas in total for 3 × 3) according to the screen size, which are respectively denoted as a0, a1, and a2.. a8 areas.
At step 404, the damage level of each screen division area is calculated.
Since the most direct cause of screen damage is brightness, the present disclosure creates brightness for N different areas of the screen, and the sampling devices C (a0), C (a1), C (a2) that use time. The degree of damage of the screen division regions for the period of time is determined based on the product of the average brightness value of each screen division region and the time.
The average brightness value of the screen divided regions is counted every fixed time (e.g., 1 minute), and the shorter the interval time is, the more accurately the damage level is calculated.
For example, taking the a0 area as an example, the specific procedure for calculating the damage degree is as follows:
step 4041, recording the screen-on-screen lighting time as t0, and recording the average brightness value of the current A0 area as B0;
in step 4042, the time after t minutes is denoted as t1, and the current average brightness value of the region is denoted as B1, and then the damage degree C0 of the a0 region in the t time period is denoted as C0 ═ B1+ B0)/2 × t.
Step 4043, store C0 in the database.
Assuming that a part of the damage degree C (a) for the a0 area is stored in the database before, the total screen damage value of the a0 area at this time is C (a0) ═ C (a) + C0;
step 4044, repeat steps 4041 through 4043, and cumulatively record the extent of damage in the area a 0.
The respective damage degrees C (a0), C (a1), C (a 2.) No.. C (An-1) are recorded for all N areas and saved to a database.
Step 405, determine whether screen repair is needed.
Here, it is determined whether or not screen restoration is required for each screen division region according to the degree of damage determined for each screen division region.
And dividing the screen needing screen repair into areas, and executing screen repair corresponding to the action.
In step 406, screen repair is performed.
When it is determined in step 405 that a screen repair action is required, all screen-related parameters are extracted, and for all screen-divided regions, which damage level range the current region damage value meets is determined, so that a corresponding action is performed.
It should be noted that, here, when it is determined that screen repair needs to be performed, the implementation timing of the specific repair action may be: and when a screen shutdown instruction is received.
That is, based on the above steps 401 and 402, it can be seen that the total usage time of the screen has reached the second time threshold, at this time, the damage degree of each screen division area can be determined, and it is known through the above steps 403, 404, and 405 that the screen repair is to be started, and then, when the screen shutdown instruction is received, a specific screen repair step can be implemented.
Here, when the above steps 403, 404, and 405 are executed, the screen is in a use stage, and at this time, performing the repair directly may affect normal use of the user, and then the specific repair step may be performed when the screen shutdown instruction is received.
Specifically, when the screen is powered off, it is first determined whether the total screen use time (T saved in step 401) has reached the limit for performing screen repair (the second duration threshold T2 defined in step 402).
Figure BDA0002685906750000151
Figure BDA0002685906750000161
And step 407, ending.
Therefore, because the damage degree of each screen division area is different in the use of the screen in practice, the damage degree of each screen division area is determined respectively, and then the targeted repair is performed, so that the damage of the organic materials caused by frequent repair of other undamaged parts or less damaged parts can be effectively reduced while the screen is repaired.
The present disclosure also provides another embodiment:
before executing the embodiment of the present disclosure, a preset picture P is preset, and the damaged level of the screen and the execution time of screen repair are defined:
for example, the damage of the screen may be defined as 4 levels as shown in table 1 according to the degree of damage of the screen.
For another example, after the screen use time exceeds T minutes, it is determined whether screen repair is required, and after it is determined that screen repair is performed, the repair strategy of the embodiment of the present disclosure is performed to repair.
As shown in fig. 5, fig. 5 is a fourth flowchart illustrating a screen repairing method according to an exemplary embodiment. The screen repairing method comprises the following steps:
step 501, counting the service life of the screen.
And counting the service time T of the screen from the screen lightening on the screen. The flow is as follows:
and after the screen is lightened, the screen is considered to be used, after m minutes, the time is counted once, and the m value is stored in the database.
Namely: T-T0 + m;
t0 is the saved time value in the database, and m minutes is saved on the basis of the saved time value, so that the screen use time length T is obtained.
Step 502, determining whether the service time of the screen is greater than a second time threshold.
When the usage time of the screen is less than or equal to the second time threshold, go to step 507 directly.
When the usage time of the screen is greater than the second time threshold, go to step 503.
Step 503, acquiring the screen capture image and the reference image.
Taking an electronic device as a television as an example, when the television is started and the service life of the screen is determined to be greater than a first time threshold, displaying a preset picture P in a full screen mode, carrying out screenshot, and saving the screenshot as bitmap A. BitmapA was cut into N regions, a0, a1, and a2.
And displaying the preset picture P in a full screen mode when the screen is not damaged, cutting the preset picture P to obtain a reference image, and cutting the reference image into N areas, namely P0, P1 and P2 … Pn-1.
Step 504, comparing the screen capture image with the reference image, and determining the damage degree of each screen division area.
And comparing the characteristic values of the screenshot image and the reference image, wherein the characteristic values of the image can be obtained by adopting a method for obtaining gray levels, namely obtaining the gray level value of each pixel point, adding the gray level values to obtain the integral gray level value, and calculating the damage value Mn.
The damage value M may be calculated using the absolute value of the difference between the two feature values: mn ═ g (pn) -g (an).
And 505, judging whether screen repair is needed or not.
Here, it is determined whether or not screen restoration is required for each screen division region according to the degree of damage determined for each screen division region.
And dividing the screen needing screen repair into areas, and executing screen repair corresponding to the action.
Step 506, screen repair is performed.
When it is determined in step 505 that a screen repairing action is required, all screen-related parameters are extracted, and for all screen division areas, it is determined which damage level range the current area damage value meets, so as to execute a corresponding action.
It should be noted that, here, when it is determined that screen repair needs to be performed, the implementation timing of the specific repair action may be: and when a screen shutdown instruction is received.
Here, the detailed description of the implementation timing of the repair action is the same as that of step 406, and is not repeated.
And step 507, ending.
According to the screen repairing method provided by the embodiment of the disclosure, whether each screen division region belongs to a region to be repaired is determined by determining the damage degree corresponding to each of a plurality of screen division regions obtained after screen division, and if the screen division regions belong to the region to be repaired, screen repairing is performed. Therefore, in practice, due to the fact that the damage degree of each screen division area is different in the use of the screen, the damage degree of each screen division area is determined respectively, and the damage degree of each screen division area can be processed according to the different damage degree of each part, so that other undamaged parts are reduced, or the damage of organic materials caused by frequent repair of the less damaged parts is avoided.
The present disclosure also provides a screen repairing apparatus, and fig. 6 is a schematic structural diagram of a screen repairing apparatus according to an exemplary embodiment, and as shown in fig. 6, the screen repairing apparatus 600 includes:
a damage determination module 601 for determining damage degrees of a plurality of screen division regions;
a region determining module 602, configured to determine whether the corresponding screen partition region belongs to a region to be repaired according to the damage degree;
and the screen repairing module 603 is configured to, if the screen division region belongs to a region to be repaired, perform screen repairing on the region to be repaired.
In some embodiments, the region determining module is further configured to:
and when the damage degree is greater than a preset damage threshold value, determining that the corresponding screen division area belongs to an area to be repaired.
In some embodiments, the screen repair module comprises:
the grade determining module is used for determining the repair grade to which the damage degree belongs if the damage degree belongs to the area to be repaired;
and the screen repairing submodule is used for performing screen repairing on the area to be repaired according to the repairing strategy corresponding to the repairing grade.
In some embodiments, the screen repair module is further configured to:
displaying a repair picture in the area to be repaired;
and the display duration and/or the display frame number of the repair picture are/is positively correlated with the damage degree.
In some embodiments, the impairment determination module comprises:
the statistical module is used for counting the display brightness and the display duration of each screen division area;
and the damage determining submodule is used for determining the damage degree of each screen division area according to the display brightness and the display duration.
In some embodiments, the statistics module comprises:
the brightness value determining module is used for acquiring an initial display brightness value of the screen division region at a starting time and a termination display brightness value of the screen division region at an ending time according to a preset acquisition period, and determining a display brightness value of the screen division region in one acquisition period;
and the counting submodule is used for counting the accumulated display brightness values of the screen division areas based on the accumulation of the display brightness values determined by the plurality of acquisition periods.
In some embodiments, the impairment determination submodule is further configured to:
and determining the damage degree of each screen division area according to the product of the display brightness and the display duration.
In some embodiments, the impairment determination module comprises:
the full-screen display module is used for displaying a preset picture on a full screen on a screen when the service time of the screen is longer than a first time threshold;
the acquisition module is used for acquiring a screen capture image of the preset picture;
the comparison module is used for comparing the screen capture image with the reference image and determining the damage degree of each screen division area; and the reference image is a screenshot picture obtained by displaying the preset picture in a full screen mode when the screen is not damaged.
In some embodiments, the alignment module comprises:
the gray difference determining module is used for comparing the gray of the screen capture image in each screen division area with the gray of the reference image to obtain a gray difference;
and the comparison determining module is used for determining the damage degree of each screen division area according to the gray difference.
In some embodiments, the screen repair module is further configured to:
when a screen shutdown instruction is received, determining whether the total use time of the screen is greater than a second time threshold value;
and if the time length is larger than a second time length threshold, performing screen repair on the area to be repaired before executing the shutdown instruction.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating a screen saver 1800 according to an example embodiment. For example, the apparatus 1800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and so forth.
Referring to fig. 7, apparatus 1800 may include one or more of the following components: a processing component 1802, a memory 1804, a power component 1806, a multimedia component 1808, an audio component 1810, an input/output (I/O) interface 1812, a sensor component 1814, and a communications component 1816.
The processing component 1802 generally controls the overall operation of the device 1800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1802 may include one or more processors 1820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1802 may also include one or more modules that facilitate interaction between the processing component 1802 and other components. For example, the processing component 1802 can include a multimedia module to facilitate interaction between the multimedia component 1808 and the processing component 1802.
The memory 1804 is configured to store various types of data to support operation at the apparatus 1800. Examples of such data include instructions for any application or method operating on the device 1800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1804 may be implemented by any type or combination of volatile or non-volatile storage 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.
Power components 1806 provide power to various components of device 1800. The power components 1806 may include: a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 1800.
The multimedia component 1808 includes a screen that provides an output interface between the device 1800 and a user. 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 user. 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. In some embodiments, the multimedia component 1808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 1800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and/or rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1810 is configured to output and/or input audio signals. For example, the audio component 1810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1800 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1804 or transmitted via the communication component 1816. In some embodiments, audio component 1810 also includes a speaker for outputting audio signals.
I/O interface 1812 provides an interface between processing component 1802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 1814 includes one or more sensors for providing various aspects of state assessment for the apparatus 1800. For example, the sensor assembly 1814 can detect an open/closed state of the device 1800, the relative positioning of components such as a display and keypad of the device 1800, the sensor assembly 1814 can also detect a change in position of the device 1800 or a component of the device 1800, the presence or absence of user contact with the device 1800, orientation or acceleration/deceleration of the device 1800, and a change in temperature of the device 1800. The sensor assembly 1814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1816 is configured to facilitate communications between the apparatus 1800 and other devices in a wired or wireless manner. The device 1800 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 1816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1816 further includes a Near Field Communication (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, or other technologies.
In an exemplary embodiment, the apparatus 1800 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 for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as the memory 1804 including instructions that are executable by the processor 1820 of the apparatus 1800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor, enable the above-described screen repair method to be performed.
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 (22)

1. A screen repair method, comprising:
determining damage degrees of a plurality of screen division regions;
determining whether the corresponding screen division region belongs to a region to be repaired or not according to the damage degree;
and if the region belongs to the region to be repaired, performing screen repair on the region to be repaired.
2. The method according to claim 1, wherein said determining whether the corresponding screen division region belongs to a region to be repaired according to the damage degree comprises:
and when the damage degree is greater than a preset damage threshold value, determining that the corresponding screen division area belongs to an area to be repaired.
3. The method according to claim 1 or 2, wherein the screen repairing is performed on the area to be repaired if the area to be repaired belongs to the area to be repaired, and the method comprises the following steps:
if the damaged area belongs to the area to be repaired, determining the repair grade of the damaged degree;
and performing screen repair on the area to be repaired according to the repair strategy corresponding to the repair grade.
4. The method according to claim 1, wherein the screen repairing the area to be repaired comprises:
displaying a repair picture in the area to be repaired;
and the display duration and/or the display frame number of the repair picture are/is positively correlated with the damage degree.
5. The method of claim 1, wherein determining the extent of damage to the plurality of screen partition regions comprises:
counting the display brightness and the display duration of each screen division area;
and determining the damage degree of each screen division area according to the display brightness and the display duration.
6. The method of claim 5, wherein said counting the display brightness of each of said screen partition areas comprises:
acquiring an initial display brightness value of the screen division area at a starting time and a termination display brightness value of the screen division area at an ending time according to a preset acquisition period, and determining the display brightness value of the screen division area in one acquisition period;
and counting the display brightness values of the screen division areas based on the accumulation of the display brightness values determined by the plurality of acquisition periods.
7. The method of claim 5, wherein said determining the damage level of each of said screen partition regions according to said display brightness and said display duration comprises:
and determining the damage degree of each screen division area according to the product of the display brightness and the display duration.
8. The method of claim 1, wherein determining the extent of damage to the plurality of screen partition regions comprises:
when the service time of the screen is longer than a first time threshold, displaying a preset picture on the screen in a full screen mode;
acquiring a screen capture image of the preset picture;
comparing the screen shot image with the reference image, and determining the damage degree of each screen division area; and the reference image is a screenshot picture obtained by displaying the preset picture in a full screen mode when the screen is not damaged.
9. The method of claim 8, wherein said comparing said captured image with a reference image to determine a degree of damage to each of said screen partitions comprises:
comparing the gray level of the screenshot image with the gray level of the reference image in each screen division area to obtain a gray level difference;
and determining the damage degree of each screen division area according to the gray difference.
10. The method according to claim 1, wherein the screen repairing the area to be repaired comprises:
when a screen shutdown instruction is received, determining whether the total use time of the screen is greater than a second time threshold value;
and if the time length is larger than a second time length threshold, performing screen repair on the area to be repaired before executing the shutdown instruction.
11. A screen saver device, comprising:
a damage determination module for determining a degree of damage of the plurality of screen division regions;
the area determining module is used for determining whether the corresponding screen division area belongs to an area to be repaired according to the damage degree;
and the screen repairing module is used for repairing the screen of the area to be repaired if the screen division area belongs to the area to be repaired.
12. The apparatus of claim 11, wherein the region determining module is further configured to:
and when the damage degree is greater than a preset damage threshold value, determining that the corresponding screen division area belongs to an area to be repaired.
13. The apparatus of claim 11 or 12, wherein the screen repair module comprises:
the grade determining module is used for determining the repair grade to which the damage degree belongs if the damage degree belongs to the area to be repaired;
and the screen repairing submodule is used for performing screen repairing on the area to be repaired according to the repairing strategy corresponding to the repairing grade.
14. The apparatus of claim 11, wherein the screen repair module is further configured to:
displaying a repair picture in the area to be repaired;
and the display duration and/or the display frame number of the repair picture are/is positively correlated with the damage degree.
15. The apparatus of claim 11, wherein the impairment determination module comprises:
the statistical module is used for counting the display brightness and the display duration of each screen division area;
and the damage determining submodule is used for determining the damage degree of each screen division area according to the display brightness and the display duration.
16. The apparatus of claim 15, wherein the statistics module comprises:
the brightness value determining module is used for acquiring an initial display brightness value of the screen division region at a starting time and a termination display brightness value of the screen division region at an ending time according to a preset acquisition period, and determining a display brightness value of the screen division region in one acquisition period;
and the counting submodule is used for counting the accumulated display brightness values of the screen division areas based on the accumulation of the display brightness values determined by the plurality of acquisition periods.
17. The apparatus of claim 15, wherein the impairment determination sub-module is further configured to:
and determining the damage degree of each screen division area according to the product of the display brightness and the display duration.
18. The apparatus of claim 11, wherein the impairment determination module comprises:
the full-screen display module is used for displaying a preset picture on a full screen on a screen when the service time of the screen is longer than a first time threshold;
the acquisition module is used for acquiring a screen capture image of the preset picture;
the comparison module is used for comparing the screen capture image with the reference image and determining the damage degree of each screen division area; and the reference image is a screenshot picture obtained by displaying the preset picture in a full screen mode when the screen is not damaged.
19. The apparatus of claim 18, wherein the alignment module comprises:
the gray difference determining module is used for comparing the gray of the screen capture image in each screen division area with the gray of the reference image to obtain a gray difference;
and the comparison determining module is used for determining the damage degree of each screen division area according to the gray difference.
20. The apparatus of claim 11, wherein the screen repair module is further configured to:
when a screen shutdown instruction is received, determining whether the total use time of the screen is greater than a second time threshold value;
and if the time length is larger than a second time length threshold, performing screen repair on the area to be repaired before executing the shutdown instruction.
21. A screen saver device, comprising:
a processor and a memory for storing executable instructions operable on the processor, wherein:
the processor is configured to execute the executable instructions, which when executed perform the steps of the method as provided in any one of the preceding claims 1 to 10.
22. A non-transitory computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, perform steps in a method as provided by any one of claims 1 to 10.
CN202010976276.9A 2020-09-16 2020-09-16 Screen repair method, device and storage medium Pending CN112116574A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010976276.9A CN112116574A (en) 2020-09-16 2020-09-16 Screen repair method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010976276.9A CN112116574A (en) 2020-09-16 2020-09-16 Screen repair method, device and storage medium

Publications (1)

Publication Number Publication Date
CN112116574A true CN112116574A (en) 2020-12-22

Family

ID=73803649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010976276.9A Pending CN112116574A (en) 2020-09-16 2020-09-16 Screen repair method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112116574A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040107380A1 (en) * 2002-09-04 2004-06-03 Sony Corporation Screen display processing apparatus, screen display processing method and computer program
US20160189636A1 (en) * 2014-12-31 2016-06-30 Xiaomi Inc. Backlight control method and device
CN106205531A (en) * 2016-08-09 2016-12-07 青岛海信电器股份有限公司 A kind of method adjusting on-screen displays and display device
US20170256051A1 (en) * 2016-03-07 2017-09-07 Hyla, Inc. Screen damage detection for devices
CN108281102A (en) * 2018-01-31 2018-07-13 京东方科技集团股份有限公司 The detection device and method of AMOLED display device, prosthetic device and method, repair system
US20180268783A1 (en) * 2017-03-20 2018-09-20 Paypal, Inc. Automated user device damage remidiation
CN109144360A (en) * 2018-05-31 2019-01-04 北京小米移动软件有限公司 Screen lighting method, electronic equipment and storage medium
US20190353520A1 (en) * 2018-05-16 2019-11-21 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for acquiring ambient light brightness
CN110956938A (en) * 2018-09-26 2020-04-03 北京小米移动软件有限公司 Screen brightness adjusting method and device, electronic equipment and readable storage medium
CN111028750A (en) * 2019-12-27 2020-04-17 深圳创维-Rgb电子有限公司 Display screen repairing method and device, display terminal and storage medium
CN111539238A (en) * 2020-04-27 2020-08-14 广州致远电子有限公司 Two-dimensional code image restoration method and device, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040107380A1 (en) * 2002-09-04 2004-06-03 Sony Corporation Screen display processing apparatus, screen display processing method and computer program
US20160189636A1 (en) * 2014-12-31 2016-06-30 Xiaomi Inc. Backlight control method and device
US20170256051A1 (en) * 2016-03-07 2017-09-07 Hyla, Inc. Screen damage detection for devices
CN106205531A (en) * 2016-08-09 2016-12-07 青岛海信电器股份有限公司 A kind of method adjusting on-screen displays and display device
US20180268783A1 (en) * 2017-03-20 2018-09-20 Paypal, Inc. Automated user device damage remidiation
CN108281102A (en) * 2018-01-31 2018-07-13 京东方科技集团股份有限公司 The detection device and method of AMOLED display device, prosthetic device and method, repair system
US20190353520A1 (en) * 2018-05-16 2019-11-21 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for acquiring ambient light brightness
CN109144360A (en) * 2018-05-31 2019-01-04 北京小米移动软件有限公司 Screen lighting method, electronic equipment and storage medium
CN110956938A (en) * 2018-09-26 2020-04-03 北京小米移动软件有限公司 Screen brightness adjusting method and device, electronic equipment and readable storage medium
CN111028750A (en) * 2019-12-27 2020-04-17 深圳创维-Rgb电子有限公司 Display screen repairing method and device, display terminal and storage medium
CN111539238A (en) * 2020-04-27 2020-08-14 广州致远电子有限公司 Two-dimensional code image restoration method and device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冯林;孙焘;谢辉;: "基于差值的动态屏幕截取快速算法", 计算机技术与发展, no. 12 *
尹成瑞;: "多媒体教学中的屏幕分块算法的改进", 微型电脑应用, no. 04 *

Similar Documents

Publication Publication Date Title
CN110634434B (en) Driving method and driving device of display panel and display device
US20190295493A1 (en) Method, terminal and storage medium for preventing display from image-sticking
CN113593480B (en) Brightness compensation method and device for display screen and storage medium
CN109215578B (en) Screen display method and device
CN108122195B (en) Picture processing method and device
CN107170403B (en) Picture frame display method and device
CN111429840A (en) Display device and brightness adjusting method thereof
CN111754929B (en) Ambient light parameter acquisition method and device and storage medium
CN111210792A (en) Method and device for determining ambient light brightness, terminal and storage medium
CN112599090A (en) Anti-ghost processing method and device based on OLED screen body
CN112116574A (en) Screen repair method, device and storage medium
KR102526982B1 (en) Display control method, display control device, and computer-readable storage medium
CN113066452B (en) Display control method and device, electronic equipment and computer readable storage medium
CN111383583B (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN112863441A (en) Display method and device
CN113660428A (en) Image acquisition method and device and electronic equipment
CN113823219A (en) Method, device, terminal equipment and medium for improving display effect of display screen
CN111477167A (en) Method, device and storage medium for correcting display brightness
CN114120898B (en) Brightness adjusting method, brightness adjusting device and computer readable storage medium
CN113470571B (en) Brightness compensation method and device, electronic equipment and computer readable storage medium
CN112669741B (en) Light emission control method and device and electronic equipment
CN112992060B (en) Display method and device of display screen of electronic equipment and electronic equipment
CN111292690B (en) Screen backlight brightness adjusting method and device
CN107564451B (en) Display panel and display method
CN111880886A (en) Screen saver picture selection method and device and 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