CN117915416A - Communication method, base station and system of intelligent household cleaning equipment and target base station - Google Patents

Communication method, base station and system of intelligent household cleaning equipment and target base station Download PDF

Info

Publication number
CN117915416A
CN117915416A CN202410079647.1A CN202410079647A CN117915416A CN 117915416 A CN117915416 A CN 117915416A CN 202410079647 A CN202410079647 A CN 202410079647A CN 117915416 A CN117915416 A CN 117915416A
Authority
CN
China
Prior art keywords
base station
target base
cleaning equipment
intelligent household
household cleaning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410079647.1A
Other languages
Chinese (zh)
Inventor
陈卓
吕文艺
卓深
侯伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wocao Technology Shenzhen Co ltd
Original Assignee
Wocao Technology Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wocao Technology Shenzhen Co ltd filed Critical Wocao Technology Shenzhen Co ltd
Priority to CN202410079647.1A priority Critical patent/CN117915416A/en
Publication of CN117915416A publication Critical patent/CN117915416A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a communication method, a base station and a system of intelligent household cleaning equipment and a target base station. The method comprises the following steps: under the condition of establishing communication connection with a target base station, sending an interaction command to the target base station; receiving an interaction command response of the target base station based on interaction command feedback; analyzing the interaction command response to obtain coding information of the interaction command response, and determining the base station type of the target base station according to the coding information; and executing the function tasks corresponding to the base station types in cooperation with the target base station. By adopting the method, the intelligent household cleaning equipment can accurately identify the type of the connected base station, and further execute the corresponding functional task.

Description

