Equipment management method and device, storage medium and electronic equipment

By assigning a unique interactive network node identifier to smart home terminal devices, the network access process is simplified, solving the problem of insufficient convenience for smart home terminal devices to access the interactive network and improving network access efficiency and stability.

CN121664536APending Publication Date: 2026-03-13GD MIDEA AIR CONDITIONING EQUIP CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-12
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

In existing technologies, the convenience of smart home terminal devices accessing interactive networks is insufficient, resulting in a time-consuming and unstable network access process.

Method used

By assigning unique interactive network node identifiers to the central device and the terminal to be connected to the network, and binding them between the user terminal and the central device, the network access process is simplified, and the number of steps and waiting time are reduced.

Benefits of technology

It improves the efficiency and stability of terminal devices accessing the network, simplifies the network access process, and avoids application version and operating system compatibility issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121664536A_ABST
    Figure CN121664536A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment management method and device, a storage medium and electronic equipment, and the method comprises the steps: responding to an identifier distribution request transmitted by a user terminal, generating a terminal node identifier corresponding to a to-be-accessed terminal, and enabling the terminal node identifier to be used for recognizing the to-be-accessed terminal in an interactive network, the interactive network is a unique interactive network in a target space where the terminal to be accessed to the network is located, transmitting the terminal node identifier to the user terminal to enable the user terminal to access the terminal to be accessed to the interactive network based on the terminal node identifier, receiving a configuration parameter transmitted by the user terminal, and transmitting a hub node identifier to the user terminal, and sending the terminal node identifier to the user terminal, so that the user terminal allocates a control authority of the hub device to the terminal to be accessed based on the hub node identifier, and transmitting the terminal node identifier to the hub device, so that the hub device binds the terminal to be accessed based on the terminal node identifier, and the terminal to be accessed is online. By adopting the specification, the efficiency and stability of network access and online of the to-be-accessed terminal are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of electronic information technology, and in particular to a device management method, apparatus, storage medium and electronic equipment. Background Technology

[0002] Nowadays, with the continuous development of technology, more and more people are choosing to use smart homes. In order to facilitate the management of smart homes, it is necessary to connect the central device and each smart home device to the interactive network. However, there is currently a problem of insufficient convenience for terminals to access the interactive network. Therefore, how to improve the convenience of terminal devices accessing the interactive network has become an urgent problem to be solved. Summary of the Invention

[0003] This specification provides a device management method, apparatus, storage medium, and electronic device. This method can reduce the execution steps and waiting time of each terminal during the network access process through centralized management of a single interactive network, thereby improving the efficiency and stability of the terminal waiting to be connected to the network and going online.

[0004] Firstly, a device management method is provided for application on the server side, the method including: In response to the identifier allocation request transmitted by the user terminal, a terminal node identifier corresponding to the terminal to be connected to the network is generated. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network. The interactive network is a unique interactive network in the target space where the terminal to be connected to the network is located. The terminal node identifier is transmitted to the user terminal so that the user terminal can connect the terminal to be connected to the interactive network based on the terminal node identifier. The configuration parameters transmitted by the user terminal are received, and the central node identifier is transmitted to the user terminal so that the user terminal can allocate control permissions of the central device to the terminal to be connected to the network based on the central node identifier. The configuration parameters are obtained by the user terminal by identifying the terminal identification code of the terminal to be connected to the network. Transmit the terminal node identifier to the central device so that the central device can bind the terminal to be connected to the network based on the terminal node identifier and complete the online connection of the terminal to be connected to the network.

[0005] The above technical solution assigns node identifiers to the central device and the terminal to be connected to the network based on a unique interactive network. After the user terminal connects the terminal to the network, the central device binds the terminal to the network based on the terminal node identifier of the terminal to be connected to the network, thus completing the online connection of the terminal to be connected to the network. In this way, the centralized management of the unique interactive network reduces the execution steps and waiting time of each terminal in the network access process, thereby improving the efficiency and stability of the terminal to be connected to the network and going online.

[0006] In conjunction with the first aspect, in some possible implementations, prior to responding to the identifier allocation request transmitted by the user terminal, the following steps are also included: Receive the first query request for network information transmitted by the user terminal, and transmit the network information to the user terminal. The network information is the attribute information corresponding to the unique interactive network. In response to a second query request for network information transmitted by the central device, the network information and the central node identifier are transmitted to the central device, and the central capabilities reported by the central device are recorded.

[0007] By using the above technical solution, before the terminal to be connected to the network and goes online in the interactive network, network information is transmitted to the user terminal in advance, and the central node identifier is transmitted to the central device, thereby improving the efficiency and stability of the terminal to be connected to the network in accessing the interactive network.

[0008] In conjunction with the first aspect, in some possible implementations, receiving a first query request for network information transmitted from a user terminal and transmitting the network information to the user terminal includes: Receive a first query request for network information transmitted by a user terminal, and query the network information of the interactive network corresponding to the target space based on the target space in the first query request; If network information already exists in the interactive network, then the network information will be transmitted to the user terminal; If no interactive network exists, an interactive network is generated, and the network information corresponding to the interactive network is transmitted to the user terminal.

[0009] In conjunction with the first aspect, in some possible implementations, in response to a second query request for network information transmitted by the central device, the network information and the central node identifier are transmitted to the central device, and the central capabilities reported by the central device are recorded, including: In response to the second query request for network information transmitted by the central device, a central node identifier corresponding to the central device is generated; Transmit network information and central node identifiers to the central device so that the central device can report its central capabilities. If the central capability reported by the central device is received, the central capability of the central device is recorded, and the first notification information is transmitted to the user terminal. The first notification information is used to indicate that the central device has completed network access.

[0010] The above technical solution transmits the central node identifier to the central device and records the central device's central capabilities, thereby reducing the time required for binding terminals to the network based on the central device and improving the efficiency of terminals going online.

[0011] In conjunction with the first aspect, in some possible implementations, in response to the identifier allocation request transmitted by the user terminal, a terminal node identifier corresponding to the terminal to be connected to the network is generated, including: In response to the identifier allocation request for the terminal to be connected to the network transmitted by the user terminal, the terminal identifier of the terminal to be connected to the network is obtained from the identifier allocation request; Based on the node identifier generation method of the interactive network, a node identifier corresponding to the terminal identifier is generated, and the node identifier is determined as the terminal node identifier corresponding to the terminal to be connected to the network.

[0012] In conjunction with the first aspect, in some possible implementations, the terminal node identifier is transmitted to the central device so that the central device can bind the terminal to be connected to the network based on the terminal node identifier, thereby completing the online connection of the terminal to be connected to the network. This includes: Transmit the terminal node identifier and the terminal type of the terminal to be connected to the network to the central device, so that the central device can bind the terminal to be connected to the network based on the terminal node identifier and the terminal type; Upon receiving the binding result reported by the central device, if the binding result indicates that the central device has completed the binding with the terminal to be connected to the network, a second notification message is sent to the user terminal. The second notification message is used to instruct the terminal to be connected to the network to go online.

[0013] In conjunction with the first aspect, in some possible implementations, the terminal node identifier and configuration parameters of the terminal to be connected to the network transmitted by the user terminal are obtained; The terminal node identifier and configuration parameters are transmitted to the central device, so that the central device can control the terminal to be connected to the network based on the configuration parameters and the terminal node identifier. If the central device reports that the terminal to be added to the network has successfully joined the network and gone online, a second notification message is sent to the user terminal.

[0014] The above technical solution simplifies the process of connecting a terminal to the network and binding the terminal to control its online access. This allows the central device to directly control the terminal's network access, avoiding version issues of the application used for device management on the user terminal and compatibility issues of the user terminal's operating system.

[0015] Secondly, embodiments of this specification provide a device management method, which is applied to a user terminal and includes: Transmit an identifier allocation request to the server to obtain the terminal node identifier corresponding to the terminal to be connected to the network, and connect the terminal to be connected to the interactive network based on the terminal node identifier. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network. The interactive network is a unique interactive network in the target space where the terminal to be connected is located. The configuration parameters of the terminal to be connected to the network are transmitted to the server, and the central node identifier is obtained. The configuration parameters are obtained by identifying the terminal identification code of the terminal to be connected to the network. Based on the central node identifier, the central device's management permissions are assigned to the terminal to be connected to the network, so that the central device is bound to the terminal to be connected to the network, and the terminal to be connected to the network is put online.

[0016] The above technical solution obtains a unique allocation node identifier for the terminal to be connected to the network from the server. After the terminal is connected to the network, the central device binds the terminal to be connected to the network based on its terminal node identifier, thus completing the connection of the terminal to be connected to the network. This reduces the number of execution steps and waiting time for each terminal during the network access process through centralized management of the unique network, thereby improving the efficiency and stability of the terminal to be connected to the network and going online.

[0017] In conjunction with the second aspect, in some possible implementations, before transmitting the identifier allocation request to the server, the following steps are also included: In response to the triggered network entry command, a first query request for network information is sent to the server to obtain the network information returned by the server. The network information is the attribute information corresponding to the unique interactive network. Connect the central device to the interactive network so that the central device can obtain the central node identifier from the server.

[0018] By using the above technical solution, network information is obtained from the server in advance and the central device is connected to the interactive network before the terminal to be connected to the network is accessed and put online, thereby improving the efficiency and stability of the terminal to be connected to the interactive network.

[0019] In conjunction with the second aspect, in some possible implementations, in response to the triggered network access command, a first query request for network information is sent to the server to obtain the network information returned by the server, including: In response to the network access command, determine the unique interactive network in the target space where the user terminal is located; Generate a first query request for network information of the interactive network, transmit the first query request to the server, and obtain the network information returned by the server.

[0020] In conjunction with the second aspect, in some possible implementations, a request for identifier allocation is transmitted to the server to obtain the terminal node identifier corresponding to the terminal to be connected to the network, and the terminal to be connected to the network is connected to the interactive network based on the terminal node identifier, including: Identify the terminal identification code of the terminal to be connected to the network and obtain the terminal parameters of the terminal to be connected to the network; Generate an identifier allocation request, transmit the identifier allocation request to the server, and obtain the terminal node identifier of the terminal to be connected to the network returned by the server; Based on the terminal node identifier and the terminal connection protocol, the terminal to be connected to the network is connected to the interactive network. The terminal connection protocol is a protocol used to connect terminals in the interactive network.

[0021] In conjunction with the second aspect, in some possible implementations, management permissions for the central device are assigned to the terminal to be connected to the network based on the central node identifier, so that the central device is bound to the terminal to be connected to the network, thus completing the online connection of the terminal to be connected to the network. This includes: The central node identifier is transmitted to the terminal to be connected to the network, so that the central node identifier is written into the control list of the terminal to be connected to the network, so that the central device binds to the terminal to be connected to the network and completes the online connection of the terminal to be connected to the network.

[0022] Thirdly, embodiments of this specification provide a device management method, applied to a central device, the method comprising: Obtain the terminal node identifier and terminal type transmitted by the server, discover the terminal to be connected to the network based on the terminal node identifier and terminal type, and subscribe to the terminal attribute data of the terminal to be connected to the network. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network. The interactive network is a unique interactive network in the target space where the terminal to be connected to the network is located. If a binding relationship is established with a terminal to be connected to the network, a binding result indicating the online status of the terminal to be connected to the network is generated, and the binding result is reported to the server. The binding result indicates that the terminal to be connected to the network has completed the online process.

[0023] Through the above technical solution, the unique interactive network discovers terminals to be added to the network based on terminal node identifiers and terminal types, and subscribes to the terminal attribute data of the terminals to be added to the network in order to establish a binding relationship with the terminals to be added to the network and complete the online access of the terminals to be added to the network. In this way, the centralized management of the unique interactive network reduces the execution steps and waiting time of each terminal in the network access process, thereby improving the efficiency and stability of the terminals to be added to the network and going online.

