A method for judging the brightness inside a box, a storage medium, and a processing device

Through the in-box brightness judgment processing method, the judgment logic is dynamically adjusted using the illuminance sensor and preset threshold or change mode, which solves the problem of poor applicability in the prior art and achieves higher accuracy and applicability of cabinet door state judgment.

CN116222645BActive Publication Date: 2025-07-01FUJIAN CHAOZHI GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211578293.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-09
Publication Date
2025-07-01
Estimated Expiration
2042-12-09

AI Technical Summary

Technical Problem

The existing cabinet door status detection technology cannot adjust the judgment logic based on actual application scenarios, resulting in poor applicability and cannot be applied to various application scenarios.

Method used

A method for determining the brightness in the box is provided, by obtaining the signal of the illuminance sensor and converting it into a digital signal, determining whether the brightness information is higher than or lower than a preset threshold, or satisfying a specific brightness change mode, to determine the switching state of the cabinet door.

Benefits of technology

By dynamically adjusting the judgment logic, the applicability and accuracy of cabinet door status judgment is improved, and it is possible to more intelligently determine whether the cabinet door is open and reduce misjudgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116222645B_ABST
    Figure CN116222645B_ABST
Patent Text Reader

Abstract

A method for judging the brightness inside a box, a storage medium, and a processing device, where the method is applicable to a box internally provided with a light intensity sensor, and includes the following steps: obtaining a first analog signal acquired by the light intensity sensor, converting the first analog signal into a digital signal to obtain first brightness information; judging whether the first brightness information is higher than a first threshold, if so, judging it as the cabinet door open state, otherwise judging whether the first brightness information is lower than a second threshold, if so, judging it as the cabinet door closed state; otherwise, retrieving the change record of the first brightness information in a first preset duration, if the change record satisfies a first change pattern, judging the cabinet door as the open state, otherwise judging the cabinet door as closed. Through the above solution, it is possible to provide a new function for judging whether it conforms to the light change pattern for the light received by the box, making the judgment of whether the box door is opened more intelligent and having a higher judgment accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of detection of the state of the cabinet door of a box body, and particularly to a method and a storage medium for detecting the brightness inside a multifunctional integrated electrical cabinet door. Background Art

[0002] In the prior art, there is a box body that needs to adjust the state of the internal circuit according to the opening and closing state of the cabinet door to prevent dangerous situations such as live operation. To achieve the above purpose, there are some box bodies with brightness sensors, which can judge whether it is in an open state by the brightness information received by the built-in sensor. However, it cannot be optimized according to the actual use scenario of the box body, the judgment criterion is single, and it cannot be applied to multiple application scenarios, so the applicability is poor. Summary of the Invention

[0003] Therefore, it is necessary to provide a method and a storage medium that can adjust the judgment logic according to the actual application scenario.

[0004] To achieve the above purpose, the inventor provides a method for judging and processing the brightness inside the box, which is applicable to a box body internally provided with a light intensity sensor, and includes the following steps.

[0005] Obtain the first analog signal obtained by the light intensity sensor, convert the first analog signal into a digital signal to obtain the first brightness information.

[0006] Judge whether the first brightness information is higher than the first threshold. If so, judge it as the cabinet door open state; otherwise, judge whether the first brightness information is lower than the second threshold. If so, judge it as the cabinet door closed state.

[0007] Otherwise, retrieve the change record of the first brightness information in the first preset time period. If the change record meets the first change pattern, judge that the cabinet door is in the open state; otherwise, judge that the cabinet door is closed.

[0008] In some embodiments of the present application, the first change pattern includes:

[0009] The brightness information changes from a state lower than the third threshold to a state higher than the fourth threshold in the second preset time period, and the duration of the state higher than the fourth threshold is greater than the third preset time period.

[0010] In some embodiments of the present application, the fourth threshold is lower than the first threshold, and the third threshold is higher than the second threshold.

[0011] In some embodiments of the present application, it further includes steps of obtaining the box body positioning information and obtaining the time information.

[0012] Determine the variation law of the light intensity according to the box positioning information and time information, and determine the fourth threshold and the third threshold for different time periods according to the variation law of the light intensity.

[0013] In some embodiments of the present application, determine whether the first brightness information conforms to the second variation mode. If so, obtain the maximum value and the minimum value of the brightness in the second variation mode, set the fourth threshold to be greater than the maximum value of the brightness in the second variation mode, and set the third threshold to be less than the minimum value of the brightness in the second variation mode.

