Smart home equipment configuration method and device, electronic equipment and readable storage medium
By using target configuration templates and graphical user interfaces during the installation and maintenance of smart home devices, the problem of high complexity in installation and maintenance of smart home devices is solved, and efficient and low-cost installation and maintenance configuration is achieved.
Patent Information
- Application Number
- CN202411843176.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-04-25
AI Technical Summary
During the installation and maintenance of smart home equipment, due to different equipment categories, different installation locations and different configuration attributes, the operation is complex and time-consuming and costly.
By obtaining and sending target configuration templates, the terminal device communicates with the home host, provides a graphical user interface, displays the configuration template, generates network instructions in response to operation instructions, and the home host configures smart home devices according to the instructions.
It reduces the complexity of installation and maintenance configuration of smart home systems, improves installation and maintenance efficiency, and greatly reduces the time cost of installation and maintenance.
Smart Images

Figure CN119892538A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of smart home technology, and in particular, to a smart home device configuration method, a smart home device configuration device, an electronic device, and a computer-readable storage medium. Background Art
[0002] With the continuous development of smart home systems, in order to reduce the interaction pressure between smart home devices and cloud servers and the processing pressure of cloud servers, some functions of cloud servers are migrated to local for processing. The device that inherits some functions of the cloud server is usually called a centralized controller (home host). The home host serves as the main node for the interaction between the smart home system and the cloud server, and manages smart home devices and performs edge computing and other processing.
[0003] Faced with the problems that each household has different smart home device categories, different installation locations and different configuration attributes, the operation is highly complex during the installation and maintenance of smart home devices, resulting in high time costs for households. Summary of the invention
[0004] In view of the above problems, a method and apparatus for configuring smart home devices is proposed to overcome the above problems or at least partially solve the above problems. The specific technical solution is as follows:
[0005] The embodiment of the present invention discloses a method for configuring a smart home device, which is applied to a terminal device, wherein the terminal device is communicatively connected to a home host, and the terminal device provides a graphical user interface. The method includes:
[0006] Obtain a target configuration template for a home to be maintained; the target configuration template includes a physical model and operation instructions of a smart home device, and the physical model includes configuration information of the smart home device;
[0007] Sending the target configuration template to the home host;
[0008] displaying the target configuration template in the graphical user interface;
[0009] In response to the configuration operation of the smart home device in sequence according to the operation instructions, a network instruction is generated and sent to the home host; the home host is used to obtain the configuration information corresponding to the smart home device according to the network instruction, and configure the smart home device according to the configuration information.
[0010] In an embodiment of the present invention, the configuration information includes at least a local address, a key, a room allocation, a device name, a linkage action, and a scene action.
[0011] In one embodiment of the present invention, the terminal device is in communication with a cloud server, and the cloud server stores a configuration template; obtaining a target configuration template for a household to be maintained includes:
[0012] Obtaining a configuration template from the cloud server;
[0013] displaying the configuration template in the graphical user interface;
[0014] In response to a selection operation on the configuration template, a target configuration template for the home to be installed is determined from the configuration templates.
[0015] In one embodiment of the present invention, the home host is used to assign a local address to the smart home device, and associate the local address with the actual address of the smart home device, and configure corresponding configuration information for the smart home device based on the local address and store it in the physical model of the smart home device and then synchronize it to the cloud server.
[0016] In one embodiment of the present invention, the home host is further used to create a configuration template according to the object model of the smart home device in response to a creation operation of the configuration template submitted by the terminal device.
[0017] In one embodiment of the present invention, after generating a network instruction and sending it to the home host in response to sequentially performing configuration operations on the smart home device according to the operation instructions, the method further includes:
[0018] The configuration progress of the home to be installed is displayed in the graphical user interface.
[0019] In one embodiment of the present invention, in response to sequentially performing configuration operations on the smart home device according to the operation instructions, generating a network instruction and sending it to the home host, the method further includes:
[0020] In response to the selection operation of the object model of the target smart home device of the target configuration template, a reset instruction of the target smart home device is sent to the home host; the home host is used to reset the target smart home device according to the reset instruction;
[0021] In response to the configuration operation of the target smart home device according to the operation instruction, a network instruction is generated and sent to the home host; the home host is used to obtain the configuration information corresponding to the target smart home device according to the network instruction, and configure the target smart home device according to the configuration information.
[0022] In one embodiment of the present invention, the method further comprises:
[0023] When it is detected that the configuration operation of the smart home device is not performed in sequence according to the operation instruction, prompt information of the operation error is displayed in the graphical user interface.
[0024] In an embodiment of the present invention, the configuration operation at least includes a reset operation on the smart home device.
[0025] The embodiment of the present invention further discloses a smart home device configuration device, which is applied to a terminal device, wherein the terminal device is connected to a home host for communication, and the terminal device provides a graphical user interface, and the device includes:
[0026] A target configuration template acquisition module is used to acquire a target configuration template for a home to be maintained; the target configuration template includes a physical model and operation instructions of a smart home device, and the physical model includes configuration information of the smart home device;
[0027] A target configuration template sending module, used for sending the target configuration template to the home host;
[0028] A target configuration template display module, used to display the target configuration template in the graphical user interface;
[0029] A configuration operation module is used to generate a network instruction and send it to the home host in response to the configuration operation of the smart home device in sequence according to the operation instructions; the home host is used to obtain the configuration information corresponding to the smart home device according to the network instruction, and configure the smart home device according to the configuration information.
[0030] In an embodiment of the present invention, the configuration information includes at least a local address, a key, a room allocation, a device name, a linkage action, and a scene action.
[0031] In one embodiment of the present invention, the terminal device is in communication with a cloud server, and the cloud server stores a configuration template; the target configuration template acquisition module is used to:
[0032] Obtaining a configuration template from the cloud server;
[0033] displaying the configuration template in the graphical user interface;
[0034] In response to a selection operation on the configuration template, a target configuration template for the home to be installed is determined from the configuration templates.
[0035] In one embodiment of the present invention, the home host is used to assign a local address to the smart home device, and associate the local address with the actual address of the smart home device, and configure corresponding configuration information for the smart home device based on the local address and store it in the physical model of the smart home device and then synchronize it to the cloud server.
[0036] In one embodiment of the present invention, the home host is further used to create a configuration template according to the object model of the smart home device in response to a creation operation of the configuration template submitted by the terminal device.
[0037] In one embodiment of the present invention, the apparatus further comprises: a configuration progress module, configured to:
[0038] The configuration progress of the home to be installed is displayed in the graphical user interface.
[0039] In one embodiment of the present invention, the apparatus further comprises: a reconfiguration module, configured to:
[0040] In response to the selection operation of the object model of the target smart home device of the target configuration template, a reset instruction of the target smart home device is sent to the home host; the home host is used to reset the target smart home device according to the reset instruction;
[0041] In response to the configuration operation of the target smart home device according to the operation instruction, a network instruction is generated and sent to the home host; the home host is used to obtain the configuration information corresponding to the target smart home device according to the network instruction, and configure the target smart home device according to the configuration information.
[0042] In one embodiment of the present invention, the device further includes: an error prompt module, configured to:
[0043] When it is detected that the configuration operation of the smart home device is not performed in sequence according to the operation instruction, prompt information of the operation error is displayed in the graphical user interface.
[0044] In an embodiment of the present invention, the configuration operation at least includes a reset operation on the smart home device.
[0045] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0046] The memory is used to store computer programs;
[0047] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0048] The embodiment of the present invention further discloses a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the embodiment of the present invention.
[0049] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.
[0050] The embodiments of the present invention include the following advantages:
[0051] In an embodiment of the present invention, it is applied to a terminal device, the terminal device is connected to a home host in communication, and the terminal device can provide a graphical user interface. When it is necessary to install and maintain a home, the target configuration template of the home to be installed and maintained is obtained and sent to the home host, wherein the target configuration template may include a physical model and operation instructions of the smart home device, and the physical model may include configuration information corresponding to the smart home device. The target configuration template is displayed in the graphical user interface, and in response to the installation and maintenance personnel performing configuration operations on the smart home device in sequence according to the operation instructions, a network instruction is generated and sent to the home host, and the home host is used to obtain the configuration information corresponding to the smart home device according to the network instruction, and then configure the smart home device according to the configuration information, thereby completing the installation and maintenance of the smart home device of the home. The embodiment of the present invention can obtain the configuration template of the smart home system of the templated home. In the process of installing and maintaining the smart home system of the new home, after filtering out a matching target configuration template from the existing configuration template, the target configuration template can be applied to quickly configure the smart home devices of the new home, thereby reducing the complexity of the installation and maintenance configuration of the smart home system of the new home, improving the installation and maintenance efficiency, and greatly reducing the time cost of installation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 is a flowchart of a method for configuring a smart home device provided in an embodiment of the present invention;
[0053] Figure 2 is a schematic diagram of a configuration process of a smart home device provided in an embodiment of the present invention;
[0054] Figure 3 is a structural block diagram of a smart home device configuration device provided in an embodiment of the present invention;
[0055] Figure 4 It is a schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention. DETAILED DESCRIPTION
[0056] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0057] In order to solve the problems of high configuration complexity, high professional level requirements, and high time cost of smart home devices in a family's smart home system, an embodiment of the present invention proposes a smart home device configuration method based on a home host, by templateizing the installation and maintenance configuration information of the family's smart home system to generate a configuration template. When the smart home device needs to be configured in a new family, the corresponding configuration template can be directly applied, and the operation instructions generated in the time sequence of resetting the smart home device can be combined to quickly complete the family's installation and maintenance configuration of the smart home system. It can be understood that the embodiment of the present invention configures the smart home device according to the pre-configured configuration template, thereby reducing the configuration complexity of the smart home system, improving the installation and maintenance efficiency of the smart home system, and greatly reducing the time cost of installation and maintenance.
[0058] Reference Figure 1 , shows a flowchart of a method for configuring a smart home device provided in an embodiment of the present invention, which is applied to a terminal device, the terminal device is connected to a home host for communication, the terminal device provides a graphical user interface, and the method may specifically include the following steps:
[0059] Step 101: Obtain a target configuration template for a home to be maintained; the target configuration template includes a physical model and operation instructions of a smart home device, and the physical model includes configuration information of the smart home device;
[0060] Step 102: Send the target configuration template to the home host;
[0061] In an embodiment of the present invention, the terminal device may be a portable terminal such as a smart phone or a tablet computer. The terminal device may provide a graphical user interface for the user, and the graphical user interface may provide the user with relevant information that can quickly complete the configuration of the smart home devices (smart single-product devices) of the smart home system. The terminal device may be connected to the home host in communication. The home host is a device that inherits some of the functions of the cloud server and is also generally referred to as a centralized controller. The home host serves as the main node for the smart home system to interact with the cloud server, and manages the smart home devices and performs edge computing and other processing. Among them, the smart home devices may include air conditioners, smart curtains, lighting equipment, humidifiers, rice cookers, air purifiers, and audio equipment, etc., and the smart home devices may be linked to control and work together.
[0062] In a specific implementation, multiple configuration templates for different families are pre-stored. The configuration templates may include physical models and operation instructions of smart home devices. Physical models are a mapping model of smart home devices in a virtual environment. Operation instructions refer to configuration instructions for smart home devices in a family by installation and maintenance personnel, such as which smart home device to start configuration from and what configuration information needs to be configured for the smart home devices. The physical model may include configuration information of smart home devices, and the configuration information may include at least local address, key, room allocation, device name, linkage action, and scene action.
[0063] Specifically, the local address is used to uniquely identify the corresponding smart home device in the network composed of the smart home system. The key is used to ensure the security of smart home device authentication and communication, and prevent unauthorized smart home devices from accessing the network. Room allocation refers to the allocation of smart home devices to specific rooms in the home, which is convenient for user management and scene setting. The device name is a device identifier of the smart home device that is easy for users to understand, especially when displayed on a graphical user interface, which allows users to quickly locate the corresponding smart home device. Linkage action refers to the interactive relationship between smart home devices, which realizes the automated operation of smart home devices and the collaborative work between smart home devices. Scene action refers to the action behavior of smart home devices in specific scenarios, which can provide users with a personalized smart home experience.
[0064] In an embodiment of the present invention, when it is necessary to install and maintain the smart home system for a family to be installed and maintained (installation and maintenance refers to the deployment and configuration of the smart home system after the house (family) is renovated), a target configuration template for the family to be installed and maintained can be obtained from multiple existing configuration templates, and then the configuration of the smart home devices of the family to be installed and maintained can be quickly completed according to the object model and operation instructions in the target configuration template. For example, when installing and maintaining rooms with the same apartment type and smart home device layout in a building, the installation and maintenance personnel can select a target configuration template from multiple configuration templates, and then send the target configuration template to the home host of the family, and trigger the start of configuration of the family's smart home devices.
[0065] Step 103: displaying the target configuration template in the graphical user interface;
[0066] In a specific implementation, the smart home devices in the smart home system need to communicate through the local network. If multiple smart home devices enter the network configuration state at the same time, network conflicts are likely to occur. Therefore, in an embodiment of the present invention, the smart home devices in the smart home system can be configured in sequence, which can avoid multiple smart home devices from trying to access the network at the same time, reduce network conflicts, and improve installation and maintenance efficiency.
[0067] Specifically, in an embodiment of the present invention, during the process of configuring a home's smart home devices, a target configuration template can be displayed in the graphical user interface of the terminal device, that is, the physical model and operation instructions of the smart home devices can be displayed in the graphical user interface of the terminal device. In this way, installation and maintenance personnel can understand the smart home devices that need to be configured in the home based on the physical model, and can perform configuration operations on the smart home devices in sequence (in chronological order) according to the operation instructions. Even if the installation and maintenance personnel have poor professional capabilities, they can quickly complete the configuration operations of the smart home devices through the physical model and operation instructions.
[0068] Step 104: In response to the configuration operation of the smart home device in sequence according to the operation instruction, a network instruction is generated and sent to the home host; the home host is used to obtain the configuration information corresponding to the smart home device according to the network instruction, and configure the smart home device according to the configuration information.
[0069] In an embodiment of the present invention, installation and maintenance personnel can perform configuration operations on smart home devices in sequence according to the operation instructions in the target configuration template, such as reset operation / reset operation. Before the smart home devices are installed and configured, they need to be reset to enter the network configuration state. For example, the hotspot of a wifi (Wireless Fidelity, wireless transmission technology) or Bluetooth smart home device is released after being reset so that it can be searched by the home host and other smart home devices.
[0070] After the configuration operation of one or more smart home devices is completed, the terminal device can automatically detect whether the smart home device has been configured according to the operating instructions, or the installation and maintenance personnel can click on the object model in the graphical user interface of the terminal device to indicate that the configuration operation for the corresponding smart home device has been completed. The terminal device can respond to the configuration operation, generate a network instruction and send it to the home host. After receiving the network instruction, the home host can obtain the configuration information corresponding to the smart home device from the target configuration template according to the network instruction, and then configure the smart home device according to the configuration information. After completing the configuration of all the smart home devices of the family to be installed and maintained, it can be regarded as completing the deployment and configuration of the smart home system of the family to be installed and maintained, and the family users can use the smart home devices in the smart home system normally.
[0071] In the above-mentioned smart home device configuration method, it is applied to a terminal device, the terminal device is connected to the home host in communication, and the terminal device can provide a graphical user interface. When it is necessary to install and maintain the home, the target configuration template of the home to be installed and maintained is obtained and sent to the home host, wherein the target configuration template may include a physical model and operation instructions of the smart home device, and the physical model may include configuration information corresponding to the smart home device. The target configuration template is displayed in the graphical user interface, and in response to the installation and maintenance personnel performing configuration operations on the smart home device in sequence according to the operation instructions, a network instruction is generated and sent to the home host, and the home host is used to obtain the configuration information corresponding to the smart home device according to the network instruction, and then configure the smart home device according to the configuration information, thereby completing the installation and maintenance of the smart home device of the home. The embodiment of the present invention can obtain the configuration template of the smart home system of the templated home. In the process of installing and maintaining the smart home system of the new home, after selecting a matching target configuration template from the existing configuration template, the target configuration template can be applied to quickly configure the smart home devices of the new home, thereby reducing the complexity of the installation and maintenance configuration of the smart home system of the new home, improving the installation and maintenance efficiency, and greatly reducing the time cost of installation and maintenance.
[0072] In one embodiment of the present invention, the terminal device is in communication with a cloud server, and the cloud server stores a configuration template; obtaining a target configuration template for a household to be maintained includes:
[0073] Obtaining a configuration template from the cloud server;
[0074] displaying the configuration template in the graphical user interface;
[0075] In response to a selection operation on the configuration template, a target configuration template for the home to be installed is determined from the configuration templates.
[0076] In a specific implementation, each smart home device has its corresponding actual address (MAC address). The MAC address is a unique hardware identifier of a smart home device, which is used to identify and locate the corresponding smart home device in a LAN / local network (the LAN of a smart home system). The MAC address has the characteristics of global uniqueness, hardware solidification, and underlying communication foundation. That is, the corresponding smart home device can be uniquely identified according to the MAC address. However, the MAC address is relatively long. In order to facilitate the management of smart home devices in a smart home system, the home host assigns a local address (local short address) to each smart home device. The local short address refers to a locally unique identifier that is shorter than the MAC address and is assigned by the home host to each smart home device. The local address is associated with the actual address of the smart home device, and the corresponding configuration information is configured for each smart home device based on the local address and stored in the physical model of the smart home device and then synchronized to the cloud server. If the installation and maintenance personnel subsequently submit the creation operation of the configuration template through the terminal device, the cloud server can also create a configuration template based on the physical model of the smart home device and save it.
[0077] In an embodiment of the present invention, when it is necessary to install and maintain a smart home system for a family to be installed and maintained, at least one saved configuration template can be obtained from a cloud server and displayed to the installers on a graphical user interface of a terminal device. Then, in response to a selection operation by the installers, a configuration template that is the same or similar to a room with the same apartment type and smart home device layout as that of the family to be installed and maintained can be screened out from the configuration templates as a target configuration template, and displayed to the installers on the graphical user interface of the terminal device, so that the installers can quickly configure the smart home devices of the family to be installed and maintained according to the target configuration template.
[0078] In one embodiment of the present invention, after generating a network instruction and sending it to the home host in response to sequentially performing configuration operations on the smart home device according to the operation instructions, the method may further include:
[0079] The configuration progress of the home to be installed is displayed in the graphical user interface.
[0080] In an embodiment of the present invention, during the configuration process of the smart home devices of the household to be installed and maintained, the configuration progress of the smart home devices of the household to be installed and maintained is displayed to the installation and maintenance personnel in the graphical user interface of the terminal device, so as to ensure that the installation and maintenance work is carried out in an orderly manner, avoid the omission of configuration of a smart home device, and improve the configuration efficiency of the smart home devices. In some optional embodiments, the display method of the configuration progress can be displayed in the form of a list, a progress bar, an icon or text, etc., and the embodiment of the present invention does not need to limit this.
[0081] In one embodiment of the present invention, in response to sequentially performing configuration operations on the smart home device according to the operation instructions, generating a network instruction and sending it to the home host, the method further includes:
[0082] In response to the selection operation of the object model of the target smart home device of the target configuration template, a reset instruction of the target smart home device is sent to the home host; the home host is used to reset the target smart home device according to the reset instruction;
[0083] In response to the configuration operation of the target smart home device according to the operation instruction, a network instruction is generated and sent to the home host; the home host is used to obtain the configuration information corresponding to the target smart home device according to the network instruction, and configure the target smart home device according to the configuration information.
[0084] In an embodiment of the present invention, if there is an error in the configuration operation of the smart home device, resulting in the home host misconfiguring the smart home system, the installation and maintenance personnel can correct the configuration of the smart home device corresponding to the corresponding object model in the graphic user interface, so that the home host can reset the smart home device and then reconfigure the smart home device using the correct configuration information. For example, if the installation and maintenance personnel find that the configuration information of the kitchen light in the home is wrong, they can select the object model of the kitchen light from the configuration template, and then reset the existing configuration of the kitchen light, and then reconfigure the kitchen light according to the configuration template.
[0085] Specifically, the terminal device responds to the installation and maintenance personnel's selection operation of the physical model of the target smart home device of the target configuration template (the target smart home device is a smart home device with a configuration operation error), and sends a reset instruction of the target smart home device to the home host. After receiving the reset instruction, the home host resets the completed configuration of the target smart home device. Then, the terminal device responds to the installation and maintenance personnel's configuration operation on the target smart home device according to the operation instructions, and generates a network instruction again and sends it to the home host. The home host can re-acquire the configuration information corresponding to the target smart home device according to the network instruction, and then reconfigure the target smart home device according to the configuration information, thereby ensuring that the configurations of each smart home device are correctly configured according to the operation instructions.
[0086] In one embodiment of the present invention, the method may further include:
[0087] When it is detected that the configuration operation of the smart home device is not performed in sequence according to the operation instruction, prompt information of the operation error is displayed in the graphical user interface.
[0088] In the embodiment of the present invention, the operating instructions in the configuration template are all normal operating instructions given by professionals. By performing the configuration operations on the smart home devices in sequence according to the operating instructions, the configuration of the smart home devices can be completed normally. Therefore, in order to ensure the configuration efficiency of the smart home devices for the families to be installed and maintained, the terminal device can detect in real time whether the installation and maintenance personnel perform the configuration operations of the smart home devices in sequence according to the operating instructions. If it is detected that the installation and maintenance personnel do not perform the configuration operations of the smart home devices in sequence according to the operating instructions, a prompt message of the operation error can be displayed in the graphical user interface.
[0089] In order to enable those skilled in the art to better understand the embodiments of the present invention, a complete example is used below for illustration. Figure 2 , is a schematic diagram of a configuration process of a smart home device (smart single product device) provided in an embodiment of the present invention;
[0090] 1. For installation and maintenance of smart home systems based on home hosts, installers can use visual mobile terminals (terminal devices) as interactive terminals to establish connections with home hosts and start network configuration and installation and maintenance of smart home systems.
[0091] 2. The home host allocates a local short address to the smart single product device, which is used as the unique identifier of the local network. The actual MAC address of the smart single product device is mapped to the local short address and maintained by the home host.
[0092] 3. Device configuration and other related action settings are performed based on the short address and MAC address of the smart single product device, and stored in the object model of the smart single product device and maintained by the home host.
[0093] 4. The physical models and configuration information of all smart single-product devices in the smart home system network form a configuration table file and are stored in the home host as the complete configuration data of the current smart home system. The home host is synchronized to the cloud and the visual mobile terminal is set to create the corresponding configuration template.
[0094] 5. When installing and maintaining rooms with the same apartment type and smart single-product equipment layout in a building, the installation and maintenance personnel can select and send the corresponding configuration template to the home host of the room, and trigger the start of installation and maintenance. The installation and maintenance progress is synchronously displayed on the visual terminal interface (graphical user interface of the terminal device).
[0095] 6. The installation and maintenance personnel reset the corresponding smart single-product devices in order according to the operation instructions in the configuration template to make them enter the network distribution state. After receiving the network access instruction of the smart single-product device, the home host sends the configuration details / configuration information to the smart single-product device according to the configuration template (the configuration information may include local short address, naming, room allocation, scene setting, linkage information, etc.) to complete the adaptation of the smart single-product device.
[0096] 7. If the installation and maintenance personnel make an error in the configuration of the smart single product device, resulting in the home host configuring the smart single product device incorrectly, the installation and maintenance personnel can correct the corresponding smart single product device by selecting the object model on the graphical user interface of the terminal device, and then reset the corresponding smart single product device so that it receives the correct configuration information to complete the configuration.
[0097] 8. Until all the smart home devices in the home are installed, maintained and configured and delivered to home users.
[0098] By applying the embodiments of the present invention, a home host is used as a control node for smart home devices, and the home installation and maintenance configuration information is templated into a configuration template. When similar or identical homes are installed and maintained, the installation and maintenance of the home's smart home system can be completed based on the matching configuration template, thereby reducing the complexity of the installation and maintenance configuration, improving the installation and maintenance efficiency, and reducing the installation and maintenance time cost.
[0099] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0100] Reference Figure 3 , shows a structural block diagram of a smart home device configuration device provided in an embodiment of the present invention, which is applied to a terminal device, the terminal device is connected to a home host for communication, the terminal device provides a graphical user interface, and the device may specifically include the following modules:
[0101] The target configuration template acquisition module 301 is used to acquire the target configuration template of the home to be maintained; the target configuration template includes the physical model and operation instructions of the smart home device, and the physical model includes the configuration information of the smart home device;
[0102] A target configuration template sending module 302 is used to send the target configuration template to the home host;
[0103] A target configuration template display module 303, used to display the target configuration template in the graphical user interface;
[0104] The configuration operation module 304 is used to generate a network instruction and send it to the home host in response to the configuration operation of the smart home device in sequence according to the operation instructions; the home host is used to obtain the configuration information corresponding to the smart home device according to the network instruction, and configure the smart home device according to the configuration information.
[0105] In an embodiment of the present invention, the configuration information includes at least a local address, a key, a room allocation, a device name, a linkage action, and a scene action.
[0106] In one embodiment of the present invention, the terminal device is in communication with a cloud server, and the cloud server stores a configuration template; the target configuration template acquisition module 301 is used to:
[0107] Obtaining a configuration template from the cloud server;
[0108] displaying the configuration template in the graphical user interface;
[0109] In response to a selection operation on the configuration template, a target configuration template for the home to be installed is determined from the configuration templates.
[0110] In one embodiment of the present invention, the home host is used to assign a local address to the smart home device, and associate the local address with the actual address of the smart home device, and configure corresponding configuration information for the smart home device based on the local address and store it in the physical model of the smart home device and then synchronize it to the cloud server.
[0111] In one embodiment of the present invention, the home host is further used to create a configuration template according to the object model of the smart home device in response to a creation operation of the configuration template submitted by the terminal device.
[0112] In one embodiment of the present invention, the apparatus further comprises: a configuration progress module, configured to:
[0113] The configuration progress of the home to be installed is displayed in the graphical user interface.
[0114] In one embodiment of the present invention, the apparatus further comprises: a reconfiguration module, configured to:
[0115] In response to the selection operation of the object model of the target smart home device of the target configuration template, a reset instruction of the target smart home device is sent to the home host; the home host is used to reset the target smart home device according to the reset instruction;
[0116] In response to the configuration operation of the target smart home device according to the operation instruction, a network instruction is generated and sent to the home host; the home host is used to obtain the configuration information corresponding to the target smart home device according to the network instruction, and configure the target smart home device according to the configuration information.
[0117] In one embodiment of the present invention, the device further includes: an error prompt module, configured to:
[0118] When it is detected that the configuration operation of the smart home device is not performed in sequence according to the operation instruction, prompt information of the operation error is displayed in the graphical user interface.
[0119] In an embodiment of the present invention, the configuration operation at least includes a reset operation on the smart home device.
[0120] In an embodiment of the present invention, it is applied to a terminal device, the terminal device is connected to a home host in communication, and the terminal device can provide a graphical user interface. When it is necessary to install and maintain a home, the target configuration template of the home to be installed and maintained is obtained and sent to the home host, wherein the target configuration template may include a physical model and operation instructions of the smart home device, and the physical model may include configuration information corresponding to the smart home device. The target configuration template is displayed in the graphical user interface, and in response to the installation and maintenance personnel performing configuration operations on the smart home device in sequence according to the operation instructions, a network instruction is generated and sent to the home host, and the home host is used to obtain the configuration information corresponding to the smart home device according to the network instruction, and then configure the smart home device according to the configuration information, thereby completing the installation and maintenance of the smart home device of the home. The embodiment of the present invention can obtain the configuration template of the smart home system of the templated home. In the process of installing and maintaining the smart home system of the new home, after filtering out a matching target configuration template from the existing configuration template, the target configuration template can be applied to quickly configure the smart home devices of the new home, thereby reducing the complexity of the installation and maintenance configuration of the smart home system of the new home, improving the installation and maintenance efficiency, and greatly reducing the time cost of installation and maintenance.
[0121] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0122] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, each process of the above-mentioned smart home device configuration method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0123] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned smart home device configuration method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0124] An embodiment of the present invention further provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned smart home device configuration method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0125] Figure 4 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0126] The electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and a power supply 411. Those skilled in the art will appreciate that Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0127] It should be understood that in the embodiment of the present invention, the radio frequency unit 401 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 410 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 401 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
[0128] The electronic device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0129] The audio output unit 403 can convert the audio data received by the RF unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 can also provide audio output related to a specific function performed by the electronic device 400 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, etc.
[0130] The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processor (GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 406. The image frame processed by the graphics processor 4041 can be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode.
[0131] The electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 4061 and / or the backlight when the electronic device 400 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 405 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0132] The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0133] The user input unit 407 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 4071 or near the touch panel 4071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 410, receives the command sent by the processor 410 and executes it. In addition, the touch panel 4071 can be implemented using various types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.
[0134] Furthermore, the touch panel 4071 may be overlaid on the display panel 4061. When the touch panel 4071 detects a touch operation on or near it, it is transmitted to the processor 410 to determine the type of the touch event. Then, the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Figure 4 In the figure, the touch panel 4071 and the display panel 4061 are used as two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.
[0135] The interface unit 408 is an interface for connecting an external device to the electronic device 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 400 or may be used to transmit data between the electronic device 400 and an external device.
[0136] The memory 409 can be used to store software programs and various data. The memory 409 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 409 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0137] The processor 410 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 409, and calling data stored in the memory 409, so as to monitor the electronic device as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 410.
[0138] The electronic device 400 may also include a power supply 411 (such as a battery) for supplying power to each component. Preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.
[0139] In addition, the electronic device 400 includes some functional modules not shown, which will not be described in detail here.
[0140] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0141] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0142] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0143] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0144] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0145] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0146] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0147] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0148] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0149] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for configuring a smart home device, characterized in that: Applied to a terminal device, the terminal device is communicatively connected to a home host, the terminal device provides a graphical user interface, and the method includes: Obtain a target configuration template for a home to be maintained; the target configuration template includes a physical model and operation instructions of a smart home device, and the physical model includes configuration information of the smart home device; sending the target configuration template to the home host; displaying the target configuration template in the graphical user interface; In response to the configuration operation of the smart home device in sequence according to the operation instructions, a network instruction is generated and sent to the home host; the home host is used to obtain the configuration information corresponding to the smart home device according to the network instruction, and configure the smart home device according to the configuration information.
2. The method according to claim 1, characterized in that The configuration information includes at least a local address, a key, a room allocation, a device name, a linkage action, and a scene action.
3. The method according to claim 1, characterized in that The terminal device is in communication connection with a cloud server, and the cloud server stores a configuration template; Get the target configuration template for the home to be installed, including: Obtaining a configuration template from the cloud server; displaying the configuration template in the graphical user interface; In response to a selection operation on the configuration template, a target configuration template for the home to be maintained is determined from the configuration templates.
4. The method according to claim 1, characterized in that: The home host is used to assign a local address to the smart home device, and associate the local address with the actual address of the smart home device, and configure corresponding configuration information for the smart home device based on the local address and store it in the physical model of the smart home device and then synchronize it to the cloud server.
5. The method according to claim 4, characterized in that The home host is also used to create a configuration template according to the object model of the smart home device in response to a creation operation of the configuration template submitted by the terminal device.
6. The method according to claim 1, characterized in that After generating a network instruction and sending it to the home host in response to sequentially configuring the smart home device according to the operation instruction, the method further includes: The configuration progress of the home to be installed is displayed in the graphical user interface.
7. The method according to claim 1, characterized in that In response to sequentially performing configuration operations on the smart home device according to the operation instructions, generating a network instruction and sending it to the home host, the method further includes: In response to the selection operation of the object model of the target smart home device of the target configuration template, a reset instruction of the target smart home device is sent to the home host; the home host is used to reset the target smart home device according to the reset instruction; In response to the configuration operation of the target smart home device according to the operation instruction, a network instruction is generated and sent to the home host; the home host is used to obtain the configuration information corresponding to the target smart home device according to the network instruction, and configure the target smart home device according to the configuration information.
8. The method according to claim 1, characterized in that The method further comprises: When it is detected that the configuration operation of the smart home device is not performed in sequence according to the operation instruction, prompt information of the operation error is displayed in the graphical user interface.
9. The method according to claim 1, characterized in that: The configuration operation at least includes a reset operation on the smart home device.
10. A smart home equipment configuration device, characterized in that: Applied to a terminal device, the terminal device is connected to a home host for communication, the terminal device provides a graphical user interface, and the device comprises: A target configuration template acquisition module is used to acquire a target configuration template for a home to be maintained; the target configuration template includes a physical model and operation instructions of a smart home device, and the physical model includes configuration information of the smart home device; A target configuration template sending module, used for sending the target configuration template to the home host; A target configuration template display module, used to display the target configuration template in the graphical user interface; A configuration operation module is used to generate a network instruction and send it to the home host in response to the configuration operation of the smart home device in sequence according to the operation instructions; the home host is used to obtain the configuration information corresponding to the smart home device according to the network instruction, and configure the smart home device according to the configuration information.
11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 9 when executing the program stored in the memory.
12. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method and device for controlling intelligent household electrical appliance and intelligent household electrical appliance
CN112415902A
Smart home equipment batch setting method and equipment, and storage medium
CN115097739A
Smart home host configuration method, smart home system and computer readable medium
CN116980245A