[0024] In conjunction with the third aspect, in some possible implementations, before obtaining the terminal node identifier and terminal type transmitted by the server, the following steps are also included: In response to a user terminal triggering an operation to access the interactive network, a second query request for network information of the interactive network is generated. The second query request is transmitted to the server to obtain the network information and central node identifier returned by the server. Generate reporting data characterizing the central capabilities of the central devices and transmit the reporting data to the server.

[0025] The above technical solution obtains network information and central node identifier from the server before discovering and binding the terminal to be connected to the network, thereby improving the efficiency and stability of the terminal's access to the interactive network.

[0026] In conjunction with the third aspect, in some possible implementations, the terminal node identifier and terminal type transmitted by the server are obtained; based on the terminal node identifier and terminal type, the terminal to be connected to the network is discovered; and the terminal attribute data of the terminal to be connected to the network is subscribed to, including: Obtain the terminal node identifier and terminal type transmitted by the server; Determine the network channel corresponding to the terminal type, and perform terminal search in the network channel based on the terminal node identifier to find the terminal to be joined to the network corresponding to the terminal node identifier. Send a subscription request to the terminal to be connected to the network and establish a binding relationship with the terminal to be connected to the network so that the terminal status transmitted by the terminal to be connected to the network can be obtained every first preset time interval.

[0027] In conjunction with the third aspect, in some possible implementations, if the terminal status transmitted by the terminal to be connected to the network is not received within the second preset time period, it is determined that the connection with the terminal to be connected to the network is disconnected, and the process proceeds to the step of determining the network channel corresponding to the terminal type. The second preset time period is longer than the first preset time period.

[0028] Through the above technical solution, after determining that the bound terminal to be connected to the network has lost connection, the terminal to be connected to the network is rediscovered and bound according to the terminal node identifier and terminal type. This reduces the number of execution steps required to establish a binding relationship with the terminal to be connected to the network due to reasons such as disconnection, improves the efficiency of terminal reconnection and the response efficiency to emergencies, and thus improves the stability of binding the terminal to the network in the central device.

[0029] Fourthly, embodiments of this specification provide a device management apparatus, the apparatus comprising: The identifier acquisition unit is used to generate a terminal node identifier corresponding to the terminal to be connected to the network in response to the identifier allocation request transmitted by the user terminal. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network. The interactive network is a unique interactive network in the target space where the terminal to be connected to the network is located. The first terminal network access unit is used to transmit the terminal node identifier to the user terminal, so that the user terminal can access the interactive network based on the terminal node identifier. The first central identifier transmission unit is used to receive configuration parameters transmitted by the user terminal and transmit the central node identifier to the user terminal so that the user terminal can allocate control permissions of the central device to the terminal to be connected to the network based on the central node identifier. The configuration parameters are obtained by the user terminal by identifying the terminal identification code of the terminal to be connected to the network. The first terminal online unit is used to transmit the terminal node identifier to the central device, so that the central device can bind the terminal to be connected to the network based on the terminal node identifier and complete the online connection of the terminal to be connected to the network.

[0030] Fifthly, embodiments of this specification provide a device management apparatus, the apparatus comprising: The second terminal access unit is used to transmit an identifier allocation request to the server, obtain the terminal node identifier corresponding to the terminal to be accessed, and access the terminal to be accessed to the interactive network based on the terminal node identifier. The terminal node identifier is used to identify the terminal to be accessed in the interactive network, and the interactive network is a unique interactive network in the target space where the terminal to be accessed is located. The central identifier acquisition unit is used to transmit the configuration parameters of the terminal to be connected to the network to the server and acquire the central node identifier. The configuration parameters are obtained by identifying the terminal identification code of the terminal to be connected to the network. The second terminal online unit is used to allocate management permissions of the central device to the terminal to be connected to the network based on the central node identifier, so that the central device is bound to the terminal to be connected to the network and the terminal to be connected to the network is completed online.

[0031] Sixthly, embodiments of this specification provide a device management apparatus, the apparatus comprising: The terminal discovery unit is used to obtain the terminal node identifier and terminal type transmitted by the server, discover the terminal to be connected to the network based on the terminal node identifier and terminal type, and subscribe to the terminal attribute data of the terminal to be connected to the network. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network. The interactive network is a unique interactive network in the target space where the terminal to be connected to the network is located. The terminal binding unit is used to establish a binding relationship with a terminal to be connected to the network, generate a binding result indicating the online status of the terminal to be connected to the network, report the binding result to the server, and indicate that the terminal to be connected to the network has completed the online process.

[0032] In a seventh aspect, embodiments of this specification provide a computer storage medium storing a plurality of instructions adapted for loading by a processor and executing the steps of the method described above.

[0033] Eighthly, embodiments of this specification provide an electronic device, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the steps of the method described above.

[0034] Ninthly, embodiments of this specification provide a computer program product, including: a computer program that, when executed by a processor of an electronic device, enables the processor to perform at least the steps of the method described above. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in this specification or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 A system architecture diagram of a device management method provided in the embodiments of this specification; Figure 2 A flowchart illustrating a device management method provided in an embodiment of this specification; Figure 3 A flowchart illustrating a device management method provided in an embodiment of this specification; Figure 4 A timing diagram illustrating the process of binding a terminal to be connected to the network, provided in an embodiment of this specification; Figure 5 A flowchart illustrating a device management method provided in an embodiment of this specification; Figure 6 A flowchart illustrating a device management method provided in an embodiment of this specification; Figure 7 This specification provides a timing diagram of a user terminal obtaining network information according to an embodiment. Figure 8 A timing diagram illustrating the process of a terminal seeking to access an interactive network, provided in an embodiment of this specification; Figure 9 A flowchart illustrating a device management method provided in an embodiment of this specification; Figure 10 A flowchart illustrating a device management method provided in an embodiment of this specification; Figure 11 A timing diagram illustrating the process of a central device acquiring a central node identifier, provided in an embodiment of this specification; Figure 12 This is a schematic diagram of the structure of a device management apparatus provided in an embodiment of this specification; Figure 13 This is a schematic diagram of the structure of a device management apparatus provided in an embodiment of this specification; Figure 14 This is a schematic diagram of the structure of a device management apparatus provided in an embodiment of this specification; Figure 15 This is a schematic diagram of the structure of a device management apparatus provided in an embodiment of this specification; Figure 16 This is a schematic diagram of the structure of a device management apparatus provided in an embodiment of this specification; Figure 17 This is a schematic diagram of the structure of a device management apparatus provided in an embodiment of this specification; Figure 18 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification; Figure 19 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification; Figure 20 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification. Detailed Implementation

[0037] To make the features and advantages of this specification more apparent and understandable, the technical solutions in this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.

[0038] Please see Figure 1 This document provides a system architecture diagram for a device management method as illustrated in the embodiments of this specification. Figure 1 As shown in the embodiments of this specification, the device management method can be applied to the server to control the process of a terminal waiting to join the network and go online. The system architecture provided in the embodiments of this specification mainly includes a server 10, a user terminal 20, a central device 30, and a terminal waiting to join the network 40. The server 10 can be a device used to manage the interactive network and the terminals accessing the interactive network, such as a personal computer, server, cloud server, etc. The user terminal 20 can be a terminal device used to trigger the terminal waiting to join the network to access the interactive network and go online, such as a smartphone, tablet computer, etc. The central device 30 can be a device with central functions such as issuing instructions to other terminals, such as a smart speaker, smart home hub, mobile phone, etc. The terminal waiting to join the network 40 can be any terminal device with network connection function, such as a light bulb, air conditioner, etc., a smart home device.

[0039] In related technologies, the methods used to connect central devices and terminal devices to the interactive network suffer from multiple interactive network issues, resulting in long connection times for terminal devices and a high probability of errors, which affects the user experience.

[0040] In the embodiments described in this specification, server 10 responds to the identifier allocation request transmitted by user terminal 20, generates a terminal node identifier corresponding to the terminal 40 to be connected to the network, and transmits the terminal node identifier to user terminal 20, so that user terminal 20 can access the interactive network based on the terminal node identifier. Server 10 receives configuration parameters transmitted by user terminal 20, transmits the central node identifier to user terminal 20, so that user terminal 20 can allocate control permissions of central device 30 to the terminal 40 to be connected to the network based on the central node identifier, and transmits the terminal node identifier to central device 30, so that central device 30 can bind the terminal 40 to be connected to the network based on the terminal node identifier, thus completing the online connection of the terminal 40. Therefore, through centralized management of a single interactive network, the execution steps and waiting time of each terminal during the network access process are reduced, thereby improving the efficiency and stability of the terminal's network access and online connection.

[0041] based on Figure 1 The system architecture shown below will be combined with... Figure 2 This specification provides a detailed description of the device management methods provided in the embodiments.

[0042] Please see Figure 2 This is a flowchart illustrating a device management method provided in an embodiment of this specification. Figure 2 As shown, this method is applied to the server side and may include the following steps S101-S104.

[0043] S101, in response to the identifier allocation request transmitted by the user terminal, generate the terminal node identifier corresponding to the terminal to be connected to the network; In one embodiment, the server receives an identifier allocation request transmitted by a user terminal. The user terminal can be a terminal device used to trigger the access and online connection of the terminal to be connected to the interactive network, such as a smartphone or tablet. The server can be a device used to manage the interactive network and the terminals accessing it, such as a personal computer, server, or cloud server. The terminal to be connected can be any terminal device with network connectivity, such as a light bulb or air conditioner (smart home device). The identifier allocation request can be a request to the server to generate a node identifier corresponding to the terminal to be connected. The server responds to the identifier allocation request and generates a terminal node identifier corresponding to the terminal to be connected. The terminal node identifier can be an identifier used to identify the terminal to be connected in the interactive network. It is understood that the terminal node identifier is unique within the interactive network. The interactive network can be a unique interactive network in the target space where the terminal to be connected is located, a local area network connecting various terminal devices and enabling data communication between them, such as a fabric network or a mash network. The target space can be the physical space where the terminal to be connected is located, such as a living room or office.

[0044] S102, transmit the terminal node identifier to the user terminal so that the user terminal can connect the terminal to be connected to the interactive network based on the terminal node identifier; In one embodiment, the generated terminal node identifier is transmitted to the user terminal, enabling the user terminal to connect the terminal to the network based on the terminal node identifier and according to the terminal connection protocol. The terminal connection protocol can be a protocol used for communication between different terminals, such as the Matter protocol, to achieve seamless collaboration between different terminals across brands and ecosystems.

[0045] S103, receive configuration parameters transmitted by the user terminal, and transmit the central node identifier to the user terminal so that the user terminal can allocate control permissions of the central device to the terminal to be connected to the network based on the central node identifier; In one embodiment, configuration parameters transmitted by a user terminal are received. These configuration parameters can be obtained by the user terminal through identifying the terminal identification code of the terminal to be connected to the network. The configuration parameters may include the terminal type, serial number, terminal node identifier, IP (Internet Protocol) address, and supported terminal connection protocols of the terminal to be connected to the network. The terminal identification code can be an identification code storing parameters related to network access for the terminal to be connected to the network, such as a two-dimensional barcode. It should be noted that, to facilitate user terminal identification of the terminal identification code, if the terminal identification code is a two-dimensional barcode, it can be affixed to the casing of the terminal to be connected to the network. After receiving the configuration parameters, the server transmits the central node identifier to the user terminal, enabling the user terminal to enter data into the terminal to be connected to the network based on the obtained central node identifier, thereby allocating control permissions for the central device in the terminal to be connected to the network. The central device can be a device with central functions such as issuing commands to other terminals, such as a smart speaker, smart home hub, or mobile phone. The central node identifier can be the node identifier corresponding to the central device in the interactive network. A node identifier can be used to uniquely identify a single node in an interactive network. A node can be a unique addressable resource unit in the network, encapsulating a set of functions and capabilities so that it can be identified as a complete functional unit. Control permissions can instruct the central device to issue various instructions to the terminal to be connected to the network, so as to drive the terminal to perform corresponding operations in response to the instructions, such as an air conditioner responding to the issued instructions to start or adjust the temperature.

