Method for configuring a terminal and intelligent control system

By using package technology, network devices can automatically configure terminals, solving the problems of low configuration efficiency and high cost in existing technologies, and achieving efficient and secure terminal network access.

CN122457397APending Publication Date: 2026-07-24HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2025-01-22
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

The current technology for configuring terminals is inefficient. Users need to connect to each terminal one by one and learn its functions and how to use it, which results in high costs and poor security.

Method used

By using a packaged approach, network devices can automatically obtain network configuration information after detecting multiple execution terminals and connect the terminals in the package to the network. Users do not need to understand the detailed functions; they can simply power on the device to configure it. Furthermore, only associated terminals are connected, which improves efficiency and enhances security.

Benefits of technology

It greatly improves the network efficiency of terminal configuration, reduces costs, and enhances the security of multi-terminal configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122457397A_ABST
    Figure CN122457397A_ABST
Patent Text Reader

Abstract

The application provides a method for configuring a terminal and an intelligent control system, and relates to the field of terminals. The method is applied to the intelligent control system, and the method comprises the following steps: acquiring network configuration information of a network based on the detection of a suit package, wherein the suit package comprises a plurality of execution terminals, and at least two execution terminals are used for cooperating with each other to execute a scene corresponding to a user intention according to the user intention; and connecting the plurality of execution terminals to the network based on the network configuration information. The technical scheme provided by the application can improve the efficiency of configuring the execution terminal and reduce the cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminals, and more particularly to a method for configuring a terminal and an intelligent control system. Background Technology

[0002] Currently, the number and types of terminals appearing in users' lives are increasing. Among them, execution terminals can execute scenarios matching user intentions, or they can cooperate with other terminals to execute scenarios matching user intentions. When using an execution terminal, it is usually necessary to first add the execution terminal to the home's local area network.

[0003] In existing technologies, users connect to each execution terminal one by one via their mobile phones, thereby sequentially connecting each execution terminal to the network. However, this configuration method is inefficient and requires users to learn the network configuration methods of the execution terminals in order to configure them, which is very costly. Summary of the Invention

[0004] In view of this, this application provides a method for configuring a terminal and an intelligent control system, which can improve the efficiency of configuring execution terminals and reduce costs.

[0005] To achieve the above objectives, in a first aspect, embodiments of this application provide a method for configuring a terminal, applied to an intelligent control system. The method includes: obtaining network configuration information of a network based on the detection of a package, wherein the package includes multiple execution terminals, and at least two of the execution terminals are used to cooperate in executing a scenario corresponding to the user's intent; and connecting the multiple execution terminals to the network based on the network configuration information.

[0006] In this embodiment, the package includes multiple execution terminals, and at least two of these execution terminals can cooperate to execute scenarios corresponding to the user's intent. By obtaining network configuration information based on the detected package and connecting the multiple execution terminals in the package to the network based on this information, the user can install the execution terminals in the package without knowing their detailed functions, configuration methods, or whether they belong to any particular package. Simply powering on the execution terminal connects it to the network, significantly improving the efficiency and reducing the cost of configuring the network for the execution terminals. Furthermore, since the multiple execution terminals in the package can cooperate to execute scenarios corresponding to the user's intent—meaning these terminals are related or can cooperate with each other (e.g., they can be used as a set)—the network device only connects the execution terminals in the package to the network, preventing the connection of other detected terminals not belonging to the package, thus improving the security of configuring the network for multiple terminals.

[0007] In some implementations, network equipment service providers, execution terminal service providers, users, or other relevant technical personnel can pre-configure multiple functionally compatible execution terminals into a package. The network equipment can obtain package information from other devices (such as servers) or receive package information submitted by the user, thereby determining the execution terminals included in the package. For the user, when installing the execution terminal in the package, they may not know the detailed functions of the execution terminal, the configuration method of the execution terminal, or whether the execution terminal belongs to a particular package. As long as the execution terminal is powered on, the network equipment can detect the execution terminal and determine the package to which it belongs.

[0008] In some implementations, obtaining network configuration information based on detecting a package includes: obtaining the network configuration information based on detecting a specific terminal in the package; or, obtaining the network configuration information based on detecting that the number of execution terminals matching the package is greater than or equal to a preset number threshold; or, obtaining the network configuration information based on detecting each execution terminal in the package.

[0009] When a user uses a specific terminal in the package, they can also obtain other execution terminals in the package and use them in conjunction with the specific terminal. Therefore, as long as the control terminal determines that at least one execution terminal detected by the network device includes the specific terminal, it determines that the at least one execution terminal is successfully matched with the package and continues to execute subsequent steps to obtain user authorization for adding all execution terminals in the package more quickly, further improving the efficiency of configuring execution terminals in the network.

[0010] When a network device detects that the number of at least one execution terminal is greater than or equal to a preset threshold, it indicates that the user has used some or even most of the execution terminals in the package. Therefore, when the control terminal determines that at least one execution terminal detected by the network device matches the package, it can determine that the at least one execution terminal is successfully matched with the package and continue to execute subsequent steps to obtain the user's authorization to add all execution terminals in the package more quickly, thereby further improving the efficiency of configuring execution terminals in the network.

[0011] In some embodiments, the intelligent control system includes a network device, and the detection of the package includes: when the network device detects information of at least one of the execution terminals, matching at least one of the execution terminals with the package.

[0012] In some embodiments, the intelligent control system includes a network device and a control terminal, wherein detecting the package includes: the network device sending a first message to the control terminal, the first message indicating information about at least one of the execution terminals detected by the network device; and the control terminal matching at least one of the execution terminals with the package.

[0013] In some implementations, the information of the execution terminal includes the category information of the execution terminal, such as the PID of the execution terminal.

[0014] In some embodiments, the intelligent control system includes a network device and a control terminal. Before connecting the plurality of execution terminals to the network based on the network configuration information, the method further includes: the network device obtaining authorization from the control terminal to add the package.

[0015] Since at least two execution terminals in the package can cooperate, when the network device detects the package, it treats the package as a whole and obtains authorization to add the package from the control terminal. This allows the user to be aware of the package that is about to be added, and after obtaining authorization once, it can accurately connect the networks of multiple execution terminals in the package to the network, further improving the efficiency and reliability of configuring the network of execution terminals.

[0016] In some implementations, the method further includes: generating at least one scene that matches the package; and displaying an entry interface for the at least one scene.

[0017] It can automatically generate at least one scenario that matches the package and display the entry interface of at least one scenario. Users do not need to learn the functions and configuration methods of each execution terminal, nor do they need to learn how multiple execution terminals work together, nor do they need to configure each execution terminal one by one. Users can experience the scenario simply by opening the execution terminal or powering it on, which improves the efficiency of scenario configuration and reduces the cost of scenario configuration.

[0018] In some implementations, the network device can generate the scenario based on preset scenario configuration information, which includes the scenario's triggering conditions and the operating parameters of at least two execution terminals in the package. In some implementations, the scenario configuration information may include more or less information related to the scenario. For example, the scenario configuration information may include at least one of the scenario's name, a description of the scenario, and suggestions for configuring the scenario.

[0019] In some implementations, the at least one scenario includes a first scenario and a second scenario; the execution terminal in the package for executing the first scenario is different from or not completely the same as the execution terminal in the package for executing the second scenario; or, the execution terminal in the package for executing the first scenario is the same as the execution terminal in the package for executing the second scenario, and the operating parameters of the same execution terminal in the first scenario are different from the operating parameters in the second scenario.

