A method, device and electronic device for correcting the photosensitive function of an electrical appliance
By sampling and sorting the brightness parameters of the air conditioner environment, dynamically adjusting the brightness threshold of the photosensitive function, the problem that the existing air conditioner light-sensitive function cannot adapt to different user environments and improve the user experience.
Patent Information
- Application Number
- CN202211672423.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-26
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2042-12-26
AI Technical Summary
The existing air conditioner light-sensitive functions cannot effectively adapt to different user environments, resulting in a low user experience.
The air conditioner environment brightness parameters are obtained through sampling, and the photosensitive function parameters are corrected based on these parameters, including the brightness thresholds for entering and exiting the photosensitive function. The specific method is to sort multiple ambient brightness parameters and determine the average value of different brightness sequences to adjust the threshold.
It realizes dynamic adjustment of the light-sensitive function of the air conditioner, adapts to different user environments, and improves the user experience.
Smart Images

Figure CN116085957B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of air conditioners, and more specifically, to a method, device, and electronic device for correcting the photosensitive function of electrical appliances. Background Art
[0002] With the development of air conditioner technology, air conditioners with photosensitive functions have emerged. For example, they can automatically adjust the volume of the air conditioner buzzer, the brightness of the air conditioner display, the rotation speed of the indoor unit fan of the air conditioner, the rotation speed of the outdoor unit fan and compressor of the air conditioner, etc. according to the current light intensity. Through the above photosensitive function, the user experience has been improved to a certain extent.
[0003] It should be noted that each user's perception of light is often different. Therefore, the following situations often occur: the user feels that the light intensity is already very low, but the volume, brightness, rotation speed, etc. of the air conditioner have not significantly decreased; the user feels that the light intensity is already very high, but the volume, brightness, rotation speed, etc. of the air conditioner have not significantly increased, resulting in the user mistakenly believing that the function is abnormal, ineffective, or inconsistent with the publicity.
[0004] In addition, the photosensitive function is mainly used for automatic adjustment when the light intensity is low at night during sleep. However, in actual use, the user may or may not close the curtains; may or may not turn on a night light. The above usage scenarios inevitably make the preset threshold unable to meet various usage environments.
[0005] In view of this, the present invention is specifically proposed. Summary of the Invention
[0006] The purpose of the present invention is to overcome the above technical deficiencies and provide a method, device, and electronic device for correcting the photosensitive function of electrical appliances to solve the technical problem of low user experience caused by the photosensitive function in the prior art.
[0007] According to a first aspect of the present invention, there is provided a method for correcting the photosensitive function of an electrical appliance, including: obtaining the ambient brightness parameter of the electrical appliance through sampling; correcting the photosensitive function parameter of the electrical appliance based on the ambient brightness parameter, where the photosensitive function parameter is the brightness threshold for entering the photosensitive function or the brightness threshold for exiting the photosensitive function.
[0008] Further, there are multiple environmental brightness parameters. Among them, correcting the photosensitive function parameters of the electrical appliance based on the environmental brightness parameters includes: arranging the multiple environmental brightness parameters in ascending order according to the magnitude of the brightness parameters; determining a first set of illumination brightness parameters and a second set of illumination brightness parameters from the multiple environmental brightness parameters arranged in ascending order, where the sequence of the first set of illumination brightness parameters precedes the sequence of the second set of illumination brightness parameters; correcting the entering photosensitive function brightness threshold using the first average brightness parameter value in the first set of illumination brightness parameters, or correcting the exiting photosensitive function brightness threshold using the second average brightness parameter value in the second set of illumination brightness parameters.
[0009] Further, correcting the entering photosensitive function brightness threshold using the first average brightness parameter value in the first set of illumination brightness parameters includes: when the first average brightness parameter value is less than or equal to the entering photosensitive function brightness threshold, keeping the entering photosensitive function brightness threshold unchanged; when the first average brightness parameter value is greater than the entering photosensitive function brightness threshold, taking the first average brightness parameter value as the entering photosensitive function brightness threshold.
[0010] Further, correcting the exiting photosensitive function brightness threshold using the second average brightness parameter value in the second set of illumination brightness parameters includes: when the second average brightness parameter value is less than or equal to the exiting photosensitive function brightness threshold, taking the second average brightness parameter value as the exiting photosensitive function brightness threshold; when the second average brightness parameter value is greater than the exiting photosensitive function brightness threshold, keeping the exiting photosensitive function brightness threshold unchanged.
[0011] Further, the method further includes: collecting new environmental brightness parameters; adding the new environmental brightness parameters into the multiple environmental brightness parameters arranged in ascending order according to the magnitude of the brightness parameters, and deleting the environmental brightness parameter in the first sequence of the multiple environmental brightness parameters arranged in ascending order.
[0012] Further, before correcting the photosensitive function parameters of the electrical appliance based on the environmental brightness parameters, the method further includes: receiving a confirmation instruction from the user for the environmental brightness parameters.
[0013] Further, before obtaining the environmental brightness parameters of the electrical appliance through sampling, the method further includes: adjusting the environmental brightness of the electrical appliance according to the adjustment instruction of the user.
[0014] According to a second aspect of the present invention, there is provided a correction device for the photosensitive function of an electrical appliance, including: an acquisition unit for obtaining the ambient brightness parameter of the electrical appliance by sampling; a correction unit for correcting the photosensitive function parameter of the electrical appliance based on the ambient brightness parameter, wherein the photosensitive function parameter is the brightness threshold for entering the photosensitive function or the brightness threshold for exiting the photosensitive function.
[0015] Further, the correction unit includes: an arrangement module for arranging multiple ambient brightness parameters in ascending order according to the magnitude of the brightness parameters; a determination module for determining a first set of illumination brightness parameters and a second set of illumination brightness parameters from the multiple ambient brightness parameters arranged in ascending order, wherein the sequence of the first set of illumination brightness parameters precedes the sequence of the second set of illumination brightness parameters; a correction module for correcting the brightness threshold for entering the photosensitive function by using the first average brightness parameter value in the first set of illumination brightness parameters, or correcting the brightness threshold for exiting the photosensitive function by using the second average brightness parameter value in the second set of illumination brightness parameters.
[0016] According to a third aspect of the present invention, there is provided an electronic device, including: a processor and a memory; a computer-readable program that can be executed by the processor is stored on the memory; when the processor executes the computer-readable program, the steps in the method described in any one of the above are implemented.
[0017] The present invention provides a method, device and electronic device for correcting the photosensitive function of an electrical appliance. The method includes: obtaining the ambient brightness parameter of the electrical appliance by sampling; correcting the photosensitive function parameter of the electrical appliance based on the ambient brightness parameter, wherein the photosensitive function parameter is the brightness threshold for entering the photosensitive function or the brightness threshold for exiting the photosensitive function. The technical problem of low user experience caused by the photosensitive function in the prior art is solved. Description of the Drawings
[0018] Figure 1 is a flowchart of a method for correcting the photosensitive function of an electrical appliance according to an embodiment of the present application;
[0019] Figure 2 is a flowchart of executing the photosensitive function according to an embodiment of the present application;
[0020] Figure 3 is a schematic diagram of the ascending order before and after the sequences of multiple ambient brightness parameters according to an embodiment of the present application;
[0021] Figure 4 is a schematic diagram of the correction of the light intensity value for entering the photosensitive function and the light intensity for exiting the photosensitive function according to an embodiment of the present application;
[0022] Figure 5It is a schematic diagram of data sliding translation in the light intensity value sequence according to an embodiment of the present application;
[0023] Figure 6 It is a schematic diagram of a user setting the thresholds for entering and exiting the photosensitive function through a remote control component or an APP component according to an embodiment of the present application;
[0024] Figure 7 It is a schematic diagram of a correction device for the photosensitive function of an electrical appliance according to an embodiment of the present application. Detailed implementation manners
[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0026] Embodiment 1
[0027] The present application provides a method for correcting the photosensitive function of an electrical appliance, in combination with Figure 1 , including:
[0028] Step S11, obtaining the environmental brightness parameter of the electrical appliance through sampling.
[0029] Specifically, the above-mentioned electrical appliance can be an air conditioner. The controller of the air conditioner can be used as the execution subject of the method of this solution. The above-mentioned environmental brightness parameter can be the environmental brightness data in the air conditioner room at different times obtained by this solution through the photosensitive sensor component.
[0030] Step S13, correcting the photosensitive function parameter of the electrical appliance based on the environmental brightness parameter, where the photosensitive function parameter is the brightness threshold for entering the photosensitive function or the brightness threshold for exiting the photosensitive function.
[0031] Specifically, this solution can correct the photosensitive function parameter of the electrical appliance based on the environmental brightness parameter and execute the photosensitive function according to the corrected photosensitive function parameter. That is, when the room environmental brightness threshold reaches the brightness threshold A lux for entering the photosensitive function, this solution starts the photosensitive function, such as reducing the buzzer volume, reducing the speaker volume, reducing the display brightness, reducing the internal and external fan speeds, reducing the compressor speed, etc. When the room environmental brightness threshold reaches the brightness threshold B lux for exiting the photosensitive function, this solution exits the photosensitive function, such as increasing the buzzer volume, increasing the speaker volume, increasing the display brightness, increasing the internal and external fan speeds, increasing the compressor speed, etc.
[0032] The following combines with Figure 2 to introduce an optional embodiment of executing a photosensitive function program:
[0033] First, determine whether the current light intensity value is < A lux (the light intensity threshold for entering the photosensitive function). If not, maintain the current state of exiting the photosensitive function. If so, determine whether the current light intensity value is < A lux within the timing T1 (i.e., count whether the current light intensity value is continuously less than A lux within the T1 duration). If so, enter the photosensitive function, such as reducing the buzzer volume, reducing the speaker volume, reducing the display brightness, reducing the rotational speeds of the internal and external fans, reducing the compressor rotational speed, and so on.
[0034] Then, determine whether the current light intensity value is > B lux. If not, maintain the current state of entering the photosensitive function. If so, determine whether the current light intensity value is > B lux within the timing T2 (i.e., count whether the current light intensity value is continuously greater than B lux within the T2 duration). If so, exit the photosensitive function, such as increasing the buzzer volume, increasing the speaker volume, increasing the display brightness, increasing the rotational speeds of the internal and external fans, increasing the compressor rotational speed, and so on.
[0035] It should be noted that this solution is different from the prior art in setting a fixed light threshold to execute the photosensitive function. Instead, it corrects the photosensitive function parameters based on the sampled environmental brightness parameters, that is, continuously updates the photosensitive threshold dynamically according to the environmental brightness parameters, achieving adaptation to different user usage environments. The solution enters or exits the photosensitive function according to the corrected photosensitive function parameters, solving the technical problem of low user experience caused by the photosensitive function in the prior art.
[0036] Optionally, there are multiple environmental brightness parameters. Among them, step S13 corrects the photosensitive function parameters of the electrical appliance based on the environmental brightness parameters, including:
[0037] Step S131, arrange the multiple environmental brightness parameters in ascending order according to the magnitude of the brightness parameters.
[0038] Specifically, after the air conditioner is powered on, it will measure the current light intensity value every T3 minutes to collect multiple environmental brightness parameters and store them. Combining Figure 3 , Figure 3The left part of the table shows multiple sequences of ambient brightness parameters collected in the initial stage of this solution: A1 lux, A2 lux, A3 lux... An lux. After a certain time of T4 hours, ((T4 * 60) / T3) + 1 light intensity values will be obtained: A1 lux, A2 lux, A3 lux... A[(T4 * 60) / T3] lux, A[((T4 * 60) / T3) + 1] lux. Then, this solution sorts the above ((T4 * 60) / T3) + 1 light intensity values in ascending order. Figure 3 On the right side is the multiple sequences of ambient brightness parameters after ascending order: a1, a2, a3... a[(T4 * 60) / T3], a[((T4 * 60) / T3) + 1].
[0039] Step S132: Determine the first set of light brightness parameters and the second set of light brightness parameters from the multiple ambient brightness parameters arranged in ascending order, where the sequence of the first set of light brightness parameters precedes the sequence of the second set of light brightness parameters.
[0040] Specifically, the above first set of light brightness parameters can be the first m values of the multiple sequences of ambient brightness parameters after ascending order, and the above second set of light brightness parameters can be the n values after the first m values of the multiple sequences of ambient brightness parameters after ascending order.
[0041] Step S133: Correct the entering photosensitive function brightness threshold using the first average brightness parameter value in the first set of light brightness parameters, or correct the exiting photosensitive function brightness threshold using the second average brightness parameter value in the second set of light brightness parameters.
[0042] Specifically, in this solution, the above first average brightness parameter value can be the average value a obtained from the first m values of the sequence, and in this solution, the average value a is used to correct the entering photosensitive function brightness threshold. The above second average brightness parameter value can be the average value b of the n values, and in this solution, the average value b is used to correct the exiting photosensitive function brightness threshold.
[0043] Optionally, step S133 using the first average brightness parameter value in the first set of light brightness parameters to correct the entering photosensitive function brightness threshold includes:
[0044] Step S1331: When the first average brightness parameter value is less than or equal to the entering photosensitive function brightness threshold, keep the entering photosensitive function brightness threshold unchanged.
[0045] Step S1332: When the first average brightness parameter value is greater than the entering photosensitive function brightness threshold, use the first average brightness parameter value as the entering photosensitive function brightness threshold.
[0046] Specifically, in combination with Figure 4 , this solution can compare the average value a with the factory preset value A. When a ≤ A, the light intensity value for entering the current photosensitive function is maintained at A lux; when a > A, the light intensity value for entering the current photosensitive function is corrected to a lux.
[0047] Optionally, step S133 corrects the light-off photosensitive function brightness threshold using the second average brightness parameter value in the second group of light brightness parameters, including:
[0048] Step S1331, when the second average brightness parameter value is less than or equal to the light-off photosensitive function brightness threshold, use the second average brightness parameter value as the light-off photosensitive function brightness threshold.
[0049] Step S1332, when the second average brightness parameter value is greater than the light-off photosensitive function brightness threshold, keep the light-off photosensitive function brightness threshold unchanged.
[0050] Specifically, in combination with Figure 4 , this solution can calculate the average value b of the n numerical values after the first m numerical values in the sequence, and compare this average value with the factory preset value B: when b ≤ B, correct the light intensity value for exiting the current photosensitive function to b lux; when b > B, maintain the light intensity value for exiting the current photosensitive function at B lux. This solution can write the corrected light intensity value into the storage component for subsequent threshold judgment of photosensitive entry and exit functions.
[0051] Optionally, the method further includes:
[0052] Collect new ambient brightness parameters;
[0053] Add the new ambient brightness parameters to the sorted multiple ambient brightness parameters according to the brightness parameter size, and delete the ambient brightness parameters in the first sequence of the sorted multiple ambient brightness parameters.
[0054] Specifically, when the power has been on for T4 hours and the established (((T4 * 60) / T3) + 1) light intensity values have been stored, after the new ambient brightness parameter A[((T4 * 60) / T3) + 2] is collected in the next T3-minute interval, this solution can add the new ambient brightness parameter A[((T4 * 60) / T3) + 2] to the sequence in a sliding window manner. Optionally, in combination with Figure 5, the data in the light intensity value sequence can be shifted forward, that is, the original A1 is discarded, the value of A2 is stored in A1, the value of A3 is stored in A2, the value of A4 is stored in A3... the value of A[((T4*60) / T3)+2] is stored in A[((T4*60) / T3)+1] for the next sorting and calculation.
[0055] Optionally, after a certain time T5, this solution can sort the (((T4*60) / T3)+1) light intensity values in ascending order, and then calculate the average values a and b, corresponding to the light intensity values for correcting or maintaining the entry or exit of the photosensitive function. Repeating this way, if the light intensity of the usage environment is always strong, after correction, the photosensitive function can be used normally, and it can continuously adjust according to the ambient brightness, which can optimize the difference in function usage caused by the difference in the usage environment.
[0056] Optionally, before correcting the photosensitive function parameters of the electrical appliance based on the ambient brightness parameter in step S13, the method further includes:
[0057] Step S12, receiving a confirmation instruction from the user for the ambient brightness parameter.
[0058] Optionally, before obtaining the ambient brightness parameter of the electrical appliance by sampling, the method further includes:
[0059] Adjust the ambient brightness of the electrical appliance according to the adjustment instruction of the user.
[0060] Specifically, the ambient brightness parameter for correcting the photosensitive function parameter can be manually set by the user, that is, through this solution, the user can specify which ambient brightness as the threshold for entering or exiting the photosensitive function according to their own living habits. Optionally, the user can first control the indoor lights to make the indoor lights reach the brightness required by the user, and then the user issues a confirmation instruction to control the air conditioner controller to update the photosensitive function threshold using the ambient parameters set by the user.
[0061] The following is an optional embodiment for the user to set the photosensitive function:
[0062] After the air conditioner has the above self-learning and improvement capabilities, there may still be certain limitations, resulting in a poor user experience. Therefore, the air conditioner of the present invention also has the following user-defined function to improve the user experience. Combining Figure 6, the user can set the thresholds for entering and exiting the photosensitive function through the remote control component or the APP component. After the user enters the custom setting of the photosensitive function threshold through the remote control component or the APP component, the user needs to adjust the light intensity value of the current environment to the state desired by the user according to the instructions or the prompts on the APP display interface, and then confirm the modification. The judgment of entering and exiting the photosensitive function is made according to the threshold set by the user until the user cancels the customization. That is, when the user enters the custom setting of the photosensitive function threshold, the user first needs to simulate the light intensity of the environment to the condition for entering the photosensitive function. Suppose the user wants to enter the photosensitive function when the night light is on at night. Then when setting, the user only needs to turn on the night light at night, and then the data processing and function control component will collect the light intensity value of the current environment in real time. When the user confirms the modification, the light intensity threshold for entering the photosensitive function will be corrected to the current light intensity value and stored for subsequent judgment. Similarly, when the user customizes the photosensitive function exit value, the user also needs to simulate the light intensity of the environment when the photosensitive function needs to be exited. After confirming the modification, the data processing and function control component will correct the light intensity threshold for exiting the photosensitive function and store it for subsequent judgment.
[0063] It should be noted here that in order to improve the user experience, the custom-set photosensitive threshold has a higher priority than the photosensitive threshold self-learned and improved by the air conditioner. That is, when the user customizes the photosensitive threshold, the air conditioner executes the photosensitive function according to the user-customized photosensitive threshold. At this time, the self-learning and improvement of the air conditioner continue, which is convenient for threshold judgment after exiting the custom photosensitive threshold. It is also possible not to execute the self-learning and improvement of the air conditioner during the custom photosensitive threshold period. After exiting the custom photosensitive threshold, use the threshold before entering, or first use the custom threshold, or use the factory default threshold, and then update the threshold after meeting the self-learning completion sampling and data update cycle.
[0064] In summary, this solution enables the air conditioner to better enjoy the benefits of the photosensitive function in different environments and for different users. Through algorithm learning for a certain period of time, continuously self-update the preset light intensity threshold, realize the photosensitive correction function, and perfectly match various different environments to more reasonably process the corresponding functions; at the same time, increase user-defined settings to solve the perception differences among individuals.
[0065] Embodiment 2
[0066] This solution also provides a correction device for the photosensitive function of an electrical appliance. This device can be used to execute the method of the above Embodiment 1, combined with Figure 7 , including:
[0067] Adopt unit 70, which is used to obtain the environmental brightness parameter of the electrical appliance through sampling;
[0068] A calibration unit 72 is configured to calibrate the photosensitive function parameters of the electrical appliance based on the environmental brightness parameter, where the photosensitive function parameter is the brightness threshold for entering the photosensitive function or the brightness threshold for exiting the photosensitive function.
[0069] It should be noted that this solution is different from the prior art in setting a fixed light threshold to execute the photosensitive function. Instead, it calibrates the photosensitive function parameters based on the sampled environmental brightness parameter, that is, continuously updates the photosensitive threshold dynamically according to the environmental brightness parameter, achieving adaptation to different user usage environments. The solution enters or exits the photosensitive function according to the calibrated photosensitive function parameters, solving the technical problem of low user experience caused by the photosensitive function in the prior art.
[0070] Optionally, the calibration unit includes:
[0071] An arrangement module is configured to arrange multiple environmental brightness parameters in ascending order according to the magnitude of the brightness parameters;
[0072] A determination module is configured to determine a first set of light brightness parameters and a second set of light brightness parameters from the multiple environmental brightness parameters arranged in ascending order, where the sequence of the first set of light brightness parameters precedes the sequence of the second set of light brightness parameters;
[0073] A calibration module is configured to calibrate the brightness threshold for entering the photosensitive function by using the first average brightness parameter value in the first set of light brightness parameters, or calibrate the brightness threshold for exiting the photosensitive function by using the second average brightness parameter value in the second set of light brightness parameters.
[0074] This application also provides an electronic device, including: a processor and a memory; a computer-readable program executable by the processor is stored on the memory; when the processor executes the computer-readable program, the steps in any one of the methods in the first embodiment are implemented.
[0075] This application also provides a computer-readable storage medium, where a computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in any one of the methods in the first embodiment.
[0076] It should be noted that the terms "first", "second", etc. in the description, claims and above-mentioned drawings of this application are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0077] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and will not be elaborated here.
[0078] Optionally, in this embodiment, the above storage medium may include, but is not limited to: various media that can store program codes such as USB flash drives, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), mobile hard disks, magnetic disks or optical discs.
[0079] The serial numbers of the above embodiments of the present application are only for description and do not represent the superiority or inferiority of the embodiments.
[0080] If the integrated unit in the above embodiments is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in the above computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in the storage medium and includes several instructions to enable one or more computer devices (which may be personal computers, control terminals or network devices, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application.
[0081] In the above embodiments of the present application, the descriptions of each embodiment have their own focuses. For the parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0082] In several embodiments provided by the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of units or modules can be in an electrical or other form.
[0083] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0084] In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0085] The above is only the preferred embodiment of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.
Claims
1. A method for correcting the photosensitive function of an electrical appliance, characterized in that, Including: Obtaining the ambient brightness parameter of the electrical appliance through sampling; Correcting the photosensitive function parameter of the electrical appliance based on the ambient brightness parameter, where the photosensitive function parameter is the brightness threshold for entering the photosensitive function or the brightness threshold for exiting the photosensitive function; there are multiple ambient brightness parameters, and correcting the photosensitive function parameter of the electrical appliance based on the ambient brightness parameter includes: arranging the multiple ambient brightness parameters in ascending order according to the magnitude of the brightness parameter; determining a first set of illumination brightness parameters and a second set of illumination brightness parameters from the multiple ambient brightness parameters arranged in ascending order, where the sequence of the first set of illumination brightness parameters precedes the sequence of the second set of illumination brightness parameters; correcting the brightness threshold for entering the photosensitive function using the first average brightness parameter value in the first set of illumination brightness parameters, or correcting the brightness threshold for exiting the photosensitive function using the second average brightness parameter value in the second set of illumination brightness parameters.
2. The method according to claim 1, characterized in that, Correcting the brightness threshold for entering the photosensitive function using the first average brightness parameter value in the first set of illumination brightness parameters includes: When the first average brightness parameter value is less than or equal to the brightness threshold for entering the photosensitive function, keeping the brightness threshold for entering the photosensitive function unchanged; When the first average brightness parameter value is greater than the brightness threshold for entering the photosensitive function, using the first average brightness parameter value as the brightness threshold for entering the photosensitive function.
3. The method according to claim 1, wherein Correcting the brightness threshold for exiting the photosensitive function using the second average brightness parameter value in the second set of illumination brightness parameters includes: When the second average brightness parameter value is less than or equal to the brightness threshold for exiting the photosensitive function, using the second average brightness parameter value as the brightness threshold for exiting the photosensitive function; When the second average brightness parameter value is greater than the brightness threshold for exiting the photosensitive function, keeping the brightness threshold for exiting the photosensitive function unchanged.
4. The method according to claim 1, characterized in that, The method further includes: Collecting a new ambient brightness parameter; Adding the new ambient brightness parameter to the multiple ambient brightness parameters arranged in ascending order according to the magnitude of the brightness parameter, and deleting the ambient brightness parameter in the first sequence of the multiple ambient brightness parameters arranged in ascending order.
5. The method according to claim 1, wherein Before correcting the photosensitive function parameter of the electrical appliance based on the ambient brightness parameter, the method further includes: Receiving a confirmation instruction from the user for the ambient brightness parameter.
6. The method according to claim 5, wherein Before obtaining the ambient brightness parameter of the electrical appliance through sampling, the method further includes: Adjusting the ambient brightness of the electrical appliance according to the adjustment instruction of the user.
7. A correction device for the photosensitive function of an electrical appliance, characterized in that, Including: An adoption unit for obtaining the ambient brightness parameter of the electrical appliance through sampling; A calibration unit is configured to calibrate the photosensitive function parameters of an electrical appliance based on the environmental brightness parameters, where the photosensitive function parameters are the brightness threshold for entering the photosensitive function or the brightness threshold for exiting the photosensitive function. The calibration unit includes: an arrangement module configured to arrange multiple environmental brightness parameters in ascending order according to the magnitude of the brightness parameters; a determination module configured to determine a first set of illumination brightness parameters and a second set of illumination brightness parameters from the multiple environmental brightness parameters arranged in ascending order, where the sequence of the first set of illumination brightness parameters precedes the sequence of the second set of illumination brightness parameters; and a calibration module configured to calibrate the brightness threshold for entering the photosensitive function using the first average brightness parameter value in the first set of illumination brightness parameters, or calibrate the brightness threshold for exiting the photosensitive function using the second average brightness parameter value in the second set of illumination brightness parameters.
8. An electronic device, characterized in that, Comprising: a processor and a memory; a computer-readable program executable by the processor is stored on the memory; when the processor executes the computer-readable program, the steps in the method according to any one of claims 1-6 are implemented.
Citation Information
Patent Citations
Signal processing method for preventing optical control lamp being self-extinguished
CN110418473A
Automatic night vision switching method for IPC
CN113055596A