[0046] S104, transmit the terminal node identifier to the central device so that the central device can bind the terminal to be connected to the network based on the terminal node identifier and complete the online connection of the terminal to be connected to the network. In one embodiment, the terminal node identifier of the terminal to be connected to the network is transmitted to the central device. This enables the central device to discover the terminal to be connected to the network based on the terminal node identifier, establish a binding relationship with the terminal, and then return a binding result to the server. The binding result can indicate the binding status between the central device and the terminal to be connected to the network, specifically including successful binding and failed binding, so that the server can determine the subsequent execution content based on the binding result. If the binding result indicates that the central device and the terminal to be connected to the network are successfully bound, it can be considered that the terminal to be connected to the network has completed its online status in the interactive network, and a notification message is sent to the user terminal to inform the user terminal that the terminal to be connected to the network has completed its online status.

[0047] It should be noted that if the central device successfully binds with the terminal to be connected to the network, it is determined that the central device can drive the terminal to be connected to the network to execute various instructions through the interactive network, and the terminal to be connected to the network can be considered to be online in the switching network. However, if the central device fails to bind with the terminal to be connected to the network, it is considered that although the terminal to be connected to the network has accessed the interactive network, the central device cannot monitor the operating status of the terminal to be connected to the network, nor can it drive the terminal to be connected to the network through the interactive network, and the terminal to be connected to the network can be considered to be not online in the interactive network.

[0048] In the embodiments described in this specification, node identifiers are assigned to the central device and the terminal to be connected to the network through a unique interactive network. After the user terminal connects the terminal to be connected to the interactive network, the central device binds the terminal to be connected to the network according to the terminal node identifier of the terminal to be connected to the network, thus completing the online connection of the terminal to be connected to the network. In this way, the centralized management of the unique interactive network reduces the execution steps and waiting time of each terminal in the network access process, thereby improving the efficiency and stability of the terminal to be connected to the network and going online.

[0049] Please see Figure 3 This is a flowchart illustrating a device management method provided in an embodiment of this specification. Figure 3 As shown, this method is applied to the server side and may include the following steps S201-S208.

[0050] S201, Receive the first query request for network information transmitted by the user terminal, and transmit the network information to the user terminal; In one embodiment, a first query request for network information is received from a user terminal. The user terminal can be a terminal device used to trigger the access and online connection of the terminal to be connected to the interactive network, such as a smartphone or tablet. The network information can be attribute information corresponding to a unique interactive network, specifically including a root certificate (RCAC), an intermediate certificate (ICA), an ICA private key, and a unique central node identifier within the interactive network. The interactive network can be a local area network (LAN) within the target space set by the user terminal, connecting various terminal devices and enabling data communication between them, such as a fabric network or a mash network. The target space can be the physical space where the terminal to be connected is located, such as a living room or office. The first query request can be a request to the server to obtain network information. After receiving the first query request, the server determines whether an interactive network exists based on the target area in the first query request. If it exists, the server transmits the network information corresponding to that interactive network to the user terminal.

[0051] Specifically, the server transmits network information to the user terminal in the following way: It receives a first query request for network information from the user terminal; based on the target space in the first query request, it queries the network information of the corresponding interactive network in the target space. If the network information of the interactive network already exists, it is transmitted to the user terminal. If the interactive network does not exist, an interactive network is generated, and the network information corresponding to the interactive network is transmitted to the user terminal. This means that by querying whether an interactive network already exists in the target space, it ensures that there is one and only one interactive network in the target space. This facilitates the management of each terminal device through a single interactive network, improving the stability of terminal device management and data processing efficiency.

[0052] S202, in response to the second query request for network information transmitted by the central device, transmit the network information and the central node identifier to the central device, and record the central capabilities reported by the central device; In one embodiment, a second query request for network information transmitted by a central device is received. The second query request may be a request transmitted by the central device to the server for obtaining network information and a central node identifier. In response to the second query request for network information transmitted by the central device, a central node identifier corresponding to the central device is generated. The central node identifier can be generated based on the device identifier of the central device in the second query request, or it can be generated based on a pre-set identifier generation method, which can be set according to actual conditions. The network information and the central node identifier are transmitted to the central device so that the central device reports its central capabilities. If the central capabilities reported by the central device are received, the central capabilities of the central device are recorded, and a first notification message is transmitted to the user terminal. The first notification message is used to indicate that the central device has completed network access. The central capabilities may indicate whether the central device supports terminal control capabilities of the terminal connection protocol.

[0053] If, within a certain period of time after sending the central node identifier and network information to the central device, no central capability report is received from the central device, it can be assumed that the central device does not support terminal control of the terminal connection protocol. The server will mark the central device as a regular device that is not a central device and cancel the central permissions of the central node identifier, or revoke the central node identifier. The specific settings can be configured according to the actual situation.

[0054] It should be noted that the execution order of steps S201 and S202 can be changed, or they can be executed simultaneously. The specific settings can be made according to the actual situation.

[0055] S203, in response to the identifier allocation request for the terminal to be connected to the network transmitted by the user terminal, obtain the terminal identifier of the terminal to be connected to the network in the identifier allocation request; In one embodiment, an identifier allocation request transmitted by a user terminal is received. The terminal to be connected to the network can be any terminal device with network connectivity, such as a light bulb, air conditioner, or other smart home device. The identifier allocation request can be a request to the server to generate a node identifier corresponding to the terminal to be connected to the network. The server parses the identifier allocation request to obtain the terminal identifier corresponding to the terminal to be connected to the network in the allocation request. The terminal identifier can be an identifier used to indicate the terminal to be connected to the network, such as the product serial number or authentication code of the terminal to be connected to the network.

[0056] S204. Based on the node identifier generation method of the interactive network, generate the node identifier corresponding to the terminal identifier, and determine the node identifier as the terminal node identifier corresponding to the terminal to be connected to the network. In one embodiment, in response to an identifier allocation request, the server generates a node identifier corresponding to the terminal to be connected to the network, based on the node identifier generation method of the interactive network, and identifies this node identifier as the terminal node identifier corresponding to the terminal to be connected to the network. The terminal node identifier can be used to identify the terminal to be connected to the network within the interactive network. It is understood that the terminal node identifier is unique within the interactive network. The specific method for generating the node identifier can be set according to the actual situation.

[0057] S205, transmit the terminal node identifier to the user terminal so that the user terminal can connect the terminal to be connected to the interactive network based on the terminal node identifier; In one embodiment, the generated terminal node identifier is transmitted to the user terminal, enabling the user terminal to connect the terminal to the network based on the terminal node identifier and according to the terminal connection protocol. The terminal connection protocol can be a protocol used for communication between different terminals, such as the Matter protocol, to achieve seamless collaboration between different terminals across brands and ecosystems.

[0058] S206, Receive configuration parameters transmitted by the user terminal, and transmit the central node identifier to the user terminal so that the user terminal can allocate control permissions of the central device to the terminal to be connected to the network based on the central node identifier; In one embodiment, configuration parameters transmitted by a user terminal are received. These configuration parameters can be obtained by the user terminal through identifying the terminal identification code of the terminal to be connected to the network. The configuration parameters may include the terminal type, serial number, terminal node identifier, IP (Internet Protocol) address, and supported terminal connection protocols of the terminal to be connected to the network. The terminal identification code can be an identifier storing parameters related to network access for the terminal to be connected to the network, such as a two-dimensional barcode. It should be noted that, to facilitate user terminal identification of the terminal identification code, if the terminal identification code is a two-dimensional barcode, it can be affixed to the casing of the terminal to be connected to the network. After receiving the configuration parameters, the server transmits the central node identifier to the user terminal, enabling the user terminal to enter data into the terminal to be connected to the network based on the obtained central node identifier, thereby allocating control permissions for the central device in the terminal to be connected to the network. The central node identifier can be the node identifier corresponding to the central device in the interactive network. The node identifier can be used to uniquely identify a single node in the interactive network. A node can be a uniquely addressable resource unit in the network, encapsulating a set of functions and capabilities to be identified as a complete functional unit. Control permissions can instruct the central device to issue various commands to the terminal to be connected to the network, so as to drive the terminal to respond to the command and perform the corresponding operation, such as the air conditioner responding to the issued command to start or adjust the temperature.

[0059] S207, transmit the terminal node identifier and the terminal type of the terminal to be connected to the network to the central device, so that the central device can bind the terminal to be connected to the network based on the terminal node identifier and the terminal type; In one embodiment, the terminal node identifier and terminal type of the terminal to be connected to the network are transmitted to the central device. This allows the central device to discover the terminal to be connected based on the terminal node identifier, establish a binding relationship with the terminal, and then return a binding result to the server. The terminal type can represent the type of terminal connection protocol supported by the terminal to be connected, so that the central device can discover the terminal to be connected based on the terminal type. The binding result can indicate the binding status between the central device and the terminal to be connected, specifically including successful binding and failed binding, so that the server can determine the subsequent execution content based on the binding result. If the binding result indicates that the central device and the terminal to be connected have successfully bound, it can be considered that the terminal to be connected has completed its online status in the interactive network, and a notification message is sent to the user terminal to inform the user terminal that the terminal to be connected has completed its online status.

[0060] The central device can discover terminals seeking to join the network in the following ways: It determines the network channel used by the terminal based on its type, and then searches within that network channel using the terminal node identifier to discover the terminal. The network channel can be the data transmission channel corresponding to the terminal connection protocol supported by the terminal. For example, if the terminal type is Matterover Wi-Fi, local area network discovery is initiated; if the terminal type is Matterover Thread, it is discovered within the Thread network. Specific settings can be configured according to the actual situation.

[0061] S208, Upon receiving the binding result reported by the central device, if the binding result indicates that the central device has completed the binding with the terminal to be connected to the network, a second notification message is sent to the user terminal. In one embodiment, after receiving the binding result reported by the central device, if the binding result indicates that the central device and the terminal to be connected to the network have been successfully bound, it is determined that the central device can drive the terminal to be connected to the network to execute various instructions through the interactive network. Therefore, the terminal to be connected to the network can be considered to be online in the switching network, and a second notification message is generated. The second notification message is used to indicate that the terminal to be connected to the network is online.

[0062] For example, such as Figure 4As shown, the steps for controlling the online connection of a terminal to be added to the network can be as follows: The user terminal transmits the configuration parameters of the terminal to be added to the network to the server to report the new terminal. The server transmits the central node identifier to the user terminal to prompt the user terminal to add control permissions for the terminal to be added to the network. The user terminal assigns control permissions to the central device on the terminal to be added to the network based on the central node identifier. The server transmits the terminal node identifier and terminal type of the terminal to be added to the central device. The central device discovers and connects to the terminal to be added to the network based on the terminal node identifier and terminal type, transmits a subscription request to the terminal to be added to the network, and establishes a binding relationship with the terminal to be added to the network. After the binding relationship is established, the central device generates and transmits reporting data to the server. The server transmits a second notification message to the user terminal based on the binding result of the reported data to inform the user terminal that the terminal to be added to the network has completed its online connection.

[0063] Furthermore, if the central device fails to bind with the terminal to be connected to the network, it is considered that although the terminal to be connected to the network has accessed the interactive network, the central device cannot monitor the operating status of the terminal to be connected to the network, nor can it drive the terminal to be connected to the network through the interactive network. Therefore, it can be considered that the terminal to be connected to the network has not gone online in the interactive network.

