Control method and device for preventing infrared interference and household appliance
By receiving the target infrared signal and obtaining new remote control protocol encoding based on the time information of the infrared interference signal, the problem of infrared remote control signals is solved, and the normal control of home appliances and user experience is improved.
Patent Information
- Application Number
- CN202311624953.0
- 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 signals are easily disturbed by external interference, resulting in failure or insensitive remote control of home appliances.
By receiving the target infrared signal, it is determined that it does not match the first remote control protocol encoding of the home appliance device, and obtain the second remote control protocol encoding based on the time information of the infrared interference signal, and execute the corresponding instructions in the matching situation.
Effectively eliminate the interference of infrared interference signals on the normal execution of control instructions for home appliances to ensure the user's user experience.
Smart Images

Figure CN120071598A_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 perform corresponding control actions. However, infrared remote control is easily interfered by the outside world, 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 applied to a household electrical appliance, and the method includes:
[0005] Receiving a target infrared signal, where the target infrared signal is generated by the overlap of an infrared interference signal and an infrared remote control signal;
[0006] Determining that the target infrared signal does not match the first remote control protocol code of the household electrical appliance, and obtaining a second remote control protocol code according to the time information of the infrared interference signal;
[0007] When the target infrared signal matches the second remote control protocol code, executing the instruction corresponding to the second remote control protocol code.
[0008] Optionally, the obtaining the second remote control protocol code according to the time information of the infrared interference signal includes:
[0009] Obtaining a first interval time of the infrared interference signal and obtaining a first time length of the infrared interference signal;
[0010] Determining the second remote control protocol code according to the first interval time and the first time length of the infrared interference signal.
[0011] Optionally, the determining the second remote control protocol code according to the first interval time and the first time length of the infrared interference signal includes:
[0012] Obtaining a second interval time of the infrared signal;
[0013] Determine the second remote control protocol code according to the second interval time of the infrared signal, the first interval time of the infrared interference signal, and the first time length.
[0014] Optionally, the obtaining the second interval time of the infrared signal includes:
[0015] Obtain a first time and a second time, where the first time is the time when the household electrical appliance device last received the infrared signal, and the second time is the time when the household electrical appliance device next receives the infrared signal;
[0016] Obtain the difference between the second time and the first time, and use this difference as the second interval time.
[0017] Optionally, the method further includes:
[0018] Obtain the period of the infrared interference signal according to the first interval time of the infrared interference signal and the first time length;
[0019] When the second interval time of the infrared signal is less than the period of the infrared interference signal, it is determined that the infrared remote control signal is received within the period of the infrared interference signal.
[0020] Optionally, the determining the second remote control protocol code according to the second interval time of the infrared signal, the first interval time of the infrared interference signal, and the first time length includes:
[0021] Obtain the difference between the period of the infrared interference signal and the second interval time;
[0022] Update the level of the first remote control protocol code after the difference according to the level of the infrared interference signal to obtain the second remote control protocol code.
[0023] Optionally, the method further includes:
[0024] When the second interval time of the infrared signal is equal to the period of the infrared interference signal, it is determined that the infrared remote control signal is not received within the period of the 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] A receiving module, configured to receive a target infrared signal, where the target infrared signal is generated by overlapping an infrared interference signal and an infrared remote control signal;
[0027] A determination module, configured to determine that the target infrared signal does not match the first remote control protocol code of the household appliance device, and obtain a second remote control protocol code according to the time information of the infrared interference signal;
[0028] An execution module, configured to execute an instruction corresponding to the second remote control protocol code when the target infrared signal matches the second remote control protocol code.
[0029] According to a third aspect of the embodiments of the present disclosure, there is provided a household appliance device, including:
[0030] A processor;
[0031] A memory for storing instructions executable by the processor;
[0032] Wherein, the processor is configured to:
[0033] Receive a target infrared signal, where the target infrared signal is generated by overlapping an infrared interference signal and an infrared remote control signal;
[0034] Determine that the target infrared signal does not match the first remote control protocol code of the household appliance device, and obtain a second remote control protocol code according to the time information of the infrared interference signal;
[0035] When the target infrared signal matches the second remote control protocol code, execute an instruction corresponding to the second remote control protocol code.
[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] When the infrared remote control signal is interfered, the present disclosure can ensure the normal execution of control instructions by obtaining a new remote control protocol code. Specifically, a target infrared signal is received, where the target infrared signal is generated by overlapping an infrared interference signal and an infrared remote control signal. If it is determined that the target infrared signal does not match the first remote control protocol code pre-stored in the household appliance device, a second remote control protocol code is obtained according to the time information of the infrared interference signal. When the target infrared signal matches the second remote control protocol code, an instruction corresponding to the second remote control protocol code is executed, so as to eliminate the interference of the infrared interference signal on the normal execution of control instructions of the household appliance device and ensure the user experience.
[0038] It should be understood that the above general description and subsequent 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 and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are 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 an infrared signal and a remote control protocol code 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 device shown according to an exemplary embodiment. Detailed Embodiments
[0045] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numerals 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 the location is located and obtaining 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 shown operations or steps 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] During the use of household electrical appliances, due to environmental factors or the control logic of household electrical appliances, etc., some unpredictable problems usually occur, which will cause a bad user experience, lead to problems such as after-sales complaints from users, and then affect the quality and reputation of household electrical appliances. For example, the household electrical 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 electrical appliances, there may be an infrared interference source placed below or near the household electrical appliance by the user. 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 called infrared interference devices. During operation, the infrared interference source mainly continuously emits infrared signals through an infrared transmitter and detects the 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 electrical appliance are received by the household electrical appliance at the same time, it is very likely that the remote control of the household electrical appliance will fail or the remote control of the household electrical appliance will be insensitive.
[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, a target infrared signal is received.
[0053] In the embodiments of the present disclosure, the household electrical appliance can be a device controlled by infrared. Exemplarily, the household electrical appliance can be an air conditioner, a television, etc.
[0054] In the embodiments of the present disclosure, the target infrared signal may be generated by overlapping an infrared interference signal and an infrared remote control signal, that is, the target infrared signal may be a mixed remote control infrared signal superimposed with an interference signal. When the household electrical appliance is in a standby state, only the infrared signals emitted by the infrared interference source can be received by the household electrical appliance, and the infrared signals sent by the infrared interference source do not have a corresponding remote control verification code for the household electrical appliance. That is to say, when the household electrical appliance receives the infrared signals sent by the infrared interference source, it will not determine them as infrared remote control signals, that is, it is determined that the received infrared signals are abnormal infrared signals / infrared interference signals.
[0055] Optionally, if an infrared remote control signal is received while an infrared interference signal is received, the infrared remote control signal and the infrared interference signal are very likely to overlap, which may cause the infrared remote control signal received by the home appliance device not to be a true infrared remote control signal. That is to say, the target infrared signal received by the home appliance device is the overlap of the infrared interference signal and the infrared remote control signal. Due to the reception of the infrared interference signal, the infrared remote control signal is changed.
[0056] In step S120, it is determined that the target infrared signal does not match the first remote control protocol code of the home appliance device, and the second remote control protocol code is obtained according to the time information of the infrared interference signal.
[0057] As an optional method, after receiving the target infrared signal, 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 target infrared signal does not match the first remote control protocol code, the embodiment of the present disclosure can obtain the time information of the infrared interference signal and obtain the second remote control protocol code based on the time information.
[0058] When performing infrared control, the home appliance device can perform special encoding on the infrared remote control signal, that is, the infrared remote control signal can include a header code, a check code, a data code, and a tail code. When the home appliance device receives an infrared signal, it can 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 home appliance device can execute the corresponding remote control function. On the contrary, if it is determined that the infrared signal does not match the remote control protocol code, the embodiment of the present disclosure can obtain the second remote control protocol code according to the time information of the infrared interference signal.
[0059] In the embodiment of the present disclosure, the first remote control protocol code can be a protocol code pre-stored in the home appliance device. After the home appliance device receives the target infrared signal, it can first obtain the data code in the target infrared signal. On this basis, the first remote control protocol code corresponding to the target infrared signal is obtained according to the data code. That is to say, if the data codes in the target infrared signals are different, the corresponding remote control protocol codes are also different. The main reason is that the buttons of the home appliance device are different, and the corresponding remote control protocol codes are also different.
[0060] As an optional method, the second remote control protocol code can be a code different from the first remote control protocol code, and the second remote control protocol code is obtained by updating the first remote control protocol code by using the infrared interference signal.
[0061] In step S130, when the target infrared signal matches the second remote control protocol code, the instruction corresponding to the second remote control protocol code is executed.
[0062] As an alternative approach, after obtaining the second remote control protocol code based on the time information of the infrared interference signal, the embodiments of the present disclosure can determine whether the target infrared signal matches the second remote control protocol code. If it is determined that the target infrared signal matches the second remote control protocol code, the embodiments of the present disclosure can execute the instructions corresponding to the second remote control protocol code. That is to say, when the target infrared signal matches the second remote control protocol code, the control instructions corresponding to the target infrared channel are executed.
[0063] As known from the above introduction, in the scenario where the infrared interference source continuously emits interference signals, it is very likely that the infrared interference signals detected by the household electrical appliance device overlap with the infrared remote control signals, which may cause the infrared signals received by the household electrical appliance device to not be completely consistent with the remote control protocol code, and thus it is impossible to determine and execute the functional instructions corresponding to the remote control code sending. The embodiments of the present disclosure can solve this problem by obtaining the second remote control protocol code, that is, ensuring the normal execution of the functional instructions.
[0064] It should be noted that the target infrared signal in the embodiments of the present disclosure can be a time sequence code with alternating high and low levels. Additionally, the first remote control protocol code can be a time sequence code with alternating high and low levels in a fixed format.
[0065] In summary, the embodiments of the present disclosure can detect whether there is infrared interference near the household electrical appliance device only by changing the infrared signal judgment logic of the household electrical appliance device, and automatically ignore the interference signal when it is determined that the household electrical appliance device is affected by infrared interference. In this way, the influence of infrared interference on the household electrical appliance device can be greatly reduced, the remote control effect can be prevented from being affected, and the user experience can be improved. Additionally, the embodiments of the present disclosure do not require additional costs, have strong versatility, and can be applied to all electronic products controlled by infrared remote control.
[0066] When the infrared remote control signal is interfered in the embodiments of the present disclosure, obtaining a new remote control protocol code can ensure the normal execution of the control instructions. Specifically, a target infrared signal is received, where the target infrared signal is generated by the overlap of the infrared interference signal and the infrared remote control signal. If it is determined that the target infrared signal does not match the first remote control protocol code pre-stored in the household electrical appliance device, the second remote control protocol code is obtained according to the time information of the infrared interference signal. When the target infrared signal matches the second remote control protocol code, the instructions corresponding to the second remote control protocol code are executed. In this way, the interference of the infrared interference signal on the normal execution of the control instructions of the household electrical appliance device can be excluded, and the user experience can be guaranteed.
[0067] 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.
[0068] In step S210, a target infrared signal is received.
[0069] Among them, the specific implementation of step S210 has been described in detail in the above embodiments, and will not be elaborated here.
[0070] In step S220, it is determined that the target infrared signal does not match the first remote control protocol code of the home appliance device, the first interval time of the infrared interference signal is obtained, and the first time length of the infrared interference signal is obtained.
[0071] As introduced above, after obtaining the target infrared signal, the embodiments of the present disclosure 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 target infrared signal does not match the first remote control protocol code of the home appliance device, the embodiments of the present disclosure can update the first remote control protocol code to obtain a second remote control protocol code.
[0072] Specifically, the embodiments of the present disclosure can obtain the first interval time of the infrared interference signal and obtain the first time length of the infrared interference signal. Among them, the first interval time of the infrared interference signal can be the interval time for the infrared interference source to send 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 first interval time of the infrared interference signal can be T2 - T1.
[0073] 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 first interval time of the infrared interference signal. It should be noted that no infrared remote control signal is received during the process of obtaining the interval time of the infrared interference signal.
[0074] As an example, if the time when the home appliance device first receives the infrared interference signal is T1 and the time when it second receives the infrared interference signal is T2, then the first interval time A of the infrared interference signal = T2 - T1. It can be seen that the home appliance device can receive an infrared interference signal from the infrared interference source every fixed time interval A.
[0075] In some embodiments, the first 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 an infrared signal with a fixed time length (B) every fixed time interval A. It can be seen that the infrared signal emitted by the infrared interference source can be an infrared signal with a continuous fixed period and fixed time interval.
[0076] To better understand the interval time and time length of the infrared interference signal, the embodiments of the present disclosure give the following Figure 3The example diagram shown. Figure 3 The interference signal timing shown can be obtained by the household appliance device through statistics on the infrared interference signals received within a specified time period. For example, Figure 3 in which A is the first interval time of the infrared interference signal; B is the first time length of the infrared interference signal; the pure remote control protocol code 1 is the first remote control protocol code in the embodiments of the present disclosure; the mixed signal 2 superimposed with the interference signal can be the target infrared signal in the embodiments of the present disclosure, that is, the target infrared signal can be Figure 3 the mixed signal 2 superimposed with the interference signal shown.
[0077] In step S230, a second remote control protocol code is determined according to the first interval time and the first time length of the infrared interference signal.
[0078] As an alternative, after obtaining the first interval time and the first time length of the infrared interference signal, the embodiments of the present disclosure may determine a second remote control protocol code according to the first interval time and the first time length of the infrared interference signal.
[0079] In this process, the embodiments of the present disclosure may first obtain the second interval time of the infrared signal. Specifically, a first time and a second time are obtained, where the first time may be the time when the household appliance device last received an infrared signal, and the second time may be the time when the household 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.
[0080] That is to say, the embodiments of the present disclosure may set the interval from the last time the household appliance device starts to receive an infrared signal to the next time it starts to receive an infrared signal as the second interval time. Here, the infrared signal may be an infrared interference signal or an infrared remote control signal. For example, when the household appliance device Figure 3 receives an infrared interference signal at the first moment T1 shown, and receives an infrared remote control signal at the second moment T2, then the corresponding second interval time E = T2 - T1.
[0081] As an alternative, after obtaining the second interval time of the infrared signal, the embodiments of the present disclosure may determine whether the second interval time is less than the period of the infrared interference signal. Among them, the period of the infrared interference signal may be determined according to the first interval time and the first time length of the infrared interference signal. For example, the period of the infrared interference signal = the first interval time A + the first time length B.
[0082] On this basis, embodiments of the present disclosure can determine the second remote control protocol code using the period of the infrared interference signal and the second interval time. Specifically, obtain the difference between the period of the infrared interference signal and the second interval, and update the level of the first remote control protocol code after the difference according to the level of the infrared interference signal to obtain the second remote control protocol code.
[0083] As Figure 3 shown, the difference between the period (A + B) of the infrared interference signal and the second interval (E) is (A + B) - E. Updating the level of the first remote control protocol code after the difference according to the level of the infrared interference signal can be to replace the level at the corresponding time on the first remote control protocol code with the level corresponding to the B time period to obtain the second remote control protocol code. By comparing the first remote control protocol code (pure remote control protocol code 1) and the second remote control protocol code (new remote control protocol code 2 after changing the level), it can be known that the high and low levels at T3 have not changed, while the high and low levels at T4 have been replaced from the original high and low levels with the high and low levels of the infrared interference signal. The high and low levels corresponding to T4 are the high and low levels of the remote control protocol code after the difference between the period of the infrared interference signal and the second interval.
[0084] Optionally, after obtaining the interference signal timing and the first remote control protocol code, embodiments of the present disclosure can perform an AND operation on the interference signal timing and the first remote control protocol code, that is, after receiving the infrared remote control signal, perform an AND operation on the high and low levels corresponding to the interference signal and the first remote control protocol code to obtain the second remote control protocol code. For example, Figure 3 the level corresponding to the interference signal timing corresponding to T3 in
[0085] is a high level, so the high and low levels of the corresponding remote control protocol code after the AND operation have not changed, while the level corresponding to the interference timing corresponding to T4 is a low level, so the high and low levels of the corresponding remote control protocol code after the AND operation have changed, that is, replaced with the level corresponding to the interference timing.
[0086] In some other embodiments, when the second interval time of the infrared signal received by the home appliance device is equal to the period of the infrared interference signal, it is determined that no infrared remote control signal is received within the period of the infrared interference signal, that is, the home appliance device is not interfered by the infrared signal.
[0087] Optionally, when the second interval time of the infrared signal received by the household electrical appliance is greater than the period of the infrared interference signal, it indicates that the infrared remote control signal starts to be received during the interference signal time period of the next cycle, or it indicates that the household electrical appliance is not interfered by the infrared signal.
[0088] In step S240, when the target infrared signal matches the second remote control protocol encoding, execute the instruction corresponding to the second remote control protocol encoding.
[0089] As an optional method, after obtaining the second remote control protocol encoding, the embodiment of the present disclosure can further compare the target infrared signal (the remote control infrared signal superimposed with the interference signal) received by the household electrical appliance with the remote control protocol encoding after the level change, that is, determine whether the target infrared signal matches the second remote control protocol encoding.
[0090] Specifically, if it is determined that the target infrared signal is exactly the same as the remote control protocol encoding after the level change, execute the remote control code function corresponding to the remote control protocol encoding before the level change. That is to say, the embodiment of the present disclosure can ensure that the received mixed infrared signal is consistent with the remote control protocol encoding after the level change by superimposing the detected interference signal level on the remote control protocol encoding, so that the function corresponding to the remote control infrared signal without the superimposed interference signal can be indirectly executed.
[0091] It should be noted that the execution subject in the embodiment of the present disclosure is a household electrical appliance, and it can also be other devices controlled by infrared, such as a television, etc.
[0092] As an optional method, the embodiment of the present disclosure can obtain the number of times of the infrared interference signal received by the household electrical appliance within a specified time period. On this basis, if it is determined that the number of times of the infrared interference signal is greater than the preset number of times, it is determined that the household electrical appliance is interfered by the infrared signal, and an infrared interference prompt message is output. The household electrical appliance can include a display device, and the embodiment of the present disclosure can display the infrared interference prompt message on the display device. That is to say, when it is determined that the household electrical appliance is interfered by the infrared signal, a fault message is displayed through the display screen of the household electrical appliance.
[0093] As an optional method, after the infrared interference information is displayed on the display device of the household electrical appliance, if the infrared interference source still exists after the preset time period, the embodiment 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 the position has not changed, then the embodiment 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.
[0094] 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 an infrared interference prompt message through the sound and light device of the home appliance while displaying the infrared interference prompt message on the display device to inform that the home appliance is interfered by the infrared signal. At the same time, the infrared interference prompt message can also be sent to the electronic device bound to the home appliance.
[0095] 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 message.
[0096] 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 message) to the server background and control a specified application (APP) to remind the user through a wireless network (home appliance WiFi). The user is informed through the prompt message to check and remove the interference source in time to avoid causing trouble to the user.
[0097] As another alternative, 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, and then determine the preset number according to the interval time and the time length of the infrared interference signal. The interval time of the infrared interference signal can be obtained by 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. Specifically, the difference between the second time and the first time is obtained and used as the interval time.
[0098] As another alternative, 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. On this basis, the ratio between the specified time period and the period is determined and used as the preset number.
[0099] As another alternative, after the home appliance receives the first infrared signal, if it is determined that the first infrared signal does not match the remote control protocol encoding, this first infrared signal can be used as the infrared interference signal and the infrared interference signal is recorded.
[0100] Optionally, after determining that the household electrical appliance device is interfered by an infrared signal, an embodiment of the present disclosure may obtain an identifier of a device that sends the infrared interference signal, and store the identifier and the infrared interference signal according to a preset relationship. On this basis, if the infrared signal corresponding to the identifier is received again, it may be directly determined that the infrared signal is an infrared interference signal, that is, it is determined that the household electrical appliance device is interfered by the infrared 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 an embodiment of the present disclosure determines that the target infrared signal does not match the remote control protocol code of the household electrical appliance device, it may obtain a valid infrared signal in the target infrared signal, and the valid infrared signal may be composed of 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 valid infrared signal meets a preset condition, the remote control instruction corresponding to the infrared remote control signal is executed.
[0102] Wherein, in the process of obtaining the valid infrared signal, the high and low levels in the target infrared signal that are consistent with the remote control protocol code may be obtained first, and the high and low levels that are consistent with the remote control protocol code are used as the valid infrared signal. On this basis, if it is determined that the target time corresponding to the valid infrared signal meets a preset condition, the remote control instruction corresponding to the infrared remote control signal is executed.
[0103] Optionally, an embodiment of the present disclosure may obtain the time length of the infrared remote control signal and the time length of the infrared interference signal. On this basis, a 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 valid infrared signal conforms to a preset relationship with the target time length, it is determined that the target time corresponding to the valid infrared signal meets a preset condition.
[0104] Here, conforming to the preset relationship may be that the target time is greater than or equal to the target time length, where the target time length may be the difference between the first time length and the second time length.
[0105] Optionally, conforming to 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 a preset deviation.
[0106] As another optional manner, if it is determined that the target time conforms to a preset relationship with the target time length, an embodiment 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 a preset threshold, it may be determined that the target time meets a preset condition.
[0107] In addition, when 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] When the infrared remote control signal is interfered, the embodiments of the present disclosure can ensure the normal execution of the control instruction by obtaining a new remote control protocol code. Specifically, a target infrared signal is received, where the target infrared signal is generated by the overlap of an infrared interference signal and an infrared remote control signal. If it is determined that the target infrared signal does not match the first remote control protocol code pre-stored in the household appliance device, the second remote control protocol code is obtained according to the time information of the infrared interference signal. When the target infrared signal matches the second remote control protocol code, the instruction corresponding to the second remote control protocol code is executed. In this way, the interference of the infrared interference signal on the normal execution of the control instruction of the household appliance device can be excluded, ensuring the user experience. In addition, the embodiments of the present disclosure do not need to increase costs. By changing the remote control protocol code, the interference of the infrared interference signal on the remote control infrared signal is actively excluded, 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 a receiving module 310, a determining module 320, and an executing module 330.
[0110] The receiving module 310 is configured to receive a target infrared signal, and the target infrared signal is generated by the overlap of an infrared interference signal and an infrared remote control signal;
[0111] The determining module 320 is configured to determine that the target infrared signal does not match the first remote control protocol code of the household appliance device, and obtain the second remote control protocol code according to the time information of the infrared interference signal;
[0112] The executing module 330 is configured to execute the instruction corresponding to the second remote control protocol code when the target infrared signal matches the second remote control protocol code.
[0113] In some embodiments, the determining module 320 may include:
[0114] A time information obtaining sub-module, configured to obtain the first interval time of the infrared interference signal and obtain the first time length of the infrared interference signal;
[0115] A protocol code determining sub-module, configured to determine the second remote control protocol code according to the first interval time and the first time length of the infrared interference signal.
[0116] In some embodiments, the protocol code determination sub-module may also be configured to obtain a second interval time of the infrared signal; determine the second remote control protocol code according to the second interval time of the infrared signal, the first interval time of the infrared interference signal, and the first time length.
[0117] In some embodiments, the protocol code determination sub-module may also be configured to obtain a first time and a second time, where the first time is the time when the home appliance device last received the infrared signal, and the second time is the time when the home appliance device next receives the infrared signal; obtain a difference between the second time and the first time, and use the difference as the second interval time.
[0118] In some embodiments, the control device 300 for preventing infrared interference may further include:
[0119] A period acquisition module, configured to obtain a period of the infrared interference signal according to the first interval time of the infrared interference signal and the first time length;
[0120] A remote control signal determination module, configured to determine that the infrared remote control signal is received within the period of the infrared interference signal when the second interval time of the infrared signal is less than the period of the infrared interference signal.
[0121] In some embodiments, the protocol code determination sub-module may also be configured to obtain a difference between the period of the infrared interference signal and the second interval time; update the level of the first remote control protocol code after the difference according to the level of the infrared interference signal to obtain the second remote control protocol code.
[0122] In some embodiments, the determination module 320 is further configured to determine that the infrared remote control signal is not received within the period of the infrared interference signal when the second interval time of the infrared signal is equal to the period of the infrared interference signal.
[0123] When the infrared remote control signal is interfered, the embodiments of the present disclosure can ensure the normal execution of control instructions by obtaining a new remote control protocol code. Specifically, a target infrared signal is received, where the target infrared signal is generated by the overlap of an infrared interference signal and an infrared remote control signal. If it is determined that the target infrared signal does not match the first remote control protocol code pre-stored in the home appliance device, a second remote control protocol code is obtained according to the time information of the infrared interference signal. When the target infrared signal matches the second remote control protocol code, the instruction corresponding to the second remote control protocol code is executed. In this way, the interference of the infrared interference signal on the normal execution of control instructions by the home appliance device can be excluded, and the user experience is guaranteed.
[0124] Regarding the device in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be elaborated here.
[0125] The present disclosure also provides 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 by the present disclosure are implemented.
[0126] Figure 5 FIG. 800 is a block diagram of a home appliance device for a control method for preventing infrared interference according to an exemplary embodiment. For example, the home 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.
[0127] Referring to Figure 5 , the home 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.
[0128] The processing component 802 generally controls the overall operation of the home appliance device 800, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. 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.
[0129] 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, etc. The memory 804 may 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.
[0130] The power supply component 806 provides power for 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.
[0131] 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 operations. 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.
[0132] 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.
[0133] 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 power-on button, and a lock button.
[0134] 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.
[0135] 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.
[0136] 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.
[0137] 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.
[0138] 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. Or, 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.
[0139] 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. The computer program has a code portion for executing the above control method for preventing infrared interference when executed by the programmable device.
[0140] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed by 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.
[0141] It should be understood that the present disclosure is not limited to the exact structures described above 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, including: Receiving a target infrared signal, where the target infrared signal is generated by overlapping an infrared interference signal and an infrared remote control signal; Determining that the target infrared signal does not match the first remote control protocol code of the household electrical appliance, and obtaining a second remote control protocol code according to the time information of the infrared interference signal; When the target infrared signal matches the second remote control protocol code, executing the instruction corresponding to the second remote control protocol code.
2. The method according to claim 1, characterized in that, The obtaining the second remote control protocol code according to the time information of the infrared interference signal includes: Obtaining a first interval time of the infrared interference signal and obtaining a first time length of the infrared interference signal; Determining the second remote control protocol code according to the first interval time and the first time length of the infrared interference signal.
3. The method according to claim 2, characterized in that, The determining the second remote control protocol code according to the first interval time and the first time length of the infrared interference signal includes: Obtaining a second interval time of the infrared signal; Determining the second remote control protocol code according to the second interval time of the infrared signal, the first interval time of the infrared interference signal and the first time length.
4. The method according to claim 3, characterized in that, The obtaining the second interval time of the infrared signal includes: Obtaining a first time and a second time, where the first time is the time when the household electrical appliance last received the infrared signal, and the second time is the time when the household electrical appliance next receives the infrared signal; Obtaining the difference between the second time and the first time, and using this difference as the second interval time.
5. The method according to claim 3, characterized in that, The method further includes: Obtaining the period of the infrared interference signal according to the first interval time and the first time length of the infrared interference signal; When the second interval time of the infrared signal is less than the period of the infrared interference signal, determining that the infrared remote control signal is received within the period of the infrared interference signal.
6. The method according to claim 5, characterized in that, The determining the second remote control protocol code according to the second interval time of the infrared signal, the first interval time of the infrared interference signal and the first time length includes: Obtaining the difference between the period of the infrared interference signal and the second interval time; Updating the level of the first remote control protocol code after the difference according to the level of the infrared interference signal to obtain the second remote control protocol code.
7. The method according to claim 5, characterized in that, The method further includes: When the second interval time of the infrared signal is equal to the period of the infrared interference signal, determining that the infrared remote control signal is not received within the period of the infrared interference signal.
8. A control device for preventing infrared interference, characterized in that, including: A receiving module, configured to receive a target infrared signal, where the target infrared signal is generated by overlapping an infrared interference signal and an infrared remote control signal; A determining module, configured to determine that the target infrared signal does not match the first remote control protocol code of the household appliance device, and obtain a second remote control protocol code according to the time information of the infrared interference signal; An execution module, configured to execute an instruction corresponding to the second remote control protocol code when the target infrared signal matches the second remote control protocol code.
9. A household appliance device, characterized in that, it includes: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to: receive a target infrared signal, where the target infrared signal is generated by overlapping an infrared interference signal and an infrared remote control signal; determine that the target infrared signal does not match the first remote control protocol code of the household appliance device, and obtain a second remote control protocol code according to the time information of the infrared interference signal; execute an instruction corresponding to the second remote control protocol code when the target infrared signal matches the second remote control protocol code.
10. A computer-readable storage medium, on which computer program instructions are stored, characterized in that, 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
Multi-resolution switched audio encoding / decoding scheme
CN102177426A
Anti-interference execution method, device and equipment for infrared signal instruction and storage medium
CN114973630A
Infrared remote control method and system based on smart watch and medium
CN117079445A
Systems, methods and devices for detecting infrared noise at a remote control
US20120087671A1
Multi-resolution switched audio encoding / decoding scheme
WO2010040522A2