Disclosure of Invention
The embodiment of the application aims to provide a pairing method of cleaning equipment and the cleaning equipment, which can avoid mispairing. The specific technical scheme is as follows:
in a first aspect, a method for pairing cleaning devices is provided, the cleaning devices including pairing responsive terminals, the method including:
the pairing responding end receives a pairing signal from the pairing requesting end;
the controller corresponding to the pairing response end verifies and confirms the pairing signal;
after the confirmation is passed, establishing a pairing relationship between the pairing response end and the pairing request end;
the step of verifying and confirming the pairing signal by the controller corresponding to the pairing response end comprises the following steps:
and the controller checks and confirms the pairing signal according to the acquired confirmation operation detection signal, or the controller checks and confirms the pairing signal according to the signal strength of the pairing signal.
Optionally, the cleaning device includes a stick and an upright switch, the upright switch is configured to detect an upright/inclined state of the stick, and the step of verifying and confirming the pairing signal by the controller according to the acquired confirmation operation detection signal includes:
and the controller checks and confirms the pairing signal according to the confirmation operation detection signal triggered by the upright switch.
Optionally, the cleaning device is provided with a function key, and the step of verifying and confirming the pairing signal by the controller according to the obtained confirmation operation detection signal includes:
and the controller checks and confirms the pairing signal according to the confirmation operation detection signal triggered by the function key.
Optionally, the step of verifying and confirming the pairing signal by the controller according to the signal strength of the pairing signal includes:
the controller determines a pairing signal with the highest signal strength in the received pairing signals;
after the confirmation is passed, the step of establishing the pairing relationship between the pairing response end and the pairing request end comprises the following steps:
and establishing a pairing relation between the pairing response end and the pairing request end corresponding to the pairing signal with the highest signal intensity.
Optionally, before the step of receiving, by the pairing responder, the pairing signal from the pairing requester, the method further includes:
and awakening the pairing response end and/or the pairing request end according to the acquired awakening operation detection signal.
Optionally, the pairing signal includes an identification code, and after the step of establishing the pairing relationship between the pairing responder and the pairing requester, the method further includes:
the pairing responding end and the pairing requesting end are communicated and/or controlled with each other through the identification code.
Optionally, the method further includes:
and displaying the pairing state through an indicator lamp arranged on the pairing response end and/or the pairing request end.
Optionally, the step of verifying and confirming the pairing signal by the controller according to the confirmation operation detection signal triggered by the upright switch includes:
when the confirmation operation detection signal triggered by the upright switch indicates that the barre is switched between the upright state and the inclined state for a preset number of times, the controller confirms that the pairing signal passes.
Optionally, the vertical switch is a mechanical switch, an optoelectronic switch, or a magnetic switch.
In a second aspect, a cleaning device is provided, the cleaning device comprising a mating response end;
the pairing responding end is used for receiving a pairing signal from the pairing requesting end,
the controller corresponding to the pairing response end is used for verifying and confirming the pairing signal and establishing a pairing relation between the pairing response end and the pairing request end after the pairing signal passes the confirmation;
the controller corresponding to the pairing response end is specifically configured to perform verification and confirmation on the pairing signal according to the acquired confirmation operation detection signal, or perform verification and confirmation on the pairing signal according to the signal strength of the pairing signal.
The cleaning equipment comprises a pairing response end, wherein the pairing response end receives a pairing signal from a pairing request end, a controller corresponding to the pairing response end verifies and confirms the pairing signal, and after the verification is passed, a pairing relation between the pairing response end and the pairing request end is established. Compared with the prior art, the pairing response end in the application is not directly paired with the pairing request end corresponding to the pairing signal after receiving the pairing signal, but the controller corresponding to the pairing response end checks and confirms the pairing signal, and the pairing response end is paired only after the confirmation is passed, so that the mispairing can be avoided when the pairing response end sends the pairing signal, but the pairing signal is not used for pairing with the pairing response end, but is used for pairing with other pairing response ends, or the mispairing response end is avoided when the pairing signal is mistriggered.
In addition, the controller corresponding to the pairing response end in the application verifies and confirms the pairing signal according to the acquired confirmation operation detection signal, and the pairing response end is paired with the pairing request end only after the confirmation is passed, so that the problem of mispairing caused by direct pairing of a plurality of pairing response ends after receiving the pairing signal can be avoided under the condition that the pairing response ends exist.
In addition, the controller corresponding to the pairing response end in the application verifies and confirms the pairing signal according to the signal strength of the pairing signal, so that the problem of mispairing caused by the fact that the pairing response end is paired with a plurality of pairing request ends under the condition that the pairing request ends transmit the pairing signal can be avoided.
In addition, the controller verifies and confirms the pairing signal according to the confirmation operation detection signal triggered by the upright switch, or the controller verifies and confirms the pairing signal according to the confirmation operation detection signal triggered by the functional key.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a pairing method of a cleaning device, the cleaning device can be an electric mop or a dust collector, and the cleaning device can comprise a cleaning host machine and a remote control component. The cleaning host can be used as a pairing responding end, and correspondingly, the remote control unit can be used as a pairing requesting end. Alternatively, the cleaning host may serve as a pairing request terminal, and correspondingly, the remote control unit may serve as a pairing response terminal. Wherein, the remote control part can be a handle with a wireless control module or a remote controller. For example, the cleaning apparatus may be as shown in fig. 1, and the cleaning apparatus includes a cleaning main body 1, a stick 2, and a handle 3. Wherein the cleaning device may comprise an upright switch for detecting the upright/tilted state of the stick, the upright switch may be a mechanical switch or a photoelectric switch or a magnetic switch.
The following will describe in detail a pairing method of a cleaning device provided in an embodiment of the present application with reference to specific embodiments, as shown in fig. 1, the specific steps are as follows:
s201, the pairing responding end receives a pairing signal from the pairing requesting end.
Wherein, the pairing signal can be one of the following signals: 2.4G radio frequency signals, 315M radio frequency signals, 433M radio frequency signals and infrared signals.
In this embodiment of the application, after the pairing request end detects the pairing request operation, the pairing request end may send a pairing signal to the pairing response end, where the pairing signal may include an identification code of the pairing request end, and for convenience of distinguishing, the identification code may be referred to as a first identification code. Accordingly, the pairing responding terminal can receive the pairing signal sent by the pairing requesting terminal.
When the pairing request end is a handle and the pairing response end is a cleaning host, the handle sends a pairing signal to the cleaning host after detecting the pressing operation of a key on the handle. For example, after the handle detects that at least two keys on the handle are continuously pressed for a preset time, the handle sends a pairing signal to the cleaning mobile phone
When the pairing request end is a cleaning host and the pairing response end is a handle, the cleaning host can send a pairing signal to the handle after detecting the operation on the handle through the upright switch. For example, the cleaning main unit transmits a pairing signal to the handle after detecting that the stick is switched between the inclined state and the upright state a preset number of times by the upright switch.
S202, the controller corresponding to the pairing response end verifies and confirms the pairing signal.
And S203, after the confirmation is passed, establishing a pairing relationship between the pairing response end and the pairing request end.
In this embodiment of the application, when receiving a pairing signal sent by a pairing request end, a pairing response end may determine whether to pair by using the pairing signal, and when determining to pair by using the pairing signal, it indicates that the confirmation is passed, and the pairing response end may establish a pairing relationship with the pairing request end, for example, the pairing response end may store a first identification code in the pairing request signal, then send a pairing signal including the first identification code and an identification code (may be referred to as a second identification code) of the pairing response end to the pairing request end, and after receiving the pairing signal, the pairing request end stores the second identification code. The pairing requesting end and the pairing responding end can communicate/control through the first identification code and/or the second identification code.
Optionally, the specific process of the controller corresponding to the pairing response end for verifying and confirming the pairing signal may be: the controller corresponding to the pairing response end can verify and confirm the pairing signal according to the obtained confirmation operation detection signal.
In one implementation, the controller corresponding to the pairing response end verifies and confirms the pairing signal according to the confirmation operation detection signal triggered by the vertical switch. For example, if the confirmation operation signal triggered by the stand switch indicates that the stick is switched between the inclined and stand states a preset number of times, the confirmation passes. Or if the confirmation operation signal triggered by the upright switch indicates that the rod is switched to the inclined state or the upright state, the confirmation is passed.
In another implementation manner, the cleaning device is provided with at least one function key, and the controller corresponding to the pairing response end verifies and confirms the pairing signal according to the confirmation operation detection signal triggered by the function key. For example, if at least one function key is pressed or continuously pressed for a preset time period, the confirmation is passed. When the pairing response end is the cleaning host, the function key can be a pedal key on the cleaning host. When the pairing response end is a handle, the function key can be a function key on the handle, such as a water spraying key and a start-stop key.
The controller corresponding to the pairing response end verifies and confirms the pairing signal according to the obtained confirmation operation detection signal, and the pairing response end is paired with the pairing request end after the confirmation is passed, so that the problem of mispairing caused by the fact that a plurality of pairing response ends are directly paired after receiving the pairing signal under the condition that the pairing response ends exist can be avoided.
In the embodiment of the application, when the pairing signals sent by the plurality of pairing request terminals are received, the pairing response terminal may select the target pairing signal from the pairing signals sent by the plurality of pairing request terminals according to a preset selection rule. If the target pairing signal is selected, the confirmation is passed, and then the pairing responding end can establish the pairing relation with the pairing requesting end corresponding to the target pairing signal.
Optionally, the specific process of the controller corresponding to the pairing response end for verifying and confirming the pairing signal may be: and the controller checks and confirms the pairing signal according to the signal strength of the pairing signal.
In one implementation, the controller determines the pairing signal with the highest signal strength among the received pairing signals. And if the pairing signal with the highest signal strength is determined, the confirmation is passed, and then the pairing relation between the pairing response end and the pairing request end corresponding to the pairing signal with the highest signal strength is established.
The controller corresponding to the pairing response end verifies and confirms the pairing signal according to the signal strength of the pairing signal, and the problem of mispairing caused by the fact that the pairing response end is paired with a plurality of pairing request ends under the condition that the pairing request ends transmit the pairing signal can be avoided.
Optionally, before the step of receiving, by the pairing responder, the pairing signal from the pairing requester, the pairing method further includes: and awakening the pairing response end and/or the pairing request end according to the acquired awakening operation signal.
For example, when the stand switch detects that the stick is in the stand state, or the stick is in the tilt state, or the stick is switched between the tilt state and the stand state for a preset number of times within a preset time period, the pairing response terminal and/or the pairing request terminal is awakened, so that the pairing response terminal is in a state capable of receiving the pairing signal and/or the pairing request terminal is in a state capable of transmitting the pairing signal.
Optionally, after the step of establishing the pairing relationship between the pairing responding end and the pairing requesting end, the pairing responding end and the pairing requesting end communicate and/or control with each other through the identification code. The identification code may be a first identification code and/or a second identification code.
For example, the pairing request terminal may transmit a wireless control signal containing an identification code to the pairing response terminal, and the pairing response terminal performs an action according to the wireless control signal when verifying that the identification code contained in the wireless control signal is the same as the identification code stored in the pairing response terminal.
Optionally, the pairing method further includes: and displaying the pairing state through an indicator lamp arranged on the pairing responding terminal and/or the pairing requesting terminal.
Wherein the pairing state may include: and the pairing starting state, the pairing success state and the pairing failure state after the pairing request terminal transmits the pairing signal.
For example, after the pairing request terminal transmits the pairing signal, the pairing request terminal may indicate a pairing start state through the indicator light to prompt the user to perform a corresponding pairing confirmation operation. Or after the pairing response end receives the pairing signal, the pairing response end can indicate the pairing starting state through the indicator lamp to prompt the user to execute corresponding pairing confirmation operation, and then the pairing response end obtains the corresponding pairing confirmation operation signal.
An example of a pairing method for a cleaning device is further provided in the embodiments of the present application, where a pairing request end is a handle, and a pairing response end is a cleaning host, as shown in fig. 3, the specific steps are as follows:
and S301, after the pressing operation of the function key on the handle is detected, the handle sends a pairing signal to the cleaning host.
S302, the cleaning host receives the pairing signal.
And S303, the controller corresponding to the cleaning host checks and confirms the pairing signal according to the confirmation operation detection signal triggered by the vertical switch.
And S304, establishing a pairing relation between the cleaning host and the handle after the confirmation is passed.
The specific implementation process of steps S301 to S304 may refer to steps S201 to S203, and this embodiment is not described herein again.
An example of a pairing method for a cleaning device is further provided in the embodiments of the present application, where a pairing request end is a cleaning host, and a pairing response end is a handle, as shown in fig. 2, the specific steps are as follows:
s401, after the operation of the handlebar is detected through the upright switch, the cleaning host sends a pairing signal to the handle.
S402, the handle receives the pairing signal.
And S403, the controller corresponding to the handle verifies and confirms the pairing signal according to the confirmation operation detection signal triggered by the function key.
And S404, establishing a pairing relation between the cleaning host and the handle after the confirmation is passed.
The specific implementation process of steps S401 to S404 may refer to steps S201 to S203, and this embodiment is not described herein again.
Based on the same technical concept, as shown in fig. 5, an embodiment of the present application further provides a cleaning device, where the cleaning device includes a pairing response terminal 501 and a pairing request terminal 502;
a pairing response terminal 501, configured to receive a pairing signal from the pairing request terminal 502;
the controller 503 corresponding to the pairing response terminal 501 is configured to verify and confirm the pairing signal, and establish a pairing relationship between the pairing response terminal 501 and the pairing request terminal 502 after the confirmation is passed.
Optionally, the controller 503 is specifically configured to perform verification and confirmation on the pairing signal according to the acquired confirmation operation detection signal.
Optionally, the cleaning device includes a stick and an upright switch, the upright switch is configured to detect an upright/inclined state of the stick, and the controller 503 is specifically configured to: and verifying and confirming the pairing signal according to a confirmation operation detection signal triggered by the upright switch.
Optionally, the cleaning device is provided with a function key, and the controller 503 is specifically configured to: and verifying and confirming the pairing signal according to a confirmation operation detection signal triggered by the function key.
Optionally, the controller 503 is specifically configured to: and checking and confirming the pairing signal according to the signal strength of the pairing signal.
Optionally, the controller 503 is specifically configured to: determining a pairing signal with highest signal strength in the received pairing signals; and establishing a pairing relationship between the pairing responding terminal 501 and the pairing requesting terminal 502 corresponding to the pairing signal with the highest signal strength.
Optionally, the cleaning device further comprises a wake-up module; the wake-up module is configured to:
according to the obtained wake-up operation detection signal, the pairing response terminal 501 and/or the pairing request terminal 502 are/is waken up.
Optionally, the pairing signal includes an identification code, and the pairing response terminal 501 and the pairing request terminal 502 communicate and/or control with each other through the identification code.
Optionally, the pairing responding terminal 501 is configured to display a pairing state through an indicator light arranged on the pairing responding terminal 501; and/or the pairing request terminal 502 is configured to display a pairing status through an indicator lamp disposed on the pairing request terminal 502.
Optionally, the controller 503 is specifically configured to: and when the confirmation operation detection signal triggered by the upright switch indicates that the barre is switched between the upright state and the inclined state for a preset number of times, the pairing signal is confirmed to pass.
Optionally, the vertical switch is a mechanical switch, an optoelectronic switch, or a magnetic switch.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the cleaning apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to some descriptions of the method embodiment for relevant points.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.