[0014] In some embodiments of the present application, learn the variation law of the light of the environment where the box is located through the variation record of the first brightness information in a preset time period.

[0015] In some embodiments of the present application, calculate the brightness change value caused by external environmental factors. The formula is: the first brightness information - the brightness of the internal interference light source = the brightness change value caused by external environmental factors.

[0016] A storage medium for judging and processing the brightness inside the box stores a computer program. After the computer program is executed by a processor, it executes the following steps:

[0017] Obtain the first analog signal obtained by the illuminance sensor, convert the first analog signal into a digital signal to obtain the first brightness information;

[0018] Judge whether the first brightness information is higher than the first threshold. If so, judge it as the cabinet door open state; otherwise, judge whether the first brightness information is lower than the second threshold. If so, judge it as the cabinet door closed state;

[0019] Otherwise, retrieve the variation record of the first brightness information in the first preset duration. If the variation record meets the first variation mode, judge it as the cabinet door open state; otherwise, judge the cabinet door as closed.

[0020] In some embodiments of the present application, the computer program executes the method as described above after being executed by a processor.

[0021] A device for judging and processing the brightness inside the box includes an illuminance sensor, an analog-to-digital converter, a processing unit, and the storage medium as described above.

[0022] Through the above solution, it is possible to provide a new function for judging whether it conforms to the light change mode for the light received by the box, which can make the judgment of whether the box door is opened more intelligent and the judgment accuracy higher.

[0023] The above description of the invention content is only an overview of the technical solution of this application. In order to enable those of ordinary skill in the art to more clearly understand the technical solution of this application, and then be able to implement it based on the content described in the specification and the drawings, and in order to make the above objects, other objects, features, and advantages of this application more easily understood, the following will be described in conjunction with the specific embodiments of this application and the drawings. Description of the Drawings

[0024] The drawings are only used to illustrate the principles, implementation methods, applications, features, and effects of the specific embodiments of this application and other related contents, and should not be considered as a limitation to this application.

[0025] Figure 1 Flowchart of the method for judging the brightness inside the box described in the specific embodiment;

[0026] Figure 2 Flowchart of obtaining the positioning information of the box body described in the specific embodiment;

[0027] Figure 3 Flowchart of the second change mode determination described in the specific embodiment;

[0028] Figure 4 Flowchart of the learning rule method described in the specific embodiment;

[0029] Figure 5 Schematic diagram of a storage medium for judging the brightness inside the box described in the specific embodiment. Specific Embodiments

[0030] To describe in detail the technical content, structural features, achieved purposes, and effects of the technical solution, the following will be described in detail in combination with specific embodiments and with reference to the drawings.

[0031] Referring to "embodiments" in this context means that the specific features, structures, or characteristics described in connection with the embodiments can be included in at least one embodiment of this application. The term "embodiment" that appears in various positions in the specification does not necessarily refer to the same embodiment, nor does it particularly limit its independence or relevance to other embodiments. In principle, in this application, as long as there is no technical contradiction or conflict, the technical features mentioned in each embodiment can be combined in any way to form corresponding implementable technical solutions.

[0032] Unless otherwise defined, the meanings of the technical terms used in this article are the same as those commonly understood by those skilled in the technical field to which this application belongs; the use of the relevant terms in this article is only for describing specific embodiments and is not intended to limit this application.

[0033] In the description of the present application, the term "and / or" is an expression used to describe the logical relationship between objects, indicating that there can be three relationships. For example, A and / or B means: there is A, there is B, and there is both A and B at the same time. In addition, the character " / " in this text generally represents an "or" logical relationship between the associated objects before and after.

[0034] In the present application, terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual quantitative, primary-secondary, or sequential relationships between these entities or operations.

[0035] Without further limitations, in the present application, the expressions "comprising", "including", "having", or other similar expressions used in a statement are intended to cover non-exclusive inclusion. These expressions do not exclude the possibility that there may be additional elements in the process, method, or product including the said elements. Thus, a process, method, or product including a series of elements may not only include those defined elements, but also include other elements not explicitly listed, or elements inherent to such a process, method, or product.

[0036] Similar to the understanding in the "Examination Guidelines", in the present application, expressions such as "greater than", "less than", "exceeding", etc. are understood not to include the present number; expressions such as "above", "below", "within", etc. are understood to include the present number. In addition, in the description of the embodiments of the present application, the meaning of "a plurality of" is two or more (including two). Similar expressions related to "many", such as "multiple groups", "multiple times", etc., are understood in the same way, unless otherwise specifically defined.

