Intelligent household electrical appliance binding method and device
By splitting smart home appliances into TV function modules and home appliance function modules and generating a unique module identifier for each module, the problem that TV functions and home appliance functions cannot be independently bound in smart home appliance remote control is solved, and the effect of independent remote control is achieved.
Patent Information
- Application Number
- CN202510873447.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-26
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2045-06-26
AI Technical Summary
During the remote control process of existing smart home appliances, the TV functions and home appliance functions cannot be independently bound and controlled, resulting in the inability to independently remotely control them.
By logically splitting smart home appliances into TV functional modules and home appliance functional modules and generating a unique module identifier for each module, independent binding and control of different functional modules can be achieved.
It realizes independent remote control of the TV function and home appliance functions of smart home appliances, improving the flexibility and efficiency of control.
Smart Images

Figure CN120640061A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart home appliances, and in particular to a method and device for binding smart home appliances. Background Art
[0002] With advancements in home appliance manufacturing technology, smart appliances are becoming increasingly intelligent and feature-rich. For example, some smart appliances (such as smart refrigerators, smart range hoods, and smart microwave ovens) now have television functions, allowing users to watch movies and TV shows while using the smart appliance.
[0003] Furthermore, when remotely controlling a smart appliance, the terminal device must be bound to the smart appliance. However, due to cost considerations, smart appliances typically only have one Internet module. During the binding process, the terminal device is typically bound to the smart appliance as a whole, making it impossible to independently control the TV function and the appliance functions of the smart appliance. Summary of the Invention
[0004] In order to solve the above problems, the embodiments of the present application provide a method and device for binding smart appliances to achieve independent binding of different functional modules of the smart appliances.
[0005] A first aspect of an embodiment of the present application provides a method for binding a smart appliance, which is applied to a terminal device and includes:
[0006] Querying target device information of a target device in pre-stored device information, wherein the pre-stored device information includes device information of at least one smart home appliance supporting a television function;
[0007] If the pre-stored device information includes the target device information, determining the binding status of the target functional module by using the target device information and a bound module identifier of the terminal device, wherein the target functional module is at least one of a television functional module and a home appliance functional module of the target device, and the bound module identifier is an identifier of a bound functional module of the terminal device, and the bound module identifier is determined based on device information of a bound smart home appliance corresponding to the bound functional module;
[0008] When the binding status is that the terminal device is not bound to the target functional module, displaying a page to be bound of the target functional module;
[0009] In response to a binding operation on the to-be-bound page, generating a module identifier of the target functional module based on the target device information, wherein, when the target functional modules are a television functional module and a home appliance functional module of the target device, the module identifiers of the television functional module and the home appliance functional module are different;
[0010] The binding relationship between the target functional module and the module identifier of the target functional module is saved.
[0011] Through the solution provided in the embodiment of the present application, the terminal device can determine the type of the target device based on the device information of the target device. If the type of the target device is a smart home appliance that supports TV functions, the target device information and the bound module identifier of the terminal device can be used to determine whether the functional module in the target device is bound, and for the unbound function, a corresponding module identifier is generated for the functional module, and the binding of the functional module is achieved through the module identifier, so that independent binding can be achieved for different functional modules of the smart home appliance.
[0012] In another aspect of the embodiment of the present application, after saving the binding relationship between the target functional module and the module identifier of the target functional module, the method further includes:
[0013] Displaying a target control page for the target functional module, the target control page including control options corresponding to the target functional module;
[0014] In response to a touch operation on a control option corresponding to the target functional module, generating a control instruction including a module identifier of the target functional module;
[0015] The target functional module is controlled by the control instruction.
[0016] Through the above solution, the terminal device can achieve independent control of the target functional module based on the module identifier of the target functional module generated during the binding process.
[0017] In another aspect of the embodiment of the present application, querying the target device information of the target device in the pre-stored device information includes:
[0018] In a case where the target device information includes a unique identification code of any functional module in the target device, obtaining a device information set reported by the target device during a process of searching for controllable devices of the terminal device;
[0019] extracting the unique identification code from the device information set based on a field position of the unique identification code in the device information set;
[0020] The intercepted unique identification code is searched in the pre-stored device information.
[0021] Through the above solution, the pre-stored device information can be queried based on the unique identification code included in the target device information, so as to determine whether the target device is a smart home appliance that supports the TV function according to the query result.
[0022] In another aspect of the embodiment of the present application, determining the binding status of the target functional module by using the target device information and the bound module identifier of the terminal device includes:
[0023] In a case where the bound module identifier includes a first identifier, comparing the target device information with the first identifier, wherein the first identifier includes a unique identification code of any functional module in the bound smart home appliance, and the target device information includes a unique identification code of any functional module in the target device;
[0024] In a case where the target device information and the first identifier do not match, it is determined that the binding status of the target functional module is that the terminal device is not bound to the target functional module.
[0025] Through the above solution, it is possible to determine whether the terminal device is bound to the target functional module based on the unique identification code included in the bound module identifier.
[0026] In another aspect of the embodiment of the present application, determining the binding status of the target functional module by using the target device information and the bound module identifier of the terminal device includes:
[0027] In a case where the bound module identifier includes a second identifier, comparing a character string including the target device information and preset characters with the second identifier, where the second identifier is a combination of the first identifier and the preset characters, and the first identifier includes a unique identification code of any functional module in the bound smart home appliance;
[0028] If the character string matches the second identifier and the role code pre-assigned to the bound module indicates that the bound module is a single functional module, determining the binding state of the target functional module as the terminal device being bound to the target functional module;
[0029] When the string does not match the second identifier, or when the string matches the second identifier and the role code indicates that the bound module is a whole-machine functional module, it is determined that the binding status of the target functional module is that the terminal device is not bound to the target functional module.
[0030] Through the above solution, it is possible to determine whether the terminal device is bound to the target functional module based on the unique identification code included in the bound module identification and the role code pre-assigned to the bound module.
[0031] In another aspect of the embodiment of the present application, in response to the binding operation on the to-be-bound page, generating the module identifier of the target functional module based on the target device information includes:
[0032] generating a third identifier for a first target functional module among the target functional modules based on a unique identification code of any functional module in the target device, wherein the third identifier includes the unique identification code, and the module identifier of the first target functional module includes the third identifier;
[0033] Alternatively, based on the unique identification code of any functional module in the target device, a fourth identification is generated for the second target functional module in the target functional modules, the fourth identification includes the unique identification code and the preset character, and the module identification of the second target functional module includes the fourth identification.
[0034] Through the above solution, the module identification of the target functional module can be generated based on the target device information, so that the target functional module can be bound according to the module identification.
[0035] In another aspect of the embodiment of the present application, in response to the binding operation on the to-be-bound page, generating the module identifier of the target functional module based on the target device information includes:
[0036] In response to a binding operation on the to-be-bound page, sending a query request for a binding status of the target functional module to a first server, where the first server is a server corresponding to an application installed in the terminal device for controlling the smart home appliance;
[0037] When the first server's feedback to the query request is that the target functional module is not bound to other terminal devices, a module identifier of the target functional module is generated based on the target device information.
[0038] Through the above solution, the terminal device can generate a module identifier of the target functional module when receiving a binding operation for a page to be bound and the target functional module has not been bound by other terminal devices.
[0039] In another aspect of the embodiment of the present application, in response to the binding operation on the to-be-bound page, generating the module identifier of the target functional module based on the target device information includes:
[0040] In response to a binding operation on the to-be-bound page, sending a query request for a binding status of the target functional module to a first server, where the first server is a server corresponding to an application installed in the terminal device for controlling the smart home appliance;
[0041] If the first server's feedback to the query request is that the target functional module has been bound to other terminal devices, displaying information of administrators corresponding to the other terminal devices and a menu to be selected;
[0042] In response to a touch operation on a first menu to be selected among the menus to be selected, requesting the first server for a module identifier of the other terminal device for binding the target functional module, the first menu to be selected being used to instruct the target functional module to join a device group managed by the administrator;
[0043] Alternatively, in response to a touch operation on a second menu to be selected among the menus to be selected, transmitting a service request including the target device information to the first server, wherein the second menu to be selected is used to instruct the target functional module not to join the device group managed by the administrator;
[0044] In response to the operation prompt provided by the first server, after releasing the binding of the other terminal device to the target functional module, a module identifier of the target functional module is generated based on the target device information.
[0045] Through the above solution, the terminal device can use the module identifier of the target function bound by other terminal devices when the target function module is bound by other terminal devices, or generate the module identifier of the target function module after releasing the binding relationship with other terminal devices.
[0046] In another aspect of the embodiment of the present application, controlling the target functional module by using the control instruction includes:
[0047] transmitting the control instruction including the module identifier of the target functional module to a second server, wherein the second server stores the binding relationship;
[0048] The control instruction is transmitted to the target functional module indicated by the module identifier through the second server based on the binding relationship.
[0049] A second aspect of an embodiment of the present application provides a binding device for a smart home appliance, including:
[0050] monitor;
[0051] a controller coupled to the display and configured to:
[0052] Querying target device information of a target device in pre-stored device information, wherein the pre-stored device information includes device information of at least one smart home appliance supporting a television function;
[0053] If the pre-stored device information includes the target device information, determining the binding status of the target functional module by using the target device information and a bound module identifier of the terminal device, wherein the target functional module is at least one of a television functional module and a home appliance functional module of the target device, and the bound module identifier is an identifier of a bound functional module of the terminal device, and the bound module identifier is determined based on device information of a bound smart home appliance corresponding to the bound functional module;
[0054] When the binding status is that the terminal device is not bound to the target functional module, controlling the display to display a page to be bound of the target functional module;
[0055] In response to a binding operation on the to-be-bound page, generating a module identifier of the target functional module based on the target device information, wherein, when the target functional modules are a television functional module and a home appliance functional module of the target device, the module identifiers of the television functional module and the home appliance functional module are different;
[0056] The binding relationship between the target functional module and the module identifier of the target functional module is saved.
[0057] Through the solution provided by the embodiment of the present application, after obtaining the device information of a target device, the terminal device can determine the type of the target device based on the device information and the pre-stored device information. If the type of the target device is a smart home appliance that supports TV functions, the target device information and the bound module identifier of the terminal device can be used to determine whether the functional module in the target device is bound. If not, a corresponding module identifier is generated for the functional module in the target device based on the device information of the target device, and the functional module is bound through the module identifier, so that independent binding can be achieved for different functional modules of the smart home appliance based on the module identifier of the functional module. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 is a schematic diagram of a workflow of a method for binding smart home appliances according to some exemplary embodiments;
[0059] FIG2( a ) is a schematic diagram of an interface of a terminal device according to some exemplary embodiments;
[0060] FIG2( b ) is a schematic diagram of an interface of another terminal device according to some exemplary embodiments;
[0061] FIG2( c ) is a schematic diagram of an interface of another terminal device according to some exemplary embodiments;
[0062] Figure 3is a schematic diagram of a workflow of another smart home appliance binding method according to some exemplary embodiments;
[0063] Figure 4 is a schematic diagram of a workflow of another smart home appliance binding method according to some exemplary embodiments;
[0064] FIG5( a ) is a schematic diagram of an interface of another terminal device according to some exemplary embodiments;
[0065] FIG5( b ) is a schematic diagram of an interface of another terminal device according to some exemplary embodiments;
[0066] FIG5( c ) is a schematic diagram of an interface of another terminal device according to some exemplary embodiments;
[0067] FIG6( a ) is a schematic diagram of an interface of another terminal device according to some exemplary embodiments;
[0068] FIG6( b ) is a schematic diagram of an interface of another terminal device according to some exemplary embodiments;
[0069] FIG6( c ) is a schematic diagram of an interface of another terminal device according to some exemplary embodiments;
[0070] Figure 7 is a schematic diagram of a workflow of another smart home appliance binding method according to some exemplary embodiments;
[0071] Figure 8 is a schematic diagram of a workflow of another smart home appliance binding method according to some exemplary embodiments;
[0072] Figure 9 is a schematic diagram of a workflow of another smart home appliance binding method according to some exemplary embodiments;
[0073] Figure 10 is a schematic diagram of a workflow of another smart home appliance binding method according to some exemplary embodiments;
[0074] FIG11( a ) is a schematic diagram of an interface of another terminal device according to some exemplary embodiments;
[0075] FIG11( b ) is a schematic diagram of an interface of another terminal device according to some exemplary embodiments;
[0076] Figure 12 is a schematic diagram of a workflow of another smart home appliance binding method according to some exemplary embodiments;
[0077] Figure 13is a schematic diagram of a workflow of another smart home appliance binding method according to some exemplary embodiments;
[0078] Figure 14 is a schematic diagram of a workflow of another smart home appliance binding method according to some exemplary embodiments;
[0079] Figure 15 The figure is a schematic diagram of an interaction process between a terminal device and a first server according to some exemplary embodiments. DETAILED DESCRIPTION
[0080] The following embodiments are described in detail, with examples illustrated in the accompanying drawings. When the following description refers to the drawings, identical numbers in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following embodiments are not intended to represent all possible implementations consistent with the present application. They are merely examples of systems and methods consistent with certain aspects of the present application, as detailed in the claims.
[0081] It should be noted that the brief descriptions of terms in this application are only for the purpose of facilitating the understanding of the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and usual meanings.
[0082] In the specification and claims of this application and the accompanying drawings, the terms "first," "second," "third," etc. are used to distinguish similar or similar objects or entities, and are not necessarily intended to limit a particular order or sequence, unless otherwise noted. It should be understood that the terms used in this manner are interchangeable under appropriate circumstances.
[0083] The terms "comprise," "include," and "have," and any variations thereof, are intended to cover but not exclude inclusion; for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0084] With the advancement of home appliance manufacturing technology, smart home appliances equipped with television functions have emerged. When using this type of smart home appliance, users can not only use the functions of the home appliance, but also watch movies and TV programs through the television function.
[0085] For example, smart home appliances may include white appliances. White appliances, short for white appliances, typically refer to appliances with a white or light-colored appearance. These appliances are primarily used in daily household life and provide various conveniences. Refrigerators, range hoods, microwave ovens, and the like are all examples of white appliances. When using a white appliance equipped with a TV function, users can use the function while watching movies or TV programs. These white appliances with a TV function are also called white appliances with screens.
[0086] When controlling smart home appliances that are not equipped with TV functions, a remote control method can be used. Remote control is a method of controlling home appliances through a remote terminal device (such as a computer and a mobile phone). In this remote control method, the terminal device first searches for home appliances that belong to the same local area network as itself, and the home appliances can report their own device information to the terminal device based on their own Internet modules (such as Bluetooth modules, Wireless Fidelity (wifi) modules, etc.), and the terminal device binds the home appliances based on the device information; then, after the binding is completed, if the user's touch operation is received, the terminal device can generate a control instruction for the home appliance based on the device information of the home appliance, and transmit the control instruction to the home appliance; after the home appliance receives the control instruction, it executes the operation corresponding to the control instruction, thereby realizing remote control of the home appliance by the terminal device.
[0087] For smart home appliances that support TV functions, cost considerations typically only include one Internet module. For example, if the TV function of the smart home appliance already has an Internet module, then no Internet module is required for the home appliance function. In this case, when the terminal device searches for devices on its local area network, it typically identifies the smart home appliance as a local area network device and binds it to the smart home appliance using its device information. This binding method makes it impossible to remotely control the TV function and the home appliance function independently.
[0088] In this case, it is usually necessary to abandon remote control of one of the functions. For example, in real-world scenarios, the TV function of a smart home appliance is usually controlled only through local control, not remote control. However, the home appliance functions of the smart home appliance can be controlled remotely.
[0089] In order to solve the above problems, the embodiments of the present application provide a binding method and device for smart home appliances, so that through the binding method, independent remote control of the television function and the home appliance function in the smart home appliance can be achieved.
[0090] To facilitate understanding, the basic concepts of some terms involved in the embodiments of the present invention are first briefly introduced and explained.
[0091] DLNA (Digital Living Network Alliance) discovery refers to the process by which DLNA-enabled devices (i.e., DLNA devices) recognize and find each other within a local area network (LAN). Once connected to a LAN, a DLNA-enabled terminal device can use DLNA discovery to search for other DLNA devices on the same LAN. Other DLNA devices will then proactively report their device information to the terminal device, allowing it to obtain that information.
[0092] Feature code: As a device that supports the DLNA protocol, smart home appliances can report their own information set to the terminal device during the DLNA discovery phase, which may include the feature code (i.e., feature Code) of the TV function module. This feature code can be a unique code used to identify a specific function of the TV. The feature codes of different TV function modules are usually different.
[0093] An embodiment of the present application provides a method and device for binding smart home appliances. The method can be applied to a terminal device used to remotely control the smart home appliances.
[0094] The purpose of the solution provided in the embodiment of the present application is to achieve separate binding of the home appliance functions and the television functions of the smart home appliance, and to achieve decoupling of the home appliance functions and the television functions so that these two functions can be independently remotely controlled.
[0095] The solution provided in the embodiment of the present application uses virtualization processing to logically split the smart home appliance into a TV function module and a home appliance function module. The TV function module refers to the function module in the smart home appliance that can perform TV functions, and the home appliance function module refers to the function module in the smart home appliance that can perform home appliance functions. That is, the TV function module and the home appliance function module are both function modules of the smart home appliance. In addition, the entire smart home appliance can be virtualized into a complete function module.
[0096] For example, the smart home appliance could be a refrigerator with a screen. This refrigerator not only functions as a refrigerator but also plays video and audio programs on its own screen, acting as a television. In this case, the refrigerator with a screen can be logically split into a television function module and a home appliance function module.
[0097] Alternatively, the smart home appliance may be a range hood with a screen, which can function as a range hood and also as a television through its own screen. In this case, the range hood with a screen can be logically split into a television function module and a home appliance function module.
[0098] Of course, the smart home appliance may also be other smart home appliances that support television functions, and this application does not limit this.
[0099] If a terminal device is not bound to a functional module of a smart home appliance, it can typically only obtain the device information of the smart home appliance. For example, the terminal device can discover the smart home appliance through DLNA or scan the product code attached to the smart home appliance's exterior to obtain the device information of the smart home appliance. Therefore, during the binding process, the terminal device can generate a module identifier for the functional module included in the smart home appliance based on the device information of the smart home appliance. In addition, to distinguish different functional modules included in the same smart home appliance, the module identifiers of different functional modules are different. After generating the module identifier, the terminal device can store the binding relationship between the module identifier and the functional module to achieve binding of the functional module.
[0100] In addition, if the terminal device is bound to a certain functional module, the module identifier of the functional module can be called a bound module identifier. Accordingly, the bound module identifier is determined based on the device information of the bound smart home appliance corresponding to the bound functional module.
[0101] That is, in the solution provided in the embodiments of the present application, a corresponding module identifier can be generated for a functional module of a smart home appliance based on the device information of the smart home appliance. After the functional module is bound to the terminal device, the functional module can be referred to as a bound module, and the identifier of the functional module can be referred to as a bound module identifier. In other words, regardless of whether the functional module is bound or not, the module identifier of the functional module is determined based on the device information of the smart home appliance to which the functional module belongs.
[0102] In this case, in an embodiment of the present application, after obtaining the device information of a smart home appliance, the terminal device can determine whether the functional module in the smart home appliance is bound based on the device information and the bound module identifier of the terminal device. If not, a corresponding module identifier is generated for the functional module in the smart home appliance based on the device information of the smart home appliance, and the functional module is bound through the module identifier, so that different functional modules of the smart home appliance can be independently bound according to the module identifier of the functional module.
[0103] In addition, in the embodiment of the present application, each functional module of the smart home appliance can also be regarded as a virtualized device. In this case, the module identifier of each functional module can be called the virtual device identifier of the functional module (i.e., virtual deviceId).
[0104] In some embodiments of the present application, the device information of a smart home appliance that supports a TV function includes a feature code of a TV function module. In this case, the module identifier of the TV function module of the smart home appliance can be set to the feature code. In addition, in order to distinguish it from the TV function module, the module identifier of the TV function module of the smart home appliance can be set to a combination of the feature code and a preset character, or the module identifier of the TV function module can be set to a combination of the feature code, a preset character, and the serial number (sn) of the smart home appliance. The preset character can be "+", "_", or "-", etc.
[0105] For example, if the feature code of the TV function module of a smart home appliance is "861003000001001000000072" and the serial number is "lb041500201j00987651111", then the module identifier of the TV function module of the smart home appliance can be set to "861003000001001000000072", and the module identifier of the home appliance function module can be set to "861003000001001000000072_lb041500201j00987651111".
[0106] In other embodiments of the present application, the device information of a smart home appliance supporting a television function includes a feature code of a television function module. In this case, the module identifier of the television function module of the smart home appliance can be set to the combination of the feature code and the MAC address of the smart home appliance. In addition, to distinguish it from the television function module, the module identifier of the television function module of the smart home appliance can be set to the combination of the feature code, the MAC address, and a preset character.
[0107] For example, if the feature code of the TV function module of a smart home appliance is "861003000001001000000072", the MAC address is "fbae4ef3", and the serial number is "lb041500201j00987651111", then the module identifier of the TV function module of the smart home appliance can be set to "861003000001001000000072fbae4ef3", and the module identifier of the home appliance function module can be set to "861003000001001000000072fbae4ef3_lb041500201j00987651111".
[0108] Of course, in other embodiments, the device information of the smart home appliance that supports the TV function includes the feature code of the home appliance function module. In this case, corresponding feature codes can also be set for the TV function module and the home appliance function module of the smart home appliance based on the feature code of the home appliance function module.
[0109] Furthermore, if the entire smart home appliance is virtualized into a complete functional module, a module identifier can be set for the complete functional module. The module identifier of the complete functional module can be "module identifier of any functional module + preset characters + module identifier of any functional module." For example, if the module identifier of the TV functional module of the smart home appliance is "861003000001001000000072fbae4ef3" and the preset characters are "_," the module identifier of the complete functional module can be "861003000001001000000072fbae4ef3_861003000001001000000072fbae4ef3."
[0110] If the entire smart home appliance is virtualized into a complete functional module, role codes (i.e., meshRole) can be set for each functional module to better distinguish the various functional modules. For example, the home appliance functional module and the TV functional module can be given a role code (e.g., 2) to indicate that they are individual functional modules, while the complete functional module can be given a role code (e.g., 1) to indicate that it is a complete functional module.
[0111] After generating a module identifier for a functional module in the smart home appliance, if the terminal device needs to control the functional module, it can generate a control instruction that includes the module identifier of the functional module. Because different functional modules in the same smart home appliance have different module identifiers, the module identifier can be used to distinguish between different functional modules in the same smart home appliance. In this case, the terminal device can transmit the control instruction to the corresponding functional module, so that the functional module executes the operation corresponding to the control instruction, thereby achieving independent remote control of the functional module.
[0112] Therefore, through the solution provided in the embodiment of the present application, it is possible to decouple different functions of smart home appliances and independently bind different functional modules of smart home appliances.
[0113] Furthermore, through the solution of the embodiments of the present application, different functions of smart home appliances can be independently remotely controlled.
[0114] The solutions provided by the embodiments of this application are introduced below through various embodiments.
[0115] See also Figure 1 In an embodiment of the present application, a method for binding a smart appliance includes the following steps:
[0116] Step S100: Query target device information of a target device in pre-stored device information, where the pre-stored device information includes device information of at least one smart home appliance supporting a television function.
[0117] In the embodiment of the present application, for a known smart home appliance that supports a TV function, the device information of the smart home appliance can be obtained in advance and pre-stored device information can be generated based on the information. The pre-stored device information can be stored in the terminal device or in a cloud server.
[0118] If the pre-stored device information is stored in a cloud server, the terminal device may obtain the pre-stored device information by sending a request message to the cloud server.
[0119] In addition, the terminal device may request the pre-stored device information from the cloud server each time it is started; or, if the terminal device controls smart home appliances through a pre-installed remote control application, the terminal device may request the pre-stored device information from the cloud server each time the remote control application is started. Furthermore, after requesting the pre-stored device information, the terminal device may cache it in its own storage space for subsequent use.
[0120] Step S200: If the pre-stored device information includes target device information, determine the binding status of the target functional module through the target device information and the bound module identifier of the terminal device.
[0121] The target functional module is at least one of a television functional module and a home appliance functional module of the target device, that is, the target functional module is a television functional module, or a home appliance functional module, or a television functional module and a home appliance functional module.
[0122] In addition, the bound module identifier includes information about the functional module bound to the terminal device, and the bound module identifier is determined based on device information of the bound smart home appliance corresponding to the bound functional module.
[0123] When the terminal device controls the smart home appliance through a pre-installed remote control application, the bound module identifier may be stored in the server of the remote control application. In this case, the terminal device may obtain the bound module identifier by sending a corresponding request message to the server.
[0124] Since the pre-stored device information includes the device information of smart home appliances that support TV functions, if the query result indicates that the pre-stored device information includes the target device information, it means that the target device is a smart home appliance that supports TV functions and can realize both home appliance functions and TV functions. In this case, the embodiment of the present application uses virtualization processing to split the smart home appliance into two functional modules: a TV functional module and a home appliance functional module.
[0125] In addition, in an embodiment of the present application, if at least one functional module included in a smart home appliance has been bound to a terminal device, the smart home appliance can be called a bound smart home appliance, the functional module can be called a bound functional module, and the server of the remote control application can pre-store the identifier of the bound functional module (i.e., the bound module identifier).
[0126] Among them, the bound module identifier is determined based on the device information of the bound smart appliance corresponding to the bound functional module. In this case, the binding status of the target functional module can be determined through the target device information and the bound module identifier. The binding status of the target functional module is that the terminal device is bound to the target functional module, or that the terminal device is not bound to the target functional module.
[0127] Step S300: When the binding status is that the terminal device is not bound to the target functional module, a page to be bound of the target functional module is displayed.
[0128] Smart home appliances that support TV functions include two functional modules: a TV functional module and a home appliance functional module. Therefore, there may be the following situations: (1) the TV functional module is not bound, but the home appliance functional module is bound. In this case, the target functional module is the TV functional module; (2) the home appliance functional module is not bound, but the TV functional module is bound. In this case, the target functional module is the home appliance functional module; (3) neither the TV functional module nor the home appliance functional module is bound. In this case, the target functional modules include the TV functional module and the home appliance functional module.
[0129] The page to be bound may display the touch interface corresponding to the target functional module, or may display the touch interfaces corresponding to the target functional module and the whole machine functional module at the same time.
[0130] In addition, for the above-mentioned situations (1) and (2), if only one target functional module is not bound, the touch interface of the target functional module and the touch interface of the whole machine functional module can be the same touch interface. After receiving the operation on the touch interface, the corresponding binding operation is performed on this target functional module.
[0131] For the above situation (3), there are two target function modules that have not been bound, then the page to be bound may include a touch interface for each target function module, and a touch interface for the whole machine function module. In this case, if an operation on the touch interface for one of the target function modules is received, the corresponding binding operation is performed on this target function module. If a touch selection operation for the whole machine function module is received, the corresponding binding operation can be performed on both target function modules.
[0132] Furthermore, the binding page may also display part or all of the Media Access Control Address (MAC) of the target device when displaying the touch interface corresponding to the functional module of the whole device.
[0133] In response to the above situations, the following provides several example diagrams of pages to be bound.
[0134] Among them, the example diagram of Figure 2(a) is for the above-mentioned situation (1), wherein the area circled by the rectangular frame includes the touch interface of the whole machine function module and the target function module, the touch interface is the area where "Add" is displayed, the whole machine function module is the "refrigerator with screen (4ef3)" displayed therein, indicating that the smart home appliance is a refrigerator with screen, and the last four digits of the MAC address of the refrigerator with screen are "4ef3", and the target function module is the "refrigerator screen" displayed therein, indicating that the TV function module of the smart home appliance is not bound, and the terminal device can bind the TV function module after receiving the operation on the touch interface.
[0135] The example diagram of Figure 2(b) is for the above-mentioned situation (2), in which the area circled by the rectangular frame includes the touch interface of the whole machine function module and the target function module. The target function module is the "refrigerator" displayed therein, indicating that the home appliance function module of the smart home appliance has not been bound. The terminal device can bind the home appliance function module after receiving the operation on the touch interface.
[0136] The example diagram of Figure 2(c) is for the above-mentioned situation (2). The area enclosed by the rectangular frame includes the touch interface of the whole machine function module and the target function module. The target function module includes the TV function module and the home appliance function module, and the binding page displays a touch interface for each target function module. Among them, the touch interface for the TV function module is the area where "only add refrigerator screen" is displayed. After receiving the operation on this touch interface, the terminal device can perform the binding operation on the TV function module of the refrigerator with screen; the touch interface for the home appliance function module is the area where "only add refrigerator" is displayed. After receiving the operation on this touch interface, the terminal device can perform the binding operation on the home appliance function module of the refrigerator with screen; the touch interface for the whole machine function module is the area where "add" is displayed. After receiving the operation on this touch interface, the terminal device can perform the binding operation on the home appliance function module and the TV function module.
[0137] Through the page to be bound, the user can determine which target function modules are not bound. In addition, if the user wants to bind the target function module, he can touch the touch interface corresponding to the target function module. The touch operation on the touch interface corresponding to the target function module will trigger the terminal device to perform the binding operation on the target module. Therefore, it can also be called a binding operation.
[0138] Step S400: In response to a binding operation on a page to be bound, a module identifier of a target functional module is generated based on target device information.
[0139] In which case, when the target functional module is a television functional module and a home appliance functional module of the target device, the module identifiers of the television functional module and the home appliance functional module are different, so that different functional modules can be distinguished through the module identifiers.
[0140] Step S500: Save the binding relationship between the target functional module and the module identifier of the target functional module.
[0141] The binding relationship may be stored in the terminal device, or the terminal device may transmit the binding relationship to a cloud server, which then stores the binding relationship.
[0142] Through the solution provided by the embodiment of the present application, after obtaining the device information of a target device, the terminal device can determine the type of the target device based on the device information and the pre-stored device information. If the type of the target device is a smart home appliance that supports TV functions, the target device information and the bound module identifier of the terminal device can be used to determine whether the functional module in the target device is bound. If not, a corresponding module identifier is generated for the functional module in the target device based on the device information of the target device, and the functional module is bound through the module identifier, so that independent binding can be achieved for different functional modules of the smart home appliance based on the module identifier of the functional module.
[0143] In another embodiment of the present application, see Figure 3 After executing step S500, the following steps are further included:
[0144] Step S600: Display a target control page for a target functional module.
[0145] The target control page includes control options corresponding to the target function module.
[0146] See also Figure 4 , this embodiment can realize the display of the target control page by the following methods:
[0147] Step S610: Display a main control page for the target device, where the main control page includes a main control interface of a target functional module in the target device bound to the terminal device.
[0148] The main control interface of the television function module may include at least one touch option for the television function, and the main control interface of the home appliance function module may include at least one touch option for the home appliance function.
[0149] If the terminal device is bound to the home appliance function module and the TV function module of the target device, in some embodiments, the main control interface may be as shown in Figure 5(a), wherein position ① in the main control interface displays a picture of the target device; position ② displays the name of the target device (i.e., "Refrigerator 3"); position ③ displays the common status of the home appliance function of the target device. For example, when the target device is a refrigerator, the common status may include the temperatures of the refrigerator compartment, temperature-changing chamber, and freezer compartment of the refrigerator respectively; position ④ displays the main control interface of the TV function module, including three touch options: "Remote Control", "Viewing History", and "Search for Movies and TV Shows"; position ⑤ displays the main control interface of the home appliance function module, including two touch options: "AI Temperature Control" and "Ingredient Management".
[0150] If the terminal device is bound to the home appliance function module of the target device, in some embodiments, the main control interface may be as shown in Figure 5(b), wherein position ① in the main control interface displays a picture of the target device; position ② displays the name of the target device (i.e., "Refrigerator 3"); position ③ displays the common status of the home appliance function of the target device. For example, when the target device is a refrigerator, the common status may include the temperatures of the refrigerator's refrigerator compartment, variable temperature chamber, and freezer compartment respectively; position ④ displays the main control interface of the home appliance function module, including two touch options: "AI temperature control" and "ingredient management".
[0151] If the terminal device is bound to the TV function module of the target device, in some embodiments, the main control interface may be as shown in Figure 5(c), wherein position ① in the main control interface displays a picture of the target device; position ② displays the name of the target device (i.e., "Refrigerator 3"); position ③ displays the common status of the home appliance function of the target device. For example, when the target device is a refrigerator, the common status may include the temperatures of the refrigerator's refrigerator compartment, variable temperature chamber, and freezer compartment respectively; position ④ displays the main control interface of the TV function module, including three touch options: "Remote Control", "Viewing History", and "Search for Movies and TV".
[0152] Step S620: In response to the operation on the main control interface of the target functional module, a target control page for the target functional module is displayed.
[0153] After receiving an operation on the main control interface of the target functional module, the target control page can be jumped and displayed.
[0154] If an operation is received on the main control interface of the TV function module, in some embodiments, the target control page may be as shown in Figure 6(a), where Figure 6(a) includes multiple operable options for the TV function module, such as "remote control", "remote monitoring" and "TV screen projection".
[0155] If an operation is received on the main control interface of the home appliance function module, in some embodiments, the target control page may be as shown in Figure 6(b), wherein Figure 6(b) includes multiple operable options for the home appliance function module, such as "AI temperature control", "intelligent cooling" and "operation detection".
[0156] Furthermore, in an embodiment of the present application, if the terminal device is bound to two target function modules of the target device, after displaying the target control page of one of the target function modules, it can also receive a sliding operation on the target control page, and the terminal device can respond to the sliding operation and display the target control page of the other target function module.
[0157] For example, after the terminal device is bound to the TV function module and the home appliance function module at the same time, if it receives an operation on the main control interface of the TV function module, the terminal device displays the target control page shown in Figure 6(a). After receiving a sliding operation, the terminal device will display the target control page shown in Figure 6(b).
[0158] In addition, if the terminal device is bound to a target function module of the target device, after displaying the target control page of one of the target function modules, it can also receive a sliding operation on the target control page. The terminal device can respond to the sliding operation and display the addition page of another function module of the target device. The addition page may include an addition option for adding another function module.
[0159] Furthermore, after receiving the operation for adding the option, the terminal device may generate a module identifier for another functional module of the target device based on the device information of the target device, thereby implementing binding to another functional module.
[0160] For example, the terminal device is only bound to the TV function module. After displaying the target control page of the TV function module, if a sliding operation is received, the terminal device will display the add page shown in Figure 6(c), which displays an add option for the home appliance function module. After receiving the operation for the add option, the terminal device can generate a module identifier for the home appliance function module based on the device information of the target device.
[0161] Step S700 : In response to a touch operation on a control option corresponding to a target functional module, a control instruction including a module identifier of the target functional module is generated.
[0162] Step S800: Control the target functional module through control instructions.
[0163] Through the operation of the embodiments of the present application, the terminal device can achieve independent control of the target functional module based on the module identifier of the target functional module generated during the binding process.
[0164] In another embodiment, see Figure 7 , the operation of step S800 can be implemented in the following manner:
[0165] Step S810: Transmit the control instruction including the module identifier of the target functional module to the second server, which stores the binding relationship between the target functional module and the module identifier of the target functional module.
[0166] The terminal device may transmit the binding relationship to the second server after determining the binding relationship. Alternatively, the terminal device may notify the second server after determining that the target functional module is not bound, and the second server generates and stores the binding relationship based on the device information of the target device.
[0167] Step S820: The second server transmits a control instruction to the target functional module indicated by the module identifier based on the binding relationship.
[0168] After receiving the control instruction, the target functional module may execute the operation indicated by the control instruction, thereby realizing control over the target functional module.
[0169] In another embodiment of the present application, the target device information may include a unique identification code of any functional module in the target device. In this case, see Figure 8 , the operation of step S100 can be implemented in the following manner:
[0170] Step S110: When the target device information includes a unique identification code of any functional module in the target device, in the process of searching for controllable devices of the terminal device, a device information set reported by the target device is obtained.
[0171] Among them, the terminal device can search for controllable devices of the terminal device during the DLNA discovery phase. In addition, during the DLNA discovery phase, the target device can report its own device information set, so that the terminal device can obtain the device information set of the target device.
[0172] The device information set generally includes various information of the target device, such as a feature code (ie, featureCode) and a MAC address of a functional module.
[0173] If the target device is a smart home appliance that supports TV function, the TV function module of the smart home appliance will report its own feature code and MAC address during the DLNA discovery phase. The feature code is usually 24 bits and the MAC address is 8 bits. The TV function module usually combines the feature code and MAC address into a 32-bit string and reports the 32-bit string to the terminal device. The string can also be called the device identifier of the TV function module (i.e., deviceId).
[0174] For example, if the device identifier reported by a TV function module is 861003000001001000000072fbae4ef3, the feature code featureCode is 861003000001001000000072, and the last 8 digits of the MAC address are fbae4ef3.
[0175] In this case, since the feature codes of different television function modules are different, the feature code of the television function module can be used as the unique identification code of the television function module, and accordingly, the target device information can include the feature code of the television function module. Alternatively, the combination of the feature code and the MAC address can be used as the unique identification code of the television function module, and accordingly, the target device information can include the feature code and MAC address of the television function module.
[0176] Correspondingly, if the target device information includes the feature code of the TV function module in the target device, the pre-stored device information includes the feature code of the TV function module in the smart home appliance supporting the TV function.
[0177] In some embodiments, if the target device reports the device identification of a television function module, the pre-stored device information may be in the following form:
[0178]
[0179] The above-mentioned "tvFeatureCode" field is the feature code of the TV function module.
[0180] In this case, if a smart home appliance that supports TV functions is a refrigerator, the pre-stored device information corresponding to the refrigerator may be in the following form:
[0181]
[0182] Among them, the pre-stored information indicates that the smart home appliance is a refrigerator, and the refrigerator realizes the TV function through a 10-inch refrigerator screen. The feature code of the TV function module is "861003000001001000000072".
[0183] Alternatively, in another example, if a smart home appliance that supports a television function is a refrigerator, the pre-stored device information corresponding to the refrigerator may be in the following format:
[0184]
[0185] Among them, the pre-stored information indicates that the smart home appliance is a refrigerator, and the refrigerator realizes the TV function through a 21.5-inch refrigerator screen. The feature code of the TV function module is "861003000001001000000717".
[0186] Alternatively, in another example, if a smart home appliance that supports a television function is a refrigerator, the pre-stored device information corresponding to the refrigerator may be in the following format:
[0187]
[0188]
[0189] Among them, the pre-stored information indicates that the smart home appliance is a range hood, and the refrigerator realizes the TV function through the range hood screen. The feature code of the TV function module is "861028009000001000001302".
[0190] Of course, in the embodiment of the present application, other identification codes that can distinguish each functional module can also be used as the unique identification code of the functional module, and the present application does not limit this.
[0191] Step S120: extract the unique identification code from the device information set based on the field position of the unique identification code in the device information set.
[0192] If the device information set is a 32-bit character string including a feature code and a MAC address, the first 24 bits of the feature code of the character string may be intercepted and used as a unique identification code.
[0193] Step S130: Search the pre-stored device information for the intercepted unique identification code.
[0194] If the unique identification code is found in the pre-stored device information, it indicates that the target device is a smart home appliance that supports television functions.
[0195] In another embodiment of the present application, see Figure 9 The operation of determining the binding status of the target functional module by using the target device information and the bound module identifier of the terminal device shown in step S200 can be implemented by the following steps:
[0196] Step S210: When the bound module identifier includes the first identifier, compare the target device information with the first identifier.
[0197] The first identifier includes a unique identification code of any functional module in the bound smart home appliance, and the target device information includes a unique identification code of any functional module in the target device.
[0198] In the case that the unique identification code is the feature code of the television function module, the first identifier in the bound module identifiers is the feature code of the television function module in the bound smart home appliance.
[0199] Step S220: When the target device information and the first identifier do not match, determine that the binding status of the target functional module is that the terminal device is not bound to the target functional module.
[0200] Furthermore, based on the type of the bound functional module corresponding to the first identifier, the type of the unbound functional module of the terminal device can be determined. For example, if the bound functional module corresponding to the first identifier is a TV functional module, it can be determined that the terminal device is not bound to the TV functional module.
[0201] In addition, in this step, when the target device information matches the first identifier, it can be determined that the binding status of the target functional module is that the terminal device is bound to the target functional module.
[0202] In an embodiment of the present application, a first threshold may be set, and when the similarity between the target device information and the first identifier is equal to or greater than the first threshold, it is determined that the target device information and the first identifier match.
[0203] For example, if the unique identification code is the feature code of a TV function module, and the feature code of a smart home appliance's TV function module is "861003000001001000000072" and its MAC address is "fbae4ef3," after the TV function module of the smart home appliance is bound, the module identifier of the TV function module can be set to "861003000001001000000072fbae4ef3." In this case, if the target device information is "861003000001001000000072fbae4ef3," it can be determined that the TV function module of the target device is bound; otherwise, it can be determined that the TV function module of the target device is not bound.
[0204] In another embodiment of the present application, see Figure 10 The operation of determining the binding status of the target functional module by using the target device information and the bound module identifier of the terminal device provided in step S200 can be implemented by the following steps:
[0205] Step S230: When the bound module identifier includes the second identifier, compare the character string including the target device information and the preset characters with the second identifier.
[0206] The second identifier is a combination of the first identifier and preset characters, and the first identifier includes a unique identification code of any functional module in the bound smart home appliance.
[0207] Step S240: If the character string matches the second identifier and the role code pre-assigned to the bound module indicates that the bound module is a single functional module, determine that the binding state of the target functional module is that the terminal device is bound to the target functional module.
[0208] Step S250: When the string does not match the second identifier, or when the string matches the second identifier and the role code indicates that the bound module is a whole-machine function module, determine that the binding status of the target function module is that the terminal device is not bound to the target function module.
[0209] Moreover, based on the type of the bound functional module corresponding to the second identifier, the type of the unbound functional module of the terminal device can be determined. For example, if the bound functional module corresponding to the second identifier is a home appliance functional module, it can be determined that the terminal device is not bound to the home appliance functional module.
[0210] If the similarity between the character string and the second identifier is less than a second threshold, the character string does not match the second identifier; if the similarity between the character string and the second identifier is greater than or equal to the second threshold, the character string matches the second identifier.
[0211] After the entire smart home appliance is virtualized into a complete functional module, role codes (i.e., meshRole) can be set for the complete functional module, the home appliance functional module, and the TV functional module to facilitate the distinction between the complete functional module, the home appliance functional module, and the TV functional module. The role codes of the home appliance functional module and the TV functional module are used to indicate that the two functional modules are a single functional module, and the role codes of the two functional modules are the same (for example, both are 2). A role code indicating that it is a complete functional module (for example, 1) is set for the complete functional module.
[0212] In some scenarios, if any functional module in a smart home appliance is bound, for example, a home appliance functional module or a TV functional module is bound, it can be considered that the corresponding whole-machine functional module of the smart home appliance is bound. In this case, if the target device information corresponding to a certain functional module and the string consisting of preset characters match the second identifier, but the role code indicates that the bound module is a whole-machine functional module, then it means that the functional module is not bound, but other functional modules belonging to the same smart home appliance as the functional module are bound. Therefore, if role codes are assigned to bound modules in advance, the role codes can also be used to determine the binding status of the target functional module.
[0213] For example, if the TV function module of a smart home appliance is bound, the feature code of the TV function module is "861003000001001000000072", which is the unique identification code of the TV function module, the MAC address is "fbae4ef3", the serial number is "lb041500201j00987651111", and the preset character is "_", then the bound module identification of the bound TV function module is "861003000001001000000072fbae4ef3", and its role code can be 2.
[0214] Correspondingly, the bound module identifier of the whole machine function module of the smart home appliance is “861003000001001000000072fbae4ef3_861003000001001000000072fbae4ef3”, and its role code may be 1.
[0215] Among them, the first identifier includes the unique identification code of any functional module in the bound smart home appliance, then the first identifier may be only the unique identification code. In addition, in order to improve the accuracy of the comparison, the first identifier may be the unique identification code and the MAC address, that is, the first identifier may be "861003000001001000000072", or the first identifier may also be "861003000001001000000072fbae4ef3".
[0216] Correspondingly, the second identifier may be “861003000001001000000072_”, or the first identifier may also be “861003000001001000000072fbae4ef3_”.
[0217] In this case, if the home appliance function module of the smart home appliance is not bound, then when determining the binding status of the home appliance function module using the bound module identifier, a character string including target device information and preset characters may be obtained, such as "861003000001001000000072_" or "861003000001001000000072fbae4ef3_". Moreover, only the bound module identifier of the whole device function module includes a second identifier that matches the character string, but the role code of the whole device function module is 1, indicating that the bound module is the whole device function module. Therefore, it can be determined that the home appliance function module is not bound.
[0218] Through the above embodiment, when the bound module includes the second identifier, it can be determined whether the target functional module is bound based on the matching between the target device information and the second identifier.
[0219] In another embodiment of the present application, the operation of generating the module identifier of the target functional module based on the target device information provided in step S400 can be implemented by the following steps:
[0220] Based on the unique identification code of any functional module in the target device, a third identification is generated for a first target functional module among the target functional modules. The third identification includes the unique identification code, and the module identification of the first target functional module includes the third identification.
[0221] The first target functional module may be a television functional module or a home appliance functional module.
[0222] For example, if the unique identification code is a feature code of a television function module and the feature code of the television function module is "861003000001001000000072", then the third identification is "861003000001001000000072". In addition, in addition to the unique identification code, the third identification may also include a MAC address of the target device. If the MAC address is "fbae4ef3", then the third identification may include "861003000001001000000072fbae4ef3". Correspondingly, the module identification of the first target function module may include "861003000001001000000072fbae4ef3".
[0223] Alternatively, the operation of generating the module identifier of the target functional module based on the target device information provided in step S400 can be implemented by the following steps:
[0224] Based on the unique identification code of any functional module in the target device, a fourth identification is generated for the second target functional module in the target functional modules. The fourth identification includes the unique identification code and preset characters. The module identification of the second target functional module includes the fourth identification.
[0225] The second target functional module may be a home appliance functional module or a television functional module, and the second target module is different from the first target module.
[0226] Exemplarily, the unique identification code is the feature code of the TV function module, and the feature code of the TV function module is "861003000001001000000072", and the preset character is "_", then the fourth identification is "861003000001001000000072_". In addition, the fourth identification may also include the MAC address of the target device. If the MAC address is "fbae4ef3", then the fourth identification may include "861003000001001000000072fbae4ef3_". Correspondingly, the module identification of the second target function module may include "861003000001001000000072fbae4ef3_".
[0227] Furthermore, the fourth identifier may also include the serial number (i.e., SN) of the target device, wherein the terminal device may obtain the serial number by accessing a remote server. Alternatively, the terminal device may guide the user to scan the product information affixed to the body of the target device to obtain the serial number.
[0228] In one example, the terminal device may display the interface shown in Figure 11(a), which includes a "Scan" option. After receiving a touch for this option, the terminal device may jump to the scanning interface shown in Figure 11(b), scan the product information, and obtain the serial number through scanning.
[0229] In the embodiment of the present application, step S500 provides an operation of saving a binding relationship between a target functional module and a module identifier of the target functional module. In one example, the binding relationship can be implemented by the following information:
[0230]
[0231] In the above example, it indicates that the home appliance function module and the TV function module of the target device are bound.
[0232] In another example, the binding relationship can be achieved through the following information:
[0233]
[0234]
[0235] In the above example, a functional module in the target device is bound. If the module identifier of the home appliance functional module includes sn, and the module identifier of the television functional module does not include sn, then the bound functional module is the home appliance functional module.
[0236] In another example, the binding relationship can be achieved through the following information:
[0237]
[0238] In the above example, a functional module in the target device is bound. If the module identifier of the home appliance functional module includes sn, and the module identifier of the television functional module does not include sn, the bound functional module is the television functional module.
[0239] In another embodiment of the present application, see Figure 12 The operation of generating a module identifier of a target functional module based on target device information in response to a binding operation on a page to be bound provided in step S400 includes the following steps:
[0240] Step S410: In response to a binding operation on a page to be bound, a query request for a binding status of a target functional module is sent to a first server, where the first server is a server corresponding to an application installed in the terminal device for controlling smart home appliances;
[0241] Step S420: When the first server's feedback to the query request is that the target functional module is not bound to other terminal devices, a module identifier of the target functional module is generated based on the target device information.
[0242] In some scenarios, the target functional module of the target device may already be bound to another terminal device. For example, if the target device is a second-hand device, the target functional module may be bound to the seller's terminal device. To address this situation, the embodiment of the present application can send a query request to the first server and, based on the feedback from the first server, determine that the target functional module is not bound, and then regenerate the module identifier of the target functional module.
[0243] In another embodiment of the present application, see Figure 13 The operation of generating a module identifier of a target functional module based on target device information in response to a binding operation on a page to be bound provided in step S400 includes the following steps:
[0244] Step S430: In response to the binding operation on the page to be bound, a query request for the binding status of the target functional module is sent to the first server, where the first server is a server corresponding to an application installed in the terminal device for controlling smart home appliances.
[0245] Step S440: When the first server's feedback to the query request is that the target functional module has been bound to other terminal devices, information of administrators corresponding to the other terminal devices and a menu to be selected are displayed.
[0246] In one example, the page displayed by the terminal device may be as follows: Figure 14The administrator's information includes part of the administrator's phone number, so that the user can check the part of the phone number to determine whether they know the administrator and whether to join the device group managed by the administrator.
[0247] In addition, the menu to be selected includes two selection menus: "Join Family" and "Don't Know Administrator".
[0248] Step S450: In response to a touch operation on a first menu to be selected, request the first server for a module identifier of a target functional module to be bound by other terminal devices, wherein the first menu to be selected is used to indicate that the target functional module joins a device group managed by the administrator.
[0249] exist Figure 14 In the example shown, the first menu to be selected is the "Join Family" menu.
[0250] Through step S450, the terminal device can use the module identifier used by other terminal devices to bind the target functional module as its own module identifier to bind the target functional module, so that the terminal device and other terminal devices can both control the target functional module.
[0251] Alternatively, after step S440, perform the following operations:
[0252] Step S460: In response to a touch operation on a second menu to be selected in the menus to be selected, a service request including target device information is transmitted to the first server, where the second menu to be selected is used to indicate that the target functional module does not join the device group managed by the administrator.
[0253] The first server may be a server that provides online customer service. Figure 14 In the example shown, the first menu to be selected is the menu "I don't know the administrator".
[0254] Step S470 : In response to the operation prompt provided by the first server, after releasing the binding of other terminal devices to the target functional module, generate a module identifier of the target functional module based on the target device information.
[0255] In this step, the first server provides corresponding operation prompts to the terminal device, and the user can operate the terminal device based on the operation prompts. The terminal device gradually unbinds other terminal devices from the target functional module based on the received user operations, and after unbinding, generates a module identifier of the target functional module based on the target device information.
[0256] Through this operation, after receiving the touch operation for the second menu to be selected, the binding of other terminal devices to the target function module can be released to prevent other terminal devices from controlling the target function module, and a module identifier of the target function module can be generated so that the target function module can be controlled based on the module identifier subsequently.
[0257] See also Figure 15 The interaction process between the terminal device and the first server shown in the embodiment includes the following steps:
[0258] Step S151: The terminal device sends a query request for querying the binding status of a target functional module to the first server.
[0259] Step S152: The first server transmits feedback corresponding to the query request to the terminal device. The feedback includes information about whether the target functional module is not bound to other terminal devices, or is bound to other terminal devices, and information about the administrator of other terminal devices. If the target functional module is bound to other terminal devices, the operation of step S153 is executed; if not, the operation of step S158 is executed.
[0260] Step S153: If the target functional module has been bound to other terminal devices, the terminal device displays the administrator information and the menu to be selected corresponding to the other terminal devices.
[0261] Step S154: After receiving a touch operation on a first menu to be selected in the menus to be selected, the terminal device requests the first server for a module identifier for binding a target functional module to another terminal device, where the first menu to be selected is used to instruct the target functional module to join a device group managed by the administrator;
[0262] Step S155: After receiving the module identifier of the other terminal device used to bind the target functional module from the first server, the terminal device binds the target module through the feedback, that is, the terminal device binds the target functional module through the module identifier applied when the other terminal device binds the target functional module.
[0263] Step S156: After receiving the touch operation on the second menu to be selected in the menus to be selected, transmitting a service request including the target device information to the first server.
[0264] Step S157 : in response to the operation prompt provided by the first server, after releasing the binding of other terminal devices to the target functional module, generate a module identifier of the target functional module based on the target device information.
[0265] Step S158: When it is determined according to the feedback from the first server that the target functional module is not bound to other terminal devices, a module identifier of the target functional module is generated based on the target device information.
[0266] In another embodiment of the present application, after the binding of the target functional module is completed, if it is not desired to bind the target functional module again in the future, an unbinding operation of the target functional module is also supported.
[0267] In this case, the terminal device may provide an unbinding page including an unbinding option for the target functional module. After receiving an operation for the unbinding option, the terminal device may delete the binding relationship between the target functional module and the module identifier of the target functional module.
[0268] Among them, if the unbinding page includes an unbinding option for the whole machine function module, after receiving the operation for the unbinding option, the terminal device can delete the binding relationship corresponding to all function modules included in the smart home appliance corresponding to the whole machine function module.
[0269] For example, if the terminal device is bound to the TV function module and home appliance function module of a smart home appliance, upon receiving the unbinding option operation for the whole machine function module, the terminal device can delete the binding relationship between the TV function module and the home appliance function module and their corresponding module identifiers.
[0270] Corresponding to the above embodiment, another embodiment of the present application provides a binding device for smart home appliances, which can bind functional modules of smart home appliances that support TV functions and independently control different functional modules based on the binding relationship.
[0271] In the embodiment of the present application, the binding device of the smart home appliance may include but is not limited to a tablet computer, a handheld computer, a personal computer (PC) and a mobile terminal, etc., and the present application does not limit this.
[0272] The binding devices of the smart home appliance include:
[0273] monitor;
[0274] a controller coupled to the display and configured to:
[0275] Querying target device information of a target device in pre-stored device information, wherein the pre-stored device information includes device information of at least one smart home appliance supporting a television function;
[0276] If the pre-stored device information includes the target device information, determining the binding status of the target functional module by using the target device information and a bound module identifier of the terminal device, wherein the target functional module is at least one of a television functional module and a home appliance functional module of the target device, and the bound module identifier is an identifier of a bound functional module of the terminal device, and the bound module identifier is determined based on device information of a bound smart home appliance corresponding to the bound functional module;
[0277] When the binding status is that the terminal device is not bound to the target functional module, controlling the display to display a page to be bound of the target functional module;
[0278] In response to a binding operation on the to-be-bound page, generating a module identifier of the target functional module based on the target device information, wherein, when the target functional modules are a television functional module and a home appliance functional module of the target device, the module identifiers of the television functional module and the home appliance functional module are different;
[0279] The binding relationship between the target functional module and the module identifier of the target functional module is saved.
[0280] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion of some embodiments is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The above embodiments are selected and described to better explain the content of this disclosure, thereby enabling those skilled in the art to better use the embodiments.
Claims
1. A method for binding smart home appliances, characterized in that: Applied to terminal equipment, including: Querying target device information of a target device in pre-stored device information, wherein the pre-stored device information includes device information of at least one smart home appliance supporting a television function; If the pre-stored device information includes the target device information, determining the binding status of the target functional module by using the target device information and a bound module identifier of the terminal device, wherein the target functional module is at least one of a television functional module and a home appliance functional module of the target device, and the bound module identifier is an identifier of a bound functional module of the terminal device, and the bound module identifier is determined based on device information of a bound smart home appliance corresponding to the bound functional module; When the binding status is that the terminal device is not bound to the target functional module, displaying a page to be bound of the target functional module; In response to a binding operation on the to-be-bound page, generating a module identifier of the target functional module based on the target device information, wherein, when the target functional modules are a television functional module and a home appliance functional module of the target device, the module identifiers of the television functional module and the home appliance functional module are different; The binding relationship between the target functional module and the module identifier of the target functional module is saved.
2. The method according to claim 1, characterized in that After the storing of the binding relationship between the target functional module and the module identifier of the target functional module, the method further includes: Displaying a target control page for the target functional module, the target control page including control options corresponding to the target functional module; In response to a touch operation on a control option corresponding to the target functional module, generating a control instruction including a module identifier of the target functional module; The target functional module is controlled by the control instruction.
3. The method according to claim 1, characterized in that The step of querying the pre-stored device information for the target device includes: In a case where the target device information includes a unique identification code of any functional module in the target device, obtaining a device information set reported by the target device during a process of searching for controllable devices of the terminal device; extracting the unique identification code from the device information set based on a field position of the unique identification code in the device information set; The intercepted unique identification code is searched in the pre-stored device information.
4. The method according to claim 1, wherein The determining the binding status of the target functional module by using the target device information and the bound module identifier of the terminal device includes: In a case where the bound module identifier includes a first identifier, comparing the target device information with the first identifier, wherein the first identifier includes a unique identification code of any functional module in the bound smart home appliance, and the target device information includes a unique identification code of any functional module in the target device; In a case where the target device information and the first identifier do not match, it is determined that the binding status of the target functional module is that the terminal device is not bound to the target functional module.
5. The method according to claim 1, wherein The determining the binding status of the target functional module by using the target device information and the bound module identifier of the terminal device includes: In a case where the bound module identifier includes a second identifier, comparing a character string including the target device information and preset characters with the second identifier, where the second identifier is a combination of the first identifier and the preset characters, and the first identifier includes a unique identification code of any functional module in the bound smart home appliance; If the character string matches the second identifier and the role code pre-assigned to the bound module indicates that the bound module is a single functional module, determining the binding state of the target functional module as the terminal device being bound to the target functional module; When the string does not match the second identifier, or when the string matches the second identifier and the role code indicates that the bound module is a whole-machine functional module, it is determined that the binding status of the target functional module is that the terminal device is not bound to the target functional module.
6. The method according to claim 5, characterized in that The step of generating a module identifier of the target functional module based on the target device information in response to the binding operation on the to-be-bound page includes: generating a third identifier for a first target functional module among the target functional modules based on a unique identification code of any functional module in the target device, wherein the third identifier includes the unique identification code, and the module identifier of the first target functional module includes the third identifier; Alternatively, based on the unique identification code of any functional module in the target device, a fourth identification is generated for the second target functional module in the target functional modules, the fourth identification includes the unique identification code and the preset character, and the module identification of the second target functional module includes the fourth identification.
7. The method according to claim 1, characterized in that The step of generating a module identifier of the target functional module based on the target device information in response to the binding operation on the to-be-bound page includes: In response to a binding operation on the to-be-bound page, sending a query request for a binding status of the target functional module to a first server, where the first server is a server corresponding to an application installed in the terminal device for controlling the smart home appliance; When the first server's feedback to the query request is that the target functional module is not bound to other terminal devices, a module identifier of the target functional module is generated based on the target device information.
8. The method according to claim 1, characterized in that The step of generating a module identifier of the target functional module based on the target device information in response to the binding operation on the to-be-bound page includes: In response to a binding operation on the to-be-bound page, sending a query request for a binding status of the target functional module to a first server, where the first server is a server corresponding to an application installed in the terminal device for controlling the smart home appliance; If the first server's feedback to the query request is that the target functional module has been bound to other terminal devices, displaying information of administrators corresponding to the other terminal devices and a menu to be selected; In response to a touch operation on a first menu to be selected among the menus to be selected, requesting the first server for a module identifier of the other terminal device for binding the target functional module, the first menu to be selected being used to instruct the target functional module to join a device group managed by the administrator; Alternatively, in response to a touch operation on a second menu to be selected among the menus to be selected, transmitting a service request including the target device information to the first server, wherein the second menu to be selected is used to instruct the target functional module not to join the device group managed by the administrator; In response to the operation prompt provided by the first server, after releasing the binding of the other terminal device to the target functional module, a module identifier of the target functional module is generated based on the target device information.
9. The method according to claim 2, characterized in that The controlling the target functional module by the control instruction includes: transmitting the control instruction including the module identifier of the target functional module to a second server, wherein the second server stores the binding relationship; The control instruction is transmitted to the target functional module indicated by the module identifier through the second server based on the binding relationship.
10. A binding device for smart home appliances, characterized in that: include: monitor; a controller coupled to the display and configured to: Querying target device information of a target device in pre-stored device information, wherein the pre-stored device information includes device information of at least one smart home appliance supporting a television function; If the pre-stored device information includes the target device information, determining the binding status of the target functional module by using the target device information and a bound module identifier of the terminal device, wherein the target functional module is at least one of a television functional module and a home appliance functional module of the target device, and the bound module identifier is an identifier of a bound functional module of the terminal device, and the bound module identifier is determined based on device information of a bound smart home appliance corresponding to the bound functional module; When the binding status is that the terminal device is not bound to the target functional module, controlling the display to display a page to be bound of the target functional module; In response to a binding operation on the to-be-bound page, generating a module identifier of the target functional module based on the target device information, wherein, when the target functional modules are a television functional module and a home appliance functional module of the target device, the module identifiers of the television functional module and the home appliance functional module are different; The binding relationship between the target functional module and the module identifier of the target functional module is saved.
Citation Information
Patent Citations
Intelligent refrigerator with display screen and intelligent operation method of intelligent refrigerator
CN106766659A
Household appliance control device, intelligent device, home appliance, home appliance control system and home appliance control method
CN110426964A
Functional module loading method and device, electronic equipment and storage medium
CN114020367A
Smart home equipment binding method and terminal
CN114513379A
Binding method and device and electronic equipment
CN118828079A