Electric appliance and touch chip calibration method and device for touch key thereof and storage medium
By adjusting the calibration interval of the touch chip in the touch buttons and adapting to electromagnetic interference based on the packet loss rate of wireless communication, the problem of touch button malfunction in electrical appliances under electromagnetic interference was solved, thereby improving the operational reliability and user experience of the appliances.
Patent Information
- Application Number
- CN202211048792.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-29
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2042-08-29
AI Technical Summary
Electrical appliance touch buttons are prone to malfunction when there is severe electromagnetic interference in the space, resulting in inaccurate button detection or system crashes, leading to a poor user experience.
By obtaining the wireless communication packet loss rate of the space where the appliance is located, the calibration interval of the touch chip of the touch button is adjusted to adapt to different interference levels and ensure that the touch chip works normally under electromagnetic interference.
In situations with severe electromagnetic interference, this reduces user waiting time, improves the reliability and stability of electrical button operation, and enhances the user experience.
Smart Images

Figure CN115480148B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the control field, and particularly to an electric appliance, a touch chip calibration method and device of a touch key of the electric appliance, and a storage medium. BACKGROUND
[0002] Currently, some electric appliances (for example, air conditioner cabinet) have touch keys, and users can remotely control through the touch keys. Most of the related technologies are to determine whether the key is pressed by checking the capacitance change, that is, there is a capacitance between any two conductive objects, and the capacitance is related to the conductivity of the medium, the size and conductivity of the electrode plate, and whether there is a conductive material around the electrode plate. The two exposed copper areas between the PCBs are the two electrode plates of the capacitor, which is equivalent to a capacitor. When the human finger approaches the PCB, the conductivity of the human body will change the size of the capacitance. The touch key chip will output a signal after detecting a large increase in the capacitance value. On the touch key PCB, there are capacitance electrode plates, ground, wires, isolation zones, and other capacitance environments of the touch key. Since electromagnetic waves in space are serious, they will affect the capacitance value, so when the air conditioner receives interference from the surrounding space environment, it is easy to cause interference on the capacitance electrode plate and ground on the touch key PCB, resulting in a small change in the detected capacitance amplitude, and the touch key cannot be detected. More seriously, it can cause the touch chip to crash. SUMMARY
[0003] The main purpose of the present application is to overcome the defects of the above-mentioned related technologies, and to provide an electric appliance, a touch chip calibration method and device of a touch key of the electric appliance, and a storage medium, to solve the problem of touch key failure caused by abnormal capacitance value when the space electromagnetic wave interference is serious in the related technology.
[0004] In one aspect, the present application provides a touch chip calibration method for a touch key of an electric appliance, comprising: obtaining a packet loss rate of wireless communication at a current time in a space where the electric appliance is located; adjusting a touch chip calibration interval time of the touch key of the electric appliance according to the obtained packet loss rate of wireless communication at the current time in the space, so as to calibrate the touch chip according to the adjusted touch chip calibration interval time.
[0005] Optionally, adjusting the touch chip calibration interval time of the touch key of the electric appliance according to the obtained packet loss rate of wireless communication at the current time in the space comprises: obtaining a correspondence between two or more preset packet loss rate ranges and set touch chip calibration interval times; determining a packet loss rate range to which the obtained packet loss rate of wireless communication at the current time in the space belongs among the two or more packet loss rate ranges; and adjusting the touch chip calibration interval time of the touch key of the electric appliance according to the set touch chip calibration interval time corresponding to the determined packet loss rate range.
[0006] Optionally, further comprising: if a current touch chip calibration interval time has been reached since the last calibration of the touch chip was performed when the touch key is operated, the calibration of the touch chip is not allowed to be performed.
[0007] Optionally, further comprising: obtaining a historical packet loss rate of wireless communication in the space where the electrical appliance is located; predicting a predicted packet loss rate of wireless communication at different time of day in the space according to the obtained historical packet loss rate; and adjusting the touch chip calibration interval time of the touch key of the electrical appliance before the corresponding time arrives according to the predicted packet loss rate of wireless communication at different time of day in the space.
[0008] Optionally, further comprising: after the touch chip calibration interval time of the touch key of the electrical appliance is adjusted before the corresponding time arrives, judging whether the packet loss rate of wireless communication at the current time in the space is consistent with the predicted packet loss rate of wireless communication at the current time in the space; if it is judged that the packet loss rate of wireless communication at the current time in the space is consistent with the predicted packet loss rate of wireless communication at the current time in the space, the calibration of the touch chip is continued to be performed according to the adjusted touch chip calibration interval time; and if it is judged that the packet loss rate of wireless communication at the current time in the space is not consistent with the predicted packet loss rate of wireless communication at the current time in the space, the touch chip calibration interval time of the touch key of the electrical appliance is re-adjusted according to the packet loss rate of wireless communication at the current time in the space.
[0009] Optionally, further comprising: after the touch chip calibration interval time of the touch key of the electrical appliance is adjusted before the corresponding time arrives, judging whether packet loss still occurs in the space where the electrical appliance is located when the corresponding time arrives; and if packet loss still occurs, shortening the touch chip calibration interval time of the touch key of the electrical appliance by a preset time.
[0010] Optionally, further comprising: when the obtained packet loss rate of wireless communication at the current time in the space where the electrical appliance is located exceeds a preset threshold, issuing corresponding reminder information.
[0011] Another aspect of the present application provides an obtaining unit configured to obtain a packet loss rate of wireless communication at a current time in a space where an electrical appliance is located; and an adjusting unit configured to adjust a touch chip calibration interval time of a touch key of the electrical appliance according to the packet loss rate of wireless communication at the current time in the space obtained by the obtaining unit, so that the calibration of the touch chip is performed according to the adjusted touch chip calibration interval time.
[0012] Optionally, the adjusting unit adjusts the touch chip calibration interval time of the touch button of the electrical appliance according to the packet loss rate of the wireless communication at the current time in the space obtained by the obtaining unit, and the adjusting comprises: obtaining a preset correspondence between two or more packet loss rate ranges and set touch chip calibration interval times; determining a packet loss rate range to which the obtained packet loss rate of the wireless communication at the current time in the space belongs among the two or more packet loss rate ranges; and adjusting the touch chip calibration interval time of the touch button of the electrical appliance according to the set touch chip calibration interval time corresponding to the determined packet loss rate range.
[0013] Optionally, the method further comprises: controlling the touch chip calibration of the touch button of the electrical appliance is not allowed to be performed if the current touch chip calibration interval time has been reached since the last calibration of the touch chip.
[0014] Optionally, the method further comprises: a predicting unit; the obtaining unit further obtains a historical packet loss rate of the wireless communication in the space where the electrical appliance is located; the predicting unit predicts a predicted packet loss rate of the wireless communication at different times of each day in the space according to the historical packet loss rate obtained by the obtaining unit; and the adjusting unit further adjusts the touch chip calibration interval time of the touch button of the electrical appliance before the corresponding time according to the predicted packet loss rate of the wireless communication at different times of each day in the space predicted by the predicting unit.
[0015] Optionally, the method further comprises: a judging unit judges whether the packet loss rate of the wireless communication at the current time in the space is consistent with the predicted packet loss rate of the wireless communication at the current time in the space predicted by the predicting unit after the adjusting unit adjusts the touch chip calibration interval time of the touch button of the electrical appliance before the corresponding time; and the adjusting unit further adjusts the touch chip calibration interval time of the touch button of the electrical appliance according to the packet loss rate of the wireless communication at the current time in the space if the judging unit judges that the packet loss rate of the wireless communication at the current time in the space is not consistent with the predicted packet loss rate of the wireless communication at the current time in the space.
[0016] Optionally, the method further comprises: a judging unit judges whether the electrical appliance still has packet loss at the corresponding time after the adjusting unit adjusts the touch chip calibration interval time of the touch button of the electrical appliance before the corresponding time; and the adjusting unit further shortens the touch chip calibration interval time of the touch button of the electrical appliance by a preset time if the judging unit judges that the electrical appliance still has packet loss.
[0017] Optionally, the method further comprises: a reminding unit, configured to send a corresponding reminding information when the packet loss rate of the wireless communication at the current time in the space where the electrical appliance is located exceeds a preset threshold.
[0018] In another aspect, the present application provides a storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of any of the above methods.
[0019] In another aspect, the present application provides an electrical appliance comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above methods when executing the program.
[0020] In another aspect, the present application provides an electrical appliance comprising the touch chip calibration device of any of the above.
[0021] According to the technical solution of the present application, the packet loss in the communication process is analyzed according to the characteristics that the wireless communication is susceptible to the space electromagnetic wave, and the calibration interval time of the calibrated touch key (such as sensitivity, register, etc.) is adjusted according to the detected packet loss, i.e. the space electromagnetic interference, so as to ensure that the electrical appliance can be normally used under serious electromagnetic wave without increasing any cost. The probability of the problem is determined according to the electromagnetic interference, and the reconfiguration time is adjusted, which can greatly avoid the user waiting time. BRIEF DESCRIPTION OF DRAWINGS
[0022] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and serve to explain the principles of the application. In the drawings:
[0023] Figure 1 is a method schematic diagram of an embodiment of the touch chip calibration method of the touch key of the electrical appliance provided by the present application;
[0024] Figure 2 shows the touch chip calibration flow according to a specific embodiment of the present application;
[0025] Figure 3 shows a schematic diagram of adjusting the touch chip calibration interval time in advance according to the historical packet loss rate to predict the packet loss rate;
[0026] Figure 4 is a structural block diagram of an embodiment of the touch chip calibration device of the touch key of the electrical appliance provided by the present application. DETAILED DESCRIPTION
[0027] In order to make the objects, technical solutions and advantages of the present application clearer, the following will clearly and completely describe the technical solutions of the present application with specific embodiments of the present application and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work belong to the protection scope of the present application.
[0028] It should be noted that the terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product or device.
[0029] With the rise of smart phones, tablets and other devices, the control end of the electrical appliance is also more and more diversified. From the original mechanical key to the current hidden touch key; from the original infrared remote control to the current mobile phone WIFI, Bluetooth BLE and other wireless control methods. The hidden touch key is to detect the capacitance value at the corresponding position to determine whether the key is pressed. A reference capacitance value is usually calibrated, and then a capacitance value with a key pressed is calibrated, and the capacitance difference between the two is the threshold of touch change. Only when the capacitance change of the key is greater than the threshold, it is considered that the key is pressed. Once the electromagnetic interference in the space causes the touch reference value to rise, the capacitance difference between the two cannot reach the calibrated touch change threshold, so the key press signal cannot be triggered, and key jamming and other situations occur. Even worse, frequent interference can cause the chip to run away, crash and other serious situations that cannot be recovered autonomously. In view of the above situation, the method in the related art is to reinitialize the touch chip every fixed time (for example, 5 minutes) and then recalibrate the capacitance value, so as to avoid the problem of being unable to recover after the problem occurs. However, using this method, after the problem occurs, it still needs to wait for a period of time before continuing to control, which causes poor user experience.
[0030] When the electric appliance with touch button starts running after power on, the touch chip parameters are configured according to the required button sensitivity and button channel of the electric appliance, so that the touch chip can achieve the required performance of the electric appliance. When the electric appliance is running, the touch chip may be dead or the program may run away if it is disturbed by the outside world. Once this situation occurs, the sensitivity, threshold and other parameters of the touch will be abnormal, and the button will not respond or respond randomly. Therefore, the touch chip needs to be reconfigured to normally use the touch button. However, the touch chip cannot be reconfigured all the time, because when reconfiguring, the user presses the touch button, and the two will conflict and cause the user button action to be unable to respond. Therefore, it can only be configured every interval. The interval time of the configuration operation will affect the user's experience. Assuming that the interval time is 5 minutes, once the button has a problem, the user needs to wait for 5 minutes at most to normally use the button function, which is a very bad experience for the user.
[0031] The present application provides a touch chip calibration method of touch button of electric appliance.
[0032] Figure 1 The present application provides a touch chip calibration method of touch button of electric appliance.
[0033] As shown in Figure 1 According to one embodiment of the present application, the touch chip calibration method at least includes steps S110 and S120.
[0034] Step S110, obtaining the packet loss rate of wireless communication at the current time in the space where the electric appliance is located.
[0035] When the wireless communication device transmits information, it generally needs to convert between different information forms, transmit electromagnetic wave signals in space, and receive electromagnetic signals in space. After receiving the electromagnetic signals, the receiving party can parse the required electromagnetic signals according to the established rules, and then parse the corresponding communication information. However, when other stronger electromagnetic signals appear in space, other electromagnetic waves will be disturbed. Other electromagnetic interference signals mainly enter the electromagnetic energy of the device channel or system through direct or indirect coupling, which can affect the reception of the received signals required by the wireless communication, cause performance degradation, quality deterioration, information error or packet loss, etc.
[0036] The application utilizes the characteristic that serious electromagnetic interference in space will cause packet loss in radio communication, and evaluates the electromagnetic interference characteristic in space by collecting the packet loss rate of wireless communication (such as WIFI or Bluetooth BLE) in the space. The packet loss rate refers to that when two terminal devices communicate (such as when a mobile phone communicates with an air conditioner), one packet (data packet) is sent and one packet (data packet) is returned to be regarded as a normal communication. When the electromagnetic interference in space is serious, it will cause abnormal communication, such as not receiving the sent packet or not receiving the returned packet. For example, when the mobile phone remotely controls the air conditioner through WIFI or Bluetooth BLE, if the mobile phone cannot receive the reply packet of the air conditioner, it is considered as packet loss.
[0037] In one specific embodiment, the current time feedback of the control terminal of the electric appliance and the packet loss rate of wireless communication of the electric appliance are received, wherein the control terminal counts the packet loss rate of wireless communication with the electric appliance when sending a control instruction to the electric appliance.
[0038] For example, the control terminal (such as any one of a mobile phone and a tablet computer) sends a control instruction to the electric appliance, and the electric appliance replies the received instruction, and one sending and one receiving is a closed-loop sending and receiving process. In the case of one sending and one receiving, the control terminal considers packet loss when it cannot receive the returned instruction of the electric appliance, and the counted packet loss data can be fed back to the electric appliance when the communication is successful.
[0039] In another specific embodiment, when the electric appliance receives the control instruction sent by the control terminal, the first packet loss rate of wireless communication between the electric appliance and the control terminal is counted, and the second packet loss rate of wireless communication between the electric appliance and the control terminal fed back by the control terminal of the electric appliance is received, and the first packet loss rate and the second packet loss rate are combined to determine the packet loss rate of wireless communication at the current time.
[0040] Specifically, the control terminal continuously sends one control instruction to the electric appliance twice to improve the communication success rate. In this mechanism of continuously sending the control instruction twice, the judgment of the electric appliance on the packet loss data can also be increased, that is, the electric appliance continuously receives two control instructions, and considers that there is no packet loss, and only one control instruction is received, and considers that packet loss occurs. Therefore, the data condition of packet loss and the data condition counted by the control terminal (the counting method is similar to the foregoing embodiment) can be combined to analyze the actual packet loss data and obtain the actual packet loss rate.
[0041] In step S120, according to the acquired packet loss rate of wireless communication in the space at the current time, the touch chip calibration interval time of the touch key of the electric appliance is adjusted, and the calibration of the touch chip is performed according to the adjusted touch chip calibration interval time.
[0042] Touch chip calibration is to configure touch chip parameters according to the required key sensitivity and key channel of the electrical appliance, so that the touch chip can achieve the required performance of the electrical appliance and work normally. When the electrical appliance (for example, an air conditioner) starts to run after being powered on, the touch chip parameters of the touch key are configured according to the required key sensitivity and key channel of the electrical appliance, so that the touch chip can achieve the required performance of the electrical appliance. The current packet loss rate T in the current environment is collected and counted. When the current packet loss rate T suddenly becomes large, it is considered that the current environment has relatively large electromagnetic interference, and the time for recalibrating the capacitance after reinitializing the touch chip is shortened.
[0043] Specifically, different packet loss rates correspond to different touch chip calibration interval times. In one specific embodiment, a correspondence between two or more preset packet loss rate ranges and set touch chip calibration interval times is obtained; it is determined that the current wireless communication packet loss rate in the space where the obtaining is performed belongs to a packet loss rate range in the two or more packet loss rate ranges; and the touch chip calibration interval time of the touch key of the electrical appliance is adjusted according to the set touch chip calibration interval time corresponding to the determined packet loss rate range. That is, different communication packet loss rate T ranges corresponding to the calibration interval time can be set in advance, and when the obtained communication packet loss rate of wireless communication in the space is in different communication packet loss rate ranges, the touch chip calibration interval time is adjusted to the corresponding calibration interval time.
[0044] For example, in a normal interference-free environment, the packet loss situation should be low, and even no packet loss. When the packet loss rate T is less than or equal to 3%, it is considered that there is little interference in the space, and there is no interference source, and there is no key unresponsiveness or lag caused by space interference. Therefore, it is not necessary to adjust the touch key sensitivity and reconfigure the calibration interval time at this time. For example, according to the initialization parameters, calibration is performed every 5 minutes.
[0045] When the packet loss rate T is between 3% and 10%, it is considered that there are interference sources in the space, and the touch key may not be sensitive. Therefore, the touch chip calibration interval time needs to be shortened, for example, the touch chip calibration interval time is initially set to 5 minutes, and then the calibration is performed every 3 minutes.
[0046] When the packet loss rate T is between 10% and 20%, it is considered that the interference in the space is obvious, and the air conditioner key may be stuck. At this time, calibration needs to be performed more frequently, for example, the calibration interval time for recalibrating the touch chip is changed to 1 minute, to ensure that the key operation can be performed normally.
[0047] When the packet loss rate T is greater than 20%, it indicates that the radio communication has been seriously interfered, and the touch button may be in a crash condition which cannot be automatically recovered, so the calibration interval time of the touch chip needs to be shortened to 30s to ensure that the button operation can be normally performed.
[0048] Figure 2 The touch chip calibration flow according to an embodiment of the application is shown.
[0049] As shown in Figure 2 When the control terminal communicates with the electrical appliance, the communication condition is detected to determine whether the communication is successful. If the communication is not successful, the packet loss rate T is calculated. For example, when the packet loss rate T is less than 3% (T≤3%), it is considered that there is no interference, and the parameters under no interference are executed. When the packet loss rate T is between 3% and 10% (3%≤T≤10%), it is determined that there is a source of interference in the space, and the touch button may be not sensitive, and the parameters under slight interference are executed. When the packet loss rate T is between 10% and 20% (10%≤T≤20%), it is determined that there is obvious interference in the space, and the air conditioner button may be in a button jamming condition, and the parameters under moderate interference are executed. When the packet loss rate T is greater than 20% (T≥20%), it is determined that the radio communication has been seriously interfered, and it indicates that the interference in the space is very serious, and the touch button may be in a crash condition which cannot be automatically recovered, and the parameters under severe interference are executed.
[0050] Optionally, the touch chip calibration method further comprises: when the touch button is operated, if the current touch chip calibration interval time has been reached since the last calibration of the touch chip is performed, the calibration of the touch chip is not allowed to be performed. That is, when the touch button is operated, if the touch chip calibration interval time has been reached since the last calibration, the calibration of the touch chip is not performed, and the operation of the touch button is responded.
[0051] Specifically, when the user is operating the touch button, the interval time for recalibration may be reached, and the timing of the two may collide, which may cause the touch to be jammed. In order to avoid the touch to be jammed, when the touch button is operated, the calibration of the touch chip is not allowed to be performed. That is, the interval time is always counted in a cycle, and after the set calibration interval time is reached each time, the recalibration is performed. When the calibration interval time is reached, and it is found that the touch button is being pressed, the button action is responded preferentially, the interval time is re-counted, and the calibration action is abandoned, and the user's continuous pressing can be avoided from continuously colliding with the calibration action.
[0052] Optionally, the touch chip calibration method further comprises: obtaining a historical packet loss rate of wireless communication in the space where the electrical appliance is located; predicting a predicted packet loss rate of wireless communication at different time of day in the space according to the obtained historical packet loss rate; and adjusting the touch chip calibration interval time of the touch button of the electrical appliance before the corresponding time arrives according to the predicted packet loss rate of wireless communication at different time of day in the space. The predicted packet loss rate can be a predicted packet loss rate range.
[0053] Specifically, the historical packet loss rate is queried, and whether the packet loss rate at the same time of day is similar is analyzed, so that the space electromagnetic interference at the same time of day can be predicted, and the button configuration can be changed in advance, so that the air conditioner can increase the anti-interference ability in advance, thereby avoiding user complaints caused by problems. For example, when it is found that the packet loss rate at 12:00 increases every day, it can be predicted that there will be space electromagnetic wave interference at 12:00 every day. Therefore, the air conditioner can change the button anti-interference parameter in advance before approaching 12:00 every day, so that the user can use it normally when the interference comes, and the air conditioner is more intelligent.
[0054] Optionally, based on the above embodiment, the touch chip calibration method further comprises: after adjusting the touch chip calibration interval time of the touch button of the electrical appliance before the corresponding time arrives, judging whether the packet loss rate of wireless communication at the current time in the space is consistent with the predicted packet loss rate of wireless communication at the current time in the space; if the packet loss rate of wireless communication at the current time in the space is consistent with the predicted packet loss rate of wireless communication at the current time in the space, the touch chip calibration is continued according to the adjusted touch chip calibration interval time; and if the packet loss rate of wireless communication at the current time in the space is not consistent with the predicted packet loss rate of wireless communication at the current time in the space, the touch chip calibration interval time of the touch button of the electrical appliance is adjusted again according to the packet loss rate of wireless communication at the current time in the space.
[0055] Optionally, based on the above embodiment, the touch chip calibration method further comprises: after adjusting the touch chip calibration interval time of the touch button of the electrical appliance before the corresponding time arrives, judging whether the packet loss rate of wireless communication at the current time in the space is consistent with the predicted packet loss rate of wireless communication at the current time in the space; if the packet loss rate of wireless communication at the current time in the space is consistent with the predicted packet loss rate of wireless communication at the current time in the space, the touch chip calibration is continued according to the adjusted touch chip calibration interval time; and if the packet loss rate of wireless communication at the current time in the space is not consistent with the predicted packet loss rate of wireless communication at the current time in the space, the touch chip calibration interval time of the touch button of the electrical appliance is adjusted again according to the packet loss rate of wireless communication at the current time in the space.
[0056] Figure 3The schematic diagram of adjusting the touch chip calibration interval time in advance according to the historical packet loss rate is shown.
[0057] As shown in the figure, the next time the historical packet loss rate change trend is queried, the touch chip calibration interval time is adjusted in advance according to the historical packet loss rate change trend, the current packet loss rate is queried, and it is judged whether the current space electromagnetic interference is consistent with the historical record. Figure 3 If consistent, the original preset state is executed, and if inconsistent, the touch chip calibration interval time of the touch button is adjusted again according to the current wireless communication packet loss rate in the space.
[0058] Optionally, the method further comprises: when the wireless communication packet loss rate in the space where the electrical appliance is located at the current time exceeds a preset threshold, issuing corresponding reminder information.
[0059] Specifically, when the wireless communication packet loss rate in the space at the current time exceeds the preset threshold, the reminder information can be issued, for example, by issuing a warning information or a prompt information, so that the user can more intuitively understand the current space electromagnetic interference, facilitate the user to analyze and eliminate the current interference source, and help the user's health.
[0060] The application also provides a touch chip calibration device for a touch button of an electrical appliance.
[0061] Figure 4 is a structural block diagram of an embodiment of the touch chip calibration device for a touch button of an electrical appliance provided by the application. Figure 4 As shown in the figure, the touch chip calibration device 100 comprises an acquisition unit 110 and an adjustment unit 120.
[0062] The acquisition unit 110 is used for acquiring the wireless communication packet loss rate in the space where the electrical appliance is located at the current time.
[0063] The wireless communication equipment generally converts between different information forms when transmitting information, transmits electromagnetic wave signals in space, and receives electromagnetic signals in space. After receiving the electromagnetic signals in space, the receiving party can parse the required electromagnetic wave signals according to the predetermined rules, and then parse the corresponding communication information. When other stronger electromagnetic signals appear in space, other electromagnetic waves will be disturbed. Other electromagnetic interference signals mainly enter the electromagnetic energy of the equipment channel or system through direct coupling or indirect coupling, which can affect the reception of the required received signals of the wireless communication, cause performance degradation, quality deterioration, information error or packet loss, etc.
[0064] The application utilizes the characteristic that when electromagnetic interference in space is serious, it will cause radio communication to appear packet loss. The packet loss rate of wireless communication (such as WIFI or Bluetooth BLE) in the space is collected for evaluation. The packet loss rate refers to that when two terminal devices communicate (for example, when a mobile phone communicates with an air conditioner), one packet (data packet) is sent and one packet (data packet) is returned to be considered as a normal communication. When electromagnetic interference in space is serious, it will cause abnormal communication, such as not receiving the sent packet or not receiving the returned packet. For example, when a mobile phone remotely controls an air conditioner through WIFI or Bluetooth BLE, if the mobile phone does not receive the reply packet of the air conditioner, it is considered as packet loss.
[0065] In one specific embodiment, the acquisition unit 110 receives the current time feedback of the control terminal of the electric appliance and the packet loss rate of wireless communication of the electric appliance, wherein the control terminal counts the packet loss rate of wireless communication with the electric appliance when sending a control instruction to the electric appliance.
[0066] For example, the control terminal (such as any one of a mobile phone and a tablet computer) sends a control instruction to the electric appliance, and the electric appliance replies to the received instruction, and one sending and one receiving is a closed-loop sending and receiving process. In the case of one sending and one receiving, the control terminal considers packet loss when it does not receive the returned instruction of the electric appliance, and the counted packet loss data can be fed back to the electric appliance when the communication is successful.
[0067] In another specific embodiment, the acquisition unit 110 counts a first packet loss rate of wireless communication between the electric appliance and the control terminal when the electric appliance receives the control instruction sent by the control terminal, receives a second packet loss rate of wireless communication between the electric appliance and the control terminal fed back by the control terminal of the electric appliance, and determines the packet loss rate of wireless communication at the current time by combining the first packet loss rate and the second packet loss rate.
[0068] Specifically, the control terminal continuously sends one control instruction to the electric appliance twice to improve the communication success rate. In this mechanism of continuously sending the control instruction twice, the judgment of the electric appliance on the packet loss data can also be increased, that is, the electric appliance continuously receives two control instructions, and considers that there is no packet loss, and only one control instruction is received, and considers that packet loss occurs. Therefore, the data condition of packet loss and the data condition counted by the control terminal (the counting method is similar to the foregoing embodiment) can be combined to analyze the actual packet loss data and obtain the actual packet loss rate.
[0069] The adjustment unit 120 is configured to adjust the touch chip calibration interval time of the touch key of the electric appliance according to the packet loss rate of wireless communication in the space at the current time acquired by the acquisition unit, and calibrate the touch chip of the touch key according to the adjusted touch chip calibration interval time.
[0070] Touch chip calibration is to configure touch chip parameters according to the required key sensitivity and key channel of the electrical appliance, so that the touch chip can achieve the required performance of the electrical appliance and work normally. When the electrical appliance (for example, an air conditioner) starts to run after being powered on, the touch chip parameters of the touch key are configured according to the required key sensitivity and key channel of the electrical appliance, so that the touch chip can achieve the required performance of the electrical appliance. The current packet loss rate T in the current environment is collected and counted. When the current packet loss rate T suddenly becomes large, it is considered that the current environment has relatively large electromagnetic interference, and the time for re-calibrating the capacitance after re-initializing the touch chip is shortened.
[0071] Specifically, different packet loss rates correspond to different touch chip calibration interval times. In a specific embodiment, the adjusting unit 120 adjusts the touch chip calibration interval time of the touch key of the electrical appliance according to the packet loss rate of wireless communication in the space at the current time detected by the obtaining unit, and can specifically include: obtaining a preset correspondence between two or more packet loss rate ranges and set touch chip calibration interval times; determining the packet loss rate range to which the obtained packet loss rate of wireless communication in the space at the current time belongs among the two or more packet loss rate ranges; and adjusting the touch chip calibration interval time of the touch key of the electrical appliance according to the set touch chip calibration interval time corresponding to the determined packet loss rate range. That is, different communication packet loss rate T ranges corresponding to the calibration interval time can be preset, and when the obtained communication packet loss rate of wireless communication in the space is in different communication packet loss rate ranges, the touch chip calibration interval time is adjusted to the corresponding calibration interval time.
[0072] For example, in a normal interference-free environment, the packet loss situation should be very low, or even no packet loss. When the packet loss rate T is less than or equal to 3%, it is considered that the interference in the space is small, and there is no interference source, so there is no key unresponsiveness or lag caused by space interference. Therefore, it is not necessary to adjust the touch key sensitivity and reconfigure the calibration interval time at this time. For example, according to the initialization parameters, calibration is performed every 5 minutes.
[0073] When the packet loss rate T is between 3% and 10%, it is considered that interference sources begin to appear in the space, and the touch key may not be sensitive. Therefore, the touch chip calibration interval time needs to be shortened, for example, the touch chip calibration interval time is initially set to 5 minutes, and then shortened to 3 minutes.
[0074] When the packet loss rate T is between 10% and 20%, it is considered that the interference in the space is obvious, and the air conditioner key may be stuck. At this time, calibration needs to be performed more frequently, for example, the calibration interval time for recalibrating the touch chip is changed to 1 minute, to ensure that the key operation can be performed normally.
[0075] When the packet loss rate T is greater than 20%, it indicates that the radio communication has been seriously interfered, and the touch button may be in a crash condition which cannot be automatically recovered, so the calibration interval time of the touch chip needs to be shortened to 30s to ensure the normal operation of the button.
[0076] Figure 2 The touch chip calibration process according to an embodiment of the application is shown.
[0077] As shown in Figure 2 When the control terminal communicates with the electrical appliance, the communication condition is detected to determine whether the communication is successful. If the communication is not successful, the packet loss rate T is calculated. For example, when the packet loss rate T is less than 3% (T≤3%), it is considered that there is no interference, and the parameters under no interference are executed. When the packet loss rate T is between 3% and 10% (3%≤T≤10%), it is determined that there is a source of interference in the space, and the touch button may be not sensitive, and the parameters under slight interference are executed. When the packet loss rate T is between 10% and 20% (10%≤T≤20%), it is determined that there is obvious interference in the space, and the air conditioner button may be stuck, and the parameters under moderate interference are executed. When the packet loss rate T is greater than 20% (T≥20%), it is determined that the radio communication has been seriously interfered, and the touch button may be in a crash condition which cannot be automatically recovered, and the parameters under severe interference are executed.
[0078] Optionally, the touch chip calibration device 100 further comprises a control unit (not shown in the figure).
[0079] The control unit is configured to, when the touch button is operated, if the current touch chip calibration interval time has been reached since the last calibration of the touch chip, the calibration of the touch chip is not allowed. That is, when the touch button is operated, if the touch chip calibration interval time has been reached since the last calibration (i.e., the time of the current calibration of the touch chip), the current calibration of the touch chip is not performed, and the operation of the touch button is responded.
[0080] Specifically, when the user is operating the touch button, the interval time for recalibration may be reached, and the timing of the two may collide, which may cause the touch to be stuck. In order to avoid the touch to be stuck, when the touch button is operated, the calibration of the touch chip is not allowed. That is, the interval time is always counted, and after the set calibration interval time is reached, the recalibration is performed. When the calibration interval time is reached, and it is found that the touch button is being pressed, the button action is responded preferentially, the interval time is counted again, and the current calibration action is abandoned, and the user's continuous pressing can be avoided from continuously colliding with the calibration action.
[0081] Optionally, the touch chip calibration device 100 further comprises a prediction unit (not shown).
[0082] The acquisition unit is further configured to acquire a historical packet loss rate of wireless communication in the space where the electrical appliance is located. The prediction unit is configured to predict a predicted packet loss rate of wireless communication at different time points each day in the space according to the historical packet loss rate acquired by the acquisition unit. The adjustment unit is further configured to adjust the touch chip calibration interval time of the touch button of the electrical appliance before the corresponding time point arrives according to the predicted packet loss rate of wireless communication at different time points each day in the space predicted by the prediction unit. The predicted packet loss rate can be a predicted packet loss rate range.
[0083] Specifically, the historical packet loss rate is queried, and whether the packet loss rate at the same time point each day is similar is analyzed, so that the space electromagnetic interference at the same time point each day can be predicted, and the button configuration can be changed in advance, so that the air conditioner can increase the anti-interference ability in advance, thereby avoiding user complaints caused by problems.
[0084] For example, when it is found that the packet loss rate at 12:00 each day increases, it can be predicted that there will be space electromagnetic wave interference at 12:00 each day in the space. Therefore, the air conditioner can change the button anti-interference parameter in advance before approaching 12:00 each day, so as to ensure that the user can use the air conditioner normally when the interference comes, and the air conditioner is more intelligent.
[0085] Optionally, based on the above embodiment, the touch chip calibration device further comprises a judgment unit (not shown).
[0086] The judgment unit is configured to judge whether the packet loss rate of wireless communication at the current time point in the space is consistent with the predicted packet loss rate of wireless communication at the current time point in the space predicted by the prediction unit after the adjustment unit adjusts the touch chip calibration interval time of the touch button of the electrical appliance before the corresponding time point arrives. The adjustment unit is further configured to: if the judgment unit judges that the packet loss rate of wireless communication at the current time point in the space is consistent with the predicted packet loss rate of wireless communication at the current time point in the space, continue to calibrate the touch chip according to the adjusted touch chip calibration interval time; and if the judgment unit judges that the packet loss rate of wireless communication at the current time point in the space is not consistent with the predicted packet loss rate of wireless communication at the current time point in the space, adjust the touch chip calibration interval time of the touch button of the electrical appliance again according to the packet loss rate of wireless communication at the current time point in the space.
[0087] Alternatively, the judging unit is configured to, after the adjusting unit adjusts the touch chip calibration interval time of the touch button of the electrical appliance before the corresponding time arrives, judge whether the packet loss still occurs in the space where the electrical appliance is located when the corresponding time arrives; and the adjusting unit is further configured to, if the judging unit judges that the packet loss still occurs, shorten the touch chip calibration interval time of the touch button of the electrical appliance by a preset time, i.e., adjust the touch chip calibration interval time of the touch button of the electrical appliance to a touch chip calibration interval time that is shorter than the set touch chip calibration interval time corresponding to the predicted packet loss rate at the corresponding time by the preset time.
[0088] Figure 3 A schematic diagram of adjusting the touch chip calibration interval time in advance according to the historical packet loss rate is shown.
[0089] As shown in Figure 3 , the historical packet loss rate change trend at the next time is queried, the touch chip calibration interval time is adjusted in advance according to the historical packet loss rate change trend, the current packet loss rate is queried, it is judged whether the current space electromagnetic interference situation is consistent with the historical record, if consistent, the original preset state is executed, if inconsistent, the touch chip calibration interval time of the touch button is adjusted again according to the current wireless communication packet loss rate in the space.
[0090] Optionally, the touch chip calibration device 100 further comprises a reminding unit (not shown), configured to issue corresponding reminding information when the obtaining unit obtains that the wireless communication packet loss rate in the space where the electrical appliance is located at the current time exceeds a preset threshold.
[0091] Specifically, when the obtaining unit 110 obtains that the wireless communication packet loss rate in the space at the current time exceeds a preset threshold, the reminding unit can issue reminding information, for example, by issuing early warning information or prompt information, so that the user can more intuitively understand the current space interference situation, facilitate the user to analyze and eliminate the current interference source, and help the user's health.
[0092] The application further provides a storage medium corresponding to the touch chip calibration method, which stores a computer program, and the program is executed by a processor to realize the steps of any of the foregoing methods.
[0093] The application further provides an electrical appliance corresponding to the touch chip calibration method, which comprises a processor, a memory, and a computer program stored on the memory and executable on the processor, and the processor executes the program to realize the steps of any of the foregoing methods.
[0094] The application further provides an electrical appliance corresponding to the touch chip calibration device, which comprises the touch chip calibration device of any of the foregoing.
[0095] According to the characteristics of the radio communication space electromagnetic wave, the application analyzes the packet loss in the communication process, adjusts the calibration interval time of the calibration touch button (such as sensitivity, register, etc.) according to the detected packet loss, ensures that the electrical appliance can be normally used in the case of serious electromagnetic wave without increasing any cost, and adjusts the reconfiguration time according to the electromagnetic interference condition to greatly avoid the user button waiting time.
[0096] According to the electromagnetic interference condition of the space, the calibration interval time of the calibration touch button (such as sensitivity, register, etc.) is adjusted to avoid the problem of touch downtime and automatic recovery. The anti-interference ability of the touch button in the serious electromagnetic environment is greatly improved, the EMI ability of the electrical appliance is significantly improved, the interference condition of each day can be analyzed, early warning and anti-interference treatment can be taken in advance, the user can be displayed with a warning or a prompt, the user can be facilitated to analyze and eliminate the current interference source, and the user's health can be improved. Without increasing any external machine cost, the anti-interference ability of the air conditioner can be improved.
[0097] The functions described herein can be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions can be stored on or transferred over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the disclosure and appended claims. For example, due to the nature of software, functions described above can be implemented using software executed by a processor, hardware, firmware, hardwiring, or combinations of any of these. Also, each of the functions can be implemented as a separate process or combined as a single process. Further, the functions can be implemented at least in part outside an apparatus, such as in a separate process running on a separate processor.
[0098] In several embodiments provided in the present application, it should be understood that the disclosed technical contents can be implemented by other ways. Among them, the above-mentioned device embodiments are only schematic, for example, the division of the units can be a logical function division, and actual implementation can have another division mode, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the coupling or direct coupling or communication connection between the displayed or discussed each other can be through some interface, indirect coupling or communication connection between units or modules, which can be electrical or other forms.
[0099] The units described as separate components may or may not be physically separate, and the components of the control device may or may not be physical units, i.e., may be located in one place or distributed to multiple units. Part or all of the units can be selected as needed to achieve the purpose of the embodiment.
[0100] The integrated units, if implemented in the form of software functional units and sold or used as independent products, can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the part that contributes to the related art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in the various embodiments of the present application. The aforementioned storage medium includes a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0101] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the scope of the claims of the present application.
Claims
1. A touch chip calibration method of a touch button of an electric appliance, characterized by, The method comprises: acquiring a packet loss rate of wireless communication at a current time in a space where the electrical appliance is located; adjusting a touch chip calibration interval time of a touch button of the electrical appliance according to the acquired packet loss rate of wireless communication at the current time in the space, so as to perform calibration of the touch chip according to the adjusted touch chip calibration interval time.
2. The touch chip calibration method of claim 1, wherein, The adjusting of the touch chip calibration interval time of the touch button of the electrical appliance according to the acquired packet loss rate of wireless communication at the current time in the space comprises: acquiring a preset correspondence between two or more packet loss rate ranges and set touch chip calibration interval times; determining a packet loss rate range to which the acquired packet loss rate of wireless communication at the current time in the space belongs among the two or more packet loss rate ranges; adjusting the touch chip calibration interval time of the touch button of the electrical appliance according to a set touch chip calibration interval time corresponding to the determined packet loss rate range.
3. The touch chip calibration method according to claim 1 or 2, characterized in that, The method further comprises: if the touch button is operated and the current touch chip calibration interval time has been reached since the last calibration of the touch chip, the calibration of the touch chip is not allowed to be performed.
4. The touch chip calibration method according to any one of claims 1-3, characterized in that, The method further comprises: acquiring a historical packet loss rate of wireless communication in the space where the electrical appliance is located; predicting a predicted packet loss rate of wireless communication at different times of each day in the space according to the acquired historical packet loss rate; adjusting the touch chip calibration interval time of the touch button of the electrical appliance at the corresponding time according to the predicted predicted packet loss rate of wireless communication at different times of each day in the space.
5. The touch chip calibration method of claim 4, wherein, The method further comprises: after the touch chip calibration interval time of the touch button of the electrical appliance is adjusted before the corresponding time arrives, when the corresponding time arrives, it is judged whether packet loss still occurs in the space where the electrical appliance is located, and if packet loss still occurs, the touch chip calibration interval time of the touch button of the electrical appliance is shortened by a preset time.
6. The touch chip calibration method according to any one of claims 1-5, wherein, The method further comprises: when the acquired packet loss rate of wireless communication at the current time in the space where the electrical appliance is located exceeds a preset threshold, corresponding reminding information is sent.
7. A touch chip calibration device for touch buttons of an electric appliance, characterized in that The method comprises: an acquiring unit, configured to acquire a packet loss rate of wireless communication at a current time in a space where the electrical appliance is located; an adjusting unit, configured to adjust a touch chip calibration interval time of a touch button of the electrical appliance according to the packet loss rate of wireless communication at the current time in the space acquired by the acquiring unit, so as to perform calibration of the touch chip according to the adjusted touch chip calibration interval time.
8. The touch chip calibration apparatus of claim 7, wherein, The adjusting of the touch chip calibration interval time of the touch button of the electrical appliance according to the packet loss rate of wireless communication at the current time in the space acquired by the acquiring unit comprises: acquiring a preset correspondence between two or more packet loss rate ranges and set touch chip calibration interval times; determining a packet loss rate range to which the acquired packet loss rate of wireless communication at the current time in the space belongs among the two or more packet loss rate ranges; adjusting the touch chip calibration interval time of the touch button of the electrical appliance according to a set touch chip calibration interval time corresponding to the determined packet loss rate range.
9. A storage medium, characterized by A computer program is stored on the computer readable medium, and the program is executed by a processor to implement the steps of the method according to any one of claims 1-6.
10. An electrical appliance characterized by The electric appliance comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1-6 when executing the program, or the electric appliance comprises a touch chip calibration device for the touch keys of the electric appliance according to any one of claims 7-8.
Citation Information
Patent Citations
Wireless communication system and method
CN113411823A
Touch type automobile air conditioner controller assembly
CN210174570U
Data transmission apparatus and method
US20020053053A1