[0037] In the description of the embodiments of the present application, the spatially related expressions used, such as "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "perpendicular", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the specific embodiment or the drawing. This is only for the convenience of describing the specific embodiments of the present application or for the reader's understanding, and does not indicate or imply that the device or component referred to must have a specific position, a specific orientation, or be constructed or operated in a specific orientation. Therefore, it should not be construed as a limitation on the embodiments of the present application.

[0038] Unless otherwise clearly specified or limited, in the description of the embodiments of the present application, the terms "installed", "connected", "joined", "fixed", "set", etc. shall be understood in a broad sense. For example, the "connection" may be a fixed connection, a detachable connection, or an integral setting; it may be a mechanical connection, an electrical connection, or a communication connection; it may be directly connected, or indirectly connected through an intermediate medium; it may be the communication inside two elements or the interaction relationship between two elements. For those skilled in the art to which the present application pertains, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.

[0039] In some embodiments, please refer to Figure 1, which is a method for judging the brightness inside a box, applicable to the inside of a box equipped with an illuminance sensor, and includes the following steps: S10 Obtain the first analog signal acquired by the illuminance sensor, convert the first analog signal into a digital signal to obtain the first brightness information; S11 Judge whether the first brightness information is higher than the first threshold. If so, it is judged as the cabinet door open state. Otherwise, in S12, judge whether the first brightness information is lower than the second threshold. If so, it is judged as the cabinet door closed state; Otherwise, perform step S13 to retrieve the change record of the first brightness information in the first preset time period. If the change record meets the first change pattern, it is judged that the cabinet door is in the open state. Otherwise, it is judged that the cabinet door is closed. The illuminance sensor can be placed inside the box to collect the illuminance inside the box, generate an analog signal according to the light intensity, and then convert it into a digital signal through the analog-to-digital conversion unit, that is, the first brightness information. The internal light brightness of the box can be intuitively obtained through the first brightness information. The control unit can make relevant judgments. The first threshold is the threshold for forcibly judging the cabinet door to be open. As long as it is higher than the first threshold, it is determined that the cabinet door is in the open state. The control unit can execute the relevant judgment logic when the cabinet door is open, such as enabling the leakage protection state, etc. If the first brightness information is lower than the second threshold, it is determined that the cabinet door is in the closed state. The control unit can execute the relevant judgment logic when the cabinet door is closed. In other cases, it is necessary to make relevant judgments on the brightness state. If it is determined that the first change pattern is met, it can be determined as the open state. The first change pattern is the standard for judging whether the function of the brightness information and time conforms. The first change pattern can be defined independently according to the user's needs. When the function change rule meets change patterns such as parabola, spiral, and wave function, it is judged that the cabinet door is in the open state. In a specific embodiment, the cabinet door may be affected by ambient light due to accidental opening. In this case, the light intensity may not reach the first threshold, but the influence of ambient light increases. There may be flashing neon lights in the ambient light. In this way, by setting the first change pattern to a wave function similar to the flashing law of neon lights, it can be judged whether there is an event of the cabinet door being opened. The above solution provides a set of change patterns for defining the cabinet door opening rule in addition to the logic of forcibly defining the threshold to judge the cabinet door state. Users can set it independently, which is applicable to different scenarios, thus improving the applicability of this solution.

[0040] In some embodiments of the present application, the first change mode includes: the brightness information changes from a state lower than the third threshold to a state higher than the fourth threshold within a second preset duration, and the duration of maintaining the state higher than the fourth threshold is greater than a third preset duration. The second preset duration and the third preset duration can be determined according to user settings. The third threshold and the fourth threshold are brightness thresholds, and usually the fourth threshold is set higher than the third threshold. At the start point of the second preset duration, the brightness value is 20, which is lower than the third threshold. At the end point of the second preset duration, the brightness value is 200, which is higher than the set fourth threshold. Then, the brightness value remains above 200 for a total of ten seconds, which is greater than the designed value of 8 seconds for the third preset duration. In this way, the conditions of the first change mode are met, and it is also determined that the cabinet door is in the open state. The state setting of the first change mode is a summary of the manual cabinet door opening mode by technicians after studying the brightness change law in the open door state, which solves the problem of how to determine whether the cabinet door is open when the ambient light intensity does not meet the first threshold, while other environmental interference operations that do not conform to the first change mode are excluded.