[0064] Furthermore, besides using the methods described above to connect the terminal to the interactive network and put it online, another feasible approach is to obtain the terminal node identifier and configuration parameters of the terminal to be connected, transmitted from the user terminal. The terminal node identifier and configuration parameters are then transmitted to the central device, enabling the central device to control the terminal's network access based on these parameters. If the central device reports successful network access and online status from the terminal, a second notification is sent to the user terminal. This method allows the central device to directly control the terminal's network access, avoiding version issues with the application used for device management on the user terminal and compatibility issues with the user terminal's operating system. However, this method, by eliminating many steps, has limitations in stability and reliability. The specific method used to control the terminal's network access and online status can be configured according to the actual situation.

[0065] Optionally, one feasible approach is to use the first method as the default. If the number of times the terminal fails to join the network and go online exceeds the preset number when using the first method, then the second method should be selected. The specific settings can be configured according to the actual situation.

[0066] In the embodiments described in this specification, a unique interactive network is used to assign node identifiers to the central device and the terminals to be connected to the network. After the user terminal connects the terminal to the interactive network, the central device binds the terminal to the network based on its terminal node identifier, completing the terminal's online connection. This centralized management via the unique interactive network reduces the execution steps and waiting time for each terminal during the network connection process, thereby improving the efficiency and stability of the terminal's network connection and online connection. Furthermore, by simplifying the process of the terminal connecting to the interactive network and binding the terminal to control its online connection, the central device directly controls the terminal's network connection, avoiding version issues of the application used for device management on the user terminal and compatibility issues of the user terminal's operating system.

[0067] Please see Figure 5 This is a flowchart illustrating a device management method provided in an embodiment of this specification. Figure 5 As shown, this method is applied to a user terminal and may include the following steps S301-S303.

[0068] S301, transmit an identifier allocation request to the server, obtain the terminal node identifier corresponding to the terminal to be connected to the network, and connect the terminal to be connected to the interactive network based on the terminal node identifier; In one embodiment, when a user terminal receives a user-triggered operation to connect to a terminal to be connected to the network, it generates an identifier allocation request and transmits the request to the server. The user terminal can be a terminal device used to trigger the connection of the terminal to be connected to the interactive network and go online, such as a smartphone or tablet. The terminal to be connected can be any terminal device with network connectivity, such as a light bulb or air conditioner (smart home device). The identifier allocation request can be a request to the server to generate a node identifier corresponding to the terminal to be connected. After obtaining the terminal node identifier returned by the server, the terminal to be connected is connected to the interactive network based on the terminal node identifier. The terminal node identifier is used to identify the terminal to be connected in the interactive network. It is understood that the terminal node identifier is unique within the interactive network. The interactive network can be a unique interactive network in the target space where the terminal to be connected is located, a local area network that connects various terminal devices and enables data communication between them, such as a fabric network or a mash network. The target space can be the physical space where the terminal to be connected is located, such as a living room or office.

[0069] S302, transmit the configuration parameters of the terminal to be connected to the network to the server and obtain the central node identifier; In one embodiment, configuration parameters corresponding to the terminal to be connected to the network are obtained by identifying the terminal identification code of the terminal to be connected to the network. The configuration parameters can be obtained by identifying the terminal identification code of the terminal to be connected to the network. The configuration parameters can include the terminal type, serial number, terminal node identifier, IP (Internet Protocol) address, supported terminal connection protocols, etc., of the terminal to be connected to the network. The terminal identification code can be an identification code storing network access-related parameters of the terminal to be connected to the network, such as a two-dimensional barcode. It should be noted that, to facilitate user terminal identification of the terminal identification code, if the terminal identification code is a two-dimensional barcode, it can be affixed to the casing of the terminal to be connected to the network. The configuration parameters are transmitted to the server to obtain the central node identifier returned by the server. The central node identifier can be the node identifier corresponding to the central device in the interactive network.

[0070] S303: Based on the central node identifier, the central device is assigned management permissions to the terminal to be connected to the network, so that the central device is bound to the terminal to be connected to the network and the terminal to be connected to the network is put online. In one embodiment, based on the acquired central node identifier, the central node identifier is written into the control list of the terminal to be connected to the network, so as to allocate management permissions of the central device to the terminal to be connected to the network. The control list can be a list including terminals with management permissions such as controlling or driving the terminal to be connected to the network. After receiving the terminal node identifier transmitted by the server, the central device establishes a binding relationship with the terminal to be connected to the network to complete the online connection of the terminal to be connected to the network. If a second notification message is received from the server, it is determined that the terminal to be connected to the network has completed the online connection. The second notification message is used to indicate that the terminal to be connected to the network has gone online.

[0071] In the embodiments of this specification, by obtaining the unique allocation node identifier of the terminal to be connected to the network from the server, the terminal to be connected to the network is connected to the network. Then, the central device binds the terminal to be connected to the network according to the terminal node identifier of the terminal to be connected to the network, thereby completing the online connection of the terminal to be connected to the network. In this way, through the centralized management of the unique interactive network, the execution steps and waiting time of each terminal in the network access process are reduced, thereby improving the efficiency and stability of the terminal to be connected to the network and going online.

[0072] Please see Figure 6 This is a flowchart illustrating a device management method provided in an embodiment of this specification. Figure 6 As shown, this method is applied to a user terminal and may include the following steps S401-S407.

[0073] S401, in response to the triggered network access command, sends a first query request for network information to the server and obtains the network information returned by the server; In one embodiment, in response to a network access command triggered when a user performs a network access operation on their terminal, a unique interactive network in the target space where the user terminal is located is determined. If no interactive network is detected, a first query request for network information of the interactive network is generated. The first query request can be a request to the server to obtain network information. The network information can be attribute information corresponding to a unique interactive network. The first query request is transmitted to the server to obtain the network information corresponding to the interactive network returned by the server.

[0074] It should be noted that if an interactive network is detected in response to a network access command, the user terminal has already stored the network information of the interactive network. Therefore, there is no need to obtain data from the server through the first query request, and subsequent steps can be executed directly.

[0075] For example, such as Figure 7 As shown, the steps for a user terminal to obtain network information can be as follows: the user determines the interactive network in the target space; if no interactive network exists, the user generates and transmits a first query request for network information of the interactive network to the server; if the server determines that an interactive network exists, it determines the network information of the interactive network; if no interactive network exists, the server generates an interactive network, determines the network information of the interactive network, and transmits the network information to the user terminal.

[0076] S402, connect the central device to the interactive network so that the central device can obtain the central node identifier from the server; In one embodiment, the device identifier of the central device is obtained, and the central device is connected to the interactive network based on the device identifier, so that the central device can obtain the corresponding central node identifier in the server. The device identifier can be an identifier used to indicate the terminal to be connected to the network, such as the product serial number or authentication code of the central device. The central device can be a device with central functions such as issuing instructions to other terminals, such as a smart speaker, smart home hub, or mobile phone. The central node identifier can be the node identifier corresponding to the central device in the interactive network. The method by which the central device obtains the central node identifier can refer to the relevant content in step S103 or step S202, and will not be repeated here.

[0077] S403, identify the terminal identification code of the terminal to be connected to the network and obtain the terminal parameters of the terminal to be connected to the network; In one embodiment, the terminal identification code of the terminal to be connected to the network is identified using the image recognition function of the user terminal, and the terminal parameters of the terminal to be connected to the network are obtained. The terminal parameters can be those of the user terminal, specifically including parameters such as manufacturer identifier, product identifier, password, authentication code, network configuration operation method, and terminal type. The network configuration operation method can be the method used to instruct the terminal to be connected to the network to establish a connection. The terminal type can be the type of terminal connection protocol supported by the terminal to be connected to the network, so that the central device can discover the terminal to be connected to the network based on the terminal type. The terminal type can be Matter over Wi-Fi or Matter over Thread.

[0078] Optionally, in addition to recognizing the terminal identification code through image recognition, another feasible way to obtain terminal parameters is to enter the pairing code corresponding to the terminal to be added to the network in the terminal addition interface, so as to obtain the terminal parameters of the terminal to be added to the network based on the pairing code. The specific method of obtaining terminal parameters can be set according to the actual situation.

[0079] S404, Generate an identifier allocation request, transmit the identifier allocation request to the server, and obtain the terminal node identifier of the terminal to be connected to the network returned by the server. In one embodiment, when a user terminal receives a user-triggered operation to connect to a terminal to be connected to the network, it generates an identifier allocation request based on terminal parameters and transmits the identifier allocation request to the server. The user terminal can be a terminal device used to trigger the terminal to be connected to the network and go online, such as a smartphone or tablet. The terminal to be connected to the network can be any terminal device with network connectivity, such as a light bulb, air conditioner, or other smart home device. The identifier allocation request can be a request to the server to generate a node identifier corresponding to the terminal to be connected to the network.

[0080] S405 connects the terminal to the interactive network based on the terminal node identifier and the terminal connection protocol. In one embodiment, after the user terminal obtains the terminal node identifier returned by the server, it establishes a connection between the terminal to be connected to the network and the interactive network based on the terminal node identifier and the terminal connection protocol, thereby enabling the terminal to be connected to the interactive network. The terminal connection protocol can be a protocol used to connect terminals in the interactive network, such as the Matter protocol, to achieve seamless collaboration between different terminals across brands and ecosystems.

[0081] For example, such as Figure 8As shown, the steps for a user terminal to connect a terminal to the interactive network can be as follows: the user terminal identifies the terminal identification code of the terminal to be connected, obtains the terminal parameters of the terminal to be connected, generates and transmits an identifier allocation request based on the terminal parameters, the server responds to the identifier allocation request by allocating a terminal node identifier for the terminal to be connected, transmits the terminal node identifier to the user terminal, and the user terminal connects the terminal to the interactive network based on the terminal node identifier.

[0082] S406 transmits the configuration parameters of the terminal to be connected to the network to the server and obtains the central node identifier; In one embodiment, configuration parameters corresponding to the terminal to be connected to the network are obtained by identifying the terminal identification code of the terminal to be connected to the network. The configuration parameters can be obtained by identifying the terminal identification code of the terminal to be connected to the network. The configuration parameters can include the terminal type, serial number, terminal node identifier, IP (Internet Protocol) address, supported terminal connection protocols, etc., of the terminal to be connected to the network. The terminal identification code can be an identification code storing network access-related parameters of the terminal to be connected to the network, such as a two-dimensional barcode. It should be noted that, to facilitate user terminal identification of the terminal identification code, if the terminal identification code is a two-dimensional barcode, it can be affixed to the casing of the terminal to be connected to the network. The configuration parameters are transmitted to the server to obtain the central node identifier returned by the server. The central node identifier can be the node identifier corresponding to the central device in the interactive network.

[0083] S407 transmits the central node identifier to the terminal to be connected to the network, so as to write the central node identifier into the control list of the terminal to be connected to the network, so that the central device binds to the terminal to be connected to the network and completes the online connection of the terminal to be connected to the network. In one embodiment, based on the acquired central node identifier, the central node identifier is written into the control list of the terminal to be connected to the network, so as to allocate management permissions of the central device to the terminal to be connected to the network. The control list can be a list including terminals with management permissions such as controlling or driving the terminal to be connected to the network. After receiving the terminal node identifier transmitted by the server, the central device establishes a binding relationship with the terminal to be connected to the network to complete the online connection of the terminal to be connected to the network. If a second notification message is received from the server, it is determined that the terminal to be connected to the network has completed the online connection. The second notification message is used to indicate that the terminal to be connected to the network has gone online.

[0084] Furthermore, after the terminal to be connected to the network completes its online setup, the user can issue control commands to the central device from an area outside the target space via the server, and then the central device will control the terminal to be connected to the network to execute the control commands. For example, in the subway, the user issues a command to the central device via the server to turn on the air conditioner, and the central device responds to the command and controls the air conditioner (the terminal to be connected to the network) to start.