[0020] In some embodiments, after connecting the plurality of execution terminals to the network based on the network configuration information, the method further includes: obtaining update information of the package, the update information including information of at least one newly added execution terminal; and connecting the at least one newly added execution terminal to the network based on the network configuration information.

[0021] In some implementations, at least one new execution terminal can be added to at least one currently generated scene; or, a new scene can be generated based on at least two new execution terminals; or, a new scene can be generated based on at least one new execution terminal and at least one existing execution terminal in the package.

[0022] In some implementations, this includes: presenting interface information of the newly added at least one execution terminal on an interface associated with the package; and / or presenting interface information of a scenario associated with the newly added at least one execution terminal on an interface associated with the package.

[0023] In some implementations, interface information of at least one newly added execution terminal may be presented on the interface associated with the package to prompt the user of the newly added execution terminal; and / or, interface information of the scene associated with at least one newly added execution terminal may be presented on the interface associated with the package to prompt the user of the updated scene.

[0024] In some implementations, the update information is information submitted by the user, or the update information is information obtained from the server.

[0025] Secondly, embodiments of this application provide a method for configuring a terminal, which is applied to a network device. The method includes: obtaining network configuration information of a network based on detecting a package, wherein the package includes multiple execution terminals, and at least two of the execution terminals are used to cooperate in executing a scenario corresponding to the user's intent; and connecting the multiple execution terminals to the network based on the network configuration information.

[0026] In some implementations, obtaining network configuration information based on detecting a package includes: obtaining the network configuration information based on detecting a specific terminal in the package; or, obtaining the network configuration information based on detecting that the number of execution terminals matching the package is greater than or equal to a preset number threshold; or, obtaining the network configuration information based on detecting each execution terminal in the package.

[0027] In some implementations, detecting a package includes: when the network device detects information about at least one of the execution terminals, matching at least one of the execution terminals with the package.

[0028] In some implementations, detecting a package includes: sending a first message to a control terminal, the first message indicating information about at least one execution terminal detected by the network device, and the first message triggering the control terminal to match at least one execution terminal with the package.

[0029] In some implementations, before connecting the plurality of execution terminals to the network based on the network configuration information, the method further includes: obtaining authorization from a control terminal to add the package.

[0030] In some implementations, the method further includes generating at least one scene that matches the package.

[0031] Thirdly, embodiments of this application provide an apparatus for configuring a terminal, which has the function of implementing the network device, control terminal, or server behaviors described in the above aspects and possible implementations of the above aspects. The functions can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.

[0032] Fourthly, embodiments of this application provide a network device, including: a memory and one or more processors, wherein the memory is used to store a program; and the one or more processors are used to execute the method described in any one of the second aspects above when the program is invoked.

[0033] Fifthly, embodiments of this application provide a chip system including a processor coupled to a memory, the processor executing a program stored in the memory to implement the method described in any one of the second aspects above.

[0034] The chip system can be a single chip or a chip module composed of multiple chips.

[0035] Sixthly, embodiments of this application provide a readable storage medium having a program stored thereon, which, when executed by a processor, implements the method described in any one of the second aspects above.

[0036] In a seventh aspect, embodiments of this application provide a program product that, when run on a network device, causes the network device to perform the method described in any one of the second aspects above.

[0037] It is understood that the beneficial effects of the second to seventh aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0038] Figure 1 This is a schematic diagram of the structure of a device provided in an embodiment of this application;

[0039] Figure 2 A schematic diagram of an intelligent control system provided in an embodiment of this application;

[0040] Figure 3 A flowchart illustrating a method for configuring a terminal provided in an embodiment of this application;

[0041] Figure 4 A flowchart illustrating another method for configuring a terminal provided in an embodiment of this application;

[0042] Figure 5 A flowchart illustrating a method for obtaining information provided in an embodiment of this application;

[0043] Figure 6 A schematic diagram of a display interface provided in an embodiment of this application;

[0044] Figure 7 A flowchart illustrating another method for obtaining information provided in an embodiment of this application;

[0045] Figure 8 A flowchart illustrating another method for configuring a terminal provided in an embodiment of this application;

[0046] Figure 9 A schematic diagram of another display interface provided in an embodiment of this application;

[0047] Figure 10 A schematic diagram illustrating another display interface provided in an embodiment of this application;

[0048] Figure 11 A flowchart illustrating another method for configuring a terminal provided in an embodiment of this application;

[0049] Figure 12 A flowchart illustrating another method for configuring a terminal provided in an embodiment of this application;

[0050] Figure 13 This is a flowchart illustrating another method for configuring a terminal provided in an embodiment of this application. Detailed Implementation

[0051] The terminal configuration method provided in this application can be applied to devices such as routers, gateways, mobile phones, tablets, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), and servers. This application does not impose any restrictions on the specific type of device.

[0052] Figure 1 This is a schematic diagram of the structure of an example device provided in an embodiment of this application. The device may include a processor 110, a memory 120, and a communication module 130, etc.

[0053] The processor 110 may include one or more processing units, and the memory 120 is used to store program code and data. In this embodiment, the processor 110 can execute computer execution instructions stored in the memory 120 for controlling and managing the operation of the device.

[0054] The communication module 130 can be used for communication between various internal modules of the device, or for communication between the device and other external devices, such as communication with a network or other external devices. For example, the communication module 130 can provide solutions for wireless communication applied on the device, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), and other wireless communication technologies. Alternatively, the communication module 130 can provide solutions for wireless communication applied on the device, including 2G / 3G / 4G / 5G.

[0055] Optionally, the device 100 also includes a display screen, which can be used to display a human-computer interaction interface.

[0056] It should be understood that, in addition to Figure 1 In addition to the various components or modules listed, the embodiments of this application do not specifically limit the structure of device 100. In other embodiments of this application, the device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0057] To facilitate understanding of the technical solutions in the embodiments of this application, the application scenarios of the embodiments of this application will be introduced first below.

[0058] With the continuous development of terminal technology, the types and functions of terminals are gradually increasing, and their level of intelligence is also becoming higher. Among them, an execution terminal can execute scenarios matching the user's intent, or it can cooperate with other execution terminals to execute scenarios matching the user's intent. For example, if a user's intent is to automatically turn on the lights in their home at night, then the user can purchase and install smart lights and smart switches. These smart lights and smart switches can work together to execute a lighting control scenario, enabling the smart switches to automatically turn on the smart lights in the home at night.

[0059] When using an execution terminal, it is usually necessary to configure the execution terminal.

[0060] From the perspective of a single execution terminal, it needs to be connected to the network. For example, if a user installs smart lights in their home, the user needs to add the smart lights to the home network so that they can be remotely controlled via other terminals such as mobile phones.

[0061] From the perspective of multiple execution terminals, it is necessary to configure scenarios in which these terminals work together. These multiple execution terminals can each run according to their configured parameters, and the processes or results generated by these terminals coordinate with each other to achieve the desired scenario. This scenario, where multiple execution terminals work together, can provide users with a more comfortable experience. For example, in a user's home, which includes smart curtains, smart lights, and a television, the user can configure the scenario for these three execution terminals to be set to nighttime. Specifically, the smart curtains can be configured to be closed, the smart lights to emit warm light, and the television to be on. After configuration, when night falls, the smart curtains will automatically close, the smart lights will automatically emit warm light, and the television will automatically turn on, allowing the user to easily experience a pleasant home atmosphere.

