Device configuration method and apparatus, and computer device
By pre-storing project configuration resources in the IoT system and automatically configuring them based on device location, the tedious problem of manual debugging in IoT system project applications is solved, achieving efficient and accurate device configuration, reducing user operation difficulty and device failure risk.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- SUZHOU OPPLE LIGHTING
- Filing Date
- 2025-11-10
- Publication Date
- 2026-05-21
AI Technical Summary
IoT systems require manual installation and debugging in project applications, resulting in a large amount of repetitive work, complex configuration processes, high user learning costs, and the need for professional personnel, making them unsuitable for small-scale projects.
By generating project configuration resources in different areas of the project site, pre-storing equipment information, and automatically identifying and configuring the target equipment based on its location information, automated equipment configuration is achieved, reducing on-site debugging.
This improved the timeliness of system implementation in real-world projects and the accuracy of configuration information, reduced user learning costs, and decreased the risk of equipment failure.
Smart Images

Figure CN2025133855_21052026_PF_FP_ABST
Abstract
Description
Equipment configuration methods, devices and computer equipment
[0001] Cross-references to related applications
[0002] This application claims priority to Chinese Patent Application No. 202411648788.7, filed on November 18, 2024, entitled "Equipment Configuration Method, Apparatus and Computer Equipment", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This disclosure relates to the field of Internet of Things (IoT) technology, and in particular to a device configuration method, apparatus, and computer device. Background Technology
[0004] In IoT systems, in order to cover products with different functions and meet various project application scenarios, most systems do not have fixed network and control functions bound at the factory. Generally, on-site configuration is required based on the actual application situation in the project.
[0005] Generally, it consists of four steps: 1. App download; 2. Network configuration; 3. Function configuration; 4. Configuration saving. For some systems, configuration saving is completed during the configuration process. Network configuration requires adding devices to the communication gateway. When multiple gateways exist in a project, different devices need to be configured on different gateways. Function configuration varies greatly depending on the system and is more complex than network configuration. It typically includes scene configuration, automation linkage configuration, button and sensor function configuration, and other complex function configurations.
[0006] Traditional IoT systems require manual installation and debugging of all IoT devices during project implementation, resulting in a large amount of repetitive work and significantly impacting the system's application in actual projects. At the same time, the system configuration process is complex and cumbersome, requiring professional personnel familiar with the system to complete the project configuration, which increases the user's learning cost. When the project scale is relatively small, users cannot afford the on-site debugging fees of professional personnel. Summary of the Invention
[0007] This application provides a device configuration method, apparatus, and computer equipment that can automatically complete the project configuration process of the device, allowing it to be put into use immediately after installation. This avoids the tedious operation of repeatedly performing on-site debugging and configuration, ensuring that the system is applied and implemented in a timely manner in actual projects.
[0008] On one hand, embodiments of this application provide a device configuration method, including:
[0009] Project configuration resources are generated based on different areas of the project site, and these project configuration resources are pre-stored.
[0010] Determine the target area within the project site based on the location information of the target equipment;
[0011] Retrieve the device information corresponding to the target area from the pre-stored project configuration resources;
[0012] Identify the product information of the target device;
[0013] The device information is sent to the target device to complete automatic configuration, and the configuration relationship between the product information and the device information is stored.
[0014] In one possible implementation, generating project configuration resources based on different areas of the project site includes:
[0015] Obtain the lighting requirements for different areas of the project site;
[0016] Configure the corresponding equipment types to achieve the corresponding functions according to the lighting requirements of the different areas.
[0017] In one possible implementation, generating project configuration resources based on different areas of the project site includes:
[0018] Obtain the equipment types in different areas of the project site;
[0019] Based on lighting requirements, the functions of the same equipment type are configured in different areas according to the correspondence between different equipment types and their respective areas.
[0020] In one possible implementation, the product information includes MAC address information, and the product information for identifying the target device includes:
[0021] Obtain the corresponding MAC address information from the product information of the target device;
[0022] The target gateway corresponding to the target device is selected and configured based on the MAC address information.
[0023] In one possible implementation, the product information includes SKU information, and the identification of the target device's product information includes, prior to:
[0024] Obtain the equipment types that require installation within the target area;
[0025] The product information of the target device is compared with the type of equipment required to be installed in the target area to determine whether the target device is a device that matches the lighting requirements.
[0026] One possible implementation also includes:
[0027] When devices of the same type with different functions exist in the same area, obtain the location information with the specific function;
[0028] The location information with specific functions is marked according to the location information, and the specific functions of the designated device are pre-configured based on the markings.
[0029] In one possible implementation, generating project configuration resources based on different areas of the project site includes:
[0030] Obtain the management permission levels corresponding to different areas in the project site;
[0031] The corresponding management information is set according to the management authority level of the different regions.
[0032] One possible implementation also includes:
[0033] Set the lighting scene;
[0034] The lighting scene is bound to the lighting control scheme of the designated area, and the correspondence between the two is pre-stored.
[0035] On one hand, embodiments of this application provide a device configuration apparatus, including:
[0036] Resource pre-storage unit: configured to generate project configuration resources based on different areas of the project site, and pre-store the project configuration resources;
[0037] Resource allocation unit: configured to determine the target area in the project site based on the location information of the target device;
[0038] It is also configured to obtain device information corresponding to the target area from the pre-stored project configuration resources;
[0039] Identify the product information of the target device;
[0040] The device information is sent to the target device to complete automatic configuration, and the configuration relationship between the product information and the device information is stored.
[0041] On one hand, embodiments of this application provide a computer device, including: a storage device and a processor;
[0042] A memory, wherein one or more computer programs are stored;
[0043] The processor is configured to load one or more computer programs to implement the above-described device configuration method.
[0044] In this embodiment, project configuration resources are first generated based on different areas of the project site and pre-stored. The target area within the project site is determined based on the location information of the target device. Then, the device information corresponding to the target area and the product information of the target device are obtained from the pre-stored project configuration resources. Finally, the device information is sent to the target device to complete automatic configuration, and the configuration relationship between the product information and the device information is stored. Therefore, this application pre-configures the corresponding project configuration resources for different functional areas of the project site. During device installation, the corresponding functional area is identified by the device's installation location, automatically implementing the configuration process of the corresponding project resources. This completes the current device's entry into the Internet of Things (IoT), avoiding numerous repetitive on-site debugging and configuration operations, ensuring timely application and implementation of the system in actual projects. Simultaneously, the accuracy of configuration operations is improved through the system's cloud-based known device configuration resources and intelligent configuration methods, effectively reducing the occurrence of device malfunctions or failures due to oversights during installation and debugging by staff. Attached Figure Description
[0045] To more clearly illustrate the technical solutions and advantages in the embodiments or conventional technologies of this specification, the accompanying drawings used in the description of the embodiments or conventional technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 is a flowchart of a device configuration method provided in an embodiment of this specification;
[0047] Figure 2 is a schematic diagram of the configuration process of the device configuration method provided in the embodiments of this specification;
[0048] Figure 3 is a schematic diagram of the installation and commissioning process of IoT devices in traditional technologies;
[0049] Figure 4 is a schematic diagram of the organization of configuration information when the function configuration is used as the index, as provided in the embodiments of this specification;
[0050] Figure 5 is a schematic diagram of the configuration information organization format when the device type is used as the index, as provided in the embodiments of this specification.
[0051] Figure 6 is a schematic diagram of the layout of the lighting system for a footwear and apparel store provided in an embodiment of this specification;
[0052] Figure 7 is a schematic diagram of the structure of a device configuration apparatus provided in an embodiment of this specification. Detailed Implementation
[0053] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0054] As shown in Figures 1 and 2, this application provides a device configuration method, including:
[0055] S100: Generate project configuration resources based on different areas of the project site, and pre-store the project configuration resources;
[0056] It's important to note that the configuration process for traditional IoT devices generally includes network configuration, function configuration, and configuration storage. In the network configuration phase, different devices need to be configured with corresponding gateways to establish a binding relationship between the devices and the gateways, thus enabling network configuration. Function configuration varies greatly depending on the system's functionality and is more complex than network configuration. It typically includes scene configuration, automation linkage configuration, button or sensor response function configuration, and configuration information for other complex functions.
[0057] The common configuration method involves having professional staff manually identify each device type on-site after all devices have been installed, and then manually enter the corresponding configuration information based on the scenario requirements, as shown in Figure 3. This traditional configuration method results in a large amount of repetitive work, severely impacting the timeliness of system implementation in actual projects. Furthermore, the complex and cumbersome configuration process incurs a high learning curve for users, generally requiring familiar system professionals for project configuration and debugging. For smaller projects, users cannot afford the on-site debugging fees for professionals.
[0058] As shown in Figure 2, the equipment configuration method of this application pre-configures the corresponding project configuration resources in different functional areas of the project site. During equipment installation, the corresponding functional area is identified by its installation location, so as to automatically realize the configuration process of the corresponding project resources in batches. This achieves on-site debugging-free configuration, improves the timeliness of the system's application and implementation in actual projects and the accuracy of the entered configuration information. At the same time, it facilitates easy scenario configuration by the user end, which helps to realize the popularization and application of IoT smart systems in project applications.
[0059] Specifically, the IoT smart system using the above-mentioned device configuration method in this application is a wireless communication-based smart lighting system. The application scenarios are retail outlets such as clothing stores and supermarkets. Based on the retail outlets' intelligent requirements for light panels, dimming and color adjustment in timed scenarios and some dynamic scenarios are set to achieve customized lighting needs.
[0060] To eliminate the complex on-site debugging work of intelligent system projects while ensuring that the intelligent system can meet the corresponding functional requirements, the implementation space on the project site is divided into different areas, and all equipment belongs to the corresponding area. In principle, the equipment configuration information of the same SKU is completely identical in each area, and product SKUs with the same functional specifications in each area can be identified by numerical serial numbers.
[0061] Different areas correspond to a set of devices or multiple sets of different types of devices, which are configured to meet their respective lighting needs. Therefore, the binding process between the divided areas, devices and corresponding functions that meet the lighting needs can be realized through the following two implementation methods, and the pre-storage is completed in the form of configuration information organization.
[0062] It should be noted that devices of the same type may have different configuration information in different regions.
[0063] In the first implementation, step S100 generates project configuration resources based on different areas of the project site, including:
[0064] Obtain the lighting requirements for different areas of the project site;
[0065] Configure the corresponding equipment types to achieve the corresponding functions according to the lighting requirements of the different areas.
[0066] Specifically, as shown in Figure 4, by selecting the function configuration as the index condition, the devices with the corresponding functions are automatically configured in batches based on the organization of the configuration information.
[0067] In the second implementation, step S100 generates project configuration resources based on different areas of the project site, including:
[0068] Obtain the equipment types in different areas of the project site;
[0069] Based on lighting requirements, the functions of the same equipment type are configured in different areas according to the correspondence between different equipment types and their respective areas.
[0070] Specifically, as shown in Figure 5, the device type of the current device is used as the index condition, and the corresponding functions are automatically configured for the same type of device in different regions based on the configuration information organization.
[0071] The device configuration method in this application also includes:
[0072] When devices of the same type with different functions exist in the same area, obtain the location information with the specific function;
[0073] The location information with specific functions is marked according to the location information, and the specific functions of the designated device are pre-configured based on the markings.
[0074] In some special scenarios, there may be devices with the same SKU in the same area with different configuration information. These special devices need to be specially labeled to distinguish them from devices of the same type in this area.
[0075] Specifically, by adding an identifier to the device information of the device type, its installation location is specifically specified, thus distinguishing it from other devices of the same type in this area.
[0076] S200: Determine the target area in the project site based on the location information of the target equipment;
[0077] S300: Obtain the device information corresponding to the target area from the pre-stored project configuration resources;
[0078] Specifically, based on the location information of the target device, the device information corresponding to the target area is determined by selecting the functional configuration or the device type of the current device as the index condition, and the organization of the configuration information.
[0079] S400: Identify the product information of the target device;
[0080] S500: Send the device information to the target device to complete automatic configuration, and store the configuration relationship between the product information and the device information.
[0081] In one implementation, the product information includes MAC address information. Step S400 identifies the product information of the target device, including:
[0082] Obtain the corresponding MAC address information from the product information of the target device;
[0083] The target gateway corresponding to the target device is selected and configured based on the MAC address information.
[0084] In one implementation, the product information further includes SKU information, and step S400, which identifies the product information of the target device, includes the following prior steps:
[0085] Obtain the equipment types that require installation within the target area;
[0086] The product information of the target device is compared with the type of equipment required to be installed in the target area to determine whether the target device is a device that matches the lighting requirements.
[0087] Specifically, the area information is marked with a simplified example diagram to show the spatial relationship between the various areas in the project. Equipment with special configurations in a particular area is also specifically marked, as exemplified by the lighting system in the shoe and clothing store in Figure 6.
[0088] Each device has a QR code printed on its exterior, containing information such as MAC address and SKU. The MAC address serves as a unique identifier for the device, used for identification when adding it to a network. The SKU indicates the device type.
[0089] The functional configuration information of different device types (different SKUs) or specifically designated devices in the above regions is described in JSON format. If a gateway exists in a region, it includes its corresponding network configuration information, that is, information on all sub-devices belonging to that gateway.
[0090] In one implementation, step S100, which generates project configuration resources based on different areas of the project site, further includes:
[0091] Obtain the management permission levels corresponding to different areas in the project site;
[0092] The corresponding management information is set according to the management authority level of the different regions.
[0093] In one implementation, based on the technical solution of this application, a unique configuration resource identifier ID is customized for different projects, specifically as follows:
[0094] Set the lighting scene;
[0095] The lighting scene is bound to the lighting control scheme of the designated area, and the correspondence between the two is pre-stored.
[0096] Specifically, templates are created for common lighting scenarios, and these templates contain the project configuration resources for the application.
[0097] The specific configuration process is shown in the following example:
[0098] The configuration information of each region under the project, as well as the regional information and other management information such as account permission categories contained in the project, are summarized and stored as project configuration resources on the cloud server. At the same time, a system is generated that can obtain the configuration resource identifier ID.
[0099] Configure a resource identifier ID through an app, mini-program, or web application, and merge it with the project resource identifier to generate a project QR code.
[0100] When a user launches an app mini-program or web application by scanning a project QR code, the resource identifier ID is transmitted to the app mini-program or web application. After obtaining the resource identifier ID, the application retrieves all regions under the project and their corresponding project configuration resources from the cloud server, and the UI displays the regions in the project.
[0101] After the user clicks on the area, they enter the process of scanning the device's QR code, scanning and recording the device's QR code information for that area, and simultaneously transmitting this information to the cloud server. At this point, the cloud server knows the various areas of the project and the specific devices in each area, as well as the corresponding device information in that area based on two dimensions: functional configuration or device type.
[0102] The cloud server can send device information to each device and automatically complete the configuration without the need for on-site personnel to configure and debug.
[0103] Referring to Figure 7, which illustrates a device configuration apparatus according to an embodiment of this application, the device configuration method 700 may specifically include:
[0104] Resource pre-storage unit 701: configured to generate project configuration resources based on different areas of the project site, and pre-store the project configuration resources;
[0105] Resource allocation unit 702: is configured to determine the target area in the project site based on the location information of the target device;
[0106] It is also configured to obtain device information corresponding to the target area from the pre-stored project configuration resources;
[0107] Identify the product information of the target device;
[0108] The device information is sent to the target device to complete automatic configuration, and the configuration relationship between the product information and the device information is stored.
[0109] An embodiment of this application provides a computer device, including: a storage device and a processor;
[0110] A memory, wherein one or more computer programs are stored;
[0111] The processor is configured to load one or more computer programs to implement the device configuration method of this application.
[0112] Furthermore, it should be noted that this application embodiment also provides a computer storage medium, which stores a computer program, and the computer program includes program instructions. When the processor executes the above program instructions, it can execute the methods in the corresponding embodiments described above. Therefore, it will not be described again here.
[0113] For technical details not disclosed in the embodiments of the computer storage medium involved in this application, please refer to the description of the method embodiments of this application. As an example, program instructions may be deployed on a computer device, or executed on multiple computer devices located in one location, or executed on multiple computer devices distributed in multiple locations and interconnected through a communication network.
[0114] According to one aspect of this application, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, enabling the computer device to perform the methods described in the preceding embodiments; therefore, further details will not be provided here.
[0115] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer 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.
[0116] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted through a computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data processing device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0117] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A device configuration method, wherein, include: Project configuration resources are generated based on different areas of the project site, and these project configuration resources are pre-stored. Determine the target area within the project site based on the location information of the target equipment; Retrieve the device information corresponding to the target area from the pre-stored project configuration resources; Identify the product information of the target device; The device information is sent to the target device to complete automatic configuration, and the configuration relationship between the product information and the device information is stored.
2. The device configuration method of claim 1, wherein, The generation of project configuration resources based on different areas of the project site includes: Obtain the lighting requirements for different areas of the project site; Configure the corresponding equipment types to achieve the corresponding functions according to the lighting requirements of the different areas.
3. The device configuration method according to claim 1, wherein, The generation of project configuration resources based on different areas of the project site includes: Obtain the equipment types in different areas of the project site; Based on lighting requirements, the functions of the same equipment type are configured in different areas according to the correspondence between different equipment types and their respective areas.
4. The device configuration method according to claim 2 or 3, wherein the product information includes MAC address information, The identification of the product information of the target device includes: Obtain the corresponding MAC address information from the product information of the target device; The target gateway corresponding to the target device is selected and configured based on the MAC address information.
5. The equipment configuration method according to claim 2 or 3, wherein the product information includes SKU information, The identification of the product information of the target device previously included: Obtain the equipment types that require installation within the target area; The product information of the target device is compared with the type of equipment required to be installed in the target area to determine whether the target device is a device that matches the lighting requirements.
6. The device configuration method according to claim 2 or 3, wherein, Also includes: When devices of the same type with different functions exist in the same area, obtain the location information with the specific function; The location information with specific functions is marked according to the location information, and the specific functions of the designated device are pre-configured based on the markings.
7. The device configuration method according to claim 1, wherein, The generation of project configuration resources based on different areas of the project site includes: Obtain the management permission levels corresponding to different areas in the project site; The corresponding management information is set according to the management authority level of the different regions.
8. The device configuration method according to claim 1, wherein, Also includes: Set the lighting scene; The lighting scene is bound to the lighting control scheme of the designated area, and the correspondence between the two is pre-stored.
9. A device configuration apparatus, wherein, include: Resource pre-storage unit: configured to generate project configuration resources based on different areas of the project site, and pre-store the project configuration resources; Resource allocation unit: configured to determine the target area in the project site based on the location information of the target device; It is also configured to obtain device information corresponding to the target area from the pre-stored project configuration resources; Identify the product information of the target device; The device information is sent to the target device to complete automatic configuration, and the configuration relationship between the product information and the device information is stored.
10. A computer device, wherein, include: Storage devices and processors; A memory, wherein one or more computer programs are stored; The processor is configured to load one or more computer programs to implement the device configuration method as described in any one of claims 1-8.