WiFi remote controller pairing method, device, equipment and medium

By using the RSSI value threshold range judgment between WiFi remote control and home appliances, ensuring that only devices with reasonable signal strength are paired with WiFi remote control, the problem of mismatch in the existing technology is solved and the accuracy and security of pairing is improved. .

CN119182413AInactive Publication Date: 2024-12-24GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411243391.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-12-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

During the pairing process, existing WiFi remote controls are prone to mismatch due to the wide signal coverage range, which affects the accuracy of pairing.

Method used

By judging the threshold range of the RSSI value sent and received between the WiFi remote control and the home appliance device, only signals within the preset or dynamic threshold range are paired to ensure that only devices with reasonable signal strength are paired with the WiFi remote control.

Benefits of technology

It effectively avoids mispairing, improves the accuracy and success rate of pairing, and enhances the safety of pairing through a two-way confirmation mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119182413A_ABST
    Figure CN119182413A_ABST
Patent Text Reader

Abstract

The invention discloses a WiFi remote controller pairing method and device, equipment and a medium. The invention relates to the technical field of wireless communication, and the method comprises the steps that a WiFi remote controller sends a WiFi detection frame to a working environment where the WiFi remote controller is located, and the WiFi detection frame comprises pairing request information; after the household appliance receives the pairing request information, if a request RSSI value of the pairing request information is within a preset household appliance RSSI threshold range or a dynamic household appliance RSSI threshold range, a pairing feedback signal is sent to the WiFi remote controller; after the WiFi remote controller receives the pairing feedback signal, if a feedback RSSI value of the pairing feedback signal is within a preset remote control RSSI threshold range or a dynamic remote control RSSI threshold range, taking the pairing feedback signal as an alternative pairing signal; and the WiFi remote controller is matched with the household appliance according to the alternative signal. According to the invention, the wrong pairing phenomenon is effectively avoided, and the pairing accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of wireless communication technology, and in particular to a WiFi remote control pairing method, device, equipment and medium. Background Art

[0002] In smart home systems, the needs for remote control and status monitoring are becoming more and more diverse. Traditional remote controllers mainly rely on infrared signals to control devices. In recent years, with the development of wireless communication technology, remote controllers using WiFi modules have gradually entered the market. WiFi remote controllers communicate with home appliances (such as air conditioners) through WiFi networks to achieve functions such as remote control and status synchronization. The pairing of WiFi remote controllers and voice modules of home appliances mainly relies on WiFi detection frame communication technology. The WiFi remote controller sends detection frames, and the voice module of the home appliance receives and responds to these frames to achieve pairing of the WiFi remote controller and the home appliance. However, during the pairing process, due to the wide propagation range of WiFi signals, the WiFi remote controller is easily paired with multiple home appliances within the signal coverage range or multiple home appliances that are close to each other at the same time, resulting in incorrect pairing and affecting the accuracy of pairing. In the prior art, the signal coverage range is reduced by limiting the transmission power of the WiFi remote controller, but the effect is not obvious, because even if the transmission power is reduced, other home appliances nearby may still receive the pairing signal, thereby affecting the accuracy of pairing. Summary of the invention

[0003] The embodiments of the present invention provide a WiFi remote controller pairing method, device, equipment and medium, aiming to solve the problem of low accuracy of existing WiFi remote controller pairing.

[0004] In a first aspect, an embodiment of the present invention provides a WiFi remote controller pairing method, comprising:

[0005] The WiFi remote controller sends a WiFi detection frame to the working environment, wherein the WiFi detection frame includes pairing request information;

[0006] After the home appliance receives the pairing request information, if the request RSSI value of the pairing request information is within a preset home appliance RSSI threshold range or a dynamic home appliance RSSI threshold range, a pairing feedback signal is sent to the WiFi remote controller;

[0007] After the WiFi remote controller receives the pairing feedback signal, if the feedback RSSI value of the pairing feedback signal is within a preset remote control RSSI threshold range or a dynamic remote control RSSI threshold range, the pairing feedback signal is used as an alternative pairing signal;

[0008] The WiFi remote controller is paired with the household appliance according to the alternative signal.

[0009] In a second aspect, an embodiment of the present invention further provides a WiFi remote control pairing system, including a sending unit, a receiving unit and a pairing unit configured in a WiFi remote control, and a receiving and sending unit configured in a home appliance, wherein:

[0010] The sending unit is used for the WiFi remote controller to send a WiFi detection frame to the working environment where it is located, wherein the WiFi detection frame includes pairing request information;