[0062] In the process of configuring execution terminals, on the one hand, users need to manually configure each execution terminal in turn, which is inefficient; on the other hand, users need to fully learn the functions of each execution terminal and the way multiple execution terminals cooperate in order to determine the appropriate execution terminal for each scenario in life, which is very costly.

[0063] To address at least some of the aforementioned technical problems, this application provides a method for configuring a terminal and an intelligent control system. Please refer to... Figure 2 This is a schematic diagram of the system architecture of an intelligent control system provided in an embodiment of this application. The intelligent control system includes network devices and a control terminal. In some embodiments, the network devices and the control terminal can be respectively... Figure 1 The device 100 shown is implemented.

[0064] The network device may include at least one of a router and a gateway. The network device can configure the execution terminal. The execution terminal can be a terminal having one or more functions. In some embodiments, the execution terminal may be... Figure 1The illustrated device 100 is implemented. In some embodiments, the network device can connect the execution terminal to the network. In some embodiments, the network types supported by the execution terminal can correspond to the network types supported by the network device. For example, both the network device and the execution terminal support WLAN networks, or both the network device and the execution terminal support BT networks. In some embodiments, the network device includes a network configuration module and a whitelist, which includes category information of at least one execution terminal. The network configuration module can automatically configure the execution terminal without the user's awareness when it detects an execution terminal indicated in the whitelist.

[0065] The product category information of the execution terminal is used to indicate at least one of the manufacturer and model of the execution terminal. In some embodiments, the product category information of the execution terminal may include a device identification code (Product ID, PID).

[0066] A control terminal can be used to control network devices and / or execution terminals. In some embodiments, the control terminal can be used to authorize network devices and / or execution terminals to perform one or more operations. For example, the control terminal can be used to authorize network devices to connect execution terminals to the network, and / or to authorize network devices to generate scenarios for execution terminals to cooperate in execution. In some embodiments, the control terminal can be used to enable interaction between users and network devices and / or execution terminals. For example, the control terminal can be used to display the process and results of network devices configuring execution terminals to users, and users can confirm or modify the configuration of execution terminals through the execution terminals. In some embodiments, the control terminal can be a terminal frequently used by the user, or it can be a portable device. For example, the control terminal can be a mobile phone, computer, smartwatch, or PDA.

[0067] Network devices can obtain information from the server required to configure execution terminals. In some implementations, the network device can obtain the whitelist from the server. In some implementations, the network device can obtain a scene template from the server, which includes at least one of the following configuration information: scene name, scene triggering conditions, category information of at least one execution terminal in the scene, and operating parameters of at least one execution terminal in the scene. In some implementations, the server can be a server within the intelligent control system, or it can be a server outside the intelligent control system.

[0068] The method for configuring a terminal provided in this application can be executed independently by the network device or the control terminal of the intelligent control system, or the method can be executed jointly by the network device and the control terminal in the intelligent control system. Specifically, at least some steps in the method can be implemented independently by the network device or the control terminal, or they can be implemented jointly by the network device and the control terminal. Taking the method executed independently by the network device as an example, the network device can first connect the execution terminal to the network, then generate the scene to be executed by the execution terminal, and interact with the user during the execution of the above operations. Taking the method executed jointly by the network device and the control terminal as an example, the network device connects the execution terminal to the network, generates the scene to be executed by the execution terminal, and the control terminal implements human-computer interaction with the user during the execution of the above operations by the network device.

[0069] The technical solutions of this application will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0070] Please refer to Figure 3 This is a flowchart illustrating a method for configuring a terminal according to an embodiment of this application. This method can be used... Figure 2 The intelligent control system shown enables the execution terminal to connect to the network. It should be noted that this method does not rely on... Figure 3 The specific order described below is a limitation. It should be understood that in some embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:

[0071] S301, the network device obtains network configuration information based on the detected package, wherein the package includes multiple execution terminals, and at least two execution terminals are used to cooperate in executing the scenario corresponding to the user's intent.

[0072] User intent refers to the purpose or result that a user expects to achieve. The package includes multiple execution terminals that can cooperate or coordinate with each other, and at least two execution terminals can cooperate to execute the scenario corresponding to the user intent.

[0073] User intent can be obtained in any way. For example, user intent can be determined through information directly entered by the user; or, user actions and user characteristics can be analyzed and learned to determine user intent.

[0074] In some implementations, network equipment service providers, execution terminal service providers, users, or other relevant technical personnel can pre-configure multiple functionally compatible execution terminals into a package. The network equipment can obtain package information from other devices (such as servers) or receive package information submitted by the user, thereby determining the execution terminals included in the package. For the user, when installing the execution terminal in the package, they may not know the detailed functions of the execution terminal, the configuration method of the execution terminal, or whether the execution terminal belongs to a particular package. As long as the execution terminal is powered on, the network equipment can detect the execution terminal and determine the package to which it belongs.

[0075] In some implementations, the execution terminal in the package may be referred to as the packaged device in the package.

[0076] For example, an air conditioner can regulate temperature and humidity, a temperature and humidity sensor can detect temperature and humidity, and a smart switch can control the on / off state of another actuator. These three actuators can work together. The network equipment service provider pre-configures the air conditioner, temperature and humidity sensor, and smart switch into a package and uploads the package information to a server. This package enables the control of temperature and / or humidity. After retrieving the package information from the server, if a user has purchased and installed the air conditioner, temperature and humidity sensor, and smart switch, the network equipment can detect the package containing these three components.

[0077] Network configuration information can be used to connect an execution terminal to the network. In some embodiments, the network configuration information may include network connection parameters, which can be used by the execution terminal to connect to the network. In some embodiments, the connection parameters may include network identification information and a password. In some embodiments, the network configuration information may include a user account, which the execution terminal can use to register with the server corresponding to that user account. In some embodiments, the network device stores the network configuration information in advance. Alternatively, in other embodiments, the network device can obtain the network configuration information from other devices (such as a control terminal), or the network device can receive the network configuration information submitted by a user.

[0078] In some implementations, network devices can obtain network configuration information based on detecting a specific terminal in the package. This specific terminal can be an execution terminal pre-specified in the package. For example, the specific terminal is an indispensable execution terminal for the scenario corresponding to the user's intent. When the user uses this specific terminal, other execution terminals in the package are also detected and used in conjunction with the specific terminal.

[0079] In some implementations, the network device can obtain network configuration information based on the detection that the number of execution terminals matching the package is greater than or equal to a preset threshold. In some implementations, the preset threshold can be a pre-set value, which can be less than the total number of execution terminals included in the package. This application does not limit the specific value of the threshold. For example, the threshold can be one-third, one-half, or two-thirds of the total number.

[0080] In some implementations, the network device can obtain network configuration information based on the detection of each execution terminal in the package. That is, the network device can obtain network configuration information after detecting all execution terminals in the package.

[0081] S302, the network device connects multiple execution terminals to the network based on network configuration information.

[0082] When a network package is detected, all execution terminals within that package can be automatically connected to the network. On one hand, this eliminates the need for users to manually configure the network for each execution terminal individually, significantly improving the efficiency and reducing the cost of network configuration. On the other hand, since the multiple execution terminals in the package can coordinate to execute scenarios corresponding to user intentions—meaning these terminals are related or can cooperate with each other (e.g., they can be used as a set)—the network device only connects the execution terminals from that package to the network, preventing the connection of other detected terminals not belonging to the package. This enhances the security of configuring the network for multiple terminals.