Communication method, base station and system of intelligent household cleaning equipment and target base station
Technical Field
The application relates to the technical field of intelligent cleaning, in particular to a communication method, a base station and a system of intelligent household cleaning equipment and a target base station.
Background
Typically, a smart home cleaning device (e.g., a cleaning robot) communicates wirelessly with a corresponding base station, so that the smart home cleaning device can perform tasks corresponding to the base station. Along with the development of intelligent cleaning technology field, the intelligent household cleaning equipment which can correspond to a plurality of different base stations gradually appears, and the intelligent household cleaning equipment can be matched with the different base stations to finish various tasks.
However, the base station can be moved, and the current wireless positioning effect cannot well accurately position a plurality of base stations close to each other, so that the problem that the intelligent household cleaning equipment is difficult to identify a specific corresponding target base station is caused by simply relying on wireless communication, the intelligent household cleaning equipment is affected to finish tasks corresponding to the target base station, and the base station and the intelligent household cleaning equipment are damaged due to the fact that the intelligent household cleaning equipment is docked with the wrong base station and the non-corresponding functional tasks are performed.
Disclosure of Invention
Based on the above, it is necessary to provide a communication method, device and computer device for a smart home cleaning device and a target base station, so that the smart home cleaning device can accurately identify the base station type of the connected target base station, and further execute corresponding functional tasks.
In a first aspect, the present application provides a communication method between an intelligent home cleaning device and a target base station, which is applied to the intelligent home device, and includes:
Under the condition of establishing communication connection with a target base station, sending an interaction command to the target base station;
receiving an interaction command response of the target base station based on interaction command feedback;
Analyzing the interaction command response to obtain coding information of the interaction command response, and determining the base station type of the target base station according to the coding information;
And executing the function tasks corresponding to the base station types in cooperation with the target base station.
In one embodiment, if the base station type is a water exchange base station, the functional task is a water exchange task that the target base station performs a water exchange operation on the intelligent home cleaning device, and/or a charging task that the intelligent home cleaning device performs a charging operation on the target base station; if the base station type is a water base station, the functional task is a water adding task for the intelligent household cleaning equipment to execute water adding operation on the target base station; if the base station type is a water treatment base station, the functional task is a water pumping task for the intelligent household cleaning equipment to perform water pumping operation on the target base station; if the base station type is a dust collecting base station, the functional task is a dust collecting task of the target base station for executing dust collecting operation on the intelligent household cleaning equipment; if the base station type is the charging base station, the functional task is a charging task of the target base station for executing charging operation on the intelligent household cleaning equipment.
In one embodiment, the method for cooperating with the target base station to execute the functional tasks corresponding to the base station types includes: under the condition that the base station type is matched with the requirement type, executing a function task corresponding to the base station type with the target base station; and under the condition that the base station type is not matched with the requirement type, the function task corresponding to the base station type is not matched with the target base station any more, a new target base station is selected from at least one candidate base station, and communication connection with the new target base station is established.
In one embodiment, in a case of establishing a communication connection with a target base station, sending an interaction command to the target base station includes: under the condition of establishing wired communication connection with a target base station, sending an interaction command to the target base station; accordingly, after receiving the interaction command response based on the interaction command feedback from the target base station, the method further comprises: and disconnecting the wired communication connection with the target base station.
In one embodiment, establishing a wired communication connection with a target base station includes: and docking the intelligent household cleaning equipment with the target base station, and electrically connecting a docking electrode of the intelligent household cleaning equipment with a docking electrode of the target base station so as to establish wired communication connection with the target base station.
In one embodiment, sending the interaction command to the target base station includes: receiving an interaction synchronization signal sent by a target base station; and transmitting an interaction command to the target base station in response to the interaction synchronization signal.
In one embodiment, before receiving the interaction synchronization signal sent by the target base station, the method further includes: sending a wake-up signal to a target base station, and receiving a handshake signal fed back by the target base station in response to the wake-up signal; and responding to the handshake signals, and sending handshake signal responses to the target base station.
In a second aspect, the present application further provides a communication method between the smart home cleaning device and the target base station, which is applied to the target base station, and includes:
Under the condition of establishing communication connection with the intelligent household cleaning equipment, acquiring an interaction command sent by the intelligent household cleaning equipment;
Responding to the interaction command, and feeding back an interaction command response to the intelligent household cleaning equipment so that the intelligent household cleaning equipment can execute a functional task corresponding to the base station type determined by the interaction command response in cooperation with the target base station; wherein, the coding information of the interaction command response corresponding to different base station types is different.
In one embodiment, the method further comprises: if the base station type is a water changing base station, the functional task is a water changing task of the target base station for executing water changing operation on the intelligent household cleaning equipment and/or a charging task of the intelligent household cleaning equipment for executing charging operation on the target base station; if the base station type is a water base station, the functional task is a water adding task for the intelligent household cleaning equipment to execute water adding operation on the target base station; if the base station type is a water treatment base station, the functional task is a water pumping task for the intelligent household cleaning equipment to perform water pumping operation on the target base station; if the base station type is a dust collecting base station, the functional task is a dust collecting task of the target base station for executing dust collecting operation on the intelligent household cleaning equipment; if the base station type is the charging base station, the functional task is a charging task of the target base station for executing charging operation on the intelligent household cleaning equipment.
In one embodiment, under the condition of establishing communication connection with the smart home cleaning device, acquiring an interaction command sent by the smart home cleaning device includes: under the condition of establishing wired communication connection with the intelligent household cleaning equipment, acquiring an interaction command sent by the intelligent household cleaning equipment; accordingly, after feeding back the interaction command response to the smart home cleaning device, the method further comprises: and disconnecting the wired communication connection with the intelligent household cleaning equipment.
In one embodiment, establishing a wired communication connection with a smart home cleaning device includes: and docking the intelligent household cleaning equipment by using the target base station, and electrically connecting a docking electrode of the target base station with a docking electrode of the intelligent household cleaning equipment so as to establish wired communication connection with the intelligent household cleaning equipment.
In one embodiment, obtaining an interaction command sent by the smart home cleaning device includes: transmitting an interaction synchronization signal to the intelligent household cleaning equipment; acquiring an interaction command fed back by the intelligent household cleaning equipment based on the interaction synchronous signal; correspondingly, disconnecting the wired communication connection with the smart home cleaning device, comprising: continuously transmitting interaction synchronizing signals for preset times to the intelligent household cleaning equipment again; if the interaction command of the intelligent household cleaning equipment responding to the interaction synchronous signal feedback is not received within the preset time period, the wired communication connection with the intelligent household cleaning equipment is disconnected.
In one embodiment, before sending the interaction synchronization signal to the smart home cleaning device, the method further includes: receiving a wake-up signal sent by the intelligent household cleaning equipment, and responding to the wake-up signal, and sending a handshake signal to the intelligent household cleaning equipment; and receiving handshake signal responses of the intelligent household cleaning equipment based on handshake signal feedback.
In a third aspect, the present application also provides an intelligent home cleaning device, including:
the interactive command sending module is used for sending an interactive command to the target base station under the condition of establishing communication connection with the target base station;
the response receiving module is used for receiving an interaction command response fed back by the target base station based on the interaction command;
The base station type determining module is used for analyzing the interaction command response to obtain coding information of the interaction command response, and determining the base station type of the target base station according to the coding information;
And the task execution module is used for executing the functional task corresponding to the base station type in cooperation with the target base station.
In a fourth aspect, the present application also provides a target base station, including:
the interaction command acquisition module is used for acquiring an interaction command sent by the intelligent household cleaning equipment under the condition that communication connection is established between the interaction command acquisition module and the intelligent household cleaning equipment;
The response feedback module is used for responding to the interaction command and feeding back the interaction command response to the intelligent household cleaning equipment so that the intelligent household cleaning equipment can execute the functional task corresponding to the base station type determined by the interaction command response in cooperation with the base station; wherein, the coding information of the interaction command response corresponding to different base station types is different.
In a fifth aspect, the present application further provides a cleaning system, including a smart home cleaning device and at least one target base station.
In a sixth aspect, the application also provides a computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
According to the communication method, the base station and the system of the intelligent household cleaning equipment and the target base station, the intelligent household cleaning equipment sends the interaction command to the target base station and receives the interaction command response fed back by the target base station based on the interaction command under the condition that communication connection is established between the intelligent household cleaning equipment and the target base station. The intelligent household cleaning equipment analyzes the interaction command response to obtain coding information of the interaction command response, so that the type of the target base station is determined according to the coding information, and after the type of the target base station is determined, the intelligent household cleaning equipment cooperates with the target base station to execute functional tasks corresponding to the target base station. When the base station type of the target base station is determined, the base station type of the target base station can be accurately determined according to the coding information of the interaction command response fed back by the target base station, and the coding information of the interaction command response corresponding to the base stations of different types is different, so that the intelligent household cleaning equipment and the target base station can cooperate to execute corresponding functional tasks conveniently.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are required to be used in the embodiments or the related technical descriptions will be briefly described, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
Fig. 1 is an application environment diagram of a communication method between an intelligent home cleaning device and a target base station provided in this embodiment;
fig. 2 is a flow chart of a communication method between an intelligent home cleaning device and a target base station provided in this embodiment;
Fig. 3 is a schematic flow chart of a functional task executed by the intelligent home cleaning device and the target base station in cooperation with each other according to the embodiment;
fig. 4 is a schematic flow chart of sending an interaction command to a target base station by the smart home cleaning device according to the present embodiment;
Fig. 5 is a schematic diagram of a wired communication anomaly of a target base station according to the present embodiment;
fig. 6 is a flowchart of another communication method between an intelligent home cleaning device and a target base station according to the present embodiment;
Fig. 7 is a schematic diagram of determining whether an intelligent home cleaning device receives an interaction command response according to the present embodiment;
Fig. 8 is a schematic flow chart of a target base station sending an interaction synchronization signal to an intelligent home cleaning device according to the present embodiment;
fig. 9 is a schematic diagram of abnormal wired communication of the smart home cleaning device according to the present embodiment;
Fig. 10 is a flowchart of another communication method between an intelligent home cleaning device and a target base station according to the present embodiment;
Fig. 11 is a block diagram of a structure of an intelligent home cleaning device according to the present embodiment;
fig. 12 is a block diagram of a target base station according to the present embodiment;
fig. 13 is an internal structure diagram of a computer device according to the present embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Before the embodiment of the application is introduced, it is required to be noted that in general, the existing intelligent household cleaning equipment and the single base station matched with the intelligent household cleaning equipment are interacted only through wireless communication, so that the base station and the intelligent household cleaning equipment can be matched to execute corresponding tasks. However, when one smart home cleaning device can interact with multiple types of base stations, if the base stations are located close to each other, the smart home cleaning device cannot be located to a specific base station through wireless communication at the moment, and the smart home cleaning device can be affected to execute corresponding tasks. Accordingly, in the scenario where the smart home cleaning device is capable of interacting with multiple types of base stations, it is desirable to provide a method that can help the smart home cleaning device identify the type of base station.
The communication method between the intelligent home cleaning equipment and the target base station provided by the embodiment of the application can be applied to the cleaning system shown in fig. 1, wherein the cleaning system comprises the intelligent home cleaning equipment (such as a cleaning robot) and at least one target base station. Wherein the smart home cleaning device 102 may communicate with a plurality (e.g., N) of base stations. In different scenarios, any base station may be used as the target base station, and the target base station is exemplified as the target base station 104 shown in fig. 1. Specifically, the smart home cleaning device 102 may send an interaction command to the target base station 104 when a communication connection is established with the target base station 104, and receive an interaction command response from the target base station 104 based on the interaction command feedback. The smart home cleaning device 102 parses the interaction command response to obtain coding information of the interaction command response, determines a base station type of the target base station 104 according to the coding information, and then the smart home cleaning device 102 and the target base station 104 can cooperate to execute a functional task corresponding to the base station type.
In one embodiment, as shown in fig. 2, a communication method between a smart home cleaning device and a target base station is provided, and the method is applied to the smart home cleaning device 102 in fig. 1 for illustration, and includes the following steps:
s201, in the case of establishing a communication connection with the target base station, sending an interaction command to the target base station.
The target base station may be a base station which is in communication connection with the intelligent home cleaning device at the current moment, or may be one or a plurality of base stations, which is not limited. The interaction command can be used to characterize the interaction requirements currently existing in the smart home cleaning device. It should be noted that the communication connection between the smart home cleaning device and the target base station may include a wireless communication connection and a wired communication connection.
Optionally, in this embodiment, under a condition that a communication connection is established between the smart home cleaning device and the base station, the base station may send a prompt message to the smart home cleaning device, and after receiving the prompt message, the smart home cleaning device determines that the communication connection is established with the base station, and uses the base station as the target base station. And then, the intelligent household cleaning equipment can generate an interaction command according to the current interaction demand and send the interaction command to the target base station. The process of generating the interaction command according to the current interaction requirement is a conventional process of signal generation, and will not be described herein.
S202, receiving interaction command response fed back by the target base station based on the interaction command.
The interaction command response may be a response signal generated after the target base station receives the interaction command, and is used to inform the smart home cleaning device that the target base station has received the interaction command.
Specifically, in this embodiment, after receiving the interaction command, the target base station generates an interaction command response, and feeds back the interaction command response to the smart home cleaning device. At this time, the smart home cleaning device may receive the interaction command response and determine that the target base station has received the interaction command.
S203, analyzing the interaction command response to obtain coding information of the interaction command response, and determining the base station type of the target base station according to the coding information.
The coding information of the interaction command response may be used to characterize the base station type corresponding to the target base station, and it may be understood that the coding information corresponding to the interaction command response generated by the base stations of different types based on the interaction command is different.
Optionally, in this embodiment, the interaction command response may be input to a pre-trained information analysis model, where the information analysis model analyzes the received data and outputs the encoded information of the interaction command response. In another implementation manner, the interaction command response can be marked with corresponding coding information, and after the intelligent household cleaning device receives the interaction command response, the intelligent household cleaning device can acquire the marking information so as to determine the coding information of the interaction command response.
It should be noted that the information analysis model may be constructed based on a common neural network, which is not described herein. Further, the process of training the information analysis model may be that the interactive command response sample and the coded information label corresponding to the sample are input into the information analysis model, and the information analysis model is subjected to supervised training according to the predictive coding information and the coded information label output by the information analysis model, so that the coding information prediction accuracy of the information analysis model is improved.
Further, according to the coding information of the interaction command response, a preset coding information-base station type comparison table is queried, and the base station type corresponding to the coding information of the interaction command response is taken as the base station type of the target base station. The "code information-base station type comparison table" may be determined based on manual experience, or may be determined through a large number of experiments, which is not limited.
S204, executing the function task corresponding to the base station type in cooperation with the target base station.
It can be understood that the base stations of different base station types correspond to different functional tasks, so in this embodiment, after determining the base station type of the target base station, the smart home cleaning device may cooperate with the target base station to execute the functional task corresponding to the target base station. For example, if the base station type of the target base station is a water change base station, the smart home cleaning device may perform a water change task and/or a charging task in cooperation with the target base station. Different functional tasks corresponding to different base station types are described in detail in the following embodiments, and are not described herein.
Specifically, in this embodiment, when determining the base station type of the target base station, the smart home cleaning device may control itself to execute the functional task corresponding to the target base station.
In the communication method between the intelligent household cleaning equipment and the target base station, the intelligent household cleaning equipment sends the interaction command to the target base station under the condition that communication connection is established between the intelligent household cleaning equipment and the target base station, and receives the interaction command response fed back by the target base station based on the interaction command. The intelligent household cleaning equipment analyzes the interaction command response to obtain coding information of the interaction command response, so that the type of the target base station is determined according to the coding information, and after the type of the target base station is determined, the intelligent household cleaning equipment cooperates with the target base station to execute functional tasks corresponding to the target base station. When the base station type of the target base station is determined, the base station type of the target base station can be accurately determined according to the coding information of the interaction command response fed back by the target base station, and the coding information of the interaction command response corresponding to the base stations of different types is different, so that the intelligent household cleaning equipment and the target base station can cooperate to execute corresponding functional tasks conveniently.
Based on the above embodiments, it can be understood that, if the base station types of the target base station are different, the processes of executing the functional tasks corresponding to the base station types by the intelligent home cleaning device and the target base station in cooperation are correspondingly different. Further, the base station type of the target base station connected to the smart home cleaning device at the current time is not necessarily matched with the requirement existing at the current time of the smart home cleaning device, so as shown in fig. 3, the base station type corresponding function task is executed in cooperation with the target base station, which includes:
S301, starting.
S302, judging whether the base station type is matched with the demand type.
The requirement type can be a requirement type corresponding to a requirement existing at the current moment of the intelligent household cleaning equipment. The type of the requirements of the smart home cleaning device may be, for example, water changing requirements, dust collecting requirements, etc., which are not limited.
Optionally, in this embodiment, the current requirement of the smart home cleaning device may be determined based on a user operation, or may be obtained based on monitoring information of the water tank or the dust box. For example, after receiving a water change instruction sent by a user through an application program corresponding to the intelligent home cleaning device, the intelligent home cleaning device may determine that a type of demand corresponding to the current moment is a water change demand. When detecting that dust in the dust box reaches the preset upper limit of dust collection, the intelligent household cleaning equipment can determine that the type of the requirement corresponding to the current moment is the dust collection requirement.
Specifically, after determining the base station type, the smart home cleaning device may determine whether the base station type is consistent with the requirement type, if so, determine that the base station type is matched with the requirement type, otherwise, determine that the base station type is not matched with the requirement type.
S303, under the condition that the base station type is matched with the requirement type, the function task corresponding to the base station type is matched with the target base station.
Specifically, in this embodiment, the smart home cleaning device cooperates with the target base station to execute the functional task corresponding to the base station type under the condition that it is determined that the base station type is matched with the requirement type.
Optionally, under the condition that base station types are different, the intelligent household cleaning equipment can execute different functional tasks respectively, so that the effect of the intelligent household cleaning equipment can be more various. For example, if the base station type is a water changing base station, the functional task is a water changing task that the target base station performs a water changing operation on the smart home cleaning device, and/or a charging task that the smart home cleaning device performs a charging operation on the target base station; if the base station type is a water base station (such as a humidifier), the functional task is a water adding task that the intelligent household cleaning equipment performs water adding operation on the target base station; if the base station type is a water treatment base station (such as a dehumidifier), the functional task is a water pumping task of the intelligent household cleaning equipment for performing water pumping operation on the target base station; if the base station type is a dust collecting base station, the functional task is a dust collecting task of the target base station for executing dust collecting operation on the intelligent household cleaning equipment; if the base station type is the charging base station, the functional task is a charging task of the target base station for executing charging operation on the intelligent household cleaning equipment.
It should be noted that, in the case that the base station type is a water-changing base station, the executed functional task may be that the target base station changes water for the smart home cleaning device; the intelligent household cleaning equipment can also be used for charging the target base station; and the operation that the target base station changes water for the intelligent household cleaning equipment and the operation that the intelligent household cleaning equipment charges for the target base station can be executed simultaneously.
And S304, under the condition that the base station type is not matched with the requirement type, the function task corresponding to the base station type is not matched with the target base station any more, a new target base station is selected from at least one candidate base station, and communication connection with the new target base station is established.
The candidate base stations can be other base stations except the target base station, and each candidate base station can establish communication connection with the intelligent household cleaning equipment.
Specifically, in this embodiment, if the base station type is not matched with the requirement type of the smart home cleaning device, the functional task corresponding to the base station type does not need to be executed in cooperation with the target base station, so that damage to the smart home cleaning device or the target base station caused by execution of an erroneous functional task by the smart home cleaning device and the target base station is avoided. Further, the smart home cleaning device may randomly select one of the candidate base stations as a new target base station, and establish a communication connection with the new target base station, and continue to perform the operation of S201. Until the intelligent household cleaning equipment finds the base station type matched with the requirement type and cooperates with the target base station to execute the corresponding functional task.
In the above embodiment, the base station type is matched with the requirement type of the intelligent home cleaning device, and the functional task corresponding to the base station type is executed in cooperation with the target base station only when the base station type is matched with the requirement type. And under the condition that the base station type is not matched with the requirement type, the functional task corresponding to the base station type of the target base station is not executed, and a new target base station is reselected and communication connection is established. Therefore, the intelligent household cleaning equipment can find the base station type matched with the requirement type, complete the functional task corresponding to the requirement type of the intelligent household cleaning equipment, and avoid the damage to the intelligent household cleaning equipment or the target base station caused by the fact that the intelligent household cleaning equipment and the target base station execute wrong functional tasks.
Further, in order to improve the accuracy of determining the base station type of the target base station, in the above embodiments, in one embodiment, the smart home cleaning device may send the interaction command to the target base station in the case of establishing a wired communication connection, for example, an input/output pin (IO pin) communication connection, with the target base station. Further, after receiving the interaction command response fed back by the target base station based on the interaction command, the intelligent household cleaning equipment disconnects the wired communication connection with the target base station. After the wired communication connection with the target base station is disconnected, the intelligent household cleaning equipment and the target base station can still maintain wireless communication connection so as to execute corresponding functional tasks (such as water changing task, dust collecting task and water pumping task) in cooperation with the target base station.
For example, the smart home cleaning device may be connected to the target base station through a pole piece. When the intelligent household cleaning equipment has interaction requirements, the intelligent household cleaning equipment can be controlled to be in butt joint with the target base station, and the butt joint electrode of the intelligent household cleaning equipment is electrically connected with the butt joint electrode of the target base station so as to establish wired communication connection with the target base station. It can be appreciated that after the docking electrode of the smart home cleaning device is electrically connected with the docking electrode of the target base station, a wired communication connection can be established between the smart home cleaning device and the target base station.
Optionally, the docking electrode of the smart home cleaning device is in single-bus communication connection with the docking electrode of the target base station, the smart home cleaning device comprises a first docking electrode and a second docking electrode, when the smart home cleaning device performs wired communication with the target base station, the first docking electrode is used for performing single-bus communication with the target base station, and the second docking electrode is used for being grounded; when the intelligent household cleaning equipment and the target base station are charged, the intelligent household cleaning equipment and the target base station are disconnected from wired communication connection, the first butt-joint electrode is used for charging with the target base station, and the second butt-joint electrode is used for grounding. By using the first docking electrode of the smart home cleaning device for single bus communication with the target base station, the number of docking electrodes of the smart home cleaning device can be reduced relative to a two-wire communication connection, and the first docking electrode can be reused for charging or communication.
In this embodiment, the interaction command is sent to the target base station only when the smart home cleaning device is connected to the target base station in a wired communication manner (i.e., when the smart home cleaning device has traveled in front of the target base station). Compared with the wireless communication connection, the wired communication connection is higher in speed and stable in the process of information transmission, so that the embodiment can ensure accurate transmission of the interactive command and the interactive command response. In addition, the whole process is carried out under the condition that the intelligent household cleaning equipment is advanced to the target base station, so that preparation can be made for the intelligent household cleaning equipment and the target base station to execute the functional tasks corresponding to the base station types in a matched mode under the condition that the base station type of the target base station is matched with the requirement type of the intelligent household cleaning equipment. If the intelligent home cleaning equipment is only in wireless communication connection with the target base station, even if the intelligent home cleaning equipment determines the base station type of the target base station according to the coding information of the interaction command response, when a plurality of target base stations are adjacently arranged, the intelligent home cleaning equipment cannot determine which target base station is the interaction command response sent out, and cannot find the corresponding target base station to execute the function task corresponding to the base station type in cooperation with the corresponding target base station.
Further, if the base station type of the target base station is not matched with the requirement type of the intelligent household cleaning equipment, the intelligent household cleaning equipment is driven away from the target base station, a new target base station is selected and is advanced to the new target base station, so that the intelligent household cleaning equipment can find the base station matched with the requirement type, and functional tasks corresponding to the requirement type of the intelligent household cleaning equipment are completed.
On the basis of the above embodiments, further, in order to ensure that the smart home cleaning device and the target base station can perform information transmission in the case of establishing a communication connection between the smart home cleaning device and the target base station, in one embodiment, as shown in fig. 4, sending an interaction command to the target base station includes:
S401, receiving an interaction synchronization signal sent by a target base station.
The interaction synchronization signal may be a signal generated by the target base station and used for requesting the intelligent household cleaning device to synchronize the interaction command. It can be understood that in this embodiment, if the smart home cleaning device receives the interaction synchronization signal sent by the target base station, it is determined that the line for the target base station to send information to the smart home cleaning device is on.
Further, in order to further determine whether the wired communication between the smart home cleaning device and the target base station is successful, in this embodiment, before the smart home cleaning device receives the interaction synchronization signal sent by the target base station, a wake-up signal may be sent to the target base station, and a handshake signal fed back by the target base station in response to the wake-up signal is received; and responding to the handshake signals, and sending handshake signal responses to the target base station.
Wherein the wake-up signal is used to wake up the target base station, illustratively, from a sleep mode to an operational mode. The handshaking signal may be a signal generated by the target base station for determining whether the target base station is capable of transmitting information to the intelligent home cleaning appliance. The handshaking signal response may be a signal generated by the smart home cleaning device in response to the handshaking signal for determining whether the smart home cleaning device is capable of sending information to the target base station.
In an exemplary case where the smart home cleaning device establishes a communication connection with the target base station, the smart home cleaning device transmits a wake-up signal to the target base station, and the target base station transmits a handshake signal to the smart home cleaning device after receiving the wake-up signal. If the intelligent household cleaning equipment receives the handshake signal fed back by the target base station, the intelligent household cleaning equipment sends handshake signal response to the target base station to inform the target base station that the handshake signal is received, at the moment, the line for the target base station to send information to the intelligent household cleaning equipment is determined to be on, and the line for the intelligent household cleaning equipment to send information to the target base station is also on.
In one case, if the smart home cleaning device does not receive the handshake signal within the first preset period, as shown in fig. 5, the smart home cleaning device considers that the target base station may not be successfully docked with the smart home cleaning device, and sends the wake-up signal to the target base station again within the second preset period, after repeatedly sending the preset times, if the handshake signal fed back by the target base station is not received all the time, it is determined that the target base station is not successfully docked with the smart home cleaning device, at this time, it is determined that the line of the target base station for sending the signal to the smart home cleaning device is not through (i.e., the wired communication of the target base station is abnormal), and the docking with the target base station is attempted again, or a base station is reselected as a new target base station. The first preset time period, the second preset time period and the preset times can be determined based on manual experience, can be determined through a large number of experiments, can be determined based on operation parameters of the intelligent household cleaning equipment, and are not limited.
Specifically, in this embodiment, the smart home cleaning device may receive an interaction synchronization signal sent by the target base station. The manner in which the smart home cleaning device receives the interaction synchronization signal sent by the target base station is consistent with the manner in which the smart home cleaning device receives other common signals, and will not be described in detail herein.
And S402, in response to the interaction synchronous signal, sending an interaction command to the target base station.
Specifically, in this embodiment, after the smart home cleaning device receives the interaction synchronization signal, an interaction command is sent to the target base station, and the detailed process is described in detail in S201, which is not described herein.
In the above embodiment, after receiving the interaction synchronization signal sent by the target base station, the smart home cleaning device sends the interaction command to the target base station, that is, on the premise that it is determined that the line of sending information from the target base station to the smart home cleaning device is on, the smart home cleaning device sends the interaction command to the target base station, so that the target base station can feed back the interaction command response to the smart home cleaning device under the condition that the interaction command is received, and whether the interaction command is received by the target base station is convenient is conveniently determined.
In one embodiment, as shown in fig. 6, a communication method between the smart home cleaning device and the target base station is provided, and the method is applied to the target base station 104 in fig. 1 for illustration, and includes the following steps:
S601, under the condition that communication connection is established with the intelligent household cleaning equipment, an interaction command sent by the intelligent household cleaning equipment is obtained.
Specifically, in this embodiment, when the target base station establishes communication connection with the smart home cleaning device, the target base station may acquire an interaction command sent by the smart home cleaning device. The process of sending the interaction command to the target base station by the smart home cleaning device is described in detail in S201, and will not be described in detail herein.
S602, responding to the interaction command, and feeding back the interaction command response to the intelligent household cleaning equipment so that the intelligent household cleaning equipment can execute the functional task corresponding to the base station type determined by the interaction command response in cooperation with the target base station.
Wherein, the coding information of the interaction command response corresponding to different base station types is different.
Specifically, in this embodiment, after receiving the interaction command, the target base station may feed back the interaction command response to the smart home cleaning device, so that the smart home cleaning device cooperates with the target base station to execute a functional task corresponding to the base station type determined by the interaction command response. The process of determining the base station type of the target base station is described in detail in S203, and in addition, the process of executing the functional task corresponding to the base station type by the smart home cleaning device and the target base station in cooperation is described in detail in S204, which is not described here.
In the above embodiment, when the smart home cleaning device establishes communication connection with the target base station, the target base station sends an interaction command to the target base station, and at this time, the target base station receives the interaction command sent by the smart home cleaning device and feeds back an interaction command response to the smart home cleaning device. And then, the intelligent household cleaning equipment analyzes the interaction command response to obtain coding information of the interaction command response, so that the type of the target base station is determined according to the coding information, and after the type of the target base station is determined, the intelligent household cleaning equipment cooperates with the target base station to execute the functional tasks corresponding to the target base station. When the base station type of the target base station is determined, the base station type of the target base station can be accurately determined according to the coding information of the interaction command response fed back by the target base station and the coding information of the interaction command response corresponding to the base stations of different types, so that the intelligent household cleaning equipment can conveniently execute subsequent functional tasks together with the target base station.
Further, in order to improve the accuracy of determining the base station type of the target base station, in one embodiment, the target base station may acquire the interaction command sent by the smart home cleaning device when a wired communication connection (for example, an input/output pin (IO pin)) is established with the smart home cleaning device. It can be understood that, in the process of establishing wired communication connection between the target base station and the smart home cleaning device, the process of establishing wired communication connection between the smart home cleaning device and the target base station is the same as the process of establishing wired communication connection between the smart home cleaning device and the target base station, and the process of establishing wired communication connection between the smart home cleaning device and the target base station is described in detail in the above embodiments, which is not repeated herein.
For example, the process of receiving the interaction command sent by the smart home cleaning device by the target base station may also be: the target base station sends an interaction synchronization signal to the intelligent home cleaning equipment; and acquiring an interaction command fed back by the intelligent household cleaning equipment based on the interaction synchronous signal. The specific process is described in detail in S401 and S402, and will not be described here.
Further, the target base station may also disconnect the wired communication connection with the smart home cleaning device after feeding back the interaction command response to the smart home cleaning device. For example, after feeding back the interaction command response to the smart home cleaning device, the target base station determines that the smart home cleaning device can receive the interaction command response, and at this time, the wired communication connection with the smart home cleaning device is disconnected, and the target base station and the smart home cleaning device can still maintain the wireless communication connection, so that the smart home cleaning device and the target base station cooperate to perform corresponding functional tasks (such as a water changing task, a dust collecting task, and a water pumping task).
For example, the target base station may be electrically connected to the smart home cleaning device through a pole piece. When the intelligent household cleaning equipment has interaction requirements, the target base station can be utilized to be in butt joint with the intelligent household cleaning equipment, and the butt joint electrode of the target base station is electrically connected with the butt joint electrode of the intelligent household cleaning equipment so as to establish wired communication connection with the intelligent household cleaning equipment. It can be appreciated that after the docking electrode of the target base station is electrically connected with the docking electrode of the smart home cleaning device, a wired communication connection can be established between the target base station and the smart home cleaning device.
Optionally, the docking electrode of the target base station is in single-bus communication connection with the docking electrode of the intelligent household cleaning device, the target base station comprises a third docking electrode and a fourth docking electrode, when the target base station performs wired communication with the intelligent household cleaning device, the third docking electrode is used for performing single-bus communication with the intelligent household cleaning device, and the fourth docking electrode is used for being grounded; when the target base station and the intelligent household cleaning equipment are charged, the target base station and the intelligent household cleaning equipment are disconnected from wired communication connection, the third butt-joint electrode is used for charging with the intelligent household cleaning equipment, and the fourth butt-joint electrode is used for being grounded. By connecting the third docking electrode of the target base station with the smart home cleaning device in a single bus communication, the number of docking electrodes of the target base station can be reduced and the third docking electrode can be multiplexed for charging or communication relative to a two-wire communication connection. However, after the target base station feeds back the interaction command response to the smart home cleaning device, in order to determine that the smart home cleaning device has received the interaction command response, a process as shown in fig. 7 may also be performed, that is, a preset number of interaction synchronization signals are continuously sent to the smart home cleaning device again; if the interaction command of the intelligent household cleaning equipment responding to the interaction synchronous signal feedback is not received within the preset time period, the wired communication connection with the intelligent household cleaning equipment is disconnected. The preset times and the preset time periods may be determined based on manual experience, or may be determined through a large number of experiments, which is not limited.
It can be understood that, since the smart home cleaning device disconnects the wired communication connection with the target base station after receiving the interaction command response fed back by the target base station, the smart home cleaning device cannot receive the interaction synchronization signal sent by the target base station, i.e. cannot feed back the interaction command to the target base station when the smart home cleaning device has received the interaction command response. When continuously sending the interaction synchronous signals to the intelligent household cleaning equipment for the preset times again, if the target base station does not receive the interaction command fed back by the intelligent household cleaning equipment in response to the interaction synchronous signals within a preset time period, the target base station can determine that the interaction command response is received before the intelligent household cleaning equipment, at the moment, the wired communication connection with the intelligent household cleaning equipment is disconnected again, the wired communication connection can be disconnected again under the condition that the intelligent household cleaning equipment receives the interaction command response, and the execution of subsequent tasks is ensured; if the target base station still receives the interaction command fed back by the intelligent household cleaning equipment in response to the interaction synchronizing signal within the preset time period, the fact that the interaction command response is not received before the intelligent household cleaning equipment is indicated, and the target base station feeds back the interaction command response to the intelligent household cleaning equipment again in response to the interaction command.
On the basis of the above embodiments, further, in order to further determine whether the wired communication between the target base station and the smart home cleaning device is successful, in one embodiment, before the target base station sends the interaction synchronization signal to the smart home cleaning device, the method may further include the following steps as shown in fig. 8:
S801, a wake-up signal sent by the intelligent household cleaning equipment is received, and a handshake signal is sent to the intelligent household cleaning equipment in response to the wake-up signal.
Specifically, under the condition that the target base station and the intelligent household cleaning equipment are in communication connection, the intelligent household cleaning equipment sends a wake-up signal to the target base station, and after the target base station receives the wake-up signal, the target base station sends a handshake signal to the intelligent household cleaning equipment.
S802, receiving handshake signal response of the intelligent home cleaning equipment based on handshake signal feedback.
Specifically, the target base station may receive a handshake signal response fed back by the smart home cleaning device. It can be appreciated that, when the smart home cleaning device receives the handshake signal fed back by the target base station, the smart home cleaning device sends a handshake signal response to the target base station, so as to inform the target base station that the handshake signal is received. After the target base station receives the handshake signal response fed back by the intelligent home cleaning equipment, the line for the intelligent home cleaning equipment to send information to the target base station is determined to be on.
In one case, if the target base station does not receive the handshake signal response within the third preset period, as shown in fig. 9, the target base station considers that the smart home cleaning device may not be successfully docked with the target base station, and within the fourth preset period, the target base station sends handshake signals to the smart home cleaning device again, and after repeatedly sending the handshake signal response for preset times, if the handshake signal response fed back by the smart home cleaning device is not received all the time, it is determined that the smart home cleaning device is not successfully docked with the target base station, and the target base station enters a dormant state and waits for the smart home cleaning device to be docked again with the smart home cleaning device. At this time, the line for the intelligent household cleaning equipment to send information to the target base station is not enabled, namely, the wired communication of the intelligent household cleaning equipment is abnormal. The third preset period, the fourth preset period and the preset times can be determined based on manual experience, can be determined through a large number of experiments, can be determined based on operation parameters of the intelligent household cleaning equipment, and are not limited.
S803, sending an interaction synchronization signal to the intelligent household cleaning equipment.
Specifically, in this embodiment, after receiving the handshake signal response fed back by the smart home cleaning device, the target base station sends an interaction synchronization signal to the smart home cleaning device.
In the above embodiment, after receiving the wake-up signal sent by the smart home cleaning device, the target base station sends a handshake signal to the smart home cleaning device, and after receiving a handshake signal response fed back by the smart home cleaning device, sends an interaction synchronization signal to the smart home cleaning device. That is, under the condition that the line for transmitting information to the target base station by the intelligent household cleaning equipment is determined to be on, the interactive synchronous signal is transmitted to the intelligent household cleaning equipment, so that the interactive command can be fed back certainly under the condition that the intelligent household cleaning equipment receives the interactive synchronous signal, and meanwhile, whether the intelligent household cleaning equipment receives the interactive command response can be conveniently and subsequently judged by the transmission of the interactive synchronous signal.
In order to facilitate the understanding of the solution provided by the present embodiment, in one embodiment, as shown in fig. 10, the following steps are included:
S1001, the intelligent home cleaning equipment sends a wake-up signal to the target base station under the condition that communication connection is established between the intelligent home cleaning equipment and the target base station.
Specifically, the intelligent home cleaning device establishes a wired communication connection with a target base station, and includes: and controlling the intelligent household cleaning equipment to be in butt joint with the target base station, and electrically connecting a butt joint electrode of the intelligent household cleaning equipment with a butt joint electrode of the target base station so as to establish wired communication connection with the target base station.
S1002, the target base station transmits a handshake signal to the smart home cleaning device in response to the wake-up signal.
S1003, the intelligent home cleaning equipment responds to the handshaking signals and sends handshaking signal responses to the target base station.
And S1004, the target base station responds to the handshake signal response and sends an interaction synchronization signal to the intelligent home cleaning equipment.
S1005, the intelligent home cleaning equipment responds to the interaction synchronous signal and sends an interaction command to the target base station.
S1006, the target base station responds to the interaction command and feeds back an interaction command response to the intelligent household cleaning equipment.
S1007, the intelligent household cleaning equipment receives the interaction command response and disconnects the wired communication connection with the target base station.
S1008, the target base station continuously transmits interaction synchronous signals (2 times are taken as an example in the figure) to the intelligent household cleaning equipment again, and under the condition that the interaction command of the intelligent household cleaning equipment responding to the feedback of the interaction synchronous signals is not received within a preset time period, the wired communication connection with the intelligent household cleaning equipment is disconnected.
S1009, the intelligent home cleaning equipment analyzes the interaction command response to obtain coding information of the interaction command response, and determines the base station type of the target base station according to the coding information.
Wherein, the coding information of the interaction command response corresponding to different base station types is different.
S1010, judging whether the base station type is matched with the demand type, if so, executing S1011, otherwise, executing S1012.
S1011, under the condition that the base station type is matched with the requirement type, the intelligent household cleaning equipment cooperates with the target base station to execute the functional task corresponding to the base station type.
Specifically, if the base station type is a water changing base station, the functional task is a water changing task that the target base station performs a water changing operation on the intelligent home cleaning device, and/or a charging task that the intelligent home cleaning device performs a charging operation on the target base station; if the base station type is a water base station, the functional task is a water adding task for the intelligent household cleaning equipment to execute water adding operation on the target base station; if the base station type is a water treatment base station, the functional task is a water pumping task for the intelligent household cleaning equipment to perform water pumping operation on the target base station; if the base station type is a dust collecting base station, the functional task is a dust collecting task of the target base station for executing dust collecting operation on the intelligent household cleaning equipment; if the base station type is the charging base station, the functional task is a charging task of the target base station for executing charging operation on the intelligent household cleaning equipment.
S1012, under the condition that the base station type is not matched with the requirement type, the intelligent household cleaning equipment does not cooperate with the target base station to execute the function task corresponding to the base station type, selects a new target base station from at least one candidate base station, and establishes communication connection with the new target base station.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides the intelligent household cleaning equipment for realizing the communication method of the intelligent household cleaning equipment and the target base station. The implementation scheme of the solution provided by the device is similar to the implementation scheme recorded in the method, so the specific limitation in the embodiment of one or more smart home cleaning devices provided below can be referred to the limitation of the communication method between the smart home cleaning device and the target base station in the above, and will not be repeated here.
In one embodiment, as shown in fig. 11, there is provided a smart home cleaning device comprising: an interactive command transmitting module 1101, a response receiving module 1102, a base station type determining module 1103 and a task executing module 1104, wherein:
The interaction command sending module 1101 is configured to send an interaction command to a target base station when a communication connection is established with the target base station.
And the response receiving module 1102 is configured to receive an interaction command response based on the interaction command feedback by the target base station.
The base station type determining module 1103 is configured to parse the interaction command response to obtain encoded information of the interaction command response, and determine a base station type of the target base station according to the encoded information.
The task execution module 1104 is configured to cooperate with the target base station to execute a functional task corresponding to the base station type.
In one embodiment, the task execution module 1104 is specifically configured to, if the base station type is a water change base station, execute a water change task of the water change operation on the smart home cleaning device by the target base station, and/or execute a charging task of the charging operation on the target base station by the smart home cleaning device; if the base station type is a water base station, the functional task is a water adding task for the intelligent household cleaning equipment to execute water adding operation on the target base station; if the base station type is a water treatment base station, the functional task is a water pumping task for the intelligent household cleaning equipment to perform water pumping operation on the target base station; if the base station type is a dust collecting base station, the functional task is a dust collecting task of the target base station for executing dust collecting operation on the intelligent household cleaning equipment; if the base station type is the charging base station, the functional task is a charging task of the target base station for executing charging operation on the intelligent household cleaning equipment.
In one embodiment, the task execution module 1104 is further configured to cooperate with the target base station to execute a functional task corresponding to the base station type if the base station type matches the requirement type; and under the condition that the base station type is not matched with the requirement type, the function task corresponding to the base station type is not matched with the target base station any more, a new target base station is selected from at least one candidate base station, and communication connection with the new target base station is established.
In one embodiment, the interaction command sending module 1101 is specifically configured to send the interaction command to the target base station in a case where a wired communication connection is established with the target base station. Correspondingly, the response receiving module 1102 further includes a first disconnection unit, configured to disconnect the wired communication connection with the target base station after receiving the interaction command response fed back by the target base station based on the interaction command.
In one embodiment, the interactive command sending module 1101 includes a first wired communication connection unit for controlling the smart home cleaning device to dock with the target base station, and electrically connecting the docking electrode of the smart home cleaning device with the docking electrode of the target base station to establish a wired communication connection with the target base station.
In one embodiment, the interactive command transmitting module 1101 includes an interactive command transmitting unit for receiving an interactive synchronization signal transmitted by the target base station; and transmitting an interaction command to the target base station in response to the interaction synchronization signal.
In one embodiment, the interactive command sending unit is further configured to send a wake-up signal to the target base station before receiving the interactive synchronization signal sent by the target base station, and receive a handshake signal fed back by the target base station in response to the wake-up signal; and responding to the handshake signals, and sending handshake signal responses to the target base station.
In one embodiment, as shown in fig. 12, a target base station is provided, which includes an interactive command acquisition module 1201 and a response feedback module 1202. Wherein:
The interaction command obtaining module 1201 is configured to obtain an interaction command sent by the smart home cleaning device when a communication connection is established between the interaction command and the smart home cleaning device.
And the response feedback module 1202 is configured to respond to the interaction command, and feedback an interaction command response to the smart home cleaning device, so that the smart home cleaning device cooperates with the base station to execute a functional task corresponding to the base station type determined by the interaction command response.
Wherein, the coding information of the interaction command response corresponding to different base station types is different.
In one embodiment, the response feedback module 1202 is specifically configured to, if the base station type is a water-changing base station, perform a water-changing task of the target base station for performing a water-changing operation on the smart home cleaning device and/or perform a charging task of the smart home cleaning device for performing a charging operation on the target base station; if the base station type is a water base station, the functional task is a water adding task for the intelligent household cleaning equipment to execute water adding operation on the target base station; if the base station type is a water treatment base station, the functional task is a water pumping task for the intelligent household cleaning equipment to perform water pumping operation on the target base station; if the base station type is a dust collecting base station, the functional task is a dust collecting task of the target base station for executing dust collecting operation on the intelligent household cleaning equipment; if the base station type is the charging base station, the functional task is a charging task of the target base station for executing charging operation on the intelligent household cleaning equipment.
In one embodiment, the interactive command obtaining module 1201 is specifically configured to obtain an interactive command sent by the smart home cleaning device when a wired communication connection is established with the smart home cleaning device. Accordingly, the response feedback module 1202 includes a second disconnection unit for disconnecting the wired communication connection with the smart home cleaning device after feeding back the interaction command response to the smart home cleaning device.
In one embodiment, the interactive command acquisition module 1201 includes a second wired communication connection unit for interfacing with the smart home cleaning device using the target base station, and electrically connecting the docking electrode of the target base station with the docking electrode of the smart home cleaning device to establish a wired communication connection with the smart home cleaning device.
In one embodiment, the interactive command acquisition module 1201 includes an interactive command receiving unit for sending an interactive synchronization signal to the smart home cleaning device; and acquiring an interaction command fed back by the intelligent household cleaning equipment based on the interaction synchronous signal. Correspondingly, the second disconnection unit is specifically used for continuously sending interaction synchronization signals for preset times to the intelligent household cleaning equipment again; if the interaction command of the intelligent household cleaning equipment responding to the interaction synchronous signal feedback is not received within the preset time period, the wired communication connection with the intelligent household cleaning equipment is disconnected.
In one embodiment, the interactive command receiving unit is further configured to receive a wake-up signal sent by the smart home cleaning device before sending the interactive synchronization signal to the cleaning device, and send a handshake signal to the smart home cleaning device in response to the wake-up signal; and receiving handshake signal responses of the intelligent household cleaning equipment based on handshake signal feedback.
The above-mentioned respective modules in the smart home cleaning device and the target base station may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In an exemplary embodiment, a computer device, which may be a terminal, is provided, and an internal structure thereof may be as shown in fig. 13. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by the processor, implements a method of communication of the smart home cleaning device with a target base station. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 13 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one exemplary embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps described above when executing the computer program:
those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high density embedded nonvolatile memory, resistive random access memory (ReRAM), magneto-resistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (PHASE CHANGE memory, PCM), graphene memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (17)