[0041] In some further embodiments of the present application, the fourth threshold is lower than the first threshold, and the third threshold is higher than the second threshold. Both the fourth threshold and the third threshold are set within the range between the first threshold and the second threshold, which can save the judgment logic steps. Specifically, the first brightness information higher than the first threshold can be forcibly classified as the open state, and the brightness of the information lower than the second threshold can be forcibly determined as the closed state of the cabinet door, without the need to further judge what change mode the brightness change law is in. In other situations, it is judged whether the first brightness information changes from a range higher than the second threshold but lower than the third threshold to a state higher than the fourth threshold but lower than the first threshold after certain state changes. Such a state judgment process can avoid repeated judgments, save the operating power consumption of the controller, reduce the charging times of the system, and thus extend the service life of the system.

[0042] In some specific embodiments of the present application, such as Figure 2As shown, it further includes steps. In S20, box positioning information and time information are obtained. The variation law of the light intensity is determined based on the box positioning information and the time information. The fourth threshold and the third threshold for different time periods are determined according to the variation law of the light intensity. The positioning information of the box includes geographical longitude and latitude coordinate information, which can be obtained by interacting with the GPS system, Beidou system, etc. The time information includes year, month, day, hour, and minute information, and the time information can also be obtained by interacting with the operator or the positioning system for time service. Considering that the positioning information of the box in this embodiment is mostly outdoors, the solar incidence angle can be determined based on the positioning information, and the solar azimuth can be judged according to the time information. Then, by multiplying the solar incidence angle as a coefficient by information such as the basic light intensity threshold, the real-time fourth threshold and third threshold are determined. By estimating the solar irradiation intensity as described above, the fourth threshold and the third threshold are dynamically adjusted according to different ratios. Further considering the influence of the weather, the weather information of the current day can also be obtained by interacting with the cloud, etc. The influence factor is calculated through the weather information, and the real-time fourth threshold and third threshold are determined by further multiplying the influence factor of the weather information. The influence factors of the weather information can include sunny, cloudy, overcast, rainy, snowy, etc. Furthermore, this solution can also achieve the technical effect of determining the available threshold in the first state according to the weather change.

[0043] In the specific embodiment of the present application as Figure 3 shown, step S30 can also be performed to determine whether the first brightness information conforms to the second change mode. If so, the highest value and the lowest value of the brightness in the second change mode are obtained. The fourth threshold is set to be greater than the highest value of the brightness in the second change mode, and the third threshold is set to be less than the lowest value of the brightness in the second change mode. The second change mode here can include a periodic repetition mode. Assume that the second change mode includes at least two repetitions of the brightness change that conforms to the first change mode. For example, the electric cabinet of the present application is installed in the area irradiated by some large billboards. When the advertisement on the billboard is switched, it also satisfies changing from a brightness lower than a certain value to another higher brightness and remaining for a period of time after a preset time. At this time, it is necessary to learn the received brightness information, discover the periodic law of the second change mode through continuous learning, and then, in order to avoid misjudgment, automatically set the fourth threshold to be greater than the highest value of the brightness irradiated by the billboard, and then automatically set the third threshold to be less than the lowest value of the brightness irradiated by the billboard, so as to avoid the influence of ambient light on the normal cabinet door opening and closing behavior. Through the above self-learning solution, the threshold is automatically set, which can save the cost of manual operation, improve the adaptability of the electric cabinet to different installation environments, and enhance the practical performance of this solution.

[0044] In some other embodiments of the present application, as Figure 4As shown, the method further includes the step of learning the variation law of the ambient light where the cabinet is located through the variation record of the first brightness information in a preset period. The preset period can be in units of hours, days, months, or seasons. By comparing whether the same brightness variation waveform appears in several preset periods, the variation law of the ambient light at the location of the cabinet is learned. The principle is as follows. When it is found through comparison that there is a step in the ambient light detected at 19:00 every night for several consecutive days, and the duration is also longer than the preset duration. At this time, a judgment can be made to record the rule that there is a step in the ambient light detected at 19:00 every night, and the duration is also longer than the preset duration. Corresponding to the street lights being turned on at 19:00 every day in the environment. After learning the rule, the step of not detecting and judging the opening and closing of the cabinet door can also be executed in the preset period. This can avoid false judgments caused by the change of ambient light in the preset period and improve the success rate of judgment. In some other embodiments, the step of judging whether the highest value in the variation record deviates from the average value by more than a preset ratio can also be performed. If there is no excessive deviation, in the preset period, the fourth threshold is set to be higher than the highest value in the variation record. The setting of the third threshold can also be performed. Judge whether the lowest value in the variation record deviates from the average value by more than a preset ratio. If there is no excessive deviation, in the preset period, the third threshold is set to be lower than the lowest value in the variation record. By learning and adjusting the value of the fourth threshold and the value range of the third threshold according to the variation record, different light intensity values can be autonomously learned at different times, thereby improving the success rate of judging the opening and closing of the cabinet door at different times.