[0011] The receiving and sending unit is used for sending a pairing feedback signal to the WiFi remote controller after the home appliance receives the pairing request information if the request RSSI value of the pairing request information is within a preset home appliance RSSI threshold range or a dynamic home appliance RSSI threshold range;

[0012] The receiving unit is used for, after the WiFi remote controller receives the pairing feedback signal, if the feedback RSSI value of the pairing feedback signal is within a preset remote control RSSI threshold range or a dynamic remote control RSSI threshold range, using the pairing feedback signal as an alternative pairing signal;

[0013] The pairing unit is used for the WiFi remote controller to pair with the home appliance according to the alternative signal.

[0014] In a third aspect, an embodiment of the present invention further provides a WiFi remote control pairing system, the WiFi remote control pairing system comprising a WiFi remote control and a home appliance, the WiFi remote control and the home appliance comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above method when executing the computer program.

[0015] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program can implement the above method when executed by a processor.

[0016] The embodiment of the present invention provides a WiFi remote control pairing method, device, equipment and medium. The method includes: the WiFi remote control sends a WiFi detection frame to the working environment in which it is located, wherein the WiFi detection frame includes pairing request information; after the home appliance receives the pairing request information, if the request RSSI value of the pairing request information is within a preset home appliance RSSI threshold range or a dynamic home appliance RSSI threshold range, a pairing feedback signal is sent to the WiFi remote control; after the WiFi remote control receives the pairing feedback signal, if the feedback RSSI value of the pairing feedback signal is within a preset remote control RSSI threshold range or a dynamic remote control RSSI threshold range, the pairing feedback signal is used as an alternative pairing signal; the WiFi remote control is paired with the home appliance according to the alternative signal. According to the technical solution of the embodiment of the present invention, when the request RSSI value of the pairing request information is within a preset home appliance RSSI threshold range or a dynamic home appliance RSSI threshold range, the home appliance sends a pairing feedback signal to the WiFi remote control; when the feedback RSSI value of the pairing feedback signal is within a preset remote control RSSI threshold range or a dynamic remote control RSSI threshold range, the WiFi remote control uses the pairing feedback signal as an alternative pairing signal for pairing, thereby ensuring that only home appliances with RSSI values ​​within a reasonable range are paired with the WiFi remote control, effectively avoiding mispairing and improving the accuracy of pairing. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0018] Figure 1 This is a schematic diagram of a scenario of a WiFi remote control pairing system provided by an embodiment of the present invention;

[0019] Figure 2 A schematic diagram of a flow chart of a WiFi remote control pairing method provided by an embodiment of the present invention;

[0020] Figure 3 A schematic diagram of a sub-process of a WiFi remote control pairing method provided by an embodiment of the present invention;

[0021] Figure 4 A schematic diagram of another sub-process of a WiFi remote control pairing method provided by an embodiment of the present invention;

[0022] Figure 5A schematic diagram of another sub-process of a WiFi remote control pairing method provided by an embodiment of the present invention;

[0023] Figure 6 A schematic diagram of a flow chart of a WiFi remote controller pairing method provided by another embodiment of the present invention;

[0024] Figure 7 A schematic block diagram of a WiFi remote control pairing system provided by an embodiment of the present invention;

[0025] Figure 8 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0027] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0028] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0029] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0030] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0031] See also Figure 1 , Figure 1 It is a scene diagram of a WiFi remote control pairing system provided by an embodiment of the present invention. The WiFi remote control pairing system includes a WiFi remote control and a home appliance, wherein the WiFi remote control is provided with a WiFi module, the home appliance is provided with a voice module, the voice module includes the WiFi module, and the WiFi remote control and the home appliance communicate through their respective WiFi modules. Understandably, the home appliance is any device having the voice module, such as an air conditioner. It should be noted that, in this embodiment, the home appliance is always in a pairing state, that is, in a pairing mode, and the WiFi remote control starts the pairing mode by long pressing a combination key, such as pressing "switch" and "mode" at the same time or pressing "power" and "temperature+" at the same time to enter the pairing mode.

[0032] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of a WiFi remote controller pairing method provided by an embodiment of the present invention. The WiFi remote controller pairing method is described in detail below. Figure 2 As shown, the method includes the following steps S110-S140.

[0033] S110. The WiFi remote controller sends a WiFi detection frame to the working environment where it is located, wherein the WiFi detection frame includes pairing request information.

