Screen detection method, device, electronic device and storage medium
Through a screen detection method, the preset address bits and reading cycles are used to detect the illumination status of the TFT display screen, which solves the problem that screen abnormality cannot be recovered by itself after electrostatic release detection, and realizes timely screen reset and automated detection.
Patent Information
- Application Number
- CN202411305474.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-09-19
AI Technical Summary
During the electrostatic release detection process, an abnormality may occur in the TFT display, causing the screen to lose response, a black screen, and it cannot recover on its own, requiring manual reset, which takes more time.
A screen detection method is proposed. By responding to the device screen detection instruction, multiple preset address bits matching the screen register type of the home appliance device to be detected, the bit value is read from these address bits based on the preset reading cycle, and the bit value is read from these address bits and detects Whether the screen lights up state is abnormal, and the screen reset is performed when the screen is abnormal.
Timely abnormal detection of TFT display screen is realized, ensuring timely screen resetting in abnormal situations, reducing the time of manual reset and improving the automation and efficiency of the equipment.
Smart Images

Figure CN118818198B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart home appliances, and in particular to a screen detection method, device, electronic equipment and storage medium. Background Art
[0002] With the continuous development and progress of science and technology, more and more home appliances are designed with LCD screens. The most common LCD screen is the Thin Film Transistor (TFT) screen. When the TFT screen is turned on, it can display the setting information, adjustment information and monitoring information of the home appliance to the user, so that the user can perform related operations, making the home appliance smarter and easier to use.
[0003] In actual applications, TFT displays are usually tested for electrostatic discharge (ESD). During the electrostatic discharge test, the high-voltage pulse current generated flows into the ground through the circuit of the TFT display, and the high-voltage pulse current will affect the circuit of the TFT display. If the circuit of the TFT display is affected by this and short-circuited or broken, the TFT display will lose response and a black screen will appear.
[0004] Considering that the electrostatic discharge detection process may cause the screen of the TFT display to be abnormal, after the abnormality occurs, it is sometimes unable to recover by itself and needs to be reset manually, which takes more time. Therefore, how to timely detect the abnormality of the TFT display screen so as to reset the screen in time when the abnormality occurs is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0005] The present invention aims to solve at least one of the technical problems existing in the related art. To this end, the present invention provides a screen detection method, which can timely detect abnormalities on the screen of the TFT display screen so as to timely reset the screen when abnormalities occur.
[0006] The invention also provides a screen detection device.
[0007] The invention also provides a household appliance.
[0008] The invention also provides an electronic device.
[0009] The present invention also provides a non-transitory computer-readable storage medium.
[0010] The screen detection method according to the first aspect of the present invention includes the following steps.
[0011] In response to the device screen detection instruction, based on different address bits designed in advance for different types of screen registers, the plurality of preset address bits matching the type of the screen register of the home appliance to be detected are obtained.
[0012] Based on a preset reading cycle, the corresponding bit values are read from the plurality of preset address bits respectively.
[0013] Based on the plurality of bit values and preset normal screen operation requirements, it is detected whether the screen lighting state of the home appliance is abnormal.
[0014] According to the screen detection method of the embodiment of the present invention, in response to the device screen detection instruction, first, based on the different address bits designed in advance for different types of screen registers, a plurality of preset address bits matching the type of the screen register of the household appliance to be detected are obtained; and based on a preset reading cycle, corresponding bit values are read from the plurality of preset address bits respectively; and then, based on the bit values of the plurality of preset address bits, whether the screen lighting state of the household appliance is abnormal is detected, so that the screen abnormality of the TFT display screen can be detected in time, so that the screen can be reset in time when an abnormality occurs.
[0015] According to one embodiment of the present invention, detecting whether the screen lighting state of the household appliance is abnormal based on the multiple bit values and preset normal screen operation requirements includes: when the normal screen operation requirements include a first preset base number characterizing that the display screen of the household appliance is in a normal lighting state, matching the multiple bit values with the first preset base number to obtain a matching result; and determining whether the screen lighting state is abnormal based on the matching result.
[0016] According to one embodiment of the present invention, matching the multiple bit values with the first preset base number to obtain a matching result includes: converting the multiple bit values into a second preset base number of a second preset base; performing a consistency judgment on the first preset base number and the second preset base number, and determining the consistency judgment result as the matching result.
[0017] According to one embodiment of the present invention, determining whether the screen lighting state is abnormal based on the matching result includes: when the first preset base number is equal to the second preset base number, determining that the screen lighting state is not abnormal; when the first preset base number is not equal to the second preset base number, determining that the screen lighting state is abnormal.
[0018] According to one embodiment of the present invention, the method also includes: when it is detected that the screen lighting state of the home appliance is abnormal, performing a screen reset operation; when it is detected that the screen lighting state of the home appliance is not abnormal, re-acquiring the bit values of the multiple preset address bits at the next preset time, and based on the re-acquired multiple bit values and the normal working requirements of the screen, re-detecting whether the screen lighting state of the home appliance is abnormal.
[0019] A screen detection device according to an embodiment of the second aspect of the present invention includes an address bit acquisition unit, a bit value acquisition unit and a screen detection unit.
[0020] The address bit acquisition unit is used to respond to the device screen detection instruction and acquire multiple preset address bits matching the type of the screen register of the home appliance to be detected based on different address bits designed in advance for different types of screen registers.
[0021] The bit value acquisition unit is used to read the corresponding bit values from the plurality of preset address bits respectively based on a preset reading cycle.
[0022] The screen detection unit is used to detect whether the screen lighting state of the home appliance is abnormal based on the multiple bit values and preset normal working requirements of the screen.
[0023] According to the screen detection device of the embodiment of the present invention, in response to the device screen detection instruction, first, based on the different address bits designed in advance for different types of screen registers, a plurality of preset address bits matching the type of the screen register of the household appliance to be detected are obtained; and based on a preset reading cycle, corresponding bit values are read from the plurality of preset address bits respectively; and then, based on the bit values of the plurality of preset address bits, whether the screen lighting state of the household appliance is abnormal is detected, so that the screen abnormality of the TFT display screen can be detected in time, so that the screen can be reset in time when an abnormality occurs.
[0024] According to the third aspect of the present invention, the household appliance comprises: a device housing, a display screen, a screen register and a screen detection module, wherein the display screen is arranged on the surface of the device housing, the screen register is built into the display screen, and the screen detection module is arranged inside the device housing and is communicatively connected with the screen register.
[0025] The screen register is used to store respective bit values of a plurality of preset address bits related to screen lighting of the display screen.
[0026] The screen detection module is used to execute the screen detection method of the first aspect embodiment based on the bit values respectively stored in the screen register for the multiple preset address bits.
[0027] According to an embodiment of the present invention, a short circuit protection circuit is provided inside the display screen, and / or a conductive covering layer is added on the display screen.
[0028] The above one or more technical solutions in the embodiments of the present invention have at least one of the following technical effects: when the household appliance responds to the device screen detection instruction, in response to the device screen detection instruction, first, based on different address bits designed in advance for different types of screen registers, obtain multiple preset address bits that match the type of screen register of the household appliance to be detected; and based on a preset reading cycle, read the corresponding bit values from the multiple preset address bits respectively; and then, based on the bit values of the multiple preset address bits, detect whether the screen lighting state of the household appliance is abnormal, so that the screen of the TFT display screen can be detected abnormally in time, so that the screen can be reset in time when an abnormality occurs.
[0029] Furthermore, by matching the bit values of multiple preset address bits in the screen register with the first preset base number representing that the display screen of the home appliance is in a normal lighting state, the detection efficiency and accuracy of whether the screen lighting state is abnormal can be greatly improved, while also ensuring that the screen abnormality detection process is more convenient and automated.
[0030] Furthermore, by determining whether the first preset base number is equal to the second preset base number, it is possible to quickly and accurately detect whether the screen lighting status at the corresponding moments of multiple bit values is abnormal, thereby ensuring that the entire screen abnormality detection process is more intuitive and efficient.
[0031] Furthermore, by adding a short-circuit protection circuit inside the display screen and / or adding a conductive covering layer on the display screen, the anti-static ability of the TFT display screen or color screen can be improved to a certain extent and the probability of a black screen on the TFT display screen or color screen can be reduced.
[0032] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 This is one of the flow charts of the screen detection method provided by an embodiment of the present invention.
[0035] Figure 2 This is the second flow chart of the screen detection method provided by the embodiment of the present invention.
[0036] Figure 3 It is a structural schematic diagram of a screen detection device provided by an embodiment of the present invention.
[0037] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] In the embodiments of the present invention, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B may be singular or plural. In the textual description of the present invention, the character " / " generally indicates that the previous and next associated objects are in an "or" relationship. In addition, it should be noted that the serial numbers themselves, such as "first", "second", etc., used to distinguish the objects described in the present invention are only used to distinguish the objects described, and do not have any order or technical meaning.
[0040] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0041] With the continuous development and progress of science and technology, more and more home appliances are designed with LCD screens. The most common LCD screen is the Thin Film Transistor (TFT) screen. When the TFT screen is turned on, it can display the setting information, adjustment information and monitoring information of the home appliance to the user, so that the user can perform related operations, making the home appliance smarter and easier to use.
[0042] In actual applications, TFT displays are usually tested for electrostatic discharge (ESD). During the electrostatic discharge test, the high-voltage pulse current generated flows into the ground through the circuit of the TFT display, and the high-voltage pulse current will affect the circuit of the TFT display. If the circuit of the TFT display is affected by this and short-circuited or broken, the TFT display will lose response and a black screen will appear.
[0043] For example, the TFT display screen provided on the air conditioner wire controller is a 4.0-inch TFT display screen, and displays "Please tear off the protective film before use → Please avoid pressing the screen vigorously". The 4.0-inch TFT display screen is tested for screen abnormality according to the above-mentioned ESD detection method. Not only is the complexity and difficulty of the screen abnormality test high, but the test cost of the ESD detection is also high. Furthermore, considering that the TFT display screen is connected to the circuit board of the household appliance, when the TFT display screen loses response and a black screen appears, it can be restored through the short-circuit protection recovery mechanism of the circuit board, or reset through the program control system.
[0044] However, the TFT display screen itself does not have a short-circuit protection function; when the TFT display screen is disturbed and loses response, it will not necessarily affect the normal operation of other circuits in the air conditioner wire controller, and thus will not trigger the entire system restart of the home appliance, causing the TFT display screen to remain in a black screen state and unable to recover; in addition, the system of the home appliance cannot timely distinguish whether the TFT display screen is in a normal working state (such as a normal lighting state). Therefore, when the TFT display screen loses response and a black screen appears through ESD detection of the 4.0-inch TFT display screen of the air conditioner wire controller, there is a problem of a long recovery time, and there is also a problem of being unable to recover in time and relying on manual control to restart the screen or reset the screen; the above situations require a long reset time, and cannot meet the ESD anti-interference requirements of home appliances.
[0045] Considering that the electrostatic discharge detection process may cause the screen of the TFT display screen to be abnormal, and after the abnormality occurs, it is sometimes unable to recover by itself and needs to be reset manually, which takes more time. Therefore, in order to timely detect the abnormality of the screen of the TFT display screen so as to reset the screen in time when the abnormality occurs, the present invention provides a screen detection method, device, electronic device and storage medium. In response to the device screen detection instruction, firstly, based on different address bits designed in advance for different types of screen registers, a plurality of preset address bits matching the type of the screen register of the home appliance to be detected are obtained; and based on a pre-set reading cycle, the corresponding bit values are read from the plurality of preset address bits respectively; and then based on the bit values of the plurality of preset address bits, whether the screen lighting state of the home appliance is abnormal is detected, so that the screen of the TFT display screen can be detected in time so as to reset the screen in time when the abnormality occurs.
[0046] Combine the following Figure 1~Figure 4 The screen detection method, device, electronic device and storage medium provided by the present invention are described, wherein the execution subject of the screen detection method is a household appliance equipped with other display screens such as a TFT display screen or a color screen, and the household appliance may have a screen abnormality detection function, or the household appliance has a built-in screen detection module that communicates with the screen register of the display screen to perform screen abnormality detection; the present invention does not specifically limit this; the household appliance may include but is not limited to one of other devices such as a smart rice cooker, a smart air purifier and a smart speaker equipped with a TFT display screen, and may also include but is not limited to one of other devices such as a refrigerator equipped with a color screen, a color screen washing machine, a gas stove and a smart trash can. The present invention does not specifically limit the type of household appliances and the display screen design. Furthermore, the screen detection method can also be applied to a screen detection device arranged in the household appliance, and the screen detection device can be implemented by software, hardware or a combination of the two. The following takes the execution subject of the screen detection method as a household appliance equipped with a TFT display screen or a color screen as an example to describe the screen detection method.
[0047] In order to facilitate understanding of the screen detection method provided by the embodiment of the present invention, the screen detection method provided by the present invention will be described in detail below through the following exemplary embodiments. It can be understood that the following exemplary embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0048] Reference Figure 1 , which is one of the flow charts of the screen detection method provided by the present invention, such as Figure 2 As shown, the screen detection method includes the following steps:
[0049] Step 110 , in response to the device screen detection instruction, based on different address bits pre-designed for different types of screen registers, a plurality of preset address bits matching the type of the screen register of the home appliance to be detected are obtained.
[0050] The device screen detection instruction can be an instruction automatically generated when the home appliance receives a start-up operation that triggers the display screen to light up. The start-up operation can be a press operation received by the power switch control on the home appliance, and the corresponding press operation can trigger the home appliance to start running according to the number of presses and the duration of the presses; at this time, the device screen detection instruction can indicate that the home appliance automatically enters the device screen detection mode when it starts and its display screen lights up.
[0051] Alternatively, the device screen detection instruction may also be: an instruction automatically generated when the home appliance receives device screen detection information input by the user when the home appliance and its display screen are in normal working condition; the device screen detection information here is used to instruct the home appliance to enter the device screen detection mode.
[0052] The input method for the user to input the device screen detection information may include but is not limited to input on the display screen, terminal application input, voice input, and camera input. For example, the user manually inputs the device screen detection information on the display screen; or the user can also input the device screen detection information in the terminal device application that is connected to the home appliance for communication, and then send the device screen detection information to the home appliance; or the user can also output the device screen detection information to the home appliance by voice; or the user can also transmit the captured image containing the device screen detection information to the home appliance, and then the home appliance recognizes the device screen detection information from the image. The input method for the user to input the device screen detection information is not specifically limited here.
[0053] The display screen of the household appliance may specifically be a TFT display screen or a color screen or other screen forms.
[0054] The screen register of the home appliance may specifically be a screen integrated circuit (IC) register, in which a plurality of preset address bits are set, and a corresponding bit value range is pre-set for each preset address bit. Thus, when the home appliance responds to the device screen detection instruction, the bit values of the plurality of preset address bits in the screen register may be obtained, and the obtaining method may specifically be a memory access method, such as reading the bit values of the plurality of preset address bits from the screen register.
[0055] Taking into account that different manufacturers have different structural designs and product appearances for screen registers, the number of bits of the corresponding register address bits and the bit value requirements for each address bit are also different. Therefore, a mapping relationship can be established between the type of screen register and the different address bits of its corresponding design, so that based on the mapping relationship, multiple preset address bits corresponding to the type of screen register to be detected can be selected more specifically in the future.
[0056] It should be noted that each preset address bit can be used to describe the voltage state of the corresponding target component. The target component here can be a component in a home appliance that affects the screen lighting state, such as a booster; or it can also be used to describe the working mode of the display, or it can also be used to describe the switch state of the display, or it can also be used to describe an undefined address bit.
[0057] Correspondingly, when a preset address bit is used to describe the voltage state of the corresponding target component, its corresponding bit value range may include the bit value "1" indicating that the booster is turned on and the bit value "0" indicating that the booster is turned off; when another preset address bit is used to describe the working mode of the display, its corresponding bit value range may include the bit value "0" indicating the sleep mode and the bit value "1" indicating the wake-up mode; when yet another preset address bit is used to describe the switch state of the display, its corresponding bit value range may include the bit value "1" indicating that the display is turned on and the bit value "0" indicating that the display is turned off; when yet another preset address bit is used to describe an undefined address bit, its corresponding bit value range may include the bit value "1" indicating that the bit has not been used.
[0058] Exemplarily, when the household appliance is a 4.0-inch air conditioner wire controller equipped with a TFT display screen, and the screen register of the TFT display screen is a driver chip model ST7701S produced by Sitronix, the respective bit values of the eight preset address bits D7~D0 can be read from the Read Display Power Mode (RDDPM) address of the driver chip; for the specific description of the eight preset address bits D7~D0, refer to Table 1.
[0059] Table 1
[0060]
[0061] In Table 1, Bit represents bit, "1" = Booster On means that the bit value of the corresponding preset address bit is 1 when the booster is turned on (such as D7 in Table 1), "0" = Booster Off means that the bit value of the corresponding preset address bit (such as D7 in Table 1) is 0 when the booster is turned off, as shown in D6, D5, D3, D1 and D0 in Table 1, Set to "0" (not used) means that the bit value of the corresponding preset address bit (such as D5, D6, D0 and D1 in Table 1) is set to 0 when it is not used, "1" = Sleep Out Mode means that the bit value of the corresponding preset address bit (such as D4 in Table 1) is 1 in wake-up mode, "0" = Sleep In Mode means that the bit value of the corresponding preset address bit (such as D4 in Table 1) is 0 in sleep mode, Set to "1" (not used) means that the bit value of the corresponding preset address bit (such as D3 in Table 1) is set to 1 when it is not used, "1" = Display is On means that the corresponding preset address bit (such as D2 in Table 1) is set to 1 when the display is turned on, and "0" = Display is Off Display means that the corresponding preset address bit is set to 0 when the display is turned off.
[0062] Step 120 : Based on a preset reading cycle, read corresponding bit values from a plurality of preset address bits respectively.
[0063] For example, based on a preset reading cycle, the bit values of multiple preset address bits can be read from the screen register once every preset time, and for each of the multiple bit values read, the corresponding multiple bit values are matched with the first preset base number to detect whether the screen lighting state at the corresponding moment of each reading of the multiple bit values is abnormal. Exemplarily, the preset reading cycle can be reading the multiple preset address bits of the screen register every 1 second.
[0064] Step 130: Based on the multiple bit values and the preset normal working requirements of the screen, detect whether the screen lighting state of the home appliance is abnormal.
[0065] The preset normal screen operation requirements may include a bit value requirement pre-set for each preset address bit.
[0066] For the bit values of multiple preset address bits obtained from the screen register, the multiple bit values can be compared with the preset normal screen operation requirements, that is, to determine whether the bit value of each preset address bit meets its corresponding bit value requirement, and determine whether the screen lighting state is abnormal based on the judgment result; for example, if the bit values of all preset address bits meet their corresponding bit value requirements, it can be detected that there is no abnormality in the screen lighting state of the home appliance; conversely, if there is at least one preset address bit whose bit value does not meet the corresponding bit value requirements, it can be detected that there is an abnormality in the screen lighting state of the home appliance; here, detecting whether the screen lighting state is abnormal can specifically be detecting whether the display screen has other abnormal conditions such as a black screen or a flashing screen when it is in the lighting state.
[0067] It should be noted that the screen detection method provided by the present invention is also applicable to other TFT display screens with IC registers, and the same effect can be achieved by adjusting the code according to the settings of different IC registers.
[0068] According to the screen detection method provided by the embodiment of the present invention, when a household appliance responds to a device screen detection instruction, the household appliance first obtains a plurality of preset address bits that match the type of the screen register of the household appliance to be detected based on different address bits designed in advance for different types of screen registers; and reads corresponding bit values from the plurality of preset address bits based on a preset reading cycle; and then detects whether the screen lighting state of the household appliance is abnormal based on the bit values of the plurality of preset address bits, so that the abnormality of the screen of the TFT display screen can be detected in time, so that the screen can be reset in time when an abnormality occurs.
[0069] Based on the above Figure 1 In the screen detection method shown, in an exemplary embodiment, the specific implementation process of step 130 includes the following steps.
[0070] When the normal operation requirement of the screen includes a first preset base number representing that the display screen of the home appliance is in a normal lighting state, first, multiple bit values are matched with the first preset base number to obtain a matching result; and then it is further determined whether the screen lighting state is abnormal based on the matching result.
[0071] The first preset base number is preset according to the bit value requirements of each of the plurality of preset address bits, which can improve the efficiency of screen abnormality detection.
[0072] Exemplarily, when the plurality of preset address bits in the screen register of the home appliance are specifically the eight preset address bits D7 to D0 in the address of the screen IC register RDDPM, the first preset base number may be 0x9C (binary 10011100).
[0073] It should be noted that by matching the bit values of multiple preset address bits in the screen register with the first preset base number, the purpose of abnormal detection of the screen lighting state can be achieved. That is, when the bit values of multiple preset address bits successfully match the first preset base number, it can be determined that there is no abnormality in the screen lighting state; conversely, when the bit values of multiple preset address bits fail to match the first preset base number, it can be determined that there is an abnormality in the screen lighting state.
[0074] The screen detection method provided by the embodiment of the present invention can greatly improve the detection efficiency and detection accuracy of whether the screen lighting state is abnormal by matching the bit values of multiple preset address bits in the screen register with the first preset base number representing that the display screen of the home appliance is in a normal lighting state, while also ensuring that the screen abnormality detection process is more convenient and automated.
[0075] Based on the above Figure 1 The screen detection method shown, in an exemplary embodiment, matches multiple bit values with a first preset base number to obtain a matching result, and its specific implementation process includes the following steps.
[0076] First, a plurality of bit values are converted into a second preset base number of a second preset base; a consistency judgment is performed on the first preset base number and the second preset base number, and a consistency judgment result is determined as a matching result.
[0077] Specifically, when the bit values of multiple preset address bits are all 0 or 1, a data string consisting of 8 numbers can be converted into a second preset base number; the second preset base number here can be the same as the base number in the first preset base number; exemplarily, when the first preset base number of the first preset base number is hexadecimal, the second preset base number of the second preset base number is also hexadecimal.
[0078] At this time, the consistency of the first preset base number and the second preset base number can be judged, that is, whether the first preset base number and the second preset base number meet the preset consistency conditions, or whether the difference between the first preset base number and the second preset base number meets the preset threshold; thereby judging whether there is consistency between the first preset base number and the second preset base number.
[0079] Furthermore, by performing a consistency judgment on the first preset base number and the second preset base number, if the first preset base number and the second preset base number are consistent, a matching result indicating that the first preset base number and the second preset base number match successfully can be obtained; conversely, if the first preset base number and the second preset base number are not consistent, a matching result indicating that the first preset base number and the second preset base number match unsuccessfully can be obtained.
[0080] Based on the above Figure 1 The screen detection method shown, in an exemplary embodiment, determines whether the screen lighting state is abnormal based on the matching result, and the specific process can be implemented through the following steps.
[0081] When the first preset base number is equal to the second preset base number, it is determined that there is no abnormality in the screen lighting state; or, when the first preset base number is not equal to the second preset base number, it is determined that there is an abnormality in the screen lighting state.
[0082] It should be noted that by determining whether the first preset base number is equal to the second preset base number, it is possible to quickly and accurately detect whether the screen lighting status at the corresponding moments of multiple bit values is abnormal, thereby ensuring that the entire screen abnormality detection process is more intuitive and efficient.
[0083] Based on the above Figure 1 In the screen detection method shown, in an exemplary embodiment, in order to ensure that the display screen of the home appliance is continuously in a lit state during operation, it can be reset in time when an abnormal screen lighting state is detected, or when a normal screen lighting state is detected, a memory can be re-accessed to read multiple bit values and detect again. Based on this, the screen detection method provided in the embodiment of the present invention can also perform the following steps.
[0084] When it is detected that the screen lighting state of the home appliance is abnormal, a screen reset operation is performed; or, when it is detected that there is no abnormality in the screen lighting state of the home appliance, the bit values of multiple preset address bits at the next preset time are re-acquired, and based on the re-acquired multiple bit values and the normal operation requirements of the screen, whether the screen lighting state of the home appliance is abnormal is re-detected.
[0085] Specifically, for each bit value of the multiple preset address bits read from the screen register each time, it is possible to detect whether the screen lighting state at the corresponding moment is abnormal based on the multiple bit values read this time and the normal working requirements of the screen, and reset the screen in time when it is detected that the screen lighting state is abnormal at the corresponding moment; or, when it is detected that the screen lighting state at the corresponding moment is not abnormal, the bit values of each of the multiple preset address bits at the next preset time can be read from the screen register, so as to return to step 220 based on the multiple bit values re-acquired.
[0086] For example, when the normal working requirement of the screen is specifically a first preset number (such as 0x9C) indicating that the display screen of the home appliance is in a normal lighting state, and the multiple preset address bits in the screen register are specifically D7 to D0 in the address of the screen IC register RDDPM, it can be referred to Figure 2 The second flowchart of the screen detection method shown in FIG. Figure 2As shown, the respective bit values of D7~D0 are read from the screen IC register RDDPM address every second, and the 8 bit values read in this second are converted into hexadecimal reading values to determine whether the reading value is equal to 0x9C. If the reading value is not equal to 0x9C, the screen reset operation is immediately performed to quickly restore the display screen to the screen lighting state; on the contrary, if the reading value is equal to 0x9C, the respective bit values of D7~D0 in the next second are re-obtained and it is determined again whether the updated reading value is equal to 0x9C. The specific detection process involved can refer to the aforementioned embodiment and will not be repeated here.
[0087] In addition, the screen reset operation may adopt an existing screen reset method, which is not specifically limited in the present invention.
[0088] The screen detection method provided in the embodiment of the present invention can monitor the screen display status in real time and read the respective bit values of multiple preset address bits in the screen register address in real time in a background detection program manner. The multiple bit values read each time can be used to determine whether the screen lighting status of the TFT display screen at the corresponding moment is abnormal. This is conducive to the TFT display screen to recover from the disturbed black screen state in a shorter time, thereby meeting the ESD interference resistance requirements of the whole machine, and at the same time can also improve the ability and speed of self-recovery after interference.
[0089] The screen detection device provided by the present invention is described below. The screen detection device described below and the screen detection method described above can be referred to each other.
[0090] Reference Figure 3 A schematic diagram of the structure of the screen detection device provided by the present invention, as shown in Figure 3 As shown, the screen detection device 30 includes: an address bit acquisition unit 301, a bit value acquisition unit 302 and a screen detection unit 302.
[0091] The address bit acquisition unit 301 is used to respond to the device screen detection instruction and acquire multiple preset address bits matching the type of the screen register of the home appliance to be detected based on different address bits pre-designed for different types of screen registers.
[0092] The bit value acquisition unit 302 is used to read corresponding bit values from a plurality of preset address bits respectively based on a preset reading cycle.
[0093] The screen detection unit 303 is used to detect whether the screen lighting state of the home appliance is abnormal based on multiple bit values and preset normal screen operation requirements.
[0094] Optionally, the screen detection unit 303 is specifically used to match multiple bit values with the first preset number to obtain a matching result when the normal working requirements of the screen include a first preset number representing that the display screen of the home appliance is in a normal lighting state; and determine whether the screen lighting state is abnormal based on the matching result.
[0095] Optionally, the screen detection unit 303 is specifically used to convert the multiple bit values into a second preset base number of the second preset base; perform consistency judgment on the first preset base number and the second preset base number, and determine the consistency judgment result as the matching result.
[0096] Optionally, the screen detection unit 303 is specifically used to determine that there is no abnormality in the screen lighting state when the first preset base number is equal to the second preset base number; or to determine that there is an abnormality in the screen lighting state when the first preset base number is not equal to the second preset base number.
[0097] Optionally, the screen detection unit 303 is specifically used to perform a screen reset operation when it is detected that the screen lighting state of the home appliance is abnormal; or, when it is detected that the screen lighting state of the home appliance is not abnormal, re-acquire the bit values of multiple preset address bits at the next preset time, and re-detect whether the screen lighting state of the home appliance is abnormal based on the re-acquired multiple bit values and the normal operation requirements of the screen.
[0098] The household appliance provided by the present invention is described below. The household appliance described below and the screen detection method described above can be referred to each other.
[0099] The present invention provides a household appliance, comprising: an appliance housing, a display screen, a screen register and a screen detection module, wherein the display screen is arranged on the surface of the appliance housing, the screen register is built in the display screen, and the screen detection module is arranged inside the appliance housing and is communicatively connected with the screen register.
[0100] The screen register is used to store respective bit values of a plurality of preset address bits related to screen lighting of the display screen.
[0101] The screen detection module is used to execute the screen detection method described in the above embodiment based on the bit values respectively stored in the screen register for multiple preset address bits.
[0102] It is understandable that a short circuit protection circuit may be provided inside the display screen, and / or a conductive covering layer may be added on the display screen.
[0103] Exemplarily, the display screen may be a TFT display screen or a color screen.
[0104] It should be noted that whether adding a short-circuit protection circuit inside the display screen or adding a conductive covering layer on the display screen, the purpose is to improve the anti-static ability of the TFT display screen or color screen to a certain extent and reduce the probability of a black screen on the TFT display screen or color screen.
[0105] Since there is a possibility of a black screen or a non-operating display screen during ESD testing, if the display screen is black and non-operating, it takes a long time to recover purely by hardware circuits. At this time, through the screen detection method provided by the aforementioned embodiment, for the short-circuit protection circuit and / or the external conductive covering layer of the display screen of the home appliance, it is also necessary to obtain the respective bit values of multiple preset address bits in the screen register of the home appliance in real time, and detect whether the screen lighting state is abnormal based on the multiple bit values obtained each time and the preset normal working requirements of the screen. In this way, the probability that the display screen of the home appliance is continuously in the screen lighting state during its normal working state can be greatly increased.
[0106] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the screen detection method, which includes: in response to the device screen detection instruction, based on different address bits pre-designed for different types of screen registers, obtaining a plurality of preset address bits matching the type of the screen register of the home appliance to be detected; based on a pre-set reading cycle, reading corresponding bit values from a plurality of preset address bits respectively; based on a plurality of bit values and a preset screen normal working requirement, detecting whether the screen lighting state of the home appliance is abnormal.
[0107] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0108] On the other hand, the present invention also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the screen detection method provided by the above methods, and the method includes: responding to a device screen detection instruction, based on different address bits designed in advance for different types of screen registers, obtaining multiple preset address bits that match the type of screen register of the household appliance to be detected; based on a preset reading cycle, reading corresponding bit values from multiple preset address bits respectively; based on multiple bit values and preset normal screen operation requirements, detecting whether the screen lighting state of the household appliance is abnormal.
[0109] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the screen detection method provided by the above-mentioned methods, the method comprising: responding to a device screen detection instruction, based on different address bits pre-designed for different types of screen registers, obtaining a plurality of preset address bits matching the type of screen register of the household appliance to be detected; based on a pre-set reading cycle, reading corresponding bit values from a plurality of preset address bits respectively; based on the plurality of bit values and the preset normal working requirements of the screen, detecting whether the screen lighting state of the household appliance is abnormal.
[0110] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0111] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0112] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A screen detection method, characterized in that: include: In response to a device screen detection instruction, based on different address bits pre-designed for different types of screen registers, a plurality of preset address bits matching the type of the screen register of the home appliance to be detected are obtained; Based on a preset reading cycle, reading corresponding bit values from the plurality of preset address bits respectively; Based on the plurality of bit values and preset normal working requirements of the screen, detecting whether the lighting state of the screen of the home appliance is abnormal; The detecting whether the screen lighting state of the home appliance is abnormal based on the plurality of bit values and the preset normal working requirements of the screen includes: In a case where the normal working requirement of the screen includes a first preset number indicating that the display screen of the home appliance is in a normal lighting state, matching the plurality of bit values with the first preset number to obtain a matching result; Determine whether the screen lighting state is abnormal based on the matching result; The step of matching the plurality of bit values with the first preset base number to obtain a matching result includes: Converting the plurality of bit values into a second preset base number of a second preset base; A consistency judgment is performed on the first preset base number and the second preset base number, and a consistency judgment result is determined as the matching result.
2. The screen detection method according to claim 1, characterized in that: The determining whether the screen lighting state is abnormal based on the matching result includes: When the first preset base number is equal to the second preset base number, determining that there is no abnormality in the screen lighting state; When the first preset base number is not equal to the second preset base number, it is determined that the screen lighting state is abnormal.
3. The screen detection method according to claim 1 or 2, characterized in that: The method further comprises: When detecting that the lighting state of the screen of the home appliance is abnormal, performing a screen reset operation; When it is detected that there is no abnormality in the screen lighting state of the household appliance, the bit values of the multiple preset address bits at the next preset time are re-acquired, and based on the re-acquired multiple bit values and the normal operation requirements of the screen, whether the screen lighting state of the household appliance is abnormal is re-detected.
4. A screen detection device, characterized in that: include: An address bit acquisition unit, configured to respond to a device screen detection instruction and acquire a plurality of preset address bits matching the type of the screen register of the home appliance to be detected based on different address bits pre-designed for different types of screen registers; A bit value acquisition unit, configured to read corresponding bit values from the plurality of preset address bits respectively based on a preset reading cycle; A screen detection unit, used for detecting whether the lighting state of the screen of the home appliance is abnormal based on the plurality of bit values and preset normal working requirements of the screen; The screen detection unit is specifically used to detect whether the screen lighting state of the home appliance is abnormal based on the plurality of bit values and the preset normal working requirements of the screen, including: In a case where the normal working requirement of the screen includes a first preset number indicating that the display screen of the home appliance is in a normal lighting state, matching the plurality of bit values with the first preset number to obtain a matching result; Determine whether the screen lighting state is abnormal based on the matching result; The screen detection unit is specifically used to match the plurality of bit values with the first preset base number to obtain a matching result, including: Converting the plurality of bit values into a second preset base number of a second preset base; A consistency judgment is performed on the first preset base number and the second preset base number, and a consistency judgment result is determined as the matching result.
5. A household appliance, characterized in that: The device comprises: a device housing, a display screen, a screen register and a screen detection module, wherein the display screen is arranged on a surface of the device housing, the screen register is built in the display screen, and the screen detection module is arranged inside the device housing and is in communication connection with the screen register; The screen register is used to store respective bit values of a plurality of preset address bits related to screen lighting of the display screen; The screen detection module is used to execute the screen detection method according to any one of claims 1 to 3 based on the bit values respectively stored in the screen register for the multiple preset address bits.
6. The household appliance according to claim 5, characterized in that: A short circuit protection circuit is arranged inside the display screen, and / or a conductive covering layer is added on the display screen.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the screen detection method according to any one of claims 1 to 3 is implemented.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the screen detection method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Elevator operation monitoring method and device
CN106586747A
Display control method and electronic equipment
CN116820293A