Equipment configuration method, electronic equipment and storage medium
By obtaining and storing the configuration information of the smart device in the host of the smart house and configuring it when the device is online, the configuration problem of inefficient configuration caused by inconsistent construction progress of the smart house is solved, and automated configuration is achieved and overall efficiency is improved.
Patent Information
- Application Number
- CN202311428369.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-30
- Publication Date
- 2025-05-02
AI Technical Summary
When the construction progress of smart houses is inconsistent, it is impossible to make multiple smart devices in the same apartment type or type online, resulting in the inability to uniformly configure and reduce the configuration efficiency.
By obtaining the configuration information of multiple controlled devices stored in the host of the smart house and configuring the smart device based on these configuration information when it is detected that the smart device is online, it avoids the separate configuration of smart devices that cannot participate in the unified configuration.
Regardless of whether all the smart devices are installed and online, as long as the host is installed, it can be configured when the device is online, which improves configuration efficiency and reduces the time and energy of manual configuration.
Smart Images

Figure CN119922030A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of device configuration, and in particular to a device configuration method, an electronic device and a storage medium. Background Art
[0002] At present, we can provide a complete set of customized smart devices for the real estate developers' fine houses. Generally, there are hundreds of smart devices in the complete set. For the same or similar house types with the same decoration, the name, function and application scenario of each smart device are the same.
[0003] For these smart houses, real estate developers need to complete the configuration of all smart devices in the house when handing over the house, so that users can experience the intelligence of the smart house as soon as they get the house key. However, due to the inconsistent construction progress of smart houses, it is impossible to make multiple smart devices in the same or similar house types all online to configure all smart devices. In this way, smart devices that cannot participate in unified configuration need to be configured separately, resulting in low configuration efficiency. Summary of the invention
[0004] In order to solve the problem of low configuration efficiency, the embodiments of the present application provide a device configuration method, an electronic device and a storage medium.
[0005] In a first aspect, the present application provides a device configuration method, including: a first host in a first space obtains configuration information of multiple controlled devices in the first space, and the configuration information of the multiple controlled devices in the first space is determined according to the configuration information of multiple controlled devices in a second space; the first host in the first space detects that a first controlled device in the first space is online, and the first controlled device belongs to multiple controlled devices in the first space; the first host obtains first configuration information of the first controlled device from the stored configuration information of the multiple controlled devices, and configures the first controlled device based on the first configuration information.
[0006] Based on the above solution, no matter whether all the smart devices in the smart house are installed and online, as long as the host in the smart house has been installed, the host can control the smart devices in the smart house to perform the functions they have based on the configuration information when detecting that the smart devices in the smart house are online. In this way, there is no need to configure the smart devices that cannot participate in the unified configuration separately, which can improve the configuration efficiency.
[0007] It can be understood that the second space can be the first smart house mentioned below, that is, the smart house that has been configured with configuration information of all smart devices. The first space can be the second smart house mentioned below, that is, the smart house that has not been configured with configuration information of all smart devices. Among them, the first smart house and the second smart house can be of the same apartment type or of a similar apartment type, that is, the first space and the second space can be of the same apartment type or of a similar apartment type.
[0008] It can be understood that the multiple controlled devices in the first space and the multiple controlled devices in the second space can all be smart devices mentioned below. The smart devices may include smart washing machines, smart microwave ovens, smart refrigerators, smart ovens, smart air conditioners, smart curtains, smart night lights, smart TVs, smart floor scrubbers, smart door locks, smart fans and other devices.
[0009] In some optional instances of the first aspect, configuration information of the plurality of controlled devices in the first space is imported from the second host in the second space to the first host in the first space.
[0010] In the embodiment of the present application, regardless of whether all the smart devices in the smart house have been installed and online, the configuration information is imported from the host of the smart house that has configured the configuration information of all the smart devices. Then, when it is detected that the smart devices in the smart house are online, the online smart devices are configured. There is no need to separately configure the smart devices that cannot participate in the unified configuration, which can improve the configuration efficiency.
[0011] In some optional instances of the first aspect, configuration information of the plurality of controlled devices in the first space is imported from a server into a first host in the first space.
[0012] In the embodiment of the present application, regardless of whether all the smart devices in the smart house are installed and online, the configuration information is imported from the server, and then when the smart devices in the smart house are detected to be online, the online smart devices are configured. There is no need to separately configure the smart devices that cannot participate in the unified configuration, which can improve the configuration efficiency.
[0013] In some optional instances of the first aspect, configuration information of multiple controlled devices in the first space is the same as configuration information of multiple controlled devices in the second space, or configuration information of multiple controlled devices in the first space is part of configuration information of multiple controlled devices in the second space.
[0014] In some optional instances, the number, type and function of the smart devices installed in the first space and the second space are the same, that is, the number, type and function of the smart devices installed in the same or similar apartment types are the same.
[0015] In other optional examples, the number of smart devices installed in the first space and the second space is the same, the types are different, but the functions are the same, that is, the number of smart devices installed in the same or similar apartment types is the same, the types are different, but the functions are the same.
[0016] In some optional instances of the first aspect, the first host in the first space obtains configuration information of multiple controlled devices in the first space in the following manner: the first host in the first space sends a configuration information acquisition request to the server, and receives configuration information of multiple controlled devices in the second space sent by the server; or the server detects the first host in the first space, and sends configuration information of multiple controlled devices in the second space to the first host in the first space.
[0017] In some optional instances, the second host in the second space can upload the configuration information of all configured smart devices to the server, and upload the MAC address of the second host to the server. After the first host in the first space is installed and online, a configuration information acquisition request can be sent to the server, wherein the configuration information acquisition request can include the MAC address of the first host in the first space, and the MAC address of the first host can represent the apartment type of the first space, so that after receiving the configuration information acquisition request, the server determines that the MAC address of the second host matches the MAC address of the first host, and sends the configuration information of all smart devices uploaded to the server by the second host in the second space to the first host in the first space.
[0018] In some other optional examples, the second host in the second space can upload the configuration information of all configured smart devices to the server, and upload the MAC addresses of all smart devices in the second space to the server. After the first host in the first space is installed and online, a configuration information acquisition request can be sent to the server, wherein the configuration information acquisition request can include the MAC addresses of all smart devices in the first space, and the MAC address of the first host can represent the apartment type of the first space, so that after receiving the configuration information acquisition request, the server determines that the MAC addresses of all devices in the second space match the MAC addresses of all smart devices in the first space, and sends the configuration information of all smart devices uploaded to the server by the second host in the second space to the first host in the first space.
[0019] In some other optional examples, the second host in the second space can upload the configuration information of all configured smart devices to the server, and upload the MAC addresses of all smart devices in the second space to the server. After the server detects that the first host in the first space is installed and online, and the MAC address of the second host matches the MAC address of the first host, the configuration information of all smart devices uploaded to the server by the second host in the second space can be sent to the first host in the first space.
[0020] In an embodiment of the present application, the first host in the first space and the second host in the second space can access the same local area network or the same access layer network, so that the host in the space that has not configured the configuration information of all smart devices can actively or passively obtain the configuration information of all smart devices from the server. In this way, there is no need to obtain the configuration information of a single smart device separately, which can improve the configuration efficiency.
[0021] In some optional instances of the first aspect, a detection device is installed in the first space, and the first host and multiple controlled devices in the first space are connected to the local area network of the first space through the detection device; and the first host in the first space monitors that the first controlled device in the first space is online in the following manner: the first host receives a first message sent by the detection device, wherein the first message indicates that the first controlled device is connected to the detection device; the first host monitors that the first controlled device in the first space is online.
[0022] In some optional examples of the first aspect, the detection device includes at least one of a wireless fidelity sub-device, a power line communication device, and a Bluetooth gateway.
[0023] In some optional instances of the first aspect, the first host in the first space and the second host in the second space are in the same local area network or the same access layer network.
[0024] It can be understood that the access layer network may refer to a switch in a computer room of a large building or a hotel, that is, the first host in the first space and the second host in the second space may communicate through an external network.
[0025] In some optional instances of the first aspect, the first host configures the first controlled device based on the first configuration information in the following manner, including: the first host sends a configuration instruction to the first controlled device based on the first configuration information; the first host obtains an execution result of the first controlled device executing the configuration instruction, and determines the configuration result of the first controlled device based on the execution result.
[0026] In some optional examples of the first aspect, the first configuration information includes device configuration information of the first controlled device, configuration information of a scene associated with the first controlled device, whole-house configuration information, and subsystem configuration information.
[0027] In some optional instances of the first aspect, the device configuration information of the first controlled device includes the name and operation mode of the first controlled device; the subsystem configuration information includes audio and video subsystem configuration information, lighting subsystem configuration information, cleaning subsystem, leisure subsystem, etc.
[0028] For example, the configuration information may be "In a summer sleeping scene, the bedroom air conditioner is in sleep mode for cooling, and the smart night light is in working mode". The configuration information may be "In a movie watching scene, the living room air conditioner is in cooling or heating at a temperature suitable for the human body, the living room light is in non-working mode, and the smart speaker is in working mode". The configuration information may be "Configure the power and rotation speed of the smart washing machine when it is in large-piece washing mode", and the configuration information may be "Detect the installation angle and installation position of the sensor corresponding to the smart night light relative to the wall corner". The configuration information may be "The smart washing machine performs mixed wash mode, quick wash mode, large-piece wash mode, wool wash mode, soaking wash mode, and energy-saving mode in turn". The configuration information may be "Start the lighting subsystem and turn on all lights in the smart house".
[0029] In a second aspect, the present application provides a device configuration method, including: an electronic device imports configuration information of multiple controlled devices in a first space into a first host in the first space; the first host in the first space detects that a first controlled device in the first space is online, and the first controlled device belongs to multiple controlled devices in the first space; the first host obtains first configuration information of the first controlled device from the configuration information of the multiple controlled devices, and configures the first controlled device based on the first configuration information.
[0030] In some optional examples of the second aspect, the electronic device is a second host or server in the second space.
[0031] In some optional instances of the second aspect, the electronic device imports the configuration information of multiple controlled devices in a first space into a first host in the first space, including: when the second host in the second space detects that the first host in the first space is online, the second host in the second space imports the configuration information of multiple controlled devices in the second space into the first host in the first space.
[0032] In some optional instances of the second aspect, the electronic device imports the configuration information of multiple controlled devices in a first space into a first host in the first space, including: when the server detects that the first host in the first space is online, the server imports the configuration information of multiple controlled devices in the first space reported by the second host in the second space to the first host in the first space.
[0033] In some optional examples, the second host in the second space can upload the configuration information of all configured smart devices to the server, and upload the MAC addresses of all smart devices in the second space to the server. After the server detects that the first host in the first space is installed and online, and the MAC address of the second host matches the MAC address of the first host, the configuration information of all smart devices uploaded to the server by the second host in the second space can be sent to the first host in the first space.
[0034] In an embodiment of the present application, the first host in the first space and the second host in the second space can access the same local area network or the same access layer network, so that the host in the space that has not configured the configuration information of all smart devices can actively or passively obtain the configuration information of all smart devices from the server. In this way, there is no need to obtain the configuration information of a single smart device separately, which can improve the configuration efficiency.
[0035] In some optional instances of the second aspect, the electronic device imports configuration information of multiple controlled devices in a first space into a first host in the first space, including: when the server receives a configuration information acquisition request from a second host in the second space, the server imports the configuration information of multiple controlled devices in the first space reported by the second host in the second space to the first host in the first space.
[0036] In some optional instances, the second host in the second space can upload the configuration information of all configured smart devices to the server, and upload the MAC address of the second host to the server. After the first host in the first space is installed and online, a configuration information acquisition request can be sent to the server, wherein the configuration information acquisition request can include the MAC address of the first host in the first space, and the MAC address of the first host can represent the apartment type of the first space, so that after receiving the configuration information acquisition request, the server determines that the MAC address of the second host matches the MAC address of the first host, and sends the configuration information of all smart devices uploaded to the server by the second host in the second space to the first host in the first space.
[0037] In some other optional examples, the second host in the second space can upload the configuration information of all configured smart devices to the server, and upload the MAC addresses of all smart devices in the second space to the server. After the first host in the first space is installed and online, a configuration information acquisition request can be sent to the server, wherein the configuration information acquisition request can include the MAC addresses of all smart devices in the first space, and the MAC address of the first host can represent the apartment type of the first space, so that after receiving the configuration information acquisition request, the server determines that the MAC addresses of all devices in the second space match the MAC addresses of all smart devices in the first space, and sends the configuration information of all smart devices uploaded to the server by the second host in the second space to the first host in the first space.
[0038] In an embodiment of the present application, the first host in the first space and the second host in the second space can access the same local area network or the same access layer network, so that the host in the space that has not configured the configuration information of all smart devices can actively or passively obtain the configuration information of all smart devices from the server. In this way, there is no need to obtain the configuration information of a single smart device separately, which can improve the configuration efficiency.
[0039] In some optional instances of the second aspect, configuration information of multiple controlled devices in the first space is the same as configuration information of multiple controlled devices in the second space, or configuration information of multiple controlled devices in the first space is part of configuration information of multiple controlled devices in the second space.
[0040] In some optional instances of the second aspect, a detection device is installed in the first space, and the first host and multiple controlled devices in the first space are connected to the local area network of the first space through the detection device; and the first host in the first space monitors that the first controlled device in the first space is online in the following manner: the first host receives a first message sent by the detection device, wherein the first message indicates that the first controlled device is connected to the detection device; the first host monitors that the first controlled device in the first space is online.
[0041] In some optional examples of the second aspect, the detection device includes at least one of a wireless fidelity sub-device, a power line communication device, and a Bluetooth gateway.
[0042] In some optional instances of the second aspect, the first host in the first space and the second host in the second space are in the same local area network or the same access layer network.
[0043] It can be understood that the access layer network may refer to a switch in a computer room of a large building or a hotel, that is, the first host in the first space and the second host in the second space may communicate through an external network.
[0044] In some optional instances of the second aspect, the first host configures the first controlled device based on the first configuration information in the following manner, including: the first host sends a configuration instruction to the first controlled device based on the first configuration information; the first host obtains an execution result of the first controlled device executing the configuration instruction, and determines the configuration result of the first controlled device based on the execution result.
[0045] In some optional examples of the second aspect, the first configuration information includes device configuration information of the first controlled device, configuration information of a scene associated with the first controlled device, whole-house configuration information, and subsystem configuration information.
[0046] In some optional instances of the second aspect, the device configuration information of the first controlled device includes the name and operation mode of the first controlled device; the subsystem configuration information includes audio and video subsystem configuration information, lighting subsystem configuration information, cleaning subsystem, leisure subsystem, etc.
[0047] For example, the configuration information may be "In a summer sleeping scene, the bedroom air conditioner is in sleep mode for cooling, and the smart night light is in working mode". The configuration information may be "In a movie watching scene, the living room air conditioner is in cooling or heating at a temperature suitable for the human body, the living room light is in non-working mode, and the smart speaker is in working mode". The configuration information may be "Configure the power and rotation speed of the smart washing machine when it is in large-piece washing mode", and the configuration information may be "Detect the installation angle and installation position of the sensor corresponding to the smart night light relative to the wall corner". The configuration information may be "The smart washing machine performs mixed wash mode, quick wash mode, large-piece wash mode, wool wash mode, soaking wash mode, and energy-saving mode in turn". The configuration information may be "Start the lighting subsystem and turn on all lights in the smart house".
[0048] In a third aspect, the present application provides an electronic device, comprising: a memory for storing instructions executed by one or more processors of the electronic device, and a processor, which is one of the one or more processors of the electronic device, for executing the device configuration method mentioned in the present application.
[0049] In a fourth aspect, the present application provides a readable storage medium, on which instructions are stored. When the instructions are executed on an electronic device, the electronic device executes the device configuration method mentioned in the present application.
[0050] In a fifth aspect, an embodiment of the present application provides a computer program product, including: a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium containing a computer program code for executing a device configuration method. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1According to some examples of the present application, a schematic diagram of a scenario of a device configuration method is shown;
[0052] Figure 2 According to some examples of the present application, a schematic flow chart of a device configuration method is shown;
[0053] Figure 3 According to some examples of the present application, a scenario schematic diagram of a first device configuration method is shown;
[0054] Figure 4 According to some examples of the present application, a scenario schematic diagram of a second device configuration method is shown;
[0055] Figure 5 According to some examples of the present application, a scenario schematic diagram of a third device configuration method is shown;
[0056] Figure 6 According to some examples of the present application, a hardware structure of an electronic device is shown. DETAILED DESCRIPTION
[0057] The illustrative embodiments of the present application include, but are not limited to, a device configuration method, an electronic device, and a storage medium.
[0058] It can be understood that the configuration device can execute the device configuration method mentioned in the embodiment of the present application to configure the smart devices in the smart house. The configuration device can be integrated in an electronic device, and the electronic device can include a terminal and a server.
[0059] The terminal may include a smart phone, a tablet computer, a laptop computer, a personal computer (PC), etc.
[0060] The server can be an intercommunication server between multiple heterogeneous systems or a background server for a product verification and configuration system. It can also be an independent physical server, a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, as well as basic cloud computing services such as big data and artificial intelligence platforms, etc.
[0061] Smart devices can include various IoT devices, such as smart washing machines, smart microwave ovens, smart refrigerators, smart ovens, smart air conditioners, smart curtains, smart night lights, and so on.
[0062] The following is an introduction to the device configuration methods mentioned in some embodiments.
[0063] like Figure 1As shown, the smart house may include type A 101, type A 102, and type A 103. Assume that the developer customizes the same number of smart devices for type A 101, type A 102, and type A 103. For example, type A 101, type A 102, and type A 103 all customize 100 smart devices, and each smart device corresponds to a point (sockets, switches, network cables, telephone interfaces, hot and cold water outlets, etc. are collectively referred to as points during decoration), that is, the points corresponding to the same type and type A are the same. It can be understood that for a complete set of smart devices in each smart house, a host can be set, and the user can control all the smart devices in the smart house through the host.
[0064] During the configuration of the smart devices, first, the user can manually set the configuration information of all the smart devices in the A apartment 101 on the host of the A apartment 101, and then control the corresponding smart devices to perform configuration operations based on the configuration information.
[0065] For example, in some embodiments, the configuration information may include information such as the name, operation mode, and application scenario of the smart device, and then the smart device is controlled to perform configuration operations based on the configuration information.
[0066] Among them, different smart devices can have different names. For example, the name of a smart washing machine is "001" or "washing machine", and the name of a smart air conditioner is "002", "bedroom air conditioner", "living room air conditioner", "vertical air conditioner", "central air conditioner", etc.
[0067] The same smart device can have multiple operating modes. For example, a smart washing machine has operating modes such as mixed wash mode, quick wash mode, large piece wash mode, wool wash mode, soaking wash mode, and energy-saving mode. A smart air conditioner has operating modes such as heating mode, cooling mode, automatic mode, dehumidification mode, and sleep mode.
[0068] The same smart device can have multiple application scenarios, that is, multiple smart devices can be used to perform operations in the same scenario. For example, smart air conditioners can be used in application scenarios such as sleeping, entering the house, meeting guests, and watching movies. In the sleeping scenario, the smart air conditioner needs to be in sleep mode and the smart night light in working mode.
[0069] In some optional instances, the configuration information may be "In a summer sleeping scene, the bedroom air conditioner is in sleep mode for cooling, and the smart night light is in working mode". The configuration information may be "In a movie watching scene, the living room air conditioner is in cooling or heating at a temperature suitable for the human body, the living room lights are in non-working mode, and the smart speaker is in working mode". The configuration information may be "Configure the power and rotation speed of the smart washing machine when it is in large-piece wash mode", and the configuration information may be "Detect the installation angle and installation position of the sensor corresponding to the smart night light relative to the corner of the wall". The configuration information may be "The smart washing machine performs mixed wash mode, quick wash mode, large-piece wash mode, wool wash mode, soaking wash mode, and energy-saving mode in turn".
[0070] Configuration operations can make the smart device perform the functions it has in the running mode or application scenario. For example, the functions of a smart washing machine include washing, dehydration, temperature control, reminders, etc., and the configuration operation can make the smart washing machine perform washing, dehydration, temperature control, reminders, etc. in mixed washing mode, quick washing mode, large washing mode, wool washing mode, soaking washing mode and / or energy-saving mode.
[0071] For example, a smart air conditioner has functions such as heating, cooling, automatic, and dehumidification. The configuration operation can make the smart air conditioner cool in sleep mode in summer sleeping scenes, and make the smart night light work in working mode.
[0072] For example, for apartment 101 in type A, the configuration process is as follows:
[0073] When it is detected that the host and all smart devices in apartment type A 101 have been installed and all smart devices are online, the user can manually input the configuration information of all smart devices on the host in apartment type A 101, so that the host in apartment type A 101 configures the smart devices in apartment type A 101 based on the configuration information of all smart devices in apartment type A 101. For example, the user can set the name of the smart air conditioner in the bedroom to "bedroom air conditioner" on the host, set the operation mode of the smart air conditioner to cooling mode, and set the application scene of the smart air conditioner to summer sleeping scene. After the configuration component is triggered, the smart air conditioner in the bedroom is controlled to execute the cooling mode to realize the configuration of the smart air conditioner in the bedroom.
[0074] After the configuration in apartment type A 101 is completed, when configuring the smart devices in apartment type A 102, it is only necessary to import the configuration information of all smart devices in apartment type A 101 into the host in apartment type A 102. However, before configuring the smart devices in apartment type A 102, it is still necessary to confirm whether the host and all smart devices in apartment type A 102 have been installed and whether all smart devices are online. After determining that the host and all smart devices in apartment type A 102 have been installed and all smart devices are online, the configuration information of all smart devices in apartment type A 101 can be imported into the host in apartment type A 102, so that the host of apartment type A 102 configures the smart devices in apartment type A 102 based on the corresponding relationship between the points of the smart devices in apartment type A 101 and the points of the smart devices in apartment type A 102, as well as the configuration information of all smart devices in apartment type A 101. For example, the host in apartment type A 102 configures the smart devices at corresponding points in apartment type A 102 based on the configuration information of the smart devices in apartment type A 101 .
[0075] The configuration of the smart devices in the type A apartment 103 is similar to the configuration of the smart devices in the type A apartment 102, and will not be repeated here.
[0076] When importing configuration information, all smart devices in the same or similar apartment type need to be online. However, due to the inconsistent construction progress of smart houses, it is impossible to make multiple smart devices in the same or similar apartment type all online to configure all smart devices. As a result, it is necessary to configure smart devices that cannot participate in unified configuration separately, resulting in low configuration efficiency.
[0077] In order to solve the above problems, the embodiment of the present application provides a device configuration method. In this method, the configuration information of all devices in the smart house is imported into the host in the smart house in advance. In this way, no matter whether all the smart devices in the smart house are installed and online, as long as the host in the smart house has been installed, the host can control the smart devices in the smart house to perform the functions they have based on the configuration information when detecting that the smart devices in the smart house are online. In this way, there is no need to configure the smart devices that cannot participate in the unified configuration separately, which can improve the configuration efficiency.
[0078] In some optional instances, the configuration information of each smart device may also include the media access control address (MAC) of the smart device. When it is detected that the smart device is online, the MAC address of the online smart device can be obtained and matched with the MAC addresses of multiple smart devices stored in the host. Based on the configuration information of the smart device in the host with the same MAC address as the online smart device, the online smart device can be controlled to perform configuration operations.
[0079] In some optional examples, after the host in the smart house of the same or similar type is installed, a local area network between the smart houses of the same or similar type is established, and a multicast message is broadcast in the local area network. After the host in the smart house of the same or similar type receives the multicast message, the configuration information of each smart device in the multiple smart devices in the set smart house is imported into the installed host in the smart house of the same or similar type. In this way, remote configuration can be achieved, further improving configuration efficiency.
[0080] The following is an introduction to the device configuration method mentioned in the embodiments of the present application.
[0081] Figure 2 A schematic diagram of a device configuration method is shown, and the device configuration method can be executed by an electronic device, such as Figure 2 As shown, the device configuration method may include:
[0082] 201: The first host detects that a first smart device among multiple smart devices in a first smart house meets a configuration condition.
[0083] It can be understood that the first smart house can be the first space, the multiple smart devices in the first smart house can be the multiple controlled devices in the first space, and the configuration condition can include that the first smart device is online.
[0084] In some optional instances, the controlled devices may include but are not limited to smart washing machines, smart microwave ovens, smart refrigerators, smart ovens, smart air conditioners, smart curtains, smart night lights, smart TVs, smart floor scrubbers, smart door locks, and smart fans.
[0085] 202: The first host selects first configuration information of a first smart device from configuration information corresponding to a plurality of smart devices, and configures the first smart device based on the first configuration information.
[0086] It is understood that the first host may store configuration information of multiple smart devices in the first space, and the configuration information may be imported from the second host in the second space, wherein the multiple controlled devices installed in the second space are the same as the multiple controlled devices installed in the first space. The configuration information may also be pre-entered by the user.
[0087] In some optional instances, the configuration information includes device configuration information of the smart device, configuration information of the scene associated with the device, whole-house configuration information and subsystem configuration information. The device configuration information includes the name and operating mode of the smart device; the subsystem configuration information includes audio and video subsystem configuration information, lighting subsystem configuration information, cleaning subsystem, leisure subsystem, etc.
[0088] Among them, different smart devices can have different names. For example, the name of a smart washing machine is "001" or "washing machine", and the name of a smart air conditioner is "002", "bedroom air conditioner", "living room air conditioner", "vertical air conditioner", "central air conditioner", etc.
[0089] The same smart device can have multiple operating modes. For example, a smart washing machine has operating modes such as mixed wash mode, quick wash mode, large piece wash mode, wool wash mode, soaking wash mode, and energy-saving mode. A smart air conditioner has operating modes such as heating mode, cooling mode, automatic mode, dehumidification mode, and sleep mode.
[0090] The same smart device can have multiple application scenarios, that is, multiple smart devices can be used to perform operations in the same scenario. For example, smart air conditioners can be used in application scenarios such as sleeping, entering the house, meeting guests, and watching movies. In the sleeping scenario, the smart air conditioner needs to be in sleep mode and the smart night light in working mode.
[0091] In some optional instances, the configuration information may be "In a summer sleeping scene, the bedroom air conditioner is in sleep mode for cooling, and the smart night light is in working mode". The configuration information may be "In a movie-watching scene, the living room air conditioner is in cooling or heating at a temperature suitable for the human body, the living room light is in non-working mode, and the smart speaker is in working mode". The configuration information may be "Configure the power and rotation speed of the smart washing machine when it is in large-piece wash mode", and the configuration information may be "Detect the installation angle and position of the sensor corresponding to the smart night light relative to the corner of the wall". The configuration information may be "The smart washing machine performs mixed wash mode, quick wash mode, large-piece wash mode, wool wash mode, soaking wash mode, and energy-saving mode in turn". The configuration information may be "Start the lighting subsystem and turn on all lights in the smart house".
[0092] 203: Obtain the configuration result of the first smart device.
[0093] It can be understood that the first host can send a configuration instruction to the first smart device based on the first configuration information corresponding to the first smart device, obtain the execution result of the configuration instruction executed by the first smart device, and determine the configuration result of the first smart device based on the execution result.
[0094] The following is a detailed introduction to the device configuration method mentioned above with several specific examples.
[0095] Figure 3 FIG. 1 shows a schematic diagram of a first device configuration method. Figure 3 As shown, the smart house may include a first smart house and a second smart house. The first smart house and the second smart house may be of the same type or of similar type.
[0096] The first smart house may be installed with a host (or hub). The second smart house may also be installed with a host (or hub) and an Internet of Things (IoT) device, wherein the IoT device includes at least one of a wireless fidelity (WiFi) sub-device, a power line communication (PLC) gateway, and a Bluetooth low energy (BLE) gateway. The second smart house may also be installed with a PLC sub-device, a BLE sub-device, or a Mesh sub-device.
[0097] In some optional instances, the user can manually input the configuration information of all smart devices on the host in the first smart house, so that the host in the first smart house configures the smart devices in the first smart house based on the configuration information of all smart devices in the first smart house.
[0098] For example, the user can set the name of the bedroom smart air conditioner to "bedroom air conditioner" on the host, set the operation mode of the smart air conditioner to cooling mode, and set the application scene of the smart air conditioner to summer sleeping scene. After the configuration component is triggered, the bedroom smart air conditioner is controlled to execute cooling mode to realize the configuration of the bedroom smart air conditioner.
[0099] Moreover, after the configuration information of all smart devices in the first smart house is set, no matter whether all the smart devices in the second smart house are installed and online, as long as the host in the second smart house has been installed, the configuration information of all smart devices in the first smart house will be imported into the host of the second smart house.
[0100] After the host of the second smart house detects that the smart device in the second smart house is installed and online, it can obtain the MAC address of the smart device, and search for configuration information that is the same as the MAC address of the online smart device from the configuration information imported into the host of the second smart house, and control the smart device in the second smart house to perform the operation of its functions based on the found configuration information. In this way, there is no need to configure smart devices that cannot participate in the unified configuration separately, which can improve configuration efficiency.
[0101] In some optional examples, the host of the second smart house can automatically discover whether the smart device is online, for example, the smart device is connected to the PLC gateway through a wired connection. The host of the second smart house can also periodically scan to determine whether the smart device is online, and determine whether the smart device is online by periodically scanning the WiFi sub-device, BLE sub-device, BLE sub-device or Mesh sub-device.
[0102] In some optional instances, the first smart house may also be installed with IoT devices, and the IoT devices include at least one of a wireless fidelity (WiFi) sub-device, a power line communication (PLC) gateway, and a Bluetooth low energy (BLE) gateway.
[0103] Figure 4 FIG. 1 is a schematic diagram showing a second device configuration method. Figure 4 As shown, the smart house may include a first smart house, smart houses of the same apartment type and / or smart houses of similar apartment types. A user may establish a local area network among the first smart house, smart houses of the same apartment type and / or smart houses of similar apartment types.
[0104] Among them, the first smart house can be installed with a host (or hub). The smart house of the same apartment type and / or the smart house of similar apartment type can also be installed with a host (or hub) and IoT devices, and the IoT devices include at least one of wireless fidelity (WiFi) sub-devices, power line communication (PLC) gateways and Bluetooth low energy (BLE) gateways. Among them, the smart house of the same apartment type and / or the smart house of similar apartment type can also be installed with PLC sub-devices, BLE sub-devices or Mesh sub-devices.
[0105] In some optional instances, the user can manually input the configuration information of all smart devices on the host in the first smart house, so that the host in the first smart house configures the smart devices in the first smart house based on the configuration information of all smart devices in the first smart house.
[0106] For example, the user can set the name of the bedroom smart air conditioner to "bedroom air conditioner" on the host, set the operation mode of the smart air conditioner to cooling mode, and set the application scene of the smart air conditioner to summer sleeping scene. After the configuration component is triggered, the bedroom smart air conditioner is controlled to execute cooling mode to realize the configuration of the bedroom smart air conditioner.
[0107] Furthermore, after the configuration information of all smart devices in the first smart house is set, a multicast message can occur in the local area network. When the host in the first smart house receives the response to the multicast message from the host in the smart house of the same type and / or smart house of similar type in the local area network, the configuration information of all smart devices in the first smart house is imported into the host in the smart house of the same type and / or smart house of similar type that responds to the multicast message, regardless of whether all the smart devices in the second smart house are installed and online.
[0108] After the host in the smart house of the same type and / or the smart house of the same type detects that the smart device in the smart house of the same type and / or the smart house of the same type is installed and online, the MAC address of the smart device can be obtained, and the configuration information imported into the host in the smart house of the same type and / or the smart house of the same type can be searched for the same configuration information as the MAC address of the online smart device, and the smart device in the smart house of the same type and / or the smart house of the same type can be controlled based on the found configuration information to perform the operation of the function it has. In this way, remote configuration can be achieved, further improving configuration efficiency.
[0109] In some optional examples, the host in the smart house of the same apartment type and / or the smart house of similar apartment type can automatically discover whether the smart device is online, for example, the smart device is connected to the PLC gateway through a wired connection. The host in the smart house of the same apartment type and / or the smart house of similar apartment type can also periodically scan to determine whether the smart device is online, and determine whether the smart device is online by periodically scanning the WiFi sub-device, BLE sub-device, BLE sub-device or Mesh sub-device.
[0110] In some optional instances, the first smart house may also be installed with IoT devices, including at least one of a wireless fidelity (WiFi) sub-device, a power line communication (PLC) gateway, and a Bluetooth low energy (BLE) gateway.
[0111] Figure 5 FIG. 1 shows a schematic diagram of a third device configuration method. Figure 5 As shown, the smart house may include a first smart house, a smart house of the same apartment type and / or a smart house of a similar apartment type. The first smart house, the smart house of the same apartment type and / or the smart house of a similar apartment type may be connected to the access layer network of the same server or to the same remote network.
[0112] Among them, the first smart house can be installed with a host (or hub). The smart house of the same apartment type and / or the smart house of similar apartment type can also be installed with a host (or hub) and IoT devices, and the IoT devices include at least one of wireless fidelity (WiFi) sub-devices, power line communication (PLC) gateways and Bluetooth low energy (BLE) gateways. Among them, the smart house of the same apartment type and / or the smart house of similar apartment type can also be installed with PLC sub-devices, BLE sub-devices or Mesh sub-devices.
[0113] In some optional instances, the user can manually input the configuration information of all smart devices on the host in the first smart house, so that the host in the first smart house configures the smart devices in the first smart house based on the configuration information of all smart devices in the first smart house.
[0114] For example, the user can set the name of the bedroom smart air conditioner to "bedroom air conditioner" on the host, set the operation mode of the smart air conditioner to cooling mode, and set the application scene of the smart air conditioner to summer sleeping scene. After the configuration component is triggered, the bedroom smart air conditioner is controlled to execute cooling mode to realize the configuration of the bedroom smart air conditioner.
[0115] Moreover, after the configuration information of all smart devices in the first smart house is set, regardless of whether all smart devices in smart houses of the same type and / or smart houses of similar types have been installed and online, as long as smart houses of the same type and / or smart houses of similar types have been installed and connected to the access layer network of the same server to which the first smart house is connected, or connected to the same remote network to which the first smart house is connected, the configuration information of all smart devices in the first smart house will be imported into the host in smart houses of the same type and / or smart houses of similar types.
[0116] After the host in the smart house of the same type and / or the smart house of the same type detects that the smart device in the smart house of the same type and / or the smart house of the same type is installed and online, the MAC address of the smart device can be obtained, and the configuration information imported into the host in the smart house of the same type and / or the smart house of the same type can be searched for the same configuration information as the MAC address of the online smart device, and the smart device in the smart house of the same type and / or the smart house of the same type can be controlled based on the found configuration information to perform the operation of the function it has. In this way, remote configuration can be achieved, further improving configuration efficiency.
[0117] In some optional examples, the host in the smart house of the same apartment type and / or the smart house of similar apartment type can automatically discover whether the smart device is online, for example, the smart device is connected to the PLC gateway through a wired connection. The host in the smart house of the same apartment type and / or the smart house of similar apartment type can also periodically scan to determine whether the smart device is online, and determine whether the smart device is online by periodically scanning the WiFi sub-device, BLE sub-device, BLE sub-device or Mesh sub-device.
[0118] In some optional instances, the first smart house may also be installed with IoT devices, and the IoT devices include at least one of a wireless fidelity (WiFi) sub-device, a power line communication (PLC) gateway, and a Bluetooth low energy (BLE) gateway.
[0119] In the embodiment of the present application, during the configuration process of batch smart houses of the same or similar types, the user does not need to run to each smart house for configuration. After any one smart house is configured, a three-dimensional location model is generated as a template for the remaining smart houses to be used for the configuration of smart devices in the remaining smart houses, and software is used to detect whether the smart devices are online. In this way, remote configuration can be achieved to improve configuration efficiency.
[0120] It can be understood that in the embodiment of the present application, the above device configuration method can be executed by an electronic device. The hardware structure of the electronic device is introduced below.
[0121] Figure 6 This is a block diagram of an electronic device 600 provided in an embodiment of the present application. In some embodiments, the electronic device 600 may include one or more processors 601, a system control logic 602 connected to at least one of the processors 601, a system memory 603 connected to the system control logic 602, a non-volatile memory (NVM) 604 connected to the system control logic 602, and a network interface 605 connected to the system control logic 602.
[0122] In some embodiments, the processor 601 may include one or more single-core or multi-core processors. In some embodiments, the processor 601 may include any combination of a general-purpose processor and a dedicated processor (e.g., a graphics processor, an application processor, a baseband processor, etc.). In an embodiment where the electronic device 600 uses an enhanced base station (evolved Node B, eNB) or a radio access network (Radio Access Network, RAN) controller, the processor 601 may be configured to execute various embodiments that comply with the present invention.
[0123] In some embodiments, system control logic 602 may include any suitable interface controller to provide any suitable interface to at least one of processors 601 and / or any suitable device or component in communication with system control logic 602 .
[0124] In some embodiments, the system control logic 602 may include one or more memory controllers to provide an interface to the system memory 603. The system memory 603 may be used to load and store data and / or instructions. In some embodiments, the system memory 603 of the electronic device 600 may include any suitable volatile memory, such as a suitable dynamic random access memory (DRAM).
[0125] The non-volatile memory (NVM) 604 may include one or more tangible, non-transitory computer-readable media for storing data and / or instructions. In some embodiments, the non-volatile memory (NVM) 604 may include any suitable non-volatile memory such as flash memory and / or any suitable non-volatile storage device, such as a hard disk drive (HDD), a compact disc (CD) drive, and a digital versatile disc (DVD) drive.
[0126] The non-volatile memory (NVM) 604 may include a portion of storage resources on the device on which the electronic device 600 is installed, or it may be accessible by the device but is not necessarily a portion of the device. For example, the non-volatile memory (NVM) 604 may be accessed over a network via the network interface 605 .
[0127] The system memory 603 and the non-volatile memory (NVM) 604 may respectively include: a temporary copy and a permanent copy of the instruction 607. The instruction 607 may include: an instruction that causes the electronic device 600 to implement the device configuration method mentioned in the embodiment of the present application when executed by at least one of the processors 601. In some embodiments, the instruction 607, hardware, firmware and / or its software components may be additionally / alternatively placed in the system control logic 602, the network interface 605 and / or the processor 601.
[0128] The network interface 605 may include a transceiver for providing a radio interface for the electronic device 600, and then communicating with any other suitable device (such as a front-end module, an antenna, etc.) through one or more networks. In some embodiments, the network interface 605 may be integrated with other components of the electronic device 600. For example, the network interface 605 may be integrated with at least one of the processor 601, the system memory 603, the non-volatile memory (NVM) 604, and a firmware device (not shown) with instructions. When at least one of the processors 601 executes the instructions, the electronic device 600 implements the device configuration method mentioned in the embodiments of the present application.
[0129] The network interface 605 may further include any suitable hardware and / or firmware to provide a multiple-input multiple-output radio interface. For example, the network interface 605 may be a network adapter, a wireless network adapter, a telephone modem and / or a wireless modem.
[0130] In some embodiments, at least one of the processors 601 may be packaged with logic for one or more controllers of the system control logic 602 to form a system in package (SiP). In one embodiment, at least one of the processors 601 may be integrated on the same die with logic for one or more controllers of the system control logic 602 to form a system on chip (SoC).
[0131] The electronic device 600 may further include an input / output (I / O) device 606. The input / output (I / O) device 606 may include a user interface to enable a user to interact with the electronic device 600; the design of the peripheral component interface enables the peripheral components to also interact with the electronic device 600. In some embodiments, the electronic device 600 further includes a sensor for determining at least one of an environmental condition and location information related to the electronic device 600.
[0132] In some embodiments, the user interface may include, but is not limited to, a display (e.g., an LCD display, a touch screen display, etc.), a speaker, a microphone, one or more cameras (e.g., a still image camera and / or a video camera), a flashlight (e.g., an LED flash), and a keyboard.
[0133] In some embodiments, the peripheral component interface may include, but is not limited to, a non-volatile memory port, an audio jack, and a power interface.
[0134] In some embodiments, the sensors may include, but are not limited to, gyroscope sensors, accelerometers, proximity sensors, ambient light sensors, and positioning units. The positioning unit may also be part of or interact with the network interface 605 to communicate with components of a positioning network (e.g., global positioning system (GPS) satellites).
[0135] The device configuration method provided in the embodiment of the present application can be executed by the processor 601 in the above-mentioned electronic device 600.
[0136] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.
[0137] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit, or a microprocessor.
[0138] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.
[0139] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, floppy disks, optical disks, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Therefore, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a machine (e.g., computer) readable form.
[0140] The above describes the hardware structure that the terminal device may have. It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0141] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
[0142] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.
[0143] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit, or a microprocessor.
[0144] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.
[0145] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, floppy disks, optical disks, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Therefore, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a machine (e.g., computer) readable form.
[0146] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.
[0147] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants 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, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0148] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the present application.
Claims
1. A device configuration method, characterized in that: include: The first host in the first space obtains configuration information of the plurality of controlled devices in the first space, where the configuration information of the plurality of controlled devices in the first space is determined according to the configuration information of the plurality of controlled devices in the second space; The first host in the first space detects that a first controlled device in the first space is online, and the first controlled device belongs to multiple controlled devices in the first space; The first host obtains first configuration information of the first controlled device from the stored configuration information of the plurality of controlled devices, and configures the first controlled device based on the first configuration information.
2. The method according to claim 1, characterized in that The configuration information of the plurality of controlled devices in the first space is imported from the second host in the second space to the first host in the first space.
3. The method according to claim 1, characterized in that The configuration information of the plurality of controlled devices in the first space is imported from a server to a first host in the first space.
4. The method according to claim 1, characterized in that: The configuration information of the plurality of controlled devices in the first space is the same as the configuration information of the plurality of controlled devices in the second space, or The configuration information of the multiple controlled devices in the first space is part of the configuration information of the multiple controlled devices in the second space.
5. The method according to any one of claims 1 to 4, characterized in that: The first host in the first space obtains the configuration information of the plurality of controlled devices in the first space in the following manner: The first host in the first space sends a configuration information acquisition request to the server, and receives configuration information of a plurality of controlled devices in the second space sent by the server; or The server detects a first host in the first space, and sends configuration information of a plurality of controlled devices in the second space to the first host in the first space.
6. The method according to claim 1, characterized in that A detection device is installed in the first space, and the first host and the plurality of controlled devices in the first space are connected to a local area network of the first space through the detection device; and The first host in the first space detects that the first controlled device in the first space is online by: The first host receives a first message sent by the detection device, wherein the first message indicates that the first controlled device is connected to the detection device; The first host detects that the first controlled device in the first space is online.
7. The method according to claim 6, characterized in that The detection device includes at least one of a wireless fidelity sub-device, a power line communication device and a Bluetooth gateway.
8. The method according to claim 2, characterized in that: The first host in the first space and the second host in the second space are in the same local area network or the same access layer network.
9. The method according to claim 1, characterized in that: The first host configures the first controlled device based on the first configuration information in the following manner, including: The first host sends a configuration instruction to the first controlled device based on the first configuration information; The first host obtains an execution result of the configuration instruction executed by the first controlled device, and determines a configuration result of the first controlled device based on the execution result.
10. The method according to claim 1, characterized in that The first configuration information includes device configuration information of the first controlled device, configuration information of a scene associated with the first controlled device, whole-house configuration information, and subsystem configuration information.
11. The method according to claim 10, characterized in that The device configuration information of the first controlled device includes the name and operation mode of the first controlled device.
12. A device configuration method, characterized in that: include: The electronic device imports the configuration information of the plurality of controlled devices in the first space into the first host in the first space; The first host in the first space detects that a first controlled device in the first space is online, and the first controlled device belongs to multiple controlled devices in the first space; The first host obtains first configuration information of the first controlled device from the configuration information of the plurality of controlled devices, and configures the first controlled device based on the first configuration information.
13. The method according to claim 12, characterized in that The electronic device is a second host or a server in the second space.
14. The method according to claim 13, characterized in that The electronic device imports configuration information of a plurality of controlled devices in a first space into a first host in the first space, including: When the second host in the second space detects that the first host in the first space is online, the second host in the second space imports the configuration information of the plurality of controlled devices in the second space to the first host in the first space.
15. The method according to claim 13, characterized in that The electronic device imports configuration information of a plurality of controlled devices in a first space into a first host in the first space, including: When detecting that the first host in the first space is online, the server imports the configuration information of the plurality of controlled devices in the first space reported by the second host in the second space to the first host in the first space.
16. The method according to claim 13, characterized in that The electronic device imports configuration information of a plurality of controlled devices in a first space into a first host in the first space, including: When the server receives the configuration information acquisition request from the second host in the second space, the server imports the configuration information of the plurality of controlled devices in the first space reported by the second host in the second space into the first host in the first space.
17. The method according to claim 13, characterized in that The configuration information of the plurality of controlled devices in the first space is the same as the configuration information of the plurality of controlled devices in the second space, or The configuration information of the multiple controlled devices in the first space is part of the configuration information of the multiple controlled devices in the second space.
18. The method according to claim 12, characterized in that A detection device is installed in the first space, and the first host and the plurality of controlled devices in the first space are connected to a local area network of the first space through the detection device; and The first host in the first space detects that the first controlled device in the first space is online by: The first host receives a first message sent by the detection device, wherein the first message indicates that the first controlled device is connected to the detection device; The first host detects that the first controlled device in the first space is online.
19. The method according to claim 18, characterized in that The detection device includes at least one of a wireless fidelity sub-device, a power line communication device and a Bluetooth gateway.
20. The method according to claim 13, characterized in that The first host in the first space and the second host in the second space are in the same local area network or the same access layer network.
21. The method according to claim 12, characterized in that The first host configures the first controlled device based on the first configuration information in the following manner, including: The first host sends a configuration instruction to the first controlled device based on the first configuration information; The first host obtains an execution result of the configuration instruction executed by the first controlled device, and determines a configuration result of the first controlled device based on the execution result.
22. The method according to claim 12, characterized in that The first configuration information includes device configuration information of the first controlled device, configuration information of a scene associated with the first controlled device, whole-house configuration information, and subsystem configuration information.
23. The method according to claim 22, characterized in that The device configuration information of the first controlled device includes the name and operation mode of the first controlled device.
24. An electronic device, characterized in that: include: A memory, used to store instructions executed by one or more processors of the electronic device, and a processor, which is one of the one or more processors of the electronic device, used to execute the device configuration method described in any one of claims 1-23.
25. A readable storage medium, characterized in that: The readable medium stores instructions, which, when executed on an electronic device, enable the electronic device to execute the device configuration method according to any one of claims 1 to 23.