[0034] In the embodiment of the present invention, after the WiFi remote controller and the home appliance enter the pairing mode, the WiFi remote controller sends a WiFi detection frame to the working environment to broadcast its pairing request, wherein the WiFi detection frame includes pairing request information. It should be noted that, in this embodiment, the WiFi detection frame is a management frame sent by the WiFi remote controller, which is used to discover and identify the surrounding WiFi network.

[0035] S120: After receiving the pairing request information, if the requested RSSI value of the pairing request information is within a preset home appliance RSSI threshold range or a dynamic home appliance RSSI threshold range, the home appliance sends a pairing feedback signal to the WiFi remote controller.

[0036] In an embodiment of the present invention, after the household appliance receives the WiFi detection frame, that is, after receiving the pairing request information, the RSSI value of the pairing request information is measured to obtain the requested RSSI value, and the requested RSSI value is determined to be within the preset household appliance RSSI threshold range or the dynamic household appliance RSSI threshold range; if the requested RSSI value is within the preset household appliance RSSI threshold range or the dynamic household appliance RSSI threshold range, a pairing feedback signal is sent to the WiFi remote controller. Understandably, if the requested RSSI value is not within the preset household appliance RSSI threshold range or the dynamic household appliance RSSI threshold range, pairing is stopped, that is, a pairing feedback signal is not sent to the WiFi remote controller. It should be noted that, in this embodiment, the dynamic household appliance RSSI threshold range is determined according to the requested RSSI value and the preset household appliance RSSI threshold range; and the preset household appliance RSSI threshold range is the RSSI threshold range set by the manufacturer when the household appliance leaves the factory, and this threshold range determines the signal strength at which the household appliance will respond to pairing. Understandably, the preset household appliance RSSI threshold range can also be adjusted according to actual needs. It should also be noted that, in the present embodiment, RSSI (Received Signal Strength Indicator) is an indicator for measuring the strength of a wireless signal, usually expressed in negative decibel milliwatts (dBm), and is used to judge the quality of a signal. A higher RSSI value indicates a stronger signal.

[0037] Furthermore, if Figure 3As shown, the dynamic home appliance RSSI threshold range is a step determined according to the requested RSSI value and the preset home appliance RSSI threshold range, including steps S121-S122: S121, real-time monitoring of the requested RSSI value, and detecting whether the threshold adjustment condition is met according to the requested RSSI value; S122, if the threshold adjustment condition is met, the preset home appliance RSSI threshold range is adjusted according to the requested RSSI value through a threshold adjustment algorithm to obtain the dynamic home appliance RSSI threshold range. It should be noted that in this embodiment, the step of detecting whether the threshold adjustment condition is met according to the requested RSSI value includes: if the requested RSSI value changes, it is determined that the threshold adjustment condition is met, wherein the change in the requested RSSI value includes any one of a large fluctuation in the RSSI value, a high rate of change in the RSSI value, and a large average change value of multiple measurements. Specifically, the large fluctuation in the RSSI value means that the requested RSSI value is detected to have a significant fluctuation in a short period of time (for example, within a few seconds), which indicates that the environmental conditions may have changed. The environmental situation refers to the working environment of the home appliance, including surrounding signal interference, obstacles, and the distance between devices. The environmental situation will significantly affect the propagation of the signal and the stability of the pairing process. Signal interference: In the working environment, there may be other WiFi devices, Bluetooth devices or other wireless signal sources, which will interfere with the WiFi signal. Obstacles: Obstacles such as walls, furniture, and metal objects will block or attenuate the WiFi signal and affect the signal strength. For example, when pairing between different rooms, walls may cause signal weakening, thereby affecting the pairing success rate. Distance between devices: The distance between the WiFi remote control and the home appliance will also affect the requested RSSI value and the pairing success rate. Generally, the farther the distance between the devices, the weaker the signal strength and the greater the difficulty of pairing. There are two cases of significant fluctuations in the requested RSSI value: 1. The signal strength is significantly enhanced: This usually means that the interference is reduced, the obstacles are removed, or the distance between the devices is shortened. 2. The signal strength is significantly weakened: This may be due to the emergence of new interference sources, the increase of obstacles, or the distance between the devices. The high rate of change of the RSSI value means that the signal strength increases or decreases rapidly in a short period of time. For example, if the requested RSSI value increases from -60dBm to -40dBm or decreases from -60dBm to -80dBm within a few seconds, this RSSI value change rate may indicate that a new interference source or obstacle has appeared in the environment. The average change value of multiple measurements is large, which means that the requested RSSI value is measured multiple times and its average change range is calculated. If the average change range of the requested RSSI values ​​measured multiple times is large, the home appliance can determine that the environment is unstable.