[0083] In some implementations, the network device can send network configuration information to the execution terminal, which then accesses the network based on this configuration information.

[0084] For example, network configuration information includes a Wi-Fi name and password. The network device sends the Wi-Fi name and password to the execution terminal, and the execution terminal can access the network corresponding to the Wi-Fi name based on the password.

[0085] For example, network configuration information includes pairing data (such as random numbers). The network device sends this pairing data to the execution terminal, which can then pair with and connect to the network device based on the pairing data.

[0086] In some implementations, when the network device executes S302, it may not detect all the execution terminals in the package. In this case, the network device can first configure the network for the partially detected execution terminals, and then, when the network device detects other unconfigured execution terminals in the package, it can continue to configure the network for these unconfigured execution terminals.

[0087] In this embodiment, the package includes multiple execution terminals, and at least two of these execution terminals can cooperate to execute scenarios corresponding to the user's intent. By obtaining network configuration information based on the detected package and connecting the multiple execution terminals in the package to the network based on this information, the user can install the execution terminals in the package without knowing their detailed functions, configuration methods, or whether they belong to any particular package. Simply powering on the execution terminal connects it to the network, significantly improving the efficiency and reducing the cost of configuring the network for the execution terminals. Furthermore, since the multiple execution terminals in the package can cooperate to execute scenarios corresponding to the user's intent—meaning these terminals are related or can cooperate with each other (e.g., they can be used as a set)—the network device only connects the execution terminals in the package to the network, preventing the connection of other detected terminals not belonging to the package, thus improving the security of configuring the network for multiple terminals.

[0088] Please refer to Figure 4 This is a flowchart illustrating another method for configuring a terminal provided in an embodiment of this application. Prior to adding the package, appropriate authorization is required. In some implementations, this method is used as... Figure 3 A detailed description of the method shown. It should be noted that this method is not based on... Figure 4 The specific order described below is a limitation. It should be understood that in some embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:

[0089] S401, the network device obtains authorization to add the package from the control terminal based on the detection of the package.

[0090] Since at least two execution terminals in the package can cooperate, when the network device detects the package, it treats the package as a whole and obtains authorization to add the package from the control terminal. This allows the user to be aware of the package that is about to be added, and after obtaining authorization once, it can accurately connect the networks of multiple execution terminals in the package to the network, further improving the efficiency and reliability of configuring the network of execution terminals.

[0091] In some implementations, the control terminal includes output devices such as a display screen and a speaker, through which the control terminal can display the detected package to the user. The control terminal also includes input devices such as a mouse, keyboard, and microphone, through which the control terminal can obtain the user's authorization to add the package.

[0092] Alternatively, in other implementations, if the network device includes input / output devices, it may obtain authorization for adding the package directly from the user in a manner similar to or the same as that of the control terminal.

[0093] S402, Network devices obtain network configuration information.

[0094] In some implementations, the method by which the network device performs S402 to obtain network configuration information can be found in the aforementioned description of the network device performing S301 to obtain network configuration information, and will not be repeated here.

[0095] In some implementations, S401 and S402 can be combined into one step, that is, the network device obtains the authorization and network configuration information for adding the package from the control terminal based on the detection of the package; or, the network device obtains the authorization and network configuration information for adding the package based on the detection of the package.

[0096] S403, the network device connects multiple execution terminals to the network based on network configuration information.

[0097] In some implementations, the network device performs S403 to connect multiple execution terminals to the network based on network configuration information. This can be found in the detailed description in the aforementioned S302, and will not be repeated here.

[0098] In some implementations, after detecting the package, the network device can also obtain authorization to add the package at any time before executing S403 to connect multiple execution terminals to the network based on network configuration information.

[0099] In this embodiment, since at least two execution terminals in the package can cooperate, when the network device detects the package, it treats the package as a whole and obtains authorization to add the package from the control terminal. This allows the user to be aware of the package that is about to be added, and after obtaining authorization once, it can accurately connect the networks of multiple execution terminals in the package to the network, further improving the efficiency and reliability of configuring the network of execution terminals.

[0100] Please refer to Figure 5This is a flowchart illustrating a method for obtaining information provided in an embodiment of this application. This method can be used in the aforementioned S301, S401, or S402, where the network device obtains user authorization and / or network configuration information from the control terminal, wherein the control terminal matches the execution terminal detected by the network device with the package. It should be noted that this method does not rely on... Figure 5 The specific order described below is a limitation. It should be understood that in some embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:

[0101] S501, the network device sends a first message to the control terminal, the first message being used to indicate information about at least one detected execution terminal.

[0102] In some implementations, the execution terminal can send its information to the network device after power-on. The network device will then report the detected execution terminal information to the control terminal, which will then determine whether the execution terminal belongs to a package.

[0103] In some implementations, the information of the execution terminal can be category information. In some implementations, the category information of the execution terminal includes the manufacturer and device type of the execution terminal.

[0104] In some implementations, the first message may include more information related to the execution terminal, such as the software version, software provider, and hardware version of the execution terminal.

[0105] S502, when the control terminal determines that at least one execution terminal detected by the network device matches the package, the first interface is displayed to indicate that a package has been detected.

[0106] In some implementations, when a user uses a specific terminal in the package, other execution terminals in the package can also be obtained and used in conjunction with the specific terminal. Therefore, as long as the control terminal determines that at least one execution terminal detected by the network device includes the specific terminal, it determines that the at least one execution terminal is successfully matched with the package and continues to execute subsequent steps to obtain user authorization for adding all execution terminals in the package more quickly, further improving the efficiency of configuring execution terminals in the network.

[0107] In some implementations, when a network device detects that the number of at least one execution terminal is greater than or equal to a preset threshold, it indicates that the user has used some or even most of the execution terminals in the package. Therefore, when the control terminal determines that at least one execution terminal detected by the network device matches the package, it can determine that the at least one execution terminal is successfully matched with the package and continue to execute subsequent steps to obtain the user's authorization to add all execution terminals in the package more quickly, thereby further improving the efficiency of configuring execution terminals in the network.

[0108] In some implementations, the control terminal may determine that at least one execution terminal detected by the network device is one of all execution terminals in the package, and then proceed with subsequent steps.

[0109] In some implementations, the control terminal can obtain at least one of the following from the server: information about each execution terminal in the package, information about a specific terminal, and a number threshold. In some implementations, the control terminal can obtain a fourth message or configuration file from the server, the fourth message or the configuration file including at least one of the following: information about each execution terminal in the package, information about a specific terminal, and a number threshold. In some implementations, the control terminal may also have at least one of the following pre-set information about each execution terminal in the package, information about a specific terminal, and a number threshold. In some implementations, the control terminal can update at least one of the following: information about each execution terminal in the package, information about a specific terminal, and a number threshold.

[0110] In some implementations, the first interface may include one or more of the following: the name of the package, information about multiple execution terminals in the package, a scenario in which at least two execution terminals in the package cooperate to execute, and the user intent corresponding to the scenario.

[0111] For example, in a scenario where multiple execution terminals in the kit work together for intelligent temperature and humidity control, the first interface can be as follows: Figure 6 As shown, the document includes images and text explaining the intelligent temperature and humidity control. The images include schematic diagrams of three actuators: an air conditioner, a smart switch, and a thermometer and hygrometer. The text reads "Intelligent temperature and humidity control kit discovered."

