WO2021134562A1 - Configuration device replacement method and apparatus, device, and storage medium - Google Patents

Configuration device replacement method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2021134562A1
WO2021134562A1 PCT/CN2019/130713 CN2019130713W WO2021134562A1 WO 2021134562 A1 WO2021134562 A1 WO 2021134562A1 CN 2019130713 W CN2019130713 W CN 2019130713W WO 2021134562 A1 WO2021134562 A1 WO 2021134562A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
information
configuration device
resource
iot
Prior art date
Application number
PCT/CN2019/130713
Other languages
French (fr)
Chinese (zh)
Inventor
吕小强
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN201980102305.4A priority Critical patent/CN114667720A/en
Priority to PCT/CN2019/130713 priority patent/WO2021134562A1/en
Publication of WO2021134562A1 publication Critical patent/WO2021134562A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Definitions

  • This application relates to the technical field of the Internet of Things, and in particular to a method, device, device, and storage medium for replacing configuration equipment.
  • IoT Internet of Things, Internet of Things
  • devices can be managed by configuring devices.
  • the configuration device sets the owner attribute of the IoT device to the device identification of the configuration device, thereby associating the IoT device with the user. Identifies the user attributes of the IoT device. Then, the configuration device configures the resource information of the IoT device. After the above configuration, the IoT device joins the security domain where the configuration device is located, and only devices in a security domain can communicate with each other.
  • the embodiments of the present application provide a configuration device replacement method, device, device, and storage medium, which can simplify the operation of replacing the configuration device for the IoT device, and improve the efficiency of replacing the configuration device.
  • the technical solution is as follows:
  • a configuration device replacement method which is applied to a first configuration device, and the method includes:
  • the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the information when the second configuration device configures the IoT device Generated resource content;
  • a configuration device replacement method which is applied to a cloud platform, and the method includes:
  • configuration information of a second configuration device where the configuration information includes a device identifier and resource information of the second configuration device, and the resource information includes resource content generated when the second configuration device configures an IoT device;
  • a configuration device replacement method which is applied to a second configuration device, and the method includes:
  • the configuration information includes the device identification and resource information of the second configuration device, and the resource information includes the information when the second configuration device configures the IoT device.
  • Generated resource content
  • a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  • a configuration device replacement device which is applied to a first configuration device, and the device includes:
  • the information acquisition module is configured to acquire the configuration information backed up by the second configuration device on the cloud platform.
  • the configuration information includes the device identification and resource information of the second configuration device, and the resource information includes the configuration of the second configuration device. Resource content generated by IoT devices;
  • the self-configuration module is configured to use the configuration information to perform self-configuration, wherein the first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device.
  • a configuration device replacement device which is applied to a cloud platform, and the device includes:
  • the information receiving module is configured to receive configuration information of a second configuration device, where the configuration information includes the device identification and resource information of the second configuration device, and the resource information includes when the second configuration device configures an IoT device The generated resource content;
  • An information storage module for backup and storage of the configuration information
  • the information sending module is configured to send the configuration information to a first configuration device, wherein the first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  • a configuration device replacement device which is applied to a second configuration device, and the device includes:
  • An information sending module configured to send configuration information of the second configuration device to the cloud platform, the configuration information including the device identification and resource information of the second configuration device, and the resource information including the configuration of the second configuration device Resource content generated by IoT devices;
  • a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  • a configuration device in another aspect, includes a processor, a memory, and a transceiver;
  • the transceiver is configured to obtain configuration information backed up by a second configuration device on a cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices;
  • the processor is configured to use the configuration information to perform self-configuration, wherein the first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device.
  • a cloud platform in another aspect, includes a processor, a memory, and a transceiver;
  • the transceiver is configured to receive configuration information of a second configuration device, where the configuration information includes the device identification and resource information of the second configuration device, and the resource information includes the second configuration device configuring an IoT device Resource content generated at the time;
  • the processor is configured to back up and save the configuration information
  • the transceiver is further configured to send the configuration information to a first configuration device, wherein the first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device .
  • a configuration device in another aspect, includes a processor, a memory, and a transceiver;
  • the transceiver is configured to send configuration information of the second configuration device to a cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices;
  • a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  • a computer-readable storage medium is provided, and a computer program is stored in the storage medium, and the computer program is configured to be executed by a processor to implement the above-mentioned configuration device replacement method.
  • a computer-readable storage medium is provided, and a computer program is stored in the storage medium, and the computer program is configured to be executed by a processor to implement the above-mentioned configuration device replacement method.
  • a computer-readable storage medium is provided, and a computer program is stored in the storage medium, and the computer program is configured to be executed by a processor to implement the above-mentioned configuration device replacement method.
  • the device manages the IoT device. Compared with the related technology, the IoT device needs to be reset to the factory settings, and then the new configuration device is used to configure the above-mentioned IoT device after the factory setting is restored, so that the new configuration device can control the IoT device.
  • This application only needs the new configuration device to obtain the configuration information of the original configuration device from the cloud platform and perform self-configuration according to the configuration information, so that the new configuration device can manage the IoT device, thereby simplifying the operation of replacing the configuration device for the IoT device , Improve the efficiency of replacing configuration equipment.
  • Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application.
  • FIG. 2 is a flowchart of a method for replacing a configuration device provided by an embodiment of the present application
  • FIG. 3 is a flowchart of a method for replacing a configuration device provided by another embodiment of the present application.
  • FIG. 4 is a flowchart of a method for replacing a configuration device provided by another embodiment of the present application.
  • FIG. 5 is a flowchart of a method for replacing a configuration device provided by another embodiment of the present application.
  • Fig. 6 is a block diagram of a configuration device replacement device provided by an embodiment of the present application.
  • FIG. 7 is a block diagram of a configuration device replacement device provided by another embodiment of the present application.
  • FIG. 8 is a block diagram of a configuration device replacement apparatus provided by another embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a configuration device provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a cloud platform provided by an embodiment of the present application.
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an embodiment of the present application.
  • the implementation environment may include: an IoT device 11, a first configuration device 12, a second configuration device 13, and a cloud platform 14.
  • IoT device 11 refers to a device with network access capabilities.
  • IoT device 11 can be a smart home device, such as smart TV, smart speaker, smart air conditioner, smart light, smart door and window, smart curtain, smart socket, etc.;
  • IoT devices 11 can be smart buses, shared bicycles, smart traffic lights, etc.; in energy and environmental protection scenarios, IoT devices 11 can be smart water meters, smart manhole covers, smart trash cans, etc.; in medical scenarios, IoT The device 11 may be a smart medical wearable device, etc.; in other application scenarios, the IoT device may be other devices with network access capabilities, and the number of IoT devices may be one or multiple. This is the case in the embodiment of this application. Not limited.
  • the first configuration device 12 refers to a device used to manage the IoT device 11.
  • the first configuration device may be referred to as a first OBT (Onboarding Tool, configuration tool) device, that is, the first OBT device has an OBT function.
  • the first OBT device may be a terminal.
  • the terminal may be a smart phone, a tablet computer, a PC (Personal Computer, personal computer), a smart multimedia device, a smart wearable device, and the like.
  • the second configuration device 13 refers to another configuration device different from the first configuration device 12, and the second configuration device 13 can also be used to manage the IoT device 11.
  • the second configuration device 13 may be referred to as a second OBT device, that is, the second OBT device also has an OBT function.
  • the second OBT device may be a terminal, for example, the terminal may be a smart phone, a tablet, a PC, a smart multi-hi media device, a smart wearable device, and so on.
  • the OBT function is a functional module in the terminal APP (application, application).
  • the functional module is to configure a new IoT device so that the new IoT device can be added to the security domain where the OBT device is located and can be used by the same security domain. Device access.
  • the OBT function and the APP are integrated, but not all terminal APPs in the same security domain have the OBT function.
  • the OBT device in this application specifically refers to the device where the APP with the OBT function is located.
  • the configuration device is mainly an OBT device as an example for introduction and description, but the embodiments of the present application should not be limited.
  • the cloud platform 14 refers to a platform for storing configuration information, and the cloud platform 14 may be a cloud server, a server, or a server cluster.
  • the first configuration device 12 may communicate with the cloud platform 14 through a wired or wireless network
  • the second configuration device 13 may communicate with the cloud platform 14 through a wired or wireless network.
  • the first configuration device 12 may communicate with the IoT device 11 through a wireless or wired network, and the second configuration device 13 may also communicate with the IoT device 11 through a wireless or wired network.
  • the second configuration device 13 may also be referred to as an original configuration device or an original OBT device (original OBT device), and the first configuration device 12 may also be referred to as a new configuration device or a new OBT device (new OBT device).
  • the second configuration device 13 can manage the IoT device 11. When the second configuration device 13 is lost, damaged or replaced, the first configuration device 12 can replace the second configuration device 13 to manage the IoT device 11.
  • the first configuration device 12 may be the mobile phone 1 used by the user
  • the second configuration device 13 may be the mobile phone 2 used by the user
  • the IoT device 11 may include smart lights, smart TVs, etc. Smart home equipment.
  • FIG. 2 shows a flowchart of a configuration device replacement method provided by an embodiment of the present application.
  • the method can be applied to the implementation environment shown in Fig. 1, and the method can include the following steps:
  • Step 201 The second configuration device sends configuration information of the second configuration device to the cloud platform.
  • the configuration information includes the device identification and resource information of the second configuration device.
  • the device ID of the second configuration device is used to uniquely identify the second configuration device, and the device ID can also be expressed as a device ID (DI, device ID).
  • the resource information includes resource content generated when the second configuration device configures the IoT device.
  • the IoT device refers to a device managed by the second configuration device, that is, the IoT device is a device belonging to the security domain where the second configuration device is located.
  • a security domain refers to a network or system that has the same security protection requirements, mutual trust, and the same security access control box boundary control strategy in the same environment. Devices in the same security zone can communicate with each other.
  • the resource content of the IoT device includes at least one of the following: a credential (Credential, Cred) resource of the IoT device, an access permission resource of the IoT device, and a DOTS (Device Owner Transfer Service) resource.
  • the credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices. After other devices determine that the IoT device is legal based on the credential resources, the connection with the IoT device is established.
  • the access authority resource of the IoT device is used by the IoT device to control access to other devices, and the access authority resource may be an ACL (Access Control List, access control list) resource.
  • the DOTS resource of the IoT device is used to record the owner credentials of the IoT device.
  • DOTS resources can be expressed as /oic/sec/dots/subjects resources.
  • the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and access authority resources of the second configuration device.
  • the credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with other devices. After the other device determines that the second configuration device is legal according to the credential resources, the connection with the second configuration device is established.
  • the access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  • the second configuration device generates its own device identification and resource information in a self-onboarding process.
  • the resource information includes resource content of the IoT device and resource content of the second configuration device.
  • the credential resource of the IoT device can include the identity credential information of the IoT device
  • the credential resource of the second configuration device can include the identity credential information of the second configuration device
  • the identity credential information can include any of the following: keys, tokens, certificates, Password, PIN (Personal Identification Number, personal identification number) code.
  • the IoT device can use the ACL resource to determine whether to permit the operation of the second configuration device.
  • a specific resource is used to indicate the status or function of the IoT device.
  • a specific resource can be the switch state of the IoT device.
  • the IoT device determines it according to the ACL resource Whether to allow the second configuration device to obtain its own switch state.
  • the second configuration device backs up the device identification and resources generated in the self-configuration process on the cloud platform.
  • the cloud platform receives the configuration information of the second configuration device.
  • Step 202 The cloud platform backs up and saves the configuration information.
  • the cloud platform After the cloud platform receives the configuration information sent by the second configuration device, it backs up and saves the configuration information.
  • the embodiment of the present application does not limit the storage address of the cloud platform for backing up and storing the configuration information.
  • Step 203 The first configuration device obtains the configuration information backed up on the cloud platform by the second configuration device.
  • the first configuration device can obtain the configuration information of the second configuration device from the cloud platform.
  • Step 204 The first configuration device uses the configuration information to perform self-configuration, where the first configuration device that has completed the self-configuration replaces the second configuration device to manage the IoT device.
  • the IoT device that originally belonged to the security domain where the second configuration device is located is switched to the security domain where the first configuration device is located.
  • the switching between configuration devices can be completed, so that the first configuration device inherits all configuration information of the second configuration device, so that regardless of the loss, damage, or replacement of the second configuration device, the ability and configuration information of the second configuration device can be completed.
  • Transmission thereby ensuring the long-term stability of the Internet of Things system, eliminating the drawbacks described in related technologies.
  • the configuration information backed up by the second configuration device (the original configuration device) on the cloud platform is obtained through the first configuration device (new configuration device), and the configuration information is used to perform Self-configuration, the first configuration device that completes the self-configuration replaces the second configuration device to manage IoT devices.
  • the IoT device needs to be reset to factory settings, and then the new configuration device is used to restore the above-mentioned IoT devices to the factory settings. Perform configuration so that the newly configured device can control the IoT device.
  • the newly configured device only needs to obtain the configuration information of the original configured device from the cloud platform, and perform self-configuration according to the configuration information, so that the newly configured device can realize the IoT device.
  • the equipment is managed, which simplifies the operation of replacing the configuration device for the IoT device, and improves the efficiency of replacing the configuration device.
  • the technical solution provided by the embodiments of the present application can realize the smooth handover between the newly configured device and the original configured device, so that the newly configured device has the configuration and capabilities of the original configured device, and does not affect other devices that have joined the security domain.
  • FIG. 3 shows a flowchart of a configuration device replacement method provided by another embodiment of the present application.
  • the method can be applied to the implementation environment shown in Fig. 1, and the method can include the following steps:
  • Step 301 The second configuration device sends configuration information of the second configuration device to the cloud platform.
  • the second configuration device also needs to back up and store the user account corresponding to the second configuration device in the cloud platform.
  • the second configuration device sends an information backup request to the cloud platform.
  • the information backup request is completed by requesting to operate a specified type of resource on the cloud platform, and the information backup request includes configuration information.
  • the information backup request further includes a user account corresponding to the identifier of the second configuration device.
  • the specified type resource may be a predefined resource. By operating the specified type resource, it is indicated that the second configuration device needs to back up the configuration information on the cloud platform.
  • Specified type resources can be expressed as oic/sec/credbackup type resources. The oic/sec/credbackup type resource needs to save the device identification and resource content of the second configuration device, as well as the resource content of the IoT device that it configures.
  • the cloud platform receives the configuration information of the second configuration device.
  • Step 302 The cloud platform backs up and saves the configuration information.
  • the cloud platform needs to save the device identification and resource information of the second configuration device.
  • the cloud platform can save the device identification and resource information of the second configuration device in the oic/sec/credbackup type resource, and save the owner credential of the IoT device in /oic/sec/dots/subjects/[deviceID]/cred , Where deviceID refers to the device identification of the IoT device, which is used to uniquely identify the IoT device.
  • the cloud platform may also store the device identification and resource information of the second configuration device in other resources, which is not limited in the embodiment of the present application.
  • the second configuration device sends the user account and configuration information to the cloud platform together. At this time, the cloud platform saves the configuration information corresponding to the user account, and the configuration information under the same user account can be stored under the same resource address.
  • the second configuration device may subsequently configure a new IoT device, so that the new IoT device joins the security domain where the second configuration device is located. At this time, the second configuration device needs to continue to back up the resource information generated by the configuration of the new IoT device, including credential resources, access authority resources, and DOTS resources of the new IoT device.
  • Step 303 The first configuration device logs in a user account corresponding to the device identification of the second configuration device.
  • the user may use another new configuration device (the first configuration device).
  • the user logs in his user account on the first configuration device, and the user account may be a user account that the user logs in on the second configuration device.
  • the user account corresponding to the device identifier of the second configuration device refers to the account of the APP to which the OBT function belongs, and the OBT function is only a function embedded in the APP.
  • the cloud platform perceives that the user has logged in, but the logged-in device is not the second configuration device.
  • Step 304 When the first parameter in the first resource is set, the first configuration device uses the user account to send an information acquisition request to the cloud platform.
  • the information acquisition request is a request for the first configuration device to obtain configuration information
  • the first resource may be a predefined resource
  • the first parameter is used to indicate whether to restore configuration information backed up by other configuration devices.
  • the first resource may be a /pstat (provisioning state) resource
  • the first parameter may be an onboardreplace parameter under the /pstat resource.
  • the /pstat resource is used to indicate the state migration (for example, the configuration completion phase, the normal work phase migration) or the supported certificate mode.
  • the information acquisition request includes a user account.
  • the user selects the "Replace OBT" mode.
  • the specific implementation is that the first configuration device adds an onboardreplace parameter to the /pstat resource (used to identify whether to restore the data of the previous configuration device (Such as the configuration information of the second configuration device)). If the onboardreplace parameter of the /pstat resource in the first configuration device is set, it means that the first configuration device needs to restore the backup data (content in the credreplace resource) of the second configuration device.
  • setting the onboardreplace parameter to "1" means restoring the configuration information backed up by the second configuration device
  • setting the onboardreplace parameter to "0" means not restoring the configuration information backed up by the second configuration device.
  • the first configuration device cannot access and control the IoT device before self-configuration is completed, but it has the ability to access the cloud platform.
  • the cloud platform receives the information acquisition request sent by the first configuration device.
  • Step 305 The cloud platform obtains the configuration information backed up and saved by the second configuration device according to the user account.
  • the cloud platform may determine the storage address of the configuration information according to the user account, so as to obtain the configuration information of the second configuration device from the aforementioned storage address.
  • Step 306 The cloud platform sends configuration information to the first configuration device.
  • the first configuration device receives the configuration information sent by the cloud platform.
  • Step 307 The first configuration device uses the configuration information to perform self-configuration; wherein, the first configuration device that has completed the self-configuration replaces the second configuration device to manage the IoT device.
  • the first configuration device may perform self-configuration in the following manner: set the device identification of the second configuration device as the device identification of the first configuration device; copy the resource information to the corresponding resources of the first configuration device.
  • the first configuration device sets its own device ID as the device ID of the second configuration device.
  • This setting includes the device ID (Device UUID, Device UUID, and Device) in the /doxm (device owner transfer method, device user transfer method) resource ID is a meaning) and /d (discoverable device information) resource (/d resource describes the specific information of the device for other devices to discover itself) device identification, and /cred, /pstat in the first configuration device ,
  • the rowneruuid (the ID of the resource owner) in /acl2 is set as the device identification of the second configuration device, and the credential resource and access authority resource in the backup resource oic/sec/credbackup of the second configuration device are also copied to the first A resource corresponding to the configuration device.
  • the oic/sec/dots/subjects/ information contains all IoT devices configured by the second configuration device.
  • the owner's credential information contains all IoT devices configured by the second configuration device.
  • the cloud platform After the first configuration device completes the self-configuration, it will re-register with the cloud platform. After its registration is successful, the cloud platform completes the deregister of the second configuration device. Since then, the second configuration device has been kicked out of the original security domain. . Anti-registration means that the cloud platform deletes the registration information and session maintenance information of the second configuration device after registering the first configuration device. Registration information and session maintenance information can be identified by DI and IP (Internet Protocol) addresses. After the first configuration device is successfully registered, the cloud platform will correspondingly save the registration information and session maintenance information of the first configuration device.
  • DI and IP Internet Protocol
  • the IoT device that originally belonged to the security domain where the second configuration device is located will belong to the security domain where the first configuration device is located, and the first configuration device can manage the aforementioned IoT devices.
  • the user account corresponding to the device identifier of the second configuration device is logged in through the first configuration device (new configuration device), and the user account in the first resource is
  • the aforementioned user account is used to send an information acquisition request to the cloud platform, and the cloud platform acquires the configuration information backed up and saved by the second configuration device according to the user account, and sends the configuration information to the first configuration device.
  • a configuration device uses the configuration information to configure itself, thereby simplifying the operation of replacing the configuration device for the IoT device and improving the efficiency of replacing the configuration device.
  • this embodiment is suitable for the replacement of the configuration device when the original configuration device is replaced or lost. Even if the original configuration device is lost, the management of the IoT device by the new configuration device can be realized.
  • FIG. 4 shows a flowchart of a configuration device replacement method provided by another embodiment of the present application.
  • the method can be applied to the implementation environment shown in Fig. 1, and the method can include the following steps:
  • Step 401 The second configuration device sends configuration information of the second configuration device to the cloud platform.
  • the second configuration device sends an information backup request to the cloud platform.
  • the information backup request is completed by requesting operations on a specified type of resource on the cloud platform.
  • the information backup request includes configuration information; wherein the specified type of resource is used for Indicates a predefined resource for backing up and saving configuration information.
  • the cloud platform receives the configuration information of the second configuration device.
  • Step 402 The cloud platform backs up and saves the configuration information.
  • step 401 For the introduction and description of step 401 to step 402, please refer to the above embodiment, which will not be repeated here.
  • Step 403 After discovering the first configuration device, the second configuration device sends a request message to the first configuration device.
  • the user may use another new configuration device (the first configuration device).
  • the second configuration device discovers the first configuration device through device discovery, and initiates a configuration replacement process.
  • the second configuration device broadcasts a message, which carries the device identifier of the second configuration device, and after receiving the message broadcast by the second configuration device, the first configuration device sends the message directed to the second configuration device ( Unicast) response information, so that the second configuration device discovers the first configuration device.
  • the request message is a message that the second configuration device requests to set the first parameter in the first resource of the first configuration device, and the first parameter is used to identify whether to restore the configuration information backed up by other configuration devices .
  • the first resource may be a /pstat (provisioning state) resource
  • the first parameter may be an onboardreplace parameter.
  • the second configuration device sets the /pstat resource of the first configuration device to "Replace OBT", and an onboardreplace parameter is added to the /pstat resource to identify whether to restore the data of the previous configuration device (configuration information of the second configuration device ).
  • the second configuration device obtains epi (endpoint information, device port information) of the first configuration device. epi is used to indicate the IP address and port number of the first configuration device.
  • the first configuration device receives the request message sent by the second configuration device.
  • Step 404 The first configuration device sets the first parameter according to the request message, and sends a response message to the second configuration device.
  • the first configuration device after setting the onboardreplace parameter from “0" to "1", the first configuration device sends a response message to the second configuration device.
  • the response message is used to indicate that the first parameter has been set.
  • the second configuration device receives the response message sent by the first configuration device.
  • Step 405 The second configuration device sends an information sending request to the cloud platform.
  • the information sending request is a request for the second configuration device to request the cloud platform to send configuration information to the first configuration device, and the information sending request includes the device port information (epi) of the first configuration device.
  • the second configuration device reports the epi of the first configuration device to the cloud platform, and the epi may include the IP address and port number of the first configuration device.
  • the cloud platform receives the information sending request sent by the second configuration device.
  • the cloud platform should save a resource dedicated to configuration replacement (configuration replacement), which can be the parameter configTarget (parameter used to record the IP address) in the oic/sec/credbackup resource: IP address, after setting this value, the cloud platform Start the configuration replacement process.
  • configuration replacement can be the parameter configTarget (parameter used to record the IP address) in the oic/sec/credbackup resource: IP address, after setting this value, the cloud platform Start the configuration replacement process.
  • the cloud platform sends the configuration information of the second configuration device to the IP address and port number of the first configuration device.
  • Step 406 The cloud platform obtains the configuration information backed up and saved by the second configuration device according to the information sending request.
  • the cloud platform may determine the storage address of the configuration information according to the device port information of the second configuration device, so as to obtain the configuration information of the second configuration device from the above storage address.
  • Step 407 The cloud platform sends configuration information to the first configuration device according to the device port information.
  • the cloud platform sends configuration information to the first configuration device according to the IP address and port number of the first configuration device.
  • the first configuration device receives the configuration information sent by the cloud platform based on the device port information of the first configuration device.
  • Step 408 The first configuration device uses the configuration information to perform self-configuration; wherein, the first configuration device that has completed the self-configuration replaces the second configuration device to manage the IoT device.
  • step 408 please refer to the above embodiment, which will not be repeated here.
  • the second configuration device (original configuration device) sends an information sending request to the cloud platform, and the cloud platform obtains the configuration information backed up and saved by the second configuration device according to the information sending request.
  • the device port information send configuration information to the first configuration device (new configuration device), so that the first configuration device self-configures according to the configuration information, so as to manage the IoT device after the self-configuration is completed.
  • the original configuration device initiates the configuration replacement process to realize the smooth handover between the original configuration device and the new configuration device, so that the new configuration device has the configuration and capabilities of the original configuration device.
  • the first configuration device passively obtains the configuration information of the first configuration device from the cloud platform; below, through the embodiment shown in FIG. 5, the first configuration device actively sends the configuration information to the cloud platform.
  • the process of obtaining the configuration information of the second configuration device is introduced and explained.
  • FIG. 5 shows a flowchart of a configuration device replacement method provided by another embodiment of the present application.
  • the method can be applied to the implementation environment shown in Fig. 1, and the method can include the following steps:
  • Step 501 The second configuration device sends configuration information of the second configuration device to the cloud platform.
  • the cloud platform receives the configuration information of the second configuration device.
  • Step 502 The cloud platform backs up and saves the configuration information.
  • Step 503 After the first configuration device is discovered, the second configuration device sends a request message to the first configuration device.
  • the first configuration device receives the request message sent by the second configuration device.
  • Step 504 The first configuration device sets the first parameter according to the request message, and sends a response message to the second configuration device.
  • the second configuration device receives the response message sent by the first configuration device, and the response message is used to indicate that the first parameter has been set.
  • step 501 For the introduction and description of step 501 to step 504, please refer to the above embodiment, which will not be repeated here.
  • Step 505 The second configuration device sends an information acquisition address to the first configuration device.
  • the information acquisition address is an address used to acquire configuration information. After the cloud platform backs up and saves the configuration information of the second configuration device, it will send the address of the configuration information to the second configuration device. After receiving the response message, the second configuration device sends an information acquisition address to the first configuration device.
  • the first configuration device receives the information acquisition address sent by the second configuration device.
  • Step 506 The first configuration device sends an information acquisition request to the cloud platform according to the information acquisition address.
  • the information acquisition request is a request for the first configuration device to acquire configuration information.
  • the information acquisition request carries the information acquisition address, and the first configuration device sends the information acquisition address to the cloud platform, so that the cloud platform can directly acquire the configuration information from the information acquisition address.
  • the cloud platform receives the information acquisition request sent by the first configuration device based on the information acquisition address.
  • Step 507 The cloud platform obtains the configuration information backed up and saved by the second configuration device according to the information obtaining request.
  • the cloud platform may obtain the address according to the information, and obtain the configuration information of the second configuration device from the information obtaining address.
  • Step 508 The cloud platform sends configuration information to the first configuration device.
  • the first configuration device obtains configuration information from the cloud platform.
  • Step 509 The first configuration device uses the configuration information to perform self-configuration; wherein, the first configuration device that has completed the self-configuration replaces the second configuration device to manage the IoT device.
  • step 509 please refer to the above embodiment, which will not be repeated here.
  • the first configuration device receives the information acquisition address sent by the second configuration device (original configuration device), and sends it to the cloud platform based on the information acquisition address Information acquisition request.
  • the cloud platform obtains the configuration information of the second configuration device according to the information obtaining request, and sends the configuration information to the first configuration device, so that the first configuration device performs self-configuration according to the configuration information, so as to replace the second configuration device pair after the self-configuration is completed.
  • IoT devices are managed.
  • the configuration replacement process is mainly initiated by the newly configured device, which realizes that the newly configured device actively obtains configuration information.
  • the newly configured device sends an information acquisition request to the cloud platform based on the information acquisition address, which improves the efficiency of acquiring configuration information.
  • FIG. 6 shows a block diagram of a configuration device replacement apparatus provided by an embodiment of the present application.
  • the device has the function of realizing the above-mentioned example of the first configuration device side method, and the function can be realized by hardware, or by hardware executing corresponding software.
  • the device may be the first configuration device described above, or it may be set in the first configuration device.
  • the device 600 may include: an information acquisition module 610 and a self-configuration module 620.
  • the information acquiring module 610 is configured to acquire the configuration information backed up by the second configuration device on the cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices.
  • the self-configuration module 620 is configured to use the configuration information to perform self-configuration, wherein the first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device.
  • the device manages the IoT device. Compared with the related technology, the IoT device needs to be reset to the factory settings, and then the new configuration device is used to configure the above-mentioned IoT device after the factory setting is restored, so that the new configuration device can control the IoT device.
  • This application only needs the new configuration device to obtain the configuration information of the original configuration device from the cloud platform and perform self-configuration according to the configuration information, so that the new configuration device can manage the IoT device, thereby simplifying the operation of replacing the configuration device for the IoT device , Improve the efficiency of replacing configuration equipment.
  • the information acquisition module 610 is configured to:
  • the user account When the first parameter in the first resource is set, the user account is used to send an information acquisition request to the cloud platform, where the information acquisition request is a request for the first configuration device to acquire the configuration information ,
  • the information acquisition module 610 is configured to:
  • the request message is a message that the second configuration device requests to set a first parameter in the first resource of the first configuration device
  • the first The parameter is used to identify whether to restore the configuration information backed up by other configuration devices
  • the information acquisition module 610 is configured to:
  • the request message is a message that the second configuration device requests to set a first parameter in the first resource of the first configuration device
  • the first The parameter is used to identify whether to restore the configuration information backed up by other configuration devices
  • the configuration information is acquired from the cloud platform.
  • the self-configuration module 620 is configured to:
  • the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access permission resources of the IoT device, and device user transfer service DOTS resources of the IoT device;
  • the credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
  • the access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
  • the DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
  • the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and the second configuration Access authority resources of the device;
  • the credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
  • the access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  • FIG. 7 shows a block diagram of a configuration device replacement apparatus provided by another embodiment of the present application.
  • the device has the function of realizing the above-mentioned method example on the cloud platform side, and the function can be realized by hardware, or by hardware executing corresponding software.
  • the device can be the cloud platform introduced above, or can be set in the cloud platform.
  • the apparatus 700 may include: an information receiving module 710, an information storage module 720, and an information sending module 730.
  • the information receiving module 710 is configured to receive configuration information of a second configuration device, where the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device configuring an IoT device The content of the resource generated at the time.
  • the information saving module 720 is configured to back up and save the configuration information.
  • the information sending module 730 is configured to send the configuration information to a first configuration device, where the first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  • the device manages the IoT device. Compared with the related technology, the IoT device needs to be reset to the factory settings, and then the new configuration device is used to configure the above-mentioned IoT device after the factory setting is restored, so that the new configuration device can control the IoT device.
  • This application only needs the new configuration device to obtain the configuration information of the original configuration device from the cloud platform and perform self-configuration according to the configuration information, so that the new configuration device can manage the IoT device, thereby simplifying the operation of replacing the configuration device for the IoT device , Improve the efficiency of replacing configuration equipment.
  • the information sending module 730 is configured to:
  • the information acquisition request is a request for the first configuration device to acquire the configuration information
  • the information acquisition request includes the device identification corresponding to the second configuration device User account
  • the information sending module 730 is configured to:
  • the information sending request includes the device port information of the first configuration device
  • the information sending module 730 is configured to:
  • the device 700 further includes: an information deletion module (not shown in the figure).
  • the information deletion module is configured to delete the registration information and session maintenance information of the second configuration device after registering the first configuration device.
  • the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and device user transfer service DOTS resources of the IoT device;
  • the credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
  • the access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
  • the DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
  • the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and the second configuration Access authority resources of the device;
  • the credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
  • the access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  • FIG. 8 shows a block diagram of a configuration device replacement apparatus provided by another embodiment of the present application.
  • the device has the function of realizing the above-mentioned example of the second configuration device side method, and the function can be realized by hardware, or by hardware executing corresponding software.
  • the device can be the second configuration device described above, or can be set in the second configuration device.
  • the device 800 may include: an information sending module 810.
  • the information sending module 810 is configured to send configuration information of the second configuration device to the cloud platform, where the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices;
  • a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  • the device manages the IoT device. Compared with the related technology, the IoT device needs to be reset to the factory settings, and then the new configuration device is used to configure the above-mentioned IoT device after the factory setting is restored, so that the new configuration device can control the IoT device.
  • This application only needs the new configuration device to obtain the configuration information of the original configuration device from the cloud platform and perform self-configuration according to the configuration information, so that the new configuration device can manage the IoT device, thereby simplifying the operation of replacing the configuration device for the IoT device , Improve the efficiency of replacing configuration equipment.
  • the information sending module 810 is configured to:
  • the specified type resource is a predefined resource used to instruct to backup and save the configuration information.
  • the device 800 further includes: a message sending module, a message receiving module, and a request sending module (not shown in the figure).
  • the message sending module is configured to send a request message to the first configuration device after the first configuration device is discovered, where the request message is that the second configuration device requests the first resource for the first configuration device A message in which the first parameter is set in, the first parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
  • a message receiving module configured to receive a response message sent by the first configuration device, where the response message is used to indicate that the first parameter has been set;
  • the request sending module is configured to send an information sending request to the cloud platform, where the information sending request is a request for the second configuration device to request the cloud platform to send the configuration information to the first configuration device, and
  • the information sending request includes the device port information of the first configuration device.
  • the device 800 further includes: a message sending module, a message receiving module, and an address sending module (not shown in the figure).
  • the message sending module is configured to send a request message to the first configuration device after the first configuration device is discovered, where the request message is that the second configuration device requests the first resource for the first configuration device A message in which the first parameter is set in, the first parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
  • a message receiving module configured to receive a response message sent by the first configuration device, where the response message is used to indicate that the first parameter has been set;
  • the address sending module is configured to send an information acquisition address to the first configuration device, where the information acquisition address is an address used to acquire the configuration information.
  • the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access permission resources of the IoT device, and device user transfer service DOTS resources of the IoT device;
  • the credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
  • the access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
  • the DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
  • the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and the second configuration Access authority resources of the device;
  • the credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
  • the access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  • the device provided in the above embodiment realizes its functions, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be allocated by different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the configuration device 900 may include a processor 901, a receiver 902, a transmitter 903, a memory 904 and a bus 905.
  • the processor 901 includes one or more processing cores, and the processor 901 executes various functional applications and information processing by running software programs and modules.
  • the receiver 902 and the transmitter 903 may be implemented as a communication component, and the communication component may be a communication chip.
  • the memory 904 is connected to the processor 901 through the bus 905.
  • the memory 904 may be used to store a computer program, and the processor 901 is used to execute the computer program to implement each step performed by the first configuration device or each step performed by the second configuration device in the foregoing method embodiment.
  • the memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof.
  • the volatile or non-volatile storage device includes, but is not limited to: magnetic disks or optical disks, electrically erasable and programmable Read-only memory (EEPROM), erasable programmable read-only memory (EPROM), static anytime access memory (SRAM), read-only memory (ROM), magnetic memory, flash memory, programmable read-only memory (PROM) .
  • the first configuration device includes a processor, a memory, and a transceiver.
  • the transceiver may include a receiver and a transmitter. The receiver is used for receiving information, and the transmitter is used for sending information.
  • the transceiver is configured to obtain configuration information backed up by a second configuration device on a cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices;
  • the processor is configured to use the configuration information to perform self-configuration, wherein the first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device.
  • the processor is further configured to log in a user account corresponding to the device identifier of the second configuration device;
  • the transceiver is further configured to use the user account to send an information acquisition request to the cloud platform when the first parameter in the first resource is set, and the information acquisition request is the first configuration A request for the device to obtain the configuration information,
  • the transceiver is also used to receive the configuration information sent by the cloud platform.
  • the transceiver is further configured to receive a request message sent by the second configuration device, where the request message is a request by the second configuration device for the first resource of the first configuration device.
  • a message that a parameter is set, the first parameter is used to identify whether to restore configuration information backed up by other configuration devices;
  • the transceiver is further configured to set the first parameter according to the request message, and send a response message to the second configuration device;
  • the transceiver is further configured to receive the configuration information sent by the cloud platform based on the device port information of the first configuration device.
  • the transceiver is further configured to receive a request message sent by the second configuration device, where the request message is a request by the second configuration device for the first resource of the first configuration device.
  • a message that a parameter is set, the first parameter is used to identify whether to restore configuration information backed up by other configuration devices;
  • the transceiver is further configured to set the first parameter according to the request message, and send a response message to the second configuration device;
  • the transceiver is further configured to receive an information acquisition address sent by the second configuration device, where the information acquisition address is an address used to acquire the configuration information;
  • the processor is further configured to obtain the configuration information from the cloud platform according to the information obtaining address.
  • the processor is further configured to set the device identifier of the second configuration device as the device identifier of the first configuration device;
  • the processor is further configured to copy the resource information to the corresponding resource of the first configuration device.
  • the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and device user transfer service DOTS resources of the IoT device;
  • the credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
  • the access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
  • the DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
  • the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and the second configuration Access authority resources of the device;
  • the credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
  • the access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  • the second configuration device includes a processor, a memory, and a transceiver.
  • the transceiver may include a receiver and a transmitter. The receiver is used for receiving information, and the transmitter is used for sending information.
  • the transceiver is configured to send configuration information of the second configuration device to a cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices;
  • a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  • the transceiver is further configured to send an information backup request to the cloud platform, and the information backup request is completed by requesting operations on a specified type of resource on the cloud platform.
  • the information backup request Including the configuration information
  • the specified type resource is a predefined resource used to instruct to backup and save the configuration information.
  • the transceiver is further configured to send a request message to the first configuration device after the first configuration device is discovered, where the request message is that the second configuration device requests the first configuration device A message that the first parameter in the first resource of the configuration device is set, where the first parameter is used to identify whether to restore configuration information backed up by other configuration devices;
  • the transceiver is further configured to receive a response message sent by the first configuration device, where the response message is used to indicate that the first parameter has been set;
  • the transceiver is further configured to send an information sending request to the cloud platform, where the information sending request is a request by the second configuration device to request the cloud platform to send the configuration information to the first configuration device,
  • the information sending request includes the device port information of the first configuration device.
  • the transceiver is further configured to send a request message to the first configuration device after the first configuration device is discovered, where the request message is that the second configuration device requests the first configuration device A message that the first parameter in the first resource of the configuration device is set, where the first parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
  • the transceiver is further configured to receive a response message sent by the first configuration device, where the response message is used to indicate that the first parameter has been set;
  • the speaker is further configured to send an information acquisition address to the first configuration device, where the information acquisition address is an address used to acquire the configuration information.
  • the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and device user transfer service DOTS resources of the IoT device;
  • the credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
  • the access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
  • the DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
  • the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and the second configuration Access authority resources of the device;
  • the credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
  • the access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  • FIG. 10 shows a schematic structural diagram of a cloud platform 100 provided by an embodiment of the present application.
  • the cloud platform 100 may include: a processor 101, a receiver 102, a transmitter 103, a memory 104 and a bus 105.
  • the processor 101 includes one or more processing cores, and the processor 101 executes various functional applications and information processing by running software programs and modules.
  • the receiver 102 and the transmitter 103 may be implemented as a communication component, and the communication component may be a communication chip.
  • the memory 104 is connected to the processor 101 through a bus 105.
  • the memory 104 may be used to store a computer program, and the processor 101 is used to execute the computer program to implement each step executed by the cloud platform in the foregoing method embodiment.
  • the memory 104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof.
  • the volatile or non-volatile storage device includes, but is not limited to: magnetic disks or optical disks, electrically erasable and programmable Read-only memory (EEPROM), erasable programmable read-only memory (EPROM), static anytime access memory (SRAM), read-only memory (ROM), magnetic memory, flash memory, programmable read-only memory (PROM) .
  • the cloud platform includes a processor, a memory, and a transceiver.
  • the transceiver may include a receiver and a transmitter. The receiver is used for receiving information, and the transmitter is used for sending information.
  • the transceiver is configured to receive configuration information of a second configuration device, where the configuration information includes the device identification and resource information of the second configuration device, and the resource information includes the second configuration device configuring an IoT device Resource content generated at the time;
  • the processor is configured to back up and save the configuration information
  • the transceiver is configured to send the configuration information to a first configuration device, wherein the first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  • the transceiver is further configured to receive an information acquisition request sent by the first configuration device, where the information acquisition request is a request for the first configuration device to acquire the configuration information, and the information acquisition request Includes the user account corresponding to the device identifier of the second configuration device;
  • the processor is further configured to obtain the configuration information backed up and saved by the second configuration device according to the user account;
  • the transceiver is also used to send the configuration information to the first configuration device.
  • the transceiver is further configured to receive an information sending request sent by the second configuration device, where the information sending request is the second configuration device requesting the cloud platform to send to the first configuration device
  • the configuration information request, the information sending request includes the device port information of the first configuration device
  • the processor is further configured to obtain the configuration information backed up and saved by the second configuration device according to the information sending request;
  • the transceiver is further configured to send the configuration information to the first configuration device according to the device port information.
  • the transceiver is further configured to receive an information acquisition request sent by the first configuration device based on an information acquisition address, where the information acquisition request is a request for the first configuration device to acquire the configuration information, and
  • the information acquisition address is an address used to acquire the configuration information;
  • the processor is further configured to obtain the configuration information backed up and saved by the second configuration device according to the information obtaining request;
  • the transceiver is also used to send the configuration information to the first configuration device.
  • the processor is further configured to delete the registration information and session maintenance information of the second configuration device after registering the first configuration device.
  • the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and device user transfer service DOTS resources of the IoT device;
  • the credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
  • the access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
  • the DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
  • the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and the second configuration Access authority resources of the device;
  • the credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
  • the access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  • the embodiment of the present application also provides a computer-readable storage medium in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the configuration device replacement method on the first configuration device side.
  • the embodiment of the present application also provides a computer-readable storage medium in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the above-mentioned method for replacing a configuration device on the cloud platform side.
  • An embodiment of the present application also provides a computer-readable storage medium in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the configuration device replacement method on the second configuration device side.
  • the present application also provides a computer program product, which when the computer program product runs on the processor of the network device, causes the network device to execute the configuration device replacement method on the first configuration device side.
  • This application also provides a computer program product, which when the computer program product runs on the processor of the network device, causes the network device to execute the above-mentioned cloud platform side configuration device replacement method.
  • This application also provides a computer program product, which when the computer program product runs on the processor of the network device, causes the network device to execute the configuration device replacement method on the second configuration device side.
  • the program can be stored in a computer-readable storage medium.
  • the storage medium mentioned can be a read-only memory, a magnetic disk or an optical disk, etc.