[0038] It should also be noted that, in this embodiment, the threshold adjustment algorithm includes a low-to-high algorithm, a linear adjustment algorithm, an adaptive algorithm, and a fuzzy control algorithm; the preset home appliance RSSI threshold range is adjusted by the threshold adjustment algorithm according to the requested RSSI value to obtain the dynamic home appliance RSSI threshold range, including: the preset home appliance RSSI threshold range is adjusted by any one or more of the low-to-high algorithm, the linear adjustment algorithm, the adaptive algorithm, and the fuzzy control algorithm to obtain the dynamic home appliance RSSI threshold range. It should be noted that, in this embodiment, the low-to-high algorithm is specifically: if the RSSI value is detected to be much higher than the set RSSI threshold range, the upper limit of the RSSI threshold is increased; if the RSSI value is detected to be much lower than the set RSSI threshold range, the lower limit of the RSSI threshold is lowered. The linear adjustment algorithm is specifically: according to the amplitude and direction of the RSSI value change, the RSSI threshold is linearly increased or decreased, and the adjustment step size can be set according to actual needs. The adaptive algorithm is specifically: not only considering the current RSSI value, but also dynamically adjusting the RSSI threshold according to historical data and the trend of environmental changes. Historical data analysis refers to storing RSSI values ​​over a period of time and analyzing the trend of signal strength changes; environmental change trend prediction refers to predicting the direction of future signal strength changes through analysis of historical data; dynamic adjustment of RSSI threshold refers to dynamic feedback adjustment of RSSI threshold according to current and past RSSI values. The fuzzy control algorithm is designed to deal with uncertainty and ambiguity problems, and is particularly suitable for scenarios where RSSI values ​​fluctuate frequently and the environment is complex. Specifically, fuzzy rules can be set, and fuzzy reasoning can be performed to calculate the specific RSSI threshold that needs to be adjusted. It should also be noted that, in this embodiment, if the RSSI value of the requested RSSI value fluctuates greatly, the preset home appliance RSSI threshold range can be adjusted according to the linear adjustment algorithm to obtain the dynamic home appliance RSSI threshold range; if the RSSI value change rate of the requested RSSI value is high, the preset home appliance RSSI threshold range can be adjusted according to the adjustment algorithm, the linear adjustment algorithm and the adaptive algorithm to obtain the dynamic home appliance RSSI threshold range; if the average change value of multiple measurements of the requested RSSI value is large, the preset home appliance RSSI threshold range can be adjusted according to the linear adjustment algorithm, the adaptive algorithm and the fuzzy control algorithm to obtain the dynamic home appliance RSSI threshold range. It can be understood that different threshold adjustment algorithms can be selected to adjust the preset home appliance RSSI threshold range according to different scenarios and needs to ensure that the WiFi remote control and home appliances can be paired stably and accurately in various environments.

[0039] S130: After the WiFi remote controller receives the pairing feedback signal, if the feedback RSSI value of the pairing feedback signal is within a preset remote control RSSI threshold range or a dynamic remote control RSSI threshold range, the pairing feedback signal is used as an alternative pairing signal.

[0040] In an embodiment of the present invention, after receiving the pairing feedback signal sent by the home appliance, the WiFi remote control measures the RSSI value of the pairing feedback signal to obtain the feedback RSSI value, and determines whether the feedback RSSI value is within the preset remote control RSSI threshold range or the dynamic remote control RSSI threshold range; if the feedback RSSI value is within the preset remote control RSSI threshold range or the dynamic remote control RSSI threshold range, the pairing feedback signal is used as an alternative pairing signal; understandably, if the feedback RSSI value is not within the preset remote control RSSI threshold range or the dynamic remote control RSSI threshold range, the pairing is stopped, that is, the pairing feedback signal is not used as an alternative pairing signal. It should be noted that in this embodiment, the dynamic remote control RSSI threshold range is determined according to the feedback RSSI value and the preset remote control RSSI threshold range; and the preset remote control RSSI threshold range is the RSSI threshold range set by the manufacturer when the WiFi remote control leaves the factory, and this threshold range determines the signal strength at which the WiFi remote control will respond to pairing. Understandably, the preset remote control RSSI threshold range can also be adjusted according to actual needs. It should also be noted that, in this embodiment, the higher the transmission power of the WiFi remote control, the larger the signal coverage range, but it may also increase the risk of mispairing. Generally, the transmission power is limited to 20dBm to reduce the signal coverage range. In the process of implementing the WiFi remote control pairing method, the received pairing feedback signal is filtered at the WiFi remote control end, that is, it is screened, and only the signals within the preset remote control RSSI threshold range or the dynamic remote control RSSI threshold range are processed, which can improve the accuracy of pairing.

