Multi-infrared device linkage control method and device, equipment, medium and program product
By parsing and carrying control commands from multiple infrared devices in the infrared transponder, the single-point control problem of the infrared transponder is solved, realizing the linkage control of multiple devices and improving control reliability and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD
- Filing Date
- 2025-01-03
- Publication Date
- 2026-07-03
AI Technical Summary
Existing infrared repeaters can only achieve single-point control and cannot support the linkage control of multiple infrared devices, resulting in the need for multiple data exchanges and loss or disorder of control commands, which affects the user experience.
By parsing control commands from multiple infrared devices using multi-device control coding information and carrying multiple control commands in a single infrared code, the control of multiple infrared devices can be completed in a single interaction, avoiding large-scale data interaction between the infrared transponder and the cloud and the loss or disorder of control commands.
It improves the reliability of infrared device linkage control, reduces maintenance costs, and enhances the user experience.
Smart Images

Figure CN122339871A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of the Internet of Things, and in particular to a method, device, equipment, medium and program product for controlling multiple infrared devices in a linked manner. Background Art
[0002] Currently, non-smart devices (such as traditional air conditioners, fans, and TVs) that have simple functions such as infrared and Bluetooth but cannot be connected to the network have also become an important part of the intelligent control field. For such devices, the existing intelligent control methods are mainly divided into infrared intelligent terminal control and infrared repeater control. Since mobile terminals with infrared functions are not currently popular, the infrared repeater control method is a widely used infrared management and control method at present.
[0003] However, the existing infrared repeater technical solutions mainly focus on single-point control, that is, only one device can be controlled at a time, and multi-infrared device linked control is not supported. When multiple infrared devices need to be controlled, it is necessary to complete the data interaction from the smart home platform to the set-top box to the infrared device multiple times. Therefore, it is urgent to solve the single-point control problem of the infrared repeater. Summary of the Invention
[0004] The present invention provides a method, device, equipment, medium and program product for controlling multiple infrared devices in a linked manner, so as to solve the defect of single-point control of the infrared repeater in the prior art and realize the control of multiple infrared devices through a single interaction.
[0005] The present invention provides a method for controlling multiple infrared devices in a linked manner, which is applied to an infrared repeater and includes the following steps: Receiving a multi-infrared device control instruction triggered by a smart cloud platform; Based on multi-device control coding information, parsing the multi-infrared device control instruction to obtain control instructions for multiple infrared devices; Sending the control instruction to each of the infrared devices.
[0006] According to a method for controlling multiple infrared devices in a linked manner provided by the present invention, the multi-device control coding information includes a start code, a model number, a control bit code, a control instruction code, and an inverse code of the control instruction code; The model number includes multiple first code bits, and each first code bit represents a device model information; The control bit code includes multiple second code bits. Every n second code bits represent control code bit information of a device. The first m second code bits in every n second code bits represent the coding bits of the control instruction, and the last m second code bits in every n second code bits represent the replacement positions of the control instruction in the control instruction template; The control instruction code is a set of control instruction codes for multiple infrared devices; The control command encoding inverse code is used to verify the control command encoding.
[0007] According to a multi-infrared device linkage control method provided by the present invention, the method further includes: Receive device infrared code matching information sent by the intelligent cloud platform; Based on the infrared code matching information of the device, a code matching command is sent to the infrared device; Receive the pairing success message sent by the infrared device; Based on the successful pairing information, the infrared control code information of the successfully paired device is used as the control command template for the infrared device. Send an infrared code indicating successful code pairing to the intelligent cloud platform.
[0008] According to the present invention, a multi-infrared device linkage control method is provided, wherein the control instructions for the multiple infrared devices are parsed based on multi-device control coding information to obtain control instructions for multiple infrared devices, including: Based on the multi-device control coding information, the coding information corresponding to each infrared device is separated from the multi-infrared device control command; Based on the encoding information corresponding to each infrared device, the control command for each infrared device is determined.
[0009] This invention also provides a method for multi-infrared device linkage control, applied to an intelligent cloud platform, comprising the following steps: Acquire the linkage control information of multiple infrared devices triggered by the user terminal; Based on the linkage control information of the multiple infrared devices, the infrared codes of the multiple infrared devices are obtained from the infrared code library; Encode each infrared code based on multi-device control coding information to obtain multi-infrared device control commands; The control commands for the multiple infrared devices are sent to the infrared repeater, so that the infrared repeater can parse the control commands for the multiple infrared devices based on the control encoding information for the multiple devices, and send the parsed multiple control commands to the corresponding infrared devices.
[0010] According to a multi-infrared device linkage control method provided by the present invention, the method further includes: Receive configuration information for multi-infrared device linkage control sent by the user terminal; Based on the configuration information, obtain the code library number of multiple infrared device-related control commands; The infrared device and its corresponding code library number are stored.
[0011] According to a multi-infrared device linkage control method provided by the present invention, the method further includes: Receive the instruction to add the infrared device sent by the user terminal; Based on the addition instruction, the infrared code information of the infrared device is obtained from the infrared code library; Based on the infrared code information, device infrared code matching information is sent to the infrared repeater; Receive the infrared code identifier indicating successful pairing sent by the infrared repeater; Based on the infrared code identifier indicating successful pairing, a message indicating successful addition of the infrared device is sent to the user terminal.
[0012] The present invention also provides a multi-infrared device linkage control device, comprising the following modules: The receiving module is used to receive control commands from multiple infrared devices triggered by the intelligent cloud platform; The parsing module is used to parse the control instructions of the multiple infrared devices based on the control coding information of the multiple devices, so as to obtain the control instructions of the multiple infrared devices; A control command sending module is used to send the control command to each of the infrared devices.
[0013] The present invention also provides a multi-infrared device linkage control device, comprising the following modules: The first acquisition module is used to acquire the linkage control information of multiple infrared devices triggered by the user terminal; The second acquisition module is used to acquire infrared codes of multiple infrared devices from the infrared code library based on the linkage control information of the multiple infrared devices. The encoding module is used to encode each infrared code based on multi-device control encoding information to obtain multi-infrared device control commands; A multi-infrared device control command sending module is used to send the multi-infrared device control commands to an infrared repeater, so that the infrared repeater can parse the multi-infrared device control commands based on the multi-device control coding information and send the parsed multiple control commands to the corresponding infrared devices.
[0014] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the multi-infrared device linkage control method described above.
[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the multi-infrared device linkage control method as described above.
[0016] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the multi-infrared device linkage control method described above.
[0017] The present invention provides a method, apparatus, device, medium, and program product for multi-infrared device linkage control. This involves receiving multi-infrared device control commands triggered by an intelligent cloud platform; parsing the multi-device control commands based on multi-device control coding information to obtain control commands for multiple infrared devices; and sending the control commands to each infrared device. By carrying multiple infrared control command information within a single infrared code, this invention achieves multi-infrared device control in a single interaction, avoiding large-scale data interaction between the infrared transceiver and the cloud, and preventing the infrared transceiver from receiving multiple full-quantity infrared code infrared control commands multiple times. This solves the problem of lost or out-of-order commands from multiple infrared devices in device linkage scenarios, improves the reliability of the infrared control link, reduces support and maintenance labor costs, and enhances the user experience. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0019] Figure 1 This is one of the flowcharts illustrating the multi-infrared device linkage control method provided by the present invention.
[0020] Figure 2 This is a schematic diagram of the overall architecture of the multi-infrared device linkage control method provided by the present invention.
[0021] Figure 3 This is a schematic diagram of the multi-device control coding rules provided by the present invention.
[0022] Figure 4 This is an example diagram of the encoding provided by the present invention.
[0023] Figure 5 This is an example diagram of the control instruction template replacement provided by the present invention.
[0024] Figure 6 This is a schematic diagram of the infrared device addition process provided by the present invention.
[0025] Figure 7 This is the second flowchart of the multi-infrared device linkage control method provided by the present invention.
[0026] Figure 8It is the third schematic flow chart of the multi-infrared device linkage control method provided by the present invention.
[0027] Figure 9 It is the schematic flow chart of the multi-infrared device control provided by the present invention.
[0028] Figure 10 It is one of the schematic structural diagrams of the multi-infrared device linkage control device provided by the present invention.
[0029] Figure 11 It is the second schematic structural diagram of the multi-infrared device linkage control device provided by the present invention.
[0030] Figure 12 It is the schematic structural diagram of the electronic device provided by the present invention. Specific Embodiments
[0031] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments in the present invention belong to the scope protected by the present invention.
[0032] In the related art, the infrared repeater control process mainly targets terminal devices without an infrared module, and an infrared forwarding device needs to be added in the management and control link. When the intelligent terminal sends a management and control request, the control request is first sent to the cloud, and then the cloud sends the corresponding infrared management and control information to the infrared repeater, and the infrared repeater sends the infrared control instruction to the non-intelligent infrared device.
[0033] In the related art, when multiple infrared devices need to be controlled, generally the single-point control technology is used multiple times, and the cloud continuously sends multiple control instructions to the infrared repeater. At this time, since the process of sending control instructions is disordered, the order in which the infrared repeater receives the control instructions may be different from the order when the sending end sends. Secondly, the control instructions may be lost due to network jitter or other reasons, resulting in a poor experience of the multi-infrared device linkage control effect. Moreover, in the process of infrared device control, generally the full amount of infrared codes of the device is taken out from the infrared code library and sent. For example, a complete air conditioner infrared code instruction has 67 infrared code bits such as mode, switch, wind speed, and swing, to ensure that other modes of the device will not be affected after a certain mode is adjusted. This greatly consumes the channel resources when sending infrared codes of multiple devices.
[0034] To address the aforementioned issues, this invention proposes a multi-infrared device linkage control method. This method enables an infrared transponder to receive infrared control commands from multiple devices in a single transmission, avoiding command loss or out-of-order execution due to network issues. Furthermore, based on the infrared code encoding rules for multi-infrared device control commands, control command information from multiple infrared devices can be carried within a single infrared code, preventing the transponder from receiving multiple full infrared control commands repeatedly. Additionally, the final infrared code encoding is completed at the transponder end, avoiding extensive data interaction between the transponder and the cloud.
[0035] The following is combined Figures 1-12 This invention describes a multi-infrared device linkage control method, apparatus, equipment, medium, and program product.
[0036] Figure 1 This is one of the flowcharts illustrating the multi-infrared device linkage control method provided by the present invention, such as... Figure 1 As shown, this method is applied to an infrared transponder and includes the following steps: Step 101: Receive the multi-infrared device control command triggered by the intelligent cloud platform.
[0037] An infrared repeater, also known as an infrared code repeater, primarily functions to receive control commands from other control sources (such as smart home platforms and mobile apps). These commands are corresponding infrared coded signals. The repeater then forwards these coded signals to infrared devices (such as traditional air conditioners and televisions) to control them. Essentially, an infrared repeater acts as a signal relay station, transmitting control commands in infrared code form to the infrared devices.
[0038] Alternatively, the infrared repeater can be a device specifically designed for infrared relay, or it can be a smart device with infrared functionality, including routers, set-top boxes, smart speakers, and other smart devices.
[0039] like Figure 2 As shown, the infrared repeater includes a control command receiving module, a multi-device infrared code parsing module, and an infrared code transmitting module. The main functions of each module are as follows: The control command receiving module is used to receive command information from external control sources; The multi-device infrared code parsing module is a key module for realizing multi-device linkage control. It is used to decompose and understand the complex control commands obtained by the control command receiving module according to the predefined multi-device control coding rules. The infrared code transmission module is used to send multiple control commands obtained from parsing to the corresponding infrared devices.
[0040] After a user terminal (or user operating terminal) triggers multi-infrared device control, the intelligent cloud platform receives the linkage control information of the multi-infrared devices triggered by the user terminal. Based on this information, it retrieves the infrared codes of multiple infrared devices from the infrared code library, further encodes each infrared code based on the multi-device control encoding information to obtain multi-infrared device control commands, and sends these commands to the infrared repeater. The infrared repeater receives the multi-infrared device control commands triggered by the intelligent cloud platform through the control command receiving module.
[0041] Step 102: Based on the multi-device control coding information, parse the control instructions of the multiple infrared devices to obtain the control instructions of the multiple infrared devices.
[0042] The infrared repeater uses a multi-device infrared code parsing module to parse control commands from multiple infrared devices, thus obtaining control commands for multiple infrared devices.
[0043] In one embodiment, reference Figure 3 The multi-device control coding information includes a start code, model number, control bit code, control command code, and control command code inverse code. The model number includes multiple first code bits, each representing a device model. The control bit code includes multiple second code bits, with every n second code bits representing the control code bit information of a device. The first m second code bits in every n bits represent the code bits of the control command, and the last m second code bits in every n bits represent the replacement position of the control command in the control command template. The control command code is a set of control command codes for multiple infrared devices. The control command code inverse code is used to verify the control command code.
[0044] Specifically, the start code follows the NEC standard, consisting of a 9000µs low level and a 4500µs high level, where a high level represents logic "1" and a low level represents logic "0". The model number includes 4 code bits, each representing a device model information used to identify the device type, such as air conditioner, fan, or television. The control bit code includes 32 code bits, divided into 4 groups of 8 bits each. The first 4 bits of each group represent the code bit belonging to that device in the current control instruction encoding; the first 2 bits of the first 4 bits represent the start information of the corresponding device control instruction in the control instruction encoding; and the last 2 bits of the first 4 bits represent the end information of the corresponding device control instruction in the control instruction encoding. For example, 040C represents starting from the 4th bit and ending at the 12th bit. The last 4 bits of each group of 8 bits represent the replacement position of the control instruction in the control instruction template; the first 2 bits of the last 4 bits represent the start position, and the last 2 bits of the last 4 bits represent the end position. The control instruction encoding includes 32 code bits, consisting of multiple control instruction sets determined by the control bit code. The control instruction encoding inverse code is the inverse code of the control instruction encoding and is used to verify the control instruction encoding.
[0045] Using the aforementioned multi-device control coding information, infrared control command information for multiple devices can be carried simultaneously within a single infrared control command. The multi-device infrared code parsing module in the infrared repeater decodes the received multi-infrared device control commands based on this multi-device control coding information, and then integrates the parsed infrared device information and control command information into the corresponding type of control command according to device type.
[0046] refer to Figure 4 The model number indicates that this multi-infrared device control command carries infrared control codes for four devices: television, air conditioner, fan, and set-top box. Taking the air conditioner as an example, the code 05070103 from the 9th to the 18th position in the control bit code belongs to the air conditioner's code bit information. Among them, the first 4 bits 0507 represent that 010 from the 5th to the 7th position in the control command code is the control information for the air conditioner; the last 4 bits 0103 represent that this 010 will replace the 1st to the 3rd positions in the air conditioner template.
[0047] refer to Figure 5 Taking the control command template of an air conditioner as an example, when the infrared repeater receives... Figure 4 When executing the example command, the system will retrieve the last sent air conditioner control infrared code and replace the information in bits 1 to 3 of the control command template with 010. Then, it will send an infrared control command to the air conditioner. For example, if bits 1 to 3 of the control command template are replaced with 010 instead of 000, the air conditioner mode will change from automatic mode to heating mode.
[0048] In one embodiment, the multi-device infrared code parsing module parses the control instructions for multiple infrared devices in the following way: based on the multi-device control coding information, it separates the coding information corresponding to each infrared device from the control instructions for multiple infrared devices, and then determines the control instructions for each infrared device based on the coding information corresponding to each infrared device.
[0049] For example, the multi-device infrared code parsing module in the infrared repeater separates and identifies the corresponding code portion of each infrared device from the received multi-infrared device control commands based on the multi-device control coding information. Then, based on the code portion corresponding to each infrared device, the control command of the infrared device is determined. After parsing, the original multi-infrared device control commands can be decomposed into multiple control commands corresponding to different infrared devices.
[0050] By carrying multiple infrared control command information in a single infrared code, the control of multiple infrared devices can be completed in a single interaction, avoiding a large amount of data interaction between the infrared transponder and the cloud.
[0051] Step 103: Send the control command to each of the infrared devices.
[0052] The infrared repeater, through its infrared code forwarding module, sends multiple control commands, parsed by the multi-device infrared code parsing module, to the corresponding infrared devices, enabling coordinated control of multiple infrared devices. Here, the control commands refer to infrared control commands; the infrared devices are non-intelligent infrared devices, such as… Figure 2 As shown.
[0053] For example, suppose the multi-device infrared code parsing module parses the infrared control commands for controlling the TV and the air conditioner respectively. Then the infrared code forwarding module sends the infrared control command for controlling the TV to the TV and the infrared control command for controlling the air conditioner to the air conditioner, thereby realizing the control of these non-smart infrared devices.
[0054] The multi-infrared device linkage control method provided in this invention receives multi-infrared device control commands triggered by an intelligent cloud platform; based on multi-device control coding information, it parses the multi-infrared device control commands to obtain control commands for multiple infrared devices; and sends the control commands to each of the infrared devices. This invention achieves multi-infrared device control in a single interaction by carrying multiple infrared control command information within a single infrared code, avoiding large-scale data interaction between the infrared transceiver and the cloud, and preventing the infrared transceiver from receiving multiple full-quantity infrared code infrared control commands multiple times. This solves the problem of lost or out-of-order commands from multiple infrared devices in device linkage scenarios, improves the reliability of the infrared control link, reduces support and maintenance labor costs, and enhances the user experience.
[0055] Based on the above embodiments, the method further includes: Step 201: Receive device infrared code matching information sent by the intelligent cloud platform; Step 202: Based on the infrared code matching information of the device, send a code matching command to the infrared device; Step 203: Receive the pairing success message sent by the infrared device; Step 204: Based on the successful pairing information, use the infrared control code information of the successfully paired device as the control command template for the infrared device; Step 205: Send an infrared code indicating successful code pairing to the intelligent cloud platform.
[0056] To enable the multi-device infrared code parsing module in an infrared transponder to obtain the infrared template of the corresponding device, this invention proposes a method for the infrared transponder to obtain the control command template of the infrared device. Here, the infrared template refers to the control command template of the infrared device, i.e., the infrared control command template. Specifically, during the process of adding an infrared device, the infrared transponder can obtain the control command template of the infrared device.
[0057] refer to Figure 6 The process for adding infrared devices is as follows: Step 1: The user terminal initiates an infrared device addition command, at which point the information of the infrared device to be added is sent to the smart cloud platform. For example, the user terminal (such as a mobile APP, smart remote control, or other devices with control functions) issues an infrared device addition command, and at the same time sends the relevant information of the infrared device to be added (such as device model, brand, and other basic information) to the smart cloud platform. The purpose is to inform the smart cloud platform that there is a new infrared device that needs to be added to the system for linkage control.
[0058] Step 2: The intelligent cloud platform receives an infrared device addition command sent by the user terminal. This command carries infrared device information. Simultaneously, based on the addition command, it retrieves the infrared code information of the infrared device from the infrared code library. Specifically, in response to the infrared device addition command, the platform retrieves the infrared code information of the infrared device, such as model number and control code, from the infrared code library based on the received infrared device information. For example, the intelligent cloud platform queries the infrared code library for the infrared device information sent by the user terminal and retrieves the infrared code library for that device. This infrared code library includes model number, control code, check code, function code, and device status code.
[0059] Step 3: The intelligent cloud platform sends device infrared code matching information to the infrared repeater based on the infrared code information. Specifically, it first obtains the infrared repeaters from the user terminal's list of connected devices, then initiates a device infrared code matching process for the infrared repeater based on the infrared code information of the infrared device, and simultaneously sends the obtained infrared code information to the infrared repeater associated with the user terminal.
[0060] Step 4: The infrared repeater receives device infrared code matching information sent by the intelligent cloud platform. This information includes the device infrared code matching process and the infrared code information. Then, based on the device infrared code matching information, it sends a pairing command to the infrared device. For example, it initiates a pairing operation to the infrared device based on the infrared code information.
[0061] Step 5: The infrared repeater receives the pairing success information sent by the infrared device, and then, based on the pairing success information, uses the infrared control code information of the successfully paired device as the control command template for the infrared device. Simultaneously, it stores the successfully paired infrared control code of the device.
[0062] Step 6: The infrared repeater sends a successful pairing infrared code identifier to the intelligent cloud platform. The intelligent cloud platform stores the device information corresponding to the infrared code identifier and the corresponding device infrared code information.
[0063] Step 7: Based on the infrared code identifier indicating successful pairing, the intelligent cloud platform sends an infrared device addition success message to the user terminal. At this point, the device can be used for multi-device linkage control.
[0064] This invention, through the collaborative work of user terminals, intelligent cloud platforms, and infrared transponders, enables the addition of infrared devices to a multi-device linkage control system, and ensures the accurate acquisition, storage, and application of the control code information of the infrared device, laying the foundation for convenient control in the future.
[0065] Figure 7 This is the second flowchart of the multi-infrared device linkage control method provided by the present invention, as shown below. Figure 7 As shown, this method is applied to an intelligent cloud platform and includes the following steps: Step 701: Obtain the linkage control information of multiple infrared devices triggered by the user terminal.
[0066] Users initiate coordinated control of multiple infrared devices via their terminal devices (such as smart control applications on smartphones). This operation is based on various pre-set scene modes, such as "movie mode," "sleep mode," and "away mode." When a user selects and triggers a particular mode, it's equivalent to sending a command to the smart cloud platform to coordinate the control of multiple infrared devices. This command contains specific information about the coordinated control, such as simultaneously turning on the TV, adjusting the sound volume, and dimming the lights in "movie mode." This coordinated control information triggered by the user's terminal is transmitted to the smart cloud platform via a network (such as a home Wi-Fi network).
[0067] Step 702: Based on the linkage control information of the multiple infrared devices, obtain the infrared codes of multiple infrared devices from the infrared code library.
[0068] Understandably, an infrared code library is a database that stores a large amount of infrared code information related to infrared devices. It includes infrared codes corresponding to different functions (such as power on, power off, volume adjustment, channel switching, etc.) of various brands and models of infrared devices.
[0069] When the intelligent cloud platform receives multi-infrared device linkage control information triggered by a user terminal, it searches for and retrieves the corresponding infrared codes from the infrared code library based on the linkage control information. For example, if the linkage control information requires simultaneously controlling the TV to turn on, the air conditioner to activate its cooling mode, and the lights to dim, the intelligent cloud platform will find the infrared codes for turning on the TV, activating the air conditioner's cooling mode, and dimming the lights in the infrared code library, respectively. By analyzing each device involved in the linkage control information and its specific function, the platform accurately extracts the corresponding infrared codes from the infrared code library, so that these infrared codes can be sent to the corresponding infrared devices, thereby realizing the linkage control operation of multiple infrared devices.
[0070] Step 703: Encode each infrared code based on the multi-device control coding information to obtain multi-infrared device control instructions.
[0071] The intelligent cloud platform uses multi-device control coding information to encode each infrared code, thereby obtaining multi-infrared device control commands. For example... Figure 3 As shown, the multi-device control coding information includes a start code, model number, control bit code, control command code, and control command code inverse. The encoded multi-infrared device control command is as follows: Figure 4 As shown.
[0072] Step 704: Send the multi-infrared device control command to the infrared repeater, so that the infrared repeater parses the multi-infrared device control command based on the multi-device control coding information, and sends the parsed multiple control commands to the corresponding infrared devices.
[0073] The intelligent cloud platform sends control commands for multiple infrared devices to the infrared repeater. The infrared repeater receives these commands triggered by the intelligent cloud platform, then parses them based on the multi-device control coding information to obtain control commands for each infrared device. Finally, it sends the control commands to each infrared device. For example, suppose the multi-device infrared code parsing module parses infrared control commands for controlling a television and an air conditioner, respectively. Then, the infrared code forwarding module sends the infrared control command for controlling the television to the television and the infrared control command for controlling the air conditioner to the air conditioner, thereby achieving control over these non-intelligent infrared devices.
[0074] The multi-infrared device linkage control method provided in this invention involves: acquiring linkage control information of multiple infrared devices triggered by a user terminal; obtaining infrared codes of multiple infrared devices from an infrared code library based on the linkage control information; encoding each infrared code based on multi-device control encoding information to obtain multi-infrared device control commands; and sending the multi-infrared device control commands to an infrared repeater, so that the infrared repeater can parse the multi-infrared device control commands based on the multi-device control encoding information and send the parsed multiple control commands to the corresponding infrared devices. This invention achieves multi-infrared device control in a single interaction by carrying multiple infrared control command information within a single infrared code, avoiding large-scale data interaction between the infrared repeater and the cloud, and avoiding the infrared repeater receiving multiple full-quantity infrared code infrared control commands multiple times. This solves the problem of lost or out-of-order commands from multiple infrared devices in device linkage scenarios, improves the reliability of the infrared control link, reduces manual support and maintenance costs, and enhances the user experience.
[0075] Based on the above embodiments, the method further includes: Step 301: Receive configuration information for multi-infrared device linkage control sent by the user terminal; Step 302: Based on the configuration information, obtain the library numbers of multiple control instructions related to the infrared devices. Step 303: Store the infrared devices and their corresponding library numbers.
[0076] The intelligent cloud platform receives the configuration information of the multi-infrared device linkage control sent by the user terminal. Here, the configuration information can be understood as a control rule, that is, the multi-infrared device control rule. Specifically, the user can set the configuration information of the multi-infrared device linkage control according to their own needs and living scenarios. For example, in daily life, in order to conveniently turn off the relevant devices at home quickly when going out, the user sets the "leaving home scenario" configuration information and clearly hopes to change the states of multiple devices simultaneously when this scenario is triggered. For example, turn off devices such as the TV, fan, and chandelier at the same time. After the user sets the configuration information on the terminal, the relevant information will be sent to the intelligent cloud platform.
[0077] The intelligent cloud platform obtains the library numbers of multiple control instructions related to the infrared devices based on the configuration information. Specifically, after receiving the configuration information of the multi-infrared device linkage control set by the user, the intelligent cloud platform needs to further obtain the specific control instruction information that can implement these configuration information. Since different actions of each device (such as turning on / off the TV, adjusting the speed of the fan, turning on / off the chandelier, etc.) correspond to specific infrared code instructions, and these infrared code instructions are stored in the infrared code library with corresponding numbers, the intelligent cloud platform needs to obtain these number information. Taking the TV as an example, the off instruction of the TV has a specific number in the infrared code library, such as 10092. Similarly, the off instructions of the fan and the chandelier also have their corresponding numbers in the code library respectively. The intelligent cloud platform will search for and obtain the number information of each device's corresponding action involved in the user-set rules in the code library, so as to accurately find the specific infrared code instructions used to implement these actions.
[0078] The intelligent cloud platform stores the infrared devices and their corresponding library numbers. Specifically, after obtaining the library numbers of the control instructions related to each device, the intelligent cloud platform will associate and store this information with the control rules set by the user. For example, for the user setting to turn off the TV, fan, and chandelier at the same time, the intelligent cloud platform will store the following information: 1) Library numbers of the infrared instructions for device shutdown: Store the library numbers of the off instructions of the TV, fan, and chandelier in the infrared code library respectively, such as the TV off instruction library number 10092 mentioned above, and the corresponding library numbers of the fan and chandelier off instructions.
[0079] 2) The unique identification information of this configuration information: To facilitate subsequent identification and invocation of this specific control rule, a unique identification information can be set for this rule. For example, it can be a specific code composed of numbers and letters.
[0080] Through the above storage method, when the user triggers the corresponding scenario later (such as triggering the "leaving home scenario"), the intelligent cloud platform can quickly find the corresponding device shutdown instruction code library number according to the stored rule unique identification information, and then obtain the accurate infrared code instruction. Then, through devices such as infrared repeaters, these instructions are sent to the corresponding infrared devices to achieve the coordinated control operation of simultaneously shutting down multiple devices such as TVs, fans, and chandeliers.
[0081] The embodiment of the present invention provides a complete multi-infrared device control rule setting process, which lays a foundation for realizing convenient multi-device linkage control through the settings of the user at the terminal and the information processing and storage of the cloud platform.
[0082] Based on the above embodiment, the method further includes: Step 401, receiving the addition instruction of the infrared device sent by the user terminal; Step 402, based on the addition instruction, obtaining the infrared code information of the infrared device from the infrared code library; Step 403, based on the infrared code information, sending device infrared code matching information to the infrared repeater; Step 404, receiving the infrared code identifier indicating successful code pairing sent by the infrared repeater; Step 405, based on the infrared code identifier indicating successful code pairing, sending the information indicating successful addition of the infrared device to the user terminal.
[0083] It can be understood that when the user purchases a new infrared device to replace an old device, for example, a new smart TV replaces an old TV, or a new high-end air conditioner replaces an old-fashioned air conditioner, at this time, a new infrared device needs to be added. Or, if the user starts to build or perfect a smart home system, new infrared devices will also be continuously added. By adding infrared devices, the user can integrate various different infrared devices (such as TVs, air conditioners, set-top boxes, etc.) into a smart control system. Based on this, the user does not need to use multiple remote controls to operate different devices separately, but can centrally control all the added infrared devices through a user terminal. For example, in a home theater scenario, the user can, through a control interface, turn on devices such as TVs, projectors, and speakers at one key and set the corresponding playback modes to achieve the linkage control of the devices.
[0084] Reference Figure 6 , the addition process of the infrared device is as follows: Step 1: The user terminal initiates an infrared device addition command, at which point the information of the infrared device to be added is sent to the smart cloud platform. For example, the user terminal (such as a mobile APP, smart remote control, or other devices with control functions) issues an infrared device addition command, and at the same time sends the relevant information of the infrared device to be added (such as device model, brand, and other basic information) to the smart cloud platform. The purpose is to inform the smart cloud platform that there is a new infrared device that needs to be added to the system for linkage control.
[0085] Step 2: The intelligent cloud platform receives an infrared device addition command sent by the user terminal. This command carries infrared device information. Simultaneously, based on the addition command, it retrieves the infrared code information of the infrared device from the infrared code library. Specifically, in response to the infrared device addition command, the platform retrieves the infrared code information of the infrared device, such as model number and control code, from the infrared code library based on the received infrared device information. For example, the intelligent cloud platform queries the infrared code library for the infrared device information sent by the user terminal and retrieves the infrared code library for that device. This infrared code library includes model number, control code, check code, function code, and device status code.
[0086] Step 3: The intelligent cloud platform sends device infrared code matching information to the infrared repeater based on the infrared code information. Specifically, it first obtains the infrared repeaters from the user terminal's list of connected devices, then initiates a device infrared code matching process for the infrared repeater based on the infrared code information of the infrared device, and simultaneously sends the obtained infrared code information to the infrared repeater associated with the user terminal.
[0087] Step 4: The infrared repeater receives device infrared code matching information sent by the intelligent cloud platform. This information includes the device infrared code matching process and the infrared code information. Then, based on the device infrared code matching information, it sends a pairing command to the infrared device. For example, it initiates a pairing operation to the infrared device based on the infrared code information.
[0088] Step 5: The infrared repeater receives the pairing success information sent by the infrared device, and then, based on the pairing success information, uses the infrared control code information of the successfully paired device as the control command template for the infrared device. Simultaneously, it stores the successfully paired infrared control code of the device.
[0089] Step 6: The infrared repeater sends a successful pairing infrared code identifier to the intelligent cloud platform. The intelligent cloud platform stores the device information corresponding to the infrared code identifier and the corresponding device infrared code information.
[0090] Step 7: Based on the infrared code identifier indicating successful pairing, the intelligent cloud platform sends an infrared device addition success message to the user terminal. At this point, the device can be used for multi-device linkage control.
[0091] This invention, through the collaborative work of user terminals, intelligent cloud platforms, and infrared transponders, enables the addition of infrared devices to a multi-device linkage control system, and ensures the accurate acquisition, storage, and application of the control code information of the infrared device, laying the foundation for convenient control in the future.
[0092] To further explain the multi-infrared device linkage control method proposed in this invention, please refer to the following embodiments.
[0093] refer to Figure 2 In this embodiment of the invention, an infrared transponder is provided with a multi-device infrared code parsing module. When the infrared transponder receives multi-infrared control command information, it parses it according to a predefined encoding rule, thereby realizing the multi-infrared device linkage control capability on the infrared transponder side.
[0094] refer to Figure 8 According to the multi-infrared device control rules set by the user, the infrared code number information of the corresponding control command can be obtained from the infrared code library based on the multi-device identification code. When the user triggers the multi-infrared control rule, the infrared code is obtained from the infrared code library according to the stored information, encoded according to the encoding rules, and then sent to the infrared repeater. After receiving the infrared control information, the infrared repeater will parse the infrared code and then send the control command to multiple infrared devices.
[0095] refer to Figure 9 In this embodiment of the invention, the setting of control rules for multiple infrared devices includes the following steps: 1.1 The intelligent cloud platform receives the multi-infrared device control rules set by the user terminal. The multi-infrared device control rules are rules set by the user to change the status of multiple devices simultaneously when the user triggers a certain scene. For example, when the user sets the scene of leaving home, the TV, fan and chandelier are set to be turned off at the same time. 1.2 The intelligent cloud platform obtains the code library number of multiple device-related control commands. The code library number refers to the number information of the infrared code command of a certain device for a certain action stored in the code library. For example, the infrared code library code of the TV's turn-off command is 10092. 1.3 The intelligent cloud platform stores the code library information corresponding to the storage devices and control rules. For example, if the TV, fan, and chandelier are turned off at the same time, the system stores the infrared command code library number for turning off the TV, fan, and chandelier, as well as the unique identifier information of that rule.
[0096] In this embodiment of the invention, the control of multiple infrared devices includes the following steps: 2.1 The intelligent cloud platform receives the multi-infrared device control command triggered by the user terminal, which is the unique identifier information of this rule; 2.2 The infrared code library receives query requests for multiple device control commands, such as the infrared code query request for turning off the TV, fan, and chandelier as shown in the example above; 2.3 The intelligent cloud platform obtains infrared code control commands from multiple devices; 2.4 The intelligent cloud platform generates infrared code control commands for multiple devices based on coding rules; 2.5 The infrared repeater receives the completed multi-device infrared code control command; 2.6 The infrared repeater parses the received infrared code control commands; 2.7 The infrared repeater parses the model numbers of multiple devices and obtains the last control command issued for each model device; 2.8 The infrared repeater places the received multi-device control commands into the designated position of the control bit code; 2.9 The infrared repeater sends out multiple infrared control commands for the devices.
[0097] This invention enables the control of multiple infrared devices in a single interaction by carrying multiple infrared control command information in a single infrared code. This avoids a large amount of data interaction between the infrared transceiver and the cloud, as well as the infrared transceiver receiving multiple full infrared code infrared control commands multiple times. It solves the problem of lost or out-of-order commands from multiple infrared devices in device linkage scenarios, improves the reliability of the infrared control link, reduces the manual cost of support and maintenance, and enhances the user experience.
[0098] The multi-infrared device linkage control device provided by the present invention is described below. The multi-infrared device linkage control device described below and the multi-infrared device linkage control method described above can be referred to in correspondence.
[0099] refer to Figure 10 The multi-infrared device linkage control device provided by the present invention includes a receiving module 1001, a parsing module 1002, and a control command sending module 1003.
[0100] Receiver module 1001 is used to receive control commands for multiple infrared devices triggered by the intelligent cloud platform; The parsing module 1002 is used to parse the control instructions of the multiple infrared devices based on the control coding information of the multiple devices to obtain the control instructions of the multiple infrared devices; The control command sending module 1003 is used to send the control command to each of the infrared devices.
[0101] The multi-infrared device linkage control device provided in this invention receives multi-infrared device control commands triggered by an intelligent cloud platform; based on multi-device control coding information, it parses the multi-infrared device control commands to obtain control commands for multiple infrared devices; and sends the control commands to each of the infrared devices. This invention achieves multi-infrared device control in a single interaction by carrying multiple infrared control command information within a single infrared code, avoiding large-scale data interaction between the infrared repeater and the cloud, and preventing the infrared repeater from receiving multiple full-quantity infrared code infrared control commands multiple times. This solves the problem of lost or out-of-order commands from multiple infrared devices in device linkage scenarios, improves the reliability of the infrared control link, reduces support and maintenance labor costs, and enhances the user experience.
[0102] In one embodiment, the multi-device control coding information includes a start code, a model number, a control bit code, a control instruction code, and a control instruction code inverse code; the model number includes multiple first code bits, each first code bit representing a device model information; the control bit code includes multiple second code bits, every n second code bits representing the control code bit information of a device, the first m second code bits in every n bits representing the encoding bits of the control instruction, and the last m second code bits in every n bits representing the replacement position of the control instruction in the control instruction template; the control instruction code is a set of control instruction codes for multiple infrared devices; the control instruction code inverse code is used to verify the control instruction code.
[0103] In one embodiment, the multi-infrared device linkage control device further includes an infrared device adding module, specifically used for: The system receives device infrared code matching information sent by the intelligent cloud platform; sends a pairing command to the infrared device based on the device infrared code matching information; receives pairing success information sent by the infrared device; uses the successfully paired device infrared control code information as the control command template for the infrared device based on the successful pairing information; and sends a successfully paired infrared code identifier to the intelligent cloud platform.
[0104] In one embodiment, the parsing module 1002 is specifically used for: Based on the multi-device control coding information, the coding information corresponding to each infrared device is separated from the multi-infrared device control instructions; based on the coding information corresponding to each infrared device, the control instructions for each infrared device are determined.
[0105] refer to Figure 11 The multi-infrared device linkage control device provided by the present invention includes a first acquisition module 1101, a second acquisition module 1102, an encoding module 1103, and a multi-infrared device control command sending module 1104.
[0106] The first acquisition module 1101 is used to acquire the linkage control information of multiple infrared devices triggered by the user terminal; The second acquisition module 1102 is used to acquire infrared codes of multiple infrared devices from the infrared code library based on the linkage control information of the multiple infrared devices. Encoding module 1103 is used to encode each infrared code based on multi-device control encoding information to obtain multi-infrared device control instructions; The multi-infrared device control command sending module 1104 is used to send the multi-infrared device control command to the infrared repeater, so that the infrared repeater can parse the multi-infrared device control command based on the multi-device control coding information and send the parsed multiple control commands to the corresponding infrared devices.
[0107] The multi-infrared device linkage control device provided in this invention acquires linkage control information of multiple infrared devices triggered by a user terminal; based on the linkage control information, it obtains infrared codes of multiple infrared devices from an infrared code library; it encodes each infrared code based on multi-device control encoding information to obtain multi-infrared device control commands; and it sends the multi-infrared device control commands to an infrared repeater, so that the infrared repeater parses the multi-infrared device control commands based on the multi-device control encoding information and sends the parsed multiple control commands to the corresponding infrared devices. This invention achieves multi-infrared device control in a single interaction by carrying multiple infrared control command information in a single infrared code, avoiding large-scale data interaction between the infrared repeater and the cloud, and avoiding the infrared repeater receiving multiple full-quantity infrared code infrared control commands multiple times. This solves the problem of lost or out-of-order commands from multiple infrared devices in device linkage scenarios, improves the reliability of the infrared control link, reduces support and maintenance labor costs, and enhances the user experience.
[0108] In one embodiment, the multi-infrared device linkage control device further includes a configuration module, specifically used for: The system receives configuration information for multi-infrared device linkage control sent by the user terminal; based on the configuration information, it obtains the code library numbers of the control commands related to the multiple infrared devices; and stores the infrared devices and their corresponding code library numbers.
[0109] In one embodiment, the multi-infrared device linkage control device further includes an infrared device adding module, specifically used for: The system receives an instruction from the user terminal to add the infrared device; based on the instruction, it retrieves the infrared code information of the infrared device from the infrared code library; based on the infrared code information, it sends infrared code matching information to the infrared repeater; it receives an infrared code identifier indicating successful code matching from the infrared repeater; and based on the infrared code identifier indicating successful code matching, it sends information indicating successful addition of the infrared device to the user terminal.
[0110] Figure 12 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 12 As shown, the electronic device may include a processor 1210, a communications interface 1220, a memory 1230, and a communication bus 1240. The processor 1210, communications interface 1220, and memory 1230 communicate with each other via the communication bus 1240. The processor 1210 can call logic instructions in the memory 1230 to execute a multi-infrared device linkage control method. This method includes: receiving multi-infrared device control instructions triggered by an intelligent cloud platform; parsing the multi-infrared device control instructions based on multi-device control encoding information to obtain control instructions for multiple infrared devices; and sending the control instructions to each of the infrared devices.
[0111] Alternatively, the processor 1210 may call logic instructions in the memory 1230 to execute a multi-infrared device linkage control method, which includes: acquiring linkage control information of multiple infrared devices triggered by a user terminal; acquiring infrared codes of multiple infrared devices from an infrared code library based on the linkage control information of the multiple infrared devices; encoding each infrared code based on multi-device control encoding information to obtain multi-infrared device control instructions; and sending the multi-infrared device control instructions to an infrared repeater, so that the infrared repeater parses the multi-infrared device control instructions based on the multi-device control encoding information and sends the parsed multiple control instructions to the corresponding infrared devices.
[0112] Furthermore, the logical instructions in the aforementioned memory 1230 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0113] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the multi-infrared device linkage control method provided by the above methods. The method includes: receiving a multi-infrared device control command triggered by an intelligent cloud platform; parsing the multi-infrared device control command based on multi-device control encoding information to obtain control commands for multiple infrared devices; and sending the control command to each of the infrared devices.
[0114] Alternatively, when the computer program is executed by the processor, the computer can execute the multi-infrared device linkage control method provided by the above methods. This method includes: acquiring linkage control information of multiple infrared devices triggered by a user terminal; acquiring infrared codes of multiple infrared devices from an infrared code library based on the linkage control information of the multiple infrared devices; encoding each infrared code based on multi-device control encoding information to obtain multi-infrared device control instructions; and sending the multi-infrared device control instructions to an infrared repeater, so that the infrared repeater parses the multi-infrared device control instructions based on the multi-device control encoding information and sends the parsed multiple control instructions to the corresponding infrared devices.
[0115] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the multi-infrared device linkage control method provided by the above methods. The method includes: receiving a multi-infrared device control command triggered by an intelligent cloud platform; parsing the multi-infrared device control command based on multi-device control encoding information to obtain control commands for multiple infrared devices; and sending the control command to each of the infrared devices.
[0116] Alternatively, when the computer program is executed by a processor, it implements the multi-infrared device linkage control method provided by the above methods. This method includes: acquiring linkage control information of multiple infrared devices triggered by a user terminal; acquiring infrared codes of multiple infrared devices from an infrared code library based on the linkage control information of the multiple infrared devices; encoding each infrared code based on multi-device control encoding information to obtain multi-infrared device control instructions; and sending the multi-infrared device control instructions to an infrared repeater, so that the infrared repeater parses the multi-infrared device control instructions based on the multi-device control encoding information and sends the parsed multiple control instructions to the corresponding infrared devices.
[0117] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0118] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A multi-infrared device linkage control method, characterized by, Applications in infrared transponders include: Receive control commands from multiple infrared devices triggered by the intelligent cloud platform; Based on the multi-device control coding information, the control instructions of the multiple infrared devices are parsed to obtain the control instructions of the multiple infrared devices; The control command is sent to each of the infrared devices.
2. The multi-infrared device linkage control method according to claim 1, characterized in that, The multi-device control coding information includes a start code, model number, control bit code, control command code, and control command code inverse code; The model number includes multiple first code positions, each of which represents a device model information; The control bit code includes multiple second bit codes. Every n second bit codes represent the control bit information of a device. The first m second bit codes in every n bits represent the encoding bits of the control command. The last m second bit codes in every n bits represent the replacement position of the control command in the control command template. The control command encoding is a set of control command codes for multiple infrared devices; The control command encoding inverse code is used to verify the control command encoding.
3. The multi-infrared device linkage control method according to claim 1, characterized in that, The method further includes: Receive device infrared code matching information sent by the intelligent cloud platform; Based on the infrared code matching information of the device, a code matching command is sent to the infrared device; Receive the pairing success message sent by the infrared device; Based on the successful pairing information, the infrared control code information of the successfully paired device is used as the control command template for the infrared device. Send an infrared code indicating successful code pairing to the intelligent cloud platform.
4. The multi-infrared device linkage control method according to claim 1, characterized in that, The control commands for the multiple infrared devices are parsed based on the multi-device control coding information to obtain control commands for multiple infrared devices, including: Based on the multi-device control coding information, the coding information corresponding to each infrared device is separated from the multi-infrared device control command; Based on the encoding information corresponding to each infrared device, the control command for each infrared device is determined.
5. A method for coordinated control of multiple infrared devices, characterized in that, Applied to intelligent cloud platforms, including: Acquire the linkage control information of multiple infrared devices triggered by the user terminal; Based on the linkage control information of the multiple infrared devices, the infrared codes of the multiple infrared devices are obtained from the infrared code library; Encode each infrared code based on multi-device control coding information to obtain multi-infrared device control commands; The control commands for the multiple infrared devices are sent to the infrared repeater, so that the infrared repeater can parse the control commands for the multiple infrared devices based on the control encoding information for the multiple devices, and send the parsed multiple control commands to the corresponding infrared devices.
6. The multi-infrared device linkage control method according to claim 5, characterized in that, The method further includes: Receive configuration information for multi-infrared device linkage control sent by the user terminal; Based on the configuration information, obtain the code library number of multiple infrared device-related control commands; The infrared device and its corresponding code library number are stored.
7. The multi-infrared device linkage control method according to claim 5, characterized in that, The method further includes: Receive the instruction to add the infrared device sent by the user terminal; Based on the addition instruction, the infrared code information of the infrared device is obtained from the infrared code library; Based on the infrared code information, device infrared code matching information is sent to the infrared repeater; Receive the infrared code identifier indicating successful pairing sent by the infrared repeater; Based on the infrared code identifier indicating successful pairing, a message indicating successful addition of the infrared device is sent to the user terminal.
8. A multi-infrared device linkage control device, characterized in that, include: The receiving module is used to receive control commands from multiple infrared devices triggered by the intelligent cloud platform; The parsing module is used to parse the control instructions of the multiple infrared devices based on the control coding information of the multiple devices, so as to obtain the control instructions of the multiple infrared devices; A control command sending module is used to send the control command to each of the infrared devices.
9. A multi-infrared device linkage control device, characterized in that, include: The first acquisition module is used to acquire the linkage control information of multiple infrared devices triggered by the user terminal; The second acquisition module is used to acquire infrared codes of multiple infrared devices from the infrared code library based on the linkage control information of the multiple infrared devices. The encoding module is used to encode each infrared code based on multi-device control encoding information to obtain multi-infrared device control commands; A multi-infrared device control command sending module is used to send the multi-infrared device control commands to an infrared repeater, so that the infrared repeater can parse the multi-infrared device control commands based on the multi-device control coding information and send the parsed multiple control commands to the corresponding infrared devices.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the multi-infrared device linkage control method as described in any one of claims 1 to 7.
11. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the multi-infrared device linkage control method as described in any one of claims 1 to 7.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the multi-infrared device linkage control method as described in any one of claims 1 to 7.