Abstract

The present application relates to the technical field of the Internet of Things (IoT). Disclosed are a configuration device replacement method and apparatus, a device, and a storage medium. The method comprises: acquiring configuration information backed up on a cloud platform by a second configuration device, the configuration information comprising a device identifier and resource information of the second configuration device, and the resource information comprising the resource content generated when the second configuration device configures a IoT device; and performing self-configuration using the configuration information, wherein a first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device. In embodiments of the present application, a new configuration device only needs to obtain configuration information of an original configuration device from the cloud platform and perform self-configuration according to the configuration information to achieve the management of the IoT device using the new configuration device, thus simplifying the operation of replacing configuration devices for IoT devices and improving the efficiency of replacing configuration devices.

Description

配置设备更换方法、装置、设备及存储介质Configuration equipment replacement method, device, equipment and storage medium 技术领域Technical field
本申请涉及物联网技术领域,特别涉及一种配置设备更换方法、装置、设备及存储介质。This application relates to the technical field of the Internet of Things, and in particular to a method, device, device, and storage medium for replacing configuration equipment.
背景技术Background technique
在物联网技术架构中,可以通过配置设备对IoT(Internet of Things,物联网)设备进行管理。In the technology architecture of the Internet of Things, IoT (Internet of Things, Internet of Things) devices can be managed by configuring devices.
在相关技术中,IoT设备在使用前,需要使用配置设备进行一些必要的配置:首先,配置设备将IoT设备的所有者属性设置为配置设备的设备标识,由此将IoT设备与用户进行关联,标识了IoT设备的用户属性。然后,配置设备对IoT设备的资源信息进行配置。在经过上述配置之后,IoT设备加入了配置设备所在的安全域,在一个安全域内的设备间才可以互联互通。然而,当配置设备出现损坏或更替时,需要对安全域内的IoT设备都恢复出厂设置,然后通过新的配置设备对上述恢复出厂设置后的IoT设备重新进行配置,以加入该新的配置设备对应的安全域中,从而使得新的配置设备可以管理这些IoT设备。In related technologies, before using the IoT device, it needs to use the configuration device to perform some necessary configuration: First, the configuration device sets the owner attribute of the IoT device to the device identification of the configuration device, thereby associating the IoT device with the user. Identifies the user attributes of the IoT device. Then, the configuration device configures the resource information of the IoT device. After the above configuration, the IoT device joins the security domain where the configuration device is located, and only devices in a security domain can communicate with each other. However, when the configuration device is damaged or replaced, it is necessary to restore the factory settings of the IoT devices in the security domain, and then use the new configuration device to reconfigure the above-mentioned IoT devices after the factory settings are restored to add the new configuration device correspondence In the security domain, so that new configuration devices can manage these IoT devices.
然而,上述相关技术提供的配置设备更换方法,操作较为复杂低效。However, the configuration device replacement method provided by the above-mentioned related technology is complicated and inefficient in operation.
发明内容Summary of the invention
本申请实施例提供了一种配置设备更换方法、装置、设备及存储介质,可以简化为IoT设备更换配置设备的操作,提升更换配置设备的效率。所述技术方案如下:The embodiments of the present application provide a configuration device replacement method, device, device, and storage medium, which can simplify the operation of replacing the configuration device for the IoT device, and improve the efficiency of replacing the configuration device. The technical solution is as follows:
一个方面,提供了一种配置设备更换方法,应用于第一配置设备,所述方法包括:In one aspect, a configuration device replacement method is provided, which is applied to a first configuration device, and the method includes:
获取第二配置设备在云平台上备份的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;Acquire the configuration information backed up by the second configuration device on the cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the information when the second configuration device configures the IoT device Generated resource content;
使用所述配置信息进行自配置,其中,完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。Use the configuration information to perform self-configuration, wherein the first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device.
另一方面,提供了一种配置设备更换方法,应用于云平台,所述方法包括:On the other hand, a configuration device replacement method is provided, which is applied to a cloud platform, and the method includes:
接收第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;Receiving configuration information of a second configuration device, where the configuration information includes a device identifier and resource information of the second configuration device, and the resource information includes resource content generated when the second configuration device configures an IoT device;
对所述配置信息进行备份保存;Backup and save the configuration information;
向第一配置设备发送所述配置信息,其中,使用所述配置信息完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。Sending the configuration information to a first configuration device, where the first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
另一方面,提供了一种配置设备更换方法,应用于第二配置设备,所述方法包括:On the other hand, a configuration device replacement method is provided, which is applied to a second configuration device, and the method includes:
向云平台发送所述第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;Send the configuration information of the second configuration device to the cloud platform, where the configuration information includes the device identification and resource information of the second configuration device, and the resource information includes the information when the second configuration device configures the IoT device. Generated resource content;
其中,使用所述配置信息完成自配置的第一配置设备替代所述第二配置设备对所述IoT设备进行管理。Wherein, a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
另一方面,提供了一种配置设备更换装置,应用于第一配置设备,所述装置包括:In another aspect, a configuration device replacement device is provided, which is applied to a first configuration device, and the device includes:
信息获取模块,用于获取第二配置设备在云平台上备份的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The information acquisition module is configured to acquire the configuration information backed up by the second configuration device on the cloud platform. The configuration information includes the device identification and resource information of the second configuration device, and the resource information includes the configuration of the second configuration device. Resource content generated by IoT devices;
自配置模块,用于使用所述配置信息进行自配置,其中,完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。The self-configuration module is configured to use the configuration information to perform self-configuration, wherein the first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device.
另一方面,提供了一种配置设备更换装置,应用于云平台,所述装置包括:On the other hand, a configuration device replacement device is provided, which is applied to a cloud platform, and the device includes:
信息接收模块,用于接收第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The information receiving module is configured to receive configuration information of a second configuration device, where the configuration information includes the device identification and resource information of the second configuration device, and the resource information includes when the second configuration device configures an IoT device The generated resource content;
信息保存模块,用于对所述配置信息进行备份保存;An information storage module for backup and storage of the configuration information;
信息发送模块,用于向第一配置设备发送所述配置信息,其中,使用所述配置信息完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。The information sending module is configured to send the configuration information to a first configuration device, wherein the first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
另一方面,提供了一种配置设备更换装置,应用于第二配置设备,所述装置包括:In another aspect, a configuration device replacement device is provided, which is applied to a second configuration device, and the device includes:
信息发送模块,用于向云平台发送所述第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;An information sending module, configured to send configuration information of the second configuration device to the cloud platform, the configuration information including the device identification and resource information of the second configuration device, and the resource information including the configuration of the second configuration device Resource content generated by IoT devices;
其中,使用所述配置信息完成自配置的第一配置设备替代所述第二配置设备对所述IoT设备进行管理。Wherein, a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
又一方面,提供了一种配置设备,所述配置设备包括处理器、存储器和收发器;In another aspect, a configuration device is provided, and the configuration device includes a processor, a memory, and a transceiver;
所述收发器,用于获取第二配置设备在云平台上备份的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The transceiver is configured to obtain configuration information backed up by a second configuration device on a cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices;
所述处理器,用于使用所述配置信息进行自配置,其中,完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。The processor is configured to use the configuration information to perform self-configuration, wherein the first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device.
又一方面,提供了一种云平台,所述云平台包括处理器、存储器和收发器;In another aspect, a cloud platform is provided, and the cloud platform includes a processor, a memory, and a transceiver;
所述收发器,用于接收第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The transceiver is configured to receive configuration information of a second configuration device, where the configuration information includes the device identification and resource information of the second configuration device, and the resource information includes the second configuration device configuring an IoT device Resource content generated at the time;
所述处理器,用于对所述配置信息进行备份保存;The processor is configured to back up and save the configuration information;
所述收发器,还用于向第一配置设备发送所述配置信息,其中,使用所述配置信息完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。The transceiver is further configured to send the configuration information to a first configuration device, wherein the first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device .
又一方面,提供了一种配置设备,所述配置设备包括处理器、存储器和收发器;In another aspect, a configuration device is provided, and the configuration device includes a processor, a memory, and a transceiver;
所述收发器,用于向云平台发送所述第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The transceiver is configured to send configuration information of the second configuration device to a cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices;
其中,使用所述配置信息完成自配置的第一配置设备替代所述第二配置设备对所述IoT设备进行管理。Wherein, a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
又一方面,提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序用于被处理器执行,以实现上述配置设备更换方法。In another aspect, a computer-readable storage medium is provided, and a computer program is stored in the storage medium, and the computer program is configured to be executed by a processor to implement the above-mentioned configuration device replacement method.
又一方面,提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序用于被处理器执行,以实现上述配置设备更换方法。In another aspect, a computer-readable storage medium is provided, and a computer program is stored in the storage medium, and the computer program is configured to be executed by a processor to implement the above-mentioned configuration device replacement method.
又一方面,提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序用于被处理器执行,以实现上述配置设备更换方法。In another aspect, a computer-readable storage medium is provided, and a computer program is stored in the storage medium, and the computer program is configured to be executed by a processor to implement the above-mentioned configuration device replacement method.
本申请实施例提供的技术方案可以带来如下有益效果:The technical solutions provided in the embodiments of the present application can bring the following beneficial effects:
通过第一配置设备(新配置设备)获取第二配置设备(原配置设备)在云平台上备份的配置信息,并使用该配置信息进行自配置,完成自配置的第一配置设备替代第二配置设备对IoT设备进行管理,相较于相关技术中需要将IoT设备恢复出厂设置,然后通过新配置设备对上述恢复出厂设置后的IoT设备进行配置,从而使得新配置设备可以控制IoT设备,本申请实施例只需要新配置设备从云平台获取原配置设备的配置信息,并根据该配置信息进行自配置,就可以实现新配置设备对IoT设备进行管理,从而简化了为IoT设备更换配置设备的操作,提升了更换配置设备的效率。Obtain the configuration information backed up by the second configuration device (original configuration device) on the cloud platform through the first configuration device (new configuration device), and use the configuration information for self-configuration to complete the self-configuration of the first configuration device instead of the second configuration The device manages the IoT device. Compared with the related technology, the IoT device needs to be reset to the factory settings, and then the new configuration device is used to configure the above-mentioned IoT device after the factory setting is restored, so that the new configuration device can control the IoT device. This application The embodiment only needs the new configuration device to obtain the configuration information of the original configuration device from the cloud platform and perform self-configuration according to the configuration information, so that the new configuration device can manage the IoT device, thereby simplifying the operation of replacing the configuration device for the IoT device , Improve the efficiency of replacing configuration equipment.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1是本申请一个实施例提供的实施环境的示意图;Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
图2是本申请一个实施例提供的配置设备更换方法的流程图;FIG. 2 is a flowchart of a method for replacing a configuration device provided by an embodiment of the present application;
图3是本申请另一个实施例提供的配置设备更换方法的流程图;FIG. 3 is a flowchart of a method for replacing a configuration device provided by another embodiment of the present application;
图4是本申请另一个实施例提供的配置设备更换方法的流程图;FIG. 4 is a flowchart of a method for replacing a configuration device provided by another embodiment of the present application;
图5是本申请另一个实施例提供的配置设备更换方法的流程图;FIG. 5 is a flowchart of a method for replacing a configuration device provided by another embodiment of the present application;
图6是本申请一个实施例提供的配置设备更换装置的框图;Fig. 6 is a block diagram of a configuration device replacement device provided by an embodiment of the present application;
图7是本申请另一个实施例提供的配置设备更换装置的框图;FIG. 7 is a block diagram of a configuration device replacement device provided by another embodiment of the present application;
图8是本申请又一个实施例提供的配置设备更换装置的框图;FIG. 8 is a block diagram of a configuration device replacement apparatus provided by another embodiment of the present application;
图9是本申请一个实施例提供的配置设备的结构示意图;FIG. 9 is a schematic structural diagram of a configuration device provided by an embodiment of the present application;
图10是本申请一个实施例提供的云平台的结构示意图。FIG. 10 is a schematic structural diagram of a cloud platform provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solutions, and advantages of the present application clearer, the implementation manners of the present application will be described in further detail below in conjunction with the accompanying drawings.
请参考图1,其示出了本申请一个实施例提供的实施环境的示意图,该实施环境可以包括:IoT设备11、第一配置设备12、第二配置设备13和云平台14。Please refer to FIG. 1, which shows a schematic diagram of an implementation environment provided by an embodiment of the present application. The implementation environment may include: an IoT device 11, a first configuration device 12, a second configuration device 13, and a cloud platform 14.
IoT设备11是指具备网络接入能力的设备,在家居场景下,IoT设备11可以是智能家居设备,例如智能电视、智能音箱、智能空调、智能电灯、智能门窗、智能窗帘、智能插座等;在交通场景下,IoT设备11可以是智能公交车、共享单车、智能红绿灯等;在能源环保场景下,IoT设备11可以是智能水电表、智能井盖、智能垃圾桶等;在医疗场景下,IoT设备11可以是智能医疗可穿戴设备等;在其他应用场景下,IoT设备可以是其他具备网络接入能力的设备,IoT设备的数量可以是一个,也可以是多个,本申请实施例对此不作限定。 IoT device 11 refers to a device with network access capabilities. In the home scenario, IoT device 11 can be a smart home device, such as smart TV, smart speaker, smart air conditioner, smart light, smart door and window, smart curtain, smart socket, etc.; In traffic scenarios, IoT devices 11 can be smart buses, shared bicycles, smart traffic lights, etc.; in energy and environmental protection scenarios, IoT devices 11 can be smart water meters, smart manhole covers, smart trash cans, etc.; in medical scenarios, IoT The device 11 may be a smart medical wearable device, etc.; in other application scenarios, the IoT device may be other devices with network access capabilities, and the number of IoT devices may be one or multiple. This is the case in the embodiment of this application. Not limited.
第一配置设备12是指用于管理IoT设备11的设备。第一配置设备可以称之为第一OBT(Onboarding  Tool,配置工具)设备,即该第一OBT设备具备OBT功能。第一OBT设备可以是终端,例如,终端可以是智能手机、平板电脑、PC(Personal Computer,个人计算机)、智能多媒体设备、智能可穿戴设备等。The first configuration device 12 refers to a device used to manage the IoT device 11. The first configuration device may be referred to as a first OBT (Onboarding Tool, configuration tool) device, that is, the first OBT device has an OBT function. The first OBT device may be a terminal. For example, the terminal may be a smart phone, a tablet computer, a PC (Personal Computer, personal computer), a smart multimedia device, a smart wearable device, and the like.
第二配置设备13是指不同于第一配置设备12的另一配置设备,第二配置设备13同样可用于管理IoT设备11。第二配置设备13可以称之为第二OBT设备,即该第二OBT设备也具备OBT功能。第二OBT设备可以是终端,例如,终端可以是智能手机、平板、PC、智能多hi媒体设备、智能可穿戴设备等。The second configuration device 13 refers to another configuration device different from the first configuration device 12, and the second configuration device 13 can also be used to manage the IoT device 11. The second configuration device 13 may be referred to as a second OBT device, that is, the second OBT device also has an OBT function. The second OBT device may be a terminal, for example, the terminal may be a smart phone, a tablet, a PC, a smart multi-hi media device, a smart wearable device, and so on.
OBT功能是终端APP(application,应用程序)里面的一个功能模块,该功能模块是为了配置新的IoT设备,从而使新的IoT设备可以加入到OBT设备所在的安全域并且可以被同一安全域的设备访问。一般情况下,OBT功能与APP是融为一体的,但是并不一定同一安全域内的所有终端APP都有OBT功能,本申请中的OBT设备特指具有OBT功能的APP所在的设备。在下述实施例中,主要以配置设备为OBT设备为例进行介绍说明,但不应该对本申请实施例造成限定。The OBT function is a functional module in the terminal APP (application, application). The functional module is to configure a new IoT device so that the new IoT device can be added to the security domain where the OBT device is located and can be used by the same security domain. Device access. In general, the OBT function and the APP are integrated, but not all terminal APPs in the same security domain have the OBT function. The OBT device in this application specifically refers to the device where the APP with the OBT function is located. In the following embodiments, the configuration device is mainly an OBT device as an example for introduction and description, but the embodiments of the present application should not be limited.
云平台14是指用于存储配置信息的平台,云平台14可以是云服务器、服务器或服务器集群等。第一配置设备12可以通过有线或者无线网络与云平台14进行通信,第二配置设备13页可以通过有线或者无线网络与云平台14进行通信。The cloud platform 14 refers to a platform for storing configuration information, and the cloud platform 14 may be a cloud server, a server, or a server cluster. The first configuration device 12 may communicate with the cloud platform 14 through a wired or wireless network, and the second configuration device 13 may communicate with the cloud platform 14 through a wired or wireless network.
第一配置设备12可以通过无线或者有线网络与IoT设备11进行通信,第二配置设备13也可以通过无线或者有线网络与IoT设备11进行通信。在本申请实施例中,第二配置设备13也可以称为原配置设备或原OBT设备(original OBT device),第一配置设备12也可以称为新配置设备或新OBT设备(new OBT device)。第二配置设备13可以对IoT设备11进行管理,当第二配置设备13发生丢失、损坏或更换的情况时,第一配置设备12可以代替第二配置设备13对IoT设备11进行管理。The first configuration device 12 may communicate with the IoT device 11 through a wireless or wired network, and the second configuration device 13 may also communicate with the IoT device 11 through a wireless or wired network. In the embodiments of the present application, the second configuration device 13 may also be referred to as an original configuration device or an original OBT device (original OBT device), and the first configuration device 12 may also be referred to as a new configuration device or a new OBT device (new OBT device). . The second configuration device 13 can manage the IoT device 11. When the second configuration device 13 is lost, damaged or replaced, the first configuration device 12 can replace the second configuration device 13 to manage the IoT device 11.
在一个示例中,以家庭物联网系统为例,第一配置设备12可以是用户使用的手机1,第二配置设备13可以是用户使用的手机2,IoT设备11可以包括智能电灯、智能电视等智能家居设备。用户原先使用手机2对智能电视进行管理,但手机2不小心被用户丢失了,然后用户重新换了个手机1,则用户可以通过本申请提供的技术方案将IoT设备11的配置设备从手机2更换为手机1,后续便可通过手机1对IoT设备11进行管理。In an example, taking a home IoT system as an example, the first configuration device 12 may be the mobile phone 1 used by the user, the second configuration device 13 may be the mobile phone 2 used by the user, and the IoT device 11 may include smart lights, smart TVs, etc. Smart home equipment. The user originally used the mobile phone 2 to manage the smart TV, but the mobile phone 2 was accidentally lost by the user, and then the user replaced the mobile phone 1, and the user can use the technical solution provided in this application to change the configuration device of the IoT device 11 from the mobile phone 2. Change to mobile phone 1, and then the IoT device 11 can be managed through mobile phone 1.
下面,将结合几个示例性实施例,对本申请技术方案进行介绍说明。In the following, the technical solution of the present application will be introduced and explained in combination with several exemplary embodiments.
请参考图2,其示出了本申请一个实施例提供的配置设备更换方法的流程图。该方法可以应用于图1所示的实施环境中,该方法可以包括如下几个步骤:Please refer to FIG. 2, which shows a flowchart of a configuration device replacement method provided by an embodiment of the present application. The method can be applied to the implementation environment shown in Fig. 1, and the method can include the following steps:
步骤201,第二配置设备向云平台发送第二配置设备的配置信息。Step 201: The second configuration device sends configuration information of the second configuration device to the cloud platform.
在本申请实施例中,配置信息包括第二配置设备的设备标识和资源信息。第二配置设备的设备标识用于唯一标识该第二配置设备,设备标识也可以表示成device ID(DI,设备标识)。资源信息包括第二配置设备配置IoT设备时所生成的资源内容。可选地,IoT设备是指第二配置设备管理的设备,也即,IoT设备是属于第二配置设备所在安全域的设备。安全域是指同一环境内有相同的安全保护需求、相互信任、并具有相同的安全访问控制盒边界控制策略的网络或系统。处于同一安全域的设备之间可以互相通信。In the embodiment of the present application, the configuration information includes the device identification and resource information of the second configuration device. The device ID of the second configuration device is used to uniquely identify the second configuration device, and the device ID can also be expressed as a device ID (DI, device ID). The resource information includes resource content generated when the second configuration device configures the IoT device. Optionally, the IoT device refers to a device managed by the second configuration device, that is, the IoT device is a device belonging to the security domain where the second configuration device is located. A security domain refers to a network or system that has the same security protection requirements, mutual trust, and the same security access control box boundary control strategy in the same environment. Devices in the same security zone can communicate with each other.
可选地,IoT设备的资源内容包括以下至少一项:IoT设备的凭证(Credential,Cred)资源、IoT设备的访问权限资源、DOTS(Device Owner Transfer Service,设备用户转移服务)资源。IoT设备的凭证资源用于在IoT设备与其它设备建立连接时进行鉴权,当其它设备根据凭证资源确定该IoT设备合法后,才与该IoT设备建立连接。IoT设备的访问权限资源用于IoT设备对其它设备进行访问控制,访问权限资源可以是ACL(Access Control List,访问控制列表)资源。IoT设备的DOTS资源用于记录IoT设备的所有者凭证(owner credentials)。可选地,DOTS资源可以表示成/oic/sec/dots/subjects资源。Optionally, the resource content of the IoT device includes at least one of the following: a credential (Credential, Cred) resource of the IoT device, an access permission resource of the IoT device, and a DOTS (Device Owner Transfer Service) resource. The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices. After other devices determine that the IoT device is legal based on the credential resources, the connection with the IoT device is established. The access authority resource of the IoT device is used by the IoT device to control access to other devices, and the access authority resource may be an ACL (Access Control List, access control list) resource. The DOTS resource of the IoT device is used to record the owner credentials of the IoT device. Optionally, DOTS resources can be expressed as /oic/sec/dots/subjects resources.
可选地,资源信息还包括第二配置设备的资源内容,第二配置设备的资源内容包括以下至少一项:第二配置设备的凭证资源、第二配置设备的访问权限资源。第二配置设备的凭证资源用于在第二配置设备与其它设备建立连接时进行鉴权,当其它设备根据凭证资源确定该第二配置设备合法后,才与该第二配置设备建立连接。第二配置设备的访问权限资源用于第二配置设备对其它设备进行访问控制。Optionally, the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and access authority resources of the second configuration device. The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with other devices. After the other device determines that the second configuration device is legal according to the credential resources, the connection with the second configuration device is established. The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
第二配置设备在自配置(self-onboarding)过程中生成自身的设备标识和资源信息。该资源信息包括IoT设备的资源内容和第二配置设备的资源内容。IoT设备的凭证资源可以包括IoT设备的身份凭证信息,第二配置设备的凭证资源可以包括第二配置设备的身份凭证信息,身份凭证信息可以包括以下任意一项:密钥、令牌、证书、密码、PIN(Personal Identification Number,个人识别号码)码。当第二配置设备请求访问IoT设备的某一特定资源时,IoT设备可以使用ACL资源判断是否许可该第二配置设备的操作。某一特定资源用于指示IoT设备的状态或功能,例如,某一特定资源可以是IoT设备的开关状态,当第二配置设备请求访问该IoT设备的开关状态时,该IoT设备根据ACL资源确定是否允许该第二配置设备获取自身的开关状态。The second configuration device generates its own device identification and resource information in a self-onboarding process. The resource information includes resource content of the IoT device and resource content of the second configuration device. The credential resource of the IoT device can include the identity credential information of the IoT device, the credential resource of the second configuration device can include the identity credential information of the second configuration device, and the identity credential information can include any of the following: keys, tokens, certificates, Password, PIN (Personal Identification Number, personal identification number) code. When the second configuration device requests access to a specific resource of the IoT device, the IoT device can use the ACL resource to determine whether to permit the operation of the second configuration device. A specific resource is used to indicate the status or function of the IoT device. For example, a specific resource can be the switch state of the IoT device. When the second configuration device requests access to the switch state of the IoT device, the IoT device determines it according to the ACL resource Whether to allow the second configuration device to obtain its own switch state.
第二配置设备将自配置过程中生成的设备标识和资源在云平台上进行备份。相应地,云平台接收第二配置设备的配置信息。The second configuration device backs up the device identification and resources generated in the self-configuration process on the cloud platform. Correspondingly, the cloud platform receives the configuration information of the second configuration device.
步骤202,云平台对配置信息进行备份保存。Step 202: The cloud platform backs up and saves the configuration information.
云平台在接收到第二配置设备发送的配置信息之后,对该配置信息进行备份保存,本申请实施例对云平台备份存储配置信息的存储地址不作限定。After the cloud platform receives the configuration information sent by the second configuration device, it backs up and saves the configuration information. The embodiment of the present application does not limit the storage address of the cloud platform for backing up and storing the configuration information.
步骤203,第一配置设备获取第二配置设备在云平台上备份的配置信息。Step 203: The first configuration device obtains the configuration information backed up on the cloud platform by the second configuration device.
当第二配置设备发生丢失、损坏或更换等情况时,第一配置设备可以从云平台中获取第二配置设备的配置信息。When the second configuration device is lost, damaged or replaced, the first configuration device can obtain the configuration information of the second configuration device from the cloud platform.
步骤204,第一配置设备使用配置信息进行自配置,其中,完成自配置的第一配置设备替代第二配置设备对IoT设备进行管理。Step 204: The first configuration device uses the configuration information to perform self-configuration, where the first configuration device that has completed the self-configuration replaces the second configuration device to manage the IoT device.
在第一配置设备完成自配置之后,原属于第二配置设备所在安全域的IoT设备,切换至第一配置设备所在安全域。After the first configuration device completes the self-configuration, the IoT device that originally belonged to the security domain where the second configuration device is located is switched to the security domain where the first configuration device is located.
通过本方案可以完成配置设备间的切换,使得第一配置设备继承第二配置设备的一切配置信息,从而无论是第二配置设备丢失、损坏、更换都可以完成第二配置设备能力、配置信息的传递,由此保证物联网系统的长期稳定性,消除相关技术中所描述的弊端。Through this solution, the switching between configuration devices can be completed, so that the first configuration device inherits all configuration information of the second configuration device, so that regardless of the loss, damage, or replacement of the second configuration device, the ability and configuration information of the second configuration device can be completed. Transmission, thereby ensuring the long-term stability of the Internet of Things system, eliminating the drawbacks described in related technologies.
综上所述,本申请实施例提供的技术方案中,通过第一配置设备(新配置设备)获取第二配置设备(原配置设备)在云平台上备份的配置信息,并使用该配置信息进行自配置,完成自配置的第一配置设备替代第二配置设备对IoT设备进行管理,相较于相关技术中需要将IoT设备恢复出厂设置,然后通过新配置设备对上述恢复出厂设置后的IoT设备进行配置,从而使得新配置设备可以控制IoT设备,本申请实施例只需要新配置设备从云平台获取原配置设备的配置信息,并根据该配置信息进行自配置,就可以实现新配置设备对IoT设备进行管理,从而简化了为IoT设备更换配置设备的操作,提升了更换配置设备的效率。In summary, in the technical solution provided by the embodiments of the present application, the configuration information backed up by the second configuration device (the original configuration device) on the cloud platform is obtained through the first configuration device (new configuration device), and the configuration information is used to perform Self-configuration, the first configuration device that completes the self-configuration replaces the second configuration device to manage IoT devices. Compared with related technologies, the IoT device needs to be reset to factory settings, and then the new configuration device is used to restore the above-mentioned IoT devices to the factory settings. Perform configuration so that the newly configured device can control the IoT device. In the embodiment of this application, the newly configured device only needs to obtain the configuration information of the original configured device from the cloud platform, and perform self-configuration according to the configuration information, so that the newly configured device can realize the IoT device. The equipment is managed, which simplifies the operation of replacing the configuration device for the IoT device, and improves the efficiency of replacing the configuration device.
在相关技术中,IoT设备不断的发展,不可避免出现IoT设备的损坏和更替,对于一般的IoT设备而言,当发生上述情况时,可以使用配置设备对新的IoT设备进行配置之后就可以继续使用新的IoT设备,但是如果配置设备发生丢失、损坏或者更换后,已经加入同一安全域的设备间还是可以互联互通的,但是之后如果有新的IoT设备,则无法加入到该安全域,也无法与那些IoT设备互联互通。本申请实施例提供的技术方案解决了上述技术问题。In related technologies, the continuous development of IoT devices will inevitably lead to the damage and replacement of IoT devices. For general IoT devices, when the above situation occurs, you can use the configuration device to configure the new IoT device and continue. Use a new IoT device, but if the configuration device is lost, damaged or replaced, the devices that have joined the same security domain can still be interconnected, but if there are new IoT devices later, they cannot join the security domain. Unable to interconnect with those IoT devices. The technical solutions provided in the embodiments of the present application solve the above-mentioned technical problems.
另外,本申请实施例提供的技术方案能够实现新配置设备与原配置设备的顺利交接,使得新配置设备具有原配置设备的配置和能力,并且不会影响其他已经加入安全域的设备。In addition, the technical solution provided by the embodiments of the present application can realize the smooth handover between the newly configured device and the original configured device, so that the newly configured device has the configuration and capabilities of the original configured device, and does not affect other devices that have joined the security domain.
请参考图3,其示出了本申请另一个实施例提供的配置设备更换方法的流程图。该方法可以应用于图1所示的实施环境中,该方法可以包括如下几个步骤:Please refer to FIG. 3, which shows a flowchart of a configuration device replacement method provided by another embodiment of the present application. The method can be applied to the implementation environment shown in Fig. 1, and the method can include the following steps:
步骤301,第二配置设备向云平台发送第二配置设备的配置信息。Step 301: The second configuration device sends configuration information of the second configuration device to the cloud platform.
有关配置信息的介绍说明可参见上文实施例,此处不再赘述。可选地,第二配置设备在云平台中还需要备份存储该第二配置设备对应的用户帐号。For the introduction and description of the configuration information, please refer to the above embodiment, which will not be repeated here. Optionally, the second configuration device also needs to back up and store the user account corresponding to the second configuration device in the cloud platform.
可选地,第二配置设备向云平台发送信息备份请求,信息备份请求通过请求对云平台上的指定类型资源进行操作而完成,信息备份请求中包括配置信息。可选地,信息备份请求中还包括第二配置设备的标识对应的用户帐号。Optionally, the second configuration device sends an information backup request to the cloud platform. The information backup request is completed by requesting to operate a specified type of resource on the cloud platform, and the information backup request includes configuration information. Optionally, the information backup request further includes a user account corresponding to the identifier of the second configuration device.
在本申请实施例中,指定类型资源可以是一个预定义资源,通过对制定类型资源进行操作,表明第二配置设备需要在云平台上备份配置信息。指定类型资源可以表示成oic/sec/credbackup类型资源。oic/sec/credbackup类型资源需要保存第二配置设备的设备标识和资源内容,以及其配置的IoT设备的资源内容。In the embodiment of the present application, the specified type resource may be a predefined resource. By operating the specified type resource, it is indicated that the second configuration device needs to back up the configuration information on the cloud platform. Specified type resources can be expressed as oic/sec/credbackup type resources. The oic/sec/credbackup type resource needs to save the device identification and resource content of the second configuration device, as well as the resource content of the IoT device that it configures.
相应地,云平台接收第二配置设备的配置信息。Correspondingly, the cloud platform receives the configuration information of the second configuration device.
步骤302,云平台对配置信息进行备份保存。Step 302: The cloud platform backs up and saves the configuration information.
云平台需要保存第二配置设备的设备标识和资源信息。可选地,云平台可以在oic/sec/credbackup类型资源中保存第二配置设备的设备标识和资源信息,在/oic/sec/dots/subjects/[deviceID]/cred保存IoT设备的所有者凭证,其中deviceID是指IoT设备的设备标识,用于唯一标识该IoT设备。当然,在其他可能的实现方式中,云平台还可以在其他资源中存储第二配置设备的设备标识和资源信息,本申请实施例对此不作限定。可选地,第二配置设备会将用户帐号和配置信息一起发送给云平台,此时云平台会将配置信息与用户帐号对应保存,同一用户帐号下的配置信息可以在同一资源地址下存储。The cloud platform needs to save the device identification and resource information of the second configuration device. Optionally, the cloud platform can save the device identification and resource information of the second configuration device in the oic/sec/credbackup type resource, and save the owner credential of the IoT device in /oic/sec/dots/subjects/[deviceID]/cred , Where deviceID refers to the device identification of the IoT device, which is used to uniquely identify the IoT device. Of course, in other possible implementation manners, the cloud platform may also store the device identification and resource information of the second configuration device in other resources, which is not limited in the embodiment of the present application. Optionally, the second configuration device sends the user account and configuration information to the cloud platform together. At this time, the cloud platform saves the configuration information corresponding to the user account, and the configuration information under the same user account can be stored under the same resource address.
第二配置设备后续可能还会配置新的IoT设备,以使得新的IoT设备加入第二配置设备所在安全域。此时,第二配置设备需要继续备份因配置新的IoT设备而生成的资源信息,包括新的IoT设备的凭证资源、访问权限资源、DOTS资源。The second configuration device may subsequently configure a new IoT device, so that the new IoT device joins the security domain where the second configuration device is located. At this time, the second configuration device needs to continue to back up the resource information generated by the configuration of the new IoT device, including credential resources, access authority resources, and DOTS resources of the new IoT device.
当第二配置设备发生丢失、损坏或更换情况时,可以执行下述配置更换流程。When the second configuration device is lost, damaged or replaced, the following configuration replacement process can be performed.
步骤303,第一配置设备登录与第二配置设备的设备标识对应的用户帐号。Step 303: The first configuration device logs in a user account corresponding to the device identification of the second configuration device.
当第二配置设备发生丢失或者更换的情况下,用户可能会使用另一个新配置设备(第一配置设备)。 用户在第一配置设备上登录其用户帐号,该用户帐号可以是用户在第二配置设备上登录的用户账号。可选地,与第二配置设备的设备标识对应的用户帐号是指OBT功能所属APP的账号,OBT功能仅是嵌入该APP的一个功能。当第一配置设备登录该用户帐号后,云平台就感知到用户已登录,但是登录的设备非第二配置设备。When the second configuration device is lost or replaced, the user may use another new configuration device (the first configuration device). The user logs in his user account on the first configuration device, and the user account may be a user account that the user logs in on the second configuration device. Optionally, the user account corresponding to the device identifier of the second configuration device refers to the account of the APP to which the OBT function belongs, and the OBT function is only a function embedded in the APP. When the first configuration device logs in to the user account, the cloud platform perceives that the user has logged in, but the logged-in device is not the second configuration device.
步骤304,在第一资源中的第一参数被置位的情况下,第一配置设备采用用户帐号向云平台发送信息获取请求。Step 304: When the first parameter in the first resource is set, the first configuration device uses the user account to send an information acquisition request to the cloud platform.
在本申请实施例中,信息获取请求是第一配置设备获取配置信息的请求,第一资源可以是一个预定义的资源,第一参数用于指示是否恢复其它配置设备备份的配置信息。可选地,第一资源可以是/pstat(provisioning state,准备状态)资源,第一参数可以是该/pstat资源下的onboardreplace参数。/pstat资源用于指示状态迁移(例如,配置完成阶段、正常工作阶段迁移)或支持的证书的方式。可选地,信息获取请求中包括用户帐号。In the embodiment of the present application, the information acquisition request is a request for the first configuration device to obtain configuration information, the first resource may be a predefined resource, and the first parameter is used to indicate whether to restore configuration information backed up by other configuration devices. Optionally, the first resource may be a /pstat (provisioning state) resource, and the first parameter may be an onboardreplace parameter under the /pstat resource. The /pstat resource is used to indicate the state migration (for example, the configuration completion phase, the normal work phase migration) or the supported certificate mode. Optionally, the information acquisition request includes a user account.
用户在第一配置设备的自配置过程中,选择“替换OBT”模式,具体的实现方式是第一配置设备在/pstat资源中增加一个onboardreplace参数(用于标识是否进行恢复前一配置设备的数据(如第二配置设备的配置信息))。如果第一配置设备中的/pstat资源的onboardreplace参数被置位,则表示该第一配置设备需要恢复第二配置设备的备份数据(credreplace资源中的内容)。可选地,onboardreplace参数置为“1”表示恢复第二配置设备备份的配置信息,onboardreplace参数置为“0”表示不恢复第二配置设备备份的配置信息。In the self-configuration process of the first configuration device, the user selects the "Replace OBT" mode. The specific implementation is that the first configuration device adds an onboardreplace parameter to the /pstat resource (used to identify whether to restore the data of the previous configuration device (Such as the configuration information of the second configuration device)). If the onboardreplace parameter of the /pstat resource in the first configuration device is set, it means that the first configuration device needs to restore the backup data (content in the credreplace resource) of the second configuration device. Optionally, setting the onboardreplace parameter to "1" means restoring the configuration information backed up by the second configuration device, and setting the onboardreplace parameter to "0" means not restoring the configuration information backed up by the second configuration device.
需要说明的是,第一配置设备在未完成自配置前不能访问控制IoT设备,但具有访问云平台的能力。It should be noted that the first configuration device cannot access and control the IoT device before self-configuration is completed, but it has the ability to access the cloud platform.
相应地,云平台接收第一配置设备发送的信息获取请求。Correspondingly, the cloud platform receives the information acquisition request sent by the first configuration device.
步骤305,云平台根据用户帐号获取第二配置设备备份保存的配置信息。Step 305: The cloud platform obtains the configuration information backed up and saved by the second configuration device according to the user account.
当云平台接收到第一配置设备发送的信息获取请求时,云平台可以根据用户帐号确定配置信息的存储地址,从而从上述存储地址中获取第二配置设备的配置信息。When the cloud platform receives the information acquisition request sent by the first configuration device, the cloud platform may determine the storage address of the configuration information according to the user account, so as to obtain the configuration information of the second configuration device from the aforementioned storage address.
步骤306,云平台向第一配置设备发送配置信息。Step 306: The cloud platform sends configuration information to the first configuration device.
相应地,第一配置设备接收云平台发送的配置信息。Correspondingly, the first configuration device receives the configuration information sent by the cloud platform.
步骤307,第一配置设备使用配置信息进行自配置;其中,完成自配置的第一配置设备替代第二配置设备对IoT设备进行管理。Step 307: The first configuration device uses the configuration information to perform self-configuration; wherein, the first configuration device that has completed the self-configuration replaces the second configuration device to manage the IoT device.
可选地,第一配置设备可以采用如下方式进行自配置:设置第二配置设备的设备标识,作为第一配置设备的设备标识;将资源信息复制到第一配置设备的对应资源中。Optionally, the first configuration device may perform self-configuration in the following manner: set the device identification of the second configuration device as the device identification of the first configuration device; copy the resource information to the corresponding resources of the first configuration device.
第一配置设备将自身的设备标识设定为第二配置设备的设备标识,该设定包括/doxm(device owner transfer method,设备用户转移方法)资源中的设备标识(Device UUID,Device UUID与Device ID是一个意思)和/d(可发现设备信息)资源(/d资源描述了设备的具体信息,以供其他设备发现自己)中的设备标识,以及第一配置设备中的/cred、/pstat、/acl2中的rowneruuid(资源所有者的ID)设定为第二配置设备的设备标识,并将第二配置设备的备份资源oic/sec/credbackup中的凭证资源和访问权限资源也复制到第一配置设备对应的资源里面。最后是将第二配置设备的oic/sec/dots/subjects/信息也复制到第一配置设备对应的资源里面,该oic/sec/dots/subjects/信息包含了第二配置设备配置的所有IoT设备的所有者凭证信息。The first configuration device sets its own device ID as the device ID of the second configuration device. This setting includes the device ID (Device UUID, Device UUID, and Device) in the /doxm (device owner transfer method, device user transfer method) resource ID is a meaning) and /d (discoverable device information) resource (/d resource describes the specific information of the device for other devices to discover itself) device identification, and /cred, /pstat in the first configuration device , The rowneruuid (the ID of the resource owner) in /acl2 is set as the device identification of the second configuration device, and the credential resource and access authority resource in the backup resource oic/sec/credbackup of the second configuration device are also copied to the first A resource corresponding to the configuration device. Finally, copy the oic/sec/dots/subjects/ information of the second configuration device to the resource corresponding to the first configuration device. The oic/sec/dots/subjects/ information contains all IoT devices configured by the second configuration device. The owner's credential information.
第一配置设备完成自配置之后,会重新向云平台注册,当其注册成功后,云平台完成对第二配置设备的反注册(deregister),自此第二配置设备被踢出原所在安全域。反注册是指云平台在注册第一配置设备之后,删除第二配置设备的注册信息和会话(session)维护信息。注册信息和会话维护信息可以通过DI和IP(Internet Protocol,国际互联网络通讯协定)地址来标识。当第一配置设备注册成功后,云平台会对应保存该第一配置设备的注册信息和会话维护信息。After the first configuration device completes the self-configuration, it will re-register with the cloud platform. After its registration is successful, the cloud platform completes the deregister of the second configuration device. Since then, the second configuration device has been kicked out of the original security domain. . Anti-registration means that the cloud platform deletes the registration information and session maintenance information of the second configuration device after registering the first configuration device. Registration information and session maintenance information can be identified by DI and IP (Internet Protocol) addresses. After the first configuration device is successfully registered, the cloud platform will correspondingly save the registration information and session maintenance information of the first configuration device.
当第一配置设备注册成功后,原属于第二配置设备所在安全域的IoT设备将属于第一配置设备所在安全域,第一配置设备可以对上述IoT设备进行管理。After the first configuration device is successfully registered, the IoT device that originally belonged to the security domain where the second configuration device is located will belong to the security domain where the first configuration device is located, and the first configuration device can manage the aforementioned IoT devices.
综上所述,本申请实施例提供的技术方案中,通过第一配置设备(新配置设备)登录与第二配置设备(原配置设备)的设备标识对应的用户帐号,在第一资源中的第一参数被置位的情况下,采用上述用户帐号向云平台发送信息获取请求,云平台根据用户帐号获取第二配置设备备份保存的配置信息,并向第一配置设备发送该配置信息,第一配置设备使用该配置信息进行自配置,从而简化了为IoT设备更换配置设备的操作,提升了更换配置设备的效率。In summary, in the technical solution provided by the embodiments of the present application, the user account corresponding to the device identifier of the second configuration device (the original configuration device) is logged in through the first configuration device (new configuration device), and the user account in the first resource is When the first parameter is set, the aforementioned user account is used to send an information acquisition request to the cloud platform, and the cloud platform acquires the configuration information backed up and saved by the second configuration device according to the user account, and sends the configuration information to the first configuration device. A configuration device uses the configuration information to configure itself, thereby simplifying the operation of replacing the configuration device for the IoT device and improving the efficiency of replacing the configuration device.
另外,本实施例适用于原配置设备在更换或丢失情况下的配置设备更换,即便原配置设备丢失,也可以实现新配置设备对IoT设备的管理。In addition, this embodiment is suitable for the replacement of the configuration device when the original configuration device is replaced or lost. Even if the original configuration device is lost, the management of the IoT device by the new configuration device can be realized.
在上文图3所示的实施例中,介绍了第二配置设备在丢失或更换的情况下的配置设备更换方法的流程;下面,通过图4和图5所示的实施例对第二配置设备在更换情况下的配置设备更换方法进行介绍说明。In the embodiment shown in FIG. 3 above, the procedure of the method for replacing the configuration device in the case of loss or replacement of the second configuration device is introduced; in the following, the second configuration device is compared with the embodiment shown in FIG. 4 and FIG. 5 In the case of equipment replacement, the configuration equipment replacement method is introduced and explained.
请参考图4,其示出了本申请另一个实施例提供的配置设备更换方法的流程图。该方法可以应用于图1所示的实施环境中,该方法可以包括如下几个步骤:Please refer to FIG. 4, which shows a flowchart of a configuration device replacement method provided by another embodiment of the present application. The method can be applied to the implementation environment shown in Fig. 1, and the method can include the following steps:
步骤401,第二配置设备向云平台发送第二配置设备的配置信息。Step 401: The second configuration device sends configuration information of the second configuration device to the cloud platform.
有关配置信息的介绍说明可参见上文实施例,此处不再赘述。For the introduction and description of the configuration information, please refer to the above embodiment, which will not be repeated here.
可选地,第二配置设备向云平台发送信息备份请求,信息备份请求通过请求对云平台上的指定类型资源进行操作而完成,信息备份请求中包括配置信息;其中,指定类型资源是用于指示对配置信息进行备份保存的预定义资源。Optionally, the second configuration device sends an information backup request to the cloud platform. The information backup request is completed by requesting operations on a specified type of resource on the cloud platform. The information backup request includes configuration information; wherein the specified type of resource is used for Indicates a predefined resource for backing up and saving configuration information.
相应地,云平台接收第二配置设备的配置信息。Correspondingly, the cloud platform receives the configuration information of the second configuration device.
步骤402,云平台对配置信息进行备份保存。Step 402: The cloud platform backs up and saves the configuration information.
有关步骤401至步骤402的介绍说明可参见上文实施例,此处不再赘述。For the introduction and description of step 401 to step 402, please refer to the above embodiment, which will not be repeated here.
步骤403,第二配置设备在发现第一配置设备之后,向第一配置设备发送请求消息。Step 403: After discovering the first configuration device, the second configuration device sends a request message to the first configuration device.
当第二配置设备更换的情况下,用户可能使用另一个新的配置设备(第一配置设备)。第二配置设备通过设备发现的方式发现第一配置设备,并发起配置更换流程。可选地,第二配置设备广播报文,该报文中携带第二配置设备的设备标识,第一配置设备在接收到第二配置设备广播的报文后,向第二配置设备定向发送(单播)响应信息,以使得第二配置设备发现第一配置设备。When the second configuration device is replaced, the user may use another new configuration device (the first configuration device). The second configuration device discovers the first configuration device through device discovery, and initiates a configuration replacement process. Optionally, the second configuration device broadcasts a message, which carries the device identifier of the second configuration device, and after receiving the message broadcast by the second configuration device, the first configuration device sends the message directed to the second configuration device ( Unicast) response information, so that the second configuration device discovers the first configuration device.
在本申请实施例中,请求消息是第二配置设备请求对第一配置设备的第一资源中的第一参数进行置位的消息,第一参数用于标识是否恢复其它配置设备备份的配置信息。可选地,第一资源可以是/pstat(provisioning state,准备状态)资源,第一参数可以是onboardreplace参数。In the embodiment of the present application, the request message is a message that the second configuration device requests to set the first parameter in the first resource of the first configuration device, and the first parameter is used to identify whether to restore the configuration information backed up by other configuration devices . Optionally, the first resource may be a /pstat (provisioning state) resource, and the first parameter may be an onboardreplace parameter.
第二配置设备设定第一配置设备的/pstat资源为“替换OBT”,在/pstat资源中增加一个onboardreplace参数,用于标识是否进行恢复前一配置设备的数据(第二配置设备的配置信息)。在建立连接过程中第二配置设备获取第一配置设备的epi(endpoint information,设备端口信息)。epi用于指示第一配置设备的IP地址和端口号。The second configuration device sets the /pstat resource of the first configuration device to "Replace OBT", and an onboardreplace parameter is added to the /pstat resource to identify whether to restore the data of the previous configuration device (configuration information of the second configuration device ). In the process of establishing a connection, the second configuration device obtains epi (endpoint information, device port information) of the first configuration device. epi is used to indicate the IP address and port number of the first configuration device.
相应地,第一配置设备接收第二配置设备发送的请求消息。Correspondingly, the first configuration device receives the request message sent by the second configuration device.
步骤404,第一配置设备根据请求消息对第一参数进行置位,并向第二配置设备发送响应消息。Step 404: The first configuration device sets the first parameter according to the request message, and sends a response message to the second configuration device.
示意性地,第一配置设备将onboardreplace参数从“0”置为“1”后,向第二配置设备发送响应消息,响应消息用于指示第一参数已被置位。Illustratively, after setting the onboardreplace parameter from "0" to "1", the first configuration device sends a response message to the second configuration device. The response message is used to indicate that the first parameter has been set.
相应地,第二配置设备接收第一配置设备发送的响应消息。Correspondingly, the second configuration device receives the response message sent by the first configuration device.
步骤405,第二配置设备向云平台发送信息发送请求。Step 405: The second configuration device sends an information sending request to the cloud platform.
在本申请实施例中,信息发送请求是第二配置设备请求云平台向第一配置设备发送配置信息的请求,信息发送请求中包括第一配置设备的设备端口信息(epi)。第二配置设备向云平台报告第一配置设备的epi,epi可以包括第一配置设备的IP地址和端口号。In the embodiment of the present application, the information sending request is a request for the second configuration device to request the cloud platform to send configuration information to the first configuration device, and the information sending request includes the device port information (epi) of the first configuration device. The second configuration device reports the epi of the first configuration device to the cloud platform, and the epi may include the IP address and port number of the first configuration device.
相应地,云平台接收第二配置设备发送的信息发送请求。云平台应该保存一个专门用于配置replace(配置替换)的资源,可以是oic/sec/credbackup资源中的参数configTarget(用于记录IP地址的参数):IP地址,设定了该值之后云平台开始执行配置替换流程。云平台向第一配置设备的IP地址和端口号发送第二配置设备的配置信息。Correspondingly, the cloud platform receives the information sending request sent by the second configuration device. The cloud platform should save a resource dedicated to configuration replacement (configuration replacement), which can be the parameter configTarget (parameter used to record the IP address) in the oic/sec/credbackup resource: IP address, after setting this value, the cloud platform Start the configuration replacement process. The cloud platform sends the configuration information of the second configuration device to the IP address and port number of the first configuration device.
步骤406,云平台根据信息发送请求,获取第二配置设备备份保存的配置信息。Step 406: The cloud platform obtains the configuration information backed up and saved by the second configuration device according to the information sending request.
当云平台接收到第二配置设备发送的信息发送请求时,云平台可以根据第二配置设备的设备端口信息确定配置信息的存储地址,从而从上述存储地址中获取第二配置设备的配置信息。When the cloud platform receives the information sending request sent by the second configuration device, the cloud platform may determine the storage address of the configuration information according to the device port information of the second configuration device, so as to obtain the configuration information of the second configuration device from the above storage address.
步骤407,云平台根据设备端口信息,向第一配置设备发送配置信息。Step 407: The cloud platform sends configuration information to the first configuration device according to the device port information.
云平台根据第一配置设备的IP地址和端口号,向第一配置设备发送配置信息。The cloud platform sends configuration information to the first configuration device according to the IP address and port number of the first configuration device.
相应地,第一配置设备接收云平台基于第一配置设备的设备端口信息,发送的配置信息。Correspondingly, the first configuration device receives the configuration information sent by the cloud platform based on the device port information of the first configuration device.
步骤408,第一配置设备使用配置信息进行自配置;其中,完成自配置的第一配置设备替代第二配置设备对IoT设备进行管理。Step 408: The first configuration device uses the configuration information to perform self-configuration; wherein, the first configuration device that has completed the self-configuration replaces the second configuration device to manage the IoT device.
有关步骤408的介绍说明可参见上文实施例,此处不再赘述。For the introduction and description of step 408, please refer to the above embodiment, which will not be repeated here.
综上所述,本申请实施例提供的技术方案中,通过第二配置设备(原配置设备)向云平台发送信息发送请求,云平台根据信息发送请求,获取第二配置设备备份保存的配置信息,根据设备端口信息,向第一配置设备(新配置设备)发送配置信息,以使得第一配置设备根据该配置信息自配置,从而在完成自配置后管理IoT设备。本实施例主要由原配置设备发起配置更换流程,实现原配置设备与新配置设备的顺利交接,使得新配置设备具有原配置设备的配置和能力。In summary, in the technical solution provided by the embodiments of the present application, the second configuration device (original configuration device) sends an information sending request to the cloud platform, and the cloud platform obtains the configuration information backed up and saved by the second configuration device according to the information sending request. , According to the device port information, send configuration information to the first configuration device (new configuration device), so that the first configuration device self-configures according to the configuration information, so as to manage the IoT device after the self-configuration is completed. In this embodiment, the original configuration device initiates the configuration replacement process to realize the smooth handover between the original configuration device and the new configuration device, so that the new configuration device has the configuration and capabilities of the original configuration device.
在上文图4所示的实施例中,介绍了第一配置设备被动向云平台获取第一配置设备的配置信息;下面,通过图5所示实施例,对第一配置设备主动向云平台获取第二配置设备的配置信息的流程进行介绍说明。In the embodiment shown in FIG. 4 above, it is introduced that the first configuration device passively obtains the configuration information of the first configuration device from the cloud platform; below, through the embodiment shown in FIG. 5, the first configuration device actively sends the configuration information to the cloud platform. The process of obtaining the configuration information of the second configuration device is introduced and explained.
请参考图5,其示出了本申请又一个实施例提供的配置设备更换方法的流程图。该方法可以应用于图1所示的实施环境中,该方法可以包括如下几个步骤:Please refer to FIG. 5, which shows a flowchart of a configuration device replacement method provided by another embodiment of the present application. The method can be applied to the implementation environment shown in Fig. 1, and the method can include the following steps:
步骤501,第二配置设备向云平台发送第二配置设备的配置信息。Step 501: The second configuration device sends configuration information of the second configuration device to the cloud platform.
相应地,云平台接收第二配置设备的配置信息。Correspondingly, the cloud platform receives the configuration information of the second configuration device.
步骤502,云平台对配置信息进行备份保存。Step 502: The cloud platform backs up and saves the configuration information.
步骤503,在发现第一配置设备之后,第二配置设备向第一配置设备发送请求消息。Step 503: After the first configuration device is discovered, the second configuration device sends a request message to the first configuration device.
相应地,第一配置设备接收第二配置设备发送的请求消息。Correspondingly, the first configuration device receives the request message sent by the second configuration device.
步骤504,第一配置设备根据请求消息对第一参数进行置位,并向第二配置设备发送响应消息。Step 504: The first configuration device sets the first parameter according to the request message, and sends a response message to the second configuration device.
相应地,第二配置设备接收第一配置设备发送的响应消息,响应消息用于指示第一参数已被置位。Correspondingly, the second configuration device receives the response message sent by the first configuration device, and the response message is used to indicate that the first parameter has been set.
有关步骤501至步骤504的介绍说明可参见上文实施例,此处不再赘述。For the introduction and description of step 501 to step 504, please refer to the above embodiment, which will not be repeated here.
步骤505,第二配置设备向第一配置设备发送信息获取地址。Step 505: The second configuration device sends an information acquisition address to the first configuration device.
在本申请实施例中,信息获取地址是用于获取配置信息的地址。云平台对第二配置设备的配置信息进行备份保存后,会将该配置信息的地址发送给第二配置设备。当第二配置设备接收到响应消息后,向第一配置设备发送信息获取地址。In the embodiment of the present application, the information acquisition address is an address used to acquire configuration information. After the cloud platform backs up and saves the configuration information of the second configuration device, it will send the address of the configuration information to the second configuration device. After receiving the response message, the second configuration device sends an information acquisition address to the first configuration device.
相应地,第一配置设备接收第二配置设备发送的信息获取地址。Correspondingly, the first configuration device receives the information acquisition address sent by the second configuration device.
步骤506,第一配置设备根据信息获取地址,向云平台发送信息获取请求。Step 506: The first configuration device sends an information acquisition request to the cloud platform according to the information acquisition address.
在本申请实施例中,信息获取请求是第一配置设备获取配置信息的请求。可选地,信息获取请求中携带信息获取地址,第一配置设备向云平台发送信息获取地址,以使得云平台可以直接从该信息获取地址中获取配置信息。In this embodiment of the present application, the information acquisition request is a request for the first configuration device to acquire configuration information. Optionally, the information acquisition request carries the information acquisition address, and the first configuration device sends the information acquisition address to the cloud platform, so that the cloud platform can directly acquire the configuration information from the information acquisition address.
相应地,云平台接收第一配置设备基于信息获取地址发送的信息获取请求。Correspondingly, the cloud platform receives the information acquisition request sent by the first configuration device based on the information acquisition address.
步骤507,云平台根据信息获取请求,获取第二配置设备备份保存的配置信息。Step 507: The cloud platform obtains the configuration information backed up and saved by the second configuration device according to the information obtaining request.
云平台可以根据信息获取地址,从该信息获取地址中获取第二配置设备的配置信息。The cloud platform may obtain the address according to the information, and obtain the configuration information of the second configuration device from the information obtaining address.
步骤508,云平台向第一配置设备发送配置信息。Step 508: The cloud platform sends configuration information to the first configuration device.
相应地,第一配置设备从云平台获取配置信息。Correspondingly, the first configuration device obtains configuration information from the cloud platform.
步骤509,第一配置设备使用配置信息进行自配置;其中,完成自配置的第一配置设备替代第二配置设备对IoT设备进行管理。Step 509: The first configuration device uses the configuration information to perform self-configuration; wherein, the first configuration device that has completed the self-configuration replaces the second configuration device to manage the IoT device.
有关步骤509的介绍说明可参见上文实施例,此处不再赘述。For the introduction and description of step 509, please refer to the above embodiment, which will not be repeated here.
综上所述,本申请实施例提供的技术方案中,通过第一配置设备(新配置设备)接收第二配置设备(原配置设备)发送的信息获取地址,并基于信息获取地址向云平台发送信息获取请求。云平台根据信息获取请求获取第二配置设备的配置信息,向第一配置设备发送配置信息,以使得第一配置设备根据该配置信息进行自配置,从而在完成自配置后替代第二配置设备对IoT设备进行管理。本实施例主要由新配置设备发起配置更换流程,实现了新配置设备主动获取配置信息。In summary, in the technical solution provided by the embodiments of the present application, the first configuration device (new configuration device) receives the information acquisition address sent by the second configuration device (original configuration device), and sends it to the cloud platform based on the information acquisition address Information acquisition request. The cloud platform obtains the configuration information of the second configuration device according to the information obtaining request, and sends the configuration information to the first configuration device, so that the first configuration device performs self-configuration according to the configuration information, so as to replace the second configuration device pair after the self-configuration is completed. IoT devices are managed. In this embodiment, the configuration replacement process is mainly initiated by the newly configured device, which realizes that the newly configured device actively obtains configuration information.
另外,新配置设备基于信息获取地址向云平台发送信息获取请求,提高了配置信息的获取效率。In addition, the newly configured device sends an information acquisition request to the cloud platform based on the information acquisition address, which improves the efficiency of acquiring configuration information.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of this application, which can be used to implement the method embodiments of this application. For details that are not disclosed in the device embodiments of this application, please refer to the method embodiments of this application.
请参考图6,其示出了本申请一个实施例提供的配置设备更换装置的框图。该装置具有实现上述第一配置设备侧的方法示例的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该装置可以是上文介绍的第一配置设备,也可以设置在第一配置设备中。如图6所示,该装置600可以包括:信息获取模块610和自配置模块620。Please refer to FIG. 6, which shows a block diagram of a configuration device replacement apparatus provided by an embodiment of the present application. The device has the function of realizing the above-mentioned example of the first configuration device side method, and the function can be realized by hardware, or by hardware executing corresponding software. The device may be the first configuration device described above, or it may be set in the first configuration device. As shown in FIG. 6, the device 600 may include: an information acquisition module 610 and a self-configuration module 620.
信息获取模块610,用于获取第二配置设备在云平台上备份的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容。The information acquiring module 610 is configured to acquire the configuration information backed up by the second configuration device on the cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices.
自配置模块620,用于使用所述配置信息进行自配置,其中,完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。The self-configuration module 620 is configured to use the configuration information to perform self-configuration, wherein the first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device.
通过第一配置设备(新配置设备)获取第二配置设备(原配置设备)在云平台上备份的配置信息,并使用该配置信息进行自配置,完成自配置的第一配置设备替代第二配置设备对IoT设备进行管理,相较于相关技术中需要将IoT设备恢复出厂设置,然后通过新配置设备对上述恢复出厂设置后的IoT设备进行配置,从而使得新配置设备可以控制IoT设备,本申请实施例只需要新配置设备从云平台获取原配置设备的配置信息,并根据该配置信息进行自配置,就可以实现新配置设备对IoT设备进行管理,从而简化了为IoT设备更换配置设备的操作,提升了更换配置设备的效率。Obtain the configuration information backed up by the second configuration device (original configuration device) on the cloud platform through the first configuration device (new configuration device), and use the configuration information for self-configuration to complete the self-configuration of the first configuration device instead of the second configuration The device manages the IoT device. Compared with the related technology, the IoT device needs to be reset to the factory settings, and then the new configuration device is used to configure the above-mentioned IoT device after the factory setting is restored, so that the new configuration device can control the IoT device. This application The embodiment only needs the new configuration device to obtain the configuration information of the original configuration device from the cloud platform and perform self-configuration according to the configuration information, so that the new configuration device can manage the IoT device, thereby simplifying the operation of replacing the configuration device for the IoT device , Improve the efficiency of replacing configuration equipment.
可选地,所述信息获取模块610,用于:Optionally, the information acquisition module 610 is configured to:
登录与所述第二配置设备的设备标识对应的用户帐号;Log in to the user account corresponding to the device identifier of the second configuration device;
在第一资源中的第一参数被置位的情况下,采用所述用户帐号向所述云平台发送信息获取请求,所述信息获取请求是所述第一配置设备获取所述配置信息的请求,When the first parameter in the first resource is set, the user account is used to send an information acquisition request to the cloud platform, where the information acquisition request is a request for the first configuration device to acquire the configuration information ,
接收所述云平台发送的所述配置信息。Receiving the configuration information sent by the cloud platform.
可选地,所述信息获取模块610,用于:Optionally, the information acquisition module 610 is configured to:
接收所述第二配置设备发送的请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;Receiving a request message sent by the second configuration device, where the request message is a message that the second configuration device requests to set a first parameter in the first resource of the first configuration device, the first The parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
根据所述请求消息对所述第一参数进行置位,并向所述第二配置设备发送响应消息;Setting the first parameter according to the request message, and sending a response message to the second configuration device;
接收所述云平台基于所述第一配置设备的设备端口信息,发送的所述配置信息。Receiving the configuration information sent by the cloud platform based on the device port information of the first configuration device.
可选地,所述信息获取模块610,用于:Optionally, the information acquisition module 610 is configured to:
接收所述第二配置设备发送的请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;Receiving a request message sent by the second configuration device, where the request message is a message that the second configuration device requests to set a first parameter in the first resource of the first configuration device, the first The parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
根据所述请求消息对所述第一参数进行置位,并向所述第二配置设备发送响应消息;Setting the first parameter according to the request message, and sending a response message to the second configuration device;
接收所述第二配置设备发送的信息获取地址,所述信息获取地址是用于获取所述配置信息的地址;Receiving an information acquisition address sent by the second configuration device, where the information acquisition address is an address used to acquire the configuration information;
根据所述信息获取地址,从所述云平台获取所述配置信息。According to the information acquisition address, the configuration information is acquired from the cloud platform.
可选地,所述自配置模块620,用于:Optionally, the self-configuration module 620 is configured to:
设置所述第二配置设备的设备标识,作为所述第一配置设备的设备标识;Setting the device identifier of the second configuration device as the device identifier of the first configuration device;
将所述资源信息复制到所述第一配置设备的对应资源中。Copy the resource information to the corresponding resource of the first configuration device.
可选地,所述IoT设备的资源内容包括以下至少一项:所述IoT设备的凭证资源、所述IoT设备的访问权限资源、所述IoT设备的设备用户转移服务DOTS资源;Optionally, the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access permission resources of the IoT device, and device user transfer service DOTS resources of the IoT device;
所述IoT设备的凭证资源用于在所述IoT设备与其它设备建立连接时进行鉴权;The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
所述IoT设备的访问权限资源用于所述IoT设备对其它设备进行访问控制;The access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
所述IoT设备的DOTS资源用于记录所述IoT设备的所有者凭证。The DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
可选地,所述资源信息还包括所述第二配置设备的资源内容,所述第二配置设备的资源内容包括以下至少一项:所述第二配置设备的凭证资源、所述第二配置设备的访问权限资源;Optionally, the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and the second configuration Access authority resources of the device;
所述第二配置设备的凭证资源用于在所述第二配置设备与其它设备建立连接时进行鉴权;The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
所述第二配置设备的访问权限资源用于所述第二配置设备对其它设备进行访问控制。The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
请参考图7,其示出了本申请另一个实施例提供的配置设备更换装置的框图。该装置具有实现上述云平台侧的方法示例的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该装置可以是上文介绍的云平台,也可以设置在云平台中。如图7所示,该装置700可以包括:信息接收模块710、信息保存模块720和信息发送模块730。Please refer to FIG. 7, which shows a block diagram of a configuration device replacement apparatus provided by another embodiment of the present application. The device has the function of realizing the above-mentioned method example on the cloud platform side, and the function can be realized by hardware, or by hardware executing corresponding software. The device can be the cloud platform introduced above, or can be set in the cloud platform. As shown in FIG. 7, the apparatus 700 may include: an information receiving module 710, an information storage module 720, and an information sending module 730.
信息接收模块710,用于接收第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容。The information receiving module 710 is configured to receive configuration information of a second configuration device, where the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device configuring an IoT device The content of the resource generated at the time.
信息保存模块720,用于对所述配置信息进行备份保存。The information saving module 720 is configured to back up and save the configuration information.
信息发送模块730,用于向第一配置设备发送所述配置信息,其中,使用所述配置信息完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。The information sending module 730 is configured to send the configuration information to a first configuration device, where the first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
通过第一配置设备(新配置设备)获取第二配置设备(原配置设备)在云平台上备份的配置信息,并使用该配置信息进行自配置,完成自配置的第一配置设备替代第二配置设备对IoT设备进行管理,相较于相关技术中需要将IoT设备恢复出厂设置,然后通过新配置设备对上述恢复出厂设置后的IoT设备进行配置,从而使得新配置设备可以控制IoT设备,本申请实施例只需要新配置设备从云平台获取原配置设备的配置信息,并根据该配置信息进行自配置,就可以实现新配置设备对IoT设备进行管理,从而简化了为IoT设备更换配置设备的操作,提升了更换配置设备的效率。Obtain the configuration information backed up by the second configuration device (original configuration device) on the cloud platform through the first configuration device (new configuration device), and use the configuration information for self-configuration to complete the self-configuration of the first configuration device instead of the second configuration The device manages the IoT device. Compared with the related technology, the IoT device needs to be reset to the factory settings, and then the new configuration device is used to configure the above-mentioned IoT device after the factory setting is restored, so that the new configuration device can control the IoT device. This application The embodiment only needs the new configuration device to obtain the configuration information of the original configuration device from the cloud platform and perform self-configuration according to the configuration information, so that the new configuration device can manage the IoT device, thereby simplifying the operation of replacing the configuration device for the IoT device , Improve the efficiency of replacing configuration equipment.
可选地,所述信息发送模块730,用于:Optionally, the information sending module 730 is configured to:
接收所述第一配置设备发送的信息获取请求,所述信息获取请求是所述第一配置设备获取所述配置信息的请求,所述信息获取请求中包括所述第二配置设备的设备标识对应的用户帐号;Receive an information acquisition request sent by the first configuration device, where the information acquisition request is a request for the first configuration device to acquire the configuration information, and the information acquisition request includes the device identification corresponding to the second configuration device User account;
根据所述用户帐号获取所述第二配置设备备份保存的所述配置信息;Acquiring, according to the user account, the configuration information that is backed up and saved by the second configuration device;
向所述第一配置设备发送所述配置信息。Sending the configuration information to the first configuration device.
可选地,所述信息发送模块730,用于:Optionally, the information sending module 730 is configured to:
接收所述第二配置设备发送的信息发送请求,所述信息发送请求是所述第二配置设备请求所述云平台向所述第一配置设备发送所述配置信息的请求,所述信息发送请求中包括所述第一配置设备的设备端口信息;Receiving an information sending request sent by the second configuration device, where the information sending request is a request by the second configuration device to request the cloud platform to send the configuration information to the first configuration device, the information sending request Includes the device port information of the first configuration device;
根据所述信息发送请求,获取所述第二配置设备备份保存的所述配置信息;Acquiring, according to the information sending request, the configuration information that is backed up and saved by the second configuration device;
根据所述设备端口信息,向所述第一配置设备发送所述配置信息。Sending the configuration information to the first configuration device according to the device port information.
可选地,所述信息发送模块730,用于:Optionally, the information sending module 730 is configured to:
接收所述第一配置设备基于信息获取地址发送的信息获取请求,所述信息获取请求是所述第一配置设备获取所述配置信息的请求,所述信息获取地址是用于获取所述配置信息的地址;Receive an information acquisition request sent by the first configuration device based on an information acquisition address, where the information acquisition request is a request for the first configuration device to acquire the configuration information, and the information acquisition address is used to acquire the configuration information the address of;
根据所述信息获取请求,获取所述第二配置设备备份保存的所述配置信息;Obtaining, according to the information obtaining request, the configuration information that is backed up and saved by the second configuration device;
向所述第一配置设备发送所述配置信息。Sending the configuration information to the first configuration device.
可选地,所述装置700,还包括:信息删除模块(图中未示出)。Optionally, the device 700 further includes: an information deletion module (not shown in the figure).
信息删除模块,用于在注册所述第一配置设备之后,删除所述第二配置设备的注册信息和会话维护信息。The information deletion module is configured to delete the registration information and session maintenance information of the second configuration device after registering the first configuration device.
可选地,所述IoT设备的资源内容包括以下至少一项:所述IoT设备的凭证资源、所述IoT设备的访问权限资源、所述IoT设备的设备用户转移服务DOTS资源;Optionally, the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and device user transfer service DOTS resources of the IoT device;
所述IoT设备的凭证资源用于在所述IoT设备与其它设备建立连接时进行鉴权;The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
所述IoT设备的访问权限资源用于所述IoT设备对其它设备进行访问控制;The access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
所述IoT设备的DOTS资源用于记录所述IoT设备的所有者凭证。The DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
可选地,所述资源信息还包括所述第二配置设备的资源内容,所述第二配置设备的资源内容包括以下至少一项:所述第二配置设备的凭证资源、所述第二配置设备的访问权限资源;Optionally, the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and the second configuration Access authority resources of the device;
所述第二配置设备的凭证资源用于在所述第二配置设备与其它设备建立连接时进行鉴权;The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
所述第二配置设备的访问权限资源用于所述第二配置设备对其它设备进行访问控制。The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
请参考图8,其示出了本申请又一个实施例提供的配置设备更换装置的框图。该装置具有实现上述第二配置设备侧的方法示例的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该装置可以是上文介绍的第二配置设备,也可以设置在第二配置设备中。如图8所示,该装置800可以包括:信息发送模块810。Please refer to FIG. 8, which shows a block diagram of a configuration device replacement apparatus provided by another embodiment of the present application. The device has the function of realizing the above-mentioned example of the second configuration device side method, and the function can be realized by hardware, or by hardware executing corresponding software. The device can be the second configuration device described above, or can be set in the second configuration device. As shown in FIG. 8, the device 800 may include: an information sending module 810.
信息发送模块810,用于向云平台发送所述第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The information sending module 810 is configured to send configuration information of the second configuration device to the cloud platform, where the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices;
其中,使用所述配置信息完成自配置的第一配置设备替代所述第二配置设备对所述IoT设备进行管理。Wherein, a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
通过第一配置设备(新配置设备)获取第二配置设备(原配置设备)在云平台上备份的配置信息,并使用该配置信息进行自配置,完成自配置的第一配置设备替代第二配置设备对IoT设备进行管理,相较于相关技术中需要将IoT设备恢复出厂设置,然后通过新配置设备对上述恢复出厂设置后的IoT设备进行配置,从而使得新配置设备可以控制IoT设备,本申请实施例只需要新配置设备从云平台获取原配置设备的配置信息,并根据该配置信息进行自配置,就可以实现新配置设备对IoT设备进行管理,从而简化了为IoT设备更换配置设备的操作,提升了更换配置设备的效率。Obtain the configuration information backed up by the second configuration device (original configuration device) on the cloud platform through the first configuration device (new configuration device), and use the configuration information for self-configuration to complete the self-configuration of the first configuration device instead of the second configuration The device manages the IoT device. Compared with the related technology, the IoT device needs to be reset to the factory settings, and then the new configuration device is used to configure the above-mentioned IoT device after the factory setting is restored, so that the new configuration device can control the IoT device. This application The embodiment only needs the new configuration device to obtain the configuration information of the original configuration device from the cloud platform and perform self-configuration according to the configuration information, so that the new configuration device can manage the IoT device, thereby simplifying the operation of replacing the configuration device for the IoT device , Improve the efficiency of replacing configuration equipment.
可选地,所述信息发送模块810,用于:Optionally, the information sending module 810 is configured to:
向所述云平台发送信息备份请求,所述信息备份请求通过请求对所述云平台上的指定类型资源进行操作而完成,所述信息备份请求中包括所述配置信息;Sending an information backup request to the cloud platform, where the information backup request is completed by requesting operations on specified types of resources on the cloud platform, and the information backup request includes the configuration information;
其中,所述指定类型资源是用于指示对所述配置信息进行备份保存的预定义资源。。Wherein, the specified type resource is a predefined resource used to instruct to backup and save the configuration information. .
可选地,所述装置800,还包括:消息发送模块、消息接收模块、请求发送模块(图中未示出)。Optionally, the device 800 further includes: a message sending module, a message receiving module, and a request sending module (not shown in the figure).
消息发送模块,用于在发现所述第一配置设备之后,向所述第一配置设备发送请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;The message sending module is configured to send a request message to the first configuration device after the first configuration device is discovered, where the request message is that the second configuration device requests the first resource for the first configuration device A message in which the first parameter is set in, the first parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
消息接收模块,用于接收所述第一配置设备发送的响应消息,所述响应消息用于指示所述第一参数已被置位;A message receiving module, configured to receive a response message sent by the first configuration device, where the response message is used to indicate that the first parameter has been set;
请求发送模块,用于向所述云平台发送信息发送请求,所述信息发送请求是所述第二配置设备请求所述云平台向所述第一配置设备发送所述配置信息的请求,所述信息发送请求中包括所述第一配置设备的设备端口信息。The request sending module is configured to send an information sending request to the cloud platform, where the information sending request is a request for the second configuration device to request the cloud platform to send the configuration information to the first configuration device, and The information sending request includes the device port information of the first configuration device.
可选地,所述装置800,还包括:消息发送模块、消息接收模块、地址发送模块(图中未示出)。Optionally, the device 800 further includes: a message sending module, a message receiving module, and an address sending module (not shown in the figure).
消息发送模块,用于在发现所述第一配置设备之后,向所述第一配置设备发送请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;The message sending module is configured to send a request message to the first configuration device after the first configuration device is discovered, where the request message is that the second configuration device requests the first resource for the first configuration device A message in which the first parameter is set in, the first parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
消息接收模块,用于接收所述第一配置设备发送的响应消息,所述响应消息用于指示所述第一参数已被置位;A message receiving module, configured to receive a response message sent by the first configuration device, where the response message is used to indicate that the first parameter has been set;
地址发送模块,用于向所述第一配置设备发送信息获取地址,所述信息获取地址是用于获取所述配置信息的地址。The address sending module is configured to send an information acquisition address to the first configuration device, where the information acquisition address is an address used to acquire the configuration information.
可选地,所述IoT设备的资源内容包括以下至少一项:所述IoT设备的凭证资源、所述IoT设备的访 问权限资源、所述IoT设备的设备用户转移服务DOTS资源;Optionally, the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access permission resources of the IoT device, and device user transfer service DOTS resources of the IoT device;
所述IoT设备的凭证资源用于在所述IoT设备与其它设备建立连接时进行鉴权;The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
所述IoT设备的访问权限资源用于所述IoT设备对其它设备进行访问控制;The access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
所述IoT设备的DOTS资源用于记录所述IoT设备的所有者凭证。The DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
可选地,所述资源信息还包括所述第二配置设备的资源内容,所述第二配置设备的资源内容包括以下至少一项:所述第二配置设备的凭证资源、所述第二配置设备的访问权限资源;Optionally, the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and the second configuration Access authority resources of the device;
所述第二配置设备的凭证资源用于在所述第二配置设备与其它设备建立连接时进行鉴权;The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
所述第二配置设备的访问权限资源用于所述第二配置设备对其它设备进行访问控制。The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
需要说明的一点是,上述实施例提供的装置在实现其功能时,仅以上述各个功能模块的划分进行举例说明,实际应用中,可以根据实际需要而将上述功能分配由不同的功能模块完成,即将设备的内容结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that, when the device provided in the above embodiment realizes its functions, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be allocated by different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the foregoing embodiment, the specific manner in which each module performs operation has been described in detail in the embodiment of the method, and detailed description will not be given here.
请参考图9,其示出了本申请一个实施例提供的配置设备900的结构示意图,该配置设备900可以包括:处理器901、接收器902、发射器903、存储器904和总线905。Please refer to FIG. 9, which shows a schematic structural diagram of a configuration device 900 provided by an embodiment of the present application. The configuration device 900 may include a processor 901, a receiver 902, a transmitter 903, a memory 904 and a bus 905.
处理器901包括一个或者一个以上处理核心,处理器901通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。The processor 901 includes one or more processing cores, and the processor 901 executes various functional applications and information processing by running software programs and modules.
接收器902和发射器903可以实现为一个通信组件,该通信组件可以是一块通信芯片。The receiver 902 and the transmitter 903 may be implemented as a communication component, and the communication component may be a communication chip.
存储器904通过总线905与处理器901相连。The memory 904 is connected to the processor 901 through the bus 905.
存储器904可用于存储计算机程序,处理器901用于执行该计算机程序,以实现上述方法实施例中的第一配置设备执行的各个步骤或第二配置设备执行的各个步骤。The memory 904 may be used to store a computer program, and the processor 901 is used to execute the computer program to implement each step performed by the first configuration device or each step performed by the second configuration device in the foregoing method embodiment.
此外,存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:磁盘或光盘,电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),静态随时存取存储器(SRAM),只读存储器(ROM),磁存储器,快闪存储器,可编程只读存储器(PROM)。In addition, the memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof. The volatile or non-volatile storage device includes, but is not limited to: magnetic disks or optical disks, electrically erasable and programmable Read-only memory (EEPROM), erasable programmable read-only memory (EPROM), static anytime access memory (SRAM), read-only memory (ROM), magnetic memory, flash memory, programmable read-only memory (PROM) .
在示意性实施例中,所述第一配置设备包括处理器、存储器和收发器,该收发器可以包括接收器和发射器,接收器用于接收信息,发射器用于发送信息。In an exemplary embodiment, the first configuration device includes a processor, a memory, and a transceiver. The transceiver may include a receiver and a transmitter. The receiver is used for receiving information, and the transmitter is used for sending information.
所述收发器,用于获取第二配置设备在云平台上备份的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The transceiver is configured to obtain configuration information backed up by a second configuration device on a cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices;
所述处理器,用于使用所述配置信息进行自配置,其中,完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。The processor is configured to use the configuration information to perform self-configuration, wherein the first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device.
可选地,所述处理器,还用于登录与所述第二配置设备的设备标识对应的用户帐号;Optionally, the processor is further configured to log in a user account corresponding to the device identifier of the second configuration device;
所述收发器,还用于在第一资源中的第一参数被置位的情况下,采用所述用户帐号向所述云平台发送信息获取请求,所述信息获取请求是所述第一配置设备获取所述配置信息的请求,The transceiver is further configured to use the user account to send an information acquisition request to the cloud platform when the first parameter in the first resource is set, and the information acquisition request is the first configuration A request for the device to obtain the configuration information,
所述收发器,还用于接收所述云平台发送的所述配置信息。The transceiver is also used to receive the configuration information sent by the cloud platform.
可选地,所述收发器,还用于接收所述第二配置设备发送的请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;Optionally, the transceiver is further configured to receive a request message sent by the second configuration device, where the request message is a request by the second configuration device for the first resource of the first configuration device. A message that a parameter is set, the first parameter is used to identify whether to restore configuration information backed up by other configuration devices;
所述收发器,还用于根据所述请求消息对所述第一参数进行置位,并向所述第二配置设备发送响应消息;The transceiver is further configured to set the first parameter according to the request message, and send a response message to the second configuration device;
所述收发器,还用于接收所述云平台基于所述第一配置设备的设备端口信息,发送的所述配置信息。The transceiver is further configured to receive the configuration information sent by the cloud platform based on the device port information of the first configuration device.
可选地,所述收发器,还用于接收所述第二配置设备发送的请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;Optionally, the transceiver is further configured to receive a request message sent by the second configuration device, where the request message is a request by the second configuration device for the first resource of the first configuration device. A message that a parameter is set, the first parameter is used to identify whether to restore configuration information backed up by other configuration devices;
所述收发器,还用于根据所述请求消息对所述第一参数进行置位,并向所述第二配置设备发送响应消息;The transceiver is further configured to set the first parameter according to the request message, and send a response message to the second configuration device;
所述收发器,还用于接收所述第二配置设备发送的信息获取地址,所述信息获取地址是用于获取所述配置信息的地址;The transceiver is further configured to receive an information acquisition address sent by the second configuration device, where the information acquisition address is an address used to acquire the configuration information;
所述处理器,还用于根据所述信息获取地址,从所述云平台获取所述配置信息。The processor is further configured to obtain the configuration information from the cloud platform according to the information obtaining address.
可选地,所述处理器,还用于设置所述第二配置设备的设备标识,作为所述第一配置设备的设备标识;Optionally, the processor is further configured to set the device identifier of the second configuration device as the device identifier of the first configuration device;
所述处理器,还用于将所述资源信息复制到所述第一配置设备的对应资源中。The processor is further configured to copy the resource information to the corresponding resource of the first configuration device.
可选地,所述IoT设备的资源内容包括以下至少一项:所述IoT设备的凭证资源、所述IoT设备的访问权限资源、所述IoT设备的设备用户转移服务DOTS资源;Optionally, the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and device user transfer service DOTS resources of the IoT device;
所述IoT设备的凭证资源用于在所述IoT设备与其它设备建立连接时进行鉴权;The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
所述IoT设备的访问权限资源用于所述IoT设备对其它设备进行访问控制;The access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
所述IoT设备的DOTS资源用于记录所述IoT设备的所有者凭证。The DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
可选地,所述资源信息还包括所述第二配置设备的资源内容,所述第二配置设备的资源内容包括以下至少一项:所述第二配置设备的凭证资源、所述第二配置设备的访问权限资源;Optionally, the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and the second configuration Access authority resources of the device;
所述第二配置设备的凭证资源用于在所述第二配置设备与其它设备建立连接时进行鉴权;The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
所述第二配置设备的访问权限资源用于所述第二配置设备对其它设备进行访问控制。The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
在示意性实施例中,所述第二配置设备包括处理器、存储器和收发器,该收发器可以包括接收器和发射器,接收器用于接收信息,发射器用于发送信息。In an exemplary embodiment, the second configuration device includes a processor, a memory, and a transceiver. The transceiver may include a receiver and a transmitter. The receiver is used for receiving information, and the transmitter is used for sending information.
所述收发器,用于向云平台发送所述第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The transceiver is configured to send configuration information of the second configuration device to a cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices;
其中,使用所述配置信息完成自配置的第一配置设备替代所述第二配置设备对所述IoT设备进行管理。Wherein, a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
可选地,所述收发器,还用于向所述云平台发送信息备份请求,所述信息备份请求通过请求对所述云平台上的指定类型资源进行操作而完成,所述信息备份请求中包括所述配置信息;Optionally, the transceiver is further configured to send an information backup request to the cloud platform, and the information backup request is completed by requesting operations on a specified type of resource on the cloud platform. In the information backup request Including the configuration information;
其中,所述指定类型资源是用于指示对所述配置信息进行备份保存的预定义资源。Wherein, the specified type resource is a predefined resource used to instruct to backup and save the configuration information.
可选地,所述收发器,还用于在发现所述第一配置设备之后,向所述第一配置设备发送请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;Optionally, the transceiver is further configured to send a request message to the first configuration device after the first configuration device is discovered, where the request message is that the second configuration device requests the first configuration device A message that the first parameter in the first resource of the configuration device is set, where the first parameter is used to identify whether to restore configuration information backed up by other configuration devices;
所述收发器,还用于接收所述第一配置设备发送的响应消息,所述响应消息用于指示所述第一参数已被置位;The transceiver is further configured to receive a response message sent by the first configuration device, where the response message is used to indicate that the first parameter has been set;
所述收发器,还用于向所述云平台发送信息发送请求,所述信息发送请求是所述第二配置设备请求所述云平台向所述第一配置设备发送所述配置信息的请求,所述信息发送请求中包括所述第一配置设备的设备端口信息。The transceiver is further configured to send an information sending request to the cloud platform, where the information sending request is a request by the second configuration device to request the cloud platform to send the configuration information to the first configuration device, The information sending request includes the device port information of the first configuration device.
可选地,所述收发器,还用于在发现所述第一配置设备之后,向所述第一配置设备发送请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;Optionally, the transceiver is further configured to send a request message to the first configuration device after the first configuration device is discovered, where the request message is that the second configuration device requests the first configuration device A message that the first parameter in the first resource of the configuration device is set, where the first parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
所述收发器,还用于接收所述第一配置设备发送的响应消息,所述响应消息用于指示所述第一参数已被置位;The transceiver is further configured to receive a response message sent by the first configuration device, where the response message is used to indicate that the first parameter has been set;
所述说发器,还用于向所述第一配置设备发送信息获取地址,所述信息获取地址是用于获取所述配置信息的地址。The speaker is further configured to send an information acquisition address to the first configuration device, where the information acquisition address is an address used to acquire the configuration information.
可选地,所述IoT设备的资源内容包括以下至少一项:所述IoT设备的凭证资源、所述IoT设备的访问权限资源、所述IoT设备的设备用户转移服务DOTS资源;Optionally, the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and device user transfer service DOTS resources of the IoT device;
所述IoT设备的凭证资源用于在所述IoT设备与其它设备建立连接时进行鉴权;The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
所述IoT设备的访问权限资源用于所述IoT设备对其它设备进行访问控制;The access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
所述IoT设备的DOTS资源用于记录所述IoT设备的所有者凭证。The DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
可选地,所述资源信息还包括所述第二配置设备的资源内容,所述第二配置设备的资源内容包括以下至少一项:所述第二配置设备的凭证资源、所述第二配置设备的访问权限资源;Optionally, the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and the second configuration Access authority resources of the device;
所述第二配置设备的凭证资源用于在所述第二配置设备与其它设备建立连接时进行鉴权;The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
所述第二配置设备的访问权限资源用于所述第二配置设备对其它设备进行访问控制。The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
请参考图10,其示出了本申请一个实施例提供的云平台100的结构示意图,该云平台100可以包括:处理器101、接收器102、发射器103、存储器104和总线105。Please refer to FIG. 10, which shows a schematic structural diagram of a cloud platform 100 provided by an embodiment of the present application. The cloud platform 100 may include: a processor 101, a receiver 102, a transmitter 103, a memory 104 and a bus 105.
处理器101包括一个或者一个以上处理核心,处理器101通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。The processor 101 includes one or more processing cores, and the processor 101 executes various functional applications and information processing by running software programs and modules.
接收器102和发射器103可以实现为一个通信组件,该通信组件可以是一块通信芯片。The receiver 102 and the transmitter 103 may be implemented as a communication component, and the communication component may be a communication chip.
存储器104通过总线105与处理器101相连。The memory 104 is connected to the processor 101 through a bus 105.
存储器104可用于存储计算机程序,处理器101用于执行该计算机程序,以实现上述方法实施例中的云平台执行的各个步骤。The memory 104 may be used to store a computer program, and the processor 101 is used to execute the computer program to implement each step executed by the cloud platform in the foregoing method embodiment.
此外,存储器104可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:磁盘或光盘,电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),静态随时存取存储器(SRAM),只读存储器(ROM),磁存储器,快闪存储器,可编 程只读存储器(PROM)。In addition, the memory 104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof. The volatile or non-volatile storage device includes, but is not limited to: magnetic disks or optical disks, electrically erasable and programmable Read-only memory (EEPROM), erasable programmable read-only memory (EPROM), static anytime access memory (SRAM), read-only memory (ROM), magnetic memory, flash memory, programmable read-only memory (PROM) .
在示意性实施例中,所述云平台包括处理器、存储器和收发器,该收发器可以包括接收器和发射器,接收器用于接收信息,发射器用于发送信息。In an exemplary embodiment, the cloud platform includes a processor, a memory, and a transceiver. The transceiver may include a receiver and a transmitter. The receiver is used for receiving information, and the transmitter is used for sending information.
所述收发器,用于接收第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The transceiver is configured to receive configuration information of a second configuration device, where the configuration information includes the device identification and resource information of the second configuration device, and the resource information includes the second configuration device configuring an IoT device Resource content generated at the time;
所述处理器,用于对所述配置信息进行备份保存;The processor is configured to back up and save the configuration information;
所述收发器,用于向第一配置设备发送所述配置信息,其中,使用所述配置信息完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。The transceiver is configured to send the configuration information to a first configuration device, wherein the first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
可选地,所述收发器,还用于接收所述第一配置设备发送的信息获取请求,所述信息获取请求是所述第一配置设备获取所述配置信息的请求,所述信息获取请求中包括所述第二配置设备的设备标识对应的用户帐号;Optionally, the transceiver is further configured to receive an information acquisition request sent by the first configuration device, where the information acquisition request is a request for the first configuration device to acquire the configuration information, and the information acquisition request Includes the user account corresponding to the device identifier of the second configuration device;
所述处理器,还用于根据所述用户帐号获取所述第二配置设备备份保存的所述配置信息;The processor is further configured to obtain the configuration information backed up and saved by the second configuration device according to the user account;
所述收发器,还用于向所述第一配置设备发送所述配置信息。The transceiver is also used to send the configuration information to the first configuration device.
可选地,所述收发器,还用于接收所述第二配置设备发送的信息发送请求,所述信息发送请求是所述第二配置设备请求所述云平台向所述第一配置设备发送所述配置信息的请求,所述信息发送请求中包括所述第一配置设备的设备端口信息;Optionally, the transceiver is further configured to receive an information sending request sent by the second configuration device, where the information sending request is the second configuration device requesting the cloud platform to send to the first configuration device The configuration information request, the information sending request includes the device port information of the first configuration device;
所述处理器,还用于根据所述信息发送请求,获取所述第二配置设备备份保存的所述配置信息;The processor is further configured to obtain the configuration information backed up and saved by the second configuration device according to the information sending request;
所述收发器,还用于根据所述设备端口信息,向所述第一配置设备发送所述配置信息。The transceiver is further configured to send the configuration information to the first configuration device according to the device port information.
可选地,所述收发器,还用于接收所述第一配置设备基于信息获取地址发送的信息获取请求,所述信息获取请求是所述第一配置设备获取所述配置信息的请求,所述信息获取地址是用于获取所述配置信息的地址;Optionally, the transceiver is further configured to receive an information acquisition request sent by the first configuration device based on an information acquisition address, where the information acquisition request is a request for the first configuration device to acquire the configuration information, and The information acquisition address is an address used to acquire the configuration information;
所述处理器,还用于根据所述信息获取请求,获取所述第二配置设备备份保存的所述配置信息;The processor is further configured to obtain the configuration information backed up and saved by the second configuration device according to the information obtaining request;
所述收发器,还用于向所述第一配置设备发送所述配置信息。The transceiver is also used to send the configuration information to the first configuration device.
可选地,所述处理器,还用于在注册所述第一配置设备之后,删除所述第二配置设备的注册信息和会话维护信息。Optionally, the processor is further configured to delete the registration information and session maintenance information of the second configuration device after registering the first configuration device.
可选地,所述IoT设备的资源内容包括以下至少一项:所述IoT设备的凭证资源、所述IoT设备的访问权限资源、所述IoT设备的设备用户转移服务DOTS资源;Optionally, the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and device user transfer service DOTS resources of the IoT device;
所述IoT设备的凭证资源用于在所述IoT设备与其它设备建立连接时进行鉴权;The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
所述IoT设备的访问权限资源用于所述IoT设备对其它设备进行访问控制;The access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
所述IoT设备的DOTS资源用于记录所述IoT设备的所有者凭证。The DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
可选地,所述资源信息还包括所述第二配置设备的资源内容,所述第二配置设备的资源内容包括以下至少一项:所述第二配置设备的凭证资源、所述第二配置设备的访问权限资源;Optionally, the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: credential resources of the second configuration device, and the second configuration Access authority resources of the device;
所述第二配置设备的凭证资源用于在所述第二配置设备与其它设备建立连接时进行鉴权;The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
所述第二配置设备的访问权限资源用于所述第二配置设备对其它设备进行访问控制。The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述第一配置设备侧的配置设备更换方法。The embodiment of the present application also provides a computer-readable storage medium in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the configuration device replacement method on the first configuration device side.
本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述云平台侧的配置设备更换方法。The embodiment of the present application also provides a computer-readable storage medium in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the above-mentioned method for replacing a configuration device on the cloud platform side.
本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述第二配置设备侧的配置设备更换方法。An embodiment of the present application also provides a computer-readable storage medium in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the configuration device replacement method on the second configuration device side.
本申请还提供了一种计算机程序产品,当计算机程序产品在网络设备的处理器上运行时,使得网络设备执行上述第一配置设备侧的配置设备更换方法。The present application also provides a computer program product, which when the computer program product runs on the processor of the network device, causes the network device to execute the configuration device replacement method on the first configuration device side.
本申请还提供了一种计算机程序产品,当计算机程序产品在网络设备的处理器上运行时,使得网络设备执行上述云平台侧的配置设备更换方法。This application also provides a computer program product, which when the computer program product runs on the processor of the network device, causes the network device to execute the above-mentioned cloud platform side configuration device replacement method.
本申请还提供了一种计算机程序产品,当计算机程序产品在网络设备的处理器上运行时,使得网络设备执行上述第二配置设备侧的配置设备更换方法。This application also provides a computer program product, which when the computer program product runs on the processor of the network device, causes the network device to execute the configuration device replacement method on the second configuration device side.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the above embodiments can be implemented by hardware, or by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The storage medium mentioned can be a read-only memory, a magnetic disk or an optical disk, etc.
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of this application and are not intended to limit this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the protection of this application. Within range.

