Home appliance control method, mobile robot, and gateway device

CN122984692APending Publication Date: 2026-10-27HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611340310.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0004]然而,由于额外为智能家居系统布设红外转发器和线缆的施工过程较为繁琐,特别在家电设备位置变动之后需要重新布设线缆时尤为突出,增加了对家电设备进行控制的复杂度

Benefits of technology

[0017]本实施例提供的方案,基于移动机器人向家电设备转发对应的红外控制码,以实现对家电设备的红外控制,无需为智能家居系统额外布设红外转发器和线缆,降低了对家电设备进行控制的复杂度。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122984692A_ABST
    Figure CN122984692A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of smart home control, in particular to a household appliance control method, a mobile robot and a gateway device, the method is applied to the mobile robot, the mobile robot is configured with an infrared emission module and a moving mechanism, the method comprises the following steps: receiving control information sent by the gateway device, the control information comprising a target position of a household appliance and an infrared control code, the target position being used for representing the position of the household appliance in an indoor environment; taking the target position as the moving terminal point of the mobile robot, and driving the moving mechanism to move; when the mobile robot moves to the target position, driving the infrared emission module to send an infrared control signal to the household appliance based on the infrared control code, so that the household appliance executes an action corresponding to the infrared control signal. The method realizes the forwarding of corresponding infrared control codes from the mobile robot to the household appliance, realizes the infrared control of the household appliance, and reduces the complexity of controlling the household appliance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of smart home technology, and in particular relates to a method for controlling home appliances, a mobile robot, and a gateway device. Background Technology

[0002] With the popularization of smart home systems, gateway devices, as the central hub of home intelligence, typically connect to home appliances through wireless network protocols such as Wi-Fi, ZigBee, and Bluetooth to achieve centralized control of home appliances.

[0003] Currently, many home appliances (such as air conditioners and televisions) only support infrared control. These devices cannot access wireless networks and are difficult to manage directly by gateway devices. To solve this problem, it is usually necessary to install fixed infrared repeaters in each room and connect them to the gateway device via cables. The gateway device then sends corresponding commands to the home appliances through the infrared repeaters to achieve infrared control of the appliances.

[0004] However, the construction process of additionally installing infrared repeaters and cables for smart home systems is quite cumbersome, especially when the location of home appliances needs to be changed and cables need to be re-laid, which increases the complexity of controlling home appliances. Summary of the Invention

[0005] In view of the above, embodiments of this application provide a home appliance control method, a mobile robot, and a gateway device to overcome the problems of the prior art.

[0006] In a first aspect, embodiments of this application provide a method for controlling home appliances, applied to a mobile robot, the mobile robot being equipped with an infrared emitting module and a moving mechanism; the method for controlling home appliances includes: The device receives control information sent by a gateway device. The control information includes the target location of the home appliance and an infrared control code. The target location is used to characterize the position of the home appliance in the indoor environment. The mobile mechanism is driven to move with the target position as the endpoint of the mobile robot's movement; When the mobile robot moves to the target location, it drives the infrared transmitting module to send an infrared control signal to the home appliance based on the infrared control code, so that the home appliance can perform the action corresponding to the infrared control signal.

[0007] The solution provided in this application is based on a mobile robot forwarding the corresponding infrared control code to home appliances to achieve infrared control of home appliances. This eliminates the need to lay out additional infrared repeaters and cables for the smart home system, thus reducing the complexity of controlling home appliances.

[0008] In some optional embodiments, the mobile robot is further configured with an adjustment mechanism for adjusting the transmission direction of the infrared control signal; The process of driving the infrared emitting module to send infrared control signals to the home appliance further includes: Obtain the execution result of the action corresponding to the infrared control signal performed by the home appliance; When the execution result is the first result, the adjustment structure is driven to adjust the transmission direction according to the preset rules. The first result indicates that the home appliance has failed to execute. After adjusting the emission direction, the infrared emission module is driven to send infrared control signals to the home appliance.

[0009] The solution provided in this embodiment adjusts the angle at which the infrared transmitting module emits infrared control signals when a failure to control home appliances based on infrared control codes is detected, and controls the infrared transmitting module to repeatedly send infrared control signals to the home appliances, which helps to improve the success rate of controlling home appliances.

[0010] In some optional embodiments, the step of obtaining the execution result of the action corresponding to the infrared control signal performed by the home appliance further includes: When the execution result is the first result and the cumulative number of times the first result is obtained in this round reaches a preset number, the infrared control code is stopped from being sent to the home appliance, and feedback information containing the first information is sent to the gateway device, the first information being used to indicate that the home appliance has failed to execute; When the execution result is the first result, the adjustment structure is driven to adjust the emission direction according to a preset rule, which is as follows: When the execution result is the first result and the cumulative number of times the first result is obtained in this round has not reached the preset number, the adjustment structure is driven to adjust the launch direction according to the preset rules.

[0011] The solution provided in this embodiment, when detecting repeated failures in infrared control of home appliances a preset number of times, sends the first information of the home appliance's execution failure to the gateway device, so that the user can process the home appliance according to the first information, which helps to improve the user experience during the process of controlling the home appliance.

[0012] In some optional embodiments, the step of obtaining the execution result of the action corresponding to the infrared control signal performed by the home appliance further includes: When the execution result is the second result, feedback information containing the second information is sent to the gateway device. The second result indicates that the home appliance has executed successfully, and the second information is used to indicate that the home appliance has executed successfully.

