Interaction method, device and system, electronic equipment, storage medium and product
By establishing a wireless communication connection between the control device and the home appliance device, the interactive method is realized, and the interface matching the target task is dynamically displayed, the large-scale interface development workload caused by the variety of home appliance devices and the complex functions is solved, and efficient interface development and user experience improvement is achieved.
Patent Information
- Application Number
- CN202411628334.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-07
AI Technical Summary
With the complexity of the types and functions of home appliances, developers need to develop corresponding interfaces for different home appliances, resulting in a large amount of workload in interface development of control equipment and it is difficult to effectively reduce it.
An interactive method is realized by establishing a wireless communication connection between the control device and the home appliance device, wherein the control device generates a first instruction in response to the user's operation and sends it to the home appliance device; the home appliance device generates a second instruction according to the first instruction, contains the interface configuration information of the target task, and returns to the control device; the control device displays the target interface according to the second instruction, and generates a third instruction in response to the user's interaction, and sends it to the home appliance device to perform the task flow.
There is no need to develop a specific interface for each home appliance in advance. The control device can dynamically display an interface matching the target task, which significantly reduces the interface development workload and improves development efficiency and user experience.
Smart Images

Figure CN119576324A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of device control technology, and in particular to an interaction method, device, system, electronic device, storage medium and product. Background Art
[0002] At present, some home appliances can already support remote control and intelligent management. The control devices corresponding to the home appliances can often display an interface for controlling the home appliances. Users can control the home appliances by operating the interface displayed by the control devices.
[0003] However, with the increasing number of home appliances and their increasingly complex functions, in order to meet the control needs of a large number of different home appliances, developers often need to develop corresponding interfaces for different home appliances. Therefore, how to reduce the workload of interface development for control devices has become an urgent problem to be solved. Summary of the invention
[0004] The present application provides an interaction method, device, system, electronic device, storage medium and product, which can effectively reduce the workload of interface development of control equipment.
[0005] In a first aspect, an interaction method is provided, which is applied to a control device, wherein the control device is wirelessly connected to a home appliance, and the method includes:
[0006] In response to the triggering operation of the target task, a first instruction corresponding to the target task is generated, and the first instruction is sent to the home appliance;
[0007] Receiving a second instruction sent by the home appliance according to the first instruction;
[0008] Displaying the target interface according to the interface configuration information corresponding to the target task in the second instruction;
[0009] In response to the interactive operation in the target interface, a third instruction is generated, and the third instruction is sent to the home appliance so that the home appliance executes the process information corresponding to the target task according to the third instruction.
[0010] In a second aspect, an interaction method is provided, which is applied to a home appliance, wherein the home appliance is wirelessly connected to a control device, and the method includes:
[0011] Receiving a first instruction corresponding to a target task sent by a control device, wherein the first instruction is generated by the control device in response to a triggering operation of the target task;
[0012] According to the first instruction, a second instruction including interface configuration information corresponding to the target task is generated;
[0013] Sending a second instruction to the control device, so that the control device displays the target interface according to the interface configuration information corresponding to the target task in the second instruction;
[0014] Receiving a third instruction sent by the control device, wherein the third instruction is generated by the control device in response to an interactive operation in the target interface;
[0015] Execute the process information corresponding to the target task according to the third instruction.
[0016] In a third aspect, an interactive device is provided, which is applied to a control device, and the control device is wirelessly connected to a home appliance, and the device includes:
[0017] A first sending module, configured to generate a first instruction corresponding to the target task in response to a triggering operation of the target task, and send the first instruction to the home appliance;
[0018] A receiving module, used for receiving a second instruction sent by the household appliance according to the first instruction;
[0019] A display module, used to display a target interface according to the interface configuration information corresponding to the target task in the second instruction;
[0020] The second sending module is used to generate a third instruction in response to the interactive operation in the target interface, and send the third instruction to the home appliance so that the home appliance executes the process information corresponding to the target task according to the third instruction.
[0021] In a fourth aspect, an interactive device is provided, which is applied to a household appliance, wherein the household appliance is wirelessly connected to a control device, and the device includes:
[0022] A first receiving module, configured to receive a first instruction corresponding to a target task sent by a control device, wherein the first instruction is generated by the control device in response to a triggering operation of the target task;
[0023] A generating module, configured to generate a second instruction including interface configuration information corresponding to a target task according to the first instruction;
[0024] A sending module, used for sending a second instruction to the control device, so that the control device displays the target interface according to the interface configuration information corresponding to the target task in the second instruction;
[0025] A second receiving module, configured to receive a third instruction sent by the control device, wherein the third instruction is generated by the control device in response to an interactive operation in the target interface;
[0026] The execution module is used to execute the process information corresponding to the target task according to the third instruction.
[0027] In a fifth aspect, an electronic device is provided, the electronic device comprising:
[0028] A memory for storing executable program codes;
[0029] The processor is used to call and run the executable program code from the memory, so that the electronic device executes any one of the above interaction methods.
[0030] In a sixth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, any one of the above interaction methods is implemented.
[0031] The beneficial effects brought by the technical solutions provided by some embodiments of the present application include at least: the control device generates a first instruction corresponding to the target task in response to the operation, and sends the first instruction to the home appliance; after receiving the first instruction, the home appliance returns a second instruction to the control device; the control device displays the target interface according to the interface configuration information corresponding to the target task in the second instruction; the control device generates a third instruction in response to the operation, and sends the third instruction to the home appliance; the home appliance executes the process information corresponding to the target task according to the third instruction. In this way, the second instruction provided by the home appliance contains the interface configuration information corresponding to the target task, and the control device can display the target interface matching the target task according to the second instruction, without having to develop the corresponding interface for each home appliance in advance in the control device, thereby reducing the interface development workload of the control device. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0033] Figure 1 This is a schematic diagram of a scenario of interaction between a control device and a home appliance provided in an embodiment of the present application;
[0034] Figure 2 It is a flowchart of an interactive method provided in an embodiment of the present application;
[0035] Figure 3 It is a flow chart of sending a third instruction under a network distribution task provided by an embodiment of the present application;
[0036] Figure 4 is an example schematic diagram of a first target interface provided in an embodiment of the present application;
[0037] Figure 5 is an example schematic diagram of a second target interface and a third target interface provided in an embodiment of the present application;
[0038] Figure 6 It is a flow chart of sending a third instruction under a reference authentication data setting task provided by an embodiment of the present application;
[0039] Figure 7 is an example schematic diagram of a fourth target interface provided in an embodiment of the present application;
[0040] Figure 8 It is a flowchart of sending a third instruction under a function control task provided by an embodiment of the present application;
[0041] Fig. 9 is an exemplary schematic diagram of a fifth target interface provided in an embodiment of the present application;
[0042] Fig.10 It is a flowchart of an interactive method provided in an embodiment of the present application;
[0043] Fig.11 This is a flow chart of process information corresponding to a network configuration task provided by an embodiment of the present application;
[0044] Fig.12 It is a flowchart of a process information corresponding to a reference authentication data setting task provided by an embodiment of the present application;
[0045] Fig.13 It is a flow chart of process information corresponding to an execution function control task provided by an embodiment of the present application;
[0046] Fig.14 This is an example schematic diagram of interaction under a network distribution task provided by an embodiment of the present application;
[0047] Fig.15 This is an example schematic diagram of interaction under a network distribution task provided by an embodiment of the present application;
[0048] Fig.16 This is an example schematic diagram of interaction under a network distribution task provided by an embodiment of the present application;
[0049] Fig.17 This is an example schematic diagram of interaction under a reference authentication data setting task provided by an embodiment of the present application;
[0050] Fig.18 This is an example schematic diagram of interaction under a function control task provided by an embodiment of the present application;
[0051] Fig.19 is a structural schematic diagram of an interactive device provided in an embodiment of the present application;
[0052] Fig. 20is a structural schematic diagram of an interactive device provided in an embodiment of the present application;
[0053] Fig.21 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] In order to make the features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0055] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0056] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0057] The following are detailed descriptions respectively. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0058] At present, some home appliances can already support remote control and intelligent management. The control devices corresponding to the home appliances can often display an interface for controlling the home appliances. Users can control the home appliances by operating the interface displayed by the control devices.
[0059] like Figure 1 As shown, Figure 1 This is a schematic diagram of a scenario of interaction between a control device and a home appliance provided in an embodiment of the present application. The control device may be an electronic device such as a smart phone, a tablet computer, or a smart remote control; the home appliance may be an electronic device such as a smart TV, a smart air conditioner, a smart refrigerator, or a smart washing machine. It should be noted that the control device is provided with a display component (such as a display screen), and the display component may be used to display a related interface.
[0060] In some cases, the control device can establish a short-range wireless communication connection with the home appliance. For example, the control device and the home appliance establish a wireless communication connection based on the Bluetooth protocol; for another example, the control device and the home appliance establish a wireless communication connection based on the Zigbee protocol; for another example, the control device and the home appliance establish a direct wireless communication connection based on the Wi-Fi Direct protocol.
[0061] In some cases, the control device can establish a long-distance wireless communication connection with the home appliance. For example, the control device is connected to the Internet via Wi-Fi, and a communication connection is established with the server via the Internet. At the same time, the home appliance is connected to the Internet via Wi-Fi, and a communication connection is established with the server via the Internet. In this case, the control device and the home appliance are equivalent to establishing a wireless communication connection through the server. For another example, the control device is connected to the Internet via a mobile communication network (such as 4G / 5G), and a communication connection is established with the server via the Internet. At the same time, the home appliance is connected to the Internet via Wi-Fi, and a communication connection is established with the server via the Internet. In this case, the control device and the home appliance are equivalent to establishing a wireless communication connection through the server.
[0062] In some cases, the control device may also establish a wired communication connection with the home appliance, for example, the control device may establish a wired communication connection with the home appliance via a Universal Serial Bus (USB) cable; or, in another example, the control device may establish a wired communication connection within a local area network with the home appliance via an Ethernet cable.
[0063] It should be noted that the communication connection methods between the control device and the home appliance can be various, and the above communication connection is only used as an example and does not constitute a limitation on the communication connection method between the control device and the home appliance.
[0064] With the increasing number of home appliances and their increasingly complex functions, in order to meet the control needs of a large number of different home appliances, developers often need to develop corresponding interfaces for different home appliances in the control devices. For example, for different home appliances such as smart TVs, smart air conditioners, smart refrigerators, smart washing machines, etc., it is necessary to develop interfaces corresponding to different home appliances in the control devices; for another example, for the same home appliance, it is necessary to develop interfaces corresponding to different functions of the home appliance in the control devices. It can be seen that in the relevant technology, the workload of interface development of control devices is relatively large. Therefore, how to reduce the workload of interface development of control devices has become an urgent problem to be solved.
[0065] based on Figure 1 The scene shown is shown below. Figure 2 - Fig.18 , the interactive method provided in the embodiment of the present application is introduced in detail.
[0066] See also Figure 2 , Figure 2 The following is a flow chart of an interactive method provided in an embodiment of the present application. Figure 2 As shown, the method of the embodiment of the present application is applied to a control device, and the control device is wirelessly connected to a household appliance. The method may include the following steps S101-S104.
[0067] S101, in response to a triggering operation of a target task, generating a first instruction corresponding to the target task, and sending the first instruction to a home appliance.
[0068] Specifically, the tasks involved in this embodiment refer to a series of operations or processes that are triggered by the user through the control device and need to be executed by the control device and the home appliance, involving various types such as network configuration, reference authentication data setting, and function control. The target task specifically refers to the task that the user currently selects or needs to process immediately during a specific interaction process, such as a network configuration task, a reference authentication data setting task, or a function control task. In short, there are many types of tasks supported by the control device and the home appliance, and the target task is one of them.
[0069] In order to determine the target task, the control device provides at least two ways to support the user to perform the trigger operation of the target task. In one possible implementation, the control device provides a virtual control to support the user to perform the trigger operation of the target task. For example, the control device displays a task selection interface, and the task selection interface includes multiple virtual buttons, each of which corresponds to a task. When the user clicks the virtual button corresponding to the target task, the control device will determine that the user performs the trigger operation of the target task. In one possible implementation, the control device provides a physical button to support the user to perform the trigger operation of the target task. For example, the control device includes multiple physical buttons, each of which corresponds to a task. When the user presses the physical button corresponding to the target task, the control device will determine that the user performs the trigger operation of the target task. It can be understood that each task has corresponding identification information, and the identification information is used to distinguish different tasks. In some cases, the identification information can be a task name or some representative characters.
[0070] Furthermore, the control device generates a first instruction corresponding to the target task in response to the triggering operation of the target task, wherein the first instruction includes identification information of the target task.
[0071] Furthermore, the control device sends a first instruction to the household appliance.
[0072] Preferably, the control device establishes a close-range wireless communication connection with the household appliance. The instructions sent by the household appliance do not need to pass through the Internet or the server, but are directly transmitted to the control device and received by the control device. In this way, the instruction interaction between the control device and the household appliance can reduce the dependence on the Internet or the server. For example, the control device and the household appliance establish a wireless communication connection based on the Bluetooth protocol, then the instruction will be encapsulated in a form that complies with the Bluetooth protocol and sent by the control device to the household appliance. Of course, if the control device and the household appliance establish a long-range wireless communication connection or a wired communication connection, the instruction interaction between the control device and the household appliance can also be achieved. The close-range wireless communication connection, the long-range wireless communication connection and the wired communication connection have been introduced in the previous text and will not be repeated here. The instructions involved here include the above-mentioned first instruction, as well as the second instruction, the third instruction, etc. that appear below, which are transmitted between the control device and the household appliance.
[0073] S102, receiving a second instruction sent by the home appliance according to the first instruction.
[0074] Specifically, the home appliance receives a first instruction corresponding to the target task sent by the control device. Since the first instruction includes identification information of the target task, the home appliance can extract the identification information of the target task from the first instruction, and then determine the target task based on the identification information of the target task.
[0075] The home appliance pre-stores interface configuration information corresponding to each of the multiple tasks, and pre-builds a mapping relationship between the tasks and the interface configuration information. The interface configuration information refers to information that defines the structural characteristics of the corresponding interface (such as the layout and style of the interface elements) and the interactive characteristics (such as how the user interacts with the interface elements).
[0076] The home appliance can further determine the interface configuration information corresponding to the target task according to the target task and the mapping relationship between the task and the interface configuration information. Then, the home appliance generates a second instruction according to the interface configuration information corresponding to the target task, wherein the second instruction includes the interface configuration information corresponding to the target task. The home appliance sends the second instruction to the control device.
[0077] In some cases, the second instruction sent by the home appliance is directly transmitted to the control device; in some cases, the second instruction sent by the home appliance is transmitted to the control device via the Internet and the server. Accordingly, the control device receives the second instruction sent by the home appliance.
[0078] S103, displaying the target interface according to the interface configuration information corresponding to the target task in the second instruction.
[0079] Specifically, after receiving the second instruction, the control device can extract the interface configuration information corresponding to the target task from the second instruction. Since the interface configuration information defines the structural characteristics and interactive characteristics of the target interface, the control device can call its own display component (such as the web view WebView component) according to the interface configuration information, and convert the abstract interface configuration information into a specific target interface, thereby displaying the target interface through the display component of the control device.
[0080] S104, in response to the interactive operation in the target interface, generate a third instruction, and send the third instruction to the home appliance so that the home appliance executes the process information corresponding to the target task according to the third instruction.
[0081] Specifically, the target interface includes interface elements that support user interaction, and the user can perform interactive operations on the interface elements in the target interface. Accordingly, the control device responds to the interactive operation in the target interface, determines the data generated by the interactive operation, and generates a third instruction based on the data generated by the interactive operation, wherein the third instruction includes the data generated by the interactive operation. Further, the control device sends the third instruction to the home appliance.
[0082] Accordingly, the home appliance receives the third instruction, extracts the data generated by the interactive operation from the third instruction, and executes the process information corresponding to the target task according to the data generated by the interactive operation. The process information refers to a collection of a series of steps that the home appliance needs to execute, and each of the multiple tasks supported by the control device and the home appliance has corresponding process information, and the process information corresponding to the target task refers to a collection of a series of steps of the target task that the home appliance needs to execute.
[0083] Based on the above reasons, it can be known that different interactive operations will cause the control device to obtain different data generated by the interactive operations, and thus the generated third instruction also contains different contents. To facilitate understanding of the present embodiment, some examples are provided below:
[0084] When the interface elements in the target interface include a virtual button control, the user can click on the virtual button control. Accordingly, the control device determines the data corresponding to the click operation in response to the click operation in the target interface; the control device generates a third instruction according to the data corresponding to the click operation, and sends the third instruction to the home appliance. Accordingly, the control device executes the process information corresponding to the target task according to the third instruction. For example, the home appliance is a smart air conditioner, the control device is a smart phone, and the virtual button control in the target interface is used to control the cooling mode of the smart air conditioner. The user clicks on the virtual button control, which will cause the smart phone to generate a third instruction, and the smart phone sends the third instruction to the smart air conditioner, and the smart air conditioner enters or exits the cooling mode according to the third instruction.
[0085] When the interface elements in the target interface include a virtual sliding control, the user can slide the virtual sliding control. Accordingly, the control device determines the data corresponding to the sliding operation in response to the sliding operation in the target interface; the control device generates a third instruction according to the data corresponding to the sliding operation, and sends the third instruction to the home appliance. Accordingly, the control device executes the process information corresponding to the target task according to the third instruction. For example, the home appliance is a smart air conditioner, and the control device is a smart phone. The virtual sliding control (which can be a sliding bar) in the target interface is used to control the air outlet temperature of the smart air conditioner. The user's sliding operation on the virtual sliding part will cause the smart phone to generate a third instruction, and the smart phone will send the third instruction to the smart air conditioner, and the smart air conditioner will adjust the air outlet temperature according to the third instruction.
[0086] When the interface elements in the target interface include an input box, the user can perform data input operations on the input box. Accordingly, the control device determines the data corresponding to the data input operation in response to the data input operation in the target interface; the control device generates a third instruction according to the data corresponding to the data input operation, and sends the third instruction to the home appliance. Accordingly, the control device executes the process information corresponding to the target task according to the third instruction. For example, the home appliance is a smart air conditioner, and the control device is a smart phone. The input box in the target interface is used to input the function control password of the smart air conditioner. The user's data input operation on the input box will cause the smart phone to generate a third instruction, and the smart phone will send the third instruction to the smart air conditioner. The smart air conditioner determines whether to allow the smart phone to control the function of the smart air conditioner according to the third instruction.
[0087] The above examples are intended to illustrate that the user may perform a variety of interactive operations in the target interface, and how the control device generates a third instruction containing corresponding data based on these interactive operations, and sends it to the home appliance to execute the process information corresponding to the target task. In fact, the interactive operations performed by the user in the target interface can also be other operations, which will eventually cause the home appliance to execute the process information corresponding to various tasks, which will not be listed here one by one.
[0088] It should be noted that, as a preferred implementation method, if the control device and the home appliance establish a wireless communication connection based on the Bluetooth protocol, the transmission of instructions between the control device and the home appliance will not need to rely on the Internet and the server, which effectively improves the convenience of data transmission between the control device and the home appliance. In particular, when the home appliance has not completed network configuration, the wireless communication method based on the Bluetooth protocol allows the home appliance to transmit instructions containing the interface configuration information required for network configuration to the control device, and the control device displays the interface required for network configuration according to the instruction, so that the user can enter the corresponding data to assist the home appliance to complete network configuration. While reducing the workload of interface development of the control device, it effectively improves the convenience of network configuration.
[0089] In this embodiment, the control device generates a first instruction corresponding to the target task in response to the operation, and sends the first instruction to the home appliance; after receiving the first instruction, the home appliance returns a second instruction to the control device; the control device displays the target interface according to the interface configuration information corresponding to the target task in the second instruction; the control device generates a third instruction in response to the operation, and sends the third instruction to the home appliance; the home appliance executes the process information corresponding to the target task according to the third instruction. In this way, the second instruction provided by the home appliance contains the interface configuration information corresponding to the target task, and the control device can display the target interface matching the target task according to the second instruction, without having to develop the corresponding interface for each home appliance in advance in the control device, thereby reducing the interface development workload of the control device.
[0090] In one embodiment, the interface configuration information corresponding to the target task includes interface structure configuration data corresponding to the target task and interface interaction configuration data corresponding to the target task; Figure 2 In the illustrated embodiment, step S103 is further refined and may include the following steps:
[0091] Extracting the interface structure configuration data corresponding to the target task and the interface interaction configuration data corresponding to the target task from the second instruction;
[0092] The interface structure configuration data corresponding to the target task and the interface interaction configuration data corresponding to the target task are loaded into a preset display component, so as to display the target interface through the display component.
[0093] Specifically, the interface structure configuration data in the interface configuration information corresponding to the target task is used to define the structural characteristics of the target interface, and the interface interaction configuration data is used to define the interaction characteristics of the target interface. Among them, the interface structure configuration data defines the basic framework and visual presentation of the target interface, including the layout, style, size and positional relationship of interface elements, which is the basis of the target interface; the interface interaction configuration data defines how users interact with these interface elements in the target interface, such as the response mechanism of interactive operations such as clicks, slides, and data input, and how the target interface should feedback to the user after the interactive operation, ensuring that the target interface has interactive capabilities.
[0094] The interface structure configuration data corresponding to the target task and the interface interaction configuration data corresponding to the target task are extracted from the second instruction. Next, the control device will load these extracted interface structure configuration data corresponding to the target task and the interface interaction configuration data corresponding to the target task into the preset display component. Among them, the display component is a set of program modules, libraries or engines used to render and display the interface inside the control device. It can dynamically generate corresponding interface elements based on the provided data to form the target interface, and process the user's interactive operations according to the preset logic. During the loading process of the display component, the interface structure configuration data is used to guide the display component on how to layout and render the interface elements to ensure that they appear in the correct form; and the interface interaction configuration data instructs the display component on how to respond to user input.
[0095] Finally, the control device can display the target interface (specifically displayed on the display component of the control device) through the display component, and the user can interact with the home appliance through the target interface. During the whole process, the control device dynamically builds and displays the target interface matching the target task according to the second instruction received from the home appliance, without the need to pre-develop a specific interface for each home appliance, thereby reducing the interface development workload of the control device.
[0096] In a possible implementation, the interface structure configuration data is HyperText Markup Language 5 (HTML5) data. HTML5 is a markup language used to describe the structure and content of a web page. In this implementation, the HTML5 data defines the basic framework and visual presentation of the target interface, including the layout, style, size, and positional relationship of interface elements.
[0097] In a possible implementation, the interface interaction configuration data is JavaScript data. JavaScript is a programming language that is commonly used for interactive logic processing in web page development. In this implementation, JavaScript data specifies how users interact with interface elements, such as the response mechanism of clicks, slides, inputs, and other operations, and how the interface should be fed back to the user after the operation.
[0098] In one possible implementation, the display component is a WebView component. WebView is a component that can embed web content in an application and supports web technologies such as HTML5 and JavaScript. In this implementation, the WebView component, as a program module for rendering and displaying the user interface inside the control device, can dynamically generate corresponding interface elements based on the extracted HTML5 data and JavaScript data to form a target interface, and process user interactions according to preset logic. Among them, HTML5 data is used to guide the WebView component on how to layout and render interface elements to form a target interface, while JavaScript data tells the WebView component how to respond to user input.
[0099] In this embodiment, the control device can dynamically extract and load the interface structure configuration data and interface interaction configuration data corresponding to the target task based on the second instruction received from the home appliance, and then display the target interface through a preset display component. In particular, by using the WebView component as a display component, combined with HTML5 data and JavaScript data, dynamic generation of the interface and flexible processing of interactive operations can be achieved. In summary, the second instruction provides the data required for interface display, and there is no need to pre-develop a specific interface for each home appliance in the control device, which can effectively improve the flexibility and efficiency of interface construction and reduce development costs. At the same time, users can also conveniently control home appliances through an intuitive and highly interactive target interface, thereby improving the user experience.
[0100] See also Figure 3 , provides a flow chart of sending a third instruction under a network configuration task in an embodiment of the present application, such as Figure 3 As shown, the target task is a network distribution task. The method of the embodiment of the present application may include the following steps S201-S203, wherein steps S201-S203 may be used as Figure 2 The refinement of step S104 in the illustrated embodiment.
[0101] S201, determining network distribution data in response to a data input operation in a target interface;
[0102] S202, generating a third instruction according to the network distribution data;
[0103] S203, sending a third instruction to the home appliance, so that the home appliance executes process information corresponding to the network configuration task according to the network configuration data in the third instruction.
[0104] Specifically, the network configuration task of this embodiment is to connect the home appliance to the Internet, or to bind the home appliance to a specific account, or to connect the home appliance to the Internet and bind to a specific account.
[0105] The target interface includes an input box, and the user performs data input operation on the input box to generate network configuration data. Accordingly, the control device determines the network configuration data in response to the data input operation in the target interface, wherein the network configuration data includes at least one of network connection data and account data. The network connection data is used to connect to the Internet, and the account data is used to bind a specific account.
[0106] Further, the control device generates a third instruction according to the network configuration data, wherein the third instruction includes the network configuration data. The control device sends the third instruction to the home appliance, and accordingly, the home appliance executes the process information corresponding to the network configuration task according to the network configuration data in the received third instruction.
[0107] In this embodiment, the target interface supports data input operations for network configuration tasks. The control device can determine network configuration data in response to data input operations in the target interface, generate and send a third instruction to the home appliance based on the network configuration data, and provide necessary data for the home appliance to perform the process information corresponding to the network configuration task. Based on the scheme of this embodiment, the control device and the home appliance can cooperate to support the network configuration task without pre-developing the target interface corresponding to the network configuration task in the control device, which effectively reduces the interface development workload of the control device.
[0108] In one embodiment, the network configuration data includes network data and account data; the target interface includes a first target interface, and the first target interface includes a network data input box and an account data input box; Figure 3 In the illustrated embodiment, step S201 is further refined and may include the following steps:
[0109] In response to a data input operation in the networking data input box in the first target interface, the networking data is determined, and in response to a data input operation in the account data input box in the first target interface, the account data is determined.
[0110] Specifically, this embodiment proposes that the target interface includes a first target interface, and the first target interface is used to support the user to input network data and account data at the same time. The user performs a data input operation on the network data input box in the first target interface to generate network data; accordingly, the control device determines the network data in response to the data input operation of the network data input box in the first target interface. The user performs a data input operation on the account data input box in the first target interface to generate account data; accordingly, the control device determines the account data in response to the data input operation of the account data input box in the first target interface.
[0111] like Figure 4 As shown, Figure 4001 includes a network data input box 0011 and an account data input box 0012. The user can enter network data in the network data input box 0011 and account data in the account data input box 0012, and click the "Finish" button after completing the input.
[0112] In this embodiment, the user can input networking data and account data simultaneously in the first target interface, providing necessary data for the process information corresponding to the home appliance to perform the network configuration task. The application of the first target interface improves the convenience of user data input.
[0113] In one embodiment, the network distribution data includes networking data and account data; the target interface includes a second target interface and a third target interface displayed successively, the second target interface includes a networking data input box, and the third target interface includes an account data input box; Figure 3 In the illustrated embodiment, step S201 is further refined and may include the following steps:
[0114] In response to a data input operation in the networked data input box in the second target interface, determining the networked data;
[0115] In response to a data input operation in the account data input box in the third target interface, the account data is determined.
[0116] Specifically, this embodiment proposes that the target interface includes a second target interface and a third target interface that are displayed successively, and the second target interface and the third target interface are used to support the user to input the networking data and the account data step by step.
[0117] The sequential display means that the second target interface is displayed before the third target interface. The reason is that the home appliance is usually required to connect to the Internet first and then bind the account during the network configuration process.
[0118] Specifically, the user performs a data input operation on the network data input box in the second target interface to generate network data; accordingly, the control device determines the network data in response to the data input operation on the network data input box in the second target interface, and then hides the second target interface and displays the third target interface. The user performs a data input operation on the account data input box in the third target interface to generate account data; accordingly, the control device determines the account data in response to the data input operation on the account data input box in the third target interface.
[0119] like Figure 5 As shown, Figure 50021, and the second target interface 003 includes an account data input box 0031. The user can enter the network data in the network data input box 0021 of the second target interface 002, and click the "Next" button to make the control device hide the second target interface 002 and display the third target interface 003. The user can enter the account data in the account data input box 0031 of the third target interface 003, and click the "Finish" button after completing the input.
[0120] In this embodiment, step-by-step input is more in line with the implementation logic of the network distribution task. The user can input the networking data and account data step by step on the second target interface and the third target interface to provide necessary data for the process information corresponding to the home appliance to execute the network distribution task. The second target interface and the third target interface are used for step-by-step input, which reduces the visual complexity of a single interface, allowing the second target interface and the third target interface to present more concise interface elements, thereby improving the convenience of user data input.
[0121] See also Figure 6 , provides a flow chart of sending a third instruction under a reference authentication data setting task in an embodiment of the present application, such as Figure 6 As shown, the target task is a reference authentication data setting task. The method of the embodiment of the present application may include the following steps S301-S303, wherein steps S301-S303 may be used as Figure 2 The refinement of step S104 in the illustrated embodiment.
[0122] S301, in response to a data input operation in a target interface, determining reference authentication data;
[0123] S302, generating a third instruction according to the reference authentication data;
[0124] S303: Send a third instruction to the home appliance so that the home appliance saves the reference authentication data in the third instruction.
[0125] Specifically, the reference authentication data setting task of this embodiment is intended to enable the home appliance to complete the setting of reference authentication data. The reference authentication data is a kind of data used to verify and confirm the user's authority. In the process of interaction between the home appliance and the control device, the reference authentication data is used to ensure that the user has the corresponding authority when controlling the functions of the home appliance to prevent unauthorized operations.
[0126] For example, the reference authentication data may include at least one of a reference authentication password, a reference authentication biometric, and a reference authentication pattern. The reference authentication password is a character string preset by the user for identity verification, which is usually composed of letters, numbers or special characters. The user needs to enter a character string that matches the preset password to pass the verification and obtain control rights over the home appliance; the reference authentication biometric is data that uses the user's biometrics for identity verification, such as fingerprints, facial features, irises, etc. These biometrics are unique and difficult to replicate, and can provide users with a higher level of security; and the reference authentication pattern is a user-defined graphic password. The user needs to draw or select a preset pattern to pass the identity verification. The advantage of this method is that it is easy to remember and difficult to guess. The above-mentioned reference authentication passwords, reference authentication biometrics, and reference authentication patterns are only some examples of reference authentication data and do not constitute a limitation on the reference authentication data.
[0127] The target interface includes interface elements that support user data input operations, and the user performs data input operations on the interface elements to generate reference authentication data. Accordingly, the control device determines the reference authentication data in response to the data input operation in the target interface.
[0128] Further, the control device generates a third instruction according to the reference authentication data, wherein the third instruction includes the reference authentication data. The control device sends the third instruction to the home appliance, and accordingly, the home appliance executes the process information corresponding to the reference authentication data setting task according to the reference authentication data in the received third instruction.
[0129] In this embodiment, the target interface supports data input operations for reference authentication data setting tasks, and the control device can determine the reference authentication data in response to the data input operations in the target interface, generate and send a third instruction to the home appliance according to the reference authentication data, and provide necessary data for the home appliance to execute the process information corresponding to the reference authentication data setting task. Based on the scheme of this embodiment, the control device and the home appliance can cooperate to support the reference authentication data setting task without pre-developing the target interface corresponding to the reference authentication data setting task in the control device, which effectively reduces the interface development workload of the control device.
[0130] In one embodiment, Figure 2 The refinement of step S104 in the illustrated embodiment may further include the following steps:
[0131] In response to a data entry operation in the target interface, determining time zone data and / or country code data;
[0132] generating a third instruction based on the time zone data and / or the country code data;
[0133] A third instruction is sent to the home appliance, so that the home appliance saves the time zone data and / or country code data in the third instruction.
[0134] Specifically, the user can perform data input operations on the target interface, and the data input operations may include setting time zone data (for example, the user selects the time zone in which he is located so that the home appliances can automatically adjust the time to adapt to changes such as daylight saving time) and / or country code data (for example, the user selects the country code of the country in which he is located so that the home appliances can comply with the specific standards or regulations of that country).
[0135] Once the user inputs the time zone data and / or the country code data, the control device generates a third instruction according to the time zone data and / or the country code data, and sends the third instruction to the home appliance. Accordingly, after receiving the third instruction, the home appliance saves the time zone data and / or the country code data in the third instruction. In this way, the home appliance can perform corresponding functions according to the time zone data and / or the country code data, such as automatically adjusting the time or following the standards of a specific country.
[0136] It is understandable that the third instruction may include time zone data alone, country code data alone, or both time zone data and country code data.
[0137] In this embodiment, the target interface supports data input operations for time zone data and country code data. The control device can determine the time zone data and / or country code data in response to the data input operation in the target interface, generate and send a third instruction to the home appliance according to the time zone data and / or country code data, and provide necessary data for the home appliance to save the time zone data and / or country code data. Based on the scheme of this embodiment, there is no need to pre-develop and set the target interface corresponding to the time zone data and / or country code data in the control device, which effectively reduces the interface development workload of the control device.
[0138] In one embodiment, the reference authentication data includes a reference authentication password; the target interface includes a fourth target interface, and the fourth target interface includes an authentication password input box; Figure 6 In the illustrated embodiment, step S301 is further refined and may include the following steps:
[0139] In response to a data input operation in the authentication password input box in the fourth target interface, a reference authentication password is determined.
[0140] Specifically, this embodiment proposes that the target interface includes a fourth target interface, and the fourth target interface is used to support the user to input a reference authentication password. The user performs a data input operation on the authentication password input box in the fourth target interface to generate a reference authentication password; accordingly, the control device determines the reference authentication password in response to the data input operation on the authentication password input box in the fourth target interface.
[0141] like Figure 7 As shown, Figure 7 004 includes an authentication password input box 0041, in which the user can enter a reference authentication password, and click the "Finish" button after completing the input.
[0142] In this embodiment, the user can enter the reference authentication password in the fourth target interface to provide necessary data for the home appliance to execute the process information corresponding to the reference authentication data setting task. The application of the fourth target interface improves the convenience of user data input.
[0143] See also Figure 8 , provides a flow chart of sending a third instruction under a function control task in an embodiment of the present application, such as Figure 8 As shown, the target task is a function control task. The method of the embodiment of the present application may include the following steps S401-S403, wherein steps S401-S403 may be used as Figure 2 The refinement of step S104 in the illustrated embodiment.
[0144] S401, in response to a data input operation in a target interface, determining function control authentication data;
[0145] S402, generating a third instruction according to the function control authentication data;
[0146] S403, sending a third instruction to the home appliance, so that the home appliance executes process information corresponding to the function control task according to the function control authentication data in the third instruction.
[0147] Specifically, the function control task of this embodiment is to realize the function control of the control device on the home appliance. Among them, the function control authentication data is a kind of data used to verify and confirm the user's authority. In the interaction process between the home appliance and the control device, the function control authentication data is used to provide to the home appliance. The home appliance determines whether the user of the control device has the authority to control the function of the home appliance according to the function control authentication data and the preset reference authentication data.
[0148] It can be understood that the function control authentication data and the reference authentication data correspond one to one in data form.
[0149] For example, the reference authentication data may include at least one of a reference authentication password, a reference authentication biometric, and a reference authentication pattern. Accordingly, the function control authentication data may also include at least one of a function control authentication password, a function control authentication biometric, and a function control authentication pattern.
[0150] Among them, the function control authentication password is a string of characters input by the user for identity verification, which is usually composed of letters, numbers or special characters; the function control authentication biometrics are biometric-related data input by the user through the target interface, such as fingerprints, facial features, irises, etc.; and the function control authentication pattern is a custom graphic password input by the user through the target interface, and the user needs to draw or select it on the target interface.
[0151] The target interface includes interface elements that support user data input operations, and the user performs data input operations on the interface elements to generate function control authentication data. Accordingly, the control device determines the function control authentication data in response to the data input operation in the target interface.
[0152] Further, the control device generates a third instruction according to the function control authentication data, wherein the third instruction includes the function control authentication data. The control device sends the third instruction to the home appliance, and accordingly, the home appliance executes the process information corresponding to the function control task according to the function control authentication data in the received third instruction.
[0153] In this embodiment, the target interface supports data input operations for function control tasks, and the control device can determine function control authentication data in response to the data input operation in the target interface, generate and send a third instruction to the home appliance according to the function control authentication data, and provide necessary data for the home appliance to execute the process information corresponding to the function control task. Based on the scheme of this embodiment, the control device and the home appliance can cooperate to support the function control task without pre-developing the target interface corresponding to the function control task in the control device, which effectively reduces the interface development workload of the control device.
[0154] In one embodiment, the function control authentication data includes a function control authentication password; the target interface includes a fifth target interface, and the fifth target interface includes an authentication password input box; Figure 8 In the illustrated embodiment, step S401 is further refined and may include the following steps:
[0155] In response to a data input operation in the authentication password input box in the fifth target interface, a function control authentication password is determined.
[0156] Specifically, this embodiment proposes that the target interface includes a fifth target interface, and the fifth target interface is used to support the user to input the function control authentication password. The user performs a data input operation on the authentication password input box in the fifth target interface to generate the function control authentication password; accordingly, the control device determines the function control authentication password in response to the data input operation on the authentication password input box in the fifth target interface.
[0157] like Fig. 9 As shown, Fig. 9 005 includes an authentication password input box 0051, in which the user can enter the function control authentication password, and click the "Finish" button after completing the input.
[0158] In this embodiment, the user can enter the function control authentication password in the fifth target interface to provide necessary data for the process information corresponding to the home appliance executing the function control task. The application of the fifth target interface improves the convenience of user data input.
[0159] See also Fig.10 , Fig.10 The following is a flow chart of an interactive method provided in an embodiment of the present application. Fig.10 As shown, the method of the embodiment of the present application is applied to a household appliance, and the household appliance is wirelessly connected to a control device. The method may include the following steps S501-S505.
[0160] S501: Receive a first instruction corresponding to a target task sent by a control device, wherein the first instruction is generated by the control device in response to a triggering operation of the target task.
[0161] Specifically, the steps performed by the control device involved in this embodiment are as follows. Figure 2 The illustrated embodiment will not be described in detail here. After the control device sends the first instruction corresponding to the target task to the home appliance, the home appliance receives the first instruction sent by the control device accordingly.
[0162] S502: Generate a second instruction including interface configuration information corresponding to the target task according to the first instruction.
[0163] Specifically, since the first instruction includes the identification information of the target task, the home appliance can extract the identification information of the target task from the first instruction, and then determine the target task based on the identification information of the target task.
[0164] The home appliance pre-stores interface configuration information corresponding to each of the multiple tasks, and pre-builds a mapping relationship between the tasks and the interface configuration information. The interface configuration information refers to information that defines the structural characteristics of the corresponding interface (such as the layout and style of the interface elements) and the interactive characteristics (such as how the user interacts with the interface elements).
[0165] The home appliance can further determine the interface configuration information corresponding to the target task according to the target task and the mapping relationship between the task and the interface configuration information. Then, the home appliance generates a second instruction according to the interface configuration information corresponding to the target task, wherein the second instruction includes the interface configuration information corresponding to the target task.
[0166] S503: Send a second instruction to the control device, so that the control device displays the target interface according to the interface configuration information corresponding to the target task in the second instruction.
[0167] Specifically, the home appliance sends the second instruction to the control device. In some cases, the second instruction sent by the home appliance is directly transmitted to the control device; in some cases, the second instruction sent by the home appliance is transmitted to the control device via the Internet and the server. Accordingly, the control device receives the second instruction sent by the home appliance.
[0168] S504: Receive a third instruction sent by the control device, where the third instruction is generated by the control device in response to an interactive operation in the target interface.
[0169] Specifically, after receiving the second instruction, the control device can extract the interface configuration information corresponding to the target task from the second instruction. Since the interface configuration information defines the structural characteristics and interactive characteristics of the target interface, the control device can call its own display component (such as a WebView component) according to the interface configuration information, and convert the abstract interface configuration information into a specific target interface, thereby displaying the target interface through the display component of the control device. The target interface includes interface elements that support user interaction, and the user can interact with the interface elements in the target interface. Accordingly, the control device determines the data generated by the interactive operation in the target interface in response to the interactive operation, and generates a third instruction based on the data generated by the interactive operation, wherein the third instruction includes the data generated by the interactive operation. Further, the control device sends a third instruction to the home appliance.
[0170] Accordingly, the household appliance receives the third instruction.
[0171] S505: Execute process information corresponding to the target task according to the third instruction.
[0172] Specifically, the home appliance extracts data generated by the interactive operation from the third instruction, and executes the process information corresponding to the target task according to the data generated by the interactive operation. The process information refers to a collection of a series of steps that the home appliance needs to execute, and each of the multiple tasks supported by the control device and the home appliance has corresponding process information, and the process information corresponding to the target task refers to a collection of a series of steps of the target task that the home appliance needs to execute.
[0173] In this embodiment, the home appliance receives the first instruction corresponding to the target task sent by the control device, generates a second instruction containing the interface configuration information corresponding to the target task according to the first instruction, and returns the second instruction to the control device; the control device displays the target interface according to the interface configuration information corresponding to the target task in the second instruction, generates a third instruction in response to the operation, and sends the third instruction to the home appliance; the home appliance executes the process information corresponding to the target task according to the third instruction. In this way, the second instruction provided by the home appliance contains the interface configuration information corresponding to the target task, and the control device can display the target interface matching the target task according to the second instruction, without having to develop the corresponding interface for each home appliance in advance in the control device, thereby reducing the interface development workload of the control device.
[0174] In one embodiment, Fig.10 In the illustrated embodiment, step S502 is further refined and may include the following steps:
[0175] Determine the target task according to the first instruction;
[0176] Determine the interface configuration information corresponding to the target task according to the target task and the mapping relationship between the task and the interface configuration information;
[0177] A second instruction is generated according to the interface configuration information corresponding to the target task.
[0178] Specifically, since the first instruction includes the identification information of the target task, the home appliance can extract the identification information of the target task from the first instruction, and then determine the target task based on the identification information of the target task.
[0179] The home appliance pre-stores interface configuration information corresponding to each of the multiple tasks, and pre-builds a mapping relationship between the tasks and the interface configuration information. The mapping relationship between the tasks and the interface configuration information can be implemented in a variety of ways.
[0180] In a possible implementation, the mapping relationship between the task and the interface configuration information is stored in a database. When the home appliance receives the first instruction and extracts the identification information of the target task, the interface configuration information corresponding to the target task can be queried in the database according to the identification information of the target task.
[0181] In one possible implementation, a configuration file (such as XML or JSON format) may indicate a mapping relationship between tasks and interface configuration information. When the home appliance receives the first instruction and extracts the identification information of the target task, it may load and parse the configuration file, and query the interface configuration information corresponding to the target task according to the identification information of the target task.
[0182] In addition, there are many other ways to implement the mapping relationship between tasks and interface configuration information, which are not listed here one by one.
[0183] Furthermore, the household appliance generates a second instruction according to the acquired interface configuration information corresponding to the target task, and the second instruction includes the interface configuration information corresponding to the target task.
[0184] In this embodiment, the household appliance pre-stores the interface configuration information, and determines the interface configuration information corresponding to the target task according to the target task and the mapping relationship between the task and the interface configuration information; then, the household appliance generates a second instruction according to the interface configuration information corresponding to the target task, so that the second instruction contains the data required for the control device to display the interface. There is no need to develop a corresponding interface for each household appliance in the control device in advance, thereby reducing the workload of interface development for the control device.
[0185] See also Fig.11 , provides a flow chart of the process information corresponding to the execution of the network configuration task for the embodiment of the present application, such as Fig.11 As shown, the target task is a network distribution task. The method of the embodiment of the present application may include the following steps S601-S602, wherein steps S601-S602 may be used as Fig.10 The refinement of step S505 in the illustrated embodiment.
[0186] S601, extracting network distribution data from the third instruction;
[0187] S602, executing process information corresponding to the network configuration task according to the network configuration data.
[0188] Specifically, after receiving the third instruction, the home appliance extracts network configuration data from the third instruction, wherein the network configuration data includes at least one of network connection data and account data. The process information corresponding to the network configuration task refers to a collection of a series of steps of the network configuration task that the home appliance needs to perform.
[0189] If the network configuration data only includes networking data, the home appliance executes the process information corresponding to the network configuration task according to the networking data, so that the home appliance is connected to the Internet;
[0190] If the network configuration data only includes account data, the home appliance executes the process information corresponding to the network configuration task according to the account data, so that the home appliance is bound to a specific account;
[0191] If the network configuration data includes networking data and account data, the home appliance executes the process information corresponding to the network configuration task according to the networking data and account data, so that the home appliance is connected to the Internet and is bound to a specific account.
[0192] It should be noted that the specific account involved in this embodiment refers to the account corresponding to the account data, and the account is usually held by the user who controls the device.
[0193] In this embodiment, the household appliance extracts the network configuration data from the third instruction, and uses the network configuration data to execute the process information corresponding to the network configuration task. Based on the scheme of this embodiment, the control device and the household appliance can cooperate to support the network configuration task without pre-developing the target interface corresponding to the network configuration task in the control device, which effectively reduces the interface development workload of the control device.
[0194] In one embodiment, the network configuration data includes network connection data and account data; Fig.11 In the illustrated embodiment, step S602 is further refined and may include the following steps:
[0195] Connect to the Internet according to the network data, and establish a communication connection with the server through the Internet;
[0196] An account binding request is generated according to the account data, and the account binding request is sent to the server, so that the server binds the home appliance device to the user account corresponding to the account data according to the account data in the account binding request.
[0197] Specifically, the networking data involved in this embodiment includes information necessary for the home appliance to access the Internet. The home appliance extracts the networking data from the network distribution data and uses the networking data to configure the network interface of the home appliance.
[0198] For example, network data includes Wi-Fi service set identifier (SSID), Wi-Fi password, and possible network configuration parameters, where Wi-Fi SSID can also be regarded as the WiFi name. Home appliances connect to the router based on the WiFi name and Wi-Fi password, and the router connects to the Internet, and then the home appliances can establish a communication connection with the server through the Internet.
[0199] The account data involved in this embodiment is associated with the user identity, including the user account ID, password or encrypted authentication information. The home appliance extracts the account data from the network data and uses the account data to bind the home appliance to the corresponding account.
[0200] During this process, the home appliance generates an account binding request based on the account data and sends the account binding request to the server. The account binding request is a structured data packet that contains key fields such as the home appliance's identification information (such as MAC address, serial number or device name), device type, and account data.
[0201] After generating the account binding request, the home appliance will send the account binding request to the server via the Internet. After receiving the account binding request, the server will perform a series of verification operations, including checking the legitimacy of the home appliance, verifying the account data, and confirming the binding relationship. The server may interact with the backend database to compare the account data in the account binding request with the stored user information to ensure the validity and permissions of the account. At the same time, the server will also record the binding relationship between the identification information of the home appliance and the account. At this point, the server has successfully bound the home appliance to the user account corresponding to the account data based on the account data in the account binding request, providing a basis for subsequent remote control, data synchronization and other functions.
[0202] In this embodiment, the household appliance implements networking using networking data and implements account binding using account data, thereby completing the network configuration task and providing the necessary conditions for supporting the control device to control the functions of the household appliance.
[0203] See also Fig.12 , provides a flow chart of the process information corresponding to the reference authentication data setting task for the embodiment of the present application, such as Fig.12 As shown, the target task is a reference authentication data setting task. The method of the embodiment of the present application may include the following steps S701-S702, wherein steps S701-S702 may be used as Fig.10 The refinement of step S505 in the illustrated embodiment.
[0204] S701, extracting reference authentication data from the third instruction;
[0205] S702, save reference authentication data.
[0206] Specifically, after receiving the third instruction, the home appliance extracts reference authentication data from the third instruction. The reference authentication data is a kind of data used to verify and confirm the user's authority. In the process of interaction between the home appliance and the control device, the reference authentication data is used to ensure that the user has the corresponding authority when controlling the functions of the home appliance to prevent unauthorized operations.
[0207] Furthermore, the home appliance saves the reference authentication data. In one possible implementation, the home appliance can save the authentication data in a memory built into the home appliance, such as a flash memory (Flash) or an electrically erasable programmable read-only memory (EEPROM); in another possible implementation, the home appliance can save the authentication data in a preset security chip.
[0208] In this embodiment, the home appliance extracts the reference authentication data from the third instruction, and uses the reference authentication data to execute the process information corresponding to the reference authentication data setting task. Based on the scheme of this embodiment, the control device and the home appliance can cooperate to support the reference authentication data setting task without pre-developing the target interface corresponding to the reference authentication data setting task in the control device, which effectively reduces the interface development workload of the control device. At the same time, unlike the method of storing the reference authentication data on the server side in the related art, the reference authentication data is stored in the home appliance in this embodiment, which will enable the home appliance to use the locally stored reference authentication data to achieve authentication without relying on the Internet and the server side.
[0209] See also Fig.13 , provides a flow chart of the process information corresponding to the execution function control task for the embodiment of the present application, such as Fig.13 As shown, the target task is a function control task. The method of the embodiment of the present application may include the following steps S801-S804, wherein steps S801-S804 may be used as Fig.10 The refinement of step S505 in the illustrated embodiment.
[0210] S801, extracting function control authentication data from the third instruction;
[0211] S802, comparing the function control authentication data with preset reference authentication data to obtain a comparison result;
[0212] S803, if the comparison result indicates that the function control authentication data is consistent with the reference authentication data, executing the first process information corresponding to the function control task;
[0213] S804: If the comparison result indicates that the function control authentication data is inconsistent with the reference authentication data, the second process information corresponding to the function control task is executed.
[0214] Specifically, the home appliance first extracts function control authentication data from the third instruction, which is the basis for verifying user authority and ensuring that the user can control the function of the home appliance. The extracted function control authentication data may include a function control authentication password, a function control authentication biometric feature, or a function control authentication pattern.
[0215] Next, the home appliance compares the extracted function control authentication data with the preset reference authentication data to obtain a comparison result.
[0216] If the comparison result indicates that the function control authentication data is consistent with the reference authentication data, the home appliance executes the first process information corresponding to the function control task. It can be understood that in this case, this means that the user has successfully passed the authority verification, and the first process information corresponding to the function control task of the home appliance. Specifically, the first process information corresponding to the function control task includes steps for controlling the target function of the home appliance. For example, if the user wants to adjust the air outlet temperature of the smart air conditioner, the corresponding air outlet temperature adjustment action will be performed during the process of the home appliance executing the first process information corresponding to the function control task.
[0217] If the comparison result indicates that the function control authentication data is inconsistent with the reference authentication data, the household appliance executes the second process information corresponding to the function control task. It can be understood that in this case this means that the user has not passed the authority verification, and the second process information corresponding to the function control task of the household appliance. Specifically, the second process information corresponding to the function control task includes steps for refusing to control the target function of the household appliance. For example, if the user wants to adjust the air outlet temperature of the smart air conditioner, during the process of the household appliance executing the second process information corresponding to the function control task, the household appliance will return a rejection control information to the control device, and the rejection control information is used to indicate that the user has not passed the authority verification and the request to adjust the air outlet temperature of the smart air conditioner is rejected; or, on this basis, it indicates that the user needs to re-enter the function control authentication data.
[0218] It should be noted that the function control authentication data and the reference authentication data in this embodiment correspond one to one in data form. Regardless of whether the user enters a function control authentication password, a function control authentication biometric, or a function control authentication pattern, the home appliance will compare it with the corresponding reference authentication data to ensure the accuracy and security of the user's authority.
[0219] In this embodiment, the household appliance extracts the function control authentication data from the third instruction, and uses the function control authentication data and the preset reference authentication data to execute the process information corresponding to the function control task. Based on the scheme of this embodiment, the control device and the household appliance can cooperate to support the function control task without the need to pre-develop the target interface corresponding to the function control task in the control device, which effectively reduces the interface development workload of the control device. At the same time, unlike the method of storing the reference authentication data on the server side in the related art, the reference authentication data is stored on the household appliance in this embodiment, which will enable the household appliance to use the locally stored reference authentication data to achieve authentication without relying on the Internet and the server side.
[0220] In one embodiment, the function control authentication data includes a function control authentication password, and the reference authentication data includes a reference authentication password; Fig.13 In the illustrated embodiment, step S802 is further refined and may include the following steps:
[0221] The function control authentication password is compared with a preset reference authentication password to obtain a comparison result.
[0222] Specifically, when a user attempts to perform function control on a home appliance, the home appliance will compare the function control authentication password with a preset reference authentication password. If the two function control authentication passwords are consistent with the reference authentication password, it means that the user has passed the authority verification, and the home appliance can execute the first process information corresponding to the function control task; if the two function control authentication passwords are inconsistent with the reference authentication password, it means that the user has not passed the authority verification, and the home appliance may refuse to execute the user's function control request, or prompt the user to re-enter the password.
[0223] For example, suppose a user wants to control a smart door lock through a smartphone to unlock it. In this process, the user needs to enter a function control authentication password on the smartphone, which will be transmitted to the smart door lock through a third instruction. After receiving the function control authentication password entered by the user, the smart door lock will compare it with the reference authentication password preset in the smart door lock. If the two passwords are the same, for example, the function control authentication password entered by the user is "123456", and the reference authentication password preset in the door lock is also "123456", then the smart door lock will unlock and allow the user to enter; if the two passwords are inconsistent, for example, the function control authentication password entered by the user is "123456", and the reference authentication password preset in the door lock is "654321", then the smart door lock will reject the unlock request and may send a prompt message to the smartphone indicating that the permission verification failed.
[0224] In this embodiment, the home appliance implements authentication using the function control authentication password and the reference authentication password, and decides how to respond to the user's function control request based on the authentication result, thereby effectively ensuring the control security of the home appliance.
[0225] In one embodiment, based on Figure 2 , Fig.10 In the illustrated embodiment, the first instruction, the second instruction, and the third instruction are encrypted and transmitted using a preset encryption algorithm.
[0226] Specifically, during the communication process between the control device and the home appliance, all transmitted instructions are encrypted to improve the security of data transmission and prevent data from being stolen or tampered with during transmission.
[0227] First, the control device and the home appliance need to share one or more keys, which are used to encrypt and decrypt the transmitted instructions. The generation of the key can be determined by negotiation between the two parties, or a secure key exchange protocol can be used.
[0228] When the control device needs to send a first instruction to the home appliance, it will use a preset encryption algorithm and a shared key to encrypt the first instruction to generate an encrypted instruction. Similarly, when the home appliance sends a second instruction or receives a third instruction, it will also use a corresponding encryption algorithm and key to encrypt the instruction.
[0229] The encrypted instructions are transmitted to the recipient via wireless communication connections (such as Bluetooth, Wi-Fi, etc.). During the transmission process, even if the data is stolen, it is difficult for the thief to decrypt and obtain the original instruction content because it has been encrypted.
[0230] The receiver (whether it is a control device or a home appliance) receives the encrypted instruction, uses the same encryption algorithm and shared key as the sender to decrypt the encrypted instruction and restore the original instruction content.
[0231] In some possible implementations, the encryption algorithm includes any one of a symmetric encryption algorithm, an asymmetric encryption algorithm, and a hybrid encryption algorithm.
[0232] Among them, the symmetric encryption algorithm can be a Data Encryption Standard (DES) algorithm, an Advanced Encryption Standard (AES) algorithm, etc. The symmetric encryption algorithm uses the same key for encryption and decryption, and its advantage is fast encryption speed, which is suitable for encrypted transmission of large amounts of data.
[0233] Among them, the asymmetric encryption algorithm can be the Rivest-Shamir-Adleman (RSA) algorithm, the Elliptic Curve Cryptography (ECC) algorithm, etc. The asymmetric encryption algorithm uses a pair of keys (public key and private key) for encryption and decryption, the public key is used for encryption, and the private key is used for decryption, and its advantage is high security.
[0234] Among them, the hybrid encryption algorithm combines the advantages of symmetric encryption algorithm and asymmetric encryption algorithm, uses asymmetric encryption algorithm to securely distribute the keys of symmetric encryption algorithm, and then uses symmetric encryption algorithm to encrypt and transmit large amounts of data. Its advantage is that it not only ensures the security of data transmission, but also improves the encryption speed.
[0235] In this embodiment, by using a preset encryption algorithm to encrypt and transmit the first instruction, the second instruction, and the third instruction, the security of communication between the control device and the home appliance can be significantly improved to prevent data leakage and tampering.
[0236] In order to facilitate the understanding of this application scheme, combined with the above Figure 1 The scene shows, Figure 2 - Fig.13 The method of the illustrated embodiment provides an example of interaction between a control device and a household appliance.
[0237] For an interactive example, see Fig.14 , Fig.14 This is an example schematic diagram of interaction under a network distribution task provided in an embodiment of the present application.
[0238] like Fig.14 As shown, the control device generates a first instruction corresponding to the network configuration task in response to the triggering operation of the network configuration task, and sends the first instruction to the home appliance;
[0239] The home appliance receives the first instruction, determines the network configuration task and the interface configuration information corresponding to the network configuration task according to the first instruction. The home appliance generates a second instruction according to the interface configuration information corresponding to the network configuration task, and sends the second instruction to the control device;
[0240] The control device receives the second instruction, and displays the first target interface according to the interface configuration information corresponding to the network configuration task in the second instruction; determines the network data and account data in response to the data input operation in the first target interface; generates a third instruction according to the network data and account data, and sends the third instruction to the home appliance.
[0241] The household appliance receives the third instruction, extracts the networking data and account data from the third instruction, connects to the Internet according to the networking data, and establishes a communication connection with the server through the Internet; generates an account binding request according to the account data, and sends the account binding request to the server, so that the server binds the household appliance to the user account corresponding to the account data according to the account data in the account binding request.
[0242] For an interactive example, see Fig.15 , Fig.15 This is an example schematic diagram of interaction under a network distribution task provided in an embodiment of the present application.
[0243] like Fig.15 As shown, the control device generates a first instruction corresponding to the network configuration task in response to the triggering operation of the network configuration task, and sends the first instruction to the home appliance;
[0244] The home appliance receives the first instruction, determines the network configuration task and the interface configuration information corresponding to the network configuration task according to the first instruction. The home appliance generates a second instruction according to the interface configuration information corresponding to the network configuration task, and sends the second instruction to the control device;
[0245] The control device receives the second instruction, displays the second target interface according to the interface configuration information corresponding to the network configuration task in the second instruction; and determines the network data in response to the data input operation in the second target interface;
[0246] Controlling the device to hide the second target interface;
[0247] The control device displays a third target interface according to the interface configuration information corresponding to the network configuration task in the second instruction; and determines the account data in response to the data input operation in the third target interface;
[0248] The control device generates a third instruction according to the network data and the account data, and sends the third instruction to the home appliance.
[0249] The household appliance receives the third instruction, extracts the networking data and account data from the third instruction, connects to the Internet according to the networking data, and establishes a communication connection with the server through the Internet; generates an account binding request according to the account data, and sends the account binding request to the server, so that the server binds the household appliance to the user account corresponding to the account data according to the account data in the account binding request.
[0250] For an interactive example, see Fig.16 , Fig.16 This is an example schematic diagram of interaction under a network distribution task provided in an embodiment of the present application.
[0251] like Fig.16As shown, the control device generates a first instruction corresponding to the network configuration task in response to the triggering operation of the network configuration task, and sends the first instruction to the home appliance;
[0252] The home appliance receives the first instruction, determines the network configuration task and the interface configuration information corresponding to the network configuration task according to the first instruction. The home appliance generates a second instruction for displaying the second target interface according to the interface configuration information corresponding to the network configuration task, and sends the second instruction for displaying the second target interface to the control device;
[0253] The control device receives a second instruction for displaying a second target interface, displays the second target interface according to the interface configuration information corresponding to the network configuration task in the second instruction for displaying the second target interface; and determines the network data in response to the data input operation in the second target interface;
[0254] The control device generates a third instruction including the networking data according to the networking data, and sends the third instruction including the networking data to the home appliance.
[0255] The control device hides the second target interface.
[0256] The home appliance receives the third instruction including the networking data, extracts the networking data from the third instruction, connects to the Internet according to the networking data, and establishes a communication connection with the server through the Internet;
[0257] The household appliance generates a second instruction for displaying a third target interface according to the interface configuration information corresponding to the network distribution task, and sends the second instruction for displaying the third target interface to the control device;
[0258] The control device receives a second instruction for displaying a third target interface, displays the third target interface according to the interface configuration information corresponding to the network configuration task in the second instruction for displaying the third target interface; and determines the account data in response to the data input operation in the third target interface;
[0259] The control device generates a third instruction including the account data according to the account data, and sends the third instruction including the account data to the home appliance.
[0260] The home appliance receives a third instruction containing account data; extracts the account data from the third instruction, generates an account binding request based on the account data, and sends the account binding request to the server, so that the server binds the home appliance to the user account corresponding to the account data based on the account data in the account binding request.
[0261] For an interactive example, see Fig.17 , Fig.17 This is an example schematic diagram of interaction under a reference authentication data setting task provided in an embodiment of the present application.
[0262] like Fig.17 As shown, the control device generates a first instruction corresponding to the reference authentication data setting task in response to the triggering operation of the reference authentication data setting task, and sends the first instruction to the home appliance;
[0263] The home appliance receives the first instruction, determines the reference authentication data setting task and the interface configuration information corresponding to the reference authentication data setting task according to the first instruction. The home appliance generates a second instruction according to the interface configuration information corresponding to the reference authentication data setting task, and sends the second instruction to the control device;
[0264] The control device receives the second instruction, sets the interface configuration information corresponding to the task according to the reference authentication data in the second instruction, and displays the fourth target interface; determines the reference authentication data in response to the data input operation in the fourth target interface; generates a third instruction according to the reference authentication data, and sends the third instruction to the home appliance.
[0265] The household appliance receives the third instruction, extracts reference authentication data from the third instruction, and saves the reference authentication data.
[0266] For an interactive example, see Fig.18 , Fig.18 This is an example schematic diagram of interaction under a functional control task provided in an embodiment of the present application.
[0267] like Fig.18 As shown, the control device generates a first instruction corresponding to the function control task in response to the triggering operation of the function control task, and sends the first instruction to the home appliance;
[0268] The home appliance receives the first instruction, determines the function control task and the interface configuration information corresponding to the function control task according to the first instruction. The home appliance generates a second instruction according to the interface configuration information corresponding to the function control task, and sends the second instruction to the control device;
[0269] The control device receives the second instruction, and displays the fifth target interface according to the interface configuration information corresponding to the function control task in the second instruction; determines the function control authentication data in response to the data input operation in the fifth target interface; generates a third instruction according to the function control authentication data, and sends the third instruction to the home appliance.
[0270] The household appliance receives the third instruction, extracts function control authentication data from the third instruction, and compares the function control authentication data with preset reference authentication data to obtain a comparison result.
[0271] If the comparison result indicates that the function control authentication data is consistent with the reference authentication data, the home appliance executes the first process information corresponding to the function control task;
[0272] If the comparison result indicates that the function control authentication data is inconsistent with the reference authentication data, the home appliance executes the second process information corresponding to the function control task.
[0273] Based on the above Figure 1 The following will combine Fig.19 The interactive device provided in the embodiment of the present application is introduced in detail. It should be noted that: Fig.19 The interactive device 1 is used to execute the present application Figure 2 - Fig. 9 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 2 - Fig. 9 Specifically, the interactive device 1 is applied to a control device, and the control device is wirelessly connected to a home appliance; the interactive device 1 may include a first sending module 11, a receiving module 12, a display module 13, and a second sending module 14, as follows:
[0274] A first sending module 11 is used to generate a first instruction corresponding to the target task in response to a triggering operation of the target task, and send the first instruction to the home appliance;
[0275] A receiving module 12, configured to receive a second instruction sent by the household appliance according to the first instruction;
[0276] A display module 13, used to display a target interface according to the interface configuration information corresponding to the target task in the second instruction;
[0277] The second sending module 14 is used to generate a third instruction in response to the interactive operation in the target interface, and send the third instruction to the home appliance so that the home appliance executes the process information corresponding to the target task according to the third instruction.
[0278] Optionally, in some embodiments, the interface configuration information corresponding to the target task includes interface structure configuration data corresponding to the target task and interface interaction configuration data corresponding to the target task; the display module 13 can be used to: extract the interface structure configuration data corresponding to the target task and the interface interaction configuration data corresponding to the target task from the second instruction; load the interface structure configuration data corresponding to the target task and the interface interaction configuration data corresponding to the target task into a preset display component to display the target interface through the display component.
[0279] Optionally, in some embodiments, the target task is a network configuration task; the second sending module 14 can be used to: determine the network configuration data in response to the data input operation in the target interface; generate a third instruction based on the network configuration data; and send the third instruction to the household appliance so that the household appliance can execute the process information corresponding to the network configuration task according to the network configuration data in the third instruction.
[0280] Optionally, in some embodiments, the network configuration data includes networking data and account data; the target interface includes a first target interface, and the first target interface includes a networking data input box and an account data input box; the second sending module 14 can be used to: determine the networking data in response to the data input operation of the networking data input box in the first target interface, and determine the account data in response to the data input operation of the account data input box in the first target interface.
[0281] Optionally, in some embodiments, the network configuration data includes networking data and account data; the target interface includes a second target interface and a third target interface displayed successively, the second target interface includes a networking data input box, and the third target interface includes an account data input box; the second sending module 14 can be used to: determine the networking data in response to the data input operation in the networking data input box in the second target interface; determine the account data in response to the data input operation in the account data input box in the third target interface.
[0282] Optionally, in some embodiments, the target task is a reference authentication data setting task; the second sending module 14 can be used to: determine the reference authentication data in response to the data input operation in the target interface; generate a third instruction based on the reference authentication data; send the third instruction to the home appliance so that the home appliance saves the reference authentication data in the third instruction.
[0283] Optionally, in some embodiments, the reference authentication data includes a reference authentication password; the target interface includes a fourth target interface, and the fourth target interface includes an authentication password input box; the second sending module 14 can be used to: determine the reference authentication password in response to a data input operation in the authentication password input box in the fourth target interface.
[0284] Optionally, in some embodiments, the target task is a function control task; the second sending module 14 can be used to: determine the function control authentication data in response to the data input operation in the target interface; generate a third instruction based on the function control authentication data; send the third instruction to the household appliance, so that the household appliance executes the process information corresponding to the function control task according to the function control authentication data in the third instruction.
[0285] Optionally, in some embodiments, the function control authentication data includes a function control authentication password; the target interface includes a fifth target interface, and the fifth target interface includes an authentication password input box; the second sending module 14 can be used to: determine the function control authentication password in response to a data input operation in the authentication password input box in the fifth target interface.
[0286] For the effects that can be achieved by this embodiment, please refer to the relevant embodiments of the above-mentioned interaction method, which will not be repeated here.
[0287] Based on the above Figure 1 The following will combine Fig. 20 The interactive device provided in the embodiment of the present application is introduced in detail. It should be noted that: Fig. 20 The interactive device 2 in the present application is used to execute Fig.10 - Fig.13 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Fig.10 - Fig.13 Specifically, the interactive device 2 is applied to a household appliance, and the household appliance is wirelessly connected to a control device; the interactive device 2 may include a first receiving module 21, a generating module 22, a sending module 23 and a second receiving module 24, as follows:
[0288] A first receiving module 21 is used to receive a first instruction corresponding to a target task sent by a control device, wherein the first instruction is generated by the control device in response to a triggering operation of the target task;
[0289] A generating module 22, configured to generate a second instruction including interface configuration information corresponding to a target task according to the first instruction;
[0290] The sending module 23 is used to send a second instruction to the control device, so that the control device displays the target interface according to the interface configuration information corresponding to the target task in the second instruction;
[0291] A second receiving module 24, configured to receive a third instruction sent by the control device, wherein the third instruction is generated by the control device in response to an interactive operation in the target interface;
[0292] The execution module 25 is used to execute the process information corresponding to the target task according to the third instruction.
[0293] Optionally, in some embodiments, the generation module 22 can be used to: determine the target task according to the first instruction; determine the interface configuration information corresponding to the target task according to the target task and the mapping relationship between the task and the interface configuration information; and generate a second instruction according to the interface configuration information corresponding to the target task.
[0294] Optionally, in some embodiments, the target task is a network configuration task; the execution module 25 may be used to: extract network configuration data from the third instruction; and execute process information corresponding to the network configuration task according to the network configuration data.
[0295] Optionally, in some embodiments, the network configuration data includes networking data and account data; the execution module 25 can be used to: connect to the Internet according to the networking data, and establish a communication connection with the server through the Internet; generate an account binding request according to the account data, and send the account binding request to the server, so that the server binds the home appliance device to the user account corresponding to the account data according to the account data in the account binding request.
[0296] Optionally, in some embodiments, the target task is a reference authentication data setting task; the execution module 25 may be used to: extract reference authentication data from the third instruction; and save the reference authentication data.
[0297] Optionally, in some embodiments, the target task is a function control task; the execution module 25 can be used to: extract function control authentication data from the third instruction; compare the function control authentication data with preset reference authentication data to obtain a comparison result; if the comparison result indicates that the function control authentication data is consistent with the reference authentication data, then execute the first process information corresponding to the function control task; if the comparison result indicates that the function control authentication data is inconsistent with the reference authentication data, then execute the second process information corresponding to the function control task.
[0298] Optionally, in some embodiments, the function control authentication data includes a function control authentication password, and the reference authentication data includes a reference authentication password; the execution module 25 can be used to compare the function control authentication password with a preset reference authentication password to obtain a comparison result.
[0299] For the effects that can be achieved by this embodiment, please refer to the relevant embodiments of the above-mentioned interaction method, which will not be repeated here.
[0300] The present application embodiment also provides an electronic device 900. Fig.21 , Fig.21 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 900 includes a processor 901 and a memory 902. The processor 901 is electrically connected to the memory 902.
[0301] Processor 901 is the control center of electronic device 900. It uses various interfaces and lines to connect various parts of the entire electronic device, executes various functions of the electronic device and processes data by running or calling computer programs stored in memory 902, and calling data stored in memory 902, thereby monitoring the electronic device as a whole.
[0302] The memory 902 may be used to store software programs and modules, and the processor 901 executes various functional applications and interactions by running computer programs and modules stored in the memory 902. The memory 902 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required for at least one function, etc.; the data storage area may store data created according to the use of the electronic device, etc.
[0303] In addition, the memory 902 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 902 may also include a memory controller to provide the processor 901 with access to the memory 902.
[0304] In this embodiment, the memory 902 in the electronic device 900 is also used to store executable program code, and the processor 901 is also used to call and run the executable program code from the memory 902, so that the electronic device 900 executes the above-mentioned related method steps to implement any one of the interaction methods provided in the above-mentioned embodiments.
[0305] Specifically, when the electronic device 900 is a control device, the electronic device 900 executes the above Figure 2 - Fig. 9 The embodiment and its steps are detailed in any one of the interaction methods provided in the embodiment; when the electronic device 900 is a home appliance, the electronic device 900 executes the above Fig.10 - Fig.13 The illustrated embodiments and their steps refine any one of the interaction methods provided by the embodiments.
[0306] The beneficial effects that can be achieved by this embodiment are detailed in the previous embodiments and will not be described again here.
[0307] This embodiment also provides an interactive system, which includes a control device and a home appliance, and the control device and the home appliance are wirelessly connected;
[0308] The control device is used to: generate a first instruction corresponding to the target task in response to a trigger operation of the target task, and send the first instruction to the home appliance; receive a second instruction sent by the home appliance according to the first instruction; display the target interface according to the interface configuration information corresponding to the target task in the second instruction; generate a third instruction in response to an interactive operation in the target interface, and send the third instruction to the home appliance;
[0309] A household appliance, used for: receiving a first instruction corresponding to a target task sent by a control device; generating a second instruction including interface configuration information corresponding to the target task according to the first instruction; sending the second instruction to the control device; receiving a third instruction sent by the control device; and executing process information corresponding to the target task according to the third instruction.
[0310] Optionally, the control device is also used to perform the above Figure 2 - Fig. 9 The illustrated embodiments and their steps refine any one of the interaction methods provided by the embodiments.
[0311] Optionally, the household appliance is also used to perform the above Fig.10 - Fig.13 The illustrated embodiments and their steps refine any one of the interaction methods provided by the embodiments.
[0312] The beneficial effects that can be achieved by this embodiment are detailed in the previous embodiments and will not be described again here.
[0313] An embodiment of the present specification also provides a computer program product, which stores at least one instruction, and when the at least one instruction is executed by the processor, any one of the interaction methods provided in the above embodiments is implemented.
[0314] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement any one of the interaction methods provided in the above-mentioned embodiments.
[0315] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0316] Since the instructions stored in the storage medium can execute the steps in any interactive method provided in the embodiments of the present application, the beneficial effects that can be achieved by any interactive method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0317] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0318] For the interactive device of the embodiment of the present application, each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0319] The above describes in detail the interactive methods, devices, systems, electronic devices, storage media and products provided in the embodiments of the present application. The principles and implementation methods of the present application are described in detail using specific examples herein. The above examples are only used to help understand the methods and core ideas of the present application. At the same time, for those skilled in the art, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the contents of this specification should not be understood as limiting the present application.
Claims
1. An interactive method, characterized in that: Applied to a control device, the control device is wirelessly connected to a household appliance, and the method includes: In response to a triggering operation of a target task, generating a first instruction corresponding to the target task, and sending the first instruction to the home appliance; receiving a second instruction sent by the household appliance according to the first instruction; Displaying a target interface according to the interface configuration information corresponding to the target task in the second instruction; In response to the interactive operation in the target interface, a third instruction is generated, and the third instruction is sent to the home appliance so that the home appliance executes the process information corresponding to the target task according to the third instruction.
2. The interactive method according to claim 1, characterized in that: The interface configuration information corresponding to the target task includes interface structure configuration data corresponding to the target task and interface interaction configuration data corresponding to the target task; The displaying a target interface according to the interface configuration information corresponding to the target task in the second instruction includes: Extracting the interface structure configuration data corresponding to the target task and the interface interaction configuration data corresponding to the target task from the second instruction; The interface structure configuration data corresponding to the target task and the interface interaction configuration data corresponding to the target task are loaded into a preset display component, so as to display the target interface through the display component.
3. The interactive method according to claim 1, characterized in that: The target task is a network distribution task; and in response to the interactive operation in the target interface, generating a third instruction, sending the third instruction to the home appliance so that the home appliance executes the process information corresponding to the target task according to the third instruction, including: In response to a data input operation in the target interface, determining network distribution data; Generate the third instruction according to the network distribution data; The third instruction is sent to the home appliance so that the home appliance executes the process information corresponding to the network configuration task according to the network configuration data in the third instruction.
4. The interactive method according to claim 3, characterized in that: The network distribution data includes networking data and account data; the target interface includes a first target interface, and the first target interface includes a networking data input box and an account data input box; The step of determining the network configuration data in response to the data input operation in the target interface includes: In response to a data input operation in the networking data input box in the first target interface, the networking data is determined, and in response to a data input operation in the account data input box in the first target interface, the account data is determined.
5. The interactive method according to claim 3, characterized in that: The network distribution data includes networking data and account data; the target interface includes a second target interface and a third target interface displayed successively, the second target interface includes a networking data input box, and the third target interface includes an account data input box; The step of determining the network configuration data in response to the data input operation in the target interface includes: In response to a data input operation in the network data input box in the second target interface, determining the network data; In response to a data input operation in the account data input box in the third target interface, the account data is determined.
6. The interactive method according to claim 1, characterized in that: The target task is a reference authentication data setting task; the response to the third instruction triggered by the operation in the target interface, sending the third instruction to the home appliance so that the home appliance executes the process information corresponding to the target task according to the third instruction, includes: In response to a data input operation in the target interface, determining reference authentication data; generating the third instruction according to the reference authentication data; The third instruction is sent to the home appliance so that the home appliance saves the reference authentication data in the third instruction.
7. The interactive method according to claim 6, characterized in that: The reference authentication data includes a reference authentication password; the target interface includes a fourth target interface, and the fourth target interface includes an authentication password input box; The step of determining function control authentication data in response to a data input operation in the target interface includes: In response to a data input operation in the authentication password input box in the fourth target interface, the reference authentication password is determined.
8. The interactive method according to claim 1, characterized in that: The target task is a function control task; in response to a third instruction triggered by an operation in the target interface, sending the third instruction to the home appliance so that the home appliance executes the process information corresponding to the target task according to the third instruction, including: In response to a data input operation in the target interface, determining function control authentication data; generating the third instruction according to the function control authentication data; The third instruction is sent to the home appliance so that the home appliance executes the process information corresponding to the function control task according to the function control authentication data in the third instruction.
9. The interactive method according to claim 8, characterized in that: The function control authentication data includes a function control authentication password; the target interface includes a fifth target interface, and the fifth target interface includes an authentication password input box; the function control authentication data is determined in response to a data input operation in the target interface, including: In response to a data input operation in the authentication password input box in the fifth target interface, the function control authentication password is determined.
10. An interactive method, characterized in that: Applied to a household appliance, the household appliance is wirelessly connected to a control device, and the method includes: Receiving a first instruction corresponding to the target task sent by the control device, wherein the first instruction is generated by the control device in response to a triggering operation of the target task; According to the first instruction, generating a second instruction including interface configuration information corresponding to the target task; Sending the second instruction to the control device, so that the control device displays a target interface according to the interface configuration information corresponding to the target task in the second instruction; receiving a third instruction sent by the control device, wherein the third instruction is generated by the control device in response to an interactive operation in the target interface; Execute the process information corresponding to the target task according to the third instruction.
11. The interactive method according to claim 10, characterized in that: The step of generating, according to the first instruction, a second instruction including the interface configuration information corresponding to the target task comprises: Determine the target task according to the first instruction; Determine the interface configuration information corresponding to the target task according to the target task and the mapping relationship between the task and the interface configuration information; The second instruction is generated according to the interface configuration information corresponding to the target task.
12. The interactive method according to claim 10, characterized in that: The target task is a network distribution task; The process information corresponding to executing the target task according to the third instruction includes: Extracting network distribution data from the third instruction; Execute the process information corresponding to the network configuration task according to the network configuration data.
13. The interactive method according to claim 12, characterized in that: The network configuration data includes networking data and account data; the process information corresponding to executing the network configuration task according to the network configuration data includes: Connecting to the Internet according to the networking data, and establishing a communication connection with a server through the Internet; An account binding request is generated according to the account data, and the account binding request is sent to the server, so that the server binds the home appliance to the user account corresponding to the account data according to the account data in the account binding request.
14. The interactive method according to claim 10, characterized in that: The target task is a reference authentication data setting task; the process information corresponding to executing the target task according to the third instruction includes: extracting reference authentication data from the third instruction; The reference authentication data is saved.
15. The interactive method according to claim 10, characterized in that: The target task is a functional control task; The process information corresponding to executing the target task according to the third instruction includes: extracting function control authentication data from the third instruction; Comparing the function control authentication data with preset reference authentication data to obtain a comparison result; If the comparison result indicates that the function control authentication data is consistent with the reference authentication data, executing the first process information corresponding to the function control task; If the comparison result indicates that the function control authentication data is inconsistent with the reference authentication data, the second process information corresponding to the function control task is executed.
16. The interactive method according to claim 15, characterized in that: The function control authentication data includes a function control authentication password, and the reference authentication data includes a reference authentication password; the function control authentication data is compared with the preset reference authentication data to obtain a comparison result, including: The function control authentication password is compared with the preset reference authentication password to obtain the comparison result.
17. An interactive device, characterized in that: Applied to a control device, the control device is wirelessly connected to a household appliance, and the device comprises: A first sending module, configured to generate a first instruction corresponding to the target task in response to a triggering operation of the target task, and send the first instruction to the home appliance; A receiving module, used for receiving a second instruction sent by the household appliance according to the first instruction; A display module, configured to display a target interface according to the interface configuration information corresponding to the target task in the second instruction; The second sending module is used to generate a third instruction in response to the interactive operation in the target interface, and send the third instruction to the home appliance so that the home appliance executes the process information corresponding to the target task according to the third instruction.
18. An interactive device, characterized in that: Applied to a household appliance, the household appliance is wirelessly connected to a control device, and the device comprises: A first receiving module, configured to receive a first instruction corresponding to a target task sent by the control device, wherein the first instruction is generated by the control device in response to a triggering operation of the target task; A generating module, configured to generate, according to the first instruction, a second instruction including interface configuration information corresponding to the target task; A sending module, used for sending the second instruction to the control device, so that the control device displays a target interface according to the interface configuration information corresponding to the target task in the second instruction; a second receiving module, configured to receive a third instruction sent by the control device, wherein the third instruction is generated by the control device in response to an interactive operation in the target interface; An execution module is used to execute the process information corresponding to the target task according to the third instruction.
19. An interactive system, characterized in that: The interactive system comprises a control device and a household appliance, wherein the control device and the household appliance are connected to each other by wireless communication; The control device is configured to: in response to a triggering operation of a target task, generate a first instruction corresponding to the target task, and send the first instruction to the home appliance; receiving a second instruction sent by the household appliance according to the first instruction; Displaying a target interface according to the interface configuration information corresponding to the target task in the second instruction; In response to the interactive operation in the target interface, generating a third instruction, and sending the third instruction to the home appliance; The household appliance is configured to: receive the first instruction corresponding to the target task sent by the control device; and generate the second instruction including the interface configuration information corresponding to the target task according to the first instruction; Send the second instruction to the control device; receive the third instruction sent by the control device; and execute the process information corresponding to the target task according to the third instruction.
20. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory so that the electronic device executes the method as described in any one of claims 1 to 9 or 10 to 16.
21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 9 or 10 to 16 is implemented.
22. A computer program product, characterized in that The computer program product stores at least one instruction, and when the at least one instruction is executed by a processor, the method according to any one of claims 1 to 9 or 10 to 16 is implemented.