Claims (46)

  1. 一种配置设备更换方法,其特征在于,应用于第一配置设备,所述方法包括:A configuration device replacement method, characterized in that it is applied to a first configuration device, and the method includes:
    获取第二配置设备在云平台上备份的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;Acquire the configuration information backed up by the second configuration device on the cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the information when the second configuration device configures the IoT device Generated resource content;
    使用所述配置信息进行自配置,其中,完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。Use the configuration information to perform self-configuration, wherein the first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device.
  2. 根据权利要求1所述的方法,其特征在于,所述获取第二配置设备在云平台上备份的配置信息,包括:The method according to claim 1, wherein said obtaining the configuration information backed up by the second configuration device on the cloud platform comprises:
    登录与所述第二配置设备的设备标识对应的用户帐号;Log in to the user account corresponding to the device identifier of the second configuration device;
    在第一资源中的第一参数被置位的情况下,采用所述用户帐号向所述云平台发送信息获取请求,所述信息获取请求是所述第一配置设备获取所述配置信息的请求,When the first parameter in the first resource is set, the user account is used to send an information acquisition request to the cloud platform, where the information acquisition request is a request for the first configuration device to acquire the configuration information ,
    接收所述云平台发送的所述配置信息。Receiving the configuration information sent by the cloud platform.
  3. 根据权利要求1所述的方法,其特征在于,所述获取第二配置设备在云平台上备份的配置信息,包括:The method according to claim 1, wherein said obtaining the configuration information backed up by the second configuration device on the cloud platform comprises:
    接收所述第二配置设备发送的请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;Receiving a request message sent by the second configuration device, where the request message is a message that the second configuration device requests to set a first parameter in the first resource of the first configuration device, the first The parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
    根据所述请求消息对所述第一参数进行置位,并向所述第二配置设备发送响应消息;Setting the first parameter according to the request message, and sending a response message to the second configuration device;
    接收所述云平台基于所述第一配置设备的设备端口信息,发送的所述配置信息。Receiving the configuration information sent by the cloud platform based on the device port information of the first configuration device.
  4. 根据权利要求1所述的方法,其特征在于,所述获取第二配置设备在云平台上备份的配置信息,包括:The method according to claim 1, wherein said obtaining the configuration information backed up by the second configuration device on the cloud platform comprises:
    接收所述第二配置设备发送的请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;Receiving a request message sent by the second configuration device, where the request message is a message that the second configuration device requests to set a first parameter in the first resource of the first configuration device, the first The parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
    根据所述请求消息对所述第一参数进行置位,并向所述第二配置设备发送响应消息;Setting the first parameter according to the request message, and sending a response message to the second configuration device;
    接收所述第二配置设备发送的信息获取地址,所述信息获取地址是用于获取所述配置信息的地址;Receiving an information acquisition address sent by the second configuration device, where the information acquisition address is an address used to acquire the configuration information;
    根据所述信息获取地址,从所述云平台获取所述配置信息。According to the information acquisition address, the configuration information is acquired from the cloud platform.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述使用所述配置信息进行自配置,包括:The method according to any one of claims 1 to 4, wherein the using the configuration information to perform self-configuration comprises:
    设置所述第二配置设备的设备标识,作为所述第一配置设备的设备标识;Setting the device identifier of the second configuration device as the device identifier of the first configuration device;
    将所述资源信息复制到所述第一配置设备的对应资源中。Copy the resource information to the corresponding resource of the first configuration device.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述IoT设备的资源内容包括以下至少一项:所述IoT设备的凭证资源、所述IoT设备的访问权限资源、所述IoT设备的设备用户转移服务DOTS资源;The method according to any one of claims 1 to 5, wherein the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and Device user transfer service DOTS resources of IoT devices;
    所述IoT设备的凭证资源用于在所述IoT设备与其它设备建立连接时进行鉴权;The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
    所述IoT设备的访问权限资源用于所述IoT设备对其它设备进行访问控制;The access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
    所述IoT设备的DOTS资源用于记录所述IoT设备的所有者凭证。The DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述资源信息还包括所述第二配置设备的资源内容,所述第二配置设备的资源内容包括以下至少一项:所述第二配置设备的凭证资源、所述第二配置设备的访问权限资源;The method according to any one of claims 1 to 6, wherein the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: The credential resource of the second configuration device and the access authority resource of the second configuration device;
    所述第二配置设备的凭证资源用于在所述第二配置设备与其它设备建立连接时进行鉴权;The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
    所述第二配置设备的访问权限资源用于所述第二配置设备对其它设备进行访问控制。The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  8. 一种配置设备更换方法,其特征在于,应用于云平台,所述方法包括:A configuration device replacement method, characterized in that it is applied to a cloud platform, and the method includes:
    接收第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;Receiving configuration information of a second configuration device, where the configuration information includes a device identifier and resource information of the second configuration device, and the resource information includes resource content generated when the second configuration device configures an IoT device;
    对所述配置信息进行备份保存;Backup and save the configuration information;
    向第一配置设备发送所述配置信息,其中,使用所述配置信息完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。Sending the configuration information to a first configuration device, where the first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  9. 根据权利要求8所述的方法,其特征在于,所述向第一配置设备发送所述配置信息,包括:The method according to claim 8, wherein the sending the configuration information to the first configuration device comprises:
    接收所述第一配置设备发送的信息获取请求,所述信息获取请求是所述第一配置设备获取所述配置信息的请求,所述信息获取请求中包括所述第二配置设备的设备标识对应的用户帐号;Receive an information acquisition request sent by the first configuration device, where the information acquisition request is a request for the first configuration device to acquire the configuration information, and the information acquisition request includes the device identification corresponding to the second configuration device User account;
    根据所述用户帐号获取所述第二配置设备备份保存的所述配置信息;Acquiring, according to the user account, the configuration information that is backed up and saved by the second configuration device;
    向所述第一配置设备发送所述配置信息。Sending the configuration information to the first configuration device.
  10. 根据权利要求8所述的方法,其特征在于,所述向第一配置设备发送所述配置信息,包括:The method according to claim 8, wherein the sending the configuration information to the first configuration device comprises:
    接收所述第二配置设备发送的信息发送请求,所述信息发送请求是所述第二配置设备请求所述云平台向所述第一配置设备发送所述配置信息的请求,所述信息发送请求中包括所述第一配置设备的设备端口信息;Receiving an information sending request sent by the second configuration device, where the information sending request is a request by the second configuration device to request the cloud platform to send the configuration information to the first configuration device, the information sending request Includes the device port information of the first configuration device;
    根据所述信息发送请求,获取所述第二配置设备备份保存的所述配置信息;Acquiring, according to the information sending request, the configuration information that is backed up and saved by the second configuration device;
    根据所述设备端口信息,向所述第一配置设备发送所述配置信息。Sending the configuration information to the first configuration device according to the device port information.
  11. 根据权利要求8所述的方法,其特征在于,所述向第一配置设备发送所述配置信息,包括:The method according to claim 8, wherein the sending the configuration information to the first configuration device comprises:
    接收所述第一配置设备基于信息获取地址发送的信息获取请求,所述信息获取请求是所述第一配置设备获取所述配置信息的请求,所述信息获取地址是用于获取所述配置信息的地址;Receive an information acquisition request sent by the first configuration device based on an information acquisition address, where the information acquisition request is a request for the first configuration device to acquire the configuration information, and the information acquisition address is used to acquire the configuration information the address of;
    根据所述信息获取请求,获取所述第二配置设备备份保存的所述配置信息;Obtaining, according to the information obtaining request, the configuration information that is backed up and saved by the second configuration device;
    向所述第一配置设备发送所述配置信息。Sending the configuration information to the first configuration device.
  12. 根据权利要求8至11任一项所述的方法,其特征在于,所述向第一配置设备发送所述配置信息之后,还包括:The method according to any one of claims 8 to 11, wherein after the sending the configuration information to the first configuration device, the method further comprises:
    在注册所述第一配置设备之后,删除所述第二配置设备的注册信息和会话维护信息。After registering the first configuration device, delete the registration information and session maintenance information of the second configuration device.
  13. 根据权利要求8至12任一项所述的方法,其特征在于,所述IoT设备的资源内容包括以下至少一项:所述IoT设备的凭证资源、所述IoT设备的访问权限资源、所述IoT设备的设备用户转移服务DOTS资源;The method according to any one of claims 8 to 12, wherein the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and Device user transfer service DOTS resources of IoT devices;
    所述IoT设备的凭证资源用于在所述IoT设备与其它设备建立连接时进行鉴权;The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
    所述IoT设备的访问权限资源用于所述IoT设备对其它设备进行访问控制;The access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
    所述IoT设备的DOTS资源用于记录所述IoT设备的所有者凭证。The DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
  14. 根据权利要求8至13任一项所述的方法,其特征在于,所述资源信息还包括所述第二配置设备的资源内容,所述第二配置设备的资源内容包括以下至少一项:所述第二配置设备的凭证资源、所述第二配置设备的访问权限资源;The method according to any one of claims 8 to 13, wherein the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: The credential resource of the second configuration device and the access authority resource of the second configuration device;
    所述第二配置设备的凭证资源用于在所述第二配置设备与其它设备建立连接时进行鉴权;The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
    所述第二配置设备的访问权限资源用于所述第二配置设备对其它设备进行访问控制。The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  15. 一种配置设备更换方法,其特征在于,应用于第二配置设备,所述方法包括:A method for replacing a configuration device, characterized in that it is applied to a second configuration device, and the method includes:
    向云平台发送所述第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;Send the configuration information of the second configuration device to the cloud platform, where the configuration information includes the device identification and resource information of the second configuration device, and the resource information includes the information when the second configuration device configures the IoT device. Generated resource content;
    其中,使用所述配置信息完成自配置的第一配置设备替代所述第二配置设备对所述IoT设备进行管理。Wherein, a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  16. 根据权利要求15所述的方法,其特征在于,所述向云平台发送所述第二配置设备的配置信息,包括:The method according to claim 15, wherein the sending configuration information of the second configuration device to a cloud platform comprises:
    向所述云平台发送信息备份请求,所述信息备份请求通过请求对所述云平台上的指定类型资源进行操作而完成,所述信息备份请求中包括所述配置信息;Sending an information backup request to the cloud platform, where the information backup request is completed by requesting operations on specified types of resources on the cloud platform, and the information backup request includes the configuration information;
    其中,所述指定类型资源是用于指示对所述配置信息进行备份保存的预定义资源。Wherein, the specified type resource is a predefined resource used to instruct to backup and save the configuration information.
  17. 根据权利要求15或16所述的方法,其特征在于,所述向云平台发送所述第二配置设备的配置信息之后,还包括:The method according to claim 15 or 16, wherein after the sending the configuration information of the second configuration device to the cloud platform, the method further comprises:
    在发现所述第一配置设备之后,向所述第一配置设备发送请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;After the first configuration device is discovered, a request message is sent to the first configuration device. The request message is the second configuration device requesting to perform the first parameter in the first resource of the first configuration device. A set message, where the first parameter is used to identify whether to restore configuration information backed up by other configuration devices;
    接收所述第一配置设备发送的响应消息,所述响应消息用于指示所述第一参数已被置位;Receiving a response message sent by the first configuration device, where the response message is used to indicate that the first parameter has been set;
    向所述云平台发送信息发送请求,所述信息发送请求是所述第二配置设备请求所述云平台向所述第一配置设备发送所述配置信息的请求,所述信息发送请求中包括所述第一配置设备的设备端口信息。Send an information sending request to the cloud platform, where the information sending request is a request by the second configuration device to request the cloud platform to send the configuration information to the first configuration device, and the information sending request includes all Describe the device port information of the first configuration device.
  18. 根据权利要求15或16所述的方法,其特征在于,所述向云平台发送所述第二配置设备的配置信息之后,还包括:The method according to claim 15 or 16, wherein after the sending the configuration information of the second configuration device to the cloud platform, the method further comprises:
    在发现所述第一配置设备之后,向所述第一配置设备发送请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;After the first configuration device is discovered, a request message is sent to the first configuration device. The request message is the second configuration device requesting to perform the first parameter in the first resource of the first configuration device. A set message, where the first parameter is used to identify whether to restore configuration information backed up by other configuration devices;
    接收所述第一配置设备发送的响应消息,所述响应消息用于指示所述第一参数已被置位;Receiving a response message sent by the first configuration device, where the response message is used to indicate that the first parameter has been set;
    向所述第一配置设备发送信息获取地址,所述信息获取地址是用于获取所述配置信息的地址。Send an information acquisition address to the first configuration device, where the information acquisition address is an address used to acquire the configuration information.
  19. 根据权利要求15至18任一项所述的方法,其特征在于,所述IoT设备的资源内容包括以下至少 一项:所述IoT设备的凭证资源、所述IoT设备的访问权限资源、所述IoT设备的设备用户转移服务DOTS资源;The method according to any one of claims 15 to 18, wherein the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and Device user transfer service DOTS resources of IoT devices;
    所述IoT设备的凭证资源用于在所述IoT设备与其它设备建立连接时进行鉴权;The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
    所述IoT设备的访问权限资源用于所述IoT设备对其它设备进行访问控制;The access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
    所述IoT设备的DOTS资源用于记录所述IoT设备的所有者凭证。The DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
  20. 根据权利要求15至19任一项所述的方法,其特征在于,所述资源信息还包括所述第二配置设备的资源内容,所述第二配置设备的资源内容包括以下至少一项:所述第二配置设备的凭证资源、所述第二配置设备的访问权限资源;The method according to any one of claims 15 to 19, wherein the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: The credential resource of the second configuration device and the access authority resource of the second configuration device;
    所述第二配置设备的凭证资源用于在所述第二配置设备与其它设备建立连接时进行鉴权;The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
    所述第二配置设备的访问权限资源用于所述第二配置设备对其它设备进行访问控制。The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  21. 一种配置设备更换装置,其特征在于,应用于第一配置设备,所述装置包括:A configuration device replacement device, characterized in that it is applied to a first configuration device, and the device includes:
    信息获取模块,用于获取第二配置设备在云平台上备份的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The information acquisition module is configured to acquire the configuration information backed up by the second configuration device on the cloud platform. The configuration information includes the device identification and resource information of the second configuration device, and the resource information includes the configuration of the second configuration device. Resource content generated by IoT devices;
    自配置模块,用于使用所述配置信息进行自配置,其中,完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。The self-configuration module is configured to use the configuration information to perform self-configuration, wherein the first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device.
  22. 根据权利要求21所述的装置,其特征在于,所述信息获取模块,用于:The device according to claim 21, wherein the information acquisition module is configured to:
    登录与所述第二配置设备的设备标识对应的用户帐号;Log in to the user account corresponding to the device identifier of the second configuration device;
    在第一资源中的第一参数被置位的情况下,采用所述用户帐号向所述云平台发送信息获取请求,所述信息获取请求是所述第一配置设备获取所述配置信息的请求,When the first parameter in the first resource is set, the user account is used to send an information acquisition request to the cloud platform, where the information acquisition request is a request for the first configuration device to acquire the configuration information ,
    接收所述云平台发送的所述配置信息。Receiving the configuration information sent by the cloud platform.
  23. 根据权利要求21所述的装置,其特征在于,所述信息获取模块,用于:The device according to claim 21, wherein the information acquisition module is configured to:
    接收所述第二配置设备发送的请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;Receiving a request message sent by the second configuration device, where the request message is a message that the second configuration device requests to set a first parameter in the first resource of the first configuration device, the first The parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
    根据所述请求消息对所述第一参数进行置位,并向所述第二配置设备发送响应消息;Setting the first parameter according to the request message, and sending a response message to the second configuration device;
    接收所述云平台基于所述第一配置设备的设备端口信息,发送的所述配置信息。Receiving the configuration information sent by the cloud platform based on the device port information of the first configuration device.
  24. 根据权利要求21所述的装置,其特征在于,所述信息获取模块,用于:The device according to claim 21, wherein the information acquisition module is configured to:
    接收所述第二配置设备发送的请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;Receiving a request message sent by the second configuration device, where the request message is a message that the second configuration device requests to set a first parameter in the first resource of the first configuration device, the first The parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
    根据所述请求消息对所述第一参数进行置位,并向所述第二配置设备发送响应消息;Setting the first parameter according to the request message, and sending a response message to the second configuration device;
    接收所述第二配置设备发送的信息获取地址,所述信息获取地址是用于获取所述配置信息的地址;Receiving an information acquisition address sent by the second configuration device, where the information acquisition address is an address used to acquire the configuration information;
    根据所述信息获取地址,从所述云平台获取所述配置信息。According to the information acquisition address, the configuration information is acquired from the cloud platform.
  25. 根据权利要求21至24任一项所述的装置,其特征在于,所述自配置模块,用于:The device according to any one of claims 21 to 24, wherein the self-configuration module is configured to:
    设置所述第二配置设备的设备标识,作为所述第一配置设备的设备标识;Setting the device identifier of the second configuration device as the device identifier of the first configuration device;
    将所述资源信息复制到所述第一配置设备的对应资源中。Copy the resource information to the corresponding resource of the first configuration device.
  26. 根据权利要求21至25任一项所述的装置,其特征在于,所述IoT设备的资源内容包括以下至少一项:所述IoT设备的凭证资源、所述IoT设备的访问权限资源、所述IoT设备的设备用户转移服务DOTS资源;The apparatus according to any one of claims 21 to 25, wherein the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and Device user transfer service DOTS resources of IoT devices;
    所述IoT设备的凭证资源用于在所述IoT设备与其它设备建立连接时进行鉴权;The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
    所述IoT设备的访问权限资源用于所述IoT设备对其它设备进行访问控制;The access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
    所述IoT设备的DOTS资源用于记录所述IoT设备的所有者凭证。The DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
  27. 根据权利要求21至26任一项所述的装置,其特征在于,所述资源信息还包括所述第二配置设备的资源内容,所述第二配置设备的资源内容包括以下至少一项:所述第二配置设备的凭证资源、所述第二配置设备的访问权限资源;The apparatus according to any one of claims 21 to 26, wherein the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: The credential resource of the second configuration device and the access authority resource of the second configuration device;
    所述第二配置设备的凭证资源用于在所述第二配置设备与其它设备建立连接时进行鉴权;The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
    所述第二配置设备的访问权限资源用于所述第二配置设备对其它设备进行访问控制。The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  28. 一种配置设备更换装置,其特征在于,应用于云平台,所述装置包括:A device for replacing configuration equipment is characterized in that it is applied to a cloud platform, and the device includes:
    信息接收模块,用于接收第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The information receiving module is configured to receive configuration information of a second configuration device, where the configuration information includes the device identification and resource information of the second configuration device, and the resource information includes when the second configuration device configures an IoT device The generated resource content;
    信息保存模块,用于对所述配置信息进行备份保存;An information storage module for backup and storage of the configuration information;
    信息发送模块,用于向第一配置设备发送所述配置信息,其中,使用所述配置信息完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。The information sending module is configured to send the configuration information to a first configuration device, wherein the first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  29. 根据权利要求28所述的装置,其特征在于,所述信息发送模块,用于:The device according to claim 28, wherein the information sending module is configured to:
    接收所述第一配置设备发送的信息获取请求,所述信息获取请求是所述第一配置设备获取所述配置信息的请求,所述信息获取请求中包括所述第二配置设备的设备标识对应的用户帐号;Receive an information acquisition request sent by the first configuration device, where the information acquisition request is a request for the first configuration device to acquire the configuration information, and the information acquisition request includes the device identification corresponding to the second configuration device User account;
    根据所述用户帐号获取所述第二配置设备备份保存的所述配置信息;Acquiring, according to the user account, the configuration information that is backed up and saved by the second configuration device;
    向所述第一配置设备发送所述配置信息。Sending the configuration information to the first configuration device.
  30. 根据权利要求28所述的装置,其特征在于,所述信息发送模块,用于:The device according to claim 28, wherein the information sending module is configured to:
    接收所述第二配置设备发送的信息发送请求,所述信息发送请求是所述第二配置设备请求所述云平台向所述第一配置设备发送所述配置信息的请求,所述信息发送请求中包括所述第一配置设备的设备端口信息;Receiving an information sending request sent by the second configuration device, where the information sending request is a request by the second configuration device to request the cloud platform to send the configuration information to the first configuration device, the information sending request Includes the device port information of the first configuration device;
    根据所述信息发送请求,获取所述第二配置设备备份保存的所述配置信息;Acquiring, according to the information sending request, the configuration information that is backed up and saved by the second configuration device;
    根据所述设备端口信息,向所述第一配置设备发送所述配置信息。Sending the configuration information to the first configuration device according to the device port information.
  31. 根据权利要求28所述的装置,其特征在于,所述信息发送模块,用于:The device according to claim 28, wherein the information sending module is configured to:
    接收所述第一配置设备基于信息获取地址发送的信息获取请求,所述信息获取请求是所述第一配置设备获取所述配置信息的请求,所述信息获取地址是用于获取所述配置信息的地址;Receive an information acquisition request sent by the first configuration device based on an information acquisition address, where the information acquisition request is a request for the first configuration device to acquire the configuration information, and the information acquisition address is used to acquire the configuration information the address of;
    根据所述信息获取请求,获取所述第二配置设备备份保存的所述配置信息;Obtaining, according to the information obtaining request, the configuration information that is backed up and saved by the second configuration device;
    向所述第一配置设备发送所述配置信息。Sending the configuration information to the first configuration device.
  32. 根据权利要求28至31任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 28 to 31, wherein the device further comprises:
    信息删除模块,用于在注册所述第一配置设备之后,删除所述第二配置设备的注册信息和会话维护信息。The information deletion module is configured to delete the registration information and session maintenance information of the second configuration device after registering the first configuration device.
  33. 根据权利要求28至32任一项所述的装置,其特征在于,所述IoT设备的资源内容包括以下至少一项:所述IoT设备的凭证资源、所述IoT设备的访问权限资源、所述IoT设备的设备用户转移服务DOTS资源;The apparatus according to any one of claims 28 to 32, wherein the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and Device user transfer service DOTS resources of IoT devices;
    所述IoT设备的凭证资源用于在所述IoT设备与其它设备建立连接时进行鉴权;The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
    所述IoT设备的访问权限资源用于所述IoT设备对其它设备进行访问控制;The access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
    所述IoT设备的DOTS资源用于记录所述IoT设备的所有者凭证。The DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
  34. 根据权利要求28至33任一项所述的装置,其特征在于,所述资源信息还包括所述第二配置设备的资源内容,所述第二配置设备的资源内容包括以下至少一项:所述第二配置设备的凭证资源、所述第二配置设备的访问权限资源;The apparatus according to any one of claims 28 to 33, wherein the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: The credential resource of the second configuration device and the access authority resource of the second configuration device;
    所述第二配置设备的凭证资源用于在所述第二配置设备与其它设备建立连接时进行鉴权;The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
    所述第二配置设备的访问权限资源用于所述第二配置设备对其它设备进行访问控制。The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  35. 一种配置设备更换装置,其特征在于,应用于第二配置设备,所述装置包括:A configuration device replacement device, characterized in that it is applied to a second configuration device, and the device includes:
    信息发送模块,用于向云平台发送所述第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;An information sending module, configured to send configuration information of the second configuration device to the cloud platform, the configuration information including the device identification and resource information of the second configuration device, and the resource information including the configuration of the second configuration device Resource content generated by IoT devices;
    其中,使用所述配置信息完成自配置的第一配置设备替代所述第二配置设备对所述IoT设备进行管理。Wherein, a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  36. 根据权利要求35所述的装置,其特征在于,所述信息发送模块,用于:The device according to claim 35, wherein the information sending module is configured to:
    向所述云平台发送信息备份请求,所述信息备份请求通过请求对所述云平台上的指定类型资源进行操作而完成,所述信息备份请求中包括所述配置信息;Sending an information backup request to the cloud platform, where the information backup request is completed by requesting operations on specified types of resources on the cloud platform, and the information backup request includes the configuration information;
    其中,所述指定类型资源是用于指示对所述配置信息进行备份保存的预定义资源。Wherein, the specified type resource is a predefined resource used to instruct to backup and save the configuration information.
  37. 根据权利要求35或36所述的装置,其特征在于,所述装置还包括:The device according to claim 35 or 36, wherein the device further comprises:
    消息发送模块,用于在发现所述第一配置设备之后,向所述第一配置设备发送请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数用于标识是否恢复其它配置设备备份的配置信息;The message sending module is configured to send a request message to the first configuration device after the first configuration device is discovered, where the request message is that the second configuration device requests the first resource for the first configuration device A message in which the first parameter is set in, the first parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
    消息接收模块,用于接收所述第一配置设备发送的响应消息,所述响应消息用于指示所述第一参数已被置位;A message receiving module, configured to receive a response message sent by the first configuration device, where the response message is used to indicate that the first parameter has been set;
    请求发送模块,用于向所述云平台发送信息发送请求,所述信息发送请求是所述第二配置设备请求所述云平台向所述第一配置设备发送所述配置信息的请求,所述信息发送请求中包括所述第一配置设备的设备端口信息。The request sending module is configured to send an information sending request to the cloud platform, where the information sending request is a request for the second configuration device to request the cloud platform to send the configuration information to the first configuration device, and The information sending request includes the device port information of the first configuration device.
  38. 根据权利要求35或36所述的装置,其特征在于,所述装置还包括:The device according to claim 35 or 36, wherein the device further comprises:
    消息发送模块,用于在发现所述第一配置设备之后,向所述第一配置设备发送请求消息,所述请求消息是所述第二配置设备请求对所述第一配置设备的第一资源中的第一参数进行置位的消息,所述第一参数 用于标识是否恢复其它配置设备备份的配置信息;The message sending module is configured to send a request message to the first configuration device after the first configuration device is discovered, where the request message is that the second configuration device requests the first resource for the first configuration device A message in which the first parameter is set in, the first parameter is used to identify whether to restore the configuration information backed up by other configuration devices;
    消息接收模块,用于接收所述第一配置设备发送的响应消息,所述响应消息用于指示所述第一参数已被置位;A message receiving module, configured to receive a response message sent by the first configuration device, where the response message is used to indicate that the first parameter has been set;
    地址发送模块,用于向所述第一配置设备发送信息获取地址,所述信息获取地址是用于获取所述配置信息的地址。The address sending module is configured to send an information acquisition address to the first configuration device, where the information acquisition address is an address used to acquire the configuration information.
  39. 根据权利要求35至38任一项所述的装置,其特征在于,所述IoT设备的资源内容包括以下至少一项:所述IoT设备的凭证资源、所述IoT设备的访问权限资源、所述IoT设备的设备用户转移服务DOTS资源;The apparatus according to any one of claims 35 to 38, wherein the resource content of the IoT device includes at least one of the following: credential resources of the IoT device, access authority resources of the IoT device, and Device user transfer service DOTS resources of IoT devices;
    所述IoT设备的凭证资源用于在所述IoT设备与其它设备建立连接时进行鉴权;The credential resource of the IoT device is used for authentication when the IoT device establishes a connection with other devices;
    所述IoT设备的访问权限资源用于所述IoT设备对其它设备进行访问控制;The access authority resource of the IoT device is used for the IoT device to perform access control on other devices;
    所述IoT设备的DOTS资源用于记录所述IoT设备的所有者凭证。The DOTS resource of the IoT device is used to record the owner's credentials of the IoT device.
  40. 根据权利要求35至39任一项所述的装置,其特征在于,所述资源信息还包括所述第二配置设备的资源内容,所述第二配置设备的资源内容包括以下至少一项:所述第二配置设备的凭证资源、所述第二配置设备的访问权限资源;The apparatus according to any one of claims 35 to 39, wherein the resource information further includes resource content of the second configuration device, and the resource content of the second configuration device includes at least one of the following: The credential resource of the second configuration device and the access authority resource of the second configuration device;
    所述第二配置设备的凭证资源用于在所述第二配置设备与其它设备建立连接时进行鉴权;The credential resource of the second configuration device is used for authentication when the second configuration device establishes a connection with another device;
    所述第二配置设备的访问权限资源用于所述第二配置设备对其它设备进行访问控制。The access authority resource of the second configuration device is used for the second configuration device to perform access control on other devices.
  41. 一种配置设备,其特征在于,所述配置设备包括处理器、存储器和收发器;A configuration device, characterized in that, the configuration device includes a processor, a memory, and a transceiver;
    所述收发器,用于获取第二配置设备在云平台上备份的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The transceiver is configured to obtain configuration information backed up by a second configuration device on a cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices;
    所述处理器,用于使用所述配置信息进行自配置,其中,完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。The processor is configured to use the configuration information to perform self-configuration, wherein the first configuration device that completes the self-configuration replaces the second configuration device to manage the IoT device.
  42. 一种云平台,其特征在于,所述云平台包括处理器、存储器和收发器;A cloud platform, characterized in that the cloud platform includes a processor, a memory, and a transceiver;
    所述收发器,用于接收第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The transceiver is configured to receive configuration information of a second configuration device, where the configuration information includes the device identification and resource information of the second configuration device, and the resource information includes the second configuration device configuring an IoT device Resource content generated at the time;
    所述处理器,用于对所述配置信息进行备份保存;The processor is configured to back up and save the configuration information;
    所述收发器,还用于向第一配置设备发送所述配置信息,其中,使用所述配置信息完成自配置的所述第一配置设备替代所述第二配置设备对所述IoT设备进行管理。The transceiver is further configured to send the configuration information to a first configuration device, wherein the first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device .
  43. 一种配置设备,其特征在于,所述配置设备包括处理器、存储器和收发器;A configuration device, characterized in that, the configuration device includes a processor, a memory, and a transceiver;
    所述收发器,用于向云平台发送所述第二配置设备的配置信息,所述配置信息包括所述第二配置设备的设备标识和资源信息,所述资源信息包括所述第二配置设备配置物联网IoT设备时所生成的资源内容;The transceiver is configured to send configuration information of the second configuration device to a cloud platform, the configuration information includes the device identifier and resource information of the second configuration device, and the resource information includes the second configuration device Resource content generated when configuring IoT devices;
    其中,使用所述配置信息完成自配置的第一配置设备替代所述第二配置设备对所述IoT设备进行管理。Wherein, a first configuration device that uses the configuration information to complete self-configuration replaces the second configuration device to manage the IoT device.
  44. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序,所述计算机程序用于被处理器执行,以实现如权利要求1至7任一项所述的配置设备更换方法。A computer-readable storage medium, wherein a computer program is stored in the storage medium, and the computer program is used to be executed by a processor to implement the configuration device replacement according to any one of claims 1 to 7 method.
  45. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序,所述计算机程序用于被处理器执行,以实现如权利要求8至14任一项所述的配置设备更换方法。A computer-readable storage medium, wherein a computer program is stored in the storage medium, and the computer program is used to be executed by a processor to implement the configuration device replacement according to any one of claims 8 to 14 method.
  46. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序,所述计算机程序用于被处理器执行,以实现如权利要求15至20任一项所述的配置设备更换方法。A computer-readable storage medium, wherein a computer program is stored in the storage medium, and the computer program is used to be executed by a processor to implement the configuration device replacement according to any one of claims 15 to 20 method.