1. A communication method of intelligent household cleaning equipment and a target base station, which is applied to the intelligent household cleaning equipment, is characterized by comprising the following steps:
Under the condition of establishing communication connection with a target base station, sending an interaction command to the target base station;
Receiving an interaction command response fed back by the target base station based on the interaction command;
Analyzing the interaction command response to obtain coding information of the interaction command response, and determining the base station type of the target base station according to the coding information;
And executing the functional tasks corresponding to the base station types in cooperation with the target base station.
2. The method according to claim 1, wherein the method further comprises:
If the base station type is a water changing base station, the functional task is a water changing task of the target base station for executing water changing operation on the intelligent household cleaning equipment, and/or a charging task of the intelligent household cleaning equipment for executing charging operation on the target base station;
if the base station type is a water base station, the functional task is a water adding task of the intelligent household cleaning equipment for executing water adding operation on the target base station;
If the base station type is a water treatment base station, the functional task is a water pumping task for the intelligent household cleaning equipment to perform water pumping operation on the target base station;
If the base station type is a dust collection base station, the functional task is a dust collection task of the target base station for executing dust collection operation on the intelligent household cleaning equipment;
and if the base station type is a charging base station, the functional task is a charging task of the target base station for executing charging operation on the intelligent household cleaning equipment.
3. The method of claim 1, wherein the performing the functional task corresponding to the base station type in conjunction with the target base station comprises:
under the condition that the base station type is matched with the requirement type, executing a function task corresponding to the base station type in cooperation with the target base station; and
And under the condition that the base station type is not matched with the requirement type, the function task corresponding to the base station type is not matched with the target base station any more, a new target base station is selected from at least one candidate base station, and communication connection with the new target base station is established.
4. A method according to any of claims 1-3, characterized in that said sending an interaction command to a target base station in case a communication connection is established with said target base station comprises:
under the condition of establishing wired communication connection with a target base station, sending an interaction command to the target base station;
accordingly, after receiving the interaction command response fed back by the target base station based on the interaction command, the method further includes:
and disconnecting the wired communication connection with the target base station.
5. The method of claim 4, wherein the establishing a wired communication connection with the target base station comprises:
And controlling the intelligent household cleaning equipment to be in butt joint with the target base station, and electrically connecting a butt joint electrode of the intelligent household cleaning equipment with a butt joint electrode of the target base station so as to establish wired communication connection with the target base station.
6. The method of claim 4, wherein sending an interaction command to the target base station comprises:
receiving an interaction synchronization signal sent by the target base station;
and responding to the interaction synchronous signal, and sending the interaction command to the target base station.
7. The method of claim 6, wherein prior to receiving the interaction synchronization signal sent by the target base station, further comprising:
Sending a wake-up signal to the target base station, and receiving a handshake signal fed back by the target base station in response to the wake-up signal;
And responding to the handshake signals, and sending handshake signal responses to the target base station.
8. A communication method between intelligent home cleaning equipment and a target base station, which is applied to the target base station, the method is characterized by comprising the following steps:
Under the condition of establishing communication connection with intelligent household cleaning equipment, acquiring an interaction command sent by the intelligent household cleaning equipment;
Responding to the interaction command, and feeding back an interaction command response to the intelligent household cleaning equipment so that the intelligent household cleaning equipment cooperates with a target base station to execute a functional task corresponding to the base station type determined by the interaction command response; wherein, the coding information of the interaction command response corresponding to different base station types is different.
9. The method of claim 8, wherein the method further comprises:
if the base station type is a water changing base station, the functional task is a water changing task of the target base station for executing water changing operation on the intelligent household cleaning equipment and/or a charging task of the intelligent household cleaning equipment for executing charging operation on the target base station;
if the base station type is a water base station, the functional task is a water adding task of the intelligent household cleaning equipment for executing water adding operation on the target base station;
If the base station type is a water treatment base station, the functional task is a water pumping task for the intelligent household cleaning equipment to perform water pumping operation on the target base station;
If the base station type is a dust collection base station, the functional task is a dust collection task of the target base station for executing dust collection operation on the intelligent household cleaning equipment;
and if the base station type is a charging base station, the functional task is a charging task of the target base station for executing charging operation on the intelligent household cleaning equipment.
10. The method according to claim 8 or 9, wherein the obtaining the interaction command sent by the smart home cleaning device in the case of establishing a communication connection with the smart home cleaning device comprises:
Under the condition of establishing wired communication connection with intelligent household cleaning equipment, acquiring an interaction command sent by the intelligent household cleaning equipment;
Correspondingly, after the interaction command response is fed back to the intelligent household cleaning equipment, the method further comprises the following steps:
And disconnecting the wired communication connection with the intelligent household cleaning equipment.
11. The method of claim 10, wherein the establishing a wired communication connection with the smart home cleaning device comprises:
And docking the intelligent household cleaning equipment by using the target base station, and electrically connecting a docking electrode of the target base station with a docking electrode of the intelligent household cleaning equipment so as to establish wired communication connection with the intelligent household cleaning equipment.
12. The method of claim 10, wherein the obtaining the interaction command sent by the smart home cleaning device comprises:
Transmitting an interaction synchronization signal to the intelligent home cleaning equipment;
acquiring an interaction command fed back by the intelligent household cleaning equipment based on the interaction synchronous signal;
correspondingly, the disconnection of the wired communication connection with the intelligent home cleaning equipment comprises the following steps:
Continuously transmitting interaction synchronizing signals for preset times to the intelligent household cleaning equipment again;
And if the interaction command fed back by the intelligent household cleaning equipment in response to the interaction synchronization signal is not received within a preset time period, disconnecting the wired communication connection with the intelligent household cleaning equipment.
13. The method of claim 12, wherein prior to sending the interaction synchronization signal to the smart home cleaning device, further comprising:
receiving a wake-up signal sent by the intelligent household cleaning equipment, and responding to the wake-up signal, and sending a handshake signal to the intelligent household cleaning equipment;
and receiving handshake signal response fed back by the intelligent household cleaning equipment based on the handshake signal.
14. An intelligent home cleaning device, characterized in that the intelligent home cleaning device comprises:
the interactive command sending module is used for sending an interactive command to the target base station under the condition of establishing communication connection with the target base station;
The response receiving module is used for receiving an interaction command response fed back by the target base station based on the interaction command;
the base station type determining module is used for analyzing the interaction command response to obtain coding information of the interaction command response, and determining the base station type of the target base station according to the coding information;
And the task execution module is used for executing the functional task corresponding to the base station type in cooperation with the target base station.
15. A target base station, the target base station comprising:
The interaction command acquisition module is used for acquiring an interaction command sent by the intelligent household cleaning equipment under the condition that communication connection is established between the interaction command acquisition module and the intelligent household cleaning equipment;
The response feedback module is used for responding to the interaction command and feeding back interaction command response to the intelligent household cleaning equipment so that the intelligent household cleaning equipment can execute a function task corresponding to the base station type determined by the interaction command response in cooperation with the base station; wherein, the coding information of the interaction command response corresponding to different base station types is different.
16. A cleaning system comprising the smart home cleaning appliance of claim 14 and at least one target base station of claim 15.
17. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 13 when the computer program is executed.
CN202410079647.1A 2024-01-18 2024-01-18 Communication method, base station and system of intelligent household cleaning equipment and target base station Pending CN117915416A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410079647.1A CN117915416A (en) 2024-01-18 2024-01-18 Communication method, base station and system of intelligent household cleaning equipment and target base station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410079647.1A CN117915416A (en) 2024-01-18 2024-01-18 Communication method, base station and system of intelligent household cleaning equipment and target base station