[0085] In the embodiments of this specification, by obtaining a unique allocation node identifier for the terminal to be connected to the network from the server, and after the terminal is connected to the network, the central device binds the terminal to be connected to the network based on its terminal node identifier, thus completing the terminal's online status. This centralized management via a unique network reduces the execution steps and waiting time for each terminal during the network connection process, thereby improving the efficiency and stability of the terminal's network connection and online status. Furthermore, before connecting the terminal to the network and going online, network information is obtained from the server in advance, and the central device is connected to the network, further improving the efficiency and stability of the terminal's network connection.

[0086] Please see Figure 9 This is a flowchart illustrating a device management method provided in an embodiment of this specification. Figure 9 As shown, the method is applied to a central device and may include the following steps S501-S502.

[0087] S501: Obtain the terminal node identifier and terminal type transmitted by the server, discover the terminal to be connected to the network based on the terminal node identifier and terminal type, and subscribe to the terminal attribute data of the terminal to be connected to the network. In one embodiment, the server obtains the terminal node identifier and terminal type transmitted to the central device to upload the terminal to be connected to the interactive network. The terminal node identifier is used to identify the terminal to be connected in the interactive network, which is a unique interactive network in the target space where the terminal to be connected is located. The network channel is determined based on the terminal type, and the terminal to be connected is found within the network channel by searching according to the terminal node identifier. The network channel can be the data transmission channel corresponding to the terminal connection protocol supported by the terminal to be connected. For example, if the terminal type is Matter over Wi-Fi, local area network discovery is initiated; if the terminal type is Matter over Thread, it is discovered in the Thread network. After discovering the terminal to be connected, a subscription request is transmitted to the terminal to subscribe to the terminal attribute data of the terminal to be connected. The terminal attribute data can include data corresponding to the subscription status and subscription scope included in the subscription request, such as subscription package identifier, terminal running status, subscription mode, etc. The subscription packet identifier can be used to identify the terminal attribute data reported by the terminal to be connected to the network. For example, if the terminal attribute data is an ACK (Acknowledge character) packet, then the subscription packet identifier can be the data packet identifier of the ACK packet. The terminal operating status can be a parameter representing the state of the terminal during its operation, such as the terminal's operating status, temperature, and battery level. The subscription mode can be a parameter representing the method by which the terminal to be connected to the network reports terminal attribute data to the central device, such as real-time reporting, periodic reporting, or reporting upon change.

[0088] S502, If a binding relationship is established with the terminal to be connected to the network, a binding result indicating the online status of the terminal to be connected to the network is generated, and the binding result is reported to the server. In one embodiment, after the central device discovers a terminal to be connected to the network and subscribes to the terminal attribute data of the terminal to be connected to the network, it can be considered that the central device and the terminal to be connected to the network have established a binding relationship. The central device generates a binding result indicating whether the terminal to be connected to the network has gone online, and reports the binding result to the server. The binding result indicates that the terminal to be connected to the network has completed its online status. After the server determines that the terminal to be connected to the network is online, it sends a second notification message to the user terminal to inform the user that the user can control the terminal to be connected to the network through the central device.

[0089] In the embodiments of this specification, a terminal to be joined to the network is discovered through a unique interactive network based on the terminal node identifier and terminal type, and the terminal attribute data of the terminal to be joined to the network is subscribed to in order to establish a binding relationship with the terminal to be joined to complete the online connection of the terminal to be joined to the network. In this way, the centralized management of the unique interactive network reduces the execution steps and waiting time of each terminal in the network joining process, thereby improving the efficiency and stability of the terminal to be joined to the network and go online.

[0090] Please see Figure 10 This is a flowchart illustrating a device management method provided in an embodiment of this specification. Figure 10 As shown, this method is applied to a central device and may include the following steps S601-S607.

[0091] S601, in response to the user terminal triggering the operation of accessing the interactive network, a second query request for network information of the interactive network is generated; In one embodiment, upon receiving an operation triggered by a user terminal to connect the central device to the interactive network, a second query request for network information targeting the interactive network is generated after connection. The network information can be attribute information unique to the interactive network. The interactive network can be a local area network (LAN) within the target space set by the user terminal, connecting various terminal devices and enabling data communication between them; for example, it could be a fabric network or a mash network. The target space can be the physical space where the terminal to be connected is located, such as a living room or office. The second query request can be a request transmitted to the server to obtain network information and the central node identifier.

[0092] S602, transmit the second query request to the server and obtain the network information and central node identifier returned by the server; In one embodiment, a second query request is transmitted to the server to obtain network information corresponding to the interactive network returned by the server, as well as a central node identifier used to identify the central device in the interactive network. The specific method by which the server determines and sends the network information and the central node identifier can be found in step S202, and will not be elaborated here.

[0093] S603, generate reporting data characterizing the central capabilities of the central device, and transmit the reporting data to the server; In one embodiment, after obtaining the central node identifier, a determination is made based on network information to determine whether the device supports acting as a central device in the corresponding interactive network. Reported data characterizing the central device's central capabilities is generated and transmitted to the server, enabling the server to mark the central device as having central capabilities. Central capabilities can be terminal control capabilities characterizing whether the central device supports terminal connection protocols. The reported data can include the central device's central capabilities and the central node identifier.

[0094] It should be noted that if the central device determines, based on network information, that it has the capability to perform central functions in the interactive network, it will generate and report data. If the central device determines that it does not have central functions in the interactive network, it will not generate a report. If the server does not receive the reported data within a certain period of time, it can be assumed that the central device does not support terminal control of the terminal connection protocol. The server will then mark the central device as a regular device that is not a central device and cancel the central permissions of the central node identifier, or revoke the central node identifier. The specific settings can be configured according to the actual situation.

[0095] Optionally, when the central device determines that it does not have central functions, it can also generate and report a prompt message to the server. The prompt message is used to inform the server that the central device does not have central capabilities. The specific settings can be configured according to the actual situation.

[0096] For example, such as Figure 11 As shown, the steps for the central device to obtain the central node identifier are as follows: After the user terminal connects the central device to the interactive network, the central device generates and transmits a second query request to the server. The server assigns a central node identifier to the central device and transmits the central node identifier and network information to the central device. The central device generates reporting data based on the network information and transmits the reporting data to the server. The server records the central function in the reporting data and prompts the central device and the user terminal to complete the addition.

[0097] S604, obtain the terminal node identifier and terminal type transmitted by the server; S605, determine the network channel corresponding to the terminal type, perform terminal search in the network channel based on the terminal node identifier, and find the terminal to be joined to the network corresponding to the terminal node identifier. In one embodiment, the server obtains the terminal node identifier and terminal type transmitted to the central device to upload the terminal to be connected to the interactive network. The terminal node identifier is used to identify the terminal to be connected in the interactive network, which is a unique interactive network in the target space where the terminal to be connected is located. The central device determines the network channel based on the terminal type, and searches for the terminal to be connected in the network channel according to the terminal node identifier. The network channel can be the data transmission channel corresponding to the terminal connection protocol supported by the terminal to be connected. For example, if the terminal type is Matter over Wi-Fi, local area network discovery is initiated; if the terminal type is Matter over Thread, it is discovered in the Thread network.

[0098] Furthermore, if no terminal to be added to the network is found within the preset discovery time, it can be assumed that the terminal to be added to the network has not accessed the interactive network. Since the network cannot be discovered, a notification message is sent to the server indicating that the terminal to be added to the network has not been found and the binding of the terminal to the network has failed. The preset discovery time can be used to limit the time spent by the central device in discovering the terminal to be added to the network, avoiding excessively long discovery times, reducing unnecessary time waste, and thus improving the efficiency of the terminal to be added to the network.

[0099] S606, transmit a subscription request to the terminal to be connected to the network and establish a binding relationship with the terminal to be connected to the network, so as to obtain the terminal status transmitted by the terminal to be connected to the network every first preset time interval; In one embodiment, after discovering a terminal to be added to the network, the central device transmits a subscription request to the terminal to subscribe to the terminal's attribute data to establish a binding relationship with the terminal. This allows the central device to acquire the terminal status transmitted by the terminal to be added to the network every first preset time interval. The first preset time interval can be the interval at which the terminal to be added to the network transmits terminal attribute data, including the terminal status, to the central device. The specific time interval can be set according to actual conditions, for example, it can be 5 seconds.

[0100] Terminal attribute data can include data corresponding to the subscription status and subscription scope included in the subscription request, such as subscription packet identifier, terminal operating status, and subscription mode. The subscription packet identifier can be used to identify the terminal attribute data reported by the terminal to be connected to the network. For example, if the terminal attribute data is an ACK (Acknowledge character) packet, then the subscription packet identifier can be the data packet identifier of the ACK packet. The terminal operating status can be parameters characterizing the status of the terminal to be connected to the network during operation, such as the terminal's operating status, temperature, and battery level. The subscription mode can be a method characterizing how the terminal to be connected to the network reports terminal attribute data to the central device, such as real-time reporting, periodic reporting, and reporting upon change.

[0101] S607, If a binding relationship is established with the terminal to be connected to the network, a binding result indicating the online status of the terminal to be connected to the network is generated, and the binding result is reported to the server. In one embodiment, after the central device discovers a terminal to be connected to the network and subscribes to the terminal attribute data of the terminal to be connected to the network, it can be considered that the central device and the terminal to be connected to the network have established a binding relationship. The central device generates a binding result indicating whether the terminal to be connected to the network has gone online, and reports the binding result to the server. The binding result indicates that the terminal to be connected to the network has completed its online status. After the server determines that the terminal to be connected to the network is online, it sends a second notification message to the user terminal to inform the user that the user can control the terminal to be connected to the network through the central device.

[0102] Furthermore, if no terminal status information is received from the terminal to be connected within the second preset time period, it is determined that the connection with the terminal to be connected is lost, and the process proceeds to step S605 and subsequent steps to re-establish the binding relationship with the terminal to be connected. The second preset time period is used to determine the duration for which the terminal to be connected is disconnected from the central device. The second preset time period is longer than the first preset time period, and the specific value of the second preset time period can be set according to actual conditions. For example, if the first preset time period is 5 seconds, then the second preset time period can be 10 seconds.

[0103] It should be noted that since the central device has stored the terminal node identifiers of the terminals to be connected to the network, the central device can determine the terminal node identifiers that have not transmitted the terminal status in the stored identifier list, and find the terminals to be connected to the network based on the terminal node identifiers and the terminal types corresponding to the terminal node identifiers.

[0104] In the embodiments of this specification, a terminal to be added to the network is discovered through a unique interactive network based on the terminal node identifier and terminal type. The terminal attribute data of the terminal to be added is subscribed to to establish a binding relationship with it, completing the online connection of the terminal. This centralized management through the unique interactive network reduces the execution steps and waiting time for each terminal during the network access process, thereby improving the efficiency and stability of the terminal's network access and online connection. Furthermore, before discovering and binding a terminal to be added to the network, network information and the central node identifier are obtained from the server in advance, further improving the efficiency and stability of the terminal's access to the interactive network. Moreover, if a bound terminal to be added to the network is found to be disconnected, the terminal to be added to the network is rediscovered and bound based on the terminal node identifier and terminal type. This reduces the execution steps required to establish a binding relationship with the terminal to be added to the network due to disconnection or other reasons, improving the efficiency of terminal reconnection and response to emergencies, thereby improving the stability of the central device binding the terminal to the network.

[0105] based on Figure 1 The system architecture shown below will be combined with... Figures 12-17 This specification provides a detailed description of the device management apparatus provided in the embodiments. It should be noted that... Figures 12-17 The device management device in this specification is used to execute the embodiments. Figures 2 to 11 The methods shown in the embodiments are illustrated for ease of explanation, showing only the parts related to the embodiments of this specification. For specific technical details not disclosed, please refer to the embodiments of this specification. Figures 2 to 11 The example shown.