[0013] The solution provided in this embodiment, when detecting successful infrared control of home appliances, sends a second message of successful execution to the gateway device, so that the user can understand the control status of the home appliances in a timely manner based on the second message, which helps to improve the user experience during the control process of home appliances.

[0014] In some optional embodiments, the control information includes the target locations and infrared control codes of multiple home appliances; The step of driving the mobile mechanism to move with the target position as the endpoint of the mobile robot's movement includes: Based on the current position of the mobile robot in the indoor environment and the multiple target positions, a movement path is generated based on a path optimization algorithm. The movement path is the path by which the mobile robot moves from the current position to each of the target positions in sequence. When the mobile robot moves to the target location, based on the infrared control code, the infrared transmitting module is driven to send an infrared control signal to the home appliance, including: When moving sequentially to any of the target locations according to the movement path, the infrared transmitting module is driven to send an infrared control signal to the home appliance based on the infrared control code of the corresponding target location.

[0015] The solution provided in this embodiment generates corresponding movement paths based on the target positions and path optimization algorithms of multiple home appliances, and controls the mobile robot to perform infrared control on multiple home appliances in sequence according to the movement paths. This can minimize the distance the mobile robot moves, which is beneficial to improving the efficiency of controlling multiple home appliances.

[0016] Secondly, embodiments of this application provide a home appliance control method, applied to a gateway device, the home appliance control method comprising: In response to a received control request, the corresponding control information is obtained, including the target location of the home appliance and an infrared control code, wherein the target location is used to characterize the position of the home appliance in the indoor environment; The control information is sent to the mobile robot so that the mobile robot moves with the target position as the endpoint of its movement, and the mobile mechanism configured on the mobile robot moves. When the mobile robot moves to the target position, the infrared emitting module configured on the mobile robot sends an infrared control signal to the home appliance based on the infrared control code, so that the home appliance performs the action corresponding to the infrared control signal.

[0017] The solution provided in this embodiment is based on a mobile robot forwarding the corresponding infrared control code to home appliances to achieve infrared control of home appliances. This eliminates the need to deploy additional infrared repeaters and cables for the smart home system, reducing the complexity of controlling home appliances.

[0018] In some optional embodiments, the control request carries the device name of the home appliance, and the step of obtaining corresponding control information in response to the received control request includes: In response to the received control request, the control information is obtained by looking up the control information table based on the device name. The control information table is used to represent the correspondence between the device name and the control information.

[0019] The solution provided in this embodiment finds the correspondence between the device name and control information based on the device name of the home appliance, thereby obtaining the control information of the home appliance and improving the accuracy of the control information.

[0020] In some optional embodiments, the step of responding to the received control request by looking up the control information table based on the device name to obtain the control information further includes: Obtain the indoor map corresponding to the indoor environment; The target location is obtained by marking the coordinates of the home appliances on the indoor map. The control information table is generated based on the infrared control code of the home appliance, the target location, and the device name.

[0021] The solution provided in this embodiment pre-builds the correspondence between home appliances and their infrared control codes based on the location of the home appliances in the indoor environment and the infrared control codes of the home appliances, which helps to improve the efficiency of obtaining control information of home appliances.

[0022] Thirdly, embodiments of this application provide a home appliance control device applied to a mobile robot, the mobile robot being equipped with an infrared emitting module and a moving mechanism; the home appliance control device includes: A receiving module is used to receive control information sent by a gateway device. The control information includes the target location of the home appliance and an infrared control code. The target location is used to characterize the position of the home appliance in the indoor environment. The first drive module is used to drive the mobile mechanism to move with the target position as the endpoint of the mobile robot's movement; The second driving module is used to drive the infrared transmitting module to send an infrared control signal to the home appliance based on the infrared control code when the mobile robot moves to the target position, so that the home appliance can perform the action corresponding to the infrared control signal.

[0023] Fourthly, embodiments of this application provide a home appliance control device applied to a gateway device, the home appliance control device comprising: The response module is used to respond to the received control request and obtain the corresponding control information, the control information including the target location of the home appliance and the infrared control code, the target location being used to characterize the position of the home appliance in the indoor environment; The control information sending module is used to send the control information to the mobile robot so that the mobile robot moves with the target position as the end point of the mobile robot's movement, and when the mobile robot moves to the target position, it drives the infrared emitting module configured by the mobile robot to send an infrared control signal to the home appliance based on the infrared control code, so that the home appliance executes the action corresponding to the infrared control signal.

[0024] Fifthly, embodiments of this application provide a mobile robot, including an infrared emitting module, a moving mechanism, and a controller, wherein the controller is configured to: The device receives control information sent by a gateway device. The control information includes the target location of the home appliance and an infrared control code. The target location is used to characterize the position of the home appliance in the indoor environment. The mobile mechanism is driven to move with the target position as the endpoint of the mobile robot's movement; When the mobile robot moves to the target location, it drives the infrared transmitting module to send an infrared control signal to the home appliance based on the infrared control code, so that the home appliance can perform the action corresponding to the infrared control signal.

[0025] Sixthly, embodiments of this application provide a gateway device, including a controller, the controller being configured to: In response to a received control request, the corresponding control information is obtained, including the target location of the home appliance and an infrared control code, wherein the target location is used to characterize the position of the home appliance in the indoor environment; The control information is sent to the mobile robot so that the mobile robot moves with the target position as the endpoint of its movement, and the mobile mechanism configured on the mobile robot moves. When the mobile robot moves to the target position, the infrared emitting module configured on the mobile robot sends an infrared control signal to the home appliance based on the infrared control code, so that the home appliance performs the action corresponding to the infrared control signal.

[0026] In a seventh aspect, embodiments of this application provide a computer-readable storage medium storing program code, which can be invoked by a processor to execute the home appliance control method provided in the first or second aspect above.

[0027] Eighthly, embodiments of this application provide a computer program product that, when run on a computer device, causes the computer device to execute the home appliance control method provided in the first or second aspect above.

[0028] It is understood that the beneficial effects of the third to eighth aspects mentioned above can be found in the relevant descriptions in the first or second aspects mentioned above, and will not be repeated here. Attached Figure Description

[0029] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0030] Figure 1 This illustration shows a scenario diagram of a smart home system provided in an embodiment of this application.

[0031] Figure 2 A schematic flowchart of a home appliance control method provided in an embodiment of this application is shown.

[0032] Figure 3 This illustration shows a control timing diagram of a home appliance in a home appliance control method provided in an embodiment of this application.

[0033] Figure 4 This illustration shows another flowchart of the home appliance control method provided in an embodiment of this application.

[0034] Figure 5 A structural block diagram of a home appliance control device provided in an embodiment of this application is shown.

[0035] Figure 6 This paper shows another structural block diagram of the home appliance control device provided in an embodiment of this application.

[0036] Figure 7 This application illustrates a computer-readable storage medium for storing or carrying program code that implements a home appliance control method according to an embodiment of this application.

[0037] Figure 8This application illustrates a computer program product for storing or carrying program code that implements a home appliance control method according to an embodiment of this application. Detailed Implementation

[0038] To make the inventive objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0039] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0040] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0041] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0042] Furthermore, in the description of this application, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0043] With the popularization of smart home systems, gateway devices, as the central hub of home intelligence, typically connect to home appliances through wireless network protocols such as Wi-Fi, ZigBee, and Bluetooth to achieve centralized control of home appliances.

[0044] Currently, many home appliances (such as air conditioners and televisions) only support infrared control. These devices cannot access wireless networks and are difficult to manage directly by gateway devices. To solve this problem, it is usually necessary to install fixed infrared repeaters in each room and connect them to the gateway device via cables. The gateway device then sends corresponding commands to the home appliances through the infrared repeaters to achieve infrared control of the appliances.

[0045] However, the construction process of additionally installing infrared repeaters and cables for smart home systems is quite cumbersome, especially when the location of home appliances needs to be changed and cables need to be re-laid, which increases the complexity of controlling home appliances.

[0046] To address the aforementioned issues, this application provides a home appliance control method, a mobile robot, and a gateway device. The mobile robot receives control information sent by the gateway device. The control information includes the target location of the home appliance and an infrared control code. The target location represents the position of the home appliance in the indoor environment, and the mobile robot uses the target location as its endpoint to drive the mobile mechanism. When the mobile robot moves to the target location, it drives the infrared transmitting module to send an infrared control signal to the home appliance based on the infrared control code, so that the home appliance performs the action corresponding to the infrared control signal. This achieves infrared control of the home appliance by forwarding the corresponding infrared control code from the mobile robot, eliminating the need for additional infrared repeaters and cables for the smart home system and reducing the complexity of controlling the home appliance.

[0047] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0048] Please see Figure 1 This illustration shows an application scenario diagram of a smart home system provided in the embodiments of this application. The smart home system may include home appliances 100, gateway devices 200, and mobile robots 300.

[0049] In this embodiment, the home appliance 100 only supports infrared control, and the home appliance 100 may be equipped with an infrared receiving module. The home appliance 100 may include at least one of the following: an air conditioner or a television, etc., without limitation.

[0050] The gateway device 200 may be configured with a first network communication module. The gateway device 200 may establish a network connection with the mobile robot 300 based on the first network communication module and perform data interaction with the mobile robot 300 based on the network connection.

[0051] Gateway device 200 can be any of the following: LAN / host gateway device, LAN / LAN gateway device, or Internet / LAN gateway device, etc., without limitation here.

[0052] The mobile robot 300 can be configured with a second network communication module, an infrared emitting module, and a moving mechanism. The mobile robot 300 can establish a network connection with the first network communication module through the second network communication module, emit infrared signals through the infrared emitting module, and drive the moving mechanism to move, so that the moving mechanism drives the mobile robot 300 to move.

[0053] The mobile robot 300 can be any of the following: cleaning robot, companion robot, educational robot, security patrol robot, or delivery robot; no specific limitation is made here.

[0054] Please see Figure 2 This document illustrates a flowchart of a home appliance control method according to an embodiment of this application. In a specific embodiment, the home appliance control method can be applied to, for example... Figure 1 The mobile robot 300 in the smart home system shown below will be used as an example to illustrate... Figure 2 The process shown is described in detail. The home appliance control method may include the following steps 101 to 103.

[0055] Step 101: Receive control information sent by the gateway device.

[0056] In this embodiment, when a user needs to control home appliances, they can send a control request to the gateway device through the third network communication module of the terminal device. The gateway device receives and responds to the control request, obtains the corresponding control information, and sends the control information to the mobile robot. The mobile robot receives the control information sent by the gateway device.

[0057] The control request can carry the device name of the home appliance. The gateway device can look up the preset control information table based on the device name to obtain the control information. The control information table can be used to represent the correspondence between the device name of the home appliance and the control information.

[0058] Control requests can be either voice control requests or text control requests, etc. The type of control request is not limited here, and can be set according to actual needs.

[0059] The control information may include the target location of the home appliance and the infrared control code. The target location can be used to characterize the position of the home appliance in the indoor environment, and the infrared control code can be used to trigger the infrared emitting module to generate the corresponding infrared control signal. The infrared control signal can be used to perform infrared control on the home appliance.

[0060] The gateway device can establish a network connection with the terminal device's third network communication module based on the first network communication module, and perform data interaction with the terminal device based on the first network communication module and the third network communication module.

[0061] The terminal device can be any of the following: mobile phone, wearable device, personal digital assistant (PDA), computer with wireless transceiver function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, etc. The type of terminal device is not limited here, and the specific configuration can be set according to actual needs.

[0062] In some implementations, the control request can be a voice control request, and the terminal device can be configured with a voice acquisition module. When a user needs to control home appliances, they can send a voice control request to the terminal device. The terminal device acquires the user's voice control request based on the voice acquisition module and sends the voice control request to the gateway device based on a third network communication module. The gateway device receives and processes the voice control request based on a first network communication module, obtains the corresponding control information according to the voice control request, and sends the control information to the mobile robot based on the first network communication module. The mobile robot receives the control information based on a second network communication module.

[0063] In some implementations, the control request can be a text control request. When a user needs to control home appliances, they can input a text control request to the terminal device. The terminal device receives and responds to the text control request and sends the text control request to the gateway device based on a third network communication. The gateway device receives and processes the text control request based on a first network communication module, obtains the corresponding control information according to the text control request, and sends the control information to the mobile robot based on the first network communication module. The mobile robot receives the control information based on a second network communication module.

[0064] Step 102: Drive the mobile mechanism to move, with the target position as the endpoint of the mobile robot's movement.

[0065] In this embodiment, after receiving the control information sent by the gateway device, the mobile robot can drive the mobile mechanism to move with the target position as the mobile robot's moving endpoint.

[0066] Among them, the mobile robot can plan a movement path based on its current position and target position in the indoor environment, and drive the mobile mechanism to move from the current position to the target position according to the movement path.

[0067] In some implementations, there may be multiple home appliances, and the control information may include the target locations and infrared control codes of the multiple home appliances.

[0068] After receiving control information from the gateway device, the mobile robot can generate a movement path based on its current position and multiple target positions in the indoor environment using a path optimization algorithm. The robot then drives its movement mechanism to move sequentially from its current position to each target position according to the movement path. This achieves the planning of a movement path that traverses each target position sequentially based on the path optimization algorithm, avoiding blind traversal and random walking by the mobile robot, effectively shortening the overall travel distance, reducing unnecessary detours, and improving the movement efficiency of the mobile robot during navigation.

[0069] The movement path can be the shortest path for the mobile robot to move from its current position to each target position sequentially. The path optimization algorithm can be any of the following: ant colony optimization, genetic algorithm, or particle swarm optimization algorithm, etc., without limitation here.

[0070] Step 103: When the mobile robot moves to the target position, it drives the infrared transmitting module to send infrared control signals to the home appliances based on the infrared control code, so that the home appliances can perform the actions corresponding to the infrared control signals.

[0071] In this embodiment, when the mobile robot moves to the target location, it can drive the infrared transmitting module to send infrared control signals to the home appliances based on the infrared control code. The home appliances receive the infrared control signals based on the infrared receiving module and execute the actions corresponding to the infrared control signals. This realizes infrared control of home appliances by forwarding the corresponding infrared control codes from the mobile robot to the home appliances. There is no need to lay out infrared repeaters and cables for the smart home system, which reduces the complexity of controlling home appliances.

[0072] The infrared emitting module can look up the preset infrared control signal table according to the infrared control code to obtain the corresponding infrared control signal. The infrared control signal table can be used to characterize the correspondence between the infrared control code and the infrared control signal.

[0073] The mobile robot can obtain its real-time position during movement, calculate the distance between the real-time position and the target position, and determine whether the mobile robot has moved to the target position based on the distance.

[0074] When the distance to the target location is less than or equal to the preset distance, the mobile robot is determined to have moved to the target location; when the distance to the target location is greater than the preset distance, the mobile robot is determined not to have moved to the target location.

[0075] The preset distance can be associated with the distance at which the infrared receiver module of the home appliance can receive the infrared control signal. For example, the preset distance can be 1.5 meters, or it can be 5 meters, etc. There is no limitation here.

[0076] The actions corresponding to the infrared control signals may include at least one of the following: power-on action, joint action, volume adjustment action, or fan speed adjustment action, without limitation here.

[0077] In some implementations, the mobile robot may also be equipped with an adjustment mechanism that can be used to adjust the direction of infrared control signal transmission.

[0078] After the mobile robot drives the infrared emitting module to send infrared control signals to home appliances, it can obtain the execution result of the action corresponding to the infrared control signal executed by the home appliance. When the execution result is the first result, it drives the adjustment structure to adjust the transmission direction of the infrared emitting module to send infrared control signals according to preset rules. After adjusting the transmission direction, it drives the infrared emitting module to send infrared control signals to the home appliance. This realizes that when the failure to control the home appliance based on the infrared control code is detected, the angle of the infrared emitting module to send infrared control signals is adjusted, and the infrared emitting module is controlled to repeatedly send infrared control signals to the home appliance, which helps to improve the success rate of controlling the home appliance.

[0079] The execution result can include a first result and a second result. The first result can indicate that the home appliance failed to execute, and the second result can indicate that the home appliance succeeded.

[0080] The smart home system may also include cameras, which can be installed relative to home appliances and used to capture images of those appliances. The cameras may be equipped with a fourth network communication module, which allows them to establish a network connection with the mobile robot via a second network communication module.

[0081] The mobile robot can send image acquisition commands to the fourth network communication module based on the second network communication module. The camera receives the image acquisition commands based on the fourth network communication module and acquires images of the home appliances. It then sends the images of the home appliances to the second network communication module through the fourth network communication module. The mobile robot receives the images of the home appliances based on the second network communication module and performs image recognition on the images to obtain the execution results of the actions corresponding to the infrared control signals of the home appliances.

[0082] The camera can be any of the following: wide-angle camera, macro camera, ultra-wide-angle camera, or panoramic camera. The type of camera is not limited here, and the specific settings can be made according to actual needs.

[0083] Preset rules can be used to characterize the rules for adjusting the infrared signal emission angle of the infrared emitting module. For example, the preset rule can be a preset angle for rotating the mobile robot's orientation clockwise based on the current orientation of the mobile robot. There are no restrictions on this.

[0084] The preset angle can be 5°, 15°, 25°, etc., and there is no limitation here.

[0085] In some implementations, after the mobile robot drives the infrared transmitting module to send infrared control signals to the home appliance, it can obtain the execution result of the action corresponding to the infrared control signal executed by the home appliance. When the execution result is a first result and the cumulative number of times the first result is obtained in this round reaches a preset number, it stops sending infrared control codes to the home appliance and sends feedback information containing first information to the gateway device. This realizes that when the preset number of repeated failures to perform infrared control on the home appliance are detected, the first information of the home appliance execution failure is fed back to the gateway device, so that the user can handle the home appliance according to the first information, which is conducive to improving the user experience in the process of controlling the home appliance.

[0086] The first message can be used to indicate that the home appliance has failed to execute. The preset number of attempts can be 3 or 10, etc., and there is no limit here.

[0087] In some implementations, after the mobile robot drives the infrared emitting module to send infrared control signals to the home appliance, it can obtain the execution result of the action corresponding to the infrared control signal performed by the home appliance. When the execution result is the first result and the cumulative number of times the first result is obtained in this round has not reached the preset number, the robot drives the adjustment structure to adjust the transmission direction according to the preset rules. After adjusting the transmission direction, the robot drives the infrared emitting module to send infrared control signals to the home appliance. This enables the repeated adjustment of the angle of the infrared emitting module to send infrared control signals when the preset number of repeated failures to perform infrared control on the home appliance is detected, and controls the infrared emitting module to repeatedly send infrared control signals to the home appliance, which helps to improve the success rate of controlling the home appliance.

[0088] In some implementations, after the mobile robot drives the infrared transmitting module to send infrared control signals to the home appliance, it can obtain the execution result of the action corresponding to the infrared control signal executed by the home appliance. When the execution result is a second result, it sends feedback information containing the second information to the gateway device. This realizes that when the infrared control of the home appliance is successfully detected, the second information of successful execution of the home appliance is fed back to the gateway device, so that the user can understand the control status of the home appliance in a timely manner based on the second information, which is conducive to improving the user experience in the process of controlling the home appliance.

[0089] The second piece of information can be used to indicate that the home appliance has performed successfully.

[0090] In some implementations, after receiving control information from the gateway device, the mobile robot can generate a movement path based on a path optimization algorithm according to its current position and multiple target positions in the indoor environment. The robot then drives its mobile mechanism to move sequentially from its current position to each target position according to the movement path. Upon reaching any target position, the robot sends an infrared control signal to the corresponding home appliance based on its infrared control code. This enables the generation of corresponding movement paths based on the target positions of multiple home appliances and the path optimization algorithm. The mobile robot can then sequentially control multiple home appliances using infrared sensors, minimizing the robot's movement distance and improving the efficiency of controlling multiple home appliances.

[0091] In one application scenario, a smart home system can include home appliances, gateway devices, mobile robots, and terminal devices, such as... Figure 3 As shown, the control sequence of home appliances may include the following steps 201 to 210.

[0092] Step 201: The terminal device receives the control request sent by the user.

[0093] Step 202: The terminal device forwards the control request to the gateway device.

[0094] Step 203: The gateway device obtains the corresponding control information based on the control request.

[0095] Step 204: The gateway device sends control information to the mobile robot.

[0096] Step 205: The mobile robot uses the target position as the endpoint of its movement and drives the mobile mechanism to move.

[0097] Step 206: The mobile robot drives the adjustment structure to adjust the direction of infrared control signal transmission of the infrared emitting module.

[0098] Step 207: The mobile robot drives the infrared transmitting module to send infrared control signals to the home appliances.

[0099] Step 208: The mobile robot obtains the execution results of the actions corresponding to the infrared control signals of the home appliances.

[0100] Step 209: The mobile robot sends the corresponding feedback information to the gateway device.

[0101] The feedback information may include either the first information or the second information.

[0102] Step 210: The gateway device forwards feedback information to the terminal device.

[0103] Users can obtain the status of home appliances based on the feedback information displayed on the terminal device.

