Control method and device for preventing infrared interference and household appliance
By counting the number of infrared interference signals and outputting prompt information, the problem of infrared remote control being easily disturbed in home appliances is solved, and the effect of timely notification of users is achieved and the user experience is improved.
Patent Information
- Application Number
- CN202311621747.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2025-05-30
AI Technical Summary
Infrared remote control is susceptible to external interference in home appliances, resulting in failure or insensitive remote control.
By counting the number of infrared interference signals received by home appliances within a specified time period, if the preset number exceeds the number of times, it is determined that the device is disturbed by infrared signals and outputs infrared interference prompt information.
Timely inform users that home appliances are affected by interference signals, avoid unnecessary interference, and improve user experience.
Smart Images

Figure CN120071597A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of household electrical appliances, and particularly to a control method, device and household electrical appliance for preventing infrared interference. Background Art
[0002] With the development of the control technology of household electrical appliances, people's requirements for the intelligent control and user experience of household electrical appliances have gradually increased. During the use of household electrical appliances, users send infrared signals to household electrical appliances through an infrared remote control device according to different requirements. After receiving the infrared signals, the household electrical appliances decode and analyze them, so as to identify the user's key operations and make corresponding control actions. However, infrared remote control is easily affected by external interference, resulting in the failure or insensitivity of the remote control of household electrical appliances. Summary of the Invention
[0003] To overcome the problems existing in the related art, the present disclosure provides a control method, device and household electrical appliance for preventing infrared interference.
[0004] According to the first aspect of the embodiments of the present disclosure, a control method for preventing infrared interference is provided, which is applied to a household electrical appliance. The method includes:
[0005] Obtaining the number of infrared interference signals received by the household electrical appliance within a specified time period;
[0006] If the number of infrared interference signals is greater than a preset number, it is determined that the household electrical appliance is interfered by an infrared signal;
[0007] Outputting an infrared interference prompt message.
[0008] Optionally, the method includes:
[0009] Obtaining the interval time of the infrared interference signal and the time length of the infrared interference signal;
[0010] Determining the preset number according to the interval time and the time length of the infrared interference signal.
[0011] Optionally, the obtaining the interval time of the infrared interference signal includes:
[0012] Recording the first time when the infrared interference signal is detected last time and the second time when the infrared interference signal is detected next time;
[0013] Obtaining the difference between the second time and the first time, and using the difference as the interval time.
[0014] Optionally, the determining the preset number according to the interval time and the time length of the infrared interference signal includes:
[0015] Obtain the period of the infrared interference signal according to the interval time and the time length;
[0016] Determine the ratio between the specified time period and the period, and use this ratio as the preset number of times.
[0017] Optionally, the method includes:
[0018] Receive a first infrared signal;
[0019] Determine that the first infrared signal does not carry the remote control protocol code corresponding to the household electrical appliance device, use the first infrared signal as the infrared interference signal, and record the infrared interference signal.
[0020] Optionally, the household electrical appliance device includes a display device, and the outputting the infrared interference prompt information includes:
[0021] Display the infrared interference prompt information on the display device.
[0022] Optionally, after determining that the household electrical appliance device is interfered by an infrared signal, it includes:
[0023] Obtain the identifier of the device that sends the infrared interference signal, and store the identifier and the infrared interference signal according to a preset relationship;
[0024] When the infrared signal corresponding to the identifier is received again, determine that the infrared signal is an infrared interference signal.
[0025] According to a second aspect of the embodiments of the present disclosure, there is provided a control device for preventing infrared interference, including:
[0026] An acquisition module, configured to acquire the number of times of infrared interference signals received by a household electrical appliance device within a specified time period;
[0027] A determination module, configured to determine that the household electrical appliance device is interfered by an infrared signal if the number of times of the infrared interference signals is greater than a preset number of times;
[0028] An output module, configured to output an infrared interference prompt information.
[0029] According to a third aspect of the embodiments of the present disclosure, there is provided a household electrical appliance device, including:
[0030] A processor;
[0031] A memory for storing processor-executable instructions;
[0032] Wherein, the processor is configured to:
[0033] Obtain the number of infrared interference signals received by the household electrical appliance within a specified time period;
[0034] If the number of the infrared interference signals is greater than a preset number, determine that the household electrical appliance is interfered by an infrared signal;
[0035] Output an infrared interference prompt message.
[0036] According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the control method for preventing infrared interference provided in the first aspect of the present disclosure are implemented.
[0037] The present disclosure determines whether a household electrical appliance is affected by an interference signal by counting the number of abnormal signals within a specified time period. Specifically, the number of infrared signals received by the household electrical appliance within the specified time period is obtained. On this basis, if it is determined that the number of infrared interference signals is greater than the preset number, it is determined that the household electrical appliance is interfered by an infrared signal, and an infrared interference prompt message is output. In this way, the user can be informed in a timely manner that the household electrical appliance is affected by an interference signal, and unnecessary interference to the user can be avoided.
[0038] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure.
[0040] Figure 1 is a flowchart of a control method for preventing infrared interference shown according to an exemplary embodiment.
[0041] Figure 2 is a flowchart of another control method for preventing infrared interference shown according to an exemplary embodiment.
[0042] Figure 3 is a comparison example diagram between interference signals and remote control protocol encodings in another control method for preventing infrared interference shown according to an exemplary embodiment.
[0043] Figure 4 is a block diagram of a control device for preventing infrared interference shown according to an exemplary embodiment.
[0044] Figure 5 is a block diagram of a household electrical appliance shown according to an exemplary embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0045] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0046] It should be noted that all actions of obtaining signals, information, or data in the present disclosure are carried out on the premise of complying with the corresponding data protection regulations and policies of the country where it is located and with the authorization given by the owner of the corresponding device.
[0047] In the description of the present disclosure, terms such as "first" and "second" are used to distinguish similar objects and do not necessarily need to be understood as a specific order or sequence. Additionally, unless otherwise stated, in the description with reference to the accompanying drawings, the same reference numerals in different drawings represent the same elements.
[0048] In the embodiments of the present disclosure, although operations or steps are described in a specific order in the accompanying drawings, it should not be understood that these operations or steps are required to be performed in the specific order shown or in a serial order, or that all the operations or steps shown are required to obtain the desired result. In the embodiments of the present disclosure, these operations or steps can be performed serially; they can also be performed in parallel; or a part of these operations or steps can be performed.
[0049] Currently, during the use of household appliances, due to environmental factors or the influence of the control logic of household appliances, etc., some unpredictable problems usually occur, which will cause a bad user experience, lead to problems such as user after-sales complaints, and further affect the quality and reputation of household appliances. For example, the household appliance can be an air conditioner. When using the air conditioner, there may be infrared signals emitted by electronic products such as a "wave-sensing intelligent trash can", and these infrared signals will interfere with the infrared remote control signals received by the air conditioner, resulting in the failure or insensitivity of the air conditioner remote control.
[0050] In the usage scenario of household appliances, there may be an infrared interference source placed by the user under or near the household appliance. Here, the infrared interference source can be electronic products such as a "wave-sensing intelligent trash can" and an "infrared-sensing night light", which can also be referred to as infrared interference devices. During operation, the infrared interference source mainly continuously emits infrared signals through an infrared emitter and detects infrared signals reflected by a "barrier" such as a human body through an infrared receiver to perform corresponding functions. However, if the infrared signals emitted by the infrared interference source and the remote control signals of the household appliance are received by the household appliance simultaneously, it is very likely to cause the failure or insensitivity of the household appliance remote control.
[0051] Figure 1 is a flowchart of a control method for preventing infrared interference shown according to an exemplary embodiment, as Figure 1 shown, the method may include the following steps.
[0052] In step S110, obtain the number of infrared interference signals received by the household appliance device within a specified time period.
[0053] In the embodiments of the present disclosure, the household appliance device may be a device controlled by infrared. Exemplarily, the household appliance device may be an air conditioner, a television, etc.
[0054] As an alternative, the embodiments of the present disclosure may obtain the number of infrared interference signals received by the household appliance device within a specified time period. Specifically, after receiving the first infrared signal, the household appliance device may determine whether the first infrared signal matches the remote control protocol code. If it is determined that the first infrared signal matches the remote control protocol code, it is determined that the received first infrared signal is an infrared interference signal, and the first infrared signal is used as the infrared interference signal.
[0055] When performing infrared control, the household appliance device may perform special encoding on the infrared remote control signal, that is, the infrared remote control signal may include a head code, a check code, a data code, and a tail code. When the household appliance device receives an infrared signal, it may compare the infrared signal with the remote control protocol code to determine whether they match. If it is determined that the infrared signal is exactly the same as the remote control protocol code, the household appliance device may execute the corresponding remote control function. Conversely, if it is determined that the infrared signal does not match the remote control protocol code, the embodiments of the present disclosure may use the infrared signal as an infrared interference signal.
[0056] In the embodiments of the present disclosure, the remote control protocol code may be a protocol code pre-stored in the household appliance device. After the household appliance device receives an infrared signal, it may first obtain the data code in the infrared signal. On this basis, obtain the remote control protocol code corresponding to the infrared signal according to the data code. That is, if the data codes in the infrared signals are different, the corresponding remote control protocol codes are also different. The main reason is that if the keys of the household appliance device are different, the corresponding remote control protocol codes are also different.
[0057] As known from the above introduction, when the household appliance device determines that the infrared signal it receives does not match the remote control protocol code, it may perform an infrared interference signal recording operation. In addition, during the process of recording the infrared interference signal, the embodiments of the present disclosure may record the reception time of the infrared interference signal.
[0058] Optionally, during the process of recording the infrared interference signal, embodiments of the present disclosure may also obtain the identifier of the device that sends the infrared interference signal, and store the identifier of the device corresponding to the infrared interference signal. The identifier of the device may be carried in the infrared interference signal.
[0059] As an optional method, when the home appliance device is in the standby state, only the infrared signal emitted by the infrared interference source can be received by the home appliance device, and the infrared signal sent by the infrared interference source does not have the corresponding remote control verification code of the home appliance device. That is to say, when the home appliance device receives the infrared signal sent by the infrared interference source, it will not determine it as an infrared remote control signal, that is, it is determined that the received infrared signal is an abnormal infrared signal. On this basis, embodiments of the present disclosure may obtain the number of times the home appliance device detects an abnormal infrared signal within a specified time period.
[0060] As introduced above, when the home appliance device is in the standby state, embodiments of the present disclosure may determine the infrared signal received by the home appliance device, and record it when it is determined that the infrared signal is an infrared interference signal (abnormal signal). In this way, all abnormal signals recorded by the home appliance device within a fixed time can be obtained, that is, the total number of infrared interference signals received by the home appliance device within a specified time period can be obtained. Exemplarily, the specified time period may be 1 hour, or it may also be 2 hours, etc.
[0061] It should be noted that before obtaining the number of infrared interference signals received by the home appliance device within a specified time period, embodiments of the present disclosure may first determine the working state of the home appliance device at the current moment. On this basis, obtain the specified time period corresponding to this working state. In other words, if the working state of the home appliance device is different, the corresponding specified time period may also be different.
[0062] As a specific implementation, the working state of the home appliance device may be determined according to historical data. Specifically, at the first moment, the probability that the user operates the home appliance device is relatively high, and its corresponding working state is busy, and the corresponding specified time period may be smaller. On the contrary, at the second moment, the probability that the user operates the home appliance device is relatively low, and its corresponding working state is idle, and the corresponding specified time period may be larger.
[0063] As an example, when the user is resting at night, the operation of the home appliance device is relatively small, and the corresponding specified time period may be larger. For example, the specified time period is 2 hours. As another example, during the period when the user uses the home appliance device at a relatively high frequency during the day, the corresponding specified time period may be smaller. For example, the specified time period is 1h.
[0064] In addition, the specified time period can also be determined according to the environment where the home appliance is located. For example, it can be determined according to the indoor and / or outdoor temperature of the environment where the home appliance is located. The specified time periods corresponding to different indoor and / or outdoor temperatures of the environment where the home appliance is located may also be different. For example, the specified time period corresponding to a suitable indoor and / or outdoor temperature of the environment where the home appliance is located can be longer. On the contrary, the specified time period corresponding to a relatively high or low indoor and / or outdoor temperature of the environment where the home appliance is located can be shorter. Embodiments of the present disclosure can comprehensively determine the specified time period in combination with the environment where the home appliance is located, historical data of the user operating the home appliance, etc., so that the number of times of the finally obtained infrared interference signals can be more accurate.
[0065] In step S120, if the number of infrared interference signals is greater than the preset number, it is determined that the home appliance is interfered by an infrared signal.
[0066] As an optional manner, after obtaining the number of infrared interference signals, embodiments of the present disclosure can determine whether the number of the infrared interference signals is greater than the preset number. If it is determined that the number of infrared interference signals is greater than the preset number, embodiments of the present disclosure can determine that the home appliance is interfered by an infrared signal at this time.
[0067] In step S130, an infrared interference prompt message is output.
[0068] As an optional manner, when it is determined that the home appliance is interfered by an infrared signal, embodiments of the present disclosure can output an infrared interference prompt message to inform the user through the infrared interference prompt message that the home appliance is interfered by other infrared interference sources at this time, and the user is requested to check and remove the infrared interference source in time to avoid causing interference to the user.
[0069] In some embodiments, the home appliance may include a display device. When it is determined that the number of infrared interference signals is greater than the preset number, embodiments of the present disclosure can display the infrared interference prompt message on the display device of the home appliance. That is to say, when it is determined that the home appliance is interfered by an infrared signal, a fault message is displayed through the display screen of the home appliance.
[0070] As an optional manner, after the infrared interference information is displayed on the display device of the home appliance, if the infrared interference source still exists after the preset time period, embodiments of the present disclosure can increase the intensity of the interference prompt. For example, the first time, an infrared interference prompt message with white font is output through the display screen. After the preset time period, the infrared interference source still exists and its position has not changed, then embodiments of the present disclosure can change the display mode of the infrared interference prompt message, such as switching the display font from white to red, and / or, the display font of the infrared interference prompt message can also be increased.
[0071] As another alternative, after the infrared interference information is displayed on the display device of the home appliance, if the infrared interference source still exists after a preset time period, the embodiments of the present disclosure can detect whether the user inputs an infrared remote control signal, that is, determine whether the user triggers the infrared remote control signal. If it is determined that the user triggers the infrared remote control signal and the number of times of triggering the infrared remote control signal exceeds the specified number, the embodiments of the present disclosure can output the infrared interference prompt information through the sound and light device of the home appliance while displaying the infrared interference prompt information through the display device to inform that the home appliance is interfered by the infrared signal. At the same time, the infrared interference prompt information can also be sent to the electronic device bound to the home appliance.
[0072] In addition, if it is detected that the infrared interference source is removed after the preset time period, the embodiments of the present disclosure can cancel the output of the infrared interference prompt information.
[0073] As another alternative, after determining that the home appliance is interfered by the infrared signal, the embodiments of the present disclosure can also upload data (infrared interference prompt information) to the server background and control a specified application (APP) to remind the user through a wireless network (home appliance WiFi). The user can be informed by this prompt information to check and remove the interference source in time to avoid causing trouble to the user.
[0074] It should be noted that the infrared signal in the embodiments of the present disclosure can be a time sequence code with alternating high and low levels. In addition, the remote control protocol code can be a time sequence code with alternating high and low levels in a fixed format.
[0075] The embodiments of the present disclosure determine whether the home appliance is affected by the interference signal by counting the number of abnormal signals in a specified time period. Specifically, the number of infrared signals received by the home appliance in the specified time period is obtained. On this basis, if it is determined that the number of infrared interference signals is greater than the preset number, it is determined that the home appliance is interfered by the infrared signal, and the infrared interference prompt information is output. In this way, the user can be informed in time that the home appliance is affected by the interference signal, and unnecessary interference to the user can be avoided.
[0076] Figure 2 is a flowchart of another control method for preventing infrared interference shown according to an exemplary embodiment. As Figure 2 shown, the method may include the following steps.
[0077] In step S210, the number of infrared interference signals received by the home appliance in a specified time period is obtained.
[0078] Among them, the specific implementation manner of step S210 has been described in detail in the above embodiments and will not be repeated here.
[0079] In step S220, obtain the interval time of the infrared interference signal and the time length of the infrared interference signal.
[0080] As an optional method, when the home appliance device is in the standby state, if an infrared signal is received and it is determined that the infrared signal is an infrared interference signal sent by an infrared interference source, the embodiments of the present disclosure can obtain the interval time of the infrared interference signal and the time length of the infrared interference signal. Among them, the interval time of the infrared interference signal can be the interval time when the infrared interference source sends interference signals. For example, if the time to send the first infrared interference signal is T1 and the time to send the second infrared interference signal is T2, then the corresponding interval time of the infrared interference signal can be T2 - T1.
[0081] Specifically, the embodiments of the present disclosure can record the first time when the infrared interference signal was detected last time and record the second time when the infrared interference signal is detected next time. On this basis, obtain the difference between the second time and the first time, and use this difference as the interval time of the infrared interference signal.
[0082] As an example, if the time when the home appliance device first received the infrared interference signal is T1 and the time when it second received the infrared interference signal is T2, then the interval time A of the infrared interference signal = T2 - T1. It can be seen that the infrared interference source can send infrared interference signals every fixed time interval A.
[0083] In some embodiments, the time length of the infrared interference signal can be the time length of the infrared signal sent by the infrared interference source. For example, the infrared interference source can emit infrared signals with a fixed time length (B) every fixed time interval A. It can be seen that the infrared signals emitted by the infrared interference source can be infrared signals with a continuous fixed period and fixed time interval.
[0084] To better understand the interval time and time length of the infrared interference signal, the embodiments of the present disclosure give an example diagram as Figure 3 shown. Figure 3 The interference signal timing shown can be obtained by the home appliance device by statistically analyzing the infrared interference signals received within a specified time period. When the home appliance device receives the first infrared signal, it can compare the level of the first infrared signal with the level of the remote control signal coding (remote control protocol coding) to determine whether the level of the first infrared signal matches the level of the remote control signal coding. If the level of the first infrared signal does not match the level of the remote control signal coding, it is determined that the first infrared signal is an infrared interference signal. On the contrary, if the level of the first infrared signal matches the level of the remote control signal coding, it is determined that the first infrared signal is an infrared remote control signal, and the instruction corresponding to the infrared remote control signal is executed.
[0085] In step S230, a preset number of times is determined according to the interval time and the time length of the infrared interference signal.
[0086] As an alternative, after obtaining the interval time and the time length of the infrared interference signal, the embodiments of the present disclosure may determine the preset number of times according to the interval time and the time length. Specifically, the period of the infrared interference signal is obtained according to the interval time and the time length. On this basis, the ratio between the specified time period and the period is determined, and this ratio is used as the preset number of times. Exemplarily, the time length of one period of the infrared interference signal may be the sum of the interval time and the time length.
[0087] As an example, if the interval time of the infrared signal is A, the time length is B, and the specified time period is T, then the preset number of times = T / (A + B). When T = 1h, the corresponding preset number of times = 3600s / (A + B); when T = 2h, the corresponding preset number of times = 7200s / (A + B); when T = 0.5h, the corresponding preset number of times = 1800s / (A + B).
[0088] In summary, when the household appliance is in the standby state, only the infrared signal emitted by the interference source is received by the household appliance. Since the interference infrared signal sent by the interference source is inconsistent with the remote control protocol encoding, the main control chip of the household appliance will not determine it as a remote control signal. At this time, the household appliance can determine that the received infrared signal is an abnormal infrared signal. The household appliance can record the number of abnormal signals detected within a fixed period of time.
[0089] In step S240, if the number of infrared interference signals is greater than the preset number of times, it is determined that the household appliance is interfered by the infrared signal.
[0090] In some embodiments, after determining that the household appliance is interfered by the infrared signal, the embodiments of the present disclosure may obtain the identifier of the device that sends the infrared interference signal, and store / record the identifier of the device and the infrared interference signal according to a preset relationship. When the household appliance receives the infrared signal sent by the device corresponding to the identifier again next time, the household appliance can directly determine that the received infrared signal is an infrared interference signal, that is, it is determined that the household appliance is interfered by the infrared signal sent by the device corresponding to the identifier, and directly output an infrared interference prompt message, without the need to re-obtain the number of infrared interference signals received by the household appliance within a specified time period and determine whether the number is greater than the preset number of times. In this way, the judgment of infrared signal interference can be accelerated.
[0091] As an example, if the number of times the home appliance device receives the infrared interference signal 1 sent by device A within a specified time period is greater than a preset number, the home appliance device can store device A and the infrared interference signal 1 according to a preset relationship. When the home appliance device receives the infrared interference signal 1 sent by device A again at the second moment, the home appliance device can directly determine that it is interfered by the infrared signal.
[0092] In summary, in the embodiments of the present disclosure, by only changing the infrared signal judgment logic of the home appliance device, it is possible to detect whether there is infrared interference near the home appliance device and notify the user to check and process when infrared interference is detected. In this way, it is possible to prevent the home appliance device from being affected by infrared interference, and further avoid the influence on the remote control effect, thereby improving the user experience. In addition, the embodiments of the present disclosure do not require additional costs and have strong versatility, and can be applied to all electronic products controlled by infrared remote control.
[0093] In step S250, an infrared interference prompt message is output.
[0094] The specific implementation manner of S250 has been described in detail in the above embodiments and will not be elaborated here.
[0095] In some other embodiments, during the standby process of the home appliance device, if an infrared remote control signal is sent out, it is very likely that the infrared remote control signal overlaps with the infrared interference signal to obtain a target infrared signal. At this time, the home appliance device can determine whether the target infrared signal matches the first remote control protocol code of the home appliance device. If it is determined that the two do not match, the second remote control protocol code can be obtained according to the time information of the infrared interference signal, where the first remote control protocol code is the original remote control protocol code pre-stored in the home appliance device. On this basis, when the target infrared signal matches the second remote control protocol code, the instruction corresponding to the second remote control protocol code is executed.
[0096] Here, the time information of the infrared interference signal may include the first interval time and the first time length of the infrared interference signal, that is, in the embodiments of the present disclosure, the second remote control protocol code can be determined according to the first interval time and the first time length of the infrared interference signal. Specifically, the second interval time of the infrared signal received by the home appliance device is obtained; the second remote control protocol code is determined according to the second interval time of the infrared signal, the first interval time and the first time length of the infrared interference signal.
[0097] Among them, in the process of obtaining the second interval time, the first time and the second time can be obtained. The first time can be the time when the home appliance device last received an infrared signal, and the second time can be the time when the home appliance device next receives an infrared signal. On this basis, the difference between the second time and the first time is obtained, and this difference is used as the second interval time.
[0098] As known from the above introduction, the embodiments of the present disclosure can obtain the period of the infrared interference signal according to the interval time and the time length of the infrared interference signal. Optionally, when it is determined that the interval time of the infrared signal is less than the period of the infrared interference signal, the embodiments of the present disclosure can determine that the household electrical appliance device receives an infrared remote control signal within the period of the infrared interference signal.
[0099] As an optional manner, in the process of determining the second remote control protocol code according to the interval time of the infrared signal, the interval time of the infrared interference signal, and the time length, the embodiments of the present disclosure can obtain the difference between the interval time of the infrared signal and the interval time of the infrared interference signal. On this basis, the level of the first remote control protocol code after the difference is updated according to the level of the infrared interference signal to obtain the second remote control protocol code.
[0100] Optionally, when the interval time of the infrared signal is equal to the period of the infrared interference signal, the embodiments of the present disclosure can determine that the household electrical appliance device does not receive an infrared remote control signal within the period of the infrared interference signal.
[0101] As another optional manner, when receiving a target infrared signal formed by superimposing an infrared interference signal and an infrared remote control signal, if the embodiments of the present disclosure determine that the target infrared signal does not match the remote control protocol code of the household electrical appliance device, they can obtain the effective infrared signal in the target infrared signal, and the effective infrared signal can be composed of the high and low levels in the target infrared signal that match the remote control protocol code. On this basis, if it is determined that the effective infrared signal meets the preset conditions, the remote control instruction corresponding to the infrared remote control signal is executed.
[0102] Among them, in the process of obtaining the effective infrared signal, the high and low levels in the target infrared signal that are consistent with the remote control protocol code can be obtained first, and the high and low levels consistent with the remote control protocol code are used as the effective infrared signal. On this basis, if it is determined that the target time corresponding to the effective infrared signal meets the preset conditions, the remote control instruction corresponding to the infrared remote control signal is executed.
[0103] Optionally, the embodiments of the present disclosure can obtain the time length of the infrared remote control signal and the time length of the infrared interference signal. On this basis, the target time length is determined according to the time length of the infrared remote control signal and the time length of the infrared interference signal. If the target time corresponding to the effective infrared signal conforms to the preset relationship with the target time length, it is determined that the target time corresponding to the effective infrared signal meets the preset conditions.
[0104] Here, conforming to the preset relationship can be that the target time is greater than or equal to the target time length, where the target time length can be the difference between the first time length and the second time length.
[0105] Optionally, the compliance with the preset relationship may also be that the target time is greater than or equal to the target value, where the target value may be determined according to the target time length and the preset deviation.
[0106] As another optional way, if it is determined that the target time and the target time length comply with the preset relationship, the embodiments of the present disclosure may obtain the ratio between the target time and the time length of the infrared remote control signal. On this basis, if the ratio is greater than the preset threshold, it may be determined that the target time meets the preset conditions.
[0107] In addition, in the case where the valid infrared signal does not meet the preset conditions, the embodiments of the present disclosure may not execute the remote control instruction corresponding to the infrared remote control signal, and may output an infrared interference prompt message at the same time.
[0108] The embodiments of the present disclosure determine whether the home appliance is affected by the interference signal by counting the number of abnormal signals within a specified time period, and specifically, obtain the number of infrared signals received by the home appliance within the specified time period. On this basis, if it is determined that the number of infrared interference signals is greater than the preset number, it is determined that the home appliance is affected by the infrared signal, and an infrared interference prompt message is output. In this way, the user can be informed in time that the home appliance is affected by the interference signal, and unnecessary interference to the user can be avoided. In addition, the embodiments of the present disclosure do not need to increase the cost. By changing the infrared signal judgment logic of the home appliance, if an abnormal infrared signal is continuously detected within a fixed time, it can be determined as an interference signal and the user is reminded to check and process, which can improve the user experience.
[0109] Figure 4 It is a block diagram of a control device 300 for preventing infrared interference shown according to an exemplary embodiment. Refer to Figure 4 The control device 300 for preventing infrared interference includes an acquisition module 310, a determination module 320, and an output module 330.
[0110] The acquisition module 310 is configured to acquire the number of infrared interference signals received by the home appliance within a specified time period;
[0111] The determination module 320 is configured to determine that the home appliance is affected by the infrared signal if the number of the infrared interference signals is greater than the preset number;
[0112] The output module 330 is configured to output an infrared interference prompt message.
[0113] In some embodiments, the control device 300 for preventing infrared interference may further include:
[0114] A time information acquisition module, configured to acquire the interval time of the infrared interference signal and the time length of the infrared interference signal;
[0115] A frequency determination module, configured to determine the preset frequency according to the interval time and the time length of the infrared interference signal.
[0116] In some embodiments, the time information acquisition module may include:
[0117] A recording sub-module, configured to record the first time when the infrared interference signal was detected last time, and record the second time when the infrared interference signal is detected next time;
[0118] A difference acquisition sub-module, configured to acquire the difference between the second time and the first time, and use this difference as the interval time.
[0119] In some embodiments, the frequency determination module may include:
[0120] A period acquisition sub-module, configured to acquire the period of the infrared interference signal according to the interval time and the time length;
[0121] A ratio determination sub-module, configured to determine the ratio between the specified time period and the period, and use this ratio as the preset frequency.
[0122] In some embodiments, the control device 300 for preventing infrared interference may further include:
[0123] A signal receiving module, configured to receive a first infrared signal;
[0124] The determination module 320 is further configured to determine that the first infrared signal does not carry the remote control protocol code corresponding to the household electrical appliance device, use the first infrared signal as the infrared interference signal, and record the infrared interference signal.
[0125] In some embodiments, the household electrical appliance device includes a display device, and the output module 330 is further configured to display the infrared interference prompt information on the display device.
[0126] In some embodiments, the control device 300 for preventing infrared interference may further include:
[0127] An identification acquisition module, configured to acquire the identification of the device that sends the infrared interference signal, and store the identification and the infrared interference signal according to a preset relationship;
[0128] The determination module 320 is further configured to determine that the infrared signal is an infrared interference signal when the infrared signal corresponding to the identification is received again.
[0129] In the embodiments of the present disclosure, the number of abnormal signals within a specified time period is counted, and based on this number, it is determined whether the household electrical appliance device is affected by interference signals. Specifically, the number of infrared signals received by the household electrical appliance device within the specified time period is obtained. On this basis, if it is determined that the number of infrared interference signals is greater than a preset number, it is determined that the household electrical appliance device is affected by infrared signals, and an infrared interference prompt message is output. In this way, the user can be informed in a timely manner that the household electrical appliance device is affected by interference signals, thereby avoiding unnecessary interference to the user.
[0130] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0131] The present disclosure also provides a computer-readable storage medium, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the control method for preventing infrared interference provided by the present disclosure are implemented.
[0132] Figure 5 FIG. 10 is a block diagram of a household electrical appliance device 800 for a control method for preventing infrared interference according to an exemplary embodiment. For example, the household electrical appliance device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0133] Referring to Figure 5 , the household electrical appliance device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output interface 812, a sensor component 814, and a communication component 816.
[0134] The processing component 802 generally controls the overall operation of the household electrical appliance device 800, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0135] The memory 804 is configured to store various types of data to support the operation of the home appliance device 800. Examples of such data include instructions for any application or method operating on the home appliance device 800, contact data, phone book data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0136] The power supply component 806 provides power to various components of the home appliance device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the home appliance device 800.
[0137] The multimedia component 808 includes a screen that provides an output interface between the home appliance device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of the touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the home appliance device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0138] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when the home appliance device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.
[0139] The input / output interface 812 provides an interface between the processing component 802 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0140] The sensor assembly 814 includes one or more sensors for providing a status assessment of various aspects of the home appliance device 800. For example, the sensor assembly 814 can detect the on / off state of the home appliance device 800, the relative positioning of components, such as the display and keypad of the home appliance device 800. The sensor assembly 814 can also detect a change in the position of the home appliance device 800 or a component of the home appliance device 800, the presence or absence of user contact with the home appliance device 800, the orientation or acceleration / deceleration of the home appliance device 800, and the temperature change of the home appliance device 800. The sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0141] The communication component 816 is configured to facilitate communication between the home appliance device 800 and other devices in a wired or wireless manner. The home appliance device 800 can access a wireless network based on communication standards, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0142] In an exemplary embodiment, the home appliance device 800 can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described control method for preventing infrared interference.
[0143] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 804 including instructions, is also provided. The above instructions can be executed by a processor 820 of the home appliance device 800 to complete the above-described control method for preventing infrared interference. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0144] In addition to being an independent electronic device, the above device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip. The integrated circuit can be a single IC or a collection of multiple ICs. The chip can include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip), etc. The above integrated circuit or chip can be used to execute executable instructions (or code) to implement the above control method for preventing infrared interference. The executable instructions can be stored in the integrated circuit or chip, or obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instructions can be stored in the memory, and when the executable instructions are executed by the processor, the above control method for preventing infrared interference is implemented. Alternatively, the integrated circuit or chip can receive the executable instructions through the interface and transmit them to the processor for execution to implement the above control method for preventing infrared interference.
[0145] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable device, and the computer program has a code portion for executing the above control method for preventing infrared interference when executed by the programmable device.
[0146] Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure aims to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0147] It should be understood that the present disclosure is not limited to the exact structures already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A control method for preventing infrared interference, characterized in that, applied to household electrical appliances, the method includes: obtaining the number of infrared interference signals received by the household electrical appliance within a specified time period; if the number of the infrared interference signals is greater than a preset number, determining that the household electrical appliance is interfered by an infrared signal; outputting an infrared interference prompt message.
2. The method according to claim 1, characterized in that, the method includes: obtaining the interval time of the infrared interference signal and the time length of the infrared interference signal; determining the preset number according to the interval time and the time length of the infrared interference signal.
3. The method according to claim 2, characterized in that, the obtaining the interval time of the infrared interference signal includes: recording the first time when the infrared interference signal is detected last time, and recording the second time when the infrared interference signal is detected next time; obtaining the difference between the second time and the first time, and taking the difference as the interval time.
4. The method according to claim 2, characterized in that, the determining the preset number according to the interval time and the time length of the infrared interference signal includes: obtaining the period of the infrared interference signal according to the interval time and the time length; determining the ratio between the specified time period and the period, and taking the ratio as the preset number.
5. The method according to claim 1, characterized in that, the method includes: receiving a first infrared signal; determining that the first infrared signal does not match the remote control protocol code, taking the first infrared signal as the infrared interference signal, and recording the infrared interference signal.
6. The method according to claim 1, characterized in that, the household electrical appliance includes a display device, and the outputting the infrared interference prompt message includes: displaying the infrared interference prompt message on the display device.
7. The method according to any one of claims 1 to 6, characterized in that, after determining that the household electrical appliance is interfered by an infrared signal, it includes: obtaining the identifier of the device that sends the infrared interference signal, and storing the identifier and the infrared interference signal according to a preset relationship; when the infrared signal corresponding to the identifier is received again, determining that the infrared signal is an infrared interference signal.
8. A control device for preventing infrared interference, characterized in that, including: an obtaining module configured to obtain the number of infrared interference signals received by a household electrical appliance within a specified time period; a determining module configured to determine that the household electrical appliance is interfered by an infrared signal if the number of the infrared interference signals is greater than a preset number; an output module configured to output an infrared interference prompt message.
9. A household electrical appliance, characterized in that, including: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to: obtain the number of infrared interference signals received by the household electrical appliance within a specified time period; if the number of the infrared interference signals is greater than a preset number, determine that the household electrical appliance is interfered by an infrared signal; output an infrared interference prompt message.
10. A computer-readable storage medium having computer program instructions stored thereon, wherein, when the program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and system for detecting vehicle remote unlocking and locking interference signals
CN102941840A
Method and device for evaluating interference intensity of infrared light
CN104639234A
Interference detection method and device
CN108243444A
Infrared signal anti-interference method and device and display equipment
CN115065416A
Safety apparatus to preventing falling
KR102428248B1