Publications (1)

Publication Number Publication Date
CN117915416A true CN117915416A (en) 2024-04-19

Family

ID=90686598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410079647.1A Pending CN117915416A (en) 2024-01-18 2024-01-18 Communication method, base station and system of intelligent household cleaning equipment and target base station

Country Status (1)

Country Link
CN (1) CN117915416A (en)

Similar Documents

Publication Publication Date Title
CN105282583B (en) A kind of remote controler intelligent Matching system and implementation method
KR102081274B1 (en) IOT device state monitor-control system using blockchain network
CN108881227B (en) Operation control method and device of remote whiteboard system and remote whiteboard system
CN104704886A (en) Reducing wireless reconnection time of a computing device
CN110851368A (en) Multi-device collaborative testing method and device, computing device and system
CN111757305B (en) Service execution terminal switching method, device, system and storage medium
CN103677597A (en) Terminal equipment and same-screen display method and system
CN108363667A (en) A kind of log information capture apparatus
CN104105446B (en) The mobile ultrasonic diagnostic equipment
CN104519051A (en) Method and terminals for sharing multimedia data
CN112188461A (en) Control method and device for near field communication device, medium and electronic equipment
CN110430293B (en) Pairing method and device of multi-split system, storage medium and processor
CN111756858A (en) Remote development processing system, method and device of embedded equipment
CN104184652A (en) Method and system for information interaction between terminals
EP4061088A1 (en) Bluetooth connection method and apparatus, wearable device, and computer-readable storage medium
CN117915416A (en) Communication method, base station and system of intelligent household cleaning equipment and target base station
CN106786959A (en) Charge control method, device and terminal
CN112579369A (en) Multithreading flashing system, method, device, equipment and storage medium
CN113849356B (en) Equipment testing method and device, electronic equipment and storage medium
EP3863235B1 (en) Method and apparatus for processing data
CN108400639A (en) The control method and system of a kind of charger baby and its charge parameter
CN117456629B (en) Inspection method, system, device, storage medium and computer program product
CN110568985A (en) Method, medium and device for displaying identification and computing equipment
CN104571995A (en) Display apparatus, information terminal, display system, and program
CN116525977B (en) Computer system based on support power battery

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination