Robot and infrared code matching method
By designing a robot equipped with a camera and controller to automatically identify and select infrared codes, the problem of high user participation in the existing infrared code matching process is solved, and automated infrared code matching is realized, which improves user convenience and efficiency.
Patent Information
- Application Number
- CN202411964448.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-04
AI Technical Summary
The existing infrared coding process requires users to independently select infrared codes and observe the equipment response, which has high user participation and poor user convenience.
Design a robot equipped with a camera and a controller that can automatically identify the category information of home appliances, select corresponding infrared code information from the preset database, and automatically transmit and identify the infrared code of the key until the infrared code is successful.
The infrared coding process is automated, which reduces user participation and operational complexity, improves user convenience, and improves infrared coding efficiency.
Smart Images

Figure CN119748450A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of robot technology, and in particular to a robot and an infrared code matching method. Background Art
[0002] Before controlling home appliances, it is usually necessary to first perform infrared coding on the home appliances to obtain a set of infrared codes that can accurately control the home appliances.
[0003] Currently, users usually click on the terminal interface to select a set of infrared codes for infrared pairing, and during the infrared pairing process, users observe the response of the home appliance to the set of infrared codes to determine whether the infrared pairing is successful.
[0004] Therefore, the current infrared code pairing process requires users to independently select a set of infrared codes, and requires users to observe the response of home appliances to this set of infrared codes throughout the process. Users have a high degree of participation in the infrared code pairing process, and user convenience is poor. Summary of the invention
[0005] Based on this, it is necessary to provide a robot and infrared coding method that can improve user convenience during infrared coding to address the above technical problems.
[0006] In a first aspect, the present application provides a robot, comprising:
[0007] Camera;
[0008] The controller is configured as:
[0009] In response to a home appliance control instruction, the robot is controlled to move to a location area where the home appliance is located, and according to an image of the home appliance taken in the location area, the device category information of the home appliance is identified;
[0010] Control the robot to select first infrared code information related to the device category information from a preset database;
[0011] Transmitting at least one key infrared code in the infrared code information, and identifying a device response status of the home appliance to the key infrared code;
[0012] If the device response status of all the key infrared codes is successful, the infrared code pairing is successful;
[0013] If the device response status of any of the button infrared codes is a response failure, the infrared pairing fails, and the robot continues to be controlled to select other infrared code information related to the device category information except the first infrared code information from the preset database until the infrared pairing succeeds.
[0014] After receiving the home appliance control instruction, the above-mentioned robot will automatically move to the location area where the home appliance is located, and identify the device category information of the home appliance based on the home appliance image taken in the location area, so that the robot can be controlled to select the first infrared code information related to the device category information from the preset database, without the user manually selecting the infrared code information, which helps to improve user convenience; in addition, during the infrared pairing process, the robot will automatically transmit at least one key infrared code in the infrared code information, and automatically identify the device response status of the home appliance to the key infrared code, so that if the device response status of all key infrared codes is a successful response, the robot can confirm that the infrared pairing is successful; if the device response status of any key infrared code is a failed response, the robot can confirm that the infrared pairing has failed, and continue to automatically select other infrared code information related to the device category information except the first infrared code information from the preset database until the infrared pairing is successful. In this way, there is no need for the user to observe the response of the infrared code during the entire infrared pairing process. The robot can automatically complete the entire infrared pairing process, and no user participation is required throughout the infrared pairing process, thereby improving user convenience during the infrared pairing process.
[0015] In a second aspect, the present application further provides a robot, comprising:
[0016] Camera;
[0017] The controller is configured as:
[0018] In response to a home appliance control instruction, the robot is controlled to move to a location area where the home appliance is located, and according to an image of the home appliance taken in the location area, the device category information of the home appliance is identified;
[0019] Control the robot to perform at least one infrared code pairing process until the infrared code pairing is successful, the infrared code pairing process comprising:
[0020] If this is the first infrared code pairing process, the infrared code information is searched from the preset database using the device category information as an index;
[0021] If this is the nth infrared pairing process, and n is an integer greater than 1, then obtaining at least one infrared code of a key that the household appliance successfully responded to in the previous infrared pairing process, and using the at least one infrared code of a key that successfully responded and the device category information as indexes, searching for infrared code information from a preset database;
[0022] At least one key infrared code in the infrared code information is transmitted; and whether the infrared code pairing is successful is determined according to the identified device response status of the home appliance to the key infrared code.
[0023] After receiving the home appliance control command, the above-mentioned robot will automatically move to the location area where the home appliance is located, and identify the device category information of the home appliance based on the home appliance image taken in the location area. Based on this, the robot will perform at least one infrared code pairing process until the infrared code pairing is successful. If this is the first infrared code pairing process, the device category information can be used as an index to search for infrared code information from a preset database, thereby realizing automatic search of infrared code information and helping to improve user convenience. If this is the nth (n is greater than 1) infrared code pairing process, at least one key infrared code and device category information that the home appliance successfully responded to during the previous infrared code pairing process can be used as an index to search for infrared code information from the preset database. In this way, the robot can select infrared code information from the preset database more quickly, thereby reducing the time consumption of the entire infrared code pairing process. After selecting the infrared code information, the robot can At least one button infrared code in the infrared code information is emitted; and whether the infrared pairing is successful is determined based on the device response status of the identified home appliance to the button infrared code, so that automatic infrared pairing can be achieved, and the entire infrared pairing is successful without user participation, which can improve user convenience during the infrared pairing process; in addition, after the first infrared pairing, each infrared pairing is based on at least one button infrared code and device category information that the home appliance successfully responded to during the previous infrared pairing process as an index to select infrared code information from a preset database. Therefore, as the number of infrared pairing times increases during the infrared pairing process, the number of button infrared codes that the home appliance successfully responds to that can be used as an index will also continue to increase, so that the index information will become more and more abundant, and the efficiency and accuracy of infrared code information search will become higher and higher, thereby improving user convenience while reducing the time spent on searching for infrared code information, thereby also improving the efficiency of infrared pairing.
[0024] In one of the embodiments, during the nth infrared pairing process, the key infrared code emitted by the robot is the key infrared code to which the household appliance failed to respond during the previous infrared pairing process.
[0025] In the above embodiment, when executing the nth infrared coding process, n is a positive integer greater than 1, and the infrared code of the button that failed to respond in the previous infrared coding process will be selected for transmission. In this way, the robot does not need to transmit the infrared codes corresponding to all preset buttons every time for infrared coding. The infrared codes of the buttons that have been responded by the household appliance in each infrared coding process do not need to be transmitted again in the next infrared coding process. Therefore, the time consumed in the infrared coding process can be saved and the efficiency of infrared coding can be improved.
[0026] In one embodiment, when performing the nth infrared code pairing process, the controller is further configured to:
[0027] Acquisition step: acquiring the target key infrared code from the infrared code information found this time, wherein the target key infrared code is the infrared code of the key to which the home appliance failed to respond in the last infrared code matching process;
[0028] Controlling the robot to transmit the target key infrared code, and identifying the device response status of the household appliance to the target key infrared code;
[0029] If the device response status is a response failure, the infrared code pairing fails, and the next infrared code pairing process is entered until the infrared code pairing succeeds, wherein the infrared code information searched from the preset database during each infrared code pairing process is different;
[0030] If the household appliance successfully responds to the target button infrared code, the step of returning to the acquisition step is performed, wherein the preset button corresponding to the target button infrared code acquired from the infrared code information each time is different;
[0031] When the household appliance responds to each of the target button infrared codes, the infrared code matching is successful.
[0032] In this embodiment, when the robot executes the nth infrared pairing process, n is a positive integer greater than 1. The robot will first use the device category information and at least one key infrared code that the household appliance successfully responded to during the previous infrared pairing process as an index to search for infrared code information from a preset database. This allows the infrared code information to be found from the preset database more quickly, reducing the time spent on searching for infrared code information. The robot will then determine the target key infrared code that failed to respond to the previous infrared pairing process in the infrared code information, and transmit the target key infrared code. This can reduce the number of key infrared codes transmitted by the robot during the nth infrared pairing process, and in the process of identifying the device response status of the household appliance to the target key infrared code, the time required for the robot to test whether the household appliance responds can be reduced. The number of button infrared codes can be reduced, so the time spent in the robot testing button infrared codes can be reduced. Furthermore, if the device response status corresponding to any target button infrared code is a response failure, it can be determined that the pairing has failed, and the next infrared pairing process can be directly entered until the infrared pairing is successful. In each infrared pairing process, the infrared code information searched from the preset database is different. If the device response status corresponding to each target button infrared code is a response success, it can be determined that the infrared pairing is successful. Based on this, the robot can automatically perform infrared pairing without user participation, which can improve user convenience in the infrared pairing process, and can reduce the time spent in searching for infrared code information and the time spent in the robot testing button infrared codes during the nth infrared pairing process, thereby improving the efficiency of infrared pairing.
[0033] In a third aspect, the present application further provides a robot, comprising:
[0034] Camera;
[0035] The controller is configured as:
[0036] In response to a home appliance control instruction, the robot is controlled to move to a location area where the home appliance is located, and according to an image of the home appliance taken in the location area, the device category information of the home appliance is identified;
[0037] Determining a target button corresponding to the home appliance control instruction, wherein the target button is used to control the home appliance to perform a device operation corresponding to the home appliance control instruction;
[0038] Controlling the robot to select infrared code information related to the device category information from a preset database;
[0039] Transmit multiple key infrared codes in the infrared code information, and determine whether infrared code pairing is successful based on the identified device response status of the home appliance to the key infrared code, wherein the multiple key infrared codes correspond to the target key and at least one preset key.
[0040] After detecting the home appliance control instruction, the robot will automatically move to the location area of the home appliance, and identify the device category information of the home appliance based on the home appliance image taken in the location area. In addition, the robot will also determine the target button corresponding to the home appliance control instruction, wherein the target button is used to control the home appliance to perform the device operation corresponding to the home appliance control instruction. Based on this, the robot will select infrared code information related to the device category information from a preset database, without the user having to manually select the infrared code information, which helps to improve user convenience; in addition, the robot will automatically send multiple button infrared codes in the infrared code information, and automatically identify the home appliance. The robot can automatically identify whether the infrared pairing is successful based on the device response status to the key infrared code. In this way, there is no need for the user to observe the response of the infrared code during the entire infrared pairing process. The robot can automatically complete the entire infrared pairing process without user participation. Therefore, the user convenience during the infrared pairing process can be improved. In addition, since multiple key infrared codes correspond to target keys and at least one preset key, the robot can use the infrared code information of successful pairing to control the home appliance to successfully execute the device operation corresponding to the home appliance control instruction, which can ensure the current availability of the infrared code information of successful pairing.
[0041] In one embodiment, the controller is further configured to:
[0042] According to the device category information, searching for infrared code information from a preset database;
[0043] Acquisition step: acquiring the infrared code corresponding to the preset key or the target key from the infrared code information;
[0044] Controlling the robot to transmit the key infrared code, and identifying the device response status of the household appliance to the key infrared code;
[0045] If the device response status is a response failure, the infrared code pairing fails, and the next infrared code pairing process is entered until the infrared code pairing succeeds, wherein the infrared code information searched from the preset database during each infrared code pairing process is different;
[0046] If the device response status is a successful response, then returning to the acquisition step, wherein the key infrared code obtained from the infrared code information each time corresponds to a different key;
[0047] When the household appliance successfully responds to each of the key infrared codes, the infrared code pairing is successful.
[0048] In the above embodiment, the robot will select infrared code information from a preset database with the device category information as an index, and then for the infrared codes corresponding to the multiple preset buttons and the target buttons in the infrared code information, the robot will emit the button infrared code and identify the device response status of the home appliance to the button infrared code. If the device response status corresponding to any button infrared code is a response failure, it can be confirmed that the code pairing has failed, and the next infrared code pairing process can be directly entered until the infrared code pairing is successful. In each infrared code pairing process, the infrared code information searched from the preset database is different. If the device response status corresponding to each button infrared code is a response success, it can be confirmed that the infrared code pairing is successful. Based on this, the robot can automatically execute the infrared code pairing process without user participation, thereby improving user convenience during the infrared code pairing process. In addition, in this embodiment, for the infrared code information of successful infrared code pairing, the button infrared code corresponding to the target button in the infrared code information has confirmed that the home appliance can respond. Therefore, the robot can use the infrared code information of successful code pairing to control the home appliance to perform the device operation corresponding to the home appliance control instruction, which can ensure the availability of the infrared code information of successful code pairing at the current time point.
[0049] In a fourth aspect, the present application further provides a robot, comprising:
[0050] Camera;
[0051] The controller is configured as:
[0052] In response to a home appliance control instruction, control the robot to move to a location area where the home appliance is located; identify device category information of the home appliance based on an image of the home appliance taken in the location area;
[0053] In the case of determining that the household appliance has a historical infrared code pairing process, searching for historical infrared code pairing information of the household appliance saved by the robot, wherein the historical infrared code pairing information includes at least one target key infrared code that the household appliance successfully responded to during the historical infrared code pairing process;
[0054] According to the target button infrared code and the device category information, control the robot to select infrared code information from a preset database;
[0055] At least one key infrared code in the infrared code information is transmitted, and whether the infrared pairing is successful is determined based on the identified device response status of the home appliance to the key infrared code, wherein the key infrared code is the infrared code to which the home appliance failed to respond in the historical infrared pairing process.
[0056] After detecting the control instruction of the household appliance, the above-mentioned robot will automatically move to the location area where the household appliance is located, and identify the device category information of the household appliance based on the image of the household appliance taken in the location area; in addition, when determining that the household appliance has a historical infrared code pairing process, the robot will search for the saved historical infrared code pairing information of the household appliance, wherein the historical infrared code pairing information includes at least one target button infrared code that the household appliance successfully responded to during the historical infrared code pairing process. In this way, during the infrared code pairing process, the robot can select infrared code information from a preset database more quickly based on the target button infrared code and device category information, reduce the time consumption of selecting infrared code information, and improve the efficiency of infrared code pairing; in addition, during the infrared code pairing process, the robot will automatically send at least one button infrared code in the infrared code information, and automatically identify the device response status of the household appliance to the button infrared code, so that the robot can automatically identify whether the infrared code pairing is successful based on the device response status, so that during the entire infrared code pairing process, there is no need for the user to observe the response status of the infrared code, and the robot can perform infrared code pairing without user participation throughout the infrared code pairing process, thereby improving the user convenience during the infrared code pairing process.
[0057] In one embodiment, the controller is further configured to:
[0058] According to the target button infrared code and the device category information, searching for infrared code information from a preset database;
[0059] Acquisition step: acquiring a key infrared code corresponding to a first target key from the infrared code information, wherein the first target key is a key among a plurality of preset keys except a second target key corresponding to the infrared code of the target key;
[0060] Controlling the robot to transmit the key infrared code corresponding to the first target key, and identifying the device response status of the home appliance to the key infrared code;
[0061] If the device response status is a response failure, the infrared code pairing fails, and the next infrared code pairing process is entered until the infrared code pairing succeeds, wherein the infrared code information searched from the preset database during each infrared code pairing process is different;
[0062] If the device response status is a successful response, then returning to execute the acquisition step, wherein the first target key corresponding to the key infrared code acquired from the infrared code information is different each time;
[0063] When the household appliance successfully responds to the infrared code of each of the first target buttons, the infrared code pairing is successful.
[0064] In this embodiment, when the robot is executing the infrared code pairing process, the robot will search for infrared code information from the preset database more quickly according to the target button infrared code and device category information; then the robot is controlled to transmit the button infrared code corresponding to the first target button among multiple preset buttons except the second target button corresponding to the target button infrared code, and identify the device response status of the home appliance to the button infrared code. In this way, during the infrared code pairing process, the robot only needs to perform an infrared code pairing test on the first target button that has not been tested in the historical code pairing process. Therefore, the number of button infrared codes that the robot needs to test during the infrared code pairing process can be reduced, and the time consumption of the button infrared code test process can be reduced. Furthermore, if there is any button corresponding to the first target button, the robot can If the device response status corresponding to the button infrared code is a response failure, it can be confirmed that the binding has failed and the next infrared binding process can be entered until the infrared binding is successful. In each infrared binding process, the infrared code information searched from the preset database is different. If the device response status corresponding to the button infrared code corresponding to each first target button is a response success, it can be confirmed that the infrared binding is successful. Based on this, the robot can automatically execute the infrared binding process without user participation, thereby improving user convenience during the infrared binding process. In addition, since it can also reduce the time spent on searching for infrared code information and the time spent on testing button infrared codes, while the robot can be used to realize automatic infrared binding, the efficiency of infrared binding can also be improved.
[0065] In one embodiment, the controller is further configured to:
[0066] After the infrared code pairing is successful, the robot is controlled to update the saved historical infrared code pairing information according to the infrared code information of the successful infrared code pairing.
[0067] In the above embodiment, after each successful infrared code pairing, the robot will update the infrared code information with higher accuracy to the historical infrared code pairing information stored locally. Therefore, the robot can continuously self-learn infrared code information with higher accuracy, laying the foundation for the subsequent use of the robot to control home appliances more accurately and efficiently.
[0068] In a fifth aspect, the present application further provides an infrared code pairing method, the infrared code pairing method comprising:
[0069] In response to a home appliance control instruction, the robot is controlled to move to a location area where the home appliance is located, and according to an image of the home appliance taken in the location area, the device category information of the home appliance is identified;
[0070] Control the robot to select first infrared code information related to the device category information from a preset database;
[0071] Transmitting at least one key infrared code in the infrared code information, and identifying a device response status of the home appliance to the key infrared code;
[0072] If the device response status of all the key infrared codes is successful, the infrared code pairing is successful;
[0073] If the device response status of any of the button infrared codes is a response failure, the infrared pairing fails, and the robot continues to be controlled to select other infrared code information related to the device category information except the first infrared code information from the preset database until the infrared pairing succeeds.
[0074] In the above infrared pairing method, after receiving the home appliance control instruction, the robot will automatically move to the location area where the home appliance is located, and identify the device category information of the home appliance based on the home appliance image taken in the location area, so that the robot can be controlled to select the first infrared code information related to the device category information from the preset database, without the user having to manually select the infrared code information, which helps to improve user convenience; in addition, during the infrared pairing process, the robot will automatically transmit at least one key infrared code in the infrared code information, and automatically identify the device response status of the home appliance to the key infrared code, so that if the device response status of all key infrared codes is a successful response, the robot can confirm that the infrared pairing is successful; if there is any key infrared code The device response status is a failed response, the robot can confirm that the infrared pairing has failed, and continue to automatically select other infrared code information related to the device category information except the first infrared code information from the preset database until the infrared pairing is successful. In this way, during the entire infrared pairing process, there is no need for the user to observe the response of the infrared code. The robot can automatically complete the entire infrared pairing process, and the infrared pairing process does not require user participation, so the user convenience during the infrared pairing process can be improved.
[0075] In a sixth aspect, the present application further provides an infrared code pairing method, the infrared code pairing method comprising:
[0076] In response to a home appliance control instruction, the robot is controlled to move to a location area where the home appliance is located, and according to an image of the home appliance taken in the location area, the device category information of the home appliance is identified;
[0077] Control the robot to perform at least one infrared code pairing process until the infrared code pairing is successful, the infrared code pairing process comprising:
[0078] If this is the first infrared code pairing process, the infrared code information is searched from the preset database using the device category information as an index;
[0079] If this is the nth infrared pairing process, and n is an integer greater than 1, then obtaining at least one infrared code of a key that the household appliance successfully responded to in the previous infrared pairing process, and using the at least one infrared code of a key that successfully responded and the device category information as indexes, searching for infrared code information from a preset database;
[0080] At least one key infrared code in the infrared code information is transmitted; and whether the infrared code pairing is successful is determined according to the identified device response status of the home appliance to the key infrared code.
[0081] In the above infrared code pairing method, after receiving the home appliance control command, the robot will first automatically move to the location area where the home appliance is located, and identify the device category information of the home appliance based on the home appliance image taken in the location area. Based on this, the robot will perform at least one infrared code pairing process until the infrared code pairing is successful. If this is the first infrared code pairing process, the device category information can be used as an index to search for infrared code information from a preset database, thereby realizing automatic search of infrared code information, which helps to improve user convenience. If this is the nth (n is greater than 1) infrared code pairing process, at least one key infrared code and device category information of the home appliance that successfully responded in the previous infrared code pairing process can be used as an index to search for infrared code information from the preset database. In this way, the robot can select infrared code information from the preset database more quickly, thereby reducing the time consumption of the entire infrared code pairing process. After selecting the infrared code information, the robot The robot can transmit at least one button infrared code in the infrared code information; and determine whether the infrared pairing is successful based on the device response status of the identified home appliance to the button infrared code, so that automatic infrared pairing can be achieved, and the entire infrared pairing is successful without user participation, which can improve user convenience during the infrared pairing process; in addition, after the first infrared pairing, each infrared pairing is based on at least one button infrared code and device category information that the home appliance successfully responded to during the previous infrared pairing process as an index to select infrared code information from a preset database. Therefore, as the number of infrared pairing times increases during the infrared pairing process, the number of button infrared codes that the home appliance successfully responds to that can be used as an index will also continue to increase, so that the index information will become more and more abundant, and the efficiency and accuracy of infrared code information search will become higher and higher, thereby improving user convenience while reducing the time spent on searching for infrared code information, thereby also improving the efficiency of infrared pairing.
[0082] In a seventh aspect, the present application further provides an infrared code pairing method, the infrared code pairing method comprising:
[0083] In response to a home appliance control instruction, the robot is controlled to move to a location area where the home appliance is located, and according to an image of the home appliance taken in the location area, the device category information of the home appliance is identified;
[0084] Determining a target button corresponding to the home appliance control instruction, wherein the target button is used to control the home appliance to perform a device operation corresponding to the home appliance control instruction;
[0085] Controlling the robot to select infrared code information related to the device category information from a preset database;
[0086] Transmit multiple key infrared codes in the infrared code information, and determine whether infrared code pairing is successful based on the identified device response status of the home appliance to the key infrared code, wherein the multiple key infrared codes correspond to the target key and at least one preset key.
[0087] In the above infrared code pairing method, after detecting the home appliance control instruction, the robot will automatically move to the location area of the home appliance, and identify the device category information of the home appliance based on the home appliance image taken in the location area. In addition, the robot will also determine the target button corresponding to the home appliance control instruction, wherein the target button is used to control the home appliance to perform the device operation corresponding to the home appliance control instruction. Based on this, the robot will select infrared code information related to the device category information from the preset database, without the user having to manually select the infrared code information, which helps to improve user convenience; in addition, the robot will automatically send multiple button infrared codes in the infrared code information, and automatically identify The robot can automatically identify whether the infrared pairing is successful based on the device response status of other home appliances to the infrared code of the button. In this way, there is no need for the user to observe the response of the infrared code during the entire infrared pairing process. The robot can automatically complete the entire infrared pairing process, and no user participation is required throughout the infrared pairing process, thereby improving user convenience during the infrared pairing process. In addition, since multiple button infrared codes correspond to the target button and at least one preset button, the robot can use the infrared code information of successful pairing to control the home appliance to successfully execute the device operation corresponding to the home appliance control instruction, which can ensure the current availability of the infrared code information of successful pairing.
[0088] In an eighth aspect, the present application further provides an infrared code pairing method, the infrared code pairing method comprising:
[0089] In response to a home appliance control instruction, control the robot to move to a location area where the home appliance is located; identify device category information of the home appliance based on an image of the home appliance taken in the location area;
[0090] In the case of determining that the household appliance has a historical infrared code pairing process, searching for historical infrared code pairing information of the household appliance saved by the robot, wherein the historical infrared code pairing information includes at least one target key infrared code that the household appliance successfully responded to during the historical infrared code pairing process;
[0091] According to the target button infrared code and the device category information, control the robot to select infrared code information from a preset database;
[0092] At least one key infrared code in the infrared code information is transmitted, and whether the infrared pairing is successful is determined based on the identified device response status of the home appliance to the key infrared code, wherein the key infrared code is the infrared code to which the home appliance failed to respond in the historical infrared pairing process.
[0093] In the above infrared code pairing method, after detecting the control instruction of the home appliance, the robot will automatically move to the location area where the home appliance is located, and identify the device category information of the home appliance based on the image of the home appliance taken in the location area; in addition, when the robot determines that the home appliance has a historical infrared code pairing process, it will search for the saved historical infrared code pairing information of the home appliance, wherein the historical infrared code pairing information includes at least one target button infrared code that the home appliance successfully responded to during the historical infrared code pairing process. In this way, during the infrared code pairing process, the robot can select infrared code information from a preset database more quickly based on the target button infrared code and device category information, reduce the time consumption of selecting infrared code information, and improve the efficiency of infrared code pairing; in addition, during the infrared code pairing process, the robot will automatically send at least one button infrared code in the infrared code information, and automatically identify the device response status of the home appliance to the button infrared code, so that the robot can automatically identify whether the infrared code pairing is successful based on the device response status, so that the user does not need to observe the response status of the infrared code during the entire infrared code pairing process, and the robot can perform infrared code pairing without user participation throughout the infrared code pairing process, thereby improving the user convenience during the infrared code pairing process. BRIEF DESCRIPTION OF THE DRAWINGS
[0094] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0095] Figure 1 This is a diagram of the modular architecture of the robot in some embodiments of the present application;
[0096] Figure 2 This is a timing diagram of the interaction process related to the infrared code pairing process in some embodiments of the present application;
[0097] Figure 3 It is a timing diagram of the interaction process related to the first infrared code pairing process and the nth infrared code pairing process in some embodiments of the present application;
[0098] Figure 4 A timing diagram of the interaction process related to the infrared code pairing process in some other embodiments of the present application;
[0099] Figure 5 A timing diagram of the interaction process related to the infrared code pairing process in some other embodiments of the present application;
[0100] Figure 6 This is a flow chart of the infrared code matching method in some embodiments of the present application;
[0101] Figure 7 A schematic diagram of the flow of infrared code matching methods in other embodiments of the present application;
[0102] Figure 8 The figure is a flowchart of the infrared code matching method in some other embodiments of the present application. DETAILED DESCRIPTION
[0103] The following embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following embodiments do not represent all implementations consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application as detailed in the claims.
[0104] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and common meanings.
[0105] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0106] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0107] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0108] In an embodiment of the present application, a robot is provided, which may be a food delivery robot, a cleaning robot, or a companion robot, etc., which is not limited here.
[0109] In some embodiments, reference Figure 1 , Figure 1 The schematic diagram of the module architecture of the robot is shown. The robot includes a robot body 100, a mobile component 700, a camera 800 and a controller, wherein the controller includes at least a service component 200, a home appliance control tool 300, a navigation tool 400, a search tool 500 and a voice interaction tool 600.
[0110] Among them, the service component 200 is used to manage the robot's household appliance control tool 300, navigation tool 400, object search tool 500 and voice interaction tool 600 and other software, as well as to accept external input information. For example, the service component 200 can create a tool instance of the household appliance control tool 300 and schedule the household appliance control tool 300, etc.
[0111] The home appliance control tool 300 is used to control the robot to operate the home appliance. The home appliance control tool 300 can realize infrared code search function, image recognition function and infrared code sending control function, etc.
[0112] The navigation tool 400 is used to navigate the robot and can control the robot to move accurately in the workspace; the object-finding tool 500 is used to control the robot to find objects, such as finding household appliances that meet user-specified characteristics.
[0113] The voice interaction tool 600 can serve as a user input interface. The user can send home appliance control instructions to the robot by issuing voice commands. The home appliance control instructions are used to request the robot to control the home appliance to perform corresponding device operations, such as adjusting the air conditioning temperature, turning the display device on or off, etc.
[0114] The moving assembly 700 is used to carry the robot body 100 to move; the camera 800 is used to photograph the external environment.
[0115] In some embodiments, a robot is provided, wherein a controller of the robot is configured to:
[0116] In response to a home appliance control instruction, the robot is controlled to move to a location area where the home appliance is located, and based on an image of the home appliance taken in the location area, the device category information of the home appliance is identified; the robot is controlled to select first infrared code information related to the device category information from a preset database; at least one button infrared code in the infrared code information is transmitted, and the device response status of the home appliance to the button infrared code is identified; if the device response status of all button infrared codes is a successful response, the infrared pairing is successful; if the device response status of any button infrared code is a failed response, the infrared pairing fails, and the robot is continuously controlled to select other infrared code information related to the device category information except the first infrared code information from the preset database until the infrared pairing is successful.
[0117] Among them, after detecting the home appliance control instruction, the controller will first parse the home appliance control instruction, obtain navigation destination information and home appliance information, and according to the navigation destination information, control the robot to move to the location area where the home appliance is located, and use the camera to search for the home appliance corresponding to the home appliance information in the location area. After finding the home appliance, use the camera to capture the image of the home appliance in the location area, wherein the home appliance information can be the category of the home appliance, such as air conditioning or display device.
[0118] After capturing an image of a household appliance, the image of the household appliance can be identified to obtain an image recognition result; based on the image recognition result, device category information of the household appliance can be determined; wherein the device category information can include category information under a variety of classification methods, for example, the device category information can include function category information classified by device function category, and brand category information classified by device brand, etc.
[0119] After obtaining the device category information, the robot can be controlled to perform at least one infrared pairing process until the infrared pairing is successful. The infrared pairing process is as follows:
[0120] The robot first uses the device type information as an index to select the first infrared code information from a preset database, wherein the first infrared code information is a set of key infrared codes for controlling the home appliance, and each key infrared code is used to control the home appliance to realize a function corresponding to a key, such as a volume increase / decrease function and a device switch function, etc.; the selection step: selecting a key infrared code corresponding to a preset key from the first infrared code information, and controlling the robot to transmit the key infrared code, and identifying the device response status of the home appliance to the key infrared code through a camera; if the device response status is a response failure, it means that this infrared pairing fails, and the robot continues to be controlled to select other infrared code information related to the device category information except the first infrared code information from the preset database to enter the next infrared pairing process, and the infrared code information selected from the preset database for each infrared pairing process is different; if the device response status is a response success, then return to execute the selection step to test the key infrared code corresponding to the next preset key, wherein the preset key corresponding to each selected key infrared code is different; if the key infrared code of each preset key responds successfully, the infrared pairing is successful.
[0121] It should be noted that the preset buttons may be buttons corresponding to commonly used functions of home appliances; they may also be buttons corresponding to pre-set specific functions of home appliances; taking the home appliance as a display device as an example, the preset buttons may be a device power button, volume increase or decrease buttons, a return button, or a channel switching button, etc.; taking the home appliance as an air conditioner as an example, the preset buttons may be an air conditioner power button, a temperature increase or decrease buttons, or a heating and cooling mode switching button, etc.
[0122] In some embodiments, after the infrared pairing is successful, the robot can be controlled to transmit the key infrared code corresponding to the home appliance control instruction based on the infrared code information of the successful infrared pairing, so as to realize the device operation corresponding to the home appliance control instruction.
[0123] It should be noted that if the home appliance cannot respond to the infrared code corresponding to the key of the home appliance control command after the control robot transmits the infrared code corresponding to the key of the home appliance control command, the robot can be controlled to re-perform infrared code pairing to ensure that accurate infrared code information can be obtained, thereby ensuring that the home appliance can respond to the infrared code corresponding to the key of the home appliance control command.
[0124] It should be noted that the above-mentioned home appliance control instructions can be voice commands issued by the user, or information commands sent by the user through a terminal device, which is not limited here.
[0125] In some embodiments, reference Figure 2 ,by Figure 2 Taking the interaction sequence diagram shown as an example, the infrared code pairing process in this embodiment is described in detail.
[0126] First, the user will send a home appliance control instruction to the service component, which will parse the home appliance control instruction and generate a tool sequence based on the parsing results, where the tool sequence represents the order of tool scheduling, and the parsing results may be information such as the navigation destination and the purpose of device operation, for example, the navigation destination is the living room, and the purpose of device operation is to turn off the display device, etc.; the service component will first create a tool instance of the home appliance control tool to facilitate subsequent scheduling of home control devices; then it will first schedule the navigation tool and the object-finding tool, use the navigation tool to control the robot to move to the location area of the home appliance, and then use the object-finding tool to control the robot to find the home appliance; after finding the home appliance, the camera installed on the robot body can be used to capture the image of the home appliance, and the image of the home appliance can be fed back to the home appliance control tool.
[0127] After receiving the image of the home appliance, the home appliance control tool will first analyze the device type information of the home appliance based on the image of the home appliance, such as analyzing the brand category and function category of the home appliance; then, based on the device type information, the corresponding infrared code information can be searched from a preset database, and then the home appliance control tool can control the infrared transmitting device on the robot body to transmit at least one button infrared code in the infrared code information; when the infrared transmitting device transmits the button infrared code, the image of the home appliance is captured by the camera installed on the robot body, and the image of the home appliance is fed back to the home appliance control tool; the home appliance control tool can identify the device response status of the home appliance to the button infrared code by performing image recognition on the image of the home appliance captured this time, and feed back the device response status to the service component.
[0128] After receiving the device response status, if the service component detects that the device response status is a response failure, it can confirm that the infrared pairing has failed and reschedule the home appliance control tool to enter the next infrared pairing process, wherein each infrared pairing process selects different infrared code information from the preset database.
[0129] In addition, if it is detected that all devices respond successfully, the home appliance control tool is dispatched to control the robot to transmit the key infrared code corresponding to the home appliance control instruction according to the infrared code information of the successful pairing, so as to control the home appliance to perform the device operation corresponding to the home appliance control instruction. After transmitting the infrared code corresponding to the home appliance control instruction, if the home appliance successfully responds to the key infrared code corresponding to the home appliance control instruction, the successful operation information of the home appliance can be fed back to the user, for example, the successful operation information of the home appliance can be broadcasted by voice.
[0130] In the above embodiment, the user does not need to manually select the infrared code information when performing infrared pairing, which helps to improve user convenience; in addition, during the infrared pairing process, the robot will automatically send at least one button infrared code in the infrared code information, and automatically identify the device response status of the home appliance to the button infrared code, so that the robot can automatically identify whether the infrared pairing is successful based on the device response status. In this way, the user does not need to observe the response of the infrared code during the entire infrared pairing process. The robot can automatically perform infrared pairing, and infrared pairing does not require user participation, thereby improving user convenience during the infrared pairing process.
[0131] It should be noted that the home appliance control tool can control the infrared transmitter on the robot body to transmit a key infrared code corresponding to a preset key in the infrared code information each time, and then when the infrared transmitter transmits the key infrared code, use the camera installed on the robot body to capture the image of the home appliance, and feed the image of the home appliance back to the home appliance control tool. The home appliance control tool can identify the device response status of the home appliance to the key infrared code by performing image recognition on the image of the home appliance captured this time, and feed the device response status back to the service component; after receiving the device response status, if the service component detects that the device response status is a successful response, it notifies the home appliance control tool to continue controlling the infrared transmitter to transmit a key infrared code corresponding to another preset key in the infrared code information until the infrared pairing succeeds or fails; if the device response status is a failed response, it can be confirmed that the infrared pairing has failed, terminate the infrared pairing process, and reschedule the home appliance control tool to enter the next infrared pairing process, wherein the infrared code information selected from the preset database for each infrared pairing process is different; when it is detected that the response status corresponding to the key infrared codes corresponding to all preset keys is a successful response, it is determined that the infrared pairing is successful. In this way, during each infrared binding process, the robot will transmit multiple infrared codes corresponding to preset buttons in sequence. Once it is found that the device response status of the infrared code corresponding to a preset button is a response failure during the infrared binding process, the infrared binding process will be terminated immediately and it will be directly determined that the infrared binding has failed, so as to improve the efficiency of infrared binding.
[0132] In some embodiments, a robot is further provided, wherein a controller of the robot is configured to:
[0133] In response to a control instruction of a household appliance, the robot is controlled to move to a location area where the household appliance is located, and the device category information of the household appliance is identified based on an image of the household appliance taken in the location area; the robot is controlled to perform at least one infrared code pairing process until the infrared code pairing is successful, and the infrared code pairing process includes: if this is the first infrared code pairing process, the infrared code information is searched from a preset database with the device category information as an index; if this is the nth infrared code pairing process, where n is an integer greater than 1, at least one key infrared code that the household appliance successfully responded to in the previous infrared code pairing process is obtained, and the infrared code information is searched from a preset database with the at least one key infrared code that responded successfully and the device category information as an index; at least one key infrared code in the infrared code information is transmitted; and whether the infrared code pairing is successful is determined based on the device response status of the identified household appliance to the key infrared code.
[0134] In this embodiment, after receiving the home appliance control command, the robot will first automatically move to the location area where the home appliance is located, and identify the device category information of the home appliance based on the home appliance image taken in the location area. Based on this, the robot will perform at least one infrared code pairing process until the infrared code pairing is successful. If this is the first infrared code pairing process, the device category information can be used as an index to search for infrared code information from a preset database, thereby realizing automatic search of infrared code information, which helps to improve user convenience. If this is the nth (n is greater than 1) infrared code pairing process, at least one key infrared code and device category information of the home appliance that successfully responded in the previous infrared code pairing process can be used as an index to search for infrared code information from the preset database. In this way, the robot can select infrared code information from the preset database more quickly, thereby reducing the time consumption of the entire infrared code pairing process. After selecting the infrared code information, the robot At least one button infrared code in the infrared code information can be emitted; and based on the device response status of the identified home appliance to the button infrared code, it is determined whether the infrared pairing is successful, so that automatic infrared pairing can be achieved, and the entire infrared pairing is successful without user participation, which can improve user convenience during the infrared pairing process; in addition, after the first infrared pairing, each infrared pairing is based on at least one button infrared code and device category information that the home appliance successfully responded to during the previous infrared pairing process as an index to select infrared code information from a preset database. Therefore, as the number of infrared pairing times increases during the infrared pairing process, the number of button infrared codes that the home appliance successfully responds to that can be used as an index will also continue to increase, so that the index information will become more and more abundant, and the efficiency and accuracy of infrared code information search will become higher and higher, thereby improving user convenience while reducing the time spent on searching for infrared code information, thereby also improving the efficiency of infrared pairing.
[0135] It should be noted that, during the nth infrared pairing process, the key infrared code emitted by the robot is the key infrared code to which the home appliance failed to respond during the previous infrared pairing process.
[0136] Among them, the specific implementation content of obtaining device category information in this embodiment can refer to the content in the above embodiment, which will not be repeated here. The infrared code matching process in this embodiment is introduced in detail below.
[0137] Reference Figure 3First, the service component schedules the home appliance control tool to enter the first infrared pairing process. During the first infrared pairing process, the home appliance control tool will first use the device type information as an index to search for infrared code information from a preset database; then the home appliance control tool will control the infrared transmitter of the robot body to transmit the key infrared code of at least one preset key in the infrared code information found this time, and use the camera of the robot body to capture the image of the home appliance; after obtaining the image of the home appliance, the home appliance control tool will identify the device response status of the home appliance to the key infrared code based on the home appliance image, and feed back the device response status to the service component; thus, when the service component detects that the device response status is a response failure, it determines that this infrared pairing has failed, and enters the next infrared pairing process. When the service component detects that the device response status is a response success, it determines that this infrared pairing has succeeded.
[0138] In some embodiments, further reference is made to Figure 3 In the first infrared pairing process, the home appliance control tool can control the infrared transmitting device of the robot body to transmit the key infrared codes corresponding to multiple preset keys in sequence, and control the camera of the robot body to capture the image of the home appliance after transmitting each key infrared code. In this way, the home appliance control tool can obtain multiple home appliance images, and respectively identify the device response states corresponding to the multiple home appliance images, and feed back the multiple device response states to the service component; in this way, when the service component detects that the response state of any device is a response failure, it determines that this infrared pairing has failed and enters the next infrared pairing process. When the service component detects that the response states of multiple devices are all successful responses, it determines that this infrared pairing is successful.
[0139] In some embodiments, further reference is made to Figure 3In the first infrared pairing process, the home appliance control tool can control the infrared transmitter of the robot body to transmit a key infrared code corresponding to a preset key, and after transmitting the key infrared code, control the camera of the robot body to capture the image of the home appliance, thereby identifying the image of the home appliance and obtaining the device response status of the home appliance; at this time, the home appliance control tool can send the response status of the single device identified this time to the service component, so that when the service component detects that the response status of the single device is a response failure, it directly determines that this infrared pairing fails and enters the next infrared pairing process; when the service component detects that the response status of the single device is a response success, it returns to the execution step: control the infrared transmitter of the robot body to transmit a key infrared code corresponding to a preset key, wherein the preset key corresponding to the key infrared code emitted by the infrared transmitter of the robot body is different each time; when it is detected that the device response status corresponding to the key infrared code of all preset keys is a successful response, it can be determined that this infrared pairing is successful. In this way, when the key infrared code pairing of any preset key fails, the next infrared pairing process is immediately entered, without wasting time to continue to control the robot to transmit the key infrared code, thereby improving the efficiency of the first infrared pairing.
[0140] Further references Figure 3 It can be seen that if the first infrared code pairing fails, the subsequent infrared code pairing process will be entered. The following description will be made by taking the subsequent infrared code pairing process as the nth infrared code pairing process as an example, where n is a positive integer greater than 1.
[0141] The service component first schedules the home appliance control tool to enter the nth infrared pairing process. During the nth infrared pairing process, the home appliance control tool will first obtain at least one infrared code of a key that the home appliance successfully responded to during the previous infrared pairing process, and then use the at least one infrared code of a key that successfully responded and the device category information as indexes to search for infrared code information from a preset database; then the home appliance control tool can control the infrared transmitting device of the robot body to transmit at least one target key infrared code in the infrared code information found this time, wherein the target key infrared code is the key infrared code of a preset key that failed to respond during the previous infrared pairing process, and use the camera of the robot body to capture an image of the home appliance; after obtaining the image of the home appliance, the home appliance control tool will identify the device response status of the home appliance to the target key infrared code based on the home appliance image, and feed back the device response status to the service component; thus, when the service component detects that the device response status is a response failure, it determines that this infrared pairing has failed, and enters the next infrared pairing process, and when the service component detects that the device response status is a response success, it determines that this infrared pairing has succeeded.
[0142] In some embodiments, further reference is made to Figure 3During the nth infrared pairing process, the home appliance control tool can control the infrared transmitting device of the robot body to transmit multiple target button infrared codes in sequence, and control the camera of the robot body to capture the image of the home appliance after transmitting each target button infrared code. In this way, the home appliance control tool can obtain multiple home appliance images, and respectively identify the device response states corresponding to the multiple home appliance images, and feed back the multiple device response states to the service component; in this way, when the service component detects that the response state of any device is a response failure, it determines that this infrared pairing has failed and enters the next infrared pairing process. When the service component detects that the response states of multiple devices are all successful responses, it determines that this infrared pairing is successful.
[0143] In some embodiments, further reference is made to Figure 3 , during the nth infrared pairing process, the home appliance control tool can control the infrared transmitter of the robot body to transmit a target button infrared code, and after transmitting the target button infrared code, control the camera of the robot body to capture the image of the home appliance, thereby identifying the image of the home appliance and obtaining the device response status of the home appliance; at this time, the home appliance control tool can send the response status of the single device identified this time to the service component, so that when the service component detects that the response status of the single device is a response failure, it directly determines that this infrared pairing fails and enters the next infrared pairing process; when the service component detects that the response status of the single device is a response success, it returns to the execution step: controlling the infrared transmitter of the robot body to transmit a target button infrared code, wherein the preset button corresponding to each target button infrared code emitted by the infrared transmitter of the robot body is different; when it is detected that the device response status corresponding to all the target button infrared codes is a response success, it can be determined that this infrared pairing is successful. In this way, when any target button fails to respond, the next infrared pairing process is immediately entered, and there is no need to waste time to continue to control the robot to transmit the target button infrared code, thereby improving the efficiency of the nth infrared pairing.
[0144] In the above embodiment, during the nth infrared pairing process, the robot will first use the device category information and at least one key infrared code that the household appliance successfully responded to during the previous infrared pairing process as indexes to search for infrared code information from a preset database. This allows the infrared code information to be found from the preset database more quickly, reducing the time spent in searching for infrared code information. Then, for the target key infrared code that failed to respond in the previous infrared pairing process in the infrared code information, the robot will transmit the target key infrared code. This can reduce the number of key infrared codes transmitted by the robot during the nth infrared pairing process. In addition, in the process of identifying the device response status of the household appliance to the target key infrared code, the number of key infrared codes that the robot needs to test whether the household appliance responds can be reduced. This can reduce the time spent on the robot testing the key infrared code. Therefore, the efficiency of infrared pairing can be improved in this embodiment.
[0145] In some embodiments, a robot is further provided, wherein a controller of the robot is configured to:
[0146] In response to a home appliance control instruction, the robot is controlled to move to a location area where the home appliance is located, and based on an image of the home appliance taken in the location area, the device category information of the home appliance is identified; a target button corresponding to the home appliance control instruction is determined, wherein the target button is used to control the home appliance to perform a device operation corresponding to the home appliance control instruction; the robot is controlled to select infrared code information related to the device category information from a preset database; multiple button infrared codes in the infrared code information are transmitted, and based on the identified device response status of the home appliance to the button infrared code, whether the infrared code pairing is successful is determined, wherein the multiple button infrared codes correspond to the target button and at least one preset button.
[0147] Among them, after detecting the home appliance control instruction, the controller first parses the home appliance control instruction, obtains navigation destination information and home appliance information, and controls the robot to move to the location area where the home appliance is located according to the navigation destination information, and searches for the home appliance corresponding to the home appliance information in the location area through the camera. After finding the home appliance, the image of the home appliance is captured in the location area, wherein the home appliance information can be the category of the home appliance, such as air conditioning or display device.
[0148] After capturing an image of the household appliance, first determine a target button corresponding to a control instruction of the household appliance based on the analysis result, wherein the target button is used to control the household appliance to perform a device operation corresponding to the device operation; in addition, the image of the household appliance may be recognized to obtain an image recognition result; based on the image recognition result, determine device category information of the household appliance; wherein the device category information may include category information under a plurality of classification methods, for example, the device category information may include function category information classified by device function category, and brand category information classified by device brand, etc.
[0149] After obtaining the device category information, the robot first uses the device type information as an index to select infrared code information from a preset database, wherein the infrared code information is a set of button infrared codes for controlling home appliances, and each button infrared code is used to control the home appliance to implement a function corresponding to a button, such as volume increase and decrease function and device switch function, etc.; selection step: select a button infrared code corresponding to a preset button or select a button infrared code corresponding to a target button from the infrared code information, and control the robot to transmit the button infrared code, and identify the device response status of the home appliance to the button infrared code through the camera; if the device response status is no response, it means that this infrared code pairing has failed, and enters the next infrared code pairing process; if the device response status is a successful response, return to execute the selection step to test the button infrared code corresponding to the next button, wherein each selected button infrared code corresponds to a different button; when the button infrared codes corresponding to each preset button and the target button respond successfully, it is determined that this infrared code pairing is successful.
[0150] It should be noted that the preset buttons may be buttons corresponding to commonly used functions of home appliances; they may also be buttons corresponding to pre-set specific functions of home appliances; taking the home appliance as a display device as an example, the preset buttons may be a device switch button, a volume increase or decrease button, a return button, or a channel switching button, etc.; taking the home appliance as an air conditioner as an example, the preset buttons may be an air conditioner switch button, a temperature increase or decrease button, or a heating or cooling mode switching button, etc.; the target button is a button corresponding to a control instruction of the home appliance; for example, if the control instruction of the home appliance is to increase the volume of the TV, the target button is the volume increase or decrease button; if the control instruction of the home appliance is to turn off the air conditioner, the target button is the air conditioner switch button, etc.
[0151] In the above embodiment, since multiple button infrared codes correspond to the target button and at least one preset button, the robot can use the infrared code information of successful pairing to control the home appliance to perform the device operation corresponding to the current home appliance control instruction. Therefore, on the basis of realizing automatic infrared pairing by the robot, the current availability of the infrared code information of successful pairing can also be guaranteed.
[0152] In some embodiments, reference Figure 4 The infrared code matching process in this embodiment is introduced in detail.
[0153] First, the user will send a home appliance control instruction to the service component, which will parse the home appliance control instruction and generate a tool sequence based on the parsing results, where the tool sequence represents the order of tool scheduling, and the parsing results may be information such as the destination and the purpose of device operation, for example, the navigation destination is the living room, and the purpose of device operation is to turn off the display device, etc.; the service component will first create a tool instance of the home appliance control tool to facilitate subsequent scheduling of home control devices; then it will first schedule the navigation tool and the object-finding tool, use the navigation tool to control the robot to move to the location area of the home appliance, and then use the object-finding tool to control the robot to find the home appliance; after finding the home appliance, the camera installed on the robot body can be used to capture the image of the home appliance, and the image of the home appliance can be fed back to the home appliance control tool.
[0154] After receiving the home appliance image, the home appliance control tool will first analyze the device type information of the home appliance based on the home appliance image, such as analyzing the brand category and function category of the home appliance; in addition, the service component can also determine the target button corresponding to the home appliance control instruction based on the parsing result of the home appliance control instruction, and send the confirmation information of the target button to the home appliance control tool, where the confirmation information of the target button can be the identification or name of the target button, etc.
[0155] Afterwards, the home appliance control tool can first analyze the device type information of the home appliance based on the home appliance image, such as analyzing the brand category and function category of the home appliance; then, according to the device type information, the corresponding infrared code information can be searched from the preset database, so that the home appliance control tool can control the infrared transmitting device on the robot body to transmit the key infrared code of at least one preset key and the key infrared code of the target key in the infrared code information; when the infrared transmitting device transmits the key infrared code, the camera installed on the robot body is used to capture the image of the home appliance, and the image of the home appliance is fed back to the home appliance control tool; the home appliance control tool can identify the device response status of the home appliance to the key infrared code by performing image recognition on the image of the home appliance captured this time, and feed back the device response status to the service component.
[0156] After receiving the device response status, if the service component detects that the device response status is a response failure, it determines that the infrared pairing fails, and reschedules the home appliance control tool to enter the next infrared pairing process.
[0157] In addition, if it is detected that the device response status is a successful response, it is determined that the infrared pairing is successful, and the home appliance control tool is dispatched. According to the infrared code information of the successful pairing, the robot is controlled to transmit the infrared code corresponding to the home appliance control instruction to control the home appliance to perform the device operation corresponding to the home appliance control instruction. After transmitting the infrared code corresponding to the home appliance control instruction, the successful operation information of the home appliance can be fed back to the user, for example, the successful operation information of the home appliance can be broadcasted by voice.
[0158] Further references Figure 4 During the infrared pairing process, the home appliance control tool can control the infrared transmitting device of the robot body to sequentially transmit infrared codes corresponding to multiple preset buttons and infrared codes of target buttons, and control the camera of the robot body to capture images of home appliances after transmitting each infrared code. In this way, the home appliance control tool can obtain multiple images of home appliances, and respectively identify the device response states corresponding to the multiple images of home appliances, and feed back the multiple device response states to the service component; in this way, when the service component detects that the response state of any device is a response failure, it determines that the infrared pairing has failed, and enters the next infrared pairing process. When the service component detects that the response states of multiple devices are all response successes, it determines that the infrared pairing has succeeded.
[0159] Further references Figure 4 During the infrared pairing process, the home appliance control tool can control the infrared transmitting device of the robot body to transmit a key infrared code corresponding to a preset key or a key infrared code corresponding to a target key, and after transmitting the key infrared code, control the camera of the robot body to capture the image of the home appliance, thereby identifying the image of the home appliance and obtaining the device response status of the home appliance; at this time, the home appliance control tool can send the response status of the single device identified this time to the service component, so that when the service component detects that the response status of the single device is a response failure, it directly determines that the infrared pairing fails and enters the next infrared pairing process; when the service component detects that the response status of the single device is a response success, it returns to the execution step: controlling the infrared transmitting device of the robot body to transmit a key infrared code corresponding to a preset key or a key infrared code corresponding to the target key, wherein the key infrared code transmitted by the infrared transmitting device of the robot body each time corresponds to a different key; when it is detected that the device response status corresponding to all the transmitted key infrared codes is a successful response, it can be determined that this infrared pairing is successful. In this way, in the present embodiment, when any key infrared code pairing fails, the next infrared code pairing process is immediately entered, without wasting time to continue to control the robot to transmit the key infrared code, thereby improving the efficiency of infrared code pairing.
[0160] In some embodiments, a robot is further provided, wherein a controller of the robot is configured to:
[0161] In response to a control instruction of a household appliance, the robot is controlled to move to a location area where the household appliance is located; based on an image of the household appliance taken in the location area, the device category information of the household appliance is identified; when it is determined that there is a historical infrared code pairing process for the household appliance, the historical infrared code pairing information of the household appliance saved by the robot is searched, wherein the historical infrared code pairing information includes at least one target button infrared code to which the household appliance successfully responded during the historical infrared code pairing process; based on the target button infrared code and the device category information, the robot is controlled to select infrared code information from a preset database; at least one button infrared code in the infrared code information is transmitted, and based on the identified device response status of the household appliance to the button infrared code, whether the infrared code pairing is successful is determined, wherein the button infrared code is an infrared code to which the household appliance failed to respond during the historical infrared code pairing process.
[0162] Among them, after detecting the home appliance control instruction, the controller first parses the home appliance control instruction, obtains navigation destination information and home appliance information, and controls the robot to move to the location area where the home appliance is located according to the navigation destination information, and searches for the home appliance corresponding to the home appliance information in the location area through the camera. After finding the home appliance, the image of the home appliance is captured in the location area, wherein the home appliance information can be the category of the home appliance, such as air conditioning or display device.
[0163] In addition, it is also possible to detect whether there is a mark ID of the household appliance in the above-mentioned location area in the robot's navigation map. If there is a mark ID, it means that the household appliance has been infrared paired before. Therefore, the historical infrared pairing information of the household appliance saved by the robot can be searched, wherein the historical infrared pairing information includes at least one target button infrared code to which the household appliance successfully responded during the historical infrared pairing process.
[0164] After capturing the image of the household appliance, the image of the household appliance can be identified to obtain an image recognition result; based on the image recognition result, the device category information of the household appliance can be determined; wherein the device category information can include category information under a variety of classification methods, for example, the device category information can include function category information classified by device function category, and brand category information classified by device brand, etc.
[0165] After obtaining the device category information and historical infrared pairing information, the robot can be controlled to first use the device type information and the target button infrared code as indexes to select infrared code information from a preset database, wherein the infrared code information is a set of button infrared codes for controlling home appliances, and each button infrared code is used to control the home appliance to implement a function corresponding to a button, such as a volume increase / decrease function and a device switch function, etc.; the selection step: selecting a button infrared code corresponding to a first target button from the infrared code information, wherein the first target button is a button other than a second target button corresponding to the target button infrared code among multiple preset buttons; controlling the robot to transmit the button infrared code corresponding to the first target button, and identifying the device response status of the home appliance to the button infrared code corresponding to the first target button through the camera; if the device response status is a response failure, it means that this infrared pairing fails, and enters the next infrared pairing process; if the device response status is a response success, return to execute the selection step to test the button infrared code corresponding to the next first target button, wherein the first target button corresponding to the button infrared code selected each time is different; when the button infrared code of each first target button responds successfully, it is determined that this infrared pairing is successful.
[0166] It should be noted that the preset buttons may be buttons corresponding to commonly used functions of home appliances; they may also be buttons corresponding to pre-set specific functions of home appliances; taking the home appliance as a display device as an example, the preset buttons may be a device power button, volume increase or decrease buttons, a return button, or a channel switching button, etc.; taking the home appliance as an air conditioner as an example, the preset buttons may be an air conditioner power button, a temperature increase or decrease buttons, or a heating and cooling mode switching button, etc.
[0167] In some embodiments, after the infrared pairing is successful, the robot can be controlled to transmit the key infrared code corresponding to the home appliance control instruction based on the infrared code information of the successful infrared pairing, so as to realize the device operation corresponding to the home appliance control instruction.
[0168] It should be noted that if the home appliance cannot respond to the infrared code corresponding to the key of the home appliance control command after the control robot transmits the infrared code corresponding to the key of the home appliance control command, the robot can be controlled to re-perform infrared code pairing to ensure that accurate infrared code information can be obtained to ensure that the home appliance can respond to the infrared code corresponding to the key of the home appliance control command.
[0169] In some embodiments, reference Figure 5 The infrared code matching process in this embodiment is introduced in detail.
[0170] First, the user will send the home appliance control command to the service component, the service component will parse the home appliance control command and generate a tool sequence based on the parsing results, where the tool sequence is the order of tool scheduling, and the parsing results may be information such as the destination and the purpose of the device operation, for example, the navigation destination is the living room, and the device operation purpose is to turn off the display device, etc.; the service component will first create a tool instance of the home appliance control tool to facilitate the subsequent scheduling of home control devices; then it will first schedule the navigation tool and the search tool, use the navigation tool to control the robot to move to the location area of the home appliance, and then use the search tool to control the robot to find the home appliance. ; After finding the home appliance, the camera installed on the robot body can be used to capture the image of the home appliance, and the image of the home appliance can be fed back to the home appliance control tool; after receiving the image of the home appliance, the home appliance control tool will first analyze the device type information of the home appliance based on the image of the home appliance, such as analyzing the brand category and function category of the home appliance; in addition, the service component can also determine the target button corresponding to the home appliance control instruction based on the parsing result of the home appliance control instruction, and send the confirmation information of the target button to the home appliance control tool, where the confirmation information of the target button can be the identification or name of the target button, etc.
[0171] In addition, the service component will also dispatch the navigation tool to detect whether there is a tag ID of the home appliance in the above-mentioned location area in the conductive map, and if the tag ID exists, it will search for the saved historical infrared code pairing information of the home appliance, and send the target button infrared code in the historical infrared code pairing information to the home appliance control tool, where the target button infrared code is the button infrared code to which the home appliance successfully responds in the historical infrared code pairing information; then the service component will send the target button infrared code to the home appliance control tool.
[0172] After obtaining the target button infrared code and device category information, the home appliance control tool can use the target button infrared code and device category information as indexes to search for corresponding infrared code information from a preset database, so that the home appliance control tool can control the infrared transmitting device on the robot body to transmit the button infrared code of at least one first target button in the infrared code information, wherein the first target button is a button among multiple preset buttons except the second target button corresponding to the target button infrared code; when the infrared transmitting device transmits the button infrared code of the first target button, the camera installed on the robot body is used to capture the image of the home appliance, and the image of the home appliance is fed back to the home appliance control tool; the home appliance control tool can identify the device response status of the home appliance to the button infrared code by performing image recognition on the image of the home appliance captured this time, and feed back the device response status to the service component.
[0173] After receiving the device response status, if the service component detects that the device response status is a response failure, it confirms that the infrared pairing has failed, and reschedules the home appliance control tool to enter the next infrared pairing process.
[0174] In addition, if it is detected that the device response status is a successful response, the infrared pairing is confirmed to be successful, and the home appliance control tool is dispatched. According to the infrared code information of the successful pairing, the robot is controlled to transmit the infrared code corresponding to the home appliance control instruction to control the home appliance to perform the device operation corresponding to the home appliance control instruction. After transmitting the infrared code corresponding to the home appliance control instruction, the successful operation information of the home appliance can be fed back to the user, for example, the successful operation information of the home appliance can be broadcasted by voice.
[0175] It should be noted that after each successful response to infrared code pairing, the service component will update the more accurate infrared code information to the locally stored historical infrared code pairing information. Therefore, it can continuously self-learn more accurate infrared code information, laying the foundation for the subsequent use of robots to accurately and efficiently control home appliances.
[0176] In the above embodiment, during the infrared coding process, the robot will search for infrared code information from a preset database more quickly based on the target button infrared code and device category information, thereby reducing the time spent on searching for infrared code information; and during the infrared coding process, the robot only needs to perform an infrared coding test on the first target button that has not been tested in the historical coding process, thereby reducing the number of button infrared codes that the robot needs to test during the infrared coding process, and reducing the time spent on the button infrared code testing process, thereby while using the robot to achieve automatic infrared coding, the efficiency of infrared coding can also be improved.
[0177] In some embodiments, further reference is made to Figure 5 During the infrared pairing process, the home appliance control tool can control the infrared transmitting device of the robot body to sequentially transmit the key infrared codes corresponding to multiple first target keys, and control the camera of the robot body to capture the image of the home appliance after transmitting the key infrared code of each first target key. In this way, the home appliance control tool can obtain multiple home appliance images, and respectively identify the device response states corresponding to the multiple home appliance images, and feed back the multiple device response states to the service component; in this way, when the service component detects that the response state of any device is a response failure, it confirms that the infrared pairing has failed and enters the next infrared pairing process. When the service component detects that the response states of multiple devices are all response successes, it confirms that the infrared pairing has succeeded.
[0178] In some embodiments, further reference is made to Figure 5During the infrared pairing process, the home appliance control tool can control the infrared transmitting device of the robot body to transmit a key infrared code corresponding to a first target key, and after transmitting the key infrared code corresponding to the first target key, control the camera of the robot body to capture the image of the home appliance, thereby identifying the image of the home appliance and obtaining the device response status of the home appliance; at this time, the home appliance control tool can send the response status of the single device identified this time to the service component, so that when the service component detects that the response status of the single device is a response failure, it directly determines that this infrared pairing has failed and enters the next infrared pairing process; when the service component detects that the response status of the single device is a response success, it returns to the execution step: controlling the infrared transmitting device of the robot body to transmit a key infrared code corresponding to a first target key, wherein the key infrared code transmitted by the infrared transmitting device of the robot body each time corresponds to a different first target key; when it is detected that the device response status corresponding to the key infrared codes of all first target keys is a successful response, it can be determined that the infrared pairing is successful. In this way, in this embodiment, when the infrared code pairing corresponding to any first target button fails, the next infrared code pairing process is immediately entered without wasting time to continue controlling the robot to transmit the infrared code of the button, thereby improving the efficiency of infrared code pairing.
[0179] In some embodiments, reference Figure 6 , and also provides an infrared code pairing method, the infrared code pairing method comprising:
[0180] Step 202 , in response to the home appliance control instruction, control the robot to move to the location area where the home appliance is located, and identify the device category information of the home appliance based on the image of the home appliance taken in the location area.
[0181] Step 204, controlling the robot to select first infrared code information related to device category information from a preset database.
[0182] Step 206: transmit at least one key infrared code in the infrared code information, and identify the device response status of the home appliance to the key infrared code.
[0183] Step 208: If the device response status of all key infrared codes is successful, the infrared code pairing is successful.
[0184] Step 210, if the device response status of any key infrared code is response failure, the infrared pairing fails, and the robot continues to be controlled to select other infrared code information related to the device category information except the first infrared code information from the preset database until the infrared pairing succeeds.
[0185] The implementation solution to the problem provided by the above-mentioned infrared code matching method is similar to the implementation solution recorded in the above-mentioned robot embodiment. Therefore, the specific limitations in the infrared code matching method embodiment of the present application can be referred to the limitations on the robot embodiment above, and will not be repeated here.
[0186] In some embodiments, an infrared code pairing method is also provided, and the infrared code pairing method includes:
[0187] In response to a control instruction of a household appliance, the robot is controlled to move to a location area where the household appliance is located, and the device category information of the household appliance is identified based on an image of the household appliance taken in the location area; the robot is controlled to perform at least one infrared code pairing process until the infrared code pairing is successful, and the infrared code pairing process includes: if this is the first infrared code pairing process, the infrared code information is searched from a preset database with the device category information as an index; if this is the nth infrared code pairing process, where n is an integer greater than 1, at least one key infrared code that the household appliance successfully responded to in the previous infrared code pairing process is obtained, and the infrared code information is searched from a preset database with the at least one key infrared code that responded successfully and the device category information as an index; at least one key infrared code in the infrared code information is transmitted; and whether the infrared code pairing is successful is determined based on the device response status of the identified household appliance to the key infrared code.
[0188] The implementation solution to the problem provided by the above-mentioned infrared code matching method is similar to the implementation solution recorded in the above-mentioned robot embodiment. Therefore, the specific limitations in the infrared code matching method embodiment of the present application can be referred to the limitations on the robot embodiment above, and will not be repeated here.
[0189] In some embodiments, reference Figure 7 , and also provides an infrared code pairing method, the infrared code pairing method comprising:
[0190] Step 302 , in response to the home appliance control instruction, control the robot to move to the location area where the home appliance is located, and identify the device category information of the home appliance based on the image of the home appliance taken in the location area.
[0191] Step 304 , determining a target button corresponding to the home appliance control instruction, wherein the target button is used to control the home appliance to execute the device operation corresponding to the home appliance control instruction.
[0192] Step 306, controlling the robot to select infrared code information related to the device category information from a preset database.
[0193] Step 308, transmitting multiple key infrared codes in the infrared code information, and determining whether the infrared code pairing is successful based on the identified device response status of the home appliance to the key infrared code, wherein the multiple key infrared codes correspond to the target key and at least one preset key.
[0194] The implementation solution to the problem provided by the above-mentioned infrared code matching method is similar to the implementation solution recorded in the above-mentioned robot embodiment. Therefore, the specific limitations in the infrared code matching method embodiment of the present application can be referred to the limitations on the robot embodiment above, and will not be repeated here.
[0195] In some embodiments, reference Figure 8 , and also provides an infrared code pairing method, the infrared code pairing method comprising:
[0196] Step 402, in response to the home appliance control instruction, control the robot to move to the location area where the home appliance is located; and identify the device category information of the home appliance based on the image of the home appliance taken in the location area.
[0197] Step 404, when it is determined that the home appliance has a historical infrared pairing process, search for historical infrared pairing information of the home appliance saved by the robot, wherein the historical infrared pairing information includes at least one target button infrared code that the home appliance successfully responded to during the historical infrared pairing process.
[0198] Step 406, according to the target button infrared code and device category information, control the robot to select infrared code information from a preset database.
[0199] Step 408, transmitting at least one key infrared code in the infrared code information, and determining whether the infrared pairing is successful based on the identified device response status of the home appliance to the key infrared code, wherein the key infrared code is the infrared code to which the home appliance failed to respond in the historical infrared pairing process.
[0200] The implementation solution to the problem provided by the above-mentioned infrared code matching method is similar to the implementation solution recorded in the above-mentioned robot embodiment. Therefore, the specific limitations in the infrared code matching method embodiment of the present application can be referred to the limitations on the robot embodiment above, and will not be repeated here.
[0201] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0202] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A robot, characterized in that: The robot comprises: Camera; The controller is configured as: In response to a home appliance control instruction, the robot is controlled to move to a location area where the home appliance is located, and according to an image of the home appliance taken in the location area, the device category information of the home appliance is identified; Control the robot to select first infrared code information related to the device category information from a preset database; Transmitting at least one key infrared code in the infrared code information, and identifying a device response status of the home appliance to the key infrared code; If the device response status of all the key infrared codes is successful, the infrared code pairing is successful; If the device response status of any of the button infrared codes is a response failure, the infrared pairing fails, and the robot continues to be controlled to select other infrared code information related to the device category information except the first infrared code information from the preset database until the infrared pairing succeeds.
2. A robot, characterized in that: The robot comprises: Camera; The controller is configured as: In response to a home appliance control instruction, the robot is controlled to move to a location area where the home appliance is located, and according to an image of the home appliance taken in the location area, the device category information of the home appliance is identified; Control the robot to perform at least one infrared code pairing process until the infrared code pairing is successful, the infrared code pairing process comprising: If this is the first infrared code pairing process, the infrared code information is searched from the preset database using the device category information as an index; If this is the nth infrared pairing process, and n is an integer greater than 1, then obtaining at least one infrared code of a key that the household appliance successfully responded to in the previous infrared pairing process, and using the at least one infrared code of a key that successfully responded and the device category information as indexes, searching for infrared code information from a preset database; At least one key infrared code in the infrared code information is transmitted; and whether the infrared code pairing is successful is determined according to the identified device response status of the home appliance to the key infrared code.
3. The robot according to claim 2, characterized in that: During the nth infrared pairing process, the key infrared code emitted by the robot is the key infrared code to which the household appliance failed to respond during the previous infrared pairing process.
4. The robot according to claim 2, characterized in that: When performing the nth infrared code pairing process, the controller is further configured as follows: Acquisition step: acquiring the target key infrared code from the infrared code information found this time, wherein the target key infrared code is the infrared code of the key to which the home appliance failed to respond in the last infrared code matching process; Controlling the robot to transmit the target key infrared code, and identifying the device response status of the household appliance to the target key infrared code; If the device response status is a response failure, the infrared code pairing fails, and the next infrared code pairing process is entered until the infrared code pairing succeeds, wherein the infrared code information searched from the preset database during each infrared code pairing process is different; If the household appliance successfully responds to the target button infrared code, the step of returning to the acquisition step is performed, wherein the preset button corresponding to the target button infrared code acquired from the infrared code information each time is different; When the household appliance responds to each of the target button infrared codes, the infrared code matching is successful.
5. A robot, characterized in that: The robot comprises: Camera; The controller is configured as: In response to a home appliance control instruction, the robot is controlled to move to a location area where the home appliance is located, and according to an image of the home appliance taken in the location area, the device category information of the home appliance is identified; Determining a target button corresponding to the home appliance control instruction, wherein the target button is used to control the home appliance to perform a device operation corresponding to the home appliance control instruction; Controlling the robot to select infrared code information related to the device category information from a preset database; Transmit multiple key infrared codes in the infrared code information, and determine whether infrared code pairing is successful based on the identified device response status of the home appliance to the key infrared code, wherein the multiple key infrared codes correspond to the target key and at least one preset key.
6. The robot according to claim 5, characterized in that: The controller is further configured to: According to the device category information, searching for infrared code information from a preset database; Acquisition step: acquiring the infrared code corresponding to the preset key or the target key from the infrared code information; Controlling the robot to transmit the key infrared code, and identifying the device response status of the household appliance to the key infrared code; If the device response status is a response failure, the infrared code pairing fails, and the next infrared code pairing process is entered until the infrared code pairing succeeds, wherein the infrared code information searched from the preset database during each infrared code pairing process is different; If the device response status is a successful response, then returning to the acquisition step, wherein the key infrared code obtained from the infrared code information each time corresponds to a different key; When the household appliance successfully responds to each of the key infrared codes, the infrared code pairing is successful.
7. A robot, characterized in that: The robot comprises: Camera; The controller is configured as: In response to a home appliance control instruction, control the robot to move to a location area where the home appliance is located; identify device category information of the home appliance based on an image of the home appliance taken in the location area; In the case of determining that the household appliance has a historical infrared code pairing process, searching for historical infrared code pairing information of the household appliance saved by the robot, wherein the historical infrared code pairing information includes at least one target key infrared code that the household appliance successfully responded to during the historical infrared code pairing process; According to the target button infrared code and the device category information, control the robot to select infrared code information from a preset database; At least one key infrared code in the infrared code information is transmitted, and whether the infrared pairing is successful is determined based on the identified device response status of the home appliance to the key infrared code, wherein the key infrared code is the infrared code to which the home appliance failed to respond in the historical infrared pairing process.
8. The robot according to claim 7, characterized in that: The controller is further configured to: According to the target button infrared code and the device category information, searching for infrared code information from a preset database; Acquisition step: acquiring a key infrared code corresponding to a first target key from the infrared code information, wherein the first target key is a key among a plurality of preset keys except a second target key corresponding to the infrared code of the target key; Controlling the robot to transmit the key infrared code corresponding to the first target key, and identifying the device response status of the home appliance to the key infrared code; If the device response status is a response failure, the infrared code pairing fails, and the next infrared code pairing process is entered until the infrared code pairing succeeds, wherein the infrared code information searched from the preset database during each infrared code pairing process is different; If the device response status is a successful response, then returning to execute the acquisition step, wherein the first target key corresponding to the key infrared code acquired from the infrared code information is different each time; When the household appliance successfully responds to the infrared code of each of the first target buttons, the infrared code pairing is successful.
9. The robot according to claim 7, characterized in that: The controller is further configured to: After the infrared code pairing is successful, the robot is controlled to update the saved historical infrared code pairing information according to the infrared code information of the successful infrared code pairing.
10. An infrared code matching method, characterized in that: The method comprises: In response to a home appliance control instruction, the robot is controlled to move to a location area where the home appliance is located, and according to an image of the home appliance taken in the location area, the device category information of the home appliance is identified; Control the robot to select first infrared code information related to the device category information from a preset database; Transmitting at least one key infrared code in the infrared code information, and identifying a device response status of the home appliance to the key infrared code; If the device response status of all the key infrared codes is successful, the infrared code pairing is successful; If the device response status of any of the button infrared codes is a response failure, the infrared pairing fails, and the robot continues to be controlled to select other infrared code information related to the device category information except the first infrared code information from the preset database until the infrared pairing succeeds.