[0104] The solution provided in this application involves a mobile robot receiving control information from a gateway device. This control information includes the target location of the home appliance and an infrared control code. The target location represents the position of the home appliance in the indoor environment, and the mobile robot uses this target location as its endpoint to drive the movement of its mobile mechanism. When the mobile robot reaches the target location, it drives an infrared transmitting module to send an infrared control signal to the home appliance based on the infrared control code, causing the home appliance to perform the action corresponding to the infrared control signal. This achieves infrared control of the home appliance by forwarding the corresponding infrared control code from the mobile robot, eliminating the need for additional infrared repeaters and cables in the smart home system and reducing the complexity of controlling the home appliance.

[0105] Please see Figure 4 This illustrates a flowchart of a home appliance control method according to another embodiment of this application. In a specific embodiment, the home appliance control method can be applied to, for example... Figure 1 The smart home system shown below uses gateway device 200 as an example to illustrate this. Figure 4 The process shown is described in detail. The home appliance control method may include the following steps 301 to 302.

[0106] Step 301: In response to the received control request, obtain the corresponding control information.

[0107] In this embodiment, when a user needs to control home appliances, they can send a control request to the gateway device through the third network communication module of the terminal device. The gateway device receives and responds to the control request and obtains the corresponding control information.

[0108] The control request can carry the device name of the home appliance. The gateway device can respond to the received control request by looking up the control information table based on the device name to obtain the control information. This realizes the correspondence between the device name and the control information based on the device name of the home appliance, thereby obtaining the control information of the home appliance and improving the accuracy of the control information.

[0109] The gateway device can obtain an indoor map corresponding to the indoor environment and mark the coordinates of home appliances on the indoor map to obtain the target location. Based on the infrared control code of the home appliance, the target location and the device name, a control information table is generated. This realizes the pre-construction of the correspondence between home appliances and their infrared control codes based on the location of the home appliances in the indoor environment and the infrared control codes of the home appliances, which helps to improve the efficiency of obtaining control information of home appliances.

[0110] The gateway device can read pre-stored indoor maps, or it can receive indoor maps uploaded by users according to the prompts, etc., without any limitation.

[0111] The prompt message can be used to prompt the user to upload an indoor map corresponding to the indoor environment to the gateway device. The prompt message can be at least one of the following: text prompt message, sound prompt message, or light prompt message, etc., without limitation.

[0112] Step 302: Send control information to the mobile robot.

[0113] In this embodiment, the gateway device, in response to a received control request, obtains the corresponding control information and sends the control information to the mobile robot. After receiving the control information, the mobile robot drives its configured mobile mechanism to move, with the target location as the endpoint. When the mobile robot reaches the target location, it drives the infrared transmitting module configured on the mobile robot to send infrared control signals to the home appliances based on the infrared control code, so that the home appliances can perform the actions corresponding to the infrared control signals. This realizes infrared control of home appliances by forwarding the corresponding infrared control codes from the mobile robot to the home appliances, eliminating the need for additional infrared repeaters and cables for the smart home system and reducing the complexity of controlling home appliances.

[0114] The solution provided in this embodiment responds to a received control request, acquires the corresponding control information, and sends the control information to the mobile robot. This enables the mobile robot to move with the target location as its endpoint, driving the mobile mechanism configured on the mobile robot to move. When the mobile robot reaches the target location, it sends an infrared control signal to the home appliance based on the infrared control code, causing the home appliance to execute the action corresponding to the infrared control signal. This achieves infrared control of the home appliance by forwarding the corresponding infrared control code from the mobile robot, eliminating the need for additional infrared repeaters and cables for the smart home system and reducing the complexity of controlling the home appliance.

[0115] Please see Figure 5 This illustrates a home appliance control device 400 provided in one embodiment of this application. The home appliance control device 400 can be applied to, for example... Figure 1 The mobile robot 300 in the smart home system shown below will be used as an example to illustrate... Figure 5 The home appliance control device 400 shown will be described in detail. The home appliance control device 400 may include a receiving module 401, a first driving module 402 and a second driving module 403.

[0116] The receiving module 401 can be used to receive control information sent by the gateway device. The control information may include the target position of the home appliance and the infrared control code. The target position can be used to represent the position of the home appliance in the indoor environment. The first driving module 402 can be used to drive the moving mechanism to move with the target position as the moving endpoint of the mobile robot. The second driving module 403 can be used to drive the infrared emitting module to send an infrared control signal to the home appliance based on the infrared control code when the mobile robot moves to the target position, so that the home appliance can perform the action corresponding to the infrared control signal.

[0117] In some embodiments, the mobile robot may also be configured with an adjustment mechanism, which can be used to adjust the transmission direction of the infrared control signal; the home appliance control device 400 may also include a first acquisition module, an adjustment module and a third drive module.

[0118] The first acquisition module can be used to acquire the execution result of the action corresponding to the infrared control signal executed by the home appliance after the second driving module 403 drives the infrared emitting module to send an infrared control signal to the home appliance; the adjustment module can be used to drive the adjustment structure to adjust the transmission direction according to the preset rules when the execution result is the first result, the first result can indicate that the home appliance has failed to execute; the third driving module can be used to drive the infrared emitting module to send an infrared control signal to the home appliance after the transmission direction is adjusted.

[0119] In some embodiments, the appliance control device 400 may also include a stop module.

