Method, apparatus, electronic device and storage medium for controlling LED light source
By acquiring historical field information of the display screen, predicting the field to be displayed, and triggering the operation of alternative LED light sources when there is a risk of light decay, the problem of reduced display brightness caused by LED light source light decay is solved, thus achieving brightness maintenance of the display screen and improved user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD
- Filing Date
- 2022-10-14
- Publication Date
- 2026-07-10
AI Technical Summary
LED light sources will experience light decay after a period of use, resulting in a decrease in the display brightness of the screen.
By acquiring historical field information from the display screen, the field to be displayed is predicted, and when there is a risk of light decay in the target LED light source, the alternative LED light source is triggered to run immediately to replace the target LED light source.
This ensures the display brightness and improves the user experience.
Smart Images

Figure CN117939717B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and for example to a method, apparatus, electronic device, and storage medium for controlling LED light sources. Background Technology
[0002] As people's living standards improve, smart home appliances have entered thousands of households. Existing home appliances typically have a display screen with multiple LEDs (Light Emitting Diodes) inside, with one LED corresponding to each field. The mainboard of the appliance controls the illumination of specific LEDs to display the current operating mode of the appliance.
[0003] In the process of implementing the embodiments of this disclosure, at least the following problems were found in the related art:
[0004] After a period of use, LED light sources will experience light decay, resulting in a decrease in the display brightness of the screen.
[0005] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0006] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.
[0007] This disclosure provides a method, apparatus, electronic device, and storage medium for controlling an LED light source to ensure the display brightness of the screen.
[0008] In some embodiments, the method for controlling an LED light source includes: acquiring several historical field information displayed on a display screen; predicting a field to be displayed based on each of the historical field information, and a first time for displaying the field to be displayed; determining whether there is a risk of light decay in the target LED light source corresponding to the field to be displayed; if there is a risk of light decay in the target LED light source corresponding to the field to be displayed, determining a candidate LED light source corresponding to the field to be displayed; and triggering the operation of the candidate LED light source corresponding to the field to be displayed at the first time.
[0009] In some embodiments, the historical field information includes historical fields and a second time when the historical fields are displayed; predicting a field to be displayed based on each of the historical field information and a first time when the field to be displayed is to be displayed includes: obtaining the currently displayed field at the current moment of the display screen; predicting the field to be displayed based on the currently displayed field, each of the historical fields and each of the second times, and a first time when the field to be displayed is to be displayed.
[0010] In some embodiments, predicting the field to be displayed based on the currently displayed field, each of the historical fields, and each of the second times, and determining the first time to display the field to be displayed, includes: sorting each historical field in descending order according to each of the second times to obtain a historical field information sorting list; determining a historical field that is the same as the currently displayed field as a first candidate field; obtaining a second candidate field corresponding to each of the first candidate fields from the historical field information sorting list; wherein the second candidate field is adjacent to the corresponding first candidate field, and the second time to display the second candidate field is greater than the second time to display the corresponding first candidate field; sorting each of the second candidate fields in descending order according to their frequency of occurrence, and determining the second candidate field that is ranked first as the field to be displayed; obtaining the time difference between the second candidate field closest to the current time and the corresponding first candidate field; and determining the sum of the current time and the time difference as the first time.
[0011] In some embodiments, determining whether the target LED light source corresponding to the field to be displayed has a risk of light decay includes: obtaining the cumulative usage time of the target LED light source; and determining whether the target LED light source has a risk of light decay based on the cumulative usage time.
[0012] In some embodiments, determining whether the target LED light source has a risk of light decay based on the cumulative usage time includes: obtaining the average temperature of the display screen during use; determining whether the average temperature is less than a first preset threshold; if the average temperature is greater than or equal to the first preset threshold, determining whether the cumulative usage time is less than a second preset threshold; if the cumulative usage time is greater than or equal to the second preset threshold, determining that the target LED light source has a risk of light decay; and / or; if the cumulative usage time is less than the second preset threshold, determining that the target LED light source does not have a risk of light decay.
[0013] In some embodiments, after determining whether the average temperature is less than a first preset threshold, the method further includes: if the average temperature is less than the first preset threshold, determining whether the cumulative usage time is less than a third preset threshold; if the cumulative usage time is greater than or equal to the third preset threshold, determining that the target LED light source has a risk of light decay; and / or, if the cumulative usage time is less than the third preset threshold, determining that the target LED light source does not have a risk of light decay; wherein the third preset threshold is greater than the second preset threshold.
[0014] In some embodiments, after determining whether there is a risk of light decay in the target LED light source corresponding to the field to be displayed, the method further includes: if there is no risk of light decay in the target LED light source corresponding to the field to be displayed, triggering the target LED light source to run at the first time.
[0015] In some embodiments, the device for controlling an LED light source includes: an acquisition module configured to acquire a plurality of historical field information displayed on a display screen; a prediction module configured to predict a field to be displayed based on each of the historical field information, and to display the field to be displayed at a first time; a judgment module configured to determine whether there is a risk of light decay in the target LED light source corresponding to the field to be displayed; a determination module configured to determine a candidate LED light source corresponding to the field to be displayed if there is a risk of light decay in the target LED light source corresponding to the field to be displayed; and a control module configured to trigger the operation of the candidate LED light source corresponding to the field to be displayed at the first time.
[0016] In some embodiments, the electronic device includes a processor and a memory storing program instructions, the processor being configured to execute the method described above for controlling an LED light source when the program instructions are executed.
[0017] In some embodiments, the storage medium stores program instructions that, when executed, perform the method described above for controlling an LED light source.
[0018] The method, apparatus, electronic device, and storage medium for controlling LED light sources provided in this disclosure can achieve the following technical effects: By predicting the field to be displayed and the first time to display the field based on historical field information already displayed on the screen, and triggering the operation of the alternative LED light source corresponding to the field to be displayed in the first instance when there is a risk of light decay in the target LED light source corresponding to the field to be displayed. In this way, when there is a risk of light decay in the target LED light source corresponding to the field to be displayed, the alternative LED light source corresponding to the field to be displayed can be used to replace the target LED light source, thereby ensuring the display brightness of the screen and guaranteeing the user experience.
[0019] The above general description and the description below are exemplary and illustrative only and are not intended to limit this application. Attached Figure Description
[0020] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations and drawings do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are shown as similar elements. The drawings are not to be scaled. And wherein:
[0021] Figure 1 This is a schematic diagram of a method for controlling an LED light source provided in an embodiment of this disclosure;
[0022] Figure 2 This is a schematic diagram of another method for controlling an LED light source provided in an embodiment of this disclosure;
[0023] Figure 3 This is a schematic diagram of another method for controlling an LED light source provided in an embodiment of this disclosure;
[0024] Figure 4 This is a schematic diagram of another method for controlling an LED light source provided in an embodiment of this disclosure;
[0025] Figure 5 This is a schematic diagram of a device for controlling an LED light source provided in an embodiment of this disclosure;
[0026] Figure 6 This is a schematic diagram of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0027] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.
[0028] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.
[0029] Unless otherwise stated, the term "multiple" means two or more.
[0030] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.
[0031] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.
[0032] The term "correspondence" can refer to an association or binding relationship. The correspondence between A and B means that there is an association or binding relationship between A and B.
[0033] The embodiments disclosed herein can be applied to electronic devices equipped with a display screen, such as air conditioners, televisions, mobile phones, washing machines, or tablet computers.
[0034] Combination Figure 1 As shown, this disclosure provides a method for controlling an LED light source, including:
[0035] Step S101: The electronic device acquires several historical field information displayed on the screen.
[0036] In step S102, the electronic device predicts the field to be displayed based on the historical field information, and the first time to display the field to be displayed.
[0037] In step S103, the electronic device determines whether there is a risk of light decay in the target LED light source corresponding to the field to be displayed.
[0038] Step S104: If the target LED light source corresponding to the field to be displayed is at risk of light decay, the electronic device determines the alternative LED light source corresponding to the field to be displayed.
[0039] In step S105, the electronic device triggers the operation of the alternative LED light source corresponding to the field to be displayed at the first moment.
[0040] The method for controlling LED light sources provided in this disclosure predicts the field to be displayed and the first time to display the field based on historical field information already displayed on the screen. If the target LED light source corresponding to the field to be displayed is at risk of light decay, the method triggers the operation of a backup LED light source corresponding to the field to be displayed immediately. This allows the backup LED light source to replace the target LED light source when it is at risk of light decay, thus ensuring the display brightness and improving the user experience.
[0041] Optionally, the field to be displayed corresponds to one target LED light source and multiple backup LED light sources. Determining the backup LED light source corresponding to the field to be displayed includes: arbitrarily selecting one backup LED light source as the backup LED light source corresponding to the field to be displayed.
[0042] Optionally, the historical field information includes historical fields and a second time when the display shows the historical fields; predicting the field to be displayed based on the historical field information, and the first time to display the field to be displayed, includes: obtaining the currently displayed field on the display at the current moment, predicting the field to be displayed based on the currently displayed field, each historical field, and each second time, and the first time to display the field to be displayed. In this way, the field to be displayed can be predicted based on the currently displayed field on the display at the current moment.
[0043] Combination Figure 2 As shown, this disclosure provides a method for controlling an LED light source, including:
[0044] Step S201: The electronic device acquires several historical field information displayed on the screen.
[0045] Step S202: The electronic device obtains the currently displayed field shown on the display screen at the current moment.
[0046] In step S203, the electronic device predicts the field to be displayed based on the currently displayed field, each historical field, and each second time, as well as the first time to display the field to be displayed.
[0047] In step S204, the electronic device determines whether there is a risk of light decay in the target LED light source corresponding to the field to be displayed.
[0048] Step S205: If the target LED light source corresponding to the field to be displayed is at risk of light decay, the electronic device determines the alternative LED light source corresponding to the field to be displayed.
[0049] In step S205, the electronic device triggers the operation of the alternative LED light source corresponding to the field to be displayed at the first moment.
[0050] The method for controlling LED light sources provided in this disclosure predicts the field to be displayed based on historical field information already displayed on the screen, determines the first time to display the field, and triggers the operation of a backup LED light source corresponding to the field in the first instance if there is a risk of light decay in the target LED light source corresponding to the field. This allows the backup LED light source to replace the target LED light source when there is a risk of light decay, thus ensuring the display brightness and improving the user experience of the electronic device.
[0051] Optionally, based on the currently displayed field, each historical field, and each second time point, predict the field to be displayed, and the first time point for displaying the field to be displayed, the process includes: sorting each historical field in descending order according to the second time point to obtain a historical field information sorting list; identifying historical fields identical to the currently displayed field as first candidate fields; obtaining second candidate fields corresponding to each first candidate field from the historical field information sorting list; in the historical field information sorting list, first candidate fields are adjacent to their corresponding second candidate fields, and the second time point for displaying the second candidate field is greater than the second time point for displaying the corresponding first candidate field; sorting each second candidate field in descending order according to its frequency of occurrence; and identifying the second candidate field ranked first as the field to be displayed; obtaining the time difference between the second candidate field closest to the current time point and its corresponding first candidate field; and determining the first time point as the sum of the current time point and the time difference.
[0052] Optionally, determining whether the target LED light source corresponding to the field to be displayed is at risk of light decay includes: obtaining the cumulative usage time of the target LED light source, and determining whether the target LED light source is at risk of light decay based on the cumulative usage time. Since the lifespan of an LED light source is basically fixed, obtaining the cumulative usage time of the target LED light source can determine whether the target LED light source is at risk of light decay.
[0053] Further, determining whether the target LED light source has a risk of light decay based on the cumulative usage time includes: obtaining the average temperature of the display screen during use and determining whether the average temperature is less than a first preset threshold. If the average temperature is greater than or equal to the first preset threshold, determining whether the cumulative usage time is less than a second preset threshold. If the cumulative usage time is greater than or equal to the second preset threshold, determining that the target LED light source has a risk of light decay. And / or; if the cumulative usage time is less than the second preset threshold, determining that the target LED light source does not have a risk of light decay. Since the lifespan of an LED light source decreases with increasing temperature, obtaining the average temperature of the area where the target LED light source is located can be obtained by acquiring the average temperature of the display screen during use. By determining whether the average temperature is greater than or equal to the first preset threshold, it can be determined whether the average temperature of the area where the target LED light source is located is greater than or equal to the first preset threshold. And if the average temperature is greater than or equal to the first preset threshold, determining whether the cumulative usage time of the target LED light source is greater than or equal to the second preset threshold can determine whether the target LED light source has a risk of light decay.
[0054] Optionally, after determining whether there is a risk of light decay in the target LED light source corresponding to the field to be displayed, the method further includes: if there is no risk of light decay in the target LED light source corresponding to the field to be displayed, triggering the target LED light source to run at the first moment.
[0055] Combination Figure 3 As shown, this disclosure provides a method for controlling an LED light source, including:
[0056] Step S301: The electronic device acquires several historical field information displayed on the screen.
[0057] In step S302, the electronic device predicts the field to be displayed based on the historical field information, and determines the first time to display the field to be displayed.
[0058] Step S303: The electronic device acquires the cumulative usage time of the target LED light source.
[0059] Step S304: The electronic device acquires the average temperature of the display screen during use.
[0060] Step S305: If the average temperature of the electronic device is greater than or equal to a first preset threshold, determine whether the cumulative usage time is greater than or equal to a second preset threshold. If yes, proceed to step S306. Otherwise, proceed to step S307.
[0061] In step S306, the electronic device determines that the target LED light source has a risk of light decay and determines the alternative LED light source corresponding to the field to be displayed. Then, step S308 is executed.
[0062] In step S307, the electronic device determines that the target LED light source does not pose a risk of light decay. Then, step S309 is executed.
[0063] In step S308, the electronic device triggers the operation of the alternative LED light source corresponding to the field to be displayed at the first moment.
[0064] In step S309, the electronic device triggers the target LED light source corresponding to the field to be displayed to run at the first moment.
[0065] The method for controlling LED light sources provided in this disclosure predicts the field to be displayed based on historical field information already displayed on the screen, and determines whether the target LED light source has a risk of light decay based on the cumulative usage time of the target LED light source corresponding to the field to be displayed and the average temperature of the area. This allows for a more accurate determination of whether the target LED light source has a risk of light decay. Then, if the target LED light source has a risk of light decay, the alternative LED light source corresponding to the field to be displayed is triggered to operate immediately. In this way, when the target LED light source corresponding to the field to be displayed has a risk of light decay, the alternative LED light source corresponding to the field to be displayed can be used to replace the target LED light source, thereby ensuring the display brightness and guaranteeing the user's experience when using the electronic device.
[0066] Optionally, after determining whether the average temperature is less than a first preset threshold, the method further includes: if the average temperature is less than the first preset threshold, determining whether the cumulative usage time is less than a third preset threshold. If the cumulative usage time is greater than or equal to the third preset threshold, it is determined that the target LED light source has a risk of light decay. And / or, if the cumulative usage time is less than the third preset threshold, it is determined that the target LED light source does not have a risk of light decay; the third preset threshold is greater than the second preset threshold. Since the lifespan of an LED light source decreases with increasing temperature, and if the average temperature is less than the first preset threshold, it can be determined that the lifespan of the target LED light source is relatively long. Therefore, using the third preset threshold as a benchmark allows for a more accurate determination of whether the target LED light source has a risk of light decay.
[0067] Combination Figure 4 As shown, this disclosure provides a method for controlling an LED light source, including:
[0068] Step S401: The electronic device acquires several historical field information displayed on the screen.
[0069] In step S402, the electronic device predicts the field to be displayed based on the historical field information and displays the first time corresponding to the field to be displayed.
[0070] Step S403: The electronic device acquires the cumulative usage time of the target LED light source.
[0071] Step S404: The electronic device acquires the average temperature of the display screen during use.
[0072] Step S405: If the average temperature is less than a first preset threshold, the electronic device determines whether the cumulative usage time is greater than or equal to a third preset threshold. If yes, proceed to step S406. Otherwise, proceed to step S407.
[0073] In step S406, the electronic device determines that the target LED light source has a risk of light decay and determines the alternative LED light source corresponding to the field to be displayed. Then, step S408 is executed.
[0074] In step S407, the electronic device determines that there is no risk of light decay in the target LED light source. Then, step S409 is executed.
[0075] In step S408, the electronic device triggers the operation of the alternative LED light source corresponding to the field to be displayed at the first moment.
[0076] In step S409, the electronic device triggers the target LED light source corresponding to the field to be displayed to run at the first moment.
[0077] The method for controlling LED light sources provided in this disclosure predicts the field to be displayed based on historical field information already displayed on the screen, and determines whether the target LED light source has a risk of light decay based on the cumulative usage time of the target LED light source corresponding to the field to be displayed and the average temperature of the area. This allows for a more accurate determination of whether the target LED light source has a risk of light decay. Then, if the target LED light source has a risk of light decay, the alternative LED light source corresponding to the field to be displayed is triggered to operate immediately. In this way, when the target LED light source corresponding to the field to be displayed has a risk of light decay, the alternative LED light source corresponding to the field to be displayed can be used to replace the target LED light source, thereby ensuring the display brightness and guaranteeing the user's experience when using the electronic device.
[0078] Combination Figure 5 As shown in the figure, this disclosure provides a device 500 for controlling an LED light source, including: an acquisition module 501, a prediction module 502, a judgment module 503, a determination module 504, and a control module 505. The acquisition module 501 is configured to acquire several historical field information displayed on a screen. The prediction module 502 is configured to predict the field to be displayed based on each historical field information, and to determine the first time to display the field to be displayed. The judgment module 503 is configured to determine whether the target LED light source corresponding to the field to be displayed has a risk of light decay. The determination module 504 is configured to determine a candidate LED light source corresponding to the field to be displayed if the target LED light source corresponding to the field to be displayed has a risk of light decay. The control module 505 is configured to trigger the operation of the candidate LED light source corresponding to the field to be displayed at the first time.
[0079] The device for controlling LED light sources provided in this disclosure predicts the field to be displayed based on historical field information already displayed on the screen. When the target LED light source corresponding to the field to be displayed is at risk of light decay, and the first time interval corresponding to the field is reached, the device triggers the operation of a backup LED light source corresponding to the field to be displayed. This allows the backup LED light source to replace the target LED light source when it is at risk of light decay, thereby ensuring the display brightness and improving the user experience of the electronic device.
[0080] Optionally, the historical field information includes historical fields and a second time for displaying the historical fields; the prediction module is configured to obtain the currently displayed field based on the historical field information and the first time corresponding to the field to be displayed by: obtaining the currently displayed field on the display screen at the current moment, predicting the field to be displayed based on the currently displayed field, each historical field and each second time, and the first time for displaying the field to be displayed.
[0081] Further, based on the currently displayed field, each historical field, and each second time predicted field to be displayed, as well as the first time to display the field to be displayed, the process includes: sorting each historical field in descending order according to each second time to obtain a historical field information sorting list, and determining the historical field that is the same as the currently displayed field as the first candidate field. Obtaining the second candidate field corresponding to each first candidate field from the historical field information sorting list. The second time of the second candidate field is greater than the second time of the corresponding first candidate field, and the second candidate field is adjacent to the corresponding first candidate field. Sort each second candidate field in descending order according to its frequency of occurrence, and determining the second candidate field that ranks first as the field to be displayed. Obtaining the time difference between the second candidate field closest to the current time and the corresponding first candidate field, and determining the sum of the current time and the time difference as the first time.
[0082] Optionally, the judgment module is configured to determine whether the target LED light source corresponding to the field to be displayed has a risk of light decay by obtaining the cumulative usage time of the target LED light source and determining whether the target LED light source has a risk of light decay based on the cumulative usage time.
[0083] Furthermore, determining whether the target LED light source has a risk of light decay based on the cumulative usage time includes: obtaining the average temperature of the display screen during use and determining whether the average temperature is less than a first preset threshold. If the average temperature is greater than or equal to the first preset threshold, determining whether the cumulative usage time is less than a second preset threshold. If the cumulative usage time is greater than or equal to the second preset threshold, determining that the target LED light source has a risk of light decay. And / or; if the cumulative usage time is less than the second preset threshold, determining that the target LED light source does not have a risk of light decay.
[0084] Further, after determining whether the average temperature is less than a first preset threshold, the method further includes: if the average temperature is less than the first preset threshold, determining whether the cumulative usage time is less than a third preset threshold. If the cumulative usage time is greater than or equal to the third preset threshold, it is determined that the target LED light source has a risk of light decay. And / or, if the cumulative usage time is less than the third preset threshold, it is determined that the target LED light source does not have a risk of light decay; the third preset threshold is greater than the second preset threshold.
[0085] Optionally, after determining whether there is a risk of light decay in the target LED light source corresponding to the field to be displayed, the method further includes: if there is no risk of light decay in the target LED light source corresponding to the field to be displayed, triggering the target LED light source to run at the first moment.
[0086] Combination Figure 6As shown, this disclosure provides an electronic device 600, including a processor 601 and a memory 602. Optionally, the device may further include a communication interface 603 and a bus 604. The processor 601, communication interface 603, and memory 602 can communicate with each other via the bus 604. The communication interface 603 can be used for information transmission. The processor 601 can call logical instructions in the memory 602 to execute the method for controlling an LED light source described in the above embodiments.
[0087] Furthermore, the logic instructions in the aforementioned memory 602 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.
[0088] The memory 602, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this disclosure. The processor 601 executes functional applications and data processing by running the program instructions / modules stored in the memory 602, that is, it implements the method for controlling the LED light source in the above embodiments.
[0089] The memory 602 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 602 may include high-speed random access memory and may also include non-volatile memory.
[0090] This disclosure provides a storage medium storing program instructions that, when executed, perform the aforementioned method for controlling an LED light source.
[0091] The aforementioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0092] The technical solutions of this disclosure can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes one or more instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in this disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media capable of storing program code; it can also be a transient storage medium.
[0093] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.
[0094] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0095] The methods and products (including but not limited to devices and equipment) disclosed in the embodiments herein can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed units may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0096] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling an LED light source, characterized in that, include: Retrieve information from several historical fields displayed on the screen; Predict the field to be displayed based on the historical field information, and determine the first time to display the field to be displayed; Determine whether the target LED light source corresponding to the field to be displayed is at risk of light decay; If the target LED light source corresponding to the field to be displayed is at risk of light decay, an alternative LED light source corresponding to the field to be displayed is determined. The alternative LED light source corresponding to the field to be displayed is triggered to run at the first time.
2. The method according to claim 1, characterized in that, The historical field information includes historical fields and a second time for displaying the historical fields; Predicting the field to be displayed based on the historical field information, and the first time to display the field to be displayed, including: Obtain the currently displayed field on the display screen at the current moment; The field to be displayed is predicted based on the currently displayed field, each of the historical fields, and each of the second times, and the first time to display the field to be displayed is determined.
3. The method according to claim 2, characterized in that, The process of predicting the field to be displayed based on the currently displayed field, each of the historical fields, and each of the second times, and determining the first time to display the field to be displayed, includes: Sort each of the historical fields in descending order according to each of the second time periods to obtain a sorted list of historical field information. The historical field that is the same as the currently displayed field is identified as the first candidate field; Obtain the second alternative field corresponding to each of the first alternative fields from the historical field information sorting list; the second alternative field is adjacent to the corresponding first alternative field, and the second time of displaying the second alternative field is greater than the second time of displaying the corresponding first alternative field; Sort each of the second candidate fields in descending order according to their frequency of occurrence, and determine the second candidate field that ranks first as the field to be displayed. Get the time difference between the second candidate field closest to the current time and the corresponding first candidate field; The sum of the current time and the time difference is determined as the first time.
4. The method according to claim 1, characterized in that, Determining whether the target LED light source corresponding to the field to be displayed has a risk of light decay includes: Obtain the cumulative usage time of the target LED light source; The risk of light decay of the target LED light source is determined based on the cumulative usage time.
5. The method according to claim 4, characterized in that, Determining whether the target LED light source has a risk of light decay based on the cumulative usage time includes: Obtain the average temperature of the display screen during use; Determine whether the average temperature is less than a first preset threshold; If the average temperature is greater than or equal to a first preset threshold, determine whether the cumulative usage time is less than a second preset threshold. If the cumulative usage time is greater than or equal to the second preset threshold, it is determined that the target LED light source has a risk of light decay; and / or; If the cumulative usage time is less than the second preset threshold, it is determined that the target LED light source has no risk of light decay.
6. The method according to claim 5, characterized in that, After determining whether the average temperature is less than a first preset threshold, the method further includes: If the average temperature is less than a first preset threshold, determine whether the cumulative usage time is less than a third preset threshold. If the cumulative usage time is greater than or equal to the third preset threshold, it is determined that the target LED light source has a risk of light decay; and / or, If the cumulative usage time is less than the third preset threshold, it is determined that the target LED light source has no risk of light decay; the third preset threshold is greater than the second preset threshold.
7. The method according to claim 1, characterized in that, After determining whether the target LED light source corresponding to the field to be displayed has a risk of light decay, the method further includes: If there is no risk of light decay in the target LED light source corresponding to the field to be displayed, the target LED light source is triggered to run at the first time.
8. A device for controlling an LED light source, characterized in that, include: The acquisition module is configured to acquire several historical field information displayed on the screen; The prediction module is configured to predict the field to be displayed based on the historical field information, and to display the field to be displayed at a first time. The judgment module is configured to determine whether the target LED light source corresponding to the field to be displayed has a risk of light decay; The determination module is configured to determine alternative LED light sources corresponding to the field to be displayed when there is a risk of light decay in the target LED light source corresponding to the field to be displayed. The control module is configured to trigger the operation of the alternative LED light source corresponding to the field to be displayed at the first time.
9. An electronic device comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to, when executing the program instructions, perform the method for controlling an LED light source as described in any one of claims 1 to 7.
10. A storage medium storing program instructions, characterized in that, When the program instructions are executed, they perform the method for controlling an LED light source as described in any one of claims 1 to 7.