PCT/CN2019/130713 2019-12-31 2019-12-31 Configuration device replacement method and apparatus, device, and storage medium WO2021134562A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980102305.4A CN114667720A (en) 2019-12-31 2019-12-31 Method, device and equipment for replacing configuration equipment and storage medium
PCT/CN2019/130713 WO2021134562A1 (en) 2019-12-31 2019-12-31 Configuration device replacement method and apparatus, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/130713 WO2021134562A1 (en) 2019-12-31 2019-12-31 Configuration device replacement method and apparatus, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021134562A1 true WO2021134562A1 (en) 2021-07-08

Family

ID=76686087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/130713 WO2021134562A1 (en) 2019-12-31 2019-12-31 Configuration device replacement method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN114667720A (en)
WO (1) WO2021134562A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242810A (en) * 2022-07-22 2022-10-25 上海庆科信息技术有限公司 Method, device, electronic device, storage medium and system for replacing equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685786A (en) * 2011-03-18 2012-09-19 中兴通讯股份有限公司 Method and system for accessing wireless sensor network (WSN) to telecommunication network
US9485138B1 (en) * 2012-09-28 2016-11-01 Juniper Networks, Inc. Methods and apparatus for scalable resilient networks
CN106972958A (en) * 2017-03-13 2017-07-21 海信集团有限公司 Gateway device collocation method, apparatus and system
CN108183827A (en) * 2017-12-29 2018-06-19 江苏惠通集团有限责任公司 Configuration method and startup configuration equipment based on low-power consumption bluetooth mesh network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592231B (en) * 2017-09-26 2020-09-25 联想(北京)有限公司 Information processing method and gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685786A (en) * 2011-03-18 2012-09-19 中兴通讯股份有限公司 Method and system for accessing wireless sensor network (WSN) to telecommunication network
US9485138B1 (en) * 2012-09-28 2016-11-01 Juniper Networks, Inc. Methods and apparatus for scalable resilient networks
CN106972958A (en) * 2017-03-13 2017-07-21 海信集团有限公司 Gateway device collocation method, apparatus and system
CN108183827A (en) * 2017-12-29 2018-06-19 江苏惠通集团有限责任公司 Configuration method and startup configuration equipment based on low-power consumption bluetooth mesh network