[0120] The stop module can be used to stop sending infrared control codes to the home appliance after the first acquisition module obtains the execution result of the action corresponding to the infrared control signal of the home appliance. When the execution result is the first result and the cumulative number of times the first result is obtained in this round reaches the preset number, the module can stop sending infrared control codes to the home appliance and send feedback information containing the first information to the gateway device. The first information can be used to indicate that the home appliance has failed to execute.

[0121] In some implementations, the adjustment module may include an adjustment unit.

[0122] The adjustment unit can be used to drive the adjustment structure to adjust the launch direction according to preset rules when the execution result is the first result and the cumulative number of times the first result is obtained in this round has not reached the preset number.

[0123] In some embodiments, the home appliance control device 400 may also include a feedback information sending module.

[0124] The feedback information sending module can be used to send feedback information containing second information to the gateway device after the first acquisition module obtains the execution result of the action corresponding to the infrared control signal of the home appliance. When the execution result is the second result, the second result can indicate that the home appliance has executed successfully, and the second information can be used to indicate that the home appliance has executed successfully.

[0125] In some implementations, the control information may include the target locations and infrared control codes of multiple home appliances, and the first drive module 402 may include a generation unit.

[0126] The generation unit can be used to generate a movement path based on the current position of the mobile robot in the indoor environment and multiple target positions, using a path optimization algorithm. The movement path can be the path for the mobile robot to move from the current position to each target position in sequence.

[0127] In some implementations, the second drive module 403 may include a drive unit.

[0128] The drive unit can be used to drive the infrared emitting module to send infrared control signals to the home appliance based on the infrared control code of the home appliance at the corresponding target location when moving sequentially to any target location according to the movement path.

[0129] The solution provided in this embodiment involves a mobile robot receiving control information sent by a gateway device. This control information includes the target location of the home appliance and an infrared control code. The target location represents the position of the home appliance in the indoor environment, and the mobile robot uses this target location as its endpoint to drive the movement of its mobile mechanism. When the mobile robot reaches the target location, it drives an infrared transmitting module to send an infrared control signal to the home appliance based on the infrared control code, causing the home appliance to perform the action corresponding to the infrared control signal. This achieves infrared control of the home appliance by forwarding the corresponding infrared control code from the mobile robot, eliminating the need for additional infrared repeaters and cables in the smart home system and reducing the complexity of controlling the home appliance.

[0130] Please see Figure 6 This illustrates a home appliance control device 500 provided in one embodiment of this application. The home appliance control device 500 can be applied to, for example... Figure 1 The smart home system shown below uses gateway device 200 as an example to illustrate this. Figure 6 The home appliance control device 500 shown will be described in detail. The home appliance control device 500 may include a response module 501 and a control information sending module 502.

[0131] The response module 501 can be used to respond to the received control request and obtain the corresponding control information. The control information may include the target position of the home appliance and the infrared control code. The target position can be used to characterize the position of the home appliance in the indoor environment. The control information sending module 502 can be used to send control information to the mobile robot so that the mobile robot moves with the target position as the end point of the mobile robot's movement, drives the mobile mechanism configured on the mobile robot to move, and when the mobile robot moves to the target position, it drives the infrared emitting module configured on the mobile robot to send an infrared control signal to the home appliance based on the infrared control code so that the home appliance performs the action corresponding to the infrared control signal.

[0132] In some implementations, the control request may carry the device name of the home appliance, and the response module 501 may include a response unit.

[0133] The response unit can be used to respond to a received control request, look up the control information table according to the device name, and obtain the control information. The control information table can be used to represent the correspondence between the device name and the control information.

[0134] In some embodiments, the home appliance control device 500 may further include a second acquisition module, a labeling module, and a generation module.

[0135] The second acquisition module can be used to respond to the received control request, look up the control information table according to the device name, and obtain the indoor map corresponding to the indoor environment before obtaining the control information; the annotation module can be used to annotate the coordinate position of the home appliance on the indoor map to obtain the target position; the generation module can be used to generate the control information table based on the infrared control code of the home appliance, the target position and the device name.

[0136] The solution provided in this embodiment responds to a received control request, acquires the corresponding control information, and sends the control information to the mobile robot. This enables the mobile robot to move with the target location as its endpoint, driving the mobile mechanism configured on the mobile robot to move. When the mobile robot reaches the target location, it sends an infrared control signal to the home appliance based on the infrared control code, causing the home appliance to execute the action corresponding to the infrared control signal. This achieves infrared control of the home appliance by forwarding the corresponding infrared control code from the mobile robot, eliminating the need for additional infrared repeaters and cables for the smart home system and reducing the complexity of controlling the home appliance.

[0137] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For device embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to in the descriptions of the method embodiments. Any processing method described in the method embodiments can be implemented in the device embodiments through corresponding processing modules, and will not be elaborated upon further in the device embodiments.

[0138] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0139] Please refer to Figure 7 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable storage medium 600 stores program code 601, which can be called by a processor to execute the methods described in the above method embodiments.

[0140] The computer-readable storage medium 600 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 600 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 600 has storage space for program code 601 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 601 may be compressed, for example, in a suitable form.

[0141] Please refer to Figure 8 This diagram illustrates a structural block diagram of a computer program product 700 provided in an embodiment of this application. The computer program product 700 includes a computer program / instructions 701, which is stored in a computer-readable storage medium of a computer device. When the computer program product 700 runs on the computer device, the processor of the computer device reads the computer program / instructions 701 from the computer-readable storage medium, and executes the computer program / instructions 701, causing the computer device to perform the methods described in the above method embodiments.