[0041] Furthermore, if Figure 4As shown, the dynamic remote control RSSI threshold range is a step determined according to the feedback RSSI value and the preset remote control RSSI threshold range, including steps S131-S132: S131, real-time monitoring of the feedback RSSI value, and detecting whether the threshold adjustment condition is met according to the feedback RSSI value; S132, if the threshold adjustment condition is met, adjusting the preset remote control RSSI threshold range according to the feedback RSSI value through the threshold adjustment algorithm to obtain the dynamic remote control RSSI threshold range. Specifically, the step of detecting whether the threshold adjustment condition is met according to the feedback RSSI value includes: if the feedback RSSI value changes, determining that the threshold adjustment condition is met, wherein the change in the feedback RSSI value includes any one of a large fluctuation in the RSSI value, a high rate of change in the RSSI value, and a large average change value of multiple measurements. According to the feedback RSSI value, the preset remote control RSSI threshold range is adjusted by the threshold adjustment algorithm to obtain the dynamic remote control RSSI threshold range, including: adjusting the preset remote control RSSI threshold range by any one or more of the adjustment algorithm, the linear adjustment algorithm, the adaptive algorithm and the fuzzy control algorithm to obtain the dynamic remote control RSSI threshold range. It should be noted that in this embodiment, the detailed steps of the WiFi remote control detecting whether the threshold adjustment condition is met according to the feedback RSSI value are consistent with the detailed steps of the household appliance detecting whether the threshold adjustment condition is met according to the request RSSI value, which are not repeated here for the sake of simplicity; the detailed steps of the WiFi remote control adjusting the preset remote control RSSI threshold range according to the feedback RSSI value by the threshold adjustment algorithm to obtain the dynamic remote control RSSI threshold range are also consistent with the detailed steps of the household appliance adjusting the preset household appliance RSSI threshold range according to the request RSSI value by the threshold adjustment algorithm to obtain the dynamic household appliance RSSI threshold range, which are not repeated here for the sake of simplicity.

[0042] S140: The WiFi remote controller is paired with the home appliance according to the alternative signal.

[0043] In the embodiment of the present invention, after the WiFi remote controller uses the pairing feedback signal as the candidate pairing signal, it will pair with the home appliance according to the candidate signal. Specifically, Figure 5As shown, step S140 may specifically include steps S141-S142: S141, the WiFi remote controller selects the signal with the largest feedback RSSI value from the alternative pairing signals as the final pairing signal, and uses the home appliance corresponding to the final pairing signal as the target home appliance; S142, the WiFi remote controller pairs with the target home appliance. It should be noted that in this embodiment, the WiFi remote controller selects the home appliance corresponding to the largest feedback RSSI value from the alternative pairing signals as the target home appliance for pairing, which can further improve the accuracy of pairing.

[0044] Figure 6 A schematic diagram of a flow chart of a WiFi remote controller pairing method provided by another embodiment of the present invention is shown in FIG. Figure 6 As shown, in this embodiment, the method includes steps S110-S160. That is, in this embodiment, after step S140 of the above embodiment, the method further includes steps S150 and S160.

[0045] S150: After pairing is completed, the WiFi remote controller sends pairing confirmation information to the target home appliance, and receives pairing completion information returned by the target home appliance for two-way confirmation;

[0046] S160: After the WiFi remote controller displays the pairing success information, it sends a control signal to the target home appliance to control the target home appliance.

[0047] In an embodiment of the present invention, after pairing is completed, the WiFi remote controller sends pairing confirmation information to the target home appliance, wherein the pairing confirmation information may be a verification code information or a confirmation instruction information triggered by a confirmation button. After receiving the pairing confirmation information, the home appliance will send pairing completion information to the WiFi remote controller, and the WiFi remote controller receives the pairing completion information returned by the target home appliance for two-way confirmation. It can be understood that the accuracy and security of the pairing can be ensured by further two-way pairing confirmation. After the pairing two-way confirmation is passed, the WiFi remote controller establishes a communication connection with the target home appliance, and the pairing success information will be displayed on the WiFi remote controller. The user can control or monitor the status of the target home appliance through the WiFi remote controller. It should be noted that in this embodiment, in addition to displaying the pairing information, the feedback RSSI value, that is, the signal strength, can also be displayed on the display interface of the WiFi remote controller.