[0112] S503, the control terminal obtains authorization to add the package based on the first interface.

[0113] In some implementations, when the control terminal receives a confirmation operation from the user based on the first interface, it determines that it has obtained authorization to add the package; when the control terminal receives a cancellation operation from the user based on the first interface, it determines that it has not obtained authorization to add the package and will not execute subsequent steps, that is, it will not connect any execution terminal in the package to the network.

[0114] For example, Figure 6 The first interface shown includes two controls: "Cancel" and "Add". When the control terminal receives a click (confirmation) from the user based on the "Add" control, it determines that authorization to add the package has been obtained. When the control terminal receives a click (cancel) from the user based on the "Cancel" control, it determines that authorization to add the package has not been obtained.

[0115] Alternatively, in other implementations, the control terminal may obtain authorization to add the package through other means. For example, the control terminal may detect the package through voice prompts, and then, upon detecting the user's response of "confirm add," determine that authorization to add the package has been obtained; upon detecting the user's response of "decline add," determine that authorization to add the package has not been obtained.

[0116] S504, the control terminal sends a second message to the network device, the second message is used to authorize the addition of the package.

[0117] The control terminal sends a second message to the network device. When the network device receives the second message, it has obtained authorization to add the package.

[0118] In some implementations, at least some steps in S502 and S503 may be omitted. In some implementations, the control terminal may, upon determining that at least one execution terminal detected by the network device matches the package, not display the first interface, but directly send a second message to the network device; or, in some implementations, the control terminal may, upon determining that at least one execution terminal detected by the network device matches the package, display the first interface, and then directly send the second message to the network device, that is, only prompt the user that the package has been detected through the first interface, without obtaining authorization from the user to add the package; or, in some implementations, the control terminal directly sends the second message to the network device upon receiving the first message sent by the network device.

[0119] In some implementations, network devices can obtain more information, such as network configuration information, from the control terminal. For example, the control terminal can include network configuration information in a second message. Therefore, when the control terminal receives authorization from the user to add a package, it can provide both the authorization and the network configuration information to the network device, further improving the efficiency and reliability of configuring the network at the execution terminal.

[0120] In some implementations, the control terminal can send information about more execution terminals in the package to the network device, so that when the execution terminal detects other execution terminals in the package that are not configured with a network, it can directly connect the execution terminals that are not configured with a network to the network without requesting authorization again.

[0121] In this embodiment, when a network device detects at least one execution terminal, it can notify a control terminal of the detected at least one execution terminal. The control terminal matches the at least one execution terminal with a package, and if the match is successful, obtains authorization to add the package from the user.

[0122] Please refer to Figure 7 This is a flowchart illustrating another method for obtaining information provided in an embodiment of this application. This method can be used in the aforementioned S301, S401, or S402, where the network device obtains user authorization and / or network configuration information from the control terminal, wherein the network device matches the execution terminal detected by the network device with the package. It should be noted that this method does not rely on... Figure 7 The specific order described below is a limitation. It should be understood that in some embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:

[0123] S701, when the network device determines that at least one execution terminal detected by the network device matches the package, the network device sends a first message to the control terminal, the first message being used to indicate that the package has been detected.

[0124] In some implementations, the way the network device matches at least one detected execution terminal with the package may be the same as or similar to the way the control terminal performs S502 to match at least one detected execution terminal with the package.

[0125] In some implementations, the network device can obtain at least one of the following from the server: information about each execution terminal in the package, information about a specific terminal, and a number threshold. In some implementations, the network device can obtain a fourth message or configuration file from the server, the fourth message or the configuration file including at least one of the following: information about each execution terminal in the package, information about a specific terminal, and a number threshold. In some implementations, the network device may also have at least one of the following pre-set information about each execution terminal in the package, information about a specific terminal, and a number threshold. In some implementations, the network device can update at least one of the following: information about each execution terminal in the package, information about a specific terminal, and a number threshold.

[0126] S702, the control terminal displays the first interface, which is used to indicate that a package has been detected.

[0127] S703, the control terminal obtains authorization to add the package based on the first interface.

[0128] S704, the control terminal sends a second message to the network device, the second message being used to authorize the addition of the package.

[0129] The control terminal sends a second message to the network device. When the network device receives the second message, it has obtained authorization to add the package.

[0130] In some implementations, the way the control terminal executes S702-S704 may be the same as or similar to the way it executes S502-S504.

[0131] In some implementations, similar to S502-S503, at least some steps in S702 and S703 may be omitted. For example, when the control terminal receives the first message sent by the network device, it directly sends the second message to the network device.

[0132] In this embodiment of the application, when the network device detects at least one execution terminal, it matches the at least one execution terminal with the package. When the matching is successful, the control terminal prompts the user that the package has been detected and obtains authorization to add the package.

[0133] The above Figure 5 and Figure 7 The methods shown can be combined. In some implementations, they can be followed simultaneously. Figure 5 and Figure 7 The method shown obtains authorization to add the package. In some implementations, when the control terminal is a device with strong computing power, such as a mobile phone or computer, it can be accessed via... Figure 5 The method shown obtains authorization to add the package; when the control terminal is a device with limited computing power, such as a smartwatch or bracelet, or other dedicated-purpose device, it can be accessed through... Figure 7 The method shown obtains authorization to add the package. Alternatively, in other implementations, the user can specify whether to follow the instructions. Figure 5 To obtain authorization to add the package, or follow the method described above? Figure 7 The method shown obtains authorization to add the package.

[0134] Through the above Figures 3-7 The method shown has connected multiple execution terminals in the package to the network. At least two execution terminals in the package are used to cooperate in executing the scenario corresponding to the user's intent. Therefore, the scenario can be automatically generated in the next step. This configuration process does not require the user to learn the functions of the execution terminals or the cooperation methods between different execution terminals, which further improves the configuration efficiency and reduces the cost.

[0135] Alternatively, in other implementations, multiple execution terminals in the package can first be connected to the network through other means (such as manual configuration by the user), and then the scenario can be automatically generated using the method described below.

[0136] Please refer to Figure 8 This is a flowchart illustrating another method for configuring a terminal provided in an embodiment of this application. This method can be used for... Figure 2 The system shown, and in Figure 3 or Figure 4 The method shown will be executed subsequently to automatically generate an executable package. It should be noted that this method does not rely on... Figure 8 The specific order described below is a limitation. It should be understood that in some embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:

[0137] S801, the network device generates at least one scenario that matches the package.

[0138] Network devices automatically generate at least one executable scenario package without requiring users to learn the functions and configuration methods of each execution terminal, the coordination methods of multiple execution terminals, or to configure each execution terminal individually. Users can experience the scenario simply by opening or powering on the execution terminal, which improves the efficiency and reduces the cost of configuring scenarios.

[0139] In some implementations, the network device can generate the scenario based on preset scenario configuration information, which includes the scenario's triggering conditions and the operating parameters of at least two execution terminals in the package. In some implementations, the scenario configuration information may include more or less information related to the scenario. For example, the scenario configuration information may include at least one of the scenario's name, a description of the scenario, and suggestions for configuring the scenario.

[0140] In some implementations, the network device can obtain the scenario configuration information from the server. In some implementations, the network device can receive a fifth message or another configuration file sent by the server, which includes the scenario configuration information.