[0106] Please see Figure 12 This is a schematic diagram of the structure of a device management apparatus provided in an embodiment of this specification. Figure 12 As shown, the device management device 1 in the embodiments of this specification may include: an identification acquisition unit 11, a first terminal network access unit 12, a first central identification transmission unit 13, and a first terminal online unit 14.

[0107] The identifier acquisition unit 11 is used to generate a terminal node identifier corresponding to the terminal to be connected to the network in response to the identifier allocation request transmitted by the user terminal. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network. The interactive network is a unique interactive network in the target space where the terminal to be connected to the network is located. The first terminal network access unit 12 is used to transmit the terminal node identifier to the user terminal so that the user terminal can access the interactive network based on the terminal node identifier. The first central identifier transmission unit 13 is used to receive configuration parameters transmitted by the user terminal and transmit the central node identifier to the user terminal so that the user terminal can allocate control permissions of the central device in the terminal to be connected to the network based on the central node identifier. The configuration parameters are obtained by the user terminal by identifying the terminal identification code of the terminal to be connected to the network. The first terminal online unit 14 is used to transmit the terminal node identifier to the central device so that the central device can bind the terminal to be connected to the network based on the terminal node identifier and complete the online connection of the terminal to be connected to the network.

[0108] Optional, such as Figure 13 As shown, the equipment management device 1 also includes: Information transmission unit 15 is used to receive a first query request for network information transmitted by a user terminal, and transmit the network information to the user terminal. The network information is attribute information corresponding to a unique interactive network. The second central identifier transmission unit 16 is used to respond to a second query request for network information transmitted by the central device, transmit the network information and the central node identifier to the central device, and record the central capabilities reported by the central device.

[0109] Optionally, the information transmission unit 15 is also used for: Receive a first query request for network information transmitted by a user terminal, and query the network information of the interactive network corresponding to the target space based on the target space in the first query request; If network information already exists in the interactive network, then the network information will be transmitted to the user terminal; If no interactive network exists, an interactive network is generated, and the network information corresponding to the interactive network is transmitted to the user terminal.

[0110] Optionally, the second central identifier transmission unit 16 is also used for: In response to the second query request for network information transmitted by the central device, a central node identifier corresponding to the central device is generated; Transmit network information and central node identifiers to the central device so that the central device can report its central capabilities. If the central capability reported by the central device is received, the central capability of the central device is recorded, and the first notification information is transmitted to the user terminal. The first notification information is used to indicate that the central device has completed network access.

[0111] Optionally, the identifier acquisition unit 11 is also used for: In response to the identifier allocation request for the terminal to be connected to the network transmitted by the user terminal, the terminal identifier of the terminal to be connected to the network is obtained from the identifier allocation request; Based on the node identifier generation method of the interactive network, a node identifier corresponding to the terminal identifier is generated, and the node identifier is determined as the terminal node identifier corresponding to the terminal to be connected to the network.

[0112] Optionally, the first terminal online unit 14 is also used for: In response to the identifier allocation request for the terminal to be connected to the network transmitted by the user terminal, the terminal identifier of the terminal to be connected to the network is obtained from the identifier allocation request; Based on the node identifier generation method of the interactive network, a node identifier corresponding to the terminal identifier is generated, and the node identifier is determined as the terminal node identifier corresponding to the terminal to be connected to the network.

[0113] Optionally, the device management device 1 further includes a quick-connect unit 17 for: Obtain the terminal node identifier and configuration parameters of the terminal to be connected to the network transmitted by the user terminal; The terminal node identifier and configuration parameters are transmitted to the central device, so that the central device can control the terminal to be connected to the network based on the configuration parameters and the terminal node identifier. If the central device reports that the terminal to be added to the network has successfully joined the network and gone online, a second notification message is sent to the user terminal.

[0114] In the embodiments described in this specification, a unique interactive network is used to assign node identifiers to the central device and the terminals to be connected to the network. After the user terminal connects the terminal to the interactive network, the central device binds the terminal to the network based on its terminal node identifier, completing the terminal's online connection. This centralized management via the unique interactive network reduces the execution steps and waiting time for each terminal during the network connection process, thereby improving the efficiency and stability of the terminal's network connection and online connection. Furthermore, by simplifying the process of the terminal connecting to the interactive network and binding the terminal to control its online connection, the central device directly controls the terminal's network connection, avoiding version issues of the application used for device management on the user terminal and compatibility issues of the user terminal's operating system.

[0115] Please see Figure 14 This is a schematic diagram of the structure of a device management apparatus provided in an embodiment of this specification. Figure 14 As shown, the device management device 2 in the embodiments of this specification may include: a second terminal network access unit 21, a central identifier acquisition unit 22, and a second terminal online unit 23.

[0116] The second terminal network access unit 21 is used to transmit an identifier allocation request to the server, obtain the terminal node identifier corresponding to the terminal to be networked, and connect the terminal to be networked to the interactive network based on the terminal node identifier. The terminal node identifier is used to identify the terminal to be networked in the interactive network. The interactive network is the only interactive network in the target space where the terminal to be networked is located. The central identifier acquisition unit 22 is used to transmit the configuration parameters of the terminal to be connected to the network to the server and acquire the central node identifier. The configuration parameters are obtained by identifying the terminal identification code of the terminal to be connected to the network. The second terminal online unit 23 is used to allocate management permissions of the central device to the terminal to be connected to the network based on the central node identifier, so as to bind the central device to the terminal to be connected to the network and complete the online connection of the terminal to be connected to the network.

[0117] Optional, such as Figure 15 As shown, the equipment management device 2 also includes: The information query unit 24 is used to respond to the triggered network access command, send a first query request for network information to the server, and obtain the network information returned by the server. The network information is the attribute information corresponding to the unique interactive network. The device access unit 25 is used to connect the central device to the interactive network so that the central device can obtain the central node identifier from the server.

[0118] Optionally, the information query unit 24 is also used for: In response to the network access command, determine the unique interactive network in the target space where the user terminal is located; Generate a first query request for network information of the interactive network, transmit the first query request to the server, and obtain the network information returned by the server.

[0119] Optionally, the second terminal network access unit 21 is also used for: Identify the terminal identification code of the terminal to be connected to the network and obtain the terminal parameters of the terminal to be connected to the network; Generate an identifier allocation request, transmit the identifier allocation request to the server, and obtain the terminal node identifier of the terminal to be connected to the network returned by the server; Based on the terminal node identifier and the terminal connection protocol, the terminal to be connected to the network is connected to the interactive network. The terminal connection protocol is a protocol used to connect terminals in the interactive network.

[0120] Optionally, the second terminal online unit 23 is also used for: The central node identifier is transmitted to the terminal to be connected to the network, so that the central node identifier is written into the control list of the terminal to be connected to the network, so that the central device binds to the terminal to be connected to the network and completes the online connection of the terminal to be connected to the network.

[0121] In the embodiments of this specification, by obtaining a unique allocation node identifier for the terminal to be connected to the network from the server, and after the terminal is connected to the network, the central device binds the terminal to be connected to the network based on its terminal node identifier, thus completing the terminal's online status. This centralized management via a unique network reduces the execution steps and waiting time for each terminal during the network connection process, thereby improving the efficiency and stability of the terminal's network connection and online status. Furthermore, before connecting the terminal to the network and going online, network information is obtained from the server in advance, and the central device is connected to the network, further improving the efficiency and stability of the terminal's network connection.

[0122] Please see Figure 16 This is a schematic diagram of the structure of a device management apparatus provided in an embodiment of this specification. Figure 16 As shown, the device management device 3 in the embodiments of this specification may include: a terminal binding unit 31 and a result reporting unit 32.

[0123] The terminal binding unit 31 is used to obtain the terminal node identifier and terminal type transmitted by the server, discover the terminal to be connected to the network based on the terminal node identifier and terminal type, and subscribe to the terminal attribute data of the terminal to be connected to the network. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network. The interactive network is a unique interactive network in the target space where the terminal to be connected to the network is located. The result reporting unit 32 is used to generate a binding result indicating the online status of the terminal to be connected to the network if a binding relationship is established with the terminal to be connected to the network, and to report the binding result to the server. The binding result indicates that the terminal to be connected to the network has completed the online process.

[0124] Optional, such as Figure 17 As shown, the equipment management device 3 also includes: The request generation unit 33 is used to generate a second query request for network information of the interactive network in response to the user terminal triggering the operation of accessing the interactive network; Information acquisition unit 34 is used to transmit the second query request to the server and acquire the network information and central node identifier returned by the server; Capability reporting unit 35 is used to generate reporting data that characterizes the central capabilities of the central equipment and transmit the reporting data to the server.

[0125] Optionally, the terminal binding unit 31 is also used for: Obtain the terminal node identifier and terminal type transmitted by the server; Determine the network channel corresponding to the terminal type, and perform terminal search in the network channel based on the terminal node identifier to find the terminal to be joined to the network corresponding to the terminal node identifier. Send a subscription request to the terminal to be connected to the network and establish a binding relationship with the terminal to be connected to the network so that the terminal status transmitted by the terminal to be connected to the network can be obtained every first preset time interval.

[0126] Optionally, the device management device 3 further includes a terminal reconnection unit 36, used for: If no terminal status is received from the terminal to be connected to the network within the second preset time period, the connection with the terminal to be connected to the network is determined to be disconnected, and the process proceeds to the step of determining the network channel corresponding to the terminal type. The second preset time period is longer than the first preset time period.

[0127] In the embodiments of this specification, a terminal to be added to the network is discovered through a unique interactive network based on the terminal node identifier and terminal type. The terminal attribute data of the terminal to be added is subscribed to to establish a binding relationship with it, completing the online connection of the terminal. This centralized management through the unique interactive network reduces the execution steps and waiting time for each terminal during the network access process, thereby improving the efficiency and stability of the terminal's network access and online connection. Furthermore, before discovering and binding a terminal to be added to the network, network information and the central node identifier are obtained from the server in advance, further improving the efficiency and stability of the terminal's access to the interactive network. Moreover, if a bound terminal to be added to the network is found to be disconnected, the terminal to be added to the network is rediscovered and bound based on the terminal node identifier and terminal type. This reduces the execution steps required to establish a binding relationship with the terminal to be added to the network due to disconnection or other reasons, improving the efficiency of terminal reconnection and response to emergencies, thereby improving the stability of the central device binding the terminal to the network.

[0128] This specification also provides a computer storage medium that can store multiple program instructions, which are adapted to be loaded and executed by a processor as described above. Figures 1-11 The method steps of the illustrated embodiment can be found in the following documentation for detailed execution. Figures 1-11 The specific details of the illustrated embodiments will not be elaborated here.

[0129] This specification also provides an embodiment of a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by a processor as described above. Figures 1-11 The method steps of the illustrated embodiment can be found in the following documentation for detailed execution. Figures 1-11 The specific details of the illustrated embodiments will not be elaborated here.

[0130] Please see Figure 18 This document provides a schematic diagram of the structure of an electronic device as an embodiment of the present specification. Figure 18As shown, the electronic device 1000 may include: at least one processor 1001, such as a CPU; at least one network interface 1004; an input / output interface 1003; a memory 1005; and at least one communication bus 1002. The communication bus 1002 is used to enable communication between these components. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as at least one disk drive. Figure 18 As shown, the memory 1004, which serves as a computer storage medium, may include an operating system, an input / output interface module, and a device management application.

[0131] exist Figure 18 In the electronic device 1000 shown, the input / output interface 1003 is mainly used to provide an input interface for the user and to obtain the user input data.