[0048] In summary, in this embodiment, the implementation of the WiFi remote control pairing method has the following advantages: 1. Improving pairing accuracy: By presetting the home appliance RSSI threshold range and the dynamic home appliance RSSI threshold range, it can ensure that only home appliances with signal strength within a reasonable range are paired with the WiFi remote control, effectively avoiding the occurrence of mispairing, making the pairing process more stable and reliable, and improving the pairing accuracy and pairing success rate; 2. Reducing mispairing: By presetting the remote control RSSI threshold range and the dynamic remote control RSSI threshold range, the pairing feedback signal is filtered, and only the signal with RSSI value within the set threshold range is processed, thereby reducing the interference of long-distance devices, reducing the probability of mispairing, and further improving the pairing accuracy and pairing success rate; 3. Simplifying user operations: Adding a user interface prompt function, displaying the pairing status and signal strength in real time, so that the user can intuitively understand the pairing progress and possible problems, simplifying the operation steps in the pairing process, and improving the user experience; 4. Enhancing pairing security: By adding a pairing two-way confirmation mechanism, it is ensured that only legitimate devices can be successfully paired, and the security of the pairing process is enhanced.

[0049] Figure 7 is a schematic block diagram of a WiFi remote control pairing system 200 provided in an embodiment of the present invention. Figure 7 As shown, corresponding to the above WiFi remote controller pairing method applied to a WiFi remote controller and a home appliance, the WiFi remote controller pairing system 200 includes a unit for executing the above WiFi remote controller pairing method. Figure 7 The WiFi remote controller pairing system 200 includes a sending unit 101 configured in the WiFi remote controller 10 , a receiving unit 102 and a pairing unit 103 , and a receiving and sending unit 201 configured in the home appliance 20 .

[0050] Among them, the sending unit 101 is used for the WiFi remote control to send a WiFi detection frame to the working environment where it is located, wherein the WiFi detection frame includes pairing request information; the receiving and sending unit 201 is used for, after the home appliance receives the pairing request information, if the request RSSI value of the pairing request information is within a preset home appliance RSSI threshold range or a dynamic home appliance RSSI threshold range, then sending a pairing feedback signal to the WiFi remote control; the receiving unit 102 is used for, after the WiFi remote control receives the pairing feedback signal, if the feedback RSSI value of the pairing feedback signal is within a preset remote control RSSI threshold range or a dynamic remote control RSSI threshold range, then using the pairing feedback signal as an alternative pairing signal; the pairing unit 103 is used for the WiFi remote control to pair with the home appliance according to the alternative signal.

[0051] In some embodiments, such as the present embodiment, the step of determining the dynamic home appliance RSSI threshold range according to the requested RSSI value and the preset home appliance RSSI threshold range includes a first detection unit and a first adjustment unit.

[0052] Among them, the first detection unit is used to monitor the requested RSSI value in real time, and detect whether the threshold adjustment condition is met according to the requested RSSI value; the first adjustment unit is used to adjust the preset home appliance RSSI threshold range according to the requested RSSI value through a threshold adjustment algorithm to obtain the dynamic home appliance RSSI threshold range if the threshold adjustment condition is met.

[0053] In some embodiments, such as the present embodiment, the dynamic remote control RSSI threshold range is determined according to the feedback RSSI value and the preset remote control RSSI threshold range, and includes a second detection unit and a second adjustment unit.

[0054] Among them, the second detection unit is used to monitor the feedback RSSI value in real time, and detect whether the threshold adjustment condition is met according to the feedback RSSI value; the second adjustment unit is used to adjust the preset remote control RSSI threshold range according to the feedback RSSI value through the threshold adjustment algorithm to obtain the dynamic remote control RSSI threshold range if the threshold adjustment condition is met.

[0055] In some embodiments, such as the present embodiment, the step of detecting whether the threshold adjustment condition is met according to the requested RSSI value / the feedback RSSI value includes a detection subunit.

[0056] The detection subunit is used to determine that the threshold adjustment condition is met if the requested RSSI value / the feedback RSSI value changes, wherein the change in the requested RSSI value / the feedback RSSI value includes any one of a large RSSI value fluctuation, a high RSSI value change rate, and a large average change value of multiple measurements.