[0141] In some implementations, the network device can create a task corresponding to the scenario, which is used to trigger at least two execution terminals to run based on operating parameters when the triggering conditions of the scenario are met. After creating the task, if the triggering conditions are met, the network device can instruct at least two execution terminals to run based on the configured operating parameters.

[0142] In some implementations, the network device can send triggering conditions and operating parameters to at least two execution terminals, such that when the triggering condition is met, the execution terminals operate based on the configured operating parameters.

[0143] In some embodiments, the at least one scenario includes a first scenario and a second scenario. In some embodiments, the execution terminal in the package used to execute the first scenario is different from or not entirely the same as the execution terminal in the package used to execute the second scenario. In some embodiments, the execution terminal in the package used to execute the first scenario is the same as the execution terminal in the package used to execute the second scenario, and the operating parameters of the same execution terminal in the first scenario are different from the operating parameters in the second scenario.

[0144] S802, the control terminal displays the entry interface of at least one scene.

[0145] By displaying an entry interface for at least one scene, the automatically generated scene can be prompted to the user, so that the user can perceive the scene and modify it.

[0146] In some implementations, the control terminal may execute S802 after sending a second message authorizing the addition of the package to the network device. Alternatively, in other implementations, the network device may send a sixth message to the control terminal before generating at least one scenario, the sixth message being used to prompt for the automatically generated at least one scenario, and the control terminal may execute S802 in response to the sixth message.

[0147] In some embodiments, the entry interface for the at least one scenario includes a second interface, which is used to prompt the user about the at least one scenario. In some embodiments, the second interface may include images or text related to the scenario. For example, if the scenario is intelligent temperature and humidity control, the second interface may be as follows: Figure 9 a or Figure 9 As shown in b, this includes an image as an example of the scenario and text describing the scenario, where the text reads "Intelligent temperature and humidity control scenario discovered." In some embodiments, the control terminal includes an application program (such as a smart living application) for implementing the methods provided in the embodiments of this application. When the application is not in the foreground of the control terminal (e.g., the control terminal is in a locked state), the control terminal can display something like... Figure 9 The second interface shown in 'a'; when the application is in the foreground of the control terminal, the control terminal can display as shown in 'a'. Figure 9 The second interface shown in b.

[0148] In some implementations, the entry interface for the at least one scenario includes a third interface. If the control terminal receives a scenario configuration trigger operation based on the second interface, it can display the third interface, which is used to configure at least one of the following: the scenario name, trigger conditions, execution terminals included in the scenario, and operating parameters of any execution terminal.

[0149] For example, Figure 9 The second interface, shown as 'a', also includes a "Scene Setup" control. When the control terminal receives a user's click operation (i.e., a scene configuration trigger operation) based on the "Scene Setup" control, it displays the third interface as shown... Figure 10 As shown in section 'a', the third interface includes a scenario named "Intelligent Temperature and Humidity Control." The trigger condition for this scenario is humidity greater than or equal to 65%. This scenario includes an air conditioner, a temperature and humidity sensor, and a smart switch. The smart switch's operating parameter is "Air Conditioner On," and the smart air conditioner's operating parameter is "Dehumidification Mode." Users can click the area containing the scenario name to modify it, click the area containing the trigger condition to modify it, or click the area containing the task to modify the execution terminal or its operating parameters. After completing the scenario configuration on the third interface, the user can return to the second interface, and network devices can update the scenario.

[0150] In some implementations, the entry interface for the at least one scene includes a fourth interface for displaying the generated scene. In some implementations, if the control terminal receives a trigger operation to generate a scene based on the second interface, it can generate at least one scene and display the fourth interface, wherein the fourth interface includes the at least one scene.

[0151] For example, Figure 9 a and Figure 9 The second interface, shown in b, also includes a "Generate" control. When the control terminal receives a user's click operation (i.e., a scene generation trigger operation) based on the "Generate" control, it generates a temperature and humidity intelligent control scene and displays it as shown below. Figure 10 The fourth interface, shown as b in the diagram, presents the generated intelligent temperature and humidity control scenario to the user. This fourth interface includes the currently generated intelligent temperature and humidity control scenario, as well as previously generated security, health, and router scenarios.

[0152] In some implementations, S802 can be executed first to display the entry interface of at least one scene, and then S801 can be executed to generate at least one scene that matches the package; or, S802 can be executed to display the entry interface of at least one scene and S801 can be executed simultaneously to generate at least one scene that matches the package.

[0153] In some implementations, the entry interface of the at least one scenario includes the aforementioned Figure 6 The first interface shown.

[0154] In this embodiment, at least one scenario matching the package can be automatically generated and an entry interface for at least one scenario can be displayed. Users do not need to learn the functions and configuration methods of each execution terminal, nor do they need to learn how multiple execution terminals work together, nor do they need to configure each execution terminal individually. Users can experience the scenario simply by opening the execution terminal or powering it on, which improves the efficiency of scenario configuration and reduces the cost of scenario configuration.

[0155] Please refer to Figure 11 This is a flowchart illustrating another method for configuring a terminal provided in an embodiment of this application. Prior to generating the scene, appropriate authorization may be obtained. In some implementations, this method can be used as... Figure 8 A detailed description of the method shown. It should be noted that this method is not based on... Figure 11 The specific order described below is a limitation. It should be understood that in some embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:

[0156] S1101, the control terminal displays a second interface, which is used to prompt at least one scenario that matches the package.

[0157] Before the network device generates the at least one scenario, the at least one scenario can be prompted through the control terminal so that the user can be aware of the at least one scenario.

[0158] In some implementations, the control terminal may execute S1101 after sending a second message authorizing the addition of the package to the network device. Alternatively, in other implementations, the network device may send a sixth message to the control terminal before automatically generating the at least one scenario, the sixth message being used to prompt for the automatically generated at least one scenario, and the control terminal may execute S1101 in response to the sixth message.

[0159] S1102, the control terminal obtains authorization to generate the at least one scene based on the second interface.

[0160] In some implementations, when the control terminal receives a confirmation operation from the user based on the second interface, it determines that it has obtained authorization to generate the at least one scenario; when the control terminal receives a cancellation operation from the user based on the second interface, it determines that it has not obtained authorization to generate the at least one scenario, and does not execute subsequent steps, that is, it does not generate the scenario.

[0161] For example, Figure 9The second interface shown in Figure 'a' includes two controls: "Cancel" and "Generate". When the control terminal receives a click operation (i.e., confirmation operation) from the user based on the "Generate" control, it determines that it has obtained authorization to generate at least one scene. When the control terminal receives a click operation (i.e., cancellation operation) from the user based on the "Cancel" control, it determines that it has not obtained authorization to generate at least one scene.

[0162] Alternatively, in other implementations, the control terminal may obtain authorization to generate the at least one scenario through other means. For example, the control terminal may provide a voice prompt for the at least one scenario, and then, upon detecting a user's response of "confirm generation," determine that authorization to generate the at least one scenario has been obtained; conversely, upon detecting a user's response of "decline generation," determine that authorization to generate the at least one scenario has not been obtained.

[0163] S1103, the control terminal sends a third message to the network device, the third message being used to authorize the generation of at least one scenario.

[0164] The control terminal sends a third message to the network device. When the network device receives the third message, it has obtained authorization to generate at least one scenario.

[0165] In some implementations, S1101-S1103 can be omitted, meaning that the network device can obtain authorization to add the package and execute the following steps to generate the at least one scenario after at least some of the terminal accesses the network in the package, thereby further reducing the interaction process with users or other devices and further improving configuration efficiency and cost.

