Display screen fault detection method and device, electronic equipment and storage medium
By obtaining the internal and external photosensitive detection values of the temperature control device display screen, determining whether it meets the preset fault conditions, the problem of difficulty in detecting the display screen of the temperature control device in the prior art is solved, and fault detection and accurate judgment of hardware faults are achieved. Provides data support for subsequent maintenance.
Patent Information
- Application Number
- CN202310643136.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-31
- Publication Date
- 2024-12-03
AI Technical Summary
It is difficult for the prior art to effectively detect the faults of the display screen of the temperature control equipment, especially because the number of LED lights is large, and it is necessary to check the working status of the LED lights in a timely manner to avoid abnormal air conditioning display.
By obtaining the internal photosensitive detection value and external photosensitive detection value of the temperature control device display screen within the preset period, determine whether these values meet the preset fault conditions. If they are satisfied, it is determined that the display screen has a hardware failure. The specific method includes calculating the difference and change difference of the internal and external photosensitive detection values, comparing with the preset threshold value, and judging the fault condition.
It realizes fault detection and hardware fault detection of temperature control equipment display screens, provides maintenance data basis, and improves detection accuracy and flexibility.
Smart Images

Figure CN119068786A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic technology, and in particular to a display screen fault detection method, device, electronic device and storage medium. Background Art
[0002] In the related art, the temperature control device display screen is usually composed of LED (light-emitting diode) dot matrix. Due to the large number of LED lights, it is necessary to check the working status of the LED lights in time to avoid abnormal air conditioner display caused by abnormal LED working. Therefore, a method for detecting temperature control device display screen failure is urgently needed. Summary of the invention
[0003] The present disclosure provides a display screen fault detection method, device, electronic device and storage medium. The technical solution of the present disclosure is as follows:
[0004] According to a first aspect of an embodiment of the present disclosure, a display screen fault detection method is provided, comprising:
[0005] Obtaining the internal photosensitivity detection value and the external photosensitivity detection value of the display screen of the temperature control device within a preset time period;
[0006] Determining whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition;
[0007] When the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition, it is determined that a hardware fault occurs on the display screen.
[0008] In a possible implementation manner, determining whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition includes at least one of the following:
[0009] Determining whether a relationship between a difference between the internal photosensitivity detection value and the external photosensitivity detection value satisfies a first preset fault condition;
[0010] Determine whether a relationship between a change difference of the external light-sensitive detection value and a second preset threshold value satisfies a second preset fault condition.
[0011] In a possible implementation manner, determining whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition includes:
[0012] When the operating state of the temperature control device does not change, determining whether a first change difference of the internal photosensitivity detection value is greater than a first preset threshold;
[0013] In the case that the first change difference of the internal photosensitivity detection value is greater than a first preset threshold, it is determined whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition.
[0014] In a possible implementation manner, the first preset fault condition includes that a first difference between a real-time internal photosensitive detection value and a real-time external photosensitive detection value is greater than a second difference, and the second difference is the maximum value of the absolute value of the difference between the internal photosensitive detection value and the external photosensitive detection value at the same time within the preset time period;
[0015] The determining whether the relationship between the difference between the internal photosensitivity detection value and the external photosensitivity detection value satisfies a first preset fault condition includes:
[0016] Calculating the absolute values of the differences between the internal photosensitivity detection values and the external photosensitivity detection values corresponding to the multiple moments in the preset time period, to obtain multiple absolute values of the differences;
[0017] Determine the maximum value among the plurality of difference absolute values as the second difference;
[0018] Obtaining real-time external photosensitivity detection values and real-time internal photosensitivity detection values;
[0019] Calculating an absolute value of a difference between the real-time external photosensitivity detection value and the real-time internal photosensitivity detection value as the first difference;
[0020] A determination is made as to whether the first difference is greater than the second difference.
[0021] In a possible implementation manner, the second preset fault condition includes that a second change difference of the external light-sensitive detection value is less than a second preset threshold;
[0022] The determining whether the relationship between the change difference of the external light-sensitive detection value and the second preset threshold value satisfies the second preset fault condition includes:
[0023] Determine a second change difference of the external photosensitivity detection value of the display screen within the preset time period;
[0024] Determine whether the second change difference is less than the second preset threshold; wherein the second preset threshold is a change threshold of the light-sensitive detection value outside the display screen.
[0025] In a possible implementation, the method further includes:
[0026] Determine a display brightness level corresponding to the display screen brightness;
[0027] A change threshold of the internal photosensitive detection value corresponding to the display brightness level is obtained as the first preset threshold; and a change threshold of the external photosensitive detection value corresponding to the display brightness level is obtained as the second preset threshold.
[0028] In a possible implementation, the internal photosensitive detection value includes the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment, and the previous detection moment is the detection moment before the current detection moment and with the shortest interval between the detection moment and the current detection moment;
[0029] The method further comprises:
[0030] Calculating the absolute value of the difference between the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment;
[0031] The absolute value of the difference between the internal photosensitivity detection value at the current detection moment and the internal photosensitivity detection value at the previous detection moment is determined as the first change difference.
[0032] In a possible implementation, the method further includes:
[0033] When the temperature control device is turned on, a first preset threshold corresponding to the display brightness level of the display screen brightness at the time of startup is obtained, and an internal photosensitivity detection value at the current moment is obtained;
[0034] When the internal photosensitivity detection value at the current moment is less than the first preset threshold corresponding to the display brightness level of the display screen when the computer is turned on, it is determined that a hardware failure occurs in the display screen.
[0035] According to a second aspect of an embodiment of the present disclosure, a display screen fault detection device is provided, comprising:
[0036] A first data acquisition module is used to acquire historical photosensitivity detection values of a display screen of a temperature control device within a preset period of time;
[0037] A data determination module, used to determine whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition;
[0038] The first fault detection module is used to determine that a hardware fault occurs in the display screen when the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition.
[0039] In a possible implementation, the data determination module includes at least one of the following:
[0040] A first data determination unit, used to determine whether the relationship between the difference between the internal photosensitivity detection value and the external photosensitivity detection value satisfies a first preset fault condition;
[0041] The second data determination unit is used to determine whether the relationship between the change difference of the external light-sensitive detection value and the second preset threshold value meets the second preset fault condition.
[0042] In a possible implementation, the data determination module includes:
[0043] a third data determination unit, configured to determine whether a first change difference of the internal photosensitivity detection value is greater than a first preset threshold value when the operating state of the temperature control device does not change;
[0044] The fourth data determination unit is used to determine whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition when the first change difference of the internal photosensitivity detection value is greater than a first preset threshold.
[0045] In a possible implementation manner, the first preset fault condition includes that a first difference between a real-time internal photosensitive detection value and a real-time external photosensitive detection value is greater than a second difference, and the second difference is the maximum value of the absolute value of the difference between the internal photosensitive detection value and the external photosensitive detection value at the same time within the preset time period;
[0046] The first data determination unit includes:
[0047] A first calculation subunit is used to calculate the absolute value of the difference between the internal photosensitive detection value and the external photosensitive detection value corresponding to each of the multiple moments in the preset time period to obtain multiple absolute values of the difference;
[0048] A first difference determination subunit, configured to determine the maximum value among the plurality of difference absolute values as the second difference;
[0049] A data acquisition subunit, used to acquire real-time external photosensitivity detection values and real-time internal photosensitivity detection values;
[0050] A second calculation subunit is used to calculate the absolute value of the difference between the real-time external photosensitivity detection value and the real-time internal photosensitivity detection value as the first difference;
[0051] The second difference determination subunit is used to determine whether the first difference is greater than the second difference.
[0052] In a possible implementation manner, the second preset fault condition includes that a second change difference of the external light-sensitive detection value is less than a second preset threshold;
[0053] The second data determination unit includes:
[0054] A third difference determination subunit is used to determine a second change difference of the external light-sensitive detection value of the display screen within the preset time period;
[0055] The threshold determination subunit is used to determine whether the second change difference is less than the second preset threshold; wherein the second preset threshold is the change threshold of the light-sensitive detection value outside the display screen.
[0056] In a possible implementation manner, the device further includes:
[0057] A brightness level determination module, used to determine a display brightness level corresponding to the display screen brightness;
[0058] The preset acquisition module is used to obtain the change threshold of the internal photosensitivity detection value corresponding to the display brightness level as the first preset threshold; and to obtain the change threshold of the external photosensitivity detection value corresponding to the display brightness level as the second preset threshold.
[0059] In a possible implementation, the internal photosensitive detection value includes the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment, and the previous detection moment is the detection moment before the current detection moment and with the shortest interval between the detection moment and the current detection moment;
[0060] The device further comprises:
[0061] A difference calculation module, used to calculate the absolute value of the difference between the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment;
[0062] The difference determination module is used to determine the absolute value of the difference between the internal photosensitivity detection value at the current detection moment and the internal photosensitivity detection value at the previous detection moment as the first change difference.
[0063] In a possible implementation manner, the device further includes:
[0064] A second data acquisition module is used to obtain, when the temperature control device is turned on, a first preset threshold corresponding to the display brightness level of the display screen brightness when it is turned on, and to obtain an internal photosensitivity detection value at a current moment;
[0065] The second fault detection module is used to determine that a hardware fault occurs in the display screen when the internal photosensitivity detection value at the current moment is less than a first preset threshold value corresponding to the display brightness level of the display screen when the computer is turned on.
[0066] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0067] processor;
[0068] a memory for storing instructions executable by the processor;
[0069] The processor is configured to execute the instructions to implement the display screen fault detection method as described in any one of the first aspects.
[0070] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute a display screen fault detection method as described in any one of the first aspects.
[0071] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the display screen fault detection method as described in any one of the first aspects is implemented.
[0072] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0073] In the disclosed embodiment, the internal photosensitive detection value and the external photosensitive detection value of the display screen of the temperature control device within a preset time period are obtained; it is determined whether the internal photosensitive detection value and the external photosensitive detection value meet the preset fault condition; when the internal photosensitive detection value and the external photosensitive detection value meet the preset fault condition, it is determined that the display screen has a hardware fault. In this way, on the one hand, the fault detection of the display screen of the temperature control device can be realized, and the detection of the hardware fault of the display screen of the temperature control device can be realized; on the other hand, the detection result of the hardware fault of the display screen can also provide data basis for subsequent maintenance.
[0074] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0076] Figure 1 The figure is a flow chart of a display screen fault detection method according to an exemplary embodiment.
[0077] Figure 2 The invention is a block diagram of a display screen fault detection device according to an exemplary embodiment.
[0078] Figure 3 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0079] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0080] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0081] The display screen fault detection method, device, electronic device and storage medium provided by the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0082] Figure 1 FIG. 1 is a flow chart of a display screen fault detection method according to an exemplary embodiment. The display screen fault detection method can be applied to a temperature control device, for example, an air conditioner controller. Figure 1 As shown, the display screen fault detection method may include the following steps.
[0083] In step S101, the internal photosensitivity detection value and the external photosensitivity detection value of the display screen of the temperature control device within a preset time period are obtained.
[0084] In the disclosed embodiment, when detecting whether the display screen of the temperature control device is faulty, the internal photosensitive detection value and the external photosensitive detection value of the display screen of the temperature control device within a preset time period can be obtained first. Among them, the preset time period can be a historical period starting from the current moment, and the interval time with the current moment is the preset time period. The specific time length of the preset time length can be set according to actual needs, and both the internal photosensitive detection value and the external photosensitive detection value can be multiple. It can be understood that the display screen of the temperature control device is usually composed of multiple LED dot matrices, and different characters are displayed through a light-emitting cavity. Since the light emitted by the LED is scattered light, a photosensitive device can be set inside the display screen to detect the internal photosensitive brightness of the display screen under working conditions (i.e., the internal photosensitive detection value), and at the same time, an external photosensitive detection ambient light brightness (i.e., the external photosensitive detection value) is set outside the display screen structure.
[0085] In step S102, it is determined whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition.
[0086] The preset fault condition may be a condition for indicating a hardware fault of the display screen.
[0087] In the embodiment of the present disclosure, after obtaining the internal photosensitive detection value and the external photosensitive detection value of the display screen of the temperature control device within a preset period of time, it is possible to determine whether a hardware failure occurs on the display screen based on the internal photosensitive detection value and the external photosensitive detection value. Exemplarily, determining whether a hardware failure occurs on the display screen based on the internal photosensitive detection value and the external photosensitive detection value may actually be determining whether the internal photosensitive detection value and the external photosensitive detection value meet a preset failure condition, and judging whether a hardware failure occurs on the display screen based on the determination result.
[0088] In step S103, when the internal photosensitivity detection value and the external photosensitivity detection value meet the preset fault condition, it is determined that a hardware fault occurs in the display screen.
[0089] In the embodiment of the present disclosure, after determining whether the internal photosensitivity detection value and the external photosensitivity detection value meet the preset fault conditions, there may be two situations. If the internal photosensitivity detection value and the external photosensitivity detection value meet the preset fault conditions, it can be determined that the display screen of the temperature control device has failed; otherwise, it can be considered that the display screen of the temperature control device has not failed. It can be understood that since whether the display screen has failed is determined based on the changes in the photosensitivity detection values detected by the internal and external photosensits of the display screen of the temperature control device, the method provided in the embodiment of the present disclosure determines whether a hardware failure has occurred in the display screen; and, after determining that a hardware failure has occurred in the display screen, a prompt message can also be output to prompt the user or technician to perform maintenance in a timely manner.
[0090] In the disclosed embodiment, the internal photosensitive detection value and the external photosensitive detection value of the display screen of the temperature control device within a preset time period are obtained; it is determined whether the internal photosensitive detection value and the external photosensitive detection value meet the preset fault condition; when the internal photosensitive detection value and the external photosensitive detection value meet the preset fault condition, it is determined that the display screen has a hardware fault. In this way, on the one hand, the fault detection of the display screen of the temperature control device can be realized, and the detection of the hardware fault of the display screen of the temperature control device can be realized; on the other hand, the detection result of the hardware fault of the display screen can also provide data basis for subsequent maintenance.
[0091] In a possible implementation manner, the above step of determining whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition may include at least one of the following:
[0092] Determine whether the relationship between the difference between the internal photosensitivity detection value and the external photosensitivity detection value satisfies a first preset fault condition;
[0093] Determine whether the relationship between the change difference of the external light-sensitive detection value and the second preset threshold value satisfies the second preset fault condition.
[0094] In the disclosed embodiment, there may be two methods for detecting whether the internal and external photosensitive detection values meet preset fault conditions, that is, whether a display screen has a hardware failure may be determined through two preset fault conditions. Exemplarily, the first preset fault condition may be to determine whether a display screen has a hardware failure based on the relationship between the difference between the internal photosensitive detection value and the external photosensitive detection value; the second preset fault condition may be to determine whether a display screen has a hardware failure based on the relationship between the change difference of the external photosensitive detection value and a second preset threshold. The determination of the two different preset fault conditions will be described in subsequent embodiments and will not be repeated here. In this way, two different ways of determining whether a display screen has a hardware failure may be provided, thereby increasing the flexibility of the display screen fault detection method.
[0095] In a possible implementation manner, the above step of determining whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition may include:
[0096] When the operating state of the temperature control device does not change, determining whether a first change difference of the internal photosensitivity detection value is greater than a first preset threshold;
[0097] When the first change difference of the internal photosensitivity detection value is greater than the first preset threshold, it is determined whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition.
[0098] In the embodiment of the present disclosure, it is considered that if the operating state of the temperature control device changes, the accuracy of the detection result of whether the display screen fails is low. Therefore, the display screen fault detection can be performed when the operating state of the temperature control device has not changed. Exemplarily, when determining whether the internal photosensitive detection value and the external photosensitive detection value meet the preset fault condition, it can be determined whether the operating state of the temperature control device has changed, for example, whether it has changed in a preset historical period. The preset historical period can be a historical period starting from the current moment and the interval with the current moment is a preset time period. The aforementioned preset time period can be set according to actual needs. If the operating state of the temperature control device has not changed, it is determined whether the first change difference of the internal photosensitive detection value is greater than the first preset threshold, wherein the first change difference is the change difference of the internal photosensitive detection value within the preset period, and the first preset threshold can be the change threshold of the internal photosensitive detection value of the display screen, which can be preset or automatically adjusted by the display screen system according to the actual use environment. If the first change difference of the internal photosensitive detection value is greater than the first preset threshold, it is determined whether the internal photosensitive detection value and the external photosensitive detection value meet the preset fault condition to perform subsequent display screen fault detection. In this way, unnecessary processing can be avoided, thereby reducing resource consumption and improving detection efficiency.
[0099] In a possible implementation, the first preset fault condition may include that a first difference between the real-time internal photosensitive detection value and the real-time external photosensitive detection value is greater than a second difference, wherein the second difference is the maximum absolute value of the difference between the internal photosensitive detection value and the external photosensitive detection value at the same time within the preset time period.
[0100] Correspondingly, at this time, the specific implementation method of the above step of determining whether the difference between the internal photosensitivity detection value and the external photosensitivity detection value meets the first preset fault condition can be:
[0101] Calculate the absolute value of the difference between the internal photosensitivity detection value and the external photosensitivity detection value corresponding to each of the multiple moments in the preset time period to obtain multiple absolute values of the difference;
[0102] Determine the maximum value among the plurality of difference absolute values as the second difference value;
[0103] Obtaining real-time external photosensitivity detection values and real-time internal photosensitivity detection values;
[0104] Calculate the absolute value of the difference between the real-time external photosensitivity detection value and the real-time internal photosensitivity detection value as the first difference;
[0105] A determination is made as to whether the first difference is greater than the second difference.
[0106] In the embodiment of the present disclosure, when determining whether the internal photosensitive detection value and the external photosensitive detection value meet the preset fault condition, when the first change difference of the internal photosensitive detection value is greater than the first preset threshold value, the absolute value of the difference between the internal photosensitive detection value and the external photosensitive detection value corresponding to each of the multiple moments in the preset time period can be calculated to obtain multiple absolute values of the difference. Taking the preset time period including moment 1, moment 2, ..., moment 6 as an example, the absolute value 1 of the difference between the internal photosensitive detection value 1 and the external photosensitive detection value 1 corresponding to moment 1, the absolute value 2 of the difference between the internal photosensitive detection value 2 and the external photosensitive detection value 2 corresponding to moment 2, ..., the absolute value 6 of the difference between the internal photosensitive detection value 6 and the external photosensitive detection value 6 corresponding to moment 6 can be calculated respectively. Then, the maximum value of the aforementioned multiple absolute values of the difference can be selected as the second difference. The real-time external photosensitive detection value and the real-time internal photosensitive detection value at this time are obtained, and the absolute value of the difference between the real-time external photosensitive detection value and the real-time internal photosensitive detection value is calculated as the first difference. Afterwards, it can be determined whether the first difference is greater than the second difference to determine whether the internal photosensitive detection value and the external photosensitive detection value meet the preset fault condition. It can be understood that since the preset time period includes the current moment, the internal photosensitive detection value and the external photosensitive detection value within the preset time period can include the real-time external photosensitive detection value and the real-time internal photosensitive detection value. In this way, it is possible to detect whether a hardware fault occurs on the display screen by using the difference between the internal and external photosensitive detection values and the threshold value, which can improve the accuracy of the detection result.
[0107] In a possible implementation manner, the second preset fault condition may include that a second change difference of the external light-sensitive detection value is less than a second preset threshold.
[0108] Correspondingly, the specific implementation method of the above step of determining whether the relationship between the change difference of the external light-sensitive detection value and the second preset threshold value meets the second preset fault condition may be:
[0109] Determine a second change difference of the external light-sensitive detection value of the display screen within a preset time period;
[0110] Determine whether the second change difference is less than a second preset threshold.
[0111] The second preset threshold is a threshold value for a change in the light-sensitive detection value outside the display screen.
[0112] In the embodiment of the present disclosure, when determining whether the internal photosensitive detection value and the external photosensitive detection value meet the second preset fault condition, the external photosensitive detection value of the display screen within the preset period can be obtained, and the change difference of the external photosensitive detection value within the preset period, i.e., the second change difference, can be determined. The change threshold of the external photosensitive detection value of the display screen, i.e., the second change threshold, can be obtained. The change threshold can be preset or automatically adjusted by the display screen system according to the actual use environment. Afterwards, the second change difference of the external photosensitive detection value of the display screen within the preset period can be compared with the second preset threshold to determine whether the second change difference is less than the second preset threshold. If the second change difference is less than the second preset threshold, it can be determined that the LED lamp beads of the display screen have an abnormal operation, resulting in a sudden change in the internal photosensitive value. At this time, it can be determined that the display screen of the temperature control device has a hardware failure. On the contrary, if the second change difference is greater than or equal to the second preset threshold, it means that the sudden change of the internal photosensitive detection value is caused by external environmental interference, and the display screen has not suffered a hardware failure, thereby troubleshooting external interference. It is understandable that the method of obtaining the external photosensitivity detection value of the display screen within a preset period is similar to the specific implementation of obtaining the historical internal photosensitivity detection value; and the acquisition of the external photosensitivity detection value within the preset period can be performed simultaneously with the acquisition of the internal photosensitivity detection value within the preset period, or can also be performed before or after the acquisition of the internal photosensitivity detection value within the preset period. It is understandable that the user or technician can also be reminded through the display or the network that the display screen has a hardware failure so that the failure can be handled in time. In this way, not only can another method for determining the hardware failure of the display screen be provided to improve the flexibility of the detection method, but it can also further accurately determine whether the display screen has a hardware failure and improve the accuracy of the judgment result.
[0113] In a possible implementation manner, the method provided in the embodiment of the present disclosure may further include the following processing:
[0114] Determine the display brightness level corresponding to the display brightness;
[0115] Obtain the change threshold of the internal photosensitive detection value corresponding to the display brightness level as the first preset threshold; and obtain the change threshold of the external photosensitive detection value corresponding to the display brightness level as the second preset threshold.
[0116] In the embodiments of the present disclosure, the display brightness of the display screen can be divided into display brightness levels. For example, it can be divided into high brightness, medium brightness, low brightness and other display brightness levels, and multiple sets of internal and external photosensitive detection value change thresholds corresponding to each display brightness level, that is, the first change threshold and the second change threshold, can be set. Exemplarily, the display brightness level corresponding to the display screen brightness can be determined first. For example, the corresponding display brightness level can be delimited by the range of the external photosensitive detection of the ambient light brightness L1 (i.e., the external photosensitive detection value). For example, it can be set that L1≥M is high brightness, N≤L1<M is medium brightness, L<N is low brightness, etc., where M and N are integers, and N<M<the maximum value that the photosensitive can read; or, the geographical location, weather and sunset situation of the display screen can also be determined by connecting to the network module to assist in judging the display brightness level of the display screen. For example, it can be set that the display screen displays at the maximum brightness during the noon period on sunny days, displays in a low brightness state after the sun goes down in the evening, and displays in a medium brightness state at other times. Then, the change threshold of the internal photosensitive detection value corresponding to the display brightness level corresponding to the display screen brightness can be obtained as the first preset threshold, and the change threshold of the external photosensitive detection value corresponding to the display brightness level corresponding to the display screen brightness can be obtained as the second preset threshold, so as to provide a more accurate data basis for subsequent display screen fault detection. It can be understood that this part of the processing can be executed before determining the second change difference of the historical external photosensitive detection value of the display screen within the preset time period when the first change difference of the historical internal photosensitive detection value is greater than the first preset threshold; and / or, it can also be executed before obtaining the real-time external photosensitive detection value and the real-time internal photosensitive detection value when the first change difference of the internal photosensitive detection value is greater than the first preset threshold in the above steps.
[0117] In a possible implementation manner, the historical internal photosensitive detection value includes the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment, and the previous detection moment is the detection moment before the current detection moment and with the shortest time interval from the current inspection moment.
[0118] Correspondingly, the method provided by the embodiments of the present disclosure may further include the following processing::
[0119] Calculate the absolute value of the difference between the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment;
[0120] Determine the absolute value of the difference between the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment as the first change difference.
[0121] In the disclosed embodiment, the internal photosensitive detection value of the display screen of the temperature control device within the preset time period may include the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment, wherein the previous detection moment is the detection moment before the current detection moment and with the shortest interval between the current detection moment. At this time, when the first change difference of the internal photosensitive detection value is greater than the first preset threshold, the second change difference of the historical external photosensitive detection value of the display screen within the preset time period is determined, or when the first change difference of the internal photosensitive detection value is greater than the first preset threshold, before obtaining the real-time external photosensitive detection value and the real-time internal photosensitive detection value, the first change difference may be determined first. Exemplarily, the difference between the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment may be calculated, the absolute value of the difference may be calculated, and then the absolute value of the difference may be determined as the first change difference, so as to provide accurate data basis for subsequent display screen fault detection.
[0122] It can be understood that the method for determining the second change difference is similar to the method for determining the first change difference, and will not be repeated here.
[0123] In a possible implementation manner, the method provided in the embodiment of the present disclosure may further include the following processing:
[0124] When the temperature control device is turned on, a first preset threshold corresponding to the display brightness level of the display screen brightness at the time of startup is obtained, and an internal photosensitivity detection value at the current moment is obtained;
[0125] When the internal photosensitivity detection value at the current moment is less than the first preset threshold corresponding to the display brightness level of the display screen when the computer is turned on, it is determined that a hardware failure occurs in the display screen.
[0126] In the disclosed embodiment, it is also possible to detect whether a hardware failure of the display screen occurs when the temperature control device is turned on. Exemplarily, when the temperature control device is turned on, a first preset threshold corresponding to the display brightness level of the display screen brightness at the time of power-on is obtained. The specific implementation of this process is similar to obtaining the change threshold of the internal photosensitivity detection value corresponding to the display brightness level in the above-mentioned embodiment, and will not be repeated here. In addition, it is also possible to obtain the internal photosensitivity detection value at the current moment to determine whether the internal photosensitivity detection value at the current moment is less than the first preset threshold corresponding to the display brightness level of the display screen brightness at the time of power-on. If the internal photosensitivity detection value at the current moment is less than the first preset threshold corresponding to the display brightness level of the display screen brightness at the time of power-on, it can be determined that a hardware failure of the display screen occurs; otherwise, it can be determined that the display screen is working normally and no hardware failure occurs.
[0127] To make the method provided by the embodiment of the present disclosure clearer, the display screen fault detection method provided by the embodiment of the present disclosure is described below in combination with the following embodiments. The display screen fault detection method provided by the embodiment of the present disclosure may include the following processing:
[0128] First, the photosensitive change thresholds inside and outside the display screen can be set to L0 and L1 respectively, that is, the first change threshold is L0, and the second change threshold is L1. Among them, L0 and L1 can be preset, or they can be automatically adjusted by the display screen system according to the actual use environment. Then, when the operating state of the display screen has not changed, and the internal photosensitive detection light intensity change difference of the display screen within the preset time period (that is, the first change difference) is greater than the first change threshold L0, the external photosensitive detection light intensity change difference of the display screen within the preset time period (that is, the second change difference) can be detected. Afterwards, if the second change difference is less than the second change threshold L1, it is judged that the LED lamp beads of the display screen have an abnormal operation, resulting in a sudden change in the internal photosensitive value, that is, a hardware failure of the display screen occurs. At this time, the user or technician can be reminded by display or network reminder to perform maintenance in time. On the contrary, if the second change difference is greater than or equal to the second change threshold L1; it is judged that the sudden change of the first change difference is caused by external environmental interference, and the display screen has no hardware failure, and external interference can be checked. Alternatively, the maximum value of the absolute value of the difference between the internal photosensitive detection value and the external photosensitive detection value corresponding to each of the multiple moments in the preset time period may be calculated and determined as the second difference value Lmax. When the operating state of the display screen has not changed and the first change difference value of the internal photosensitive detection value is greater than the first preset threshold value, the real-time external photosensitive detection value and the real-time internal photosensitive detection value are obtained, and the absolute value of the difference between the real-time external photosensitive detection value and the real-time internal photosensitive detection value is calculated as the first difference value L. Afterwards, it is determined whether the first difference value L is greater than the second difference value Lmax. If L≤Lmax, it is determined that the sudden change of the internal photosensitive value of the display screen is caused by the change of the external ambient light of the display screen, and the hardware operation of the display screen is normal; otherwise, if L>Lmax; it is determined that the sudden change of the internal photosensitive value of the display screen is caused by the change of the internal light intensity of the display screen, so as to determine that the LED lamp beads of the display screen have an abnormal operation and the display screen has a hardware failure.
[0129] It should be noted that the display brightness of the display screen can be divided into different display brightness levels, such as high brightness, medium brightness, low brightness, etc., and multiple groups of internal and external light sensitivity change thresholds, i.e., first change threshold and second change threshold, can be set for different display brightness levels. The method of displaying brightness levels can be based on the ambient light brightness detected by external light sensitivity, or can be based on the geographical location of the air conditioner display screen, weather, sunset conditions, etc. for auxiliary division.
[0130] The specific implementation methods and technical effects of each step of the method provided in this embodiment are similar to those of the above method embodiments and will not be repeated here.
[0131] Based on the same inventive concept, the embodiment of the present disclosure also provides a display screen fault detection device, such as Figure 2 As shown, Figure 2is a block diagram of a display screen fault detection device according to an exemplary embodiment. Figure 2 , the display screen fault detection device 200 may include:
[0132] The first data acquisition module 210 is used to obtain the historical photosensitivity detection value of the display screen of the temperature control device within a preset period of time;
[0133] A data determination module 220, used to determine whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition;
[0134] The first fault detection module 230 is used to determine that a hardware fault occurs in the display screen when the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition.
[0135] In a possible implementation, the data determination module 220 includes at least one of the following:
[0136] A first data determination unit, used to determine whether the relationship between the difference between the internal photosensitivity detection value and the external photosensitivity detection value satisfies a first preset fault condition;
[0137] The second data determination unit is used to determine whether the relationship between the change difference of the external light-sensitive detection value and the second preset threshold value meets the second preset fault condition.
[0138] In a possible implementation, the data determination module 220 includes:
[0139] a third data determination unit, configured to determine whether a first change difference of the internal photosensitivity detection value is greater than a first preset threshold value when the operating state of the temperature control device does not change;
[0140] The fourth data determination unit is used to determine whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition when the first change difference of the internal photosensitivity detection value is greater than a first preset threshold.
[0141] In a possible implementation manner, the first preset fault condition includes that a first difference between a real-time internal photosensitive detection value and a real-time external photosensitive detection value is greater than a second difference, and the second difference is the maximum value of the absolute value of the difference between the internal photosensitive detection value and the external photosensitive detection value at the same time within the preset time period;
[0142] The first data determination unit includes:
[0143] A first calculation subunit is used to calculate the absolute value of the difference between the internal photosensitive detection value and the external photosensitive detection value corresponding to each of the multiple moments in the preset time period to obtain multiple absolute values of the difference;
[0144] A first difference determination subunit, configured to determine the maximum value among the plurality of difference absolute values as the second difference;
[0145] A data acquisition subunit, used to acquire real-time external photosensitivity detection values and real-time internal photosensitivity detection values;
[0146] A second calculation subunit is used to calculate the absolute value of the difference between the real-time external photosensitivity detection value and the real-time internal photosensitivity detection value as the first difference;
[0147] The second difference determination subunit is used to determine whether the first difference is greater than the second difference.
[0148] In a possible implementation manner, the second preset fault condition includes that a second change difference of the external light-sensitive detection value is less than a second preset threshold;
[0149] The second data determination unit includes:
[0150] A third difference determination subunit is used to determine a second change difference of the external light-sensitive detection value of the display screen within the preset time period;
[0151] The threshold determination subunit is used to determine whether the second change difference is less than the second preset threshold; wherein the second preset threshold is the change threshold of the light-sensitive detection value outside the display screen.
[0152] In a possible implementation manner, the device 200 further includes:
[0153] A brightness level determination module, used to determine a display brightness level corresponding to the display screen brightness;
[0154] The preset acquisition module is used to obtain the change threshold of the internal photosensitivity detection value corresponding to the display brightness level as the first preset threshold; and to obtain the change threshold of the external photosensitivity detection value corresponding to the display brightness level as the second preset threshold.
[0155] In a possible implementation, the internal photosensitive detection value includes the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment, and the previous detection moment is the detection moment before the current detection moment and with the shortest interval between the detection moment and the current detection moment;
[0156] The device 200 further includes:
[0157] A difference calculation module, used to calculate the absolute value of the difference between the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment;
[0158] The difference determination module is used to determine the absolute value of the difference between the internal photosensitivity detection value at the current detection moment and the internal photosensitivity detection value at the previous detection moment as the first change difference.
[0159] In a possible implementation manner, the device 200 further includes:
[0160] A second data acquisition module is used to obtain, when the temperature control device is turned on, a first preset threshold corresponding to the display brightness level of the display screen brightness when it is turned on, and to obtain an internal photosensitivity detection value at a current moment;
[0161] The second fault detection module is used to determine that a hardware fault occurs in the display screen when the internal photosensitivity detection value at the current moment is less than a first preset threshold value corresponding to the display brightness level of the display screen when the computer is turned on.
[0162] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0163] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a storage medium and a computer program product.
[0164] Figure 3 A schematic block diagram of an example electronic device 300 that can be used to implement an embodiment of the present disclosure is shown. The electronic device 300 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0165] like Figure 3 As shown, the electronic device 300 includes a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 302 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the device 300 can also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0166] A number of components in the electronic device 300 are connected to the I / O interface 305, including: an input unit 306, such as a keyboard, a mouse, etc.; an output unit 307, such as various types of displays, speakers, etc.; a storage unit 308, such as a disk, an optical disk, etc.; and a communication unit 309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 309 allows the electronic device 300 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0167] The computing unit 301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 301 performs the various methods and processes described above, such as the display screen fault detection method. For example, in some embodiments, the display screen fault detection method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 308. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 300 via the ROM 302 and / or the communication unit 309. When the computer program is loaded into the RAM 303 and executed by the computing unit 301, one or more steps of the display screen fault detection method described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform the display screen fault detection method in any other appropriate manner (e.g., by means of firmware).
[0168] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0169] The program code of the computer program product for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0170] In the context of the present disclosure, a storage medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A storage medium may be a machine-readable signal medium or a machine-readable storage medium. Storage media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. More specific examples of storage media may include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0171] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0172] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.
[0173] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0174] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0175] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A display screen fault detection method, characterized in that: include: Obtaining the internal photosensitivity detection value and the external photosensitivity detection value of the display screen of the temperature control device within a preset time period; Determining whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition; When the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition, it is determined that a hardware fault occurs on the display screen.
2. The display screen fault detection method according to claim 1, characterized in that: The determining whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition includes at least one of the following: Determining whether a relationship between a difference between the internal photosensitivity detection value and the external photosensitivity detection value satisfies a first preset fault condition; Determine whether a relationship between a change difference of the external light-sensitive detection value and a second preset threshold value satisfies a second preset fault condition.
3. The display screen fault detection method according to claim 2, characterized in that: The determining whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition includes: When the operating state of the temperature control device does not change, determining whether a first change difference of the internal photosensitivity detection value is greater than a first preset threshold; In the case that the first change difference of the internal photosensitivity detection value is greater than a first preset threshold, it is determined whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition.
4. The display screen fault detection method according to claim 3, characterized in that: The first preset fault condition includes that a first difference between a real-time internal photosensitive detection value and a real-time external photosensitive detection value is greater than a second difference, and the second difference is the maximum value of the absolute value of the difference between the internal photosensitive detection value and the external photosensitive detection value at the same time within the preset time period; The determining whether the relationship between the difference between the internal photosensitivity detection value and the external photosensitivity detection value satisfies a first preset fault condition includes: Calculating the absolute values of the differences between the internal photosensitivity detection values and the external photosensitivity detection values corresponding to the multiple moments in the preset time period, to obtain multiple absolute values of the differences; Determine the maximum value among the plurality of difference absolute values as the second difference; Obtaining real-time external photosensitivity detection values and real-time internal photosensitivity detection values; Calculating an absolute value of a difference between the real-time external photosensitivity detection value and the real-time internal photosensitivity detection value as the first difference; A determination is made as to whether the first difference is greater than the second difference.
5. The display screen fault detection method according to claim 3, characterized in that: The second preset fault condition includes that the second change difference of the external light-sensitive detection value is less than a second preset threshold value; The determining whether the relationship between the change difference of the external light-sensitive detection value and the second preset threshold value satisfies the second preset fault condition includes: Determine a second change difference of the external photosensitivity detection value of the display screen within the preset time period; Determine whether the second change difference is less than the second preset threshold; wherein the second preset threshold is a change threshold of the light-sensitive detection value outside the display screen.
6. The display screen fault detection method according to any one of claims 3 to 5, characterized in that: The method further comprises: Determine a display brightness level corresponding to the display screen brightness; A change threshold of the internal photosensitive detection value corresponding to the display brightness level is obtained as the first preset threshold; and a change threshold of the external photosensitive detection value corresponding to the display brightness level is obtained as the second preset threshold.
7. The display screen fault detection method according to claim 3, characterized in that: The internal photosensitive detection value includes the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment, wherein the previous detection moment is the detection moment before the current detection moment and the one with the shortest interval with the current detection moment; The method further comprises: Calculating the absolute value of the difference between the internal photosensitive detection value at the current detection moment and the internal photosensitive detection value at the previous detection moment; The absolute value of the difference between the internal photosensitivity detection value at the current detection moment and the internal photosensitivity detection value at the previous detection moment is determined as the first change difference.
8. The display screen fault detection method according to claim 1, characterized in that: The method further comprises: When the temperature control device is turned on, a first preset threshold corresponding to the display brightness level of the display screen brightness at the time of startup is obtained, and an internal photosensitivity detection value at the current moment is obtained; When the internal photosensitivity detection value at the current moment is less than the first preset threshold corresponding to the display brightness level of the display screen when the computer is turned on, it is determined that a hardware failure occurs in the display screen.
9. A display screen fault detection device, characterized in that: Executing any one of claims 1 to 8 of the control method, comprising: A first data acquisition module is used to acquire historical photosensitivity detection values of a display screen of a temperature control device within a preset period of time; A data determination module, used to determine whether the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition; The first fault detection module is used to determine that a hardware fault occurs in the display screen when the internal photosensitivity detection value and the external photosensitivity detection value meet a preset fault condition.
10. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the display screen fault detection method according to any one of claims 1 to 8.
11. A storage medium, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the display screen fault detection method according to any one of claims 1 to 8.
12. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the display screen fault detection method according to any one of claims 1 to 8 is implemented.