[0057] In certain embodiments, such as the present embodiment, the preset home appliance RSSI threshold range / the preset remote control RSSI threshold range is adjusted according to the request RSSI value / the feedback RSSI value through the threshold adjustment algorithm to obtain the dynamic home appliance RSSI threshold range / the dynamic remote control RSSI threshold range, including an adjustment subunit.

[0058] Among them, the adjustment subunit is used to adjust the preset home appliance RSSI threshold range / the preset remote control RSSI threshold range through any one or more of the low adjustment algorithm, the linear adjustment algorithm, the adaptive algorithm and the fuzzy control algorithm to obtain the dynamic home appliance RSSI threshold range / the dynamic remote control RSSI threshold range.

[0059] In some embodiments, such as this embodiment, the pairing unit 103 includes a selection unit and a pairing subunit.

[0060] Among them, the selection unit is used by the WiFi remote control to select the signal with the largest feedback RSSI value from the alternative pairing signals as the final pairing signal, and use the home appliance corresponding to the final pairing signal as the target home appliance; the pairing subunit is used to pair the WiFi remote control with the target home appliance.

[0061] In some embodiments, such as the present embodiment, the WiFi remote controller pairing system 200 further includes a transmitting and receiving unit and a transmitting and controlling unit configured in the WiFi remote controller 10 .

[0062] Among them, the sending and receiving unit is used for the WiFi remote control to send pairing confirmation information to the target home appliance after the pairing is completed, and to receive the pairing completion information returned by the target home appliance for two-way confirmation; the sending control unit is used to send a control signal to the target home appliance after the pairing success information is displayed on the WiFi remote control to control the target home appliance.

[0063] The WiFi remote control pairing system can be implemented in the form of a computer program. Figure 8 Runs on the computer device shown.

[0064] See also Figure 8 , Figure 8 300 is a schematic block diagram of a computer device provided by an embodiment of the present invention. The computer device 300 is the above-mentioned WiFi remote controller and home appliance.

[0065] See also Figure 8 The computer device 300 includes a processor 302 , a memory and a network interface 305 connected via a system bus 301 , wherein the memory may include a non-volatile storage medium 303 and an internal memory 304 .

[0066] The non-volatile storage medium 303 can store an operating system 3031 and a computer program 3032. When the computer program 3032 is executed, the processor 302 can execute a WiFi remote controller pairing method.

[0067] The processor 302 is used to provide computing and control capabilities to support the operation of the entire computer device 300 .

[0068] The internal memory 304 provides an environment for the operation of the computer program 3032 in the non-volatile storage medium 303. When the computer program 3032 is executed by the processor 302, the processor 302 can execute a WiFi remote control pairing method.

[0069] The network interface 305 is used to communicate with other devices over the network. Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device 300 to which the solution of the present invention is applied. The specific computer device 300 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0070] The processor 302 is used to run a computer program 3032 stored in the memory to implement any embodiment of the above-mentioned WiFi remote control pairing method.

[0071] It should be understood that in the embodiment of the present invention, the processor 302 may be a central processing unit (CPU), and the processor 302 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0072] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0073] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When the computer program is executed by a processor, the processor executes any embodiment of the above-mentioned WiFi remote control pairing method.

[0074] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.

[0075] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0076] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0077] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0078] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device to execute all or part of the steps of the method described in each embodiment of the present invention.

[0079] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0080] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

[0081] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A WiFi remote control pairing method, characterized in that: include: The WiFi remote controller sends a WiFi detection frame to the working environment, wherein the WiFi detection frame includes pairing request information; After the home appliance receives the pairing request information, if the request RSSI value of the pairing request information is within a preset home appliance RSSI threshold range or a dynamic home appliance RSSI threshold range, a pairing feedback signal is sent to the WiFi remote controller; After the WiFi remote controller receives the pairing feedback signal, if the feedback RSSI value of the pairing feedback signal is within a preset remote control RSSI threshold range or a dynamic remote control RSSI threshold range, the pairing feedback signal is used as an alternative pairing signal; The WiFi remote controller is paired with the household appliance according to the alternative signal.

2. The method according to claim 1, characterized in that The dynamic home appliance RSSI threshold range is determined based on the requested RSSI value and the preset home appliance RSSI threshold range; the dynamic remote control RSSI threshold range is determined based on the feedback RSSI value and the preset remote control RSSI threshold range.