[0132] In one embodiment, the processor 1001 can be used to invoke a device management application stored in the memory 1004, and specifically perform the following operations: In response to the identifier allocation request transmitted by the user terminal, a terminal node identifier corresponding to the terminal to be connected to the network is generated. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network. The interactive network is a unique interactive network in the target space where the terminal to be connected to the network is located. The terminal node identifier is transmitted to the user terminal so that the user terminal can connect the terminal to be connected to the interactive network based on the terminal node identifier. The configuration parameters transmitted by the user terminal are received, and the central node identifier is transmitted to the user terminal so that the user terminal can allocate control permissions of the central device to the terminal to be connected to the network based on the central node identifier. The configuration parameters are obtained by the user terminal by identifying the terminal identification code of the terminal to be connected to the network. Transmit the terminal node identifier to the central device so that the central device can bind the terminal to be connected to the network based on the terminal node identifier and complete the online connection of the terminal to be connected to the network.

[0133] Optionally, before executing the identifier allocation request transmitted in response to the user terminal, the processor 1001 also performs the following operations: Receive the first query request for network information transmitted by the user terminal, and transmit the network information to the user terminal. The network information is the attribute information corresponding to the unique interactive network. In response to a second query request for network information transmitted by the central device, the network information and the central node identifier are transmitted to the central device, and the central capabilities reported by the central device are recorded.

[0134] Optionally, when the processor 1001 executes the first query request for network information transmitted from the user terminal and transmits the network information to the user terminal, it specifically performs the following operations: Receive a first query request for network information transmitted by a user terminal, and query the network information of the interactive network corresponding to the target space based on the target space in the first query request; If network information already exists in the interactive network, then the network information will be transmitted to the user terminal; If no interactive network exists, an interactive network is generated, and the network information corresponding to the interactive network is transmitted to the user terminal.

[0135] Optionally, when the processor 1001 executes the second query request for network information in response to the transmission of the central device, transmits the network information and the central node identifier to the central device, and records the central capabilities reported by the central device, it specifically performs the following operations: In response to the second query request for network information transmitted by the central device, a central node identifier corresponding to the central device is generated; Transmit network information and central node identifiers to the central device so that the central device can report its central capabilities. If the central capability reported by the central device is received, the central capability of the central device is recorded, and the first notification information is transmitted to the user terminal. The first notification information is used to indicate that the central device has completed network access.

[0136] Optionally, when the processor 1001 generates the terminal node identifier corresponding to the terminal to be connected to the network in response to the identifier allocation request transmitted by the user terminal, it specifically performs the following operations: In response to the identifier allocation request for the terminal to be connected to the network transmitted by the user terminal, the terminal identifier of the terminal to be connected to the network is obtained from the identifier allocation request; Based on the node identifier generation method of the interactive network, a node identifier corresponding to the terminal identifier is generated, and the node identifier is determined as the terminal node identifier corresponding to the terminal to be connected to the network.

[0137] Optionally, when the processor 1001 transmits the terminal node identifier to the central device so that the central device binds the terminal to be connected to the network based on the terminal node identifier and completes the online connection of the terminal to be connected to the network, the processor 1001 specifically performs the following operations: Transmit the terminal node identifier and the terminal type of the terminal to be connected to the network to the central device, so that the central device can bind the terminal to be connected to the network based on the terminal node identifier and the terminal type; Upon receiving the binding result reported by the central device, if the binding result indicates that the central device has completed the binding with the terminal to be connected to the network, a second notification message is sent to the user terminal. The second notification message is used to instruct the terminal to be connected to the network to go online.

[0138] Optionally, the processor 1001 also performs the following operations: Obtain the terminal node identifier and configuration parameters of the terminal to be connected to the network transmitted by the user terminal; The terminal node identifier and configuration parameters are transmitted to the central device, so that the central device can control the terminal to be connected to the network based on the configuration parameters and the terminal node identifier. If the central device reports that the terminal to be added to the network has successfully joined the network and gone online, a second notification message is sent to the user terminal.

[0139] In the embodiments described in this specification, a unique interactive network is used to assign node identifiers to the central device and the terminals to be connected to the network. After the user terminal connects the terminal to the interactive network, the central device binds the terminal to the network based on its terminal node identifier, completing the terminal's online connection. This centralized management via the unique interactive network reduces the execution steps and waiting time for each terminal during the network connection process, thereby improving the efficiency and stability of the terminal's network connection and online connection. Furthermore, by simplifying the process of the terminal connecting to the interactive network and binding the terminal to control its online connection, the central device directly controls the terminal's network connection, avoiding version issues of the application used for device management on the user terminal and compatibility issues of the user terminal's operating system.

[0140] Please see Figure 19 This document provides a schematic diagram of the structure of an electronic device as an embodiment of the present specification. Figure 19 As shown, the electronic device 2000 may include: at least one processor 2001, such as a CPU; at least one network interface 2004; an input / output interface 2003; a memory 2005; and at least one communication bus 2002. The communication bus 2002 is used to implement communication between these components. The network interface 2004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 2005 may be high-speed RAM or non-volatile memory, such as at least one disk storage device. Figure 19 As shown, the memory 2004, which is a computer storage medium, may include an operating system, an input / output interface module, and a device management application.

[0141] exist Figure 19 In the electronic device 2000 shown, the input / output interface 2003 is mainly used to provide an input interface for the user and to obtain the user input data.

[0142] In one embodiment, the processor 2001 can be used to invoke a device management application stored in the memory 2004, and specifically perform the following operations: Transmit an identifier allocation request to the server to obtain the terminal node identifier corresponding to the terminal to be connected to the network, and connect the terminal to be connected to the interactive network based on the terminal node identifier. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network. The interactive network is a unique interactive network in the target space where the terminal to be connected is located. The configuration parameters of the terminal to be connected to the network are transmitted to the server, and the central node identifier is obtained. The configuration parameters are obtained by identifying the terminal identification code of the terminal to be connected to the network. Based on the central node identifier, the central device's management permissions are assigned to the terminal to be connected to the network, so that the central device is bound to the terminal to be connected to the network, and the terminal to be connected to the network is put online.

[0143] Optionally, before executing the request to transmit the identifier allocation to the server, the processor 2001 also performs the following operations: In response to the triggered network entry command, a first query request for network information is sent to the server to obtain the network information returned by the server. The network information is the attribute information corresponding to the unique interactive network. Connect the central device to the interactive network so that the central device can obtain the central node identifier from the server.

[0144] Optionally, when the processor 2001 executes the first query request for network information sent to the server in response to the triggered network entry command and obtains the network information returned by the server, it specifically performs the following operations: In response to the network access command, determine the unique interactive network in the target space where the user terminal is located; Generate a first query request for network information of the interactive network, transmit the first query request to the server, and obtain the network information returned by the server.

[0145] Optionally, when the processor 2001 executes the request to transmit the identifier allocation to the server, obtains the terminal node identifier corresponding to the terminal to be connected to the network, and connects the terminal to be connected to the interactive network based on the terminal node identifier, it specifically performs the following operations: Identify the terminal identification code of the terminal to be connected to the network and obtain the terminal parameters of the terminal to be connected to the network; Generate an identifier allocation request, transmit the identifier allocation request to the server, and obtain the terminal node identifier of the terminal to be connected to the network returned by the server; Based on the terminal node identifier and the terminal connection protocol, the terminal to be connected to the network is connected to the interactive network. The terminal connection protocol is a protocol used to connect terminals in the interactive network.

[0146] Optionally, when the processor 2001 assigns management permissions for the central device to the terminal to be connected to the network based on the central node identifier, so as to bind the central device to the terminal to be connected to the network and complete the online connection of the terminal to be connected to the network, the processor 2001 specifically performs the following operations: The central node identifier is transmitted to the terminal to be connected to the network, so that the central node identifier is written into the control list of the terminal to be connected to the network, so that the central device binds to the terminal to be connected to the network and completes the online connection of the terminal to be connected to the network.

[0147] In the embodiments of this specification, by obtaining a unique allocation node identifier for the terminal to be connected to the network from the server, and after the terminal is connected to the network, the central device binds the terminal to be connected to the network based on its terminal node identifier, thus completing the terminal's online status. This centralized management via a unique network reduces the execution steps and waiting time for each terminal during the network connection process, thereby improving the efficiency and stability of the terminal's network connection and online status. Furthermore, before connecting the terminal to the network and going online, network information is obtained from the server in advance, and the central device is connected to the network, further improving the efficiency and stability of the terminal's network connection.

[0148] Please see Figure 20 This document provides a schematic diagram of the structure of an electronic device as an embodiment of the present specification. Figure 20 As shown, the electronic device 3000 may include: at least one processor 3001, such as a CPU; at least one network interface 3004; an input / output interface 3003; a memory 3005; and at least one communication bus 3002. The communication bus 3002 is used to implement communication between these components. The network interface 3004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 3005 may be high-speed RAM or non-volatile memory, such as at least one disk storage device. Figure 20 As shown, the memory 3004, which serves as a computer storage medium, may include an operating system, an input / output interface module, and a device management application.

[0149] exist Figure 20 In the electronic device 3000 shown, the input / output interface 3003 is mainly used to provide an input interface for the user and to obtain the user input data.

[0150] In one embodiment, the processor 3001 can be used to invoke a device management application stored in the memory 3004, and specifically perform the following operations: Obtain the terminal node identifier and terminal type transmitted by the server, discover the terminal to be connected to the network based on the terminal node identifier and terminal type, and subscribe to the terminal attribute data of the terminal to be connected to the network. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network. The interactive network is a unique interactive network in the target space where the terminal to be connected to the network is located. If a binding relationship is established with a terminal to be connected to the network, a binding result indicating the online status of the terminal to be connected to the network is generated, and the binding result is reported to the server. The binding result indicates that the terminal to be connected to the network has completed the online process.

[0151] Optionally, before executing the process of obtaining the terminal node identifier and terminal type transmitted by the server, the processor 3001 also performs the following operations: In response to a user terminal triggering an operation to access the interactive network, a second query request for network information of the interactive network is generated. The second query request is transmitted to the server to obtain the network information and central node identifier returned by the server. Generate reporting data characterizing the central capabilities of the central devices and transmit the reporting data to the server.

[0152] Optionally, when the processor 3001 performs the following operations: obtaining the terminal node identifier and terminal type transmitted by the server, discovering the terminal to be joined to the network based on the terminal node identifier and terminal type, and subscribing to the terminal attribute data of the terminal to be joined to the network: Obtain the terminal node identifier and terminal type transmitted by the server; Determine the network channel corresponding to the terminal type, and perform terminal search in the network channel based on the terminal node identifier to find the terminal to be joined to the network corresponding to the terminal node identifier. Send a subscription request to the terminal to be connected to the network and establish a binding relationship with the terminal to be connected to the network so that the terminal status transmitted by the terminal to be connected to the network can be obtained every first preset time interval.

[0153] Optionally, processor 3001 also performs the following operations: If no terminal status is received from the terminal to be connected to the network within the second preset time period, the connection with the terminal to be connected to the network is determined to be disconnected, and the process proceeds to the step of determining the network channel corresponding to the terminal type. The second preset time period is longer than the first preset time period.

[0154] In the embodiments of this specification, a terminal to be added to the network is discovered through a unique interactive network based on the terminal node identifier and terminal type. The terminal attribute data of the terminal to be added is subscribed to to establish a binding relationship with it, completing the online connection of the terminal. This centralized management through the unique interactive network reduces the execution steps and waiting time for each terminal during the network access process, thereby improving the efficiency and stability of the terminal's network access and online connection. Furthermore, before discovering and binding a terminal to be added to the network, network information and the central node identifier are obtained from the server in advance, further improving the efficiency and stability of the terminal's access to the interactive network. Moreover, if a bound terminal to be added to the network is found to be disconnected, the terminal to be added to the network is rediscovered and bound based on the terminal node identifier and terminal type. This reduces the execution steps required to establish a binding relationship with the terminal to be added to the network due to disconnection or other reasons, improving the efficiency of terminal reconnection and response to emergencies, thereby improving the stability of the central device binding the terminal to the network.

