Device pairing method, infrared transceiver, management platform, device and medium
Through infrared transmission and reception equipment actively detects infrared control signals and matches them with the management platform, the problem of cumbersome pairing steps of existing infrared equipment is solved, and a more efficient and convenient equipment pairing process is achieved.
Patent Information
- Application Number
- CN202311647272.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-04
- Publication Date
- 2025-06-06
Smart Images

Figure CN120108166A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a device pairing method, an infrared transceiver device, a management platform, a device and a medium. Background Art
[0002] Existing technical solutions for infrared device pairing are divided into the following three categories:
[0003] 1. Pairing infrared devices through interactive interface: Users use the smart home application with an interface to manually select the brand and category of the infrared device to be paired. After the selection is completed, the platform sends the corresponding code library to the infrared transmitting device in the order of functions. The user uses the interface button to feedback whether the infrared code of the current function responds successfully. After matching multiple groups of function codes, the device is successfully matched;
[0004] 2. Voice interaction to pair infrared devices: Users use smart home entry devices with voice pickup functions (such as smart speakers with voice pickup and infrared transmission functions, IoT voice remote controls with infrared functions, etc.) to enter the infrared device adding process through the voice wake-up word: "Add infrared device". The user voice feedbacks the brand and category of the infrared device to be added. After the feedback is completed, the platform sends the corresponding code library to the infrared transmission device in the order of functions. The user feedbacks whether the currently matched function is successfully matched through the voice entry. After matching multiple groups of function codes, the device is successfully matched.
[0005] 3. The remote control learning keys upload infrared codes to the server in sequence (some solutions will also keep the infrared codes locally): Taking infrared fans as an example, users use infrared code learning machines (in the form of set-top box remote controls with learning functions, networking devices dedicated to infrared code learning, etc.) to learn and upload the infrared codes corresponding to the functions to be controlled to the platform in sequence. For example, the first button learned is the fan's power button. After learning is completed, it is uploaded to the platform and the button corresponding to the infrared code is marked as the fan's "power button"; the second button learned is the fan's "wind speed +" button. After learning is completed, it is uploaded to the platform and the button corresponding to the infrared code is marked as the fan's "wind speed +" button; and so on until all the fan functions are learned and the infrared pairing is completed. When voice control is used subsequently, the platform directly sends the learned and reported infrared codes according to the function instructions to achieve control of the infrared device.
[0006] The three existing infrared device adding technologies have the following common characteristics: First, the adding steps are cumbersome and the user education and learning costs are high; Second, the user needs to actively discover or a large-scale operation promotion is required to let the user know the function of adding infrared devices. Therefore, the convenience of current infrared device pairing is low. Summary of the invention
[0007] The embodiments of the present application provide a device pairing method, an infrared transceiver device, a management platform, a device and a medium, so as to solve the problem of low convenience in the current pairing of infrared devices.
[0008] In a first aspect, an embodiment of the present application provides a device pairing method, which is applied to an infrared transceiver device, and the device pairing method includes:
[0009] If the first infrared control signal is detected, a pairing confirmation prompt message is generated and output;
[0010] If a pairing confirmation instruction based on the pairing confirmation prompt information is received, generating and outputting first key control prompt information;
[0011] If a second infrared control signal generated based on the first button control prompt information is received, the second infrared control signal is sent to the management platform, and the pairing success message returned by the management platform is received and output; the pairing success message is returned by the management platform after determining that the second infrared control signal passes the infrared code match and associating the infrared code group with the target device determined based on the second infrared control signal.
[0012] In one embodiment, after sending the second infrared control signal to the management platform, the method includes:
[0013] If a pairing failure message returned by the management platform is received, a second key control prompt message is generated and the second key control prompt message is output through a display device; the pairing failure message is returned by the management platform after determining that the second infrared control signal fails to match the infrared code;
[0014] If a third infrared control signal generated based on the second button control prompt information is received, the third infrared control signal is sent to the management platform, and the pairing result returned by the management platform is received and output.
[0015] In one embodiment, after outputting the pairing success message returned by the management platform, the method includes:
[0016] If the target infrared code sent by the management platform is received, the target infrared code is sent to the target device; the target infrared code is determined by the management platform based on the control instruction after receiving the control instruction for the target device.
[0017] In a second aspect, an embodiment of the present application provides a device pairing method, which is applied to a management platform. The device pairing method includes:
[0018] receiving a second infrared control signal sent by the infrared transceiver device, performing infrared code matching based on the second infrared control signal, and obtaining a matching result; the second infrared control signal is generated based on the first key control prompt information; the first key control prompt information is generated when the infrared transceiver device receives a pairing confirmation instruction based on the pairing confirmation prompt information; the pairing confirmation prompt information is generated when the infrared transceiver device detects the first infrared control signal;
[0019] If the matching result is that the second infrared control signal matches through the infrared code, determining the target device based on the second infrared control signal;
[0020] The target device is associated with an infrared code group, and a pairing success message is returned to the infrared transceiver device.
[0021] In one embodiment, performing infrared code matching based on the second infrared control signal to obtain a matching result includes:
[0022] determining an initial infrared code based on the second infrared control signal;
[0023] Matching the initial infrared code with each infrared code in all preset function infrared code groups;
[0024] If only one of the preset function infrared code groups has an infrared code that matches the initial infrared code, it is determined that the second infrared control signal passes the infrared code matching.
[0025] In one embodiment, after associating the target device with an infrared code group and returning a pairing success message to the infrared transceiver device, the method further includes:
[0026] If a control instruction for the target device is received, determining a target infrared code based on the control instruction;
[0027] The target infrared code is sent to the infrared transceiver device; after the infrared transceiver device receives the target infrared code, it sends the target infrared code to the target device.
[0028] In a third aspect, an embodiment of the present application provides an infrared transceiver device, including:
[0029] A detection module, configured to generate and output pairing confirmation prompt information if a first infrared control signal is detected;
[0030] a receiving module, configured to generate and output first key control prompt information if a pairing confirmation instruction based on the pairing confirmation prompt information is received;
[0031] An output module is used to send the second infrared control signal generated based on the first button control prompt information to the management platform if the second infrared control signal is received, and to receive and output a pairing success message returned by the management platform; the pairing success message is returned by the management platform after determining that the second infrared control signal passes the infrared code matching and associating the infrared code group with the target device determined based on the second infrared control signal.
[0032] In a fourth aspect, an embodiment of the present application provides a management platform, including:
[0033] A first matching module is used to receive a second infrared control signal sent by the infrared transceiver device, and perform infrared code matching based on the second infrared control signal to obtain a matching result; the second infrared control signal is generated based on the first key control prompt information; the first key control prompt information is generated when the infrared transceiver device receives a pairing confirmation instruction based on the pairing confirmation prompt information; the pairing confirmation prompt information is generated when the infrared transceiver device detects the first infrared control signal;
[0034] a second matching module, configured to determine a target device based on the second infrared control signal if the matching result is that the second infrared control signal matches through an infrared code;
[0035] The association module is used to associate the target device with an infrared code group and return a pairing success message to the infrared transceiver device.
[0036] In a fifth aspect, an embodiment of the present application provides a device, which is an electronic device, including a processor and a memory storing a computer program, and when the processor executes the program, the device pairing method described in the first aspect or the second aspect is implemented.
[0037] In a sixth aspect, an embodiment of the present application provides a medium, which is a computer-readable storage medium, including a computer program, and when the computer program is executed by a processor, the device pairing method described in the first aspect or the second aspect is implemented.
[0038] The device pairing method, infrared transceiver device, management platform, device and medium provided in the embodiment of the present application, the infrared transceiver device actively detects the infrared control signal, displays the pairing confirmation prompt information when the first infrared control signal is detected, prompts the user to confirm whether to pair, if the instruction to confirm pairing is received, generates the key control prompt information, prompts the user to perform key control, if the second infrared control signal generated by the control key is received, the second infrared control signal is sent to the management platform, the management platform performs infrared code matching based on the second infrared control signal, and when the management platform determines that the second infrared control signal passes the infrared code matching, the target device determined based on the second infrared control signal is associated with the infrared code group and then returns the pairing success message to the infrared transceiver device, so that the infrared transceiver device can receive and output the pairing success message, prompting the user that the corresponding device has been paired successfully. Therefore, by automatically monitoring the infrared control signal of the outside world, the dynamic discovery of the infrared device is realized, and after the discovery, the user is prompted to pair through the control key, and the infrared receiving device and the management platform can complete the pairing of the infrared device by the user performing the corresponding key control, so that the convenience of pairing the infrared device can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0040] Figure 1 This is one of the flow charts of the device pairing method provided in the embodiment of the present application;
[0041] Figure 2 This is the second flow chart of the device pairing method provided in the embodiment of the present application;
[0042] Figure 3 This is a diagram of a single infrared device addition architecture of a device pairing method provided in an embodiment of the present application;
[0043] Figure 4 is a pairing sequence diagram of the device pairing method provided in an embodiment of the present application;
[0044] Figure 5 is a control timing diagram of the device pairing method provided in an embodiment of the present application;
[0045] Figure 6 It is a functional module diagram of an embodiment of an infrared transceiver device of the present application;
[0046] Figure 7It is a functional module diagram of an embodiment of the application management platform;
[0047] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0049] Below is a combination of the embodiments and Figure 1-Figure 8 The device pairing method, infrared transceiver device, management platform, device and medium provided by the present invention are described in detail.
[0050] in, Figure 1 One of the flow charts of the device pairing method provided in the embodiment of the present application; Figure 2 The present invention provides a flow chart of the device pairing method according to the embodiment of the present application.
[0051] Specifically, refer to Figure 1 , an embodiment of the present application provides a device pairing method, which may include:
[0052] Step A100, if the first infrared control signal is detected, then generate and output pairing confirmation prompt information;
[0053] It should be noted that the executor of the device identification method provided in the embodiment of the present application may be an infrared transceiver device.
[0054] The infrared transceiver device in the present application may specifically be a networked infrared transceiver. For example, it may be a set-top box. It should be noted that the infrared transceiver device in the present application is not limited to a set-top box, but may be any networked device or device combination with infrared receiving and transmitting capabilities. The present application only uses a set-top box as an example for illustrative description. It should be noted that the infrared transceiver device in the present application may be connected to a display device, for example, a set-top box may be connected to a television, and the desired content may be displayed on the television.
[0055] In this application, the user can remotely control the corresponding infrared device (including but not limited to air conditioners, televisions, fans and other smart home devices) through the infrared remote controller. When the infrared device is remotely controlled by the infrared remote controller, the infrared remote controller will generate an infrared control signal to the outside.
[0056] Therefore, the set-top box in the present application can monitor in real time whether there is an infrared control signal in the outside world.
[0057] Furthermore, if the presence of an infrared control signal from the outside is detected for the first time (to distinguish it from subsequent infrared control signals, the infrared control signal this time is defined as the first infrared control signal), the active guidance process added by the infrared device can be started.
[0058] Specifically, after detecting the first infrared control signal, the set-top box can generate a pairing confirmation prompt message prompting the user to confirm whether to perform one-key pairing of the infrared device, and output it through the connected TV, so that the user can receive the prompt message through the TV and confirm whether to perform pairing through the infrared remote control. The pairing confirmation prompt message may include information on "whether to enable one-key pairing of infrared devices" and information informing the user that the infrared device can be directly controlled through the management platform after successful pairing.
[0059] It should be noted that the management platform may specifically be a smart home management platform, by adding infrared devices in the smart home management platform and associating the infrared devices with corresponding infrared code groups, the user can access the smart home management platform through a smart terminal, and send control instructions to the infrared devices through the smart home management platform. The control instructions may be sent through voice, display interface, or text input.
[0060] If the user confirms to pair the devices, the TV will send a pairing confirmation instruction to the set-top box.
[0061] Step A200, if a pairing confirmation instruction based on the pairing confirmation prompt information is received, generating and outputting first key control prompt information;
[0062] Furthermore, if the set-top box receives a pairing confirmation instruction sent by the user through the television based on the pairing confirmation prompt information, it means that the user agrees to pair the devices and has authorized it through the infrared remote control.
[0063] Therefore, the set-top box can generate first button control prompt information for prompting the user to press any button on the set-top box through the infrared remote control, and output it through the TV, so that the user can view the first button control prompt information and, based on the guidance of the first button control prompt information, press any button to generate a corresponding infrared control signal (this application defines the infrared control signal as a second infrared control signal).
[0064] Step A300: If a second infrared control signal generated based on the first button control prompt information is received, the second infrared control signal is sent to the management platform, and a pairing success message returned by the management platform is received and output.
[0065] If the set-top box receives a second infrared control signal generated by the user performing corresponding key control based on the first key control prompt information, the set-top box sends the second infrared control signal to the management platform.
[0066] It should be noted that after receiving the second infrared control signal, the management platform can perform infrared code matching based on the second infrared control signal to obtain a matching result.
[0067] Specifically, the management platform can convert the second infrared control signal, converting the infrared light signal into an infrared code of a digital sequence, and the infrared code can be defined as an initial infrared code in the present application.
[0068] It should be noted that a functional infrared code group library may be provided in the management platform of the present application. The functional infrared code group library is used to store preset functional infrared code groups. The functional infrared code group library of the present application may store multiple preset functional infrared code groups.
[0069] Each set of preset function infrared code groups may include a plurality of infrared codes for representing different control functions.
[0070] Therefore, the management platform can compare the initial infrared code with the infrared codes in each preset function infrared code group respectively.
[0071] If it is determined that there is one and only one of the preset function infrared code groups that has an infrared code that matches the initial infrared code, then it is determined that the second infrared control signal passes the infrared code matching. The judgment condition of whether the infrared code matches the initial infrared code is not specifically limited in this application, and it can be determined as a match only when they are completely identical, or it can be determined as a match when the similarity reaches a specified threshold.
[0072] If it is determined that there is no infrared code matching the initial infrared code in each set of preset function infrared code groups, it is directly determined that the pairing has failed, and the management platform can return a pairing failure message to the set-top box, and then the set-top box can display the pairing failure message to the user through the TV.
[0073] If it is determined that there are multiple groups of preset function infrared code groups in each group of preset function infrared code groups that have infrared codes that match the initial infrared code, it is determined that there are multiple infrared devices with at least one infrared code that is similar or the same, so it cannot be determined which specific infrared device needs to be paired, and therefore it can be determined that the second infrared control signal does not pass the infrared code match.
[0074] On the one hand, if the management platform determines that the matching result is that the second infrared control signal matches through the infrared code, the target device is determined based on the second infrared control signal.
[0075] It should be noted that different infrared devices in the present application use different infrared codes, while the infrared codes of the same infrared device are similar or have the same code.
[0076] Therefore, the management platform can convert the second infrared control signal into a corresponding infrared code. By matching the infrared code with the code in the infrared device, the type, brand and model of the infrared device (i.e., the target device) that the second infrared control signal needs to control can be determined.
[0077] Furthermore, the management platform associates the infrared code group with the target device, specifically associates and binds the infrared code group with the target device of the corresponding type, brand and model, and returns a pairing success message to the set-top box after the binding is completed.
[0078] On the other hand, if the management platform determines that the matching result is that the second infrared control signal matches through the infrared code, a pairing failure message is returned to the set-top box.
[0079] After receiving the pairing failure message, the set-top box generates a second button control prompt message to prompt the user to change a function button and press the button on the set-top box again, and displays the second button control prompt message through the TV, so that after the user receives the second button control prompt message, he can press other function buttons again according to the instructions.
[0080] After the user presses other function buttons in the infrared remote controller, the infrared remote controller will generate an infrared control signal, which can be defined as a third infrared control signal in the present application.
[0081] Furthermore, the set-top box can detect and receive the third infrared control signal, and send the third infrared control signal to the management platform.
[0082] After receiving the third infrared control signal, the management platform can convert the third infrared control signal, convert the infrared light signal into an infrared code of a digital sequence, and further compare the infrared code with the infrared codes in the target function infrared code group. The target function infrared code group is each group of preset function infrared code groups having infrared codes matching the initial infrared code.
[0083] If it is determined that among each group of target function infrared code groups, there is only one group of target function infrared code groups that has an infrared code that matches the infrared code, then it is determined that the third infrared control signal has passed the infrared code match, and the target device is determined based on the third infrared control signal (the determination process can refer to the second infrared control signal), and the infrared code group is associated with the target device, specifically, the infrared code group is associated and bound with the target device of the corresponding type, brand and model, and a pairing success message is returned to the set-top box after the binding is completed.
[0084] If it is determined that there is no infrared code matching the infrared code in each target function infrared code group, the pairing is directly determined to have failed, and the management platform can return a pairing failure message to the set-top box, which can then display the pairing failure message to the user through the TV.
[0085] If it is determined that there are multiple groups of target function infrared code groups in each group of target function infrared code groups that have infrared codes that match the infrared code, it is determined that there are multiple infrared devices with at least one infrared code that is similar or the same. Therefore, it cannot be determined which specific infrared device needs to be paired. Therefore, it can be determined that the third infrared control signal fails to pass the infrared code match, and a pairing failure message is returned to the set-top box.
[0086] It should be noted that more than 90% of users can complete infrared device pairing by pressing the function button twice. Users who still cannot complete infrared device pairing after pressing the function button twice can choose to continue trying multiple times, that is, continue to press other function buttons according to the guidance of the set-top box; they can also choose to pair infrared devices according to traditional methods.
[0087] The device pairing method provided in the embodiment of the present application is to actively detect infrared control signals through an infrared transceiver device, display a pairing confirmation prompt message when a first infrared control signal is detected, and prompt the user to confirm whether to pair. If a confirmation instruction for pairing is received, a key control prompt message is generated to prompt the user to perform key control. If a second infrared control signal generated by a control key is received, the second infrared control signal is sent to a management platform, and the management platform performs infrared code matching based on the second infrared control signal. When the management platform determines that the second infrared control signal passes the infrared code matching, the target device determined based on the second infrared control signal is associated with an infrared code group and then returns a pairing success message to the infrared transceiver device, so that the infrared transceiver device can receive and output a pairing success message, prompting the user that the corresponding device has been successfully paired. Therefore, by automatically monitoring the infrared control signal from the outside, dynamic discovery of infrared devices is realized, and after discovery, the user is prompted to pair through the control key. The infrared receiving device and the management platform can complete the pairing of the infrared device by performing corresponding key control, thereby improving the convenience of pairing infrared devices.
[0088] In one embodiment, after the pairing success message returned by the output management platform, the following steps are included:
[0089] Step A400, if the target infrared code sent by the management platform is received, the target infrared code is sent to the target device; the target infrared code is determined based on the control instruction after the management platform receives the control instruction for the target device.
[0090] After receiving the pairing success message, the user can log in to the management platform through a smart terminal such as a smart phone, tablet computer, etc., where the login account is the same as or associated with the account of the set-top box.
[0091] After logging into the management platform, the user can find the control interface of the paired infrared device, such as the target device mentioned above, so the user can select the corresponding control function through the control interface to trigger the corresponding control instruction for the target device.
[0092] The user may also trigger corresponding control instructions for the target device by inputting voice or text.
[0093] After receiving the control command, if the control command is triggered by voice or text, the management platform will parse the control command, determine the control function based on the parsed result, and find the corresponding infrared code through the control function as the target infrared code. If the control command is triggered by the control interface, the infrared code of the control function corresponding to the control command can be found as the target infrared code.
[0094] After obtaining the target infrared code, the management platform can send the target infrared code to the set-top box.
[0095] After receiving the target infrared code, the set-top box can send the target infrared code to the target device, specifically in the form of an infrared control signal, so that the target device can execute the control function of the target infrared code after receiving the target infrared code, thereby realizing the remote control function of the infrared device.
[0096] In this embodiment, the infrared transceiver actively detects the infrared control signal, and displays the pairing confirmation prompt information when the first infrared control signal is detected, prompting the user to confirm whether to pair. If the instruction to confirm pairing is received, the key control prompt information is generated to prompt the user to perform key control. If the second infrared control signal generated by the control key is received, the second infrared control signal is sent to the management platform, and the management platform performs infrared code matching based on the second infrared control signal. When the management platform determines that the second infrared control signal passes the infrared code matching, the target device determined based on the second infrared control signal is associated with the infrared code group and then returns a pairing success message to the infrared transceiver, so that the infrared transceiver can receive and output the pairing success message, prompting the user that the corresponding device has been paired successfully. In this way, the pairing of infrared devices is completed conveniently, and then the user can send a control instruction for the target device to the management platform, and the management platform can instruct the target device to perform the corresponding control function through the association relationship with the infrared transceiver and the target device, thereby improving the convenience of using infrared devices.
[0097] Specifically, refer to Figure 2, the embodiment of the present application also provides a device pairing method, which may include:
[0098] Step B100, receiving a second infrared control signal sent by the infrared transceiver device, performing infrared code matching based on the second infrared control signal, and obtaining a matching result;
[0099] Step B200, if the matching result is that the second infrared control signal matches through the infrared code, determining the target device based on the second infrared control signal;
[0100] Step B300, associate the target device with the infrared code group, and return a pairing success message to the infrared transceiver device.
[0101] Wherein, infrared code matching is performed based on the second infrared control signal to obtain a matching result, including:
[0102] Step B101, determining an initial infrared code based on a second infrared control signal;
[0103] Step B102, matching the initial infrared code with all infrared codes in the preset function infrared code groups;
[0104] Step B103: if only one of the preset function infrared code groups has an infrared code that matches the initial infrared code, it is determined that the second infrared control signal passes the infrared code matching.
[0105] It should be noted that the execution subject of the device identification method provided in the embodiment of the present application may be a management platform. The management platform may specifically be a smart home management platform. By adding infrared devices and associating infrared devices with corresponding infrared code groups in the smart home management platform, users can access the smart home management platform through smart terminals and send control instructions to infrared devices through the smart home management platform. The control instructions may be sent through voice, display interface, or text input.
[0106] The infrared transceiver device in the present application may specifically be a networked infrared transceiver. For example, it may be a set-top box. It should be noted that the infrared transceiver device in the present application is not limited to a set-top box, but may be any networked device or device combination with infrared receiving and transmitting capabilities. The present application only uses a set-top box as an example for illustrative description. It should be noted that the infrared transceiver device in the present application may be connected to a display device, for example, a set-top box may be connected to a television, and the desired content may be displayed on the television.
[0107] In this application, the user can remotely control the corresponding infrared device (including but not limited to air conditioners, televisions, fans and other smart home devices) through the infrared remote controller. When the infrared device is remotely controlled by the infrared remote controller, the infrared remote controller will generate an infrared control signal to the outside.
[0108] Therefore, the set-top box in the present application can monitor in real time whether there is an infrared control signal in the outside world.
[0109] Furthermore, if the presence of an infrared control signal from the outside is detected for the first time (to distinguish it from subsequent infrared control signals, the infrared control signal this time is defined as the first infrared control signal), the active guidance process added by the infrared device can be started.
[0110] Specifically, after detecting the first infrared control signal, the set-top box can generate a pairing confirmation prompt message prompting the user to confirm whether to perform one-key pairing of the infrared device, and output it through the connected TV, so that the user can receive the prompt message through the TV and confirm whether to perform pairing through the infrared remote control. The pairing confirmation prompt message may include information on "whether to enable one-key pairing of infrared devices" and information informing the user that the infrared device can be directly controlled through the management platform after successful pairing.
[0111] It should be noted that the management platform may specifically be a smart home management platform, by adding infrared devices in the smart home management platform and associating the infrared devices with corresponding infrared code groups, the user can access the smart home management platform through a smart terminal, and send control instructions to the infrared devices through the smart home management platform. The control instructions may be sent through voice, display interface, or text input.
[0112] If the user confirms to pair the devices, the TV will send a pairing confirmation instruction to the set-top box.
[0113] Furthermore, if the set-top box receives a pairing confirmation instruction sent by the user through the television based on the pairing confirmation prompt information, it means that the user agrees to pair the devices and has authorized it through the infrared remote control.
[0114] Therefore, the set-top box can generate first button control prompt information for prompting the user to press any button on the set-top box through the infrared remote control, and output it through the TV, so that the user can view the first button control prompt information and, based on the guidance of the first button control prompt information, press any button to generate a corresponding infrared control signal (this application defines the infrared control signal as a second infrared control signal).
[0115] If the set-top box receives a second infrared control signal generated by the user performing corresponding key control based on the first key control prompt information, the set-top box sends the second infrared control signal to the management platform.
[0116] It should be noted that after receiving the second infrared control signal, the management platform can perform infrared code matching based on the second infrared control signal to obtain a matching result.
[0117] Specifically, the management platform can convert the second infrared control signal, converting the infrared light signal into an infrared code of a digital sequence, and the infrared code can be defined as an initial infrared code in the present application.
[0118] It should be noted that a functional infrared code group library may be provided in the management platform of the present application. The functional infrared code group library is used to store preset functional infrared code groups. The functional infrared code group library of the present application may store multiple preset functional infrared code groups.
[0119] Each set of preset function infrared code groups may include a plurality of infrared codes for representing different control functions.
[0120] Therefore, the management platform can compare the initial infrared code with the infrared codes in each preset function infrared code group respectively.
[0121] If it is determined that there is one and only one of the preset function infrared code groups that has an infrared code that matches the initial infrared code, then it is determined that the second infrared control signal passes the infrared code matching. The judgment condition of whether the infrared code matches the initial infrared code is not specifically limited in this application, and it can be determined as a match only when they are completely identical, or it can be determined as a match when the similarity reaches a specified threshold.
[0122] If it is determined that there is no infrared code matching the initial infrared code in each set of preset function infrared code groups, it is directly determined that the pairing has failed, and the management platform can return a pairing failure message to the set-top box, and then the set-top box can display the pairing failure message to the user through the TV.
[0123] If it is determined that there are multiple groups of preset function infrared code groups in each group of preset function infrared code groups that have infrared codes that match the initial infrared code, it is determined that there are multiple infrared devices with at least one infrared code that is similar or the same, so it cannot be determined which specific infrared device needs to be paired, and therefore it can be determined that the second infrared control signal does not pass the infrared code match.
[0124] On the one hand, if the management platform determines that the matching result is that the second infrared control signal matches through the infrared code, the target device is determined based on the second infrared control signal.
[0125] It should be noted that different infrared devices in the present application use different infrared codes, while the infrared codes of the same infrared device are similar or have the same code.
[0126] Therefore, the management platform can convert the second infrared control signal into a corresponding infrared code. By matching the infrared code with the code in the infrared device, the type, brand and model of the infrared device (i.e., the target device) that the second infrared control signal needs to control can be determined.
[0127] Furthermore, the management platform associates the infrared code group with the target device, specifically associates and binds the infrared code group with the target device of the corresponding type, brand and model, and returns a pairing success message to the set-top box after the binding is completed.
[0128] On the other hand, if the management platform determines that the matching result is that the second infrared control signal matches through the infrared code, a pairing failure message is returned to the set-top box.
[0129] After receiving the pairing failure message, the set-top box generates a second button control prompt message to prompt the user to change a function button and press the button on the set-top box again, and displays the second button control prompt message through the TV, so that after the user receives the second button control prompt message, he can press other function buttons again according to the instructions.
[0130] After the user presses other function buttons in the infrared remote controller, the infrared remote controller will generate an infrared control signal, which can be defined as a third infrared control signal in the present application.
[0131] Furthermore, the set-top box can detect and receive the third infrared control signal, and send the third infrared control signal to the management platform.
[0132] After receiving the third infrared control signal, the management platform can convert the third infrared control signal, convert the infrared light signal into an infrared code of a digital sequence, and further compare the infrared code with the infrared codes in the target function infrared code group. The target function infrared code group is each group of preset function infrared code groups having infrared codes matching the initial infrared code.
[0133] If it is determined that among each group of target function infrared code groups, there is only one group of target function infrared code groups that has an infrared code that matches the infrared code, then it is determined that the third infrared control signal has passed the infrared code match, and the target device is determined based on the third infrared control signal (the determination process can refer to the second infrared control signal), and the infrared code group is associated with the target device, specifically, the infrared code group is associated and bound with the target device of the corresponding type, brand and model, and a pairing success message is returned to the set-top box after the binding is completed.
[0134] If it is determined that there is no infrared code matching the infrared code in each target function infrared code group, the pairing is directly determined to have failed, and the management platform can return a pairing failure message to the set-top box, which can then display the pairing failure message to the user through the TV.
[0135] If it is determined that there are multiple groups of target function infrared code groups in each group of target function infrared code groups that have infrared codes that match the infrared code, it is determined that there are multiple infrared devices with at least one infrared code that is similar or the same. Therefore, it cannot be determined which specific infrared device needs to be paired. Therefore, it can be determined that the third infrared control signal fails to pass the infrared code match, and a pairing failure message is returned to the set-top box.
[0136] It should be noted that more than 90% of users can complete infrared device pairing by pressing the function button twice. Users who still cannot complete infrared device pairing after pressing the function button twice can choose to continue trying multiple times, that is, continue to press other function buttons according to the guidance of the set-top box; they can also choose to pair infrared devices according to traditional methods.
[0137] The device pairing method provided in the embodiment of the present application is to actively detect infrared control signals through an infrared transceiver device, display a pairing confirmation prompt message when a first infrared control signal is detected, and prompt the user to confirm whether to pair. If a confirmation instruction for pairing is received, a key control prompt message is generated to prompt the user to perform key control. If a second infrared control signal generated by a control key is received, the second infrared control signal is sent to a management platform, and the management platform performs infrared code matching based on the second infrared control signal. When the management platform determines that the second infrared control signal passes the infrared code matching, the target device determined based on the second infrared control signal is associated with an infrared code group and then returns a pairing success message to the infrared transceiver device, so that the infrared transceiver device can receive and output a pairing success message, prompting the user that the corresponding device has been successfully paired. Therefore, by automatically monitoring the infrared control signal from the outside, dynamic discovery of infrared devices is realized, and after discovery, the user is prompted to pair through the control key. The infrared receiving device and the management platform can complete the pairing of the infrared device by performing corresponding key control, thereby improving the convenience of pairing infrared devices.
[0138] In one embodiment, after associating the target device with the infrared code group and returning a pairing success message to the infrared transceiver device, the method further includes:
[0139] Step B400, if a control instruction for a target device is received, determining a target infrared code based on the control instruction;
[0140] Step B500, sending the target infrared code to the infrared transceiver device; after receiving the target infrared code, the infrared transceiver device sends the target infrared code to the target device.
[0141] After receiving the pairing success message, the user can log in to the management platform through a smart terminal such as a smart phone, tablet computer, etc., where the login account is the same as or associated with the account of the set-top box.
[0142] After logging into the management platform, the user can find the control interface of the paired infrared device, such as the target device mentioned above, so the user can select the corresponding control function through the control interface to trigger the corresponding control instruction for the target device.
[0143] The user may also trigger corresponding control instructions for the target device by inputting voice or text.
[0144] After receiving the control command, if the control command is triggered by voice or text, the management platform will parse the control command, determine the control function based on the parsed result, and find the corresponding infrared code through the control function as the target infrared code. If the control command is triggered by the control interface, the infrared code of the control function corresponding to the control command can be found as the target infrared code.
[0145] After obtaining the target infrared code, the management platform can send the target infrared code to the set-top box.
[0146] After receiving the target infrared code, the set-top box can send the target infrared code to the target device, specifically in the form of an infrared control signal, so that the target device can execute the control function of the target infrared code after receiving the target infrared code, thereby realizing the remote control function of the infrared device.
[0147] In this embodiment, the infrared transceiver actively detects the infrared control signal, and displays the pairing confirmation prompt information when the first infrared control signal is detected, prompting the user to confirm whether to pair. If the instruction to confirm pairing is received, the key control prompt information is generated to prompt the user to perform key control. If the second infrared control signal generated by the control key is received, the second infrared control signal is sent to the management platform, and the management platform performs infrared code matching based on the second infrared control signal. When the management platform determines that the second infrared control signal passes the infrared code matching, the target device determined based on the second infrared control signal is associated with the infrared code group and then returns a pairing success message to the infrared transceiver, so that the infrared transceiver can receive and output the pairing success message, prompting the user that the corresponding device has been paired successfully. In this way, the pairing of infrared devices is completed conveniently, and then the user can send a control instruction for the target device to the management platform, and the management platform can instruct the target device to perform the corresponding control function through the association relationship with the infrared transceiver and the target device, thereby improving the convenience of using infrared devices.
[0148] Figure 3 For a single infrared device adding architecture diagram of the device pairing method provided in the embodiment of the present application, see Figure 3In one embodiment, the user can use an infrared device remote control such as an air conditioner to send an infrared signal of the infrared device to be configured to the set-top box. The set-top box receives the infrared signal through the infrared receiving module therein and reports the collected infrared code after data conversion. The smart home platform (specifically, it can be a smart home management platform or a smart home management cloud platform) can perform infrared code matching based on the reported infrared code, add the corresponding infrared device after the matching is completed, and return the matching result to the set-top box. The set-top box outputs the matching result, and then the user can issue a control instruction through the smart home platform, and the smart management platform cooperates with the set-top box to control the infrared device.
[0149] Figure 4 For a pairing sequence diagram of the device pairing method provided in the embodiment of the present application, see Figure 4 In one embodiment, the implementation of the device pairing method may specifically include the following steps:
[0150] When a user operates an infrared device, for example, by aiming at a set-top box and pressing any button of the remote control of the infrared device (such as a TV), the set-top box (or networked infrared transceiver) can monitor infrared signals in the environment in real time, and thus can detect the infrared signal generated by pressing any button of the remote control of the infrared device (such as a TV);
[0151] The set-top box prompts the user that an infrared signal is found in the environment, prompts the user to pair the infrared device with one click, and prompts the user whether to turn on the one-click pairing of the infrared device? (The user can also be informed that the infrared device can be voice controlled after the pairing is successful);
[0152] After the user clicks Authorize to start pairing the infrared device, the set-top box prompts the user to pick up the infrared device remote control that he wants to pair with, aim it at the set-top box and press any button;
[0153] After the user presses any button on the infrared TV remote control and aims at the set-top box according to the prompt, the set-top box collects the infrared signal emitted and uploads the infrared code to the smart home management platform. The smart home management platform can determine whether there are multiple devices in the code library that use the same infrared code group as the infrared code. If there is only one device, the pairing is determined to be successful. It should be noted that in general, the user can complete the precise matching of the infrared code group by pressing once. Assuming that the infrared device in the user's home is an original equipment manufacturer (OEM) device platform and there are multiple infrared code groups with modified functional infrared codes, it is necessary to enter the subsequent process; if there are multiple devices, a pairing failure message is returned to the set-top box, and the set-top box further prompts the user: change a button and aim at the set-top box again to press the button. The user can change a button and aim at the set-top box and press any other button on the remote control of the infrared device (such as a TV).
[0154] After the user follows the instructions and presses other function buttons again, the set-top box will upload the newly collected infrared codes corresponding to the new functions to the smart home management platform. The platform will search for the newly uploaded infrared codes on the function code groups with repeated infrared codes, retain the successfully retrieved infrared code groups, and determine whether the remaining infrared code groups are unique. If so, it is determined that the match is successful. After the match is successful, it will automatically create a matched infrared device for the user and return a message that the infrared device has been successfully created; otherwise, the user will be prompted to press other buttons in sequence. Among them, more than 90% of users can complete infrared pairing twice. Users who cannot complete infrared pairing twice can choose to continue with the manufacturer multiple times, or choose to perform infrared pairing according to traditional methods;
[0155] After the set-top box determines that the infrared device is successfully created, it can prompt the user that the infrared TV is successfully created, and the voice remote control can be used to voice control the infrared device.
[0156] Figure 5 For a control timing diagram of the device pairing method provided in the embodiment of the present application, see Figure 5 In one embodiment, after pairing, infrared device control can be performed by following the steps below:
[0157] After the user completes the pairing of the infrared device, the user can use the voice entry (such as a voice remote control or smart speaker) and the interface entry to quickly control the infrared device, thereby generating a voice control command for the infrared device or a control command for a specified function. The corresponding control command is first sent to the smart home cloud platform for analysis (taking the user's voice saying "turn on the air conditioner" as an example);
[0158] After the analysis is completed, the smart home cloud platform will convert it into the infrared code corresponding to the "air conditioner on / off command" of the user's air conditioner;
[0159] After being converted into infrared codes, they are sent to the set-top box (networked infrared transceiver). The set-top box converts the infrared codes and transmits infrared control signals to the infrared devices, thereby realizing voice control of the infrared devices.
[0160] After this application detects an infrared control signal in the environment, it will actively prompt the user to find the infrared device, without the need for massive and inaccurate operational activities to inform the user;
[0161] This application is easy to operate, with low learning cost and threshold: the only operation step for users is to "use the dedicated remote control of the infrared device you want to pair to point it at the set-top box (networked infrared transceiver) and press any button" to complete the infrared device pairing;
[0162] This application realizes low hardware cost: infrared devices can be added with one click based on existing hardware and smart home software.
[0163] Furthermore, the present application also provides an infrared transceiver device.
[0164] Reference Figure 6 , Figure 6 This is a schematic diagram of the functional modules of an infrared transceiver device embodiment of the present application.
[0165] The infrared transceiver device comprises:
[0166] The detection module 610 is used to generate and output pairing confirmation prompt information if the first infrared control signal is detected;
[0167] The receiving module 620 is configured to generate and output first key control prompt information if a pairing confirmation instruction based on the pairing confirmation prompt information is received;
[0168] The output module 630 is used to send the second infrared control signal to the management platform if it receives the second infrared control signal generated based on the first button control prompt information, and receive and output the pairing success message returned by the management platform; the pairing success message is returned by the management platform after determining that the second infrared control signal passes the infrared code matching and associating the infrared code group with the target device determined based on the second infrared control signal.
[0169] The infrared transceiver device provided in the embodiment of the present application actively detects the infrared control signal through the infrared transceiver device, displays the pairing confirmation prompt information when the first infrared control signal is detected, prompts the user to confirm whether to pair, generates the key control prompt information if the instruction to confirm pairing is received, prompts the user to perform key control, and sends the second infrared control signal to the management platform if the second infrared control signal generated by the control key is received. The management platform performs infrared code matching based on the second infrared control signal, and when the management platform determines that the second infrared control signal passes the infrared code matching, it associates the target device determined based on the second infrared control signal with the infrared code group and returns the pairing success message to the infrared transceiver device, so that the infrared transceiver device can receive and output the pairing success message, prompting the user that the corresponding device has been paired successfully. Therefore, by automatically monitoring the infrared control signal of the outside world, the dynamic discovery of the infrared device is realized, and after the discovery, the user is prompted to pair through the control key, and the infrared receiving device and the management platform can complete the pairing of the infrared device by the user performing the corresponding key control, thereby improving the convenience of pairing the infrared device.
[0170] In one embodiment, the infrared transceiver device further includes:
[0171] A generating module, configured to generate second key control prompt information and output the second key control prompt information through a display device if a pairing failure message returned by the management platform is received; the pairing failure message is returned by the management platform after determining that the second infrared control signal fails to match the infrared code;
[0172] The first sending module is used to send the third infrared control signal generated based on the second button control prompt information to the management platform if the third infrared control signal is received, and receive and output the pairing result returned by the management platform.
[0173] In one embodiment, the infrared transceiver device further includes:
[0174] The second sending module is used to send the target infrared code to the target device if the target infrared code sent by the management platform is received; the target infrared code is determined based on the control instruction after the management platform receives the control instruction for the target device.
[0175] Furthermore, the present application also provides a management platform.
[0176] Reference Figure 7 , Figure 7 This is a schematic diagram of the functional modules of an embodiment of the management platform of this application.
[0177] The management platform includes:
[0178] The first matching module 710 is used to receive a second infrared control signal sent by the infrared transceiver device, and perform infrared code matching based on the second infrared control signal to obtain a matching result; the second infrared control signal is generated based on the first key control prompt information; the first key control prompt information is generated when the infrared transceiver device receives a pairing confirmation instruction based on the pairing confirmation prompt information; the pairing confirmation prompt information is generated when the infrared transceiver device detects the first infrared control signal;
[0179] A second matching module 720, configured to determine a target device based on the second infrared control signal if the matching result is that the second infrared control signal matches through an infrared code;
[0180] The association module 730 is used to associate the target device with an infrared code group and return a pairing success message to the infrared transceiver device.
[0181] The management platform provided by the embodiment of the present application actively detects infrared control signals through an infrared transceiver device, displays a pairing confirmation prompt message when a first infrared control signal is detected, and prompts the user to confirm whether to pair. If a confirmation instruction for pairing is received, a key control prompt message is generated to prompt the user to perform key control. If a second infrared control signal generated by a control key is received, the second infrared control signal is sent to the management platform, and the management platform performs infrared code matching based on the second infrared control signal. When the management platform determines that the second infrared control signal passes the infrared code matching, it associates the target device determined based on the second infrared control signal with an infrared code group and returns a pairing success message to the infrared transceiver device, so that the infrared transceiver device can receive and output a pairing success message, prompting the user that the corresponding device has been paired successfully. Therefore, by automatically monitoring the infrared control signal from the outside world, dynamic discovery of infrared devices is realized, and after discovery, the user is prompted to pair through the control key. The infrared receiving device and the management platform can complete the pairing of the infrared device by performing corresponding key control, thereby improving the convenience of pairing infrared devices.
[0182] In one embodiment, the first matching module 710 is specifically configured to:
[0183] determining an initial infrared code based on the second infrared control signal;
[0184] Matching the initial infrared code with each infrared code in all preset function infrared code groups;
[0185] If only one of the preset function infrared code groups has an infrared code that matches the initial infrared code, it is determined that the second infrared control signal passes the infrared code matching.
[0186] In one embodiment, the management platform further includes:
[0187] A determination module, configured to determine a target infrared code based on a control instruction for the target device if a control instruction for the target device is received;
[0188] The sending module is used to send the target infrared code to the infrared transceiver device; after the infrared transceiver device receives the target infrared code, it sends the target infrared code to the target device.
[0189] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call a computer program in the memory 830 to execute the steps of the device pairing method, for example, including:
[0190] If the first infrared control signal is detected, a pairing confirmation prompt message is generated and output;
[0191] If a pairing confirmation instruction based on the pairing confirmation prompt information is received, generating and outputting first key control prompt information;
[0192] If a second infrared control signal generated based on the first button control prompt information is received, the second infrared control signal is sent to the management platform, and the pairing success message returned by the management platform is received and output; the pairing success message is returned by the management platform after determining that the second infrared control signal passes the infrared code match and associating the infrared code group with the target device determined based on the second infrared control signal.
[0193] or include:
[0194] receiving a second infrared control signal sent by the infrared transceiver device, performing infrared code matching based on the second infrared control signal, and obtaining a matching result; the second infrared control signal is generated based on the first key control prompt information; the first key control prompt information is generated when the infrared transceiver device receives a pairing confirmation instruction based on the pairing confirmation prompt information; the pairing confirmation prompt information is generated when the infrared transceiver device detects the first infrared control signal;
[0195] If the matching result is that the second infrared control signal matches through the infrared code, determining the target device based on the second infrared control signal;
[0196] The target device is associated with an infrared code group, and a pairing success message is returned to the infrared transceiver device.
[0197] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0198] On the other hand, an embodiment of the present application further provides a storage medium, wherein the storage medium is a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program is used to enable a processor to execute the steps of the methods provided in the above embodiments, for example, including:
[0199] If the first infrared control signal is detected, a pairing confirmation prompt message is generated and output;
[0200] If a pairing confirmation instruction based on the pairing confirmation prompt information is received, generating and outputting first key control prompt information;
[0201] If a second infrared control signal generated based on the first button control prompt information is received, the second infrared control signal is sent to the management platform, and the pairing success message returned by the management platform is received and output; the pairing success message is returned by the management platform after determining that the second infrared control signal passes the infrared code match and associating the infrared code group with the target device determined based on the second infrared control signal.
[0202] or include:
[0203] receiving a second infrared control signal sent by the infrared transceiver device, performing infrared code matching based on the second infrared control signal, and obtaining a matching result; the second infrared control signal is generated based on the first key control prompt information; the first key control prompt information is generated when the infrared transceiver device receives a pairing confirmation instruction based on the pairing confirmation prompt information; the pairing confirmation prompt information is generated when the infrared transceiver device detects the first infrared control signal;
[0204] If the matching result is that the second infrared control signal matches through the infrared code, determining the target device based on the second infrared control signal;
[0205] The target device is associated with an infrared code group, and a pairing success message is returned to the infrared transceiver device.
[0206] The computer-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0207] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0208] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0209] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A device pairing method, It is characterized in that Applied to infrared transceiver equipment, the device pairing method includes: If the first infrared control signal is detected, a pairing confirmation prompt message is generated and output; If a pairing confirmation instruction based on the pairing confirmation prompt information is received, generating and outputting first key control prompt information; If a second infrared control signal generated based on the first button control prompt information is received, the second infrared control signal is sent to the management platform, and the pairing success message returned by the management platform is received and output; the pairing success message is returned by the management platform after determining that the second infrared control signal passes the infrared code match and associating the infrared code group with the target device determined based on the second infrared control signal.
2. The device pairing method according to claim 1, It is characterized in that After sending the second infrared control signal to the management platform, the method includes: If a pairing failure message returned by the management platform is received, a second key control prompt message is generated and the second key control prompt message is output through a display device; the pairing failure message is returned by the management platform after determining that the second infrared control signal fails to match the infrared code; If a third infrared control signal generated based on the second button control prompt information is received, the third infrared control signal is sent to the management platform, and the pairing result returned by the management platform is received and output.
3. The device pairing method according to claim 1, It is characterized in that After outputting the pairing success message returned by the management platform, the method includes: If the target infrared code sent by the management platform is received, the target infrared code is sent to the target device; the target infrared code is determined by the management platform based on the control instruction after receiving the control instruction for the target device.
4. A device pairing method, It is characterized in that Applied to the management platform, the device pairing method includes: receiving a second infrared control signal sent by the infrared transceiver device, performing infrared code matching based on the second infrared control signal, and obtaining a matching result; the second infrared control signal is generated based on the first key control prompt information; the first key control prompt information is generated when the infrared transceiver device receives a pairing confirmation instruction based on the pairing confirmation prompt information; the pairing confirmation prompt information is generated when the infrared transceiver device detects the first infrared control signal; If the matching result is that the second infrared control signal matches through the infrared code, determining the target device based on the second infrared control signal; The target device is associated with an infrared code group, and a pairing success message is returned to the infrared transceiver device.
5. The device pairing method according to claim 4, It is characterized in that The performing infrared code matching based on the second infrared control signal to obtain a matching result includes: determining an initial infrared code based on the second infrared control signal; Matching the initial infrared code with each infrared code in all preset function infrared code groups; If only one of the preset function infrared code groups has an infrared code that matches the initial infrared code, it is determined that the second infrared control signal passes the infrared code matching.
6. The device pairing method according to claim 4, It is characterized in that After associating the target device with an infrared code group and returning a pairing success message to the infrared transceiver device, the method further includes: If a control instruction for the target device is received, determining a target infrared code based on the control instruction; The target infrared code is sent to the infrared transceiver device; after the infrared transceiver device receives the target infrared code, it sends the target infrared code to the target device.
7. An infrared transceiver device, It is characterized in that include: A detection module, configured to generate and output pairing confirmation prompt information if a first infrared control signal is detected; a receiving module, configured to generate and output first key control prompt information if a pairing confirmation instruction based on the pairing confirmation prompt information is received; an output module, configured to send the second infrared control signal to the management platform if a second infrared control signal generated based on the first button control prompt information is received, and receive and output a pairing success message returned by the management platform; The pairing success message is returned by the management platform after determining that the second infrared control signal passes the infrared code matching and associating the target device determined based on the second infrared control signal with the infrared code group.
8. A management platform, It is characterized in that include: A first matching module is used to receive a second infrared control signal sent by the infrared transceiver device, and perform infrared code matching based on the second infrared control signal to obtain a matching result; The second infrared control signal is generated based on the first key control prompt information; the first key control prompt information is generated when the infrared transceiver device receives a pairing confirmation instruction based on the pairing confirmation prompt information; The pairing confirmation prompt information is generated by the infrared transceiver when detecting the first infrared control signal; a second matching module, configured to determine a target device based on the second infrared control signal if the matching result is that the second infrared control signal matches through an infrared code; The association module is used to associate the target device with an infrared code group and return a pairing success message to the infrared transceiver device.
9. A device, the device being an electronic device, comprising a processor and a memory storing a computer program, It is characterized in that When the processor executes the computer program, the device pairing method according to any one of claims 1 to 6 is implemented.
10. A medium, the medium being a computer-readable storage medium, comprising a computer program, It is characterized in that When the computer program is executed by a processor, the device pairing method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Acquisition method of infrared code pattern, cloud server, infrared transponder and system
CN104157129A
Remote control method, system, and docking station
CN107274660A
Infrared data processing method and device, equipment and computer readable storage medium
CN107590990A
Method, device and equipment for automatically matching infrared controller with infrared equipment
CN109920240A
Wireless sound box connection method and device, communication terminal and readable storage medium
CN113225837A