Also Published As

Publication number Publication date
CN114667720A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
US11483708B2 (en) Network access tokens for accessories
US11201814B2 (en) Configuration of networks using switch device access of remote server
US8966018B2 (en) Automated network device configuration and network deployment
US10142342B2 (en) Authentication of client devices in networks
US9813291B2 (en) Shortest path bridging (SPB) configuration of networks using client device access of remote
WO2015101125A1 (en) Network access control method and device
US20070147318A1 (en) Dynamic passing of wireless configuration parameters
KR20160114620A (en) Methods, devices and systems for dynamic network access administration
US10285054B2 (en) Method and system for storing and accessing client device information in a distributed set of nodes
WO2018045983A1 (en) Information processing method and device, and network system
US20150271016A1 (en) Configuration of networks with server cluster device
WO2022002244A1 (en) Online subscription method, apparatus and system
EP4213521A1 (en) Secure communication method, apparatus and system
US9118588B2 (en) Virtual console-port management
US9306921B2 (en) Method and system for storing and accessing client device information in a distributed set of nodes
WO2009082910A1 (en) Method and device for network configuration to user terminal
CN104994158B (en) Method for safely controlling household appliances through centralized gateway
WO2021134562A1 (en) Configuration device replacement method and apparatus, device, and storage medium
CN103973637A (en) Method for configuring permission, agent equipment and server
US20230232228A1 (en) Method and apparatus for establishing secure communication
US11451516B1 (en) Device isolation service
CN114884771B (en) Identity network construction method, device and system based on zero trust concept
US20220400118A1 (en) Connecting internet of thing (iot) devices to a wireless network
CN113596013A (en) Method and device for setting equipment control authority, computer equipment and storage medium
CN107888383B (en) Login authentication method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19958650

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19958650

Country of ref document: EP

Kind code of ref document: A1