3. The method according to claim 2, characterized in that The dynamic home appliance RSSI threshold range is determined according to the requested RSSI value and the preset home appliance RSSI threshold range, including: Monitor the requested RSSI value in real time, and detect whether a threshold adjustment condition is met according to the requested RSSI value; If the threshold adjustment condition is met, the preset home appliance RSSI threshold range is adjusted by a threshold adjustment algorithm according to the requested RSSI value to obtain the dynamic home appliance RSSI threshold range; and / or The dynamic remote control RSSI threshold range is determined according to the feedback RSSI value and the preset remote control RSSI threshold range, including: Performing real-time monitoring on the feedback RSSI value, and detecting whether the threshold adjustment condition is met according to the feedback RSSI value; If the threshold adjustment condition is met, the preset remote control RSSI threshold range is adjusted by the threshold adjustment algorithm according to the feedback RSSI value to obtain the dynamic remote control RSSI threshold range.

4. The method according to claim 3, characterized in that The step of detecting whether the threshold adjustment condition is met according to the requested RSSI value / the feedback RSSI value comprises: If the requested RSSI value / the feedback RSSI value changes, it is determined that the threshold adjustment condition is met, wherein the change in the requested RSSI value / the feedback RSSI value includes any one of a large RSSI value fluctuation, a high RSSI value change rate, and a large average change value of multiple measurements.

5. The method according to claim 3, characterized in that: The threshold adjustment algorithm includes a low-low adjustment algorithm, a linear adjustment algorithm, an adaptive algorithm and a fuzzy control algorithm; The preset home appliance RSSI threshold range / the preset remote control RSSI threshold range is adjusted by the threshold adjustment algorithm according to the request RSSI value / the feedback RSSI value to obtain the dynamic home appliance RSSI threshold range / the dynamic remote control RSSI threshold range, including: The dynamic home appliance RSSI threshold range / the dynamic remote control RSSI threshold range is obtained by adjusting the preset home appliance RSSI threshold range / the preset remote control RSSI threshold range through any one or more of the low adjustment algorithm, the linear adjustment algorithm, the adaptive algorithm and the fuzzy control algorithm.

6. The method according to claim 1, characterized in that The step of pairing the WiFi remote controller with the home appliance according to the alternative signal includes: The WiFi remote controller selects the signal with the largest feedback RSSI value from the candidate pairing signals as the final pairing signal, and uses the home appliance corresponding to the final pairing signal as the target home appliance The WiFi remote controller is paired with the target home appliance.

7. The method according to claim 6, characterized in that After the step of pairing the WiFi remote controller with the target home appliance, the method further includes: After pairing is completed, the WiFi remote controller sends pairing confirmation information to the target home appliance, and receives pairing completion information returned by the target home appliance for two-way confirmation; After the WiFi remote controller displays the pairing success information, it sends a control signal to the target home appliance to control the target home appliance.

8. A WiFi remote control pairing system, characterized in that: It includes a sending unit, a receiving unit and a pairing unit configured in a WiFi remote controller, and a receiving and sending unit configured in a home appliance, wherein: The sending unit is used for the WiFi remote controller to send a WiFi detection frame to the working environment where it is located, wherein the WiFi detection frame includes pairing request information; The receiving and sending unit is used for sending a pairing feedback signal to the WiFi remote controller after the home appliance receives the pairing request information if the request RSSI value of the pairing request information is within a preset home appliance RSSI threshold range or a dynamic home appliance RSSI threshold range; The receiving unit is used for, after the WiFi remote controller receives the pairing feedback signal, if the feedback RSSI value of the pairing feedback signal is within a preset remote control RSSI threshold range or a dynamic remote control RSSI threshold range, using the pairing feedback signal as an alternative pairing signal; The pairing unit is used for the WiFi remote controller to pair with the home appliance according to the alternative signal.

9. A WiFi remote control pairing system, characterized in that: The WiFi remote control pairing system includes a WiFi remote control and a home appliance. The WiFi remote control and the home appliance include a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 can be implemented.

Citation Information

Patent Citations

  • Parking space detection method and system thereof

    CN102722997A

  • Automatic equipment pairing method based on wireless signal intensity

    CN105101467A

  • Article loss prevention method, loss prevention device and terminal equipment

    CN107730845A

  • WiFi intelligent remote controller pairing and control method

    CN112309096A

  • Intelligent television Bluetooth remote controller pairing method

    CN113920709A