Household appliance user-defined remote control method and system, terminal and medium
By customizing remote control methods and systems, matching device information to achieve multi-device compatibility, the problem of different communication protocols of household appliances in different brands is solved, and a convenient remote control operation interface is provided, which improves the user experience.
Patent Information
- Application Number
- CN202411336216.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2025-01-07
AI Technical Summary
The communication protocol and interface standards of different brands of household appliances are different, which makes it difficult for smart devices to adapt quickly, resulting in compatibility issues during remote control.
Provide a custom remote control method and system for household appliances. By obtaining user equipment information, matching target communication protocol and interface adapter, sending communication test instructions, providing remote control function configuration interface, and receiving remote control parameters input by users, through target communication protocol and The interface adapter is sent to the target device, enabling multi-device compatibility and custom remote control interface.
It realizes compatibility of a variety of household appliances, provides an intuitive remote control function configuration interface, allowing users to customize settings according to their needs, and improves the convenience of remote control operation.
Smart Images

Figure CN119276956A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electrical appliance remote control, and in particular to a method, system, terminal and medium for customized remote control of household appliances. Background Art
[0002] With the rapid development of science and technology, household appliances are gradually evolving towards intelligence and networking. The operation of traditional household appliances mostly relies on physical buttons or simple remote controls. As the main control method for traditional household appliances, remote controls are gradually integrated into the trend of intelligence and personalization. Traditional remote controls often have fixed functions and complex operations, making it difficult to meet the diverse needs of users. Especially in smart home systems, various household appliances need to be connected to each other through the network to achieve unified management and remote control.
[0003] However, household appliances of different brands often use their own unique communication protocols and interface standards, which leads to compatibility issues when users use smart devices (such as smartphones, tablets, etc.) for remote control. It is difficult for smart devices to quickly adapt to the communication protocols and interfaces of different devices. Summary of the invention
[0004] To solve the above problems, the present invention provides a method, system, terminal and medium for customizing remote control of household appliances, which achieve multi-device compatibility and support user-customized remote control interface, thereby improving the convenience of remote control operation.
[0005] In a first aspect, the technical solution of the present invention provides a method for customizing remote control of household appliances, the method running on an Android system, comprising the following steps: Get the device information configured by the user; Matching the target communication protocol and the target interface adapter from the pre-configured protocol interface library according to the device information, and storing the device information, the target communication protocol, and the target interface adapter locally; Sending a communication test instruction to a target device based on a target communication protocol and a target interface adapter; In response to the communication test passing information, a remote control function configuration interface is provided to the user, and the remote control function interface of the target device is adjusted according to the configuration operation of the user; Receive the remote control parameters input by the user, and send the remote control parameters to the target device through the target communication protocol and the target interface adapter.
[0006] In an optional implementation, obtaining device information configured by a user specifically includes: Get the device adding request through the device adding interface; Respond to device addition requests and display a list of device types on the interactive interface; Display a list of selectable device brands and models on the interactive interface based on the device type selected by the user; The user selects the device brand and model and fills in the device's unique identifier.
[0007] In an optional implementation, sending a communication detection instruction to a target device based on a target communication protocol and a target interface adapter specifically includes: Display the test button on the interactive interface; Respond to the click request of the test button and retrieve the pre-stored test parameters; Converting the test parameters into communication test instructions in a target format according to the target communication protocol; transmitting the communication test instruction to the target device via the target interface adapter; Receive test feedback results from the target device and parse the feedback results through the target communication protocol; Check whether the parsing result meets expectations. If so, the communication test passes, otherwise it fails.
[0008] In an optional implementation, adjusting the remote control function interface of the target device according to the configuration operation of the user specifically includes: In response to a long press and drag operation on a function module, the function module is moved within the remote control function interface; In response to a long-press and drag operation on a functional unit in a functional module, the functional unit is moved within the functional module.
[0009] In an optional implementation, receiving the remote control parameters input by the user and sending the remote control parameters to the target device through the target communication protocol and the target interface adapter specifically includes: Receive remote control parameters input by the user from the interactive interface; According to the pre-built command mapping relationship, the remote control parameters input by the user are constructed into control commands that conform to the target communication protocol; Encode the control instructions according to the format specified by the target communication protocol; The encoded control instructions are sent to the target device through the target interface adapter.
[0010] In an optional implementation, the remote control parameters input by the user are constructed into control instructions that conform to the target communication protocol according to the pre-constructed instruction mapping relationship, specifically including: Build a control instruction framework according to the requirements of the target communication protocol; According to the pre-built command mapping relationship, the remote control parameters input by the user are filled into the adaptation field in the control command; Fill in the instruction type, device unique identifier, and timestamp in the corresponding fixed fields of the control instruction.
[0011] In an optional implementation, sending the remote control parameters to the target device specifically includes: sending the remote control parameters to the target device via a cloud server.
[0012] In a second aspect, the technical solution of the present invention provides a household appliance custom remote control system, which is implemented based on any of the above methods and includes: Device information acquisition module: obtains device information configured by the user; Protocol interface adapter module: matches the target communication protocol and target interface adapter from the pre-configured protocol interface library according to the device information, and stores the device information, target communication protocol and target interface adapter locally; Communication test module: sends communication test instructions to the target device based on the target communication protocol and the target interface adapter; Remote control function interface configuration module: in response to the communication test pass information, provide the user with a remote control function configuration interface, and adjust the remote control function interface of the target device according to the user's configuration operation; Remote control parameter sending module: receives the remote control parameters input by the user and sends the remote control parameters to the target device through the target communication protocol and the target interface adapter.
[0013] In a third aspect, the technical solution of the present invention provides a terminal, including: A memory for storing a custom remote control program for household appliances; A processor is used to implement the steps of any of the above methods for customizing remote control of household appliances when executing the custom remote control program of the household appliance.
[0014] In a fourth aspect, the technical solution of the present invention provides a computer-readable storage medium, on which a custom remote control program for a household appliance is stored. When the custom remote control program for a household appliance is executed by a processor, the steps of the custom remote control method for a household appliance as described in any of the above items are implemented.
[0015] The method, system, terminal and medium for customizing remote control of household appliances provided by the present invention have the following beneficial effects compared with the prior art: by pre-configuring a protocol interface library, storing the communication protocols and interface adapters of various devices in the library, the communication protocols and interface adapters of different household appliances are automatically matched after the user configures the device information, thereby achieving compatibility with various household appliances. After matching the target device, an intuitive remote control function configuration interface is provided to the user, allowing the user to customize the settings according to their own usage habits and needs, thereby improving the user's convenience of use. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 The present invention provides a method for user-defined remote control of household appliances.
[0018] Figure 2 The present invention provides a schematic block diagram of a household appliance user-defined remote control system.
[0019] Figure 3 It is a schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0022] Figure 1 This is a schematic diagram of a method for customizing remote control of household appliances provided by an embodiment of the present invention. Figure 1 The method shown is run on an Android system, and its execution subject can be a household appliance custom remote control system. The household appliance custom remote control method provided in the embodiment of the present invention is executed by a computer device equipped with an Android system, and accordingly, the household appliance custom remote control system runs in a computer device equipped with an Android system. According to different requirements, the order of the steps in the flowchart can be changed, and some can be omitted.
[0023] like Figure 1 As shown, the method includes the following steps.
[0024] S1, obtain the device information configured by the user.
[0025] S2, matching the target communication protocol and the target interface adapter from the pre-configured protocol interface library according to the device information, and storing the device information, the target communication protocol, and the target interface adapter locally.
[0026] S3, sending a communication test instruction to the target device based on the target communication protocol and the target interface adapter.
[0027] S4, in response to the communication test pass information, providing the user with a remote control function configuration interface, and adjusting the remote control function interface of the target device according to the user's configuration operation.
[0028] S5, receiving the remote control parameters input by the user, and sending the remote control parameters to the target device through the target communication protocol and the target interface adapter.
[0029] The household appliance custom remote control method of this embodiment pre-configures a protocol interface library, stores the communication protocols and interface adapters of various devices in the library, and automatically matches the communication protocols and interface adapters of different household appliances after the user configures the device information, thereby achieving compatibility with various household appliances. After matching the target device, an intuitive remote control function configuration interface is provided to the user, allowing the user to customize the settings according to their own usage habits and needs, thereby improving the user's convenience.
[0030] In this embodiment, the user selects the target device to be added on the interactive interface to configure the device information, and the background obtains the device information configured by the user according to the user operation, which specifically includes the following steps.
[0031] Step 1: Get the device adding request through the device adding interface.
[0032] Step 2: respond to the device adding request and display the device type list on the interactive interface.
[0033] Step 3: Display a list of selectable device brands and models on the interactive interface based on the device type selected by the user.
[0034] Step 4: The user selects the device brand and model and fills in the device unique identifier.
[0035] For example, a device adding button is displayed on the interactive interface. The user clicks the device adding button to send a device adding request. The background responds to the device adding request and displays a device type list on the interactive interface. The device type list contains several selectable device types, such as air conditioner remote control, TV remote control, projector remote control, smart curtain remote control, etc. The user selects the corresponding device type in the device type list as needed. The background displays a device brand and model list based on the selected device type. The list contains all supported selectable device brands and models. If the air conditioner remote control is selected, all supported air conditioner brands and models are displayed. After that, the user selects the corresponding brand and model, and fills in the device unique identifier (such as MAC address, serial number, etc.). The device unique identifier allows the user to communicate with the device.
[0036] In this embodiment, after the user configures the device, the background obtains the device information such as the device brand, model and device unique identifier, and matches the target communication protocol and target interface adapter from the protocol interface library based on this device information. It should be noted that the protocol interface library stores communication protocols and interface adapters for various devices, including infrared protocol, Bluetooth protocol, Wi-Fi protocol and communication protocols dedicated to some home appliances, etc., to achieve compatibility of different devices. In this embodiment, the device information, target communication protocol and target interface adapter are stored locally, and the information is subsequently obtained from the memory for device remote control.
[0037] After configuring the target communication protocol and the target interface adapter, this embodiment performs a communication test on the target device to ensure that the remote control terminal can communicate normally with the target device. Sending a communication test instruction to the target device based on the target communication protocol and the target interface adapter specifically includes the following steps.
[0038] Step 1: Display the test button on the interactive interface.
[0039] Step 2, responding to the click request of the test button, calling the pre-stored test parameters.
[0040] Step 3: convert the test parameters into communication test instructions in a target format according to the target communication protocol.
[0041] Step 4: Transmit the communication test instruction to the target device via the target interface adapter.
[0042] Step 5: Receive the test feedback result of the target device and parse the feedback result through the target communication protocol.
[0043] Step 6: Check whether the parsing result meets expectations. If yes, the communication test passes, otherwise it fails.
[0044] The user clicks the test button to send a click request to the background, and the background responds to the click request to call the communication test program to perform a communication test. First, call the pre-stored test parameters. For example, different types of devices are configured with different test parameters. Then call the target communication protocol from the local, convert the test parameters into the communication test instructions in the format required by the target communication protocol, and then send them to the target device through the interface adapter. Receive and parse the test feedback results. If they meet the requirements, the communication test passes, and the remote control terminal and the target device can communicate normally. If the test fails, you can add the device again.
[0045] In this embodiment, after the communication test is passed, a remote control function configuration interface is provided to the user, in which the configurable function modules of the target device can be displayed, and then the remote control function interface of the target device is adjusted according to the configuration operation of the user. In this embodiment, the remote control function interface of the target device is adjusted according to the configuration operation of the user, and specifically includes the following steps.
[0046] Step 1: respond to a long press and drag operation on a function module, and move the function module within the remote control function interface.
[0047] Step 2: respond to a long press and drag operation on a functional unit in the functional module, and move the functional unit within the functional module.
[0048] For example, the function configuration of the air conditioner includes mode control, wind speed control, power control, backlight control and timing control, etc. The mode control function module also includes automatic, cooling, heating, air supply, dehumidification and other functional units. The user can long press and drag the mode control function module to adjust its position in the remote control function interface, and long press and drag the cooling function unit to adjust its position in the mode control function module area.
[0049] In an optional implementation, the remote control function interface supports user customization of background images, icons and other elements, and also supports customization of icon colors. The user selects the icon color, which can be uploaded to the server via the color value, and then the corresponding color icon can be downloaded to enrich the scope of customization.
[0050] In an optional implementation, it supports adding commonly used custom remote controls to the desktop, so that users can quickly access commonly used functions without opening the application, and the widgets display information in a graphical manner.
[0051] In this embodiment, the user operates the function unit in the remote control function interface to adjust the remote control parameters. For example, the function unit is displayed in the form of a function button, and the user clicks or long presses the function button to adjust the remote control. The background receives the remote control parameters input by the user and sends the remote control parameters to the target device through the target communication protocol and the target interface adapter, which specifically includes the following steps.
[0052] Step 1: receiving remote control parameters input by a user from an interactive interface.
[0053] Get user input values from the user interface (such as buttons, sliders, drop-down menus, etc.). These input values represent the parameters that the user wants to set, such as temperature, brightness, mode, etc.
[0054] Step 2: According to the pre-built command mapping relationship, the remote control parameters input by the user are constructed into control commands that comply with the target communication protocol.
[0055] Step 2.1, build a control instruction framework according to the requirements of the target communication protocol.
[0056] First, according to the requirements of the target communication protocol, a control instruction framework is constructed, including fixed fields and parameter fields. Fixed fields usually include instruction type, device identifier (such as MAC address, serial number), timestamp, etc.
[0057] Step 2.2: fill the remote control parameters input by the user into the adaptation field in the control command according to the pre-built command mapping relationship.
[0058] The pre-built command mapping relationship refers to the fields corresponding to different types of remote control parameters. According to this mapping relationship, the remote control parameters input by the user are filled into the adaptation fields in the control command, for example, the "brightness" value input by the user is mapped to the "brightness" field in the control command.
[0059] It should be noted that if the unit entered by the user is different from the unit required by the control instruction, a unit conversion is required (such as from Celsius to Fahrenheit). Verify whether the value entered by the user is within the allowed range. If not, it may be necessary to adjust it to the nearest legal value or report an error.
[0060] Step 2.3, fill in the instruction type, device unique identifier, and timestamp in the corresponding fixed fields of the control instruction.
[0061] It can be understood that corresponding parameters need to be filled in the fixed fields of the control instructions.
[0062] Step 3: Encode the control instruction according to the format specified by the target communication protocol.
[0063] Encode and serialize the instruction data in the format specified by the protocol, including converting the data structure into a string, performing Base64 encoding, adding a checksum or signature, etc. to ensure the integrity and security of the data, and prepare for sending.
[0064] Step 4: Send the encoded control instruction to the target device through the target interface adapter.
[0065] Finally, the encoded control instruction is sent to the target device through the target interface adapter. It should be noted that in this embodiment, the remote control parameters are sent to the target device through the cloud server, and the feedback of the target device is received through the cloud server.
[0066] An embodiment of a method for customizing remote control of a household appliance is described in detail above. Based on the method for customizing remote control of a household appliance described in the above embodiment, an embodiment of the present invention further provides a system for customizing remote control of a household appliance corresponding to the method.
[0067] Figure 2 This is a schematic block diagram of the structure of a household appliance custom remote control system provided by an embodiment of the present invention. The household appliance custom remote control system 200 can be divided into multiple functional modules according to the functions it performs. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory.
[0068] Device information acquisition module 210: acquires device information configured by the user.
[0069] The protocol interface adapter module 220 matches the target communication protocol and the target interface adapter from the pre-configured protocol interface library according to the device information, and stores the device information, the target communication protocol and the target interface adapter locally.
[0070] Communication test module 230: sends a communication test instruction to the target device based on the target communication protocol and the target interface adapter.
[0071] The remote control function interface configuration module 240 provides the user with a remote control function configuration interface in response to the communication test pass information, and adjusts the remote control function interface of the target device according to the user's configuration operation.
[0072] The remote control parameter sending module 250 receives the remote control parameters input by the user and sends the remote control parameters to the target device through the target communication protocol and the target interface adapter.
[0073] The household appliance customized remote control system of this embodiment is used to implement the aforementioned household appliance customized remote control method. Therefore, the specific implementation method of the system can be seen in the embodiment part of the household appliance customized remote control method in the previous text. Therefore, its specific implementation method can refer to the description of the corresponding embodiments of each part, which will not be elaborated here.
[0074] In addition, since the household appliance customized remote control system of this embodiment is used to implement the aforementioned household appliance customized remote control method, its function corresponds to that of the aforementioned method and will not be described in detail here.
[0075] Figure 3A schematic diagram of the structure of a terminal 300 provided in an embodiment of the present invention includes: a processor 310, a memory 320 and a communication unit 330. The processor 310 is used to implement the following steps when implementing a household appliance custom remote control program stored in the memory 320: Get the device information configured by the user; Matching the target communication protocol and the target interface adapter from the pre-configured protocol interface library according to the device information, and storing the device information, the target communication protocol, and the target interface adapter locally; Sending a communication test instruction to a target device based on a target communication protocol and a target interface adapter; In response to the communication test passing information, a remote control function configuration interface is provided to the user, and the remote control function interface of the target device is adjusted according to the configuration operation of the user; Receive the remote control parameters input by the user, and send the remote control parameters to the target device through the target communication protocol and the target interface adapter.
[0076] The present invention also provides a computer storage medium, wherein the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0077] The computer storage medium stores a household appliance custom remote control program, and when the household appliance custom remote control program is executed by the processor, the following steps are implemented: Get the device information configured by the user; Matching the target communication protocol and the target interface adapter from the pre-configured protocol interface library according to the device information, and storing the device information, the target communication protocol, and the target interface adapter locally; Sending a communication test instruction to a target device based on a target communication protocol and a target interface adapter; In response to the communication test passing information, a remote control function configuration interface is provided to the user, and the remote control function interface of the target device is adjusted according to the configuration operation of the user; Receive the remote control parameters input by the user, and send the remote control parameters to the target device through the target communication protocol and the target interface adapter.
[0078] The above disclosure is only a preferred embodiment of the present invention, but the present invention is not limited thereto. Any non-creative changes that can be thought of by a person skilled in the art, as well as several improvements and modifications made without departing from the principle of the present invention, should fall within the protection scope of the present invention.
Claims
1. A method for customizing remote control of household appliances, characterized in that: The method runs on the Android system and includes the following steps: Get the device information configured by the user; Matching the target communication protocol and the target interface adapter from the pre-configured protocol interface library according to the device information, and storing the device information, the target communication protocol, and the target interface adapter locally; Sending a communication test instruction to a target device based on a target communication protocol and a target interface adapter; In response to the communication test passing information, a remote control function configuration interface is provided to the user, and the remote control function interface of the target device is adjusted according to the configuration operation of the user; Receive the remote control parameters input by the user, and send the remote control parameters to the target device through the target communication protocol and the target interface adapter.
2. The household appliance custom remote control method according to claim 1, characterized in that: Get the device information configured by the user, including: Get the device adding request through the device adding interface; Respond to device addition requests and display a list of device types on the interactive interface; Display a list of selectable device brands and models on the interactive interface based on the device type selected by the user; The user selects the device brand and model and fills in the device's unique identifier.
3. The household appliance custom remote control method according to claim 1, characterized in that: Sending a communication detection instruction to the target device based on the target communication protocol and the target interface adapter specifically includes: Display the test button on the interactive interface; Respond to the click request of the test button and retrieve the pre-stored test parameters; Converting the test parameters into communication test instructions in a target format according to the target communication protocol; transmitting the communication test instruction to the target device via the target interface adapter; Receive test feedback results from the target device and parse the feedback results through the target communication protocol; Check whether the parsing result meets expectations. If so, the communication test passes, otherwise it fails.
4. The household appliance custom remote control method according to claim 1, characterized in that: Adjust the remote control function interface of the target device according to the user's configuration operation, including: In response to a long press and drag operation on a function module, the function module is moved within the remote control function interface; In response to a long-press and drag operation on a functional unit in a functional module, the functional unit is moved within the functional module.
5. The household appliance custom remote control method according to claim 1, characterized in that: Receiving remote control parameters input by the user and sending the remote control parameters to the target device through the target communication protocol and the target interface adapter, specifically including: Receive remote control parameters input by the user from the interactive interface; According to the pre-built command mapping relationship, the remote control parameters input by the user are constructed into control commands that conform to the target communication protocol; Encode the control instructions according to the format specified by the target communication protocol; The encoded control instructions are sent to the target device through the target interface adapter.
6. The household appliance custom remote control method according to claim 5, characterized in that: According to the pre-built command mapping relationship, the remote control parameters input by the user are constructed into control commands that conform to the target communication protocol, including: Build a control instruction framework according to the requirements of the target communication protocol; According to the pre-built command mapping relationship, the remote control parameters input by the user are filled into the adaptation field in the control command; Fill in the instruction type, device unique identifier, and timestamp in the corresponding fixed fields of the control instruction.
7. The household appliance custom remote control method according to any one of claims 1, 5 and 6, characterized in that: Sending the remote control parameters to the target device specifically includes: sending the remote control parameters to the target device via the cloud server.
8. A household appliance custom remote control system, characterized in that: The system is implemented based on the method described in any one of claims 1 to 7, including: Device information acquisition module: obtains device information configured by the user; Protocol interface adapter module: matches the target communication protocol and target interface adapter from the pre-configured protocol interface library according to the device information, and stores the device information, target communication protocol and target interface adapter locally; Communication test module: sends communication test instructions to the target device based on the target communication protocol and the target interface adapter; Remote control function interface configuration module: in response to the communication test pass information, provide the user with a remote control function configuration interface, and adjust the remote control function interface of the target device according to the user's configuration operation; Remote control parameter sending module: receives the remote control parameters input by the user and sends the remote control parameters to the target device through the target communication protocol and the target interface adapter.
9. A terminal, characterized in that: include: A memory for storing a custom remote control program for household appliances; A processor is used to implement the steps of the household appliance custom remote control method as claimed in any one of claims 1 to 7 when executing the household appliance custom remote control program.
10. A computer-readable storage medium, characterized in that: The readable storage medium stores a household appliance custom remote control program, and when the household appliance custom remote control program is executed by the processor, the steps of the household appliance custom remote control method according to any one of claims 1 to 7 are implemented.