[0142] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for controlling household appliances, characterized in that, The method is applied to a mobile robot, which is equipped with an infrared emitting module and a moving mechanism; the home appliance control method includes: The device receives control information sent by a gateway device. The control information includes the target location of the home appliance and an infrared control code. The target location is used to characterize the position of the home appliance in the indoor environment. The mobile mechanism is driven to move with the target position as the endpoint of the mobile robot's movement; When the mobile robot moves to the target location, it drives the infrared transmitting module to send an infrared control signal to the home appliance based on the infrared control code, so that the home appliance can perform the action corresponding to the infrared control signal.

2. The home appliance control method according to claim 1, characterized in that, The mobile robot is also equipped with an adjustment mechanism for adjusting the transmission direction of the infrared control signal; The process of driving the infrared emitting module to send infrared control signals to the home appliance further includes: Obtain the execution result of the action corresponding to the infrared control signal performed by the home appliance; When the execution result is the first result, the adjustment structure is driven to adjust the transmission direction according to the preset rules. The first result indicates that the home appliance has failed to execute. After adjusting the emission direction, the infrared emission module is driven to send infrared control signals to the home appliance.

3. The home appliance control method according to claim 2, characterized in that, The step of obtaining the execution result of the action corresponding to the infrared control signal performed by the home appliance further includes: When the execution result is the first result and the cumulative number of times the first result is obtained in this round reaches a preset number, the infrared control code is stopped from being sent to the home appliance, and feedback information containing the first information is sent to the gateway device, the first information being used to indicate that the home appliance has failed to execute; When the execution result is the first result, the adjustment structure is driven to adjust the emission direction according to a preset rule, which is as follows: When the execution result is the first result and the cumulative number of times the first result is obtained in this round has not reached the preset number, the adjustment structure is driven to adjust the launch direction according to the preset rules.

4. The home appliance control method according to claim 2, characterized in that, The step of obtaining the execution result of the action corresponding to the infrared control signal performed by the home appliance further includes: When the execution result is the second result, feedback information containing the second information is sent to the gateway device. The second result indicates that the home appliance has executed successfully, and the second information is used to indicate that the home appliance has executed successfully.

5. The method for controlling household appliances according to any one of claims 1 to 4, characterized in that, The control information includes the target locations and infrared control codes of multiple home appliances; The step of driving the mobile mechanism to move with the target position as the endpoint of the mobile robot's movement includes: Based on the current position of the mobile robot in the indoor environment and the multiple target positions, a movement path is generated based on a path optimization algorithm. The movement path is the path by which the mobile robot moves from the current position to each of the target positions in sequence. When the mobile robot moves to the target location, based on the infrared control code, the infrared transmitting module is driven to send an infrared control signal to the home appliance, including: When moving sequentially to any of the target locations according to the movement path, the infrared transmitting module is driven to send an infrared control signal to the home appliance based on the infrared control code of the corresponding target location.

6. A method for controlling household appliances, characterized in that, The home appliance control method, applied to gateway devices, includes: In response to a received control request, the corresponding control information is obtained, including the target location of the home appliance and an infrared control code, wherein the target location is used to characterize the position of the home appliance in the indoor environment; The control information is sent to the mobile robot so that the mobile robot moves with the target position as the endpoint of its movement, and the mobile mechanism configured on the mobile robot moves. When the mobile robot moves to the target position, the infrared emitting module configured on the mobile robot sends an infrared control signal to the home appliance based on the infrared control code, so that the home appliance performs the action corresponding to the infrared control signal.

7. The home appliance control method according to claim 6, characterized in that, The control request carries the device name of the home appliance, and the response to the received control request includes obtaining the corresponding control information, including: In response to the received control request, the control information is obtained by looking up the control information table based on the device name. The control information table is used to represent the correspondence between the device name and the control information.

8. The home appliance control method according to claim 7, characterized in that, The step of responding to the received control request by looking up the control information table based on the device name to obtain the control information further includes: Obtain the indoor map corresponding to the indoor environment; The target location is obtained by marking the coordinates of the home appliances on the indoor map. The control information table is generated based on the infrared control code of the home appliance, the target location, and the device name.

9. A mobile robot, characterized in that, It includes an infrared emitting module, a moving mechanism, and a controller, wherein the controller is configured to: The device receives control information sent by a gateway device. The control information includes the target location of the home appliance and an infrared control code. The target location is used to characterize the position of the home appliance in the indoor environment. The mobile mechanism is driven to move with the target position as the endpoint of the mobile robot's movement; When the mobile robot moves to the target location, it drives the infrared transmitting module to send an infrared control signal to the home appliance based on the infrared control code, so that the home appliance can perform the action corresponding to the infrared control signal.

10. A gateway device, characterized in that, Includes a controller, which is configured to: In response to a received control request, the corresponding control information is obtained, including the target location of the home appliance and an infrared control code, wherein the target location is used to characterize the position of the home appliance in the indoor environment; The control information is sent to the mobile robot so that the mobile robot moves with the target position as the endpoint of its movement, and the mobile mechanism configured on the mobile robot moves. When the mobile robot moves to the target position, the infrared emitting module configured on the mobile robot sends an infrared control signal to the home appliance based on the infrared control code, so that the home appliance performs the action corresponding to the infrared control signal.