[0155] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0156] The above-disclosed embodiments are merely preferred embodiments of this specification and should not be construed as limiting the scope of this specification. Therefore, any equivalent variations made in accordance with the claims of this specification shall still fall within the scope of this specification.

Claims

1. A method for managing equipment, characterized in that, The method is applied to the server side, and the method includes: In response to the identifier allocation request transmitted by the user terminal, a terminal node identifier corresponding to the terminal to be connected to the network is generated. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network, which is a unique interactive network in the target space where the terminal to be connected to the network is located. The terminal node identifier is transmitted to the user terminal, so that the user terminal can connect the terminal to be connected to the interactive network based on the terminal node identifier; The configuration parameters transmitted by the user terminal are received, and the central node identifier is transmitted to the user terminal so that the user terminal can allocate control permissions of the central device to the terminal to be connected to the network based on the central node identifier. The configuration parameters are obtained by the user terminal by recognizing the terminal identification code of the terminal to be connected to the network. The terminal node identifier is transmitted to the central device so that the central device binds the terminal to be connected to the network based on the terminal node identifier, thereby completing the online connection of the terminal to be connected to the network.

2. The method according to claim 1, characterized in that, Prior to responding to the identifier allocation request transmitted by the user terminal, the method further includes: Receive a first query request for network information transmitted from a user terminal, and transmit the network information to the user terminal. The network information is attribute information corresponding to a unique interactive network. In response to a second query request for the network information transmitted by the central device, the network information and the central node identifier are transmitted to the central device, and the central capabilities reported by the central device are recorded.

3. The method according to claim 2, characterized in that, The step of receiving a first query request for network information transmitted from a user terminal and transmitting the network information to the user terminal includes: Receive a first query request for network information transmitted by a user terminal, and query the network information of the interactive network corresponding to the target space based on the target space in the first query request; If network information for the interactive network already exists, then the network information is transmitted to the user terminal; If no interactive network exists, an interactive network is generated, and the network information corresponding to the interactive network is transmitted to the user terminal.

4. The method according to claim 2, characterized in that, In response to a second query request for network information transmitted by the central device, the network information and the central node identifier are transmitted to the central device, and the central capabilities reported by the central device are recorded, including: In response to a second query request for network information transmitted by the central device, a central node identifier corresponding to the central device is generated; The network information and the central node identifier are transmitted to the central device so that the central device can report its central capabilities. If the central capability reported by the central device is received, the central capability of the central device is recorded, and a first notification information is transmitted to the user terminal. The first notification information is used to indicate that the central device has completed network access.

5. The method according to claim 1, characterized in that, The step of generating a terminal node identifier corresponding to the terminal to be connected to the network in response to the identifier allocation request transmitted by the user terminal includes: In response to an identifier allocation request for a terminal to be connected to the network transmitted by a user terminal, the terminal identifier of the terminal to be connected to the network is obtained from the identifier allocation request; Based on the node identifier generation method of the interactive network, a node identifier corresponding to the terminal identifier is generated, and the node identifier is determined as the terminal node identifier corresponding to the terminal to be connected to the network.

6. The method according to claim 1, characterized in that, The step of transmitting the terminal node identifier to the central device, so that the central device binds the terminal to be connected to the network based on the terminal node identifier and completes the online connection of the terminal to be connected to the network, includes: The central device transmits the terminal node identifier and the terminal type of the terminal to be connected to the network to the central device, so that the central device binds the terminal to be connected to the network based on the terminal node identifier and the terminal type; Upon receiving the binding result reported by the central device, if the binding result indicates that the central device has completed the binding with the terminal to be connected to the network, a second notification message is sent to the user terminal. The second notification message is used to instruct the terminal to be connected to the network to go online.

7. The method according to claim 1, characterized in that, The method further includes: Obtain the terminal node identifier and configuration parameters of the terminal to be connected to the network transmitted by the user terminal; The terminal node identifier and the configuration parameters are transmitted to the central device, so that the central device controls the terminal to be connected to the network to access the network based on the configuration parameters and the terminal node identifier; If the central device receives a report from the user terminal indicating that the terminal to be connected to the network has successfully joined the network and gone online, then a second notification message is sent to the user terminal.

8. A method for managing equipment, characterized in that, The method is applied to a user terminal, and the method includes: A request for identifier allocation is transmitted to the server to obtain the terminal node identifier corresponding to the terminal to be connected to the network. Based on the terminal node identifier, the terminal to be connected to the network is connected to the interactive network. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network. The interactive network is a unique interactive network in the target space where the terminal to be connected is located. The configuration parameters of the terminal to be connected to the network are transmitted to the server, and the central node identifier is obtained. The configuration parameters are obtained by identifying the terminal identification code of the terminal to be connected to the network. Based on the central node identifier, the central device is assigned management permissions to the terminal to be connected to the network, so that the central device is bound to the terminal to be connected to the network, and the terminal to be connected to the network is put online.

9. The method according to claim 8, characterized in that, Before transmitting the identifier allocation request to the server, the process also includes: In response to the triggered network access command, a first query request for network information is sent to the server to obtain the network information returned by the server, wherein the network information is attribute information corresponding to a unique interactive network; The central device is connected to the interactive network so that the central device can obtain the central node identifier from the server.

10. The method according to claim 9, characterized in that, In response to the triggered network access command, a first query request for network information is sent to the server to obtain the network information returned by the server, including: In response to the network access command, determine the unique interactive network in the target space where the user terminal is located; Generate a first query request for network information of the interactive network, transmit the first query request to the server, and obtain the network information returned by the server.

11. The method according to claim 8, characterized in that, The step of transmitting an identifier allocation request to the server, obtaining the terminal node identifier corresponding to the terminal to be connected to the network, and connecting the terminal to be connected to the network based on the terminal node identifier includes: Identify the terminal identification code of the terminal to be connected to the network, and obtain the terminal parameters of the terminal to be connected to the network; Generate an identifier allocation request, transmit the identifier allocation request to the server, and obtain the terminal node identifier of the terminal to be connected to the network returned by the server; Based on the terminal node identifier and the terminal connection protocol, the terminal to be connected to the network is connected to the interactive network, wherein the terminal connection protocol is a protocol used to connect terminals in the interactive network.

12. The method according to claim 8, characterized in that, The step of allocating management permissions for the central device to the terminal to be connected to the network based on the central node identifier, so that the central device binds to the terminal to be connected to the network and completes the online connection of the terminal to be connected to the network, includes: The central node identifier is transmitted to the terminal to be connected to the network, so that the central node identifier is written into the control list of the terminal to be connected to the network, so that the central device binds to the terminal to be connected to the network and completes the online connection of the terminal to be connected to the network.

13. A method for managing equipment, characterized in that, The method is applied to a central nervous system, and the method includes: The terminal node identifier and terminal type transmitted by the server are obtained. Based on the terminal node identifier and terminal type, the terminal to be connected to the network is discovered. The terminal attribute data of the terminal to be connected to the network is subscribed. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network. The interactive network is a unique interactive network in the target space where the terminal to be connected to the network is located. If a binding relationship is established with the terminal to be connected to the network, a binding result indicating the online status of the terminal to be connected to the network is generated, and the binding result is reported to the server. The binding result indicates that the terminal to be connected to the network has completed the online process.

14. The method according to claim 13, characterized in that, Before obtaining the terminal node identifier and terminal type transmitted by the server, the method further includes: In response to a user terminal triggering an operation to access the interactive network, a second query request for network information of the interactive network is generated. The second query request is transmitted to the server to obtain the network information and central node identifier returned by the server. Generate reporting data characterizing the central capabilities of the central device, and transmit the reporting data to the server.

15. The method according to claim 13, characterized in that, The steps of obtaining the terminal node identifier and terminal type transmitted by the server, discovering the terminal to be connected to the network based on the terminal node identifier and terminal type, and subscribing to the terminal attribute data of the terminal to be connected to the network include: Obtain the terminal node identifier and terminal type transmitted by the server; Determine the network channel corresponding to the terminal type, perform terminal search in the network channel based on the terminal node identifier, and find the terminal to be connected to the network corresponding to the terminal node identifier. A subscription request is transmitted to the terminal to be connected to the network, and a binding relationship is established with the terminal to be connected to the network, so that the terminal status transmitted by the terminal to be connected to the network is obtained every first preset time interval.

16. The method according to claim 15, characterized in that, The method further includes: If the terminal status transmitted by the terminal to be connected to the network is not received within the second preset time period, it is determined that the connection with the terminal to be connected to the network is disconnected, and the process proceeds to the step of determining the network channel corresponding to the terminal type. The second preset time period is longer than the first preset time period.

17. An equipment management device, characterized in that, The device includes: The identifier acquisition unit is used to generate a terminal node identifier corresponding to the terminal to be connected to the network in response to the identifier allocation request transmitted by the user terminal. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network, and the interactive network is a unique interactive network in the target space where the terminal to be connected to the network is located. The first terminal network access unit is used to transmit the terminal node identifier to the user terminal, so that the user terminal can access the terminal to be networked into the interactive network based on the terminal node identifier. The first central node identifier transmission unit is used to receive configuration parameters transmitted by the user terminal and transmit the central node identifier to the user terminal so that the user terminal can allocate control permissions of the central device to the terminal to be connected to the network based on the central node identifier. The configuration parameters are obtained by the user terminal by recognizing the terminal identification code of the terminal to be connected to the network. The first terminal online unit is used to transmit the terminal node identifier to the central device, so that the central device binds the terminal to be connected to the network based on the terminal node identifier and completes the online connection of the terminal to be connected to the network.

18. An equipment management device, characterized in that, The device includes: The second terminal access unit is used to transmit an identifier allocation request to the server, obtain the terminal node identifier corresponding to the terminal to be accessed, and access the terminal to be accessed to the interactive network based on the terminal node identifier. The terminal node identifier is used to identify the terminal to be accessed in the interactive network, and the interactive network is a unique interactive network in the target space where the terminal to be accessed is located. The central identifier acquisition unit is used to transmit the configuration parameters of the terminal to be connected to the network to the server and acquire the central node identifier. The configuration parameters are obtained by identifying the terminal identification code of the terminal to be connected to the network. The second terminal online unit is used to allocate management permissions of the central device to the terminal to be connected to the network based on the central node identifier, so that the central device binds to the terminal to be connected to the network and completes the online connection of the terminal to be connected to the network.

19. An equipment management device, characterized in that, The device includes: The terminal discovery unit is used to obtain the terminal node identifier and terminal type transmitted by the server, discover the terminal to be connected to the network based on the terminal node identifier and the terminal type, and subscribe to the terminal attribute data of the terminal to be connected to the network. The terminal node identifier is used to identify the terminal to be connected to the network in the interactive network, and the interactive network is a unique interactive network in the target space where the terminal to be connected to the network is located. The terminal binding unit is used to generate a binding result indicating the online status of the terminal to be connected to the network if a binding relationship is established with the terminal to be connected to the network, and to report the binding result to the server. The binding result indicates that the terminal to be connected to the network has completed the online process.

20. A computer storage medium storing a plurality of instructions adapted for loading by a processor and performing the steps of the method as claimed in any one of claims 1 to 16.

21. An electronic device, comprising: A processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the steps of the method as claimed in any one of claims 1 to 16.

22. A computer program product comprising: A computer program, when executed by a processor of an electronic device, causes the processor to perform the steps of the method as described in any one of claims 1 to 16.

Citation Information

Patent Citations

  • Intelligent-refrigerator-based networking and control mode and system, and intelligent refrigerator

    CN107592245A

  • Intelligent equipment network access method and device, , network access method and device, equipment, system, and medium

    CN110868748A

  • Equipment management method and device and intelligent terminal

    CN114007212A

  • Admission control method, system and device of IPv6 (Internet Protocol Version 6) network and terminal equipment

    CN118802387A