[0045] In order to calculate the influence of the external ambient light more precisely, in a further embodiment, the step of calculating the brightness change value caused by external environmental factors is also performed. The formula is: First brightness information - Brightness of internal interference light source = Brightness change value caused by external environmental factors. Among them, the brightness change value caused by external environmental factors is the brightness change value inside the cabinet caused by external environmental factors. Regarding the first brightness as the total brightness inside, the total brightness is divided into exogenous and endogenous. The endogenous brightness change can be the light-emitting components inside the cabinet, and the exogenous is the change value of the brightness incident on the inside of the cabinet caused by the change of external environmental factors. In the above embodiments of the present application, the judgment criteria can all replace the first brightness information with the brightness change information caused by external environmental factors and then perform the judgment steps. The brightness of the internal interference light source includes indicators inside the cabinet, etc. The brightness of the internal interference light source can be obtained under the experimental condition of placing the cabinet in a dark room. The brightness of the internal interference light source can be periodic brightness. Through the above solution, the technical effect of eliminating the interference of internal light sources can be achieved.

[0046] In some comprehensive embodiments, the solution of the present application is adapted to an electrical cabinet installed by the roadside, where there is an advertising board beside it. There is an operating indicator light source inside the cabinet, which flashes at a frequency of 1 Hz. When the cabinet door is closed, the maximum illuminance value is 300 and the minimum illuminance is 30. When the cabinet door is open during the day, the illuminance is 3000. The first threshold can be set to 2500 and the second threshold to 25. The internal light source interference is about 1. By learning the brightness change rule, it is obtained that the brightness inside the cabinet changes slowly and periodically between 30 - 300 (±1) when it is closed in a day of the current season. And through learning, it is found that it is a cloudy day, and the fourth threshold can be set to 800. At 10:00 in the morning, the cabinet door is opened, and the collected illuminance value quickly changes from 100 to 800 and remains at 800 for a preset time t, so it is determined that the cabinet door is open. The internal circuit of the electrical cabinet responds to the opening of the cabinet door. After a period of time, it is recognized that the illuminance returns to the range of 30 - 300, and it is determined that the cabinet door is closed. At 12:00 noon, the cabinet door is not opened, but the weather turns sunny, and the current sunlight intensity is relatively high. The illuminance continues to slowly increase to 500 without exceeding the threshold, and it is currently determined that it is a normal sunlight change and the cabinet door is closed. At 19:00 in the evening, the cabinet door is not opened, and the normal illuminance is judged to be between 20 - 80. At this time, the illuminance increases from 50 to 60. Through long-term learning, it is known that it is the time when the street lights are turned on, and it is judged that the cabinet door is closed. And the fourth threshold is adjusted to 150. At 20:00 in the evening, the illuminance is recognized to increase from 30 to 200, but the duration does not reach the preset time t, and then it decreases from 200 to 30, which is judged to be external light source interference caused by a vehicle passing by, and it is judged that the cabinet door is closed. At 21:00 in the evening, the illuminance is recognized to increase from 40 to 150, and the duration exceeds the preset time t. By learning that the typical value at the current time point is between 20 - 80 and the fourth threshold is adjusted to 150, it is judged that the cabinet door is open. At 23:00 in the evening, through long-term learning, it is found that a nightclub nearby is open, and the detected first brightness value changes periodically between 40 - 150. The fourth threshold can be automatically adjusted to 200.

[0047] In such as Figure 5In some of the illustrated embodiments, the method further introduces a storage medium 50 for judging the brightness inside the box, which stores a computer program. After being executed by a processor, the computer program performs the following steps: obtaining a first analog signal acquired by a light intensity sensor, converting the first analog signal into a digital signal to obtain first brightness information; judging whether the first brightness information is higher than a first threshold. If so, it is judged that the cabinet door is in an open state. Otherwise, it is judged whether the first brightness information is lower than a second threshold. If so, it is judged that the cabinet door is in a closed state; otherwise, a change record of the first brightness information in a first preset time period is retrieved. If the change record meets a first change pattern, it is judged that the cabinet door is in an open state. Otherwise, it is judged that the cabinet door is closed. The above solution provides a set of change patterns for defining the cabinet door opening rule in addition to the logic of forcibly defining thresholds to judge the cabinet door state. Users can set it independently and it is applicable to different scenarios, thus improving the applicability of the solution.

[0048] In some embodiments of the present application, after being executed by a processor, the computer program performs the method as described above.

[0049] The above solution can also be applied to a device for judging the brightness inside the box, including a light intensity sensor, an analog-to-digital converter, a processing unit, and the storage medium as described above. By applying the above method, this device can provide a set of change patterns for defining the cabinet door opening rule in addition to the logic of forcibly defining thresholds to judge the cabinet door state. Users can set it independently and it is applicable to different scenarios, thus improving the applicability of the solution.

[0050] It should be noted that although the above embodiments have been described in this article, the patent protection scope of the present invention is not limited thereby. Therefore, based on the innovative concept of the present invention, changes and modifications made to the embodiments described in this article, or equivalent structural or equivalent process transformations made using the content of the specification and drawings of the present invention, directly or indirectly applying the above technical solutions to other related technical fields, are all included in the patent protection scope of the present invention.

Claims

1. A method for judging and processing the brightness inside a box, characterized in that, Applicable to a box body internally provided with a light intensity sensor, including the following steps, Obtain the first analog signal acquired by the light intensity sensor, convert the first analog signal into a digital signal to obtain the first brightness information; Judge whether the first brightness information is higher than the first threshold. If so, judge it as the cabinet door open state. Otherwise, judge whether the first brightness information is lower than the second threshold. If so, judge it as the cabinet door closed state; Otherwise, retrieve the change record of the first brightness information in the first preset time period. If the change record meets the first change pattern, judge that the cabinet door is in the open state. Otherwise, judge that the cabinet door is closed; The first change pattern includes: The brightness information changes from a state lower than the third threshold to a state higher than the fourth threshold in the second preset time period, and the state higher than the fourth threshold lasts for a time longer than the third preset time period.

2. The method for judging and processing the brightness inside the box according to claim 1, wherein The fourth threshold is lower than the first threshold, and the third threshold is higher than the second threshold.

3. The method for judging and processing the brightness inside the box according to claim 2, characterized in that, It also includes steps of obtaining the box body positioning information and obtaining the time information, Determine the change rule of the light intensity according to the box body positioning information and the time information, and determine the fourth threshold and the third threshold for different time periods according to the change rule of the light intensity.

4. The method for judging and processing the brightness inside the box according to claim 1, wherein Judge whether the first brightness information conforms to the second change pattern. If so, obtain the highest value and the lowest value of the brightness in the second change pattern, set the fourth threshold to be greater than the highest value of the brightness in the second change pattern, and set the third threshold to be less than the lowest value of the brightness in the second change pattern.

5. The method for judging and processing the brightness inside the box according to claim 1, wherein It also includes steps of learning the change rule of the light of the environment where the box body is located through the change record of the first brightness information in the preset time period.

6. The method for judging and processing the brightness inside the box according to claim 1, characterized in that, It also includes steps of calculating the brightness change value caused by external environmental factors. The formula is: the first brightness information - the brightness of the internal interference light source = the brightness change value caused by external environmental factors.

7. A storage medium for judging and processing the brightness inside a box, characterized in that, There is a computer program stored, and the computer program, when executed by a processor, executes the following steps, Obtain the first analog signal acquired by the light intensity sensor, convert the first analog signal into a digital signal to obtain the first brightness information; Judge whether the first brightness information is higher than the first threshold. If so, judge it as the cabinet door open state. Otherwise, judge whether the first brightness information is lower than the second threshold. If so, judge it as the cabinet door closed state; Otherwise, retrieve the change record of the first brightness information in the first preset time period. If the change record meets the first change pattern, judge that the cabinet door is in the open state. Otherwise, judge that the cabinet door is closed; The first change pattern includes: The brightness information changes from a state lower than the third threshold to a state higher than the fourth threshold in the second preset time period, and the state higher than the fourth threshold lasts for a time longer than the third preset time period.

8. The in-box brightness judgment processing storage medium according to claim 7, characterized in that The computer program, when executed by a processor, executes the method as described in claims 2-6.

9. An in-box brightness judgment processing device, characterized in that, It includes a light intensity sensor, an analog-to-digital converter, a processing unit, and the storage medium as described in claim 7 or 8.

Citation Information

Patent Citations

  • Refrigerator, refrigerator management method and program

    JP2016148503A

  • Ambient light detector dispenser security monitoring system

    US10605653B1