[0166] S1104, The network device generates at least one scenario that matches the package.

[0167] In some implementations, the way in which the network device performs S1104 to generate at least one scenario matching the package can be found in the detailed description in the aforementioned S801, and will not be repeated here.

[0168] In this embodiment, after adding the execution terminal from the package, the network device can obtain authorization to add at least one scenario through the control terminal and automatically generate at least one scenario matching the package. This configuration process does not require the user to learn the function and configuration method of each execution terminal, nor does it require the user to learn the collaborative method of multiple execution terminals, nor does it require the user to configure each execution terminal individually. The user only needs to power on the execution terminal and provide authorization to the network device to generate the scenario to experience it, thus improving the efficiency and reducing the cost of scenario configuration.

[0169] Please refer to Figure 12This is a flowchart illustrating another method for configuring a terminal provided in an embodiment of this application. This method can be used for... Figure 2 The system shown, and by the aforementioned Figure 4 , Figure 7 and Figure 8 The method shown is combined to obtain the result. It should be noted that this method does not rely on... Figure 12 The specific order described below is a limitation. It should be understood that in some embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:

[0170] S1201, the network device obtains a configuration file from the server, which includes information about multiple execution terminals in the package.

[0171] S1202, the execution terminal in the network device testing kit.

[0172] In some implementations, the way the network device executes the execution terminal in the S1202 detection package can be referred to the relevant description in the aforementioned S701, and will not be repeated here.

[0173] In some implementation sets, network devices can detect each execution terminal in the package in the background.

[0174] S1203, the network device connects the detected execution terminal to the network.

[0175] In some implementations, the method by which the network device connects the detected execution terminal to the network in S1203 can be found in the detailed descriptions in the aforementioned S402 and S403, and will not be repeated here.

[0176] S1204, the network device obtains another configuration file from the server. The other configuration file includes the triggering conditions of the scenario, the category information of at least two execution terminals in the scenario, and the working parameters of at least two execution terminals.

[0177] In some implementations, the network device may obtain only one configuration file from the server. This configuration file includes information on multiple execution terminals in the package, as well as the triggering conditions of the scenario, the category information of at least two execution terminals in the scenario, and the working parameters of at least two execution terminals. Accordingly, S1204 and S1201 can be combined into one step.

[0178] S1205, The network device generates at least one scenario that matches the package.

[0179] After obtaining another configuration file, the network device can generate at least one scenario that matches the package based on that configuration file.

[0180] In some implementations, the way the network device performs S1205 to generate at least one scenario that matches the package can be found in the relevant description in the aforementioned S801, and will not be repeated here.

[0181] S1206, The network device prompts the control terminal with at least one automatically generated scenario.

[0182] After automatically generating at least one scenario, the network device can send a prompt message to the control terminal, thereby prompting the user with the automatically generated at least one scenario through the control terminal.

[0183] In some implementations, the way the network device prompts the control terminal with the automatically generated at least one scenario in S1206 can be found in the relevant description in the aforementioned S802, and will not be repeated here.

[0184] In some implementations, S1206 may be omitted.

[0185] The following example further illustrates the terminal configuration method provided in this application. Please refer to... Figure 13 This is a flowchart illustrating another method for configuring a terminal provided in an embodiment of this application. This method can be derived from the aforementioned... Figure 4 , Figure 5 and Figure 8 The method shown is combined to obtain the result.

[0186] S1301, the user powers on the air conditioner, temperature and humidity sensor and smart switch (i.e., the execution terminal).

[0187] The air conditioner, temperature and humidity sensor, and smart switch are the kit devices included in the temperature and humidity smart control kit. The air conditioner, temperature and humidity sensor, and smart switch can work together to control temperature and / or humidity in various scenarios. When users purchase and power on the air conditioner, temperature and humidity sensor, and smart switch, they may or may not know the functions of each device and their relationship in various scenarios.

[0188] S1302, the Bluetooth gateway (i.e., network device) scans the category information of the air conditioner, the category information of the temperature and humidity sensor and the category information of the smart switch, and reports it to the mobile phone (i.e., control terminal).

[0189] S1303: The mobile phone matches the air conditioner category information, temperature and humidity sensor category information, and smart switch category information with the pre-stored configuration file and determines that a temperature and humidity smart control kit has been detected.

[0190] In some implementations, the configuration file includes category information for all devices in the temperature and humidity smart control kit, and indicates that the key device in the kit is an air conditioner. The mobile phone matches the category information of the air conditioner, the temperature and humidity sensor, and the smart switch with the configuration file, and determines that the category information of the air conditioner detected by the Bluetooth gateway is the same as the category information of the key device indicated in the configuration file, thus confirming that the temperature and humidity smart control kit has been detected.

[0191] Alternatively, in some other implementations, the configuration file includes category information for all the devices in the temperature and humidity smart control kit. The mobile phone matches the category information of the air conditioner, the temperature and humidity sensor, and the smart switch with the configuration file to determine that the configuration file includes the category information of the air conditioner, the temperature and humidity sensor, and the smart switch detected by the Bluetooth gateway. Therefore, it is determined that the temperature and humidity smart control kit has been detected.

[0192] S1304, the phone displays as described above. Figure 6 The first interface shown indicates the detected temperature and humidity intelligent control kit.

[0193] S1305: When the mobile phone receives the user's confirmation operation based on the first interface, it sends the network configuration information to the Bluetooth gateway and authorizes the Bluetooth gateway to connect all the kit devices in the temperature and humidity intelligent control kit to the network.

[0194] In some implementations, the mobile phone can also send category information of other devices in the temperature and humidity smart control kit to the Bluetooth gateway.

[0195] S1306, the network device connects all the kit devices in the intelligent temperature and humidity control kit to the network.

[0196] S1307, the phone displays as described above. Figure 9 The second interface shown in 'a' prompts for at least one scenario that matches the intelligent temperature and humidity control kit.

[0197] In some implementations, when the mobile phone receives a confirmation operation from the user based on the second interface, it instructs the Bluetooth gateway to generate at least one scene and display it as described above. Figure 10 The fourth interface, shown in b, presents the user with the currently generated scene.

[0198] In some implementations, when the mobile phone receives an operation for a configured scenario based on the second interface, it displays as described above. Figure 10 The third interface shown in 'a' is configured with at least one of the following: the name of the scenario, the trigger condition, the execution terminals included in the scenario, and the working parameters of any execution terminal.

[0199] Through the above Figures 3-13 The method shown has already connected the existing execution terminals in the suite to the network and automatically generated at least one scenario matching the suite. In some implementations, new execution terminals can be added to the suite, and these newly added execution terminals can be automatically connected to the network without user intervention. The already generated scenarios can be updated based on the updated suite, or new scenarios can be generated, thereby further improving the efficiency of terminal configuration and reducing the cost of terminal configuration.

[0200] In some implementations, update information of the package can be obtained, and network configuration information based on the network can be used to connect at least one newly added execution terminal to the network, wherein the update information includes information about at least one newly added execution terminal.

[0201] In some implementations, the update information can be information submitted by the user, or it can be information obtained from a server. Taking a network device as an example, the network device can obtain the update information from the server; or, the control terminal can receive the update information submitted by the user and send the update information to the network device.

[0202] In some implementations, at least one new execution terminal can be added to at least one currently generated scene; or, a new scene can be generated based on at least two new execution terminals; or, a new scene can be generated based on at least one new execution terminal and at least one existing execution terminal in the package.

[0203] For example, a smart temperature and humidity control kit includes an air conditioner, a temperature and humidity sensor, and a smart switch. The generated scenario includes a smart temperature and humidity control scenario where the air conditioner specifically regulates temperature and humidity. Subsequently, the network device retrieves updated information about the smart temperature and humidity control kit from the server, including information about newly added humidifiers. After a user purchases a humidifier, the network device can detect it, connect it to the network, and update the existing smart temperature and humidity control scenario. After the update, the air conditioner and humidifier work together to regulate temperature and humidity.

[0204] In some implementations, interface information of at least one newly added execution terminal may be presented on the interface associated with the package to prompt the user of the newly added execution terminal; and / or, interface information of the scene associated with at least one newly added execution terminal may be presented on the interface associated with the package to prompt the user of the updated scene.

[0205] For example, the interface associated with the package may include at least one of the aforementioned first, second, third, and fourth interfaces. Specifically, the control device may present the new execution terminal in the package on the first interface, the scene updated and / or newly generated based on the added execution terminal on the second interface, detailed information about the updated scene and / or newly generated scene on the third interface, and the scene updated and / or newly generated based on the added execution terminal on the fourth interface.

[0206] Based on the same inventive concept, as an implementation of the above method, this application provides a device for configuring a terminal. This device corresponds to the network device, control terminal, or server in the aforementioned method embodiments. For ease of reading, this device embodiment will not repeat the details of the aforementioned method embodiments one by one, but it should be clear that the device in this embodiment can implement all the contents of the aforementioned method embodiments.

[0207] Based on the same inventive concept, this application also provides a terminal. The terminal includes: a memory and one or more processors, wherein the memory stores a program (also referred to as a computer program); and the one or more processors execute the methods described in the above-described method embodiments when the program is invoked.

[0208] The terminal provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so they will not be described again here.

[0209] Based on the same inventive concept, this application also provides a chip system. The chip system includes one or more processors coupled to a memory, which execute programs stored in the memory to implement the methods described in the above-described method embodiments.

[0210] The chip system can be a single chip or a chip module composed of multiple chips.

[0211] This application also provides a readable storage medium (also known as a computer-readable storage medium) storing a program thereon, which, when executed by a processor, implements the method described in the above-described method embodiments.

[0212] This application also provides a program product (also known as a computer program product) that, when run on a terminal, enables the terminal to implement the method described in the above-described method embodiments.

[0213] If the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The program includes program code, which can be in the form of source code, object code, executable files, or some intermediate form. The readable storage medium can include at least: any entity or device capable of carrying program code to a terminal, a recording medium, a memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks.

[0214] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of some embodiments.

[0215] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0216] In the embodiments provided in this application, it should be understood that the disclosed apparatus / devices and methods can be implemented in other ways. For example, the apparatus / device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0217] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0218] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0219] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0220] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0221] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0222] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A method for configuring a terminal, characterized in that, Applied to intelligent control systems, the method includes: Based on the detected package, network configuration information of the network is obtained, wherein the package includes multiple execution terminals, and at least two of the execution terminals are used to cooperate in executing a scenario corresponding to the user's intent according to the user's intent; The plurality of execution terminals are connected to the network based on the network configuration information.

2. The method according to claim 1, characterized in that, The process of obtaining network configuration information based on the detected package includes: Based on the detection of a specific terminal in the package, the network configuration information is obtained; or, Based on the detection that the number of execution terminals matching the package is greater than or equal to a preset threshold, the network configuration information is obtained; or, Based on the detection of each execution terminal in the package, the network configuration information is obtained.

3. The method according to claim 1 or 2, characterized in that, The intelligent control system includes network devices, and the detected package includes: When the network device detects information about at least one of the execution terminals, it matches at least one of the execution terminals with the package.

4. The method according to claim 1 or 2, characterized in that, The intelligent control system includes network devices and a control terminal, and the detected package includes: The network device sends a first message to the control terminal, the first message being used to indicate information about at least one execution terminal detected by the network device; The control terminal will match at least one of the execution terminals with the package.

5. The method according to claim 3 or 4, characterized in that, The information of the execution terminal includes the category information of the execution terminal.

6. The method according to any one of claims 1-5, characterized in that, The intelligent control system includes network devices and control terminals. Before connecting the plurality of execution terminals to the network based on the network configuration information, the method further includes: The network device obtains authorization to add the package from the control terminal.

7. The method according to any one of claims 1-6, characterized in that, The method further includes: Generate at least one scene that matches the package; Display the entry interface for at least one of the scenarios.

8. The method according to claim 7, characterized in that, The at least one scenario includes a first scenario and a second scenario; The execution terminal used to execute the first scenario in the package is different from or not entirely the same as the execution terminal used to execute the second scenario in the package; or, The execution terminal used to execute the first scenario in the package is the same as the execution terminal used to execute the second scenario in the package, and the working parameters of the same execution terminal in the first scenario are different from those in the second scenario.

9. The method according to any one of claims 1-8, characterized in that, After connecting the plurality of execution terminals to the network based on the network configuration information, the method further includes: Obtain update information for the package, including information on at least one newly added execution terminal; Based on the network configuration information, the at least one newly added execution terminal will be connected to the network.

10. The method according to claim 9, characterized in that, include: The interface information of the at least one newly added execution terminal is displayed on the interface associated with the package; And / or, The interface associated with the package displays the scene information associated with the at least one newly added execution terminal.

11. The method according to claim 9 or 10, characterized in that, The updated information is either information submitted by the user or information obtained from the server.

12. A method for configuring a terminal, characterized in that, Applied to network devices, the method includes: Based on the detected package, network configuration information of the network is obtained, wherein the package includes multiple execution terminals, and at least two of the execution terminals are used to cooperate in executing a scenario corresponding to the user's intent according to the user's intent; The plurality of execution terminals are connected to the network based on the network configuration information.

13. The method according to claim 12, characterized in that, The process of obtaining network configuration information based on the detected package includes: Based on the detection of a specific terminal in the package, the network configuration information is obtained; or, Based on the detection that the number of execution terminals matching the package is greater than or equal to a preset threshold, the network configuration information is obtained; or, Based on the detection of each execution terminal in the package, the network configuration information is obtained.

14. The method according to claim 12 or 13, characterized in that, The detected package includes: When the network device detects information about at least one of the execution terminals, it matches at least one of the execution terminals with the package.

15. The method according to claim 12 or 13, characterized in that, The detected package includes: A first message is sent to the control terminal, the first message indicating information about at least one of the execution terminals detected by the network device, and the first message triggers the control terminal to match at least one of the execution terminals with the package.

16. The method according to any one of claims 12-15, characterized in that, Before connecting the plurality of execution terminals to the network based on the network configuration information, the method further includes: Obtain authorization to add the package from the control terminal.

17. The method according to any one of claims 12-16, characterized in that, The method further includes: Generate at least one scene that matches the package.

18. A network device, characterized in that, include: A memory and one or more processors, the memory being used to store a program; the one or more processors being used to execute the method as described in any one of claims 12-17 when the program is invoked.

19. A readable storage medium having a program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 12-17.

20. A program product, characterized in that, When the program product is run on a terminal, the terminal performs the method as described in any one of claims 12-17.