Control equipment, server and equipment function updating method
By storing the mapping relationship between device IDs and function lists on the server side, the system controls the communication between devices and the server to update the display page, thus solving the problem of inconsistent function updates for smart home appliances of the same model but different batches. This ensures that the user interface displays the latest functions and improves the user experience.
Patent Information
- Application Number
- CN202511374610.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-24
- Publication Date
- 2026-01-06
AI Technical Summary
Smart home appliances of the same model but from different production batches may have their functions upgraded. However, the smart control terminal may not be able to detect the function updates of the home appliances across devices, resulting in discrepancies in the function usage by users. The functions displayed by the smart control terminal may not match the actual functions of the devices.
By storing the mapping relationship between device IDs and feature lists on the server side, the latest feature list is retrieved first based on the device ID, and the communication between the device and the server is controlled to update the feature page of the display, ensuring that the latest features are displayed.
This enables control devices to accurately display the latest functions of smart home appliances, preventing users from being unable to use new functions or mistakenly using deleted functions, thus improving the user experience.
Smart Images

Figure CN121284077A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home technology, and in particular to a control device, server, and method for updating device functions. Background Technology
[0002] A smart home scenario can include various home appliances, such as smart refrigerators, smart TVs, and smart air conditioners. Each appliance has its own functions; for example, a smart refrigerator may have refrigeration mode, variable temperature mode, freezing mode, and food management functions. To facilitate smart control of these appliances, users can view the functions of their paired appliances through smart control applications on smart control terminals (such as smartphones and tablets), and adjust the parameters and operating status of relevant device functions, such as turning on the cooling mode of a smart air conditioner and setting the temperature to 25℃.
[0003] Home appliances of the same model typically have identical functions. However, in actual production, due to upgrades, the overall functionality of appliances of the same model but from different production batches may differ. For example, early models of refrigerator model A may not have an AI energy-saving mode, while later models may have added it. Smart control terminals cannot detect these functional updates across devices. Therefore, when a smart control terminal queries the server associated with the smart control application for the appliance's functions based on the device model, it consistently retrieves the original functions associated with that model, leading to inaccuracies in user experience. For instance, the latest production batch of smart refrigerators of model A may have added an AI energy-saving mode, but the smart control terminal may not display this mode as part of the original refrigerator functions. This prevents users from activating or adjusting the AI energy-saving mode's status and operating parameters through the smart control terminal. Summary of the Invention
[0004] This application provides several embodiments of a control device, a server, and a method for updating device functions. For smart home appliances of the same model, if the functions of certain batches of products are updated, since the device IDs of different batches of the same model are different, the server creates a first device function list corresponding to the updated smart home appliance functions, stores the mapping relationship between the device ID and the first device function list, and retains the mapping relationship between the device model and the original functions of the smart home appliance. This allows for function queries covering products of the same model but different batches and with different functions, enabling the control device to obtain and display the latest functions of the product from the server.
[0005] In a first aspect, some embodiments of this application provide a control device, including:
[0006] The display is configured to show the device function pages corresponding to smart home appliances;
[0007] A communication device configured to communicate with a server;
[0008] A controller, coupled to the display and the communication device, is configured to:
[0009] In response to the operation of displaying the device function page corresponding to the first home appliance, a first function acquisition request is sent to the server. The first function acquisition request includes the first device ID and the first device model corresponding to the first home appliance, and the first device ID has a higher priority than the first device model. The first function acquisition request is used to obtain the functions of the first home appliance from the server.
[0010] If a second device function list is received from the server, the display is controlled to show the device function page, which includes the second device function list.
[0011] The second device function list records the functions that the first home appliance has after the function update compared to the original function. The second device function list is retrieved by the server based on the first device ID. The second device function list has a mapping relationship with the first device ID. The original function is the function that the smart home appliance corresponding to the first device model had before the function update.
[0012] The beneficial effects of the embodiments of the first aspect above are as follows: In this application, the control device (i.e., the intelligent control terminal) can communicate with the server. The server stores a list of device functions for smart home appliances, so the control device can obtain the list of device functions for any smart home appliance from the server. For smart home appliances, the server stores the original functions of smart home appliances corresponding to different device models. Under this premise, if the functions of a certain batch of products of a certain model of smart home appliances (e.g., the first home appliance) are updated, for example, function A is added, the server will update the functions of the first home appliance based on its original functions, generating a second device function list. The second device function list is used to record the functions of the first home appliance after the function update compared to the original functions, and adds a storage strategy for device functions, that is, storing the first device ID and the second device function list. The mapping relationship in the table does not map the device model to the second device function list. Since different batches of the same model have different device IDs, mapping functions by device ID is more accurate and can more precisely record the latest functions of smart home appliances. Thus, when the control device sends a first function retrieval request to the server, it carries the first device ID and the first device model in the request. The priority of the first device ID is specified to be higher than that of the first device model. This allows the server to prioritize retrieving the second device function list mapped by the first device ID and send the retrieved second device function list to the control device. This enables the control device to display the corresponding device function page based on the second device function list, thereby displaying the latest and complete functions of the smart home appliances on the device function page. This avoids situations where users cannot use newly added functions or mistakenly use deleted functions, thus improving the user experience.
[0013] In some embodiments of the first aspect, after the controller performs an operation in response to displaying the device function page corresponding to the first home appliance and sends a first function acquisition request to the server, it is further configured to: if it receives the first device function list sent by the server, control the display to display the first device function list on the device function page; wherein, the first device function list is used to record the original functions possessed by the smart home appliance corresponding to the first device model before the function update; the first device function list is retrieved by the server based on the first device model when the second device function list mapped to the first device ID is not found; the first device function list has a mapping relationship with the first device model.
[0014] The beneficial effects of this embodiment are as follows: After receiving the first function acquisition request sent by the control device, if the server does not find the second device function list mapped to the first device ID, it assumes that the function of the first home appliance has not been updated (it is still the original function). Then, based on the device model with secondary priority, it retrieves the first device function list mapped to the first device model (recording the original functions of the smart home appliances of the first device model before the function iteration), so that the control device displays the corresponding device function page according to the original function of the first home appliance, thereby avoiding the problem of function acquisition failure caused by not being able to retrieve the second device function list mapped to the first device ID when the function of the smart home appliance has not been updated.
[0015] In some embodiments of the first aspect, after the controller executes the command and control of the display to show the first device function list on the device function page upon receiving the first device function list sent by the server, it is further configured to: receive a device function update message sent by the server, wherein the device function update message is sent by the server after the server detects a function update of the first home appliance compared to the original function, creates a second device function list based on the first device function list and the configuration information of the function to be updated of the first home appliance, stores the mapping relationship between the second device function list and the first device ID; send a second function acquisition request to the server, wherein the second function acquisition request includes the first device ID; the second function acquisition request is used to obtain from the server the functions that the first home appliance has after the function update compared to the original function; and upon receiving the second device function list sent by the server, control the display to refresh the device function page based on the second device function list.
[0016] The beneficial effects of this embodiment are as follows: Based on the original functions mapped to the first device model, the server creates a second device function list based on the functional changes of the first home appliance compared to the original functions, and stores the mapping relationship between the second device function list and the first device ID. Then, it can proactively push device function update messages to the control device to quickly notify the control device that the first home appliance has undergone a function update. The control device can then send a second function retrieval request to the server, which may only contain the first device ID and not the first device model. In response to the second function retrieval request, the server can send the second device function list mapped to the first device ID to the control device. In this way, the control device can quickly learn that the smart home appliance has undergone a function update and quickly obtain the latest device function list, thereby quickly refreshing the device function page and reducing the refresh latency of the device function page.
[0017] Secondly, some embodiments of this application provide a control device, including:
[0018] The display is configured to show the device function pages corresponding to smart home appliances;
[0019] A communication device configured to communicate with a server;
[0020] A controller, coupled to the display and the communication device, is configured to:
[0021] In response to the operation of displaying the device function page corresponding to the first home appliance, a first function request is sent to the server. The first function request includes the first device model corresponding to the first home appliance. The first function request is used to request the server to obtain the first device function list mapped to the first device model. The first device function list is used to record the original functions that the smart home appliance corresponding to the first device model had before the function update.
[0022] Receive the first device function list sent by the server, and control the display to display the device function page, the device function page including the first device function list;
[0023] Upon receiving a device function update message from the server, a second function request is sent to the server. The second function request includes the first device ID corresponding to the first home appliance. The device function update message is sent by the server after detecting a function update to the first home appliance compared to its original function. This is done by creating a second device function list based on the first device function list and the configuration information of the function to be updated, storing the mapping relationship between the second device function list and the first device ID. The second device function list records the functions the first home appliance possesses after the function update. The second function request requests the server to obtain the second device function list mapped to the first device ID.
[0024] The system receives the second device function list sent by the server and controls the display to refresh the device function page. The refreshed device function page includes the second device function list.
[0025] The beneficial effects of the embodiments in the second aspect above are as follows: In this application, the control device (i.e., the intelligent control terminal) can communicate with the server, and the server stores a list of device functions for intelligent home appliances. Thus, the control device can obtain the list of device functions for any intelligent home appliance from the server. Before the control device obtains the updated functions of the first home appliance, when displaying the device function page corresponding to the first home appliance, the control device can obtain the first device function list (i.e., record the original functions of the first device model product) through the first device model, and display the corresponding device function page based on this first device function list. If the functions of the first home appliance with the first device model are updated, the server can access the first device function list... Based on the existing functionality of the first smart home appliance, a second list of device functions is created, and the mapping between the second list and the first device ID is stored. Since different batches of the same model have different device IDs, mapping functions by device ID is more accurate and can more precisely record the latest functions of smart home appliances. Then, the server can proactively push device function update messages to the control device to quickly notify it that the first smart home appliance has been updated. The control device can then send a second function request to the server, which can contain only the first device ID and not the first device model. In response to the second function request, the server sends the second list of device functions mapped to the first device ID to the control device. This allows the control device to quickly learn that the smart home appliance has been updated and quickly obtain the latest device function list, thereby quickly refreshing the device function page, reducing refresh latency, and ensuring that the device function page displays the latest and complete functions of the smart home appliance. This avoids situations where users cannot use newly added functions or mistakenly use deleted functions, improving the user experience.
[0026] Thirdly, some embodiments of this application provide a server, including:
[0027] The communicator is configured to communicate with control devices and smart home appliances.
[0028] The processor, coupled to the communicator, is configured to:
[0029] The function set data includes a list of device functions mapped to different device models. The device function list is used to record the original functions that the smart home appliances corresponding to the device model had before the function update.
[0030] The system receives a function update request from a first home appliance. The function update request includes the first device model, the first device ID, and the configuration information of the function to be updated. The function to be updated is a function that has changed relative to the original function.
[0031] The first device function list mapped to the first device model is searched in the function set data. The first device function list is used to record the original functions that the smart home appliance corresponding to the first device model had before the function update.
[0032] Based on the configuration information of the function to be updated and the first device function list, a second device function list is created, the mapping relationship between the second device function list and the first device ID is stored, and the mapping relationship between the first device function list and the first device model is retained; wherein, the second device function list is used to record the functions that the first home appliance corresponding to the first device ID has after the function update.
[0033] The beneficial effects of the third aspect of the above embodiments are as follows: the server can set function set data to store the original functions of smart home appliances corresponding to different device models before the function update; the server can communicate with the smart home appliances, and when the first home appliance has a function update, it can actively send a function update request to the server to report the overall function change; in response to the function update request, the server first retrieves the first device function list mapped to the first device model corresponding to the first home appliance, the first device function list records the original functions mapped to the first device model, and the server creates a second device function list based on the first device function list and the configuration information of the function to be updated of the first home appliance (such as function name, function description, function status, etc.). The list records the functions of the first smart home appliance after an update to its original functions. Since the functions of smart home appliances of the same model but different batches may differ, the server can add a function mapping strategy. This involves storing the mapping relationship between the first device ID and the second device function list, while also retaining the mapping relationship between the first device model and the first device function list. This avoids finding smart home appliances of the same model but different batches with the same functions by searching by device model, thus preventing incorrect recording of device functions. It can also overwrite the function storage of products with different device IDs under the same model. In this way, the server can more accurately record the latest functions of devices with different device IDs, thereby providing accurate information for the device function page. This ensures that the device function page displays the latest, complete, and accurate functions of smart home appliances, improving the user experience.
[0034] In some embodiments of the third aspect, the processor is further configured to: receive a first function acquisition request sent by the control device, the first function acquisition request including the first device model and the first device ID, wherein the first device ID has a higher priority than the first device model; preferentially retrieve the second device function list mapped to the first device ID; and when the second device function list mapped to the first device ID is retrieved, send the second device function list to the control device so that the control device displays the second device function list on the device function page corresponding to the first home appliance.
[0035] The beneficial effects of this embodiment are as follows: When the control device requests the function of the first home appliance from the server, since it is uncertain whether the function of the first home appliance has been updated, the first function acquisition request sent may include the first device ID and the first device model, and the priority order is specified as the first device ID is higher than the first device model. In this way, when the server receives the first function acquisition request, it first searches the second device function list mapped to the first device ID. When the second device function list mapped to the first device ID is found, the server sends the second device function list to the control device, instead of searching the first device function list by the first device model. This makes the device function page of the control device display the latest, complete and accurate functions of the smart home appliance, improving the user's functional experience.
[0036] In some embodiments of the third aspect, after the processor first retrieves the second device function list mapped to the first device ID, it is further configured to: if the second device function list mapped to the first device ID is not found, search for the first device function list mapped to the first device model in the function set data; and send the first device function list to the control device so that the control device displays the first device function list on the device function page corresponding to the first home appliance.
[0037] The beneficial effects of this embodiment are as follows: After receiving the first function acquisition request sent by the control device, if the server does not find the second device function list mapped to the first device ID, it assumes that the function of the first home appliance has not been updated, that is, it is still not configured with the original function. Then, based on the first device model with secondary priority, it retrieves the first device function list mapped to the first device model (recording the original functions of products with the first device model), so that the control device displays the corresponding device function page according to the original function of the first home appliance. This avoids the problem that the control device fails to acquire the function of the smart home appliance because the second device function list mapped to the first device ID cannot be retrieved when the function of the smart home appliance has not been updated.
[0038] In some embodiments of the third aspect, after storing the mapping relationship between the second device function list and the first device ID, the processor is further configured to: send a device function update message to the control device, the device function update message being used to notify the control device that the function of the first home appliance has been updated; receive a second function acquisition request sent by the control device, the second function acquisition request including the first device ID; and send the second device function list mapped by the first device ID to the control device, so that the control device displays the second device function list on the device function page corresponding to the first home appliance.
[0039] The beneficial effects of this embodiment are as follows: After the server creates a second device function list and stores the mapping relationship between the second device function list and the first device ID, it can proactively push device function update messages to the control device. This allows the server to quickly notify the control device that the first home appliance has undergone a function update compared to its original function. The control device can then send a second function retrieval request to the server, which may only contain the first device ID and not the first device model. In response to the second function retrieval request, the server can send the second device function list mapped to the first device ID to the control device. In this way, the control device can quickly learn that the first home appliance has undergone a function update and quickly obtain the latest device function list, thereby quickly refreshing the device function page and reducing the refresh latency of the device function page.
[0040] Fourthly, some embodiments of this application also provide a device function display method, including:
[0041] In response to the operation of displaying the device function page corresponding to the first home appliance, the control device sends a first function acquisition request to the server. The first function acquisition request includes the first device ID and the first device model corresponding to the first home appliance, and the first device ID has a higher priority than the first device model. The first function acquisition request is used to obtain the functions of the first home appliance from the server.
[0042] When the control device receives the second device function list sent by the server, it displays the device function page, which includes the second device function list.
[0043] The second device function list records the functions that the first home appliance has after the function update compared to the original function. The second device function list is retrieved by the server based on the first device ID. The second device function list has a mapping relationship with the first device ID. The original function is the function that the smart home appliance corresponding to the first device model had before the function update.
[0044] The beneficial effects of the embodiments in the fourth aspect above are as follows: In this application, the control device (i.e., the intelligent control terminal) can communicate with the server. The server stores a list of device functions for smart home appliances, so the control device can obtain the list of device functions for any smart home appliance from the server. For smart home appliances, the server stores the original functions of smart home appliances corresponding to different device models. Under this premise, if the functions of a certain batch of products of a certain model of smart home appliances (e.g., the first appliance) are updated, for example, function A is added, the server will update the functions of the first appliance based on its original functions, generating a second device function list. The second device function list is used to record the functions of the first appliance after the function update compared to the original functions, and adds a storage strategy for device functions, that is, storing the device ID of the first appliance and the second device function. The mapping relationship of the function list is as follows: the second device function list does not map to the device model. Since different batches of products of the same model have different device IDs, mapping functions by device ID is more accurate and can more precisely record the latest functions of smart home appliances. Thus, when the control device sends a first function retrieval request to the server, it carries the first device ID and the first device model in the request, and stipulates that the first device ID has a higher priority than the first device model. This allows the server to prioritize retrieving the second device function list mapped by the first device ID and send the retrieved second device function list to the control device. This enables the control device to display the corresponding device function page based on the second device function list, thereby displaying the latest and complete functions of the smart home appliances on the device function page. This avoids situations where users cannot use newly added functions or accidentally use deleted functions, thus improving the user experience.
[0045] Fifthly, some embodiments of this application also provide a device function update method, including:
[0046] The server sets function set data, which includes a list of device functions mapped to different device models. The list of device functions is used to record the original functions that the smart home appliances corresponding to the device model had before the function update.
[0047] The server receives a function update request sent by a first home appliance. The function update request includes the first device model, the first device ID, and the configuration information of the function to be updated; wherein, the function to be updated is a function that has changed relative to the original function.
[0048] The server searches the function set data for the first device function list mapped to the first device model. The first device function list is used to record the original functions that the smart home appliance corresponding to the first device model had before the function update.
[0049] Based on the configuration information of the function to be updated and the first device function list, the server creates a second device function list, stores the mapping relationship between the second device function list and the first device ID, and retains the mapping relationship between the first device function list and the first device model; wherein, the second device function list is used to record the functions that the first home appliance corresponding to the first device ID has after the function update.
[0050] The beneficial effects of the fifth aspect of the above embodiments are as follows: the server can set function set data to store the original functions of smart home appliances corresponding to different device models before the function update; the server can communicate with the smart home appliances, and when the first home appliance has a function update, it can actively send a function update request to the server to report the overall function change; in response to the function update request, the server first retrieves the first device function list mapped to the first device model corresponding to the first home appliance, which records the original functions mapped to the first device model, and based on the first device function list and the configuration information of the function to be updated of the first home appliance (such as function name, function description, function status, etc.), the server creates a second device function list. The function list records the functions of the first home appliance after an update compared to its original functions. Since the functions of smart home appliances of the same model but different batches may differ, the server can add a function mapping strategy. This involves storing the mapping relationship between the first device ID and the function list of the second device, while also retaining the mapping relationship between the first device model and the first device function list. This avoids finding smart home appliances of the same model but different batches with the same functions by searching by device model, thus preventing incorrect recording of device functions. It can also overwrite the function storage of products with different device IDs under the same model. In this way, the server can more accurately record the latest functions of devices with different device IDs, thereby providing accurate information for the device function page. This ensures that the device function page displays the latest, complete, and accurate functions of smart home appliances, improving the user experience. Attached Figure Description
[0051] To more clearly illustrate the technical solutions in some embodiments of this application or in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0052] Figure 1 This is a schematic diagram illustrating the interaction scenarios between a control device, a smart home appliance, and a server provided in some embodiments of this application;
[0053] Figure 2 This is a schematic diagram of the hardware configuration of the control device provided in some embodiments of this application;
[0054] Figure 3 A schematic diagram of the homepage interface displayed by the control device provided in some embodiments of this application;
[0055] Figure 4 This is a schematic diagram of the application homepage of the intelligent control application provided in some embodiments of this application;
[0056] Figure 5 A schematic diagram of the device function pages corresponding to the smart home appliances provided in some embodiments of this application. Figure 1 ;
[0057] Figure 6 Timing interaction between control devices and servers provided in some embodiments of this application Figure 1 ;
[0058] Figure 7 A schematic diagram of the device function pages corresponding to the smart home appliances provided in some embodiments of this application. Figure 2 ;
[0059] Figure 8 Timing interaction between control devices and servers provided in some embodiments of this application Figure 2 ;
[0060] Figure 9 Timing interaction between control devices and servers provided in some embodiments of this application Figure 3 ;
[0061] Figure 10 Timing interaction between control devices and servers provided in some embodiments of this application Figure 4 ;
[0062] Figure 11 This is a timing interaction diagram between a control device, a smart home appliance, and a server provided in some embodiments of this application. Detailed Implementation
[0063] The embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described below do not represent all embodiments consistent with this application. They are merely examples of systems and methods consistent with some aspects of this application as detailed in the claims.
[0064] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.
[0065] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.
[0066] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.
[0067] The term "module" refers to any known or subsequently developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0068] Figure 1 This is a schematic diagram illustrating the interaction scenarios between control devices, smart home appliances, and servers provided in some embodiments of this application.
[0069] like Figure 1 The document shows that in a smart home scenario, there are 100 smart home appliances, including but not limited to smart TVs, smart refrigerators, smart air conditioners, and smart speakers. Each smart home appliance has its own functions; for example, a smart refrigerator may include, but is not limited to, refrigeration mode, freezing mode, intelligent temperature control, and food management functions, while a smart air conditioner may include, but is not limited to, heating mode, cooling mode, and airflow mode.
[0070] In some embodiments, server 300 may record the device functions of smart home appliances mapped to each device model. Device functions may be stored in a list or similar manner.
[0071] In some embodiments, server 300 sets and maintains function set data, which includes a list of device functions mapped to different device models. The function list is used to record the original functions that the smart home appliances corresponding to the device models had before the function update.
[0072] In some embodiments, the device function list can store function configuration information for each function of the smart home appliance. This configuration information includes, but is not limited to, function name, function description, function usage, function status, and function operating parameters. The function status includes on and off states, and the function operating parameters are the parameters used after the function is enabled (e.g., air conditioner cooling temperature, refrigerator refrigeration temperature, etc.). Thus, the server 300 can use the device model as the key to retrieve the device function list (value) mapped to that model.
[0073] In this application embodiment, the control device 200 generally refers to a device with screen display and data processing capabilities. For example, the control device 200 includes, but is not limited to: smart TVs, mobile terminals (such as smartphones, tablets, etc.), computers, wearable devices, virtual reality devices, augmented reality devices, etc.
[0074] The control device 200, acting as a smart control terminal, can have a smart control application installed. This application can be a smart home application or a control application for smart home appliances (such as "Smart Home" or "Love Home"). After running the smart control application, the terminal can view the bound smart home appliances. Based on the device model of smart home appliance A, the terminal can request the server to obtain the device function list A mapped to that device model and display the corresponding device function page for smart home appliance A. In this way, users can view the functions of smart home appliance A through this device function page and adjust the parameters and operating status of any device function, such as turning on the cooling mode of a smart air conditioner and setting the temperature parameter to 24℃.
[0075] In some embodiments, see Figure 1The smart home appliance 100 can communicate with the server 300 to exchange data. For example, after being networked, the first / first batch of a certain model of smart home appliance 100 can report its overall functions and device model to the server 300. The server 300 generates an original device function list a based on the overall functions of the smart home appliance 100 and stores the mapping relationship between the device model and the device function list a. Here, the first-generation product refers to the first-generation R&D product of a certain model of smart home appliance, which has not undergone product function iteration and updates, and possesses the original functions; the first batch refers to the first batch of a certain model of smart home appliance, which usually corresponds to the first-generation product. During subsequent product iterations, a certain model of smart home appliance may undergo functional upgrades and innovations, and updated functions may be configured in later batches of products. In this application, the smart home appliance can report the functions to be updated to the server 300, and the server 300, based on the functions to be updated and the device function list a, creates a device function list a′. This device function list a′ records the functions that the smart home appliance possesses after the functional upgrade compared to the original functions.
[0076] In some embodiments, see Figure 1 The control device 200 can communicate with the server 300 to realize data interaction and business processing for intelligent control applications. The control device 200 can communicate with the server 300 through a local area network (LAN), a wireless local area network (WLAN), and other networks.
[0077] In some embodiments, if the smart home appliance 100 is equipped with a Bluetooth communication module, the control device 200 can communicate with the smart home appliance 100 via the Bluetooth communication protocol. For example, the control device 200 can obtain device functions and query device operating status from the smart home appliance 100.
[0078] Figure 2 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of the control device 200.
[0079] In some embodiments, the control device 200 may include at least one of a communication device 210, a detector 220, a controller 230, a display 240, an audio output device 250, a memory, a power supply, and a user input interface 260.
[0080] In some embodiments, the communication device 210 is a component used to communicate with external devices or the server 300 according to various communication protocol types. The control device 200 may have multiple communication devices 210 depending on the supported communication methods. For example, when the control device 200 supports wireless network communication, it may have a communication device 210 with WiFi functionality. When the control device 200 supports Bluetooth connection communication, it needs to have a communication device 210 with Bluetooth functionality.
[0081] In some embodiments, the communication device 210 enables the control device 200 to communicate with external devices or the server 300 via wireless or wired connections. Wired connections utilize components such as data cables and interfaces to connect the control device 200 to external devices. Wireless connections utilize wireless signals or wireless networks to connect the control device 200 to external devices. The control device 200 can directly establish a connection with external devices or indirectly establish a connection through gateways, routers, or connection devices.
[0082] In some embodiments, detector 220 is used to acquire signals from the external environment or interactions with the outside world. For example, detector 220 includes a light receiver, a sensor for acquiring ambient light intensity; or, detector 220 includes an image acquisition device, such as a camera, which can be used to acquire external environmental scenes, user attributes, or user interaction gestures; or, detector 220 includes a sound acquisition device, such as a microphone, for receiving external sounds.
[0083] In some embodiments, the display 240 includes display function components for presenting images and driving components for driving image display. The display 240 is used to receive and display image signals output from the controller 230. For example, the display 240 can be used to display video content, image content, menu control interface components, and user control UI interfaces. After the controller starts running the smart control application, the display 240 can display the corresponding application page. When the user selects a bound smart home appliance, the display 240 can display the device function page corresponding to the smart home appliance.
[0084] In some embodiments, the controller 230 may include at least one of a central processing unit, a video processor, an audio processor, a graphics processor, and a power processor, and a first to an nth interface for input / output. The controller 230 controls the operation of the control device 200 and responds to user operations through various software control programs stored in memory. The controller 230 controls the overall operation of the control device 200.
[0085] In some embodiments, the audio output device 250 can be the built-in speaker of the control device 200, or an external audio output device (such as a Bluetooth headset, Bluetooth speaker, etc.) connected to the control device 200. For the external audio output device connected to the control device 200, the control device 200 may also be provided with an external audio output terminal, through which the audio output device can be connected to the control device 200 to output sound from the control device 200.
[0086] In some embodiments, a user can input user commands through a graphical user interface (GUI) displayed on a monitor 240, and the user input interface receives user input commands through the graphical user interface (GUI).
[0087] In some embodiments, the user input interface 260 can be used to receive instructions from user input. If the control device 200 supports touch functionality, the user input interface can be a touch-sensitive interface.
[0088] To enable user interaction, in some embodiments, the control device 200 may run an operating system. The operating system is a computer program used to manage and control the hardware and software resources of the control device 200. The operating system can control the control device 200 to provide a user interface; for example, the operating system can directly control the control device 200 to provide a user interface, or it can provide a user interface by running an application. The operating system also allows users to interact with the control device 200.
[0089] It should be noted that the operating system can be a native operating system based on a specific operating platform, a third-party operating system that is deeply customized based on a specific operating platform, or an independent operating system specifically developed for the control device.
[0090] In some embodiments, the operating system may include an application layer, which may run multiple applications. This application embodiment focuses on displaying device function pages corresponding to bound smart home appliances on a smart control terminal. The application layer may be configured with at least one application related to this function, such as a smart control application (smart home application). The controller can implement the technical solutions of this application embodiment through the relevant applications.
[0091] Figure 3 This is a schematic diagram of the homepage interface displayed by the control device provided in some embodiments of this application.
[0092] In some embodiments, after the control device 200 installs a smart home-type smart control application, such as Figure 3 As shown, you can add the corresponding icon control 31 and application name (such as "Love Home") to the homepage interface.
[0093] Figure 4 This is a schematic diagram of the application homepage of the intelligent control application provided in some embodiments of this application.
[0094] In some embodiments, in response to a user clicking the icon control 31, the control device 200 controls the display 240 to display the application homepage of a smart control application (e.g., "Home Control"). Figure 4 As shown, the application homepage may include a homepage panel control 41. After the smart control application is launched, the focus is selected by default on the homepage panel control 41, and the control device 200 controls the user interface to display the application homepage.
[0095] In some embodiments, refer to Figure 4 Users can add smart home appliances 100 bound to the app on the app's homepage. After connecting to a local area network (e.g., Wi-Fi), the control device 200 can scan for smart home appliances 100 connected to the same local area network and powered on (hereinafter referred to as: available devices), generating a list of available devices. Users can select the smart home appliance 100 they want to bind from the list. After the control device 200 and the smart home appliance 100 are successfully connected, the control device 200 can add the smart home appliance 100 to the list of bound devices. The control device 200 can also scan for nearby devices via Bluetooth, allowing users to select the smart home appliance 100 they want to bind from these nearby devices.
[0096] In some embodiments, the smart control application can set at least one device subpage on the application home page according to the regional distribution in the home environment, as shown in the following examples. Figure 4 The equipment subpage can include all equipment subpages, living room equipment subpages, master bedroom equipment subpages, secondary bedroom equipment subpages, kitchen equipment subpages, bathroom equipment subpages, etc.
[0097] In some embodiments, taking the "All Devices" subpage as an example, the "All Devices" subpage can display device entry controls 41a corresponding to the smart home appliances 100 included in the list of bound devices. Device entry controls 41a are used to display device details. Device details can be reported by the smart home appliances 100 to the control device 200, or sent by the server 300 to the smart control application. The control device 200 can categorize the smart home appliances 100 according to their location within the home environment. For example, when a user clicks "Living Room," the control device 200 can display device details of the smart home appliances 100 placed in the living room on the living room device subpage.
[0098] In some embodiments, see Figure 4The device details include, but are not limited to, the appearance image of the smart home appliance 100, its type, region, and operating status. The appearance image can be a generic image of a specific brand and model of smart home appliance; the device type could be, for example, a smart air conditioner or a smart TV. The region refers to the specific area in the home environment where the smart home appliance is placed, such as the living room, master bedroom, or kitchen. The operating status can include online and offline. Online status means the smart home appliance is communicating normally with the home LAN, and the user can control and edit the online smart home appliance; offline status means the smart home appliance is disconnected from the home LAN, and the user cannot control or edit the offline smart home appliance.
[0099] In some embodiments, when the control device 200 displays any subpage of the application homepage, if the number of smart home devices included in the area exceeds the maximum number of device detail information that the subpage can display, see [reference needed]. Figure 4 This subpage allows you to set up an expanded device control. In response to a user clicking to expand the device control, device 200 displays hidden device details. Users can then swipe up on this subpage to view more device details.
[0100] In some embodiments, the device entry control 41a can also serve as an entry point for users to browse the device function page. In response to clicking the device entry control 41a corresponding to the smart home appliance, the controller 230 controls the display 240 to show the device function page corresponding to the smart home appliance.
[0101] Figure 5 A schematic diagram of the device function pages corresponding to the smart home appliances provided in some embodiments of this application. Figure 1 .
[0102] In some embodiments, assuming the smart home appliance is a smart refrigerator placed in the kitchen area, after the user clicks the device entry control 41a of the smart refrigerator, the controller 230 controls the display 240 to display the device function page of the smart refrigerator.
[0103] In some embodiments, see Figure 5 The smart refrigerator's device function page can display device icons and the current temperatures of each storage compartment, including the refrigerator compartment, variable temperature compartment, and freezer compartment. The device function page also includes function buttons 51, each corresponding to a specific function of the smart refrigerator.
[0104] In some embodiments, see Figure 5 Smart refrigerators can include a variety of major categories of functions, such as including but not limited to: common modes, vacuum drawers, wet and dry drawers, ion sterilization and deodorization systems, food management, and intelligent menu planning.
[0105] In some embodiments, see Figure 5 Each major category of functions also includes several subcategories. For example, the subcategories for commonly used modes include "refrigeration," "variable temperature," "freezing," "smart," "quick cooling," "quick freezing," and "AI constant temperature." The subcategories for vacuum drawers include "chilled," "fruits and vegetables," and "baby and maternity." The subcategories for wet and dry drawers include "low humidity," "medium humidity," and "high humidity."
[0106] In some embodiments, the device function page may also display the status of a specific function of the smart home appliance, including an on and off state. See also Figure 5 If the ion sterilization and deodorization system function is turned off, a "Run Now" control can be set on the device function page so that users can click the "Run Now" control to turn on the ion sterilization and deodorization system function.
[0107] In some embodiments, when certain function buttons 51 are triggered, the controller 230 can control the display 240 to show the next level of function subpages. For example, a user can click the function button 51 corresponding to "Ingredient Management" to view information such as the types of ingredients stored in each storage compartment of the smart refrigerator, the storage time, the storage duration, and the shelf life of the ingredients through the next level of function subpages. As another example, a user can click the function button 51 corresponding to "Smart Recipe Combination" to select the types of ingredients to be combined through the next level of function subpages and view recommended recipes pushed by the App.
[0108] In some embodiments, the server typically stores the original functions of smart home appliances based on the device model. That is, the server 300 stores a list of device functions mapped to different device models. This list of device functions is used to record the original functions of a model of smart home appliance (i.e., the functions of the first generation or first batch of products). It may include the major categories of functions of smart home appliances and the subcategories of functions included in each major category.
[0109] In some embodiments, the smart control application of the control device 200 can interact with the server 300. In response to triggering an operation of the device entry control 41a corresponding to any smart home appliance, the smart control application can send a function acquisition request to the server 300, which includes the device model of the smart home appliance. In response to the function acquisition request, the server 300 retrieves a device function list (hereinafter referred to as the first device function list) mapped to the device model from the database, which records the original functions of the smart home appliances, and sends the first device function list to the smart control application. The smart control application then draws and displays a device function page based on the first device function list, as shown in the image. Figure 5For example, the device features page includes the contents stored in the first device features list.
[0110] Generally, smart home appliances of the same model usually have the same functions. However, in the actual research and development and production process, due to upgrades and reforms in equipment functions, the overall functions of smart home appliances of the same model but different production batches may differ. For example, early products of model A refrigerator did not have an AI energy-saving mode, while later products added an AI energy-saving mode.
[0111] Because the control device 200 cannot sense the function update of the smart home appliance 100 across devices, when the control device 200 queries the server 300 for the functions of the smart home appliance by device model, the first device function list obtained records the original functions of the smart home appliance before the function update. In this way, the smart control application always obtains the original functions of the smart home appliance from the server based on the device model, and cannot obtain the updated functions of the smart home appliance, resulting in deviations in the user's use of functions.
[0112] In some embodiments, the function update of the smart home appliance 100 includes: adding new functions, deleting old functions, and improving and innovating old functions.
[0113] For example, in the latest batch of smart refrigerators of model XX, an AI energy-saving mode has been added to the common modes. However, the first device function list mapped to model XX stored on server 300 does not include the function configuration information for the AI energy-saving mode. Therefore, when control device 200 displays the smart refrigerator's device function page based on this first device function list, such as... Figure 5 As shown, the device's function page does not have an AI energy-saving mode in its common modes. This means that users cannot enable the AI energy-saving mode by controlling the device 200, nor can they adjust the function status and operating parameters of the AI energy-saving mode, resulting in the AI energy-saving mode being idle.
[0114] The inventive concept of this application is as follows: When the server 300 detects that the function of the smart home appliance (the smart home appliance 100 bound to the App) has been updated, it first obtains the first device function list mapped to the device model of the smart home appliance. Then, based on the functions to be updated reported by the smart home appliance and the first device function list, it generates a second device function list. The second device function list is used to record the functions that the smart home appliance has after the function update compared to the original function. At the same time, the server 300 also adds a mapping storage mechanism, that is, it stores the mapping relationship between the device ID of the smart home appliance and the second device function list, and retains the mapping relationship between the device ID of the smart home appliance and the first device function list.
[0115] The purpose of this invention is to address the issue that smart home appliances of the same model but from different production batches may have different device IDs. By mapping the device ID to the updated second device function list, the App's device function query can accurately pinpoint the device to a specific ID. On one hand, this allows for precise retrieval of device function lists independently mapped to different device IDs within the same model, avoiding the inability to cover functional differences between different batches when using a unified device model search. On the other hand, for example, consider smart refrigerators a and b of model XX from different production batches, where smart refrigerator a lacks an AI energy-saving mode while smart refrigerator b does. If server 300 stores a mapping relationship between model XX and the updated refrigerator function list, and control device 200 queries the server for the function of smart refrigerator a using model XX, the server 300 might return a refrigerator function list containing an AI energy-saving mode, but smart refrigerator a does not actually have an AI energy-saving mode. This would lead to an error in the device function page display, resulting in a mis-query of a function.
[0116] In this embodiment, the server stores the mapping relationship between the second device function list (updated functions) and device IDs, and stores the mapping relationship between the first device function list (original functions) and device models. The second device function list does not have a mapping relationship with device models, and the first device function list does not have a mapping relationship with device IDs, thereby avoiding the problem of incorrect function lookups.
[0117] Figure 6 Timing interaction between control devices and servers provided in some embodiments of this application Figure 1 .
[0118] See Figure 6 Control device 200: In response to the operation of displaying the device function page corresponding to the first home appliance, it sends a first function acquisition request to the server.
[0119] In some embodiments, the first home appliance may be one of the smart home appliances bound to the smart control application. See also Figure 4 Users can touch the device entry control 41a corresponding to the first home appliance to input operations that display the device function page corresponding to the first home appliance. Since the control device 200 cannot detect whether a smart home appliance has undergone a function update across devices, when responding to the operation of displaying the device function page corresponding to the first home appliance and sending a first function retrieval request to the server 300, the control device 200 includes the device model (hereinafter referred to as: first device model) and device ID (hereinafter referred to as: first device ID) corresponding to the first home appliance in the first function retrieval request, and sets the priority of the first device ID to be higher than that of the first device model. This priority is used to characterize the order in which the server 300 selects the key used for retrieval when responding to the first function retrieval request.
[0120] See Figure 6 Server 300: In response to the first function retrieval request, first retrieve the device function list A mapped to the first device ID.
[0121] In some embodiments, since the first device ID has a higher priority than the first device model, the server 300 prioritizes searching the database based on the first device ID to retrieve the device function list A mapped to the first device ID. This device function list A records the functions of the first home appliance after a functional update compared to its original functions. Device function list A is only mapped to the first device ID and not to the first device model. See also... Figure 6 Server 300: When it retrieves the device function list A mapped to the first device ID, it sends device function list A to the control device 200. If server 300 can retrieve device function list A, it means that the first home appliance corresponding to the first device ID has undergone a function update based on its original function.
[0122] See Figure 6 Control device 200: Receives device function list A, and displays the device function page corresponding to the first home appliance based on device function list A.
[0123] Figure 7 A schematic diagram of the device function pages corresponding to the smart home appliances provided in some embodiments of this application. Figure 2 .
[0124] In some embodiments, taking a smart refrigerator as an example, the control device 200 displays a device function page based on the device function list A, as shown below. Figure 7 As shown, with Figure 5 Compared to the example device function page (generated based on device function list B retrieved by the first device model), the commonly used mode function section adds an AI power saving option. This allows users to enable AI power saving mode by selecting the AI power saving option, thereby enjoying the experience brought by the new function and preventing the AI power saving mode function from being idle.
[0125] Figure 8 Timing interaction between control devices and servers provided in some embodiments of this application Figure 2 .
[0126] See Figure 8 Control device 200: In response to the operation of displaying the device function page corresponding to the first home appliance, it sends a first function acquisition request to the server.
[0127] See Figure 8Server 300: In response to the first function retrieval request, first retrieve the device function list A mapped to the first device ID.
[0128] See Figure 8 Server 300: If the device function list A mapped to the first device ID is not found, the server retrieves the device function list B mapped to the first device model based on the secondary priority and sends the device function list B to the control device 200.
[0129] If server 300 fails to retrieve device function list A, it means that the first home appliance corresponding to the first device ID has not undergone a function update, i.e., it still retains the original functions mapped to the first device model. Therefore, it is necessary to continue searching for device function list B, which records the original functions of the smart home appliance corresponding to the first device model before the function update, according to secondary priority. Device function list B has no mapping relationship with the first device ID. This avoids function retrieval failure due to the inability of control device 200 to obtain the device function list of the first home appliance, and ensures the accuracy of the returned device function list through priority retrieval, making the returned device function list consistent with the functions of the actually queried first home appliance.
[0130] See Figure 8 The control device 200 receives the device function list B and displays the device function page corresponding to the smart home appliance based on the device function list B.
[0131] Taking the first home appliance as an example, a smart refrigerator, the control device 200 displays the device function page based on device function list B, as shown below. Figure 5 For example, the device's function page displays the original functions of products from earlier production batches of the same model, such as the AI energy-saving option not being included in the function section of the common mode.
[0132] Figure 9 Timing interaction between control devices and servers provided in some embodiments of this application Figure 3 .
[0133] See Figure 9 Control device 200: In response to the operation of displaying the device function page corresponding to the first home appliance, it sends a first function acquisition request to the server.
[0134] See Figure 9 Server 300: In response to the first function retrieval request, first retrieve the device function list A mapped to the first device ID.
[0135] See Figure 9Server 300: If the device function list A mapped to the first device ID is not found, the server retrieves the device function list B mapped to the first device model based on the secondary priority and sends the device function list B to the control device 200.
[0136] See Figure 9 Control device 200: Receives device function list B, and displays the device function page corresponding to the first home appliance based on device function list B.
[0137] See Figure 9 Server 300: When it detects that the function of the first home appliance has been updated, it creates a device function list A based on the configuration information of the function to be updated of the first home appliance and the device function list B, and stores the mapping relationship between the device function list A and the first device ID.
[0138] In some embodiments, the first home appliance can report updated functional configuration information to the server 300. Upon receiving this updated functional configuration information, i.e., detecting an update to the smart home appliance's functionality, the server 300 first retrieves the device function list B mapped to the first device model. Then, based on the updated functional configuration information of the first home appliance, it creates a new device function list A, which records the updated functionality of the first home appliance compared to its original configuration. The server 300 can add a new mapping storage relationship for device functions, namely, storing the mapping relationship between device function list A and the first device ID, while also retaining the mapping relationship between device function list B and the first device model. In this way, the server 300's functional mapping storage mechanism can cover the functional differences of different device IDs under the same model, ensuring that the functions obtained by the control device 200 are consistent with the overall configuration of the first home appliance, avoiding problems of incorrect or missed device function queries.
[0139] See Figure 9 Server 300: Sends device function update messages to control device 200.
[0140] After the server 300 completes the mapping relationship between the storage device function list A and the first device ID, it sends a device function update message to the control device 200 to notify the control device 200 that the function of the first home appliance has been updated.
[0141] See Figure 9 Control device 200: Receives a device function update message sent by server 300 and sends a second function acquisition request to server 300.
[0142] Since the control device 200 can clearly know that the first home appliance has a function update when it receives the device function update message, when sending the second function acquisition request to the server 300, the second function acquisition request can only carry the first device ID and not the first device model, and there is no need to configure the priority of the first device ID and the first device model.
[0143] See Figure 9 Server 300: In response to the second function acquisition request, sends the retrieved device function list A mapped to the first device ID to the control device 200.
[0144] Since server 300 has already created device function list A and stored the mapping relationship between device function list A and the first device ID, server 300 will definitely be able to retrieve device function list A when responding to the second function acquisition request.
[0145] See Figure 9 Control device 200: Receives device function list A, and based on device function list A, refreshes the device function page corresponding to the first home appliance.
[0146] In this way, when server 300 detects a function update for the first home appliance, it creates a device function list A and stores the mapping relationship between device function list A and the first device ID. Then, it proactively pushes a device function update message to control device 200. This quickly notifies control device 200 that the first home appliance has been updated, breaking away from the passive waiting mode where control device 200 waits for the next request to retrieve the device function list. This improves the efficiency of control device 200 in refreshing smart home appliance functions. Control device 200 can quickly learn that the first home appliance has been updated and quickly obtain the latest device function list A, thereby quickly refreshing the device function page, reducing refresh latency. Furthermore, the device function page can display the latest and complete functions of the first home appliance, thus preventing users from being unable to use newly added functions or mistakenly using deleted functions, improving the user experience.
[0147] Figure 10 Timing interaction between control devices and servers provided in some embodiments of this application Figure 4 .
[0148] See Figure 10 Control device 200: In response to the operation of displaying the device function page corresponding to the first home appliance, it sends a function acquisition request a to the server.
[0149] In some embodiments, if the control device 200 does not receive a device function update message pushed by the server 300, it assumes that the first home appliance has not been updated. Therefore, when generating a function acquisition request a, the function acquisition request a may only carry the first device model corresponding to the first home appliance, without carrying the first device ID corresponding to the first home appliance, and there is no need to specify the priority of the first device ID and the first device model.
[0150] See Figure 10 Server 300: In response to function acquisition request a, sends the retrieved list of device functions B mapped to the first device model to control device 200.
[0151] When server 300 does not detect a function update for the first home appliance, the database only stores the mapping relationship between the first appliance model and the device function list B. Therefore, when server 300 receives function retrieval request a, it reads the first appliance model from function retrieval request a, and retrieves the device function list B mapped to that first appliance model from the database, and is guaranteed to be able to retrieve the device function list B. See also Figure 10 Control device 200: Receives device function list B, and displays the device function page corresponding to the first home appliance based on device function list B.
[0152] See Figure 10 Server 300: When it detects that the function of the first home appliance has been updated, it obtains the device function list B mapped to the first device model, creates the device function list A based on the device function list B and the configuration information of the function to be updated of the first home appliance, and stores the mapping relationship between the device function list A and the first device ID.
[0153] See Figure 10 Server 300: Sends device function update messages to control device 200.
[0154] See Figure 10 Control device 200: Receives a device function update message sent by server 300 and sends a function acquisition request b to server 300.
[0155] Since the control device 200 can clearly know that the first home appliance has a function update when it receives the device function update message, when sending the function acquisition request b to the server 300, the function acquisition request b can only carry the first device ID and not the first device model, and there is no need to configure the priority of the first device ID and the first device model.
[0156] See Figure 10Server 300: In response to function retrieval request b, sends the retrieved device function list A, mapped to the first device ID, to control device 200. Device function list A records the functions that the first home appliance possesses after function updates compared to its original functions.
[0157] See Figure 10 Control device 200: Receives device function list A, and based on device function list A, refreshes the device function page corresponding to the first home appliance.
[0158] In some embodiments, the device function page generated by the control device 200 based on the device function list B is referred to as device function page B, and the device function page generated based on the device function list A is referred to as device function page A. Then, based on the virtual DOM (Document Object Model) technology, the device function page B can be partially refreshed (instead of redrawing the entire page) to obtain the refreshed device function page A.
[0159] In some embodiments, the DOM allows programs or scripts to dynamically access the content, structure, and style of an HTML / XML document. The DOM represents a document as a tree structure (referred to as the DOM structure tree), where each element, attribute, or text content in the HTML document corresponds to a node in the DOM structure tree. The DOM structure tree consists of various types of nodes, including but not limited to element nodes, text nodes, attribute nodes, document nodes, and comment nodes. The DOM structure tree has hierarchical relationships, such as parent-child relationships (elements can include child elements), sibling relationships (multiple elements under the same parent node are sibling nodes), and ancestor / descendant relationships (formed through nested levels). JavaScript, through DOM nodes, can modify the document's HTML tags, attributes, CSS (Cascading Style Sheets), and specific content, and respond to all events on the page.
[0160] In some embodiments, the controller 230 of the control device 200 can generate a real DOM structure tree based on the device function list B. The real DOM structure tree contains the elements, hierarchy, and layout of the device function page B. In this way, the control device 200 can render and display the device function page B based on the real DOM structure tree.
[0161] In some embodiments, the controller 230 of the control device 200 can also generate a virtual DOM object tree (hereinafter referred to as the first virtual DOM) based on the device function list B. The first virtual DOM maps one-to-one with the real DOM structure tree, and the first virtual DOM is equivalent to the shadow of the real DOM. The virtual DOM is an abstract representation of the real DOM. The virtual DOM is a lightweight JavaScript object (hereinafter referred to as the object tree) created in memory, which includes information and structure of DOM nodes.
[0162] Any modification to the real DOM is directly reflected in the browser and may trigger browser reflow and repaint. These operations are performance bottlenecks, causing browsers to operate on the real DOM slowly. The virtual DOM, on the other hand, can achieve fast rendering. Since the virtual DOM is a JavaScript object structure in memory, it can use differential algorithms (such as the Diff algorithm) to calculate the parts that need to be updated locally, and then operate on the real DOM.
[0163] In some embodiments, when the control device 200 needs to refresh the device function page, the controller 230 can generate another virtual DOM object tree (hereinafter referred to as the second virtual DOM) based on the updated device function list A. By using a differentiation algorithm (such as the Diff algorithm), the differences between the first virtual DOM and the second virtual DOM are compared to find the smallest set of changes. This set of changes is used to indicate which parts of the real DOM structure tree need to be updated (including the update position and update content).
[0164] In some embodiments, controller 230 can modify the real DOM based on a set of changes. This process typically involves only necessary node updates, rather than a complete page repaint or reflow, thereby significantly improving the browser's page display performance. Based on the modified real DOM, device functionality page A is rendered and displayed. See also Figure 5 and Figure 7 Before the refresh, device function page B did not include the AI energy-saving mode. After refreshing the device function page A using virtual DOM technology, an "AI Energy Saving" option button (i.e., updated content) is added at the end of the frequently used modes section (i.e., the updated position). This eliminates the need to reflow and redraw the device function page. Only a partial refresh is needed based on the original device function page B, thus enabling the device function page to display the accurate and complete functions of smart home appliances. This ensures the continuity of user page operations and the integrity of page display, improving page processing efficiency and refresh speed.
[0165] Figure 11 This is a timing interaction diagram between a control device, a smart home appliance, and a server provided in some embodiments of this application.
[0166] In some embodiments, see Figure 11 The control device 200 runs a smart control application, which is either a smart home application or a control application for smart home appliances. The smart control application allows users to view the functions of the bound smart home appliances 100 and adjust the status and operating parameters of the device functions. The first home appliance is one of the smart home appliances 100 bound to the smart control application, selected by the user through the device entry control 41a. The server 300 runs an Internet of Things (IoT) service module 301 and a MySQL database 302. The IoT service module 301 communicates and interacts with the smart control application and has the ability to read and write to the MySQL database 302, responsible for updating, querying, and storing the functions of the smart home appliances. The MySQL database 302 stores and updates the device function list of the smart home appliances 100.
[0167] In some embodiments, see Figure 11 When the smart control application has been bound to the first home appliance, in response to the operation of displaying the device function page corresponding to the first home appliance, the smart control application sends a first function acquisition request to the IoT service module 301. The first function acquisition request includes the first device model and the first device ID corresponding to the first home appliance, and the first device ID has a higher priority than the first device model.
[0168] In some embodiments, see Figure 11 In response to the first function acquisition request, the IoT service module 301 sends a query instruction a to the MySQL database 302 with the highest priority. This query instruction a includes the first device ID. In response to the query instruction a, the MySQL database 302 uses the first device ID as the key to retrieve the list of first device functions mapped to that first device ID.
[0169] In some embodiments, see Figure 11If the MySQL database 302 does not find the first device function list mapped to the first device ID, it can return an empty message to the IoT service module 301. This empty message indicates that the search result is empty (i.e., no matching result was found). Upon receiving this empty message, the IoT service module 301 sends a query instruction b to the MySQL database 302 based on secondary priority. This query instruction b includes the first device model. In response to query instruction b, the MySQL database 302 uses the first device model as the key to retrieve the second device function list mapped to that first device model and returns the retrieved second device function list to the IoT service module 301. The IoT service module 301 then sends the second device function list to the intelligent control application.
[0170] In some embodiments, the IoT service module 301 can integrate query command a and query command b into a single query command a′. This query command a′ includes a first device ID and a first device model, specifying that the first device ID has a higher priority than the first device model. In response to this query command a′, the MySQL database 302 first retrieves the first device function list mapped to the first device ID. If the first device function list is not found, it automatically continues to retrieve the second device function list mapped to the first device model and sends the retrieved second device function list to the IoT service module 301. This reduces the latency between the IoT service module 301 and the MySQL database 302 in issuing and responding to commands, thereby improving the efficiency of device function queries.
[0171] In some embodiments, see Figure 11 The intelligent control application receives the second device function list and controls the display to show the corresponding device function page based on the second device function list.
[0172] In some embodiments, see Figure 11 The intelligent control application can generate a real DOM structure tree based on the second device function list, and then render and display the device function page based on this real DOM structure tree. The intelligent control application can also create a first virtual DOM in memory that maps to the real DOM structure tree.
[0173] In some embodiments, see Figure 11When the overall functionality of the first home appliance is updated compared to the original functionality of the same model, the first home appliance can send a function update request to the IoT service module 301 after successfully connecting to the network. This function update request includes the first device model, the first device ID, and the configuration information of the function to be updated. The function to be updated refers to a function that has changed compared to the original function, such as a newly added function, a deleted function, or an improvement to the original function. The configuration information of the function to be updated includes, but is not limited to, the function name, function description, function status, and current operating parameters.
[0174] In some embodiments, see Figure 11 Upon receiving a function update request, the IoT service module 301 forwards the request to the MySQL database 302. In response, the MySQL database 302 first retrieves the second device function list mapped to the first device model. Based on the configuration information of the function to be updated and the second device function list, it creates a first device function list and stores the mapping relationship between the first device function list and the first device ID. Simultaneously, it retains the mapping relationship between the second device function list and the first device model. Finally, it returns an update completion message to the IoT service module 301.
[0175] In some embodiments, see Figure 11 Upon receiving the update completion message, the IoT service module 301 can, on one hand, send an update completion message to the first home appliance, informing it that the cloud has synchronously updated its functions, thus eliminating the need to resend the function update request. On the other hand, the IoT service module 301 can also send a device function update message to the smart control application. Upon receiving the device function update message, the smart control application sends a second function acquisition request to the IoT service module 301. This second function acquisition request may only include the first device ID, without necessarily including the first device model.
[0176] In some embodiments, see Figure 11 In response to the second function acquisition request, the IoT service module 301 sends a query instruction c to the MySQL database 302, which includes the first device ID. In response to query instruction c, the MySQL database 302, using the first device ID as the key, sends the retrieved list of first device functions mapped to the first device ID to the IoT service module 301. The IoT service module 301 then sends the list of first device functions to the intelligent control application.
[0177] In some embodiments, see Figure 11 The intelligent control application receives the first device function list and controls the display to refresh the device function page based on the first device function list.
[0178] In some embodiments, see Figure 11 The intelligent control application can create a second virtual DOM based on the updated first device function list, and perform a Diff operation on the first and second virtual DOMs using a differentiation algorithm (such as the Diff algorithm) to obtain a change set. Based on the change set, the application can modify the real DOM and refresh the device function page.
[0179] Some embodiments of this application also provide a server 300, which includes a first communicator and a first processor, the first processor being coupled to the first communicator. The first communicator is used to establish communication connections between the server 300 and the control device 200 and the smart home appliance 100; the first processor is configured to execute the processing programs involved on the server side in the aforementioned interaction logic.
[0180] Some embodiments of this application also provide a smart home appliance device 100, which may include a second communicator and a second processor, the second processor being coupled to the second communicator. The second communicator is used to establish a communication connection between the smart home appliance device 100 and a server 300; the second processor is configured to execute... Figure 11 The processing procedures involved on the smart home appliance side in the provided interaction logic.
[0181] Some embodiments of this application also provide a computer storage medium that can store a program. When the computer storage medium is configured in the control device 200, the program, when executed, can include the program steps involved on the control device side in the above embodiments. When the computer storage medium is configured in the server 300, the program, when executed, can include the program steps involved on the server side in the above embodiments. When the computer storage medium is configured in the smart home appliance 100, the program, when executed, can include the program steps involved on the smart home appliance side in the above embodiments. The computer storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0182] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0183] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the foregoing exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be made based on the foregoing teachings. The selection and description of the above embodiments are for the purpose of better explaining the contents of this disclosure, thereby enabling those skilled in the art to better utilize the described embodiments.
Claims
1. A control device, characterized in that, include: The display is configured to show the device function pages corresponding to smart home appliances; A communication device configured to communicate with a server; A controller, coupled to the display and the communication device, is configured to: In response to the operation of displaying the device function page corresponding to the first home appliance, a first function acquisition request is sent to the server. The first function acquisition request includes the first device ID and the first device model corresponding to the first home appliance, and the first device ID has a higher priority than the first device model. The first function acquisition request is used to obtain the functions of the first home appliance from the server. If a second device function list is received from the server, the display is controlled to show the device function page, which includes the second device function list. The second device function list records the functions that the first home appliance has after the function update compared to the original function. The second device function list is retrieved by the server based on the first device ID. The second device function list has a mapping relationship with the first device ID. The original function is the function that the smart home appliance corresponding to the first device model had before the function update.
2. The control device according to claim 1, characterized in that, The controller, after performing the operation of displaying the device function page corresponding to the first home appliance and sending a first function acquisition request to the server, is further configured to: If the server sends a first device function list, the display is controlled to show the first device function list on the device function page; wherein, the first device function list is used to record the original functions of the smart home appliance corresponding to the first device model before the function update; the first device function list is retrieved by the server based on the first device model when the second device function list mapped to the first device ID is not found; the first device function list has a mapping relationship with the first device model.
3. The control device according to claim 2, characterized in that, After the controller receives the first device function list from the server and controls the display to show the first device function list on the device function page, it is further configured to: The server receives a device function update message. The device function update message is sent by the server after it detects that the first home appliance has undergone a function update compared to the original function, creates a second device function list based on the first device function list and the configuration information of the function to be updated of the first home appliance, stores the mapping relationship between the second device function list and the first device ID, and then sends the message. A second function acquisition request is sent to the server, the second function acquisition request including the first device ID; the second function acquisition request is used to obtain from the server the functions that the first home appliance has after the function update compared to the original function; Upon receiving the second device function list sent by the server, the system controls the display to refresh the device function page based on the second device function list.
4. A control device, characterized in that, include: The display is configured to show the device function pages corresponding to smart home appliances; A communication device configured to communicate with a server; A controller, coupled to the display and the communication device, is configured to: In response to the operation of displaying the device function page corresponding to the first home appliance, a first function request is sent to the server. The first function request includes the first device model corresponding to the first home appliance. The first function request is used to request the server to obtain the first device function list mapped to the first device model. The first device function list is used to record the original functions that the smart home appliance corresponding to the first device model had before the function update. Receive the first device function list sent by the server, and control the display to display the device function page, the device function page including the first device function list; Upon receiving a device function update message from the server, a second function request is sent to the server. The second function request includes the first device ID corresponding to the first home appliance. The device function update message is sent by the server after detecting a function update to the first home appliance compared to its original function. This is done by creating a second device function list based on the first device function list and the configuration information of the function to be updated, storing the mapping relationship between the second device function list and the first device ID. The second device function list records the functions the first home appliance possesses after the function update. The second function request requests the server to obtain the second device function list mapped to the first device ID. The system receives the second device function list sent by the server and controls the display to refresh the device function page. The refreshed device function page includes the second device function list.
5. A server, characterized in that, include: The communicator is configured to communicate with control devices and smart home appliances. The processor, coupled to the communicator, is configured to: The function set data includes a list of device functions mapped to different device models. The device function list is used to record the original functions that the smart home appliances corresponding to the device model had before the function update. The system receives a function update request from a first home appliance. The function update request includes the first device model, the first device ID, and the configuration information of the function to be updated. The function to be updated is a function that has changed relative to the original function. The first device function list mapped to the first device model is searched in the function set data. The first device function list is used to record the original functions that the smart home appliance corresponding to the first device model had before the function update. Based on the configuration information of the function to be updated and the first device function list, a second device function list is created, the mapping relationship between the second device function list and the first device ID is stored, and the mapping relationship between the first device function list and the first device model is retained; wherein, the second device function list is used to record the functions that the first home appliance corresponding to the first device ID has after the function update.
6. The server according to claim 5, characterized in that, The processor is also configured to: The system receives a first function acquisition request sent by the control device. The first function acquisition request includes the first device model and the first device ID, and the first device ID has a higher priority than the first device model. First, retrieve the second device function list mapped to the first device ID; When the second device function list mapped to the first device ID is retrieved, the second device function list is sent to the control device so that the control device displays the second device function list on the device function page corresponding to the first home appliance.
7. The server according to claim 6, characterized in that, After first retrieving the second device function list mapped to the first device ID, the processor is further configured to: If the second device function list mapped to the first device ID is not found, the first device function list mapped to the first device model is searched in the function set data. The first device function list is sent to the control device so that the control device displays the first device function list on the device function page corresponding to the first home appliance.
8. The server according to claim 5, characterized in that, After storing the mapping relationship between the second device function list and the first device ID, the processor is further configured to: Send a device function update message to the control device, the device function update message being used to notify the control device that the function of the first home appliance has been updated; Receive a second function acquisition request sent by the control device, wherein the second function acquisition request includes the first device ID; The second device function list mapped to the first device ID is sent to the control device so that the control device displays the second device function list on the device function page corresponding to the first home appliance.
9. A method for displaying device functions, characterized in that, include: In response to the operation of displaying the device function page corresponding to the first home appliance, the control device sends a first function acquisition request to the server. The first function acquisition request includes the first device ID and the first device model corresponding to the first home appliance, and the first device ID has a higher priority than the first device model. The first function acquisition request is used to obtain the functions of the first home appliance from the server. When the control device receives the second device function list sent by the server, it displays the device function page, which includes the second device function list. The second device function list records the functions that the first home appliance has after the function update compared to the original function. The second device function list is retrieved by the server based on the first device ID. The second device function list has a mapping relationship with the first device ID. The original function is the function that the smart home appliance corresponding to the first device model had before the function update.
10. A method for updating device functions, characterized in that, include: The server sets function set data, which includes a list of device functions mapped to different device models. The list of device functions is used to record the original functions that the smart home appliances corresponding to the device model had before the function update. The server receives a function update request sent by a first home appliance. The function update request includes the first device model, the first device ID, and the configuration information of the function to be updated; wherein, the function to be updated is a function that has changed relative to the original function. The server searches the function set data for the first device function list mapped to the first device model. The first device function list is used to record the original functions that the smart home appliance corresponding to the first device model had before the function update. Based on the configuration information of the function to be updated and the first device function list, the server creates a second device function list, stores the mapping relationship between the second device function list and the first device ID, and retains the mapping relationship between the first device function list and the first device model; wherein, the second device function list is used to record the functions that the first home appliance corresponding to the first device ID has after the function update.
Citation Information
Patent Citations
Target function updating method and device
CN112416399A
Control method of display equipment control, display equipment and server
CN113077858A
Application processing method and device based on function configuration information
CN113778473A
Intelligent household electrical appliance control method and system, electronic equipment and computer storage medium
CN116074142A
Page configuration management method and device, computer equipment and storage medium
CN118784387A