WO2022217602A1 - Method for establishing device binding relationship, and device - Google Patents

Method for establishing device binding relationship, and device Download PDF

Info

Publication number
WO2022217602A1
WO2022217602A1 PCT/CN2021/087878 CN2021087878W WO2022217602A1 WO 2022217602 A1 WO2022217602 A1 WO 2022217602A1 CN 2021087878 W CN2021087878 W CN 2021087878W WO 2022217602 A1 WO2022217602 A1 WO 2022217602A1
Authority
WO
WIPO (PCT)
Prior art keywords
control device
information
controlled device
control
identity information
Prior art date
Application number
PCT/CN2021/087878
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 PCT/CN2021/087878 priority Critical patent/WO2022217602A1/en
Priority to CN202180079480.3A priority patent/CN116547961A/en
Publication of WO2022217602A1 publication Critical patent/WO2022217602A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent

Definitions

  • the embodiments of the present application relate to the field of communications, and in particular, to a method and a device for establishing a device binding relationship.
  • different manufacturers may establish different fabric networks (or management platforms), and a configuration device with management authority in the management platform can configure or manage the devices in the management platform, such as for
  • the device assigns the corresponding node ID (Node ID), and establishes the binding relationship between the devices through the Node ID of the device, but the Node ID assigned to the device by one management platform is invisible to other management platforms, that is, when the device Under other management platforms, the device cannot be effectively controlled based on the binding relationship, so how to realize the effective control of the device under different management platforms is an urgent problem to be solved.
  • Node ID node ID
  • the present application provides a method and device for establishing a device binding relationship, which can realize effective control of devices under different management platforms.
  • a first aspect provides a method for establishing a device binding relationship, which is applied to a configuration end of a first management platform, where the configuration end is used to establish a binding relationship between a controlled device and a control device, and the method includes:
  • the identity information of the controlled device and obtain the identity information of the control device, wherein the identity information of the controlled device is used to uniquely identify the controlled device, and the identity of the control device information is used to uniquely identify the control device;
  • binding information includes the binding relationship between the device information of the controlled device and the device information of the control device, wherein the device information of the controlled device includes the device information of the controlled device.
  • the identity information of the controlled device, and the device information of the control device includes the identity information of the control device.
  • a method for establishing a device binding relationship is provided, which is applied to a control device.
  • the control device establishes a binding relationship between the control device and the controlled device through a configuration terminal of a first management platform.
  • the method include:
  • the binding information includes the binding relationship between the device information of the controlled device and the device information of the control device, wherein the device information of the controlled device includes the device information of the controlled device.
  • the identity information of the controlled device, and the device information of the control device includes the identity information of the control device.
  • a method for establishing a device binding relationship which is applied to a controlled device, and the controlled device establishes a binding relationship between the control device and the controlled device through a configuration terminal of a first management platform, so that the The methods described include:
  • a configuration terminal device which is used to execute the method in the above-mentioned first aspect or each of its implementations.
  • the configuration terminal device includes a functional module for executing the method in the above-mentioned first aspect or each implementation manner thereof.
  • a control device for executing the method in the second aspect or each of its implementations.
  • the network device includes functional modules for executing the methods in the second aspect or the respective implementation manners thereof.
  • a controlled device including a processor and a memory.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory to execute the method in the third aspect or each of its implementations.
  • a configuration terminal device including a processor and a memory.
  • the memory is used for storing a computer program
  • the processor is used for calling and running the computer program stored in the memory to execute the method in the above-mentioned first aspect or each implementation manner thereof.
  • a control device including a processor and a memory.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory to execute the method in the second aspect or each of its implementations.
  • a controlled device including a processor and a memory.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory to execute the method in the third aspect or each of its implementations.
  • a chip is provided for implementing any one of the above-mentioned first to third aspects or the method in each implementation manner thereof.
  • the chip includes: a processor for invoking and running a computer program from a memory, so that a device in which the device is installed executes any one of the above-mentioned first to third aspects or each of its implementations method.
  • a computer-readable storage medium for storing a computer program, and the computer program causes a computer to execute the method in any one of the above-mentioned first aspect to the third aspect or each implementation manner thereof.
  • a computer program product comprising computer program instructions, the computer program instructions causing a computer to execute the method in any one of the above-mentioned first to third aspects or the implementations thereof.
  • a thirteenth aspect provides a computer program that, when run on a computer, causes the computer to perform the method of any one of the above-mentioned first to third aspects or the respective implementations thereof.
  • the embodiment of the present application adds identity information that is visible to different management platforms for the control device and the controlled device, that is, for different management platforms, it can be determined as the same device according to the identity information, Further write the identity information of the control device into the ACL information of the controlled device, and write the binding relationship based on the identity information of the control device and the identity information of the controlled device into the control device, which is beneficial to ensure different
  • the management platform has the same understanding of the control parties, so that different management platforms can effectively control the equipment.
  • FIG. 1 is a schematic structural diagram of a management platform provided by an embodiment of the present application.
  • FIG. 2 is a schematic interaction diagram of a method for establishing a device binding relationship according to an embodiment of the present application.
  • FIG. 3 is a schematic interaction diagram of another method for establishing a device binding relationship according to an embodiment of the present application.
  • Figure 4 is a schematic interaction diagram for adding another management platform to a node through one management platform.
  • Figure 5 is a schematic interaction diagram for establishing a CASE connection between a node and a management device.
  • FIG. 6 is a schematic block diagram of a configuration terminal device according to an embodiment of the present application.
  • Fig. 7 is a schematic block diagram of a control device provided according to an embodiment of the present application.
  • FIG. 8 is a schematic block diagram of a controlled device according to an embodiment of the present application.
  • FIG. 9 is a schematic block diagram of a communication device provided according to an embodiment of the present application.
  • FIG. 10 is a schematic block diagram of a chip provided according to an embodiment of the present application.
  • FIG. 11 is a schematic block diagram of a communication system provided according to an embodiment of the present application.
  • FIG. 1 shows an exemplary structural diagram of a management platform 10 provided by an embodiment of the present application.
  • the management platform 10 includes a Connected Home over IP Working Group (CHIP) device 12 , a platform cloud 14 and a configuration device 18 under the Zigbee alliance.
  • the configuration device 18 can act as an administrator (Admin) in the management platform 10 .
  • Admin administrator
  • different manufacturers can establish different management platforms, or different fabric networks (Fabrics), and configure one or more CHIP devices in the same Fabric through the configuration device 18 in the management platform.
  • the configuration device 18 may establish binding relationships of different CHIP devices under the same Fabric, or configure the operation authority of the CHIP devices, and the like.
  • the Apple Home APP can be used as one management platform, and the Google Home APP can be another management platform.
  • Each CHIP device 12 in the management platform can be regarded as a node, and the CHIP device 12 can access the management platform through the configuration device 18 .
  • the configuration device 18 is operable by the user to configure the device accessing the management platform. For example, a user can use an application (Application) to control the device accessing the management platform.
  • Application Application
  • the CHIP device 12 is a smart device (such as virtual reality (Virtual Reality, VR) glasses, a smart wearable device, etc.), a terminal device, or other device with network access capability, which is an embodiment of the present application. This is not limited.
  • a smart device such as virtual reality (Virtual Reality, VR) glasses, a smart wearable device, etc.
  • terminal device or other device with network access capability, which is an embodiment of the present application. This is not limited.
  • the CHIP device 12 may be smart home devices such as smart TVs, smart speakers, smart air conditioners, smart lights, smart doors and windows, smart curtains, smart sockets, and smart switches.
  • the number of CHIP devices 12 is one, or the number of CHIP devices 12 is multiple, which is not limited in this embodiment of the present application.
  • the platform cloud 14 is a cloud server corresponding to the configuration device 18 .
  • the configuration device 18 is connected to the platform cloud 14 through a wired or wireless network.
  • the platform cloud 14 may be a cloud computing resource pool in the field of cloud technology, and multiple types of virtual resources are deployed in the resource pool for external customers to choose and use.
  • the cloud computing resource pool mainly includes: computing devices (which are virtualized machines, including operating systems), storage devices, and network devices. It can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or it can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, intermediate Cloud servers for basic cloud computing services such as software services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms.
  • CDN Content Delivery Network
  • the configuration device 18 with administrator rights in the same Fabric can add a new management platform for CHIP devices under the Fabric, that is, add a new administrator (Admin).
  • the configuration terminal A under the management platform A adds the management platform B to the node under the management platform A as an example to describe the specific process of adding a new management platform. That is, add Admin B to the node through Admin A.
  • the configuration terminal A may be a configuration device with management authority of management platform A, such as application A, and the user may add management platform B to the node by operating application A.
  • the configuration terminal A determines to add a management platform B for the node
  • the user can add management platform B to the node by operating the configuration terminal A.
  • the configuration terminal A generates data required for device pairing for the management platform B, such as information such as a discriminator (Discriminator, D), a version identifier (ID), and a product ID.
  • a discriminator discriminator, D
  • ID version identifier
  • product ID a product ID
  • the configuration terminal A sends a pairing command request to the node, where the configuration command request carries configuration data and/or verification data.
  • PASE Password Authenticated Session Establishment
  • Iterator Count PASE salt value
  • Salt PASE salt value
  • the node returns the request status to the configuration terminal A.
  • the request status is used to indicate whether the node successfully initiates pairing.
  • the node publishes a Domain Name System (Domain Name System, DNS) service discovery (Service Discovery).
  • DNS Domain Name System
  • the configuration terminal A generates a manufacturer paring code (Manufacture Paring Code) or a QR code corresponding to the node according to the data (such as OPG and other data) published by the DNS-DS, and shares it with the configuration terminal B of the configuration platform B.
  • a manufacturer paring code Manufacture Paring Code
  • a QR code corresponding to the node according to the data (such as OPG and other data) published by the DNS-DS
  • the configuration terminal B obtains the manufacturer paring code (Manufacture Paring Code) or the two-dimensional code.
  • the user manually enters the Manufacture Paring Code or scans the QR code to obtain the node's OPG and other content.
  • the user can obtain a manufacturer paring code (Manufacture Paring Code) or a QR code by operating application B, that is, the configuration terminal B can be application B.
  • a manufacturer paring code Manufacture Paring Code
  • a QR code by operating application B, that is, the configuration terminal B can be application B.
  • the configuration end B performs device discovery according to DNS-SD.
  • the configuration end B establishes a PASE connection with the node.
  • the node sends a certificate signing request (Certificate Signing Request, CSR) to the configuration terminal B, where the CSR includes the device authentication certificate, the device public key and signature and other related information, and the certification declaration (Certification Declaration, CD) information.
  • CSR Certificate Signing Request
  • the configuration end B performs device authentication according to the CSR pair of the node.
  • the configuration terminal B sends the CSR information of the node to the certificate authority (Certificate Authority, CA) (referred to as CA B) corresponding to the configuration platform B, for example, including the device certification certificate, device public key and signature and other related information and certification Declaration (Certification Declaration, CD) information.
  • CA Certificate Authority
  • CA B generates an operation certificate (Operational Credential, OC or OpCred) according to the CSR information, and returns the OC and the root certificate (referred to as RC.B) corresponding to the configuration platform B to the configuration terminal B, wherein the OC includes interoperability Identifier (Operational Identifier, OpID) information and interoperability certificate (Operational Certificate, OpCert) information.
  • Operational Credential OC or OpCred
  • the configuration terminal B returns configuration information to the node, wherein the configuration information includes: OC (including the Node ID (NodeID) information, FabricID information, and operation certificate information generated by the configuration terminal B for the node), RC.B root certificate, and the device defaults
  • Admin B ⁇ OPID:FID-ABC,NID-7890;OC-7890;ACL-7890>.
  • ACL-TB [0,1]
  • ACL-1234 [ ⁇ privilege,auth,subjects,targets>; ⁇ privilege,auth,subjects,targets>];
  • ACL-7890 [ ⁇ privilege,auth,subjects,targets>; ⁇ privilege,auth,subjects,targets>]
  • a certificate authentication-based secure session establishment (Certificate Authenticated Session Establishment, CASE) connection between the node and the configuration terminal B can also be established.
  • the premise of establishing a CASE between the configuration end and the device is that the device has been successfully configured to the network, and the device and the configuration end are in the same network, that is, the two can communicate.
  • the configuration terminal B plays the role of the controller, and the node is a CHIP device.
  • the configuration end B sends a SigmaR1 data request to the node, carrying the data root ID (for example, RootID-2) and K2.
  • the node returns a SigmaR2 message to the configuration terminal B, carrying data (OC-7890, representing the operation certificate corresponding to the Node and the configuration platform B, NID-7890 representing the Node ID allocated by the configuration platform B for the node, K12-2);
  • S506 configure end B to map the CASE session (Session), and establish a ⁇ K2, OPID: ⁇ FID-ABC,NID-7890 ⁇ >: ⁇ K12-2,Admin B,Session key> mapping table;
  • the configuration terminal B sends a SigmaR3 message to the node, carrying data (OC-2, which represents the certificate information of the controller);
  • the node maps the CASE session, and establishes the ⁇ K12-2, OPID: ⁇ FID-ABC,NID-2 ⁇ >: ⁇ K2,Admin B,Session key> mapping table.
  • the configuration terminal B uses K2 to encrypt the data when sending messages to the node, the node uses K2 to decrypt the data, the node uses K12-2 encryption when sending messages to the configuration terminal B, and the controller uses K2-2 to decrypt.
  • the configuration end of the management platform may establish a binding relationship between two devices accessing the management platform.
  • the configuration end may write the binding relationship into the control device, and the binding relationship is the control device.
  • an embodiment of the present application provides a method for establishing a device binding relationship, by configuring the device with identity information that is visible to different management platforms, and further establishing a binding relationship between the two through the identity information of the device, In this way, even if the controlled device and the control device are under other management platforms than the management platform that establishes the binding relationship, the control device can effectively control the controlled device.
  • FIG. 2 is a schematic interaction diagram of a method for establishing a device binding relationship according to an embodiment of the present application. As shown in FIG. 2 , the method 200 may include at least some of the following contents:
  • the configuration terminal obtains the identity information of the controlled device, and the identity information of the controlled device is used to uniquely identify the controlled device;
  • the configuration end acquires the identity information of the control device, where the identity information of the control device is used to uniquely identify the control device.
  • the configuration terminal is the configuration terminal or the control terminal of the first management platform, that is, the first management platform can configure or control the device connected to the first management platform through the configuration terminal, for example, configure The operation authority of the device, the establishment of the binding relationship of the device, etc.
  • the configuration terminal may be an application on the first management platform, or a terminal device on which the application is installed, such as a mobile phone, a tablet computer, a computer, a wearable device, etc., which is not limited in this application.
  • the user can configure the device by operating the application A of the first management platform, for example, configure the binding relationship between the devices, the operation authority of the device, and the like. That is, the application A can serve as the configurator of the first management platform.
  • the controlling device may be a CHIP device, and the controlled device may also be a CHIP device.
  • the control device is a switching device, and the controlled device is a light device.
  • the controlling device and the controlled device are devices that access the first management platform, for example, the controlling device and the controlled device may use a wireless fidelity access point (Wireless Fidelity Access Point). , WiFi) network or Bluetooth (Bluetooth) network to access the first management platform.
  • a wireless fidelity access point Wireless Fidelity Access Point
  • WiFi Wireless Fidelity Access Point
  • Bluetooth Bluetooth
  • the paring table of the controlling device includes relevant information of the first management platform
  • the ACL of the controlling device includes relevant information of the first management platform
  • the controlled device includes relevant information of the first management platform.
  • the pairing list (Paring Table) of the device includes the relevant information of the first management platform, the Access Control List of the controlled device, and the ACL include the relevant information of the first management platform.
  • the configuration terminal may obtain the identity information of the control device, or obtain other information of the control device, such as a Fabric list, when a CASE connection is established with the control device. information, Interoperable Identity Identifier (OpID) information, etc.
  • OpID Interoperable Identity Identifier
  • the configuration terminal may obtain the identity information of the controlled device, or obtain other information of the controlled device, when a CASE connection is established with the controlled device, For example, Fabric list information, OpID information, etc.
  • the identification information in the embodiments of the present application is identification information that can be recognized by different management platforms, and different management platforms can determine which device corresponds to the identification information according to the identification information. That is, for different management platforms, The identity information of the controlling device and the controlled device are the same, so that any management platform that has management authority over the device can configure or control the device based on the identity information of the device.
  • the management platform with management rights to the device includes the management platform in the ACL of the device, or the management platform in the pairing list.
  • the identification information of the device may be a 64-bit integer value, or other identification information that can uniquely identify the device, which is not limited in this application.
  • the identification information of the device can be changed.
  • a management platform with the right to modify the identification information can be set up, and the configuration end of the management platform can modify the identification information of the device.
  • the configuration end of the management platform can notify other management platforms of the device, so that the other management platforms can obtain the modified identification information of the device.
  • the configuration terminal after acquiring the identity information of the device, can store the identity information of the device.
  • the identification information of the device or, when the identification information of the device is changed, the identification information of the device is obtained again.
  • the identity information of the controlled device may be stored in a cluster (cluster) of the controlled device.
  • a cluster For example, it is stored in the first cluster of the first endpoint (ep) of the controlled device.
  • the first endpoint may be ep0, ep1, or other eps
  • the first cluster may be a basic cluster (basic cluster), a dedicated cluster for carrying identity information, or other clusters.
  • the identity information of the control device may be stored in a cluster (cluster) of the control device.
  • a cluster stored in the second cluster of the second endpoint of the control device.
  • the second endpoint may be ep0, ep1, or other eps
  • the second cluster may be a basic cluster (basic cluster), a dedicated cluster for carrying identity information, or other clusters.
  • the S201 may include:
  • the configuration terminal sends a first read request to the controlled device, where the first read request includes storage path information of the identity information of the controlled device on the controlled device;
  • the S202 may include:
  • the configuration terminal sends a second read request to the control device, where the second read request may include storage path information of the identity information of the control device;
  • the embodiment of the present application does not limit the sequence in which the configuration terminal obtains the identification information of the control device and the controlled device. For example, the identity information of the controlled device is obtained first, and then the identity information of the control device is obtained, or the identity information of the control device is obtained first, and then the identity information of the controlled device is obtained, or the control device and the control device are obtained at the same time. Identity information of the controlled device, etc.
  • the configuration end may acquire the identity information of the controlled device after acquiring the woven network list information and the interoperability identification information of the controlled device.
  • the configuration end may send a request for obtaining the fabric network list to the controlled device to obtain the fabric list of the controlled device. Assuming that the storage path of the weave list of the controlled device is: ep0/opcred-cluster/fabric_list, the configuration end can send the following read request to the controlled device: Read: ep0/opcred-cluster/fabric_list to obtain the information of the controlled device. Weave the network list.
  • the controlled device may return the information of the woven network list to the configuration terminal, wherein the woven network list includes the information of the management platform of the controlled device, for example, the management platform that has the management authority to the controlled device, or , all the management platforms that have been added on the controlled device, etc.
  • the configuration end may send an interoperability identity acquisition request to the controlled device to acquire the OpID of the controlled device. Assuming that the storage path of the interoperable identity of the controlled device is: ep0/opcred-cluster/opid_list, the configuration end can send the following read request to the controlled device: Read: ep0/opcred-cluster/opid_list to obtain the controlled device A list of interoperable identities for the device.
  • the controlled device may return OpID list information to the configuration terminal, where the OpID list includes the OpID allocated to the controlled device by the management platform of the controlled device.
  • the configuration end may acquire the identity information of the control device after acquiring the woven network list information and the interoperability identity information of the control device.
  • the configuration end may send a request for obtaining the fabric network list to the control device to obtain the fabric list of the control device. Assuming that the storage path of the woven network list of the control device on the control device is: ep0/opcred-cluster/fabric_list, the configuration end can send the following read request to the control device: Read: ep0/opcred-cluster/fabric_list request to obtain A list of braided nets that control the device.
  • control device may return the information of the braided network list to the configuration terminal, wherein the braided network list includes the information of the management platform of the control device, for example, the management platform that has the management authority for the control device, or the Control all management platforms and more that have been added on the device.
  • the configuration end may send an interoperability identity identification acquisition request to the control device to obtain the OpID of the controlled device. It is assumed that the storage path of the OpID list of the control device on the control device is: ep0/opcred-cluster/opid_list, Then, the configuration end can send the following read request to the control device: Read: ep0/opcred-cluster/opid_list request to obtain the list of interoperability identities of the control device.
  • control device may return OpID list information to the configuration terminal, where the OpID list includes the OpID allocated to the control device by the management platform of the control device.
  • the method 200 further includes:
  • S203 The configuration end writes the identity information of the controlling device into the ACL of the controlled device.
  • the configuration terminal can add operation permissions for the control device on the controlled device.
  • the S203 may include:
  • the configuration end may send a first write request to the controlled device, where the first write request is used to write the identity information of the controlling device into the ACL of the controlled device.
  • the first write request may include the storage path of the ACL of the controlled device and the identity information of the controlling device.
  • the configuration end may write the identity information of the controlling device into the control source list (Subject) of the ACL of the controlled device. That is, the first write request is used to write the identity information of the controlling device into the Subject in the ACL of the controlled device.
  • the configuration terminal may also write the Node ID information of the controlling device into the Subject of the ACL of the controlled device, wherein the Node ID of the controlling device is that the first management platform is the control device.
  • the Node ID assigned by the device, the Node ID is only visible to the first management platform, and other management platforms cannot identify which physical device corresponds to the Node ID.
  • the first write request may also include the Node ID of the control device.
  • control device as the switch device
  • controlled device as the lamp device
  • first management platform as Admin A as an example to illustrate the specific implementation of writing ACL.
  • the method 200 further includes:
  • S204 Send binding information to the control device, where the binding information includes a binding relationship between the device information of the controlled device and the device information of the control device, wherein the device information of the controlled device It includes the identification information of the controlled device, and the device information of the controlling device includes the identification information of the controlling device.
  • the identification information of the device can uniquely identify the device, different management platforms can identify which device is controlled according to the identification information. Therefore, establishing a binding relationship based on the identity information of the device is beneficial to ensure that different management platforms have a consistent understanding of the binding relationship.
  • the binding relationship may be a binding relationship between the identity information of the controlling device and the identity information of the controlled device.
  • the S204 may include:
  • the configuration end may send a second write request to the controlled device, where the second write request is used to request to write the binding information to the control device.
  • the second write request may include a retransmission path of the binding information list of the control device on the control device and the binding information.
  • the device information of the controlled device further includes the OpId of the controlled device
  • the device information of the controlling device further includes the OpId of the controlling device
  • the controlling device and the controlled device The binding relationship of the controlling device may be embodied as a binding relationship between the OpId of the controlling device and the identity information and the OpId of the controlled device and the identity information.
  • the OpID of the controlled device includes a Node ID allocated to the controlled device by the first management platform and a Fabric Identify (FID) of the first management platform.
  • FID Fabric Identify
  • the OpID of the control device includes the Node ID allocated to the control device by the first management platform and the FID of the first management platform.
  • control device as the switch device
  • controlled device as the lamp device
  • first management platform as Admin A
  • the configuration terminal can establish the following binding relationship for the switch device and the light device:
  • Binding-TB (Local:Admin A, ⁇ OpID:FID-XYZ,NID-1234>: ⁇ DID-2>,ep2,OnOff Cluster) ⁇ ->(Remote:Admin A, ⁇ OpID:FID-XYZ,NID -ABCD>: ⁇ DID-1>,ep2,On/Off Cluster).
  • the configuration end of the second management platform can first query the binding relationship list (or binding information list) in the control device to determine whether there is a binding relationship between the control device and the controlled device. If the binding relationship of the controlled device is established through the identity information, the binding relationship between the controlling device and the controlled device is not established, or the information of the second management platform can also be added to the binding relationship between the controlling device and the controlled device. .
  • the binding information of the controlling device and the controlled device can be updated as:
  • Binding-TB (Local:Admin A&Admin B, ⁇ OpID:FID-XYZ,NID-1234>: ⁇ DID-2>,ep2,OnOff Cluster) ⁇ ->(Remote:Admin A&Admin B, ⁇ OpID:FID-XYZ , NID-ABCD>: ⁇ DID-1>,ep2,On/Off Cluster).
  • the configuration end sends the binding information to the control device in the case of receiving the first state information replied by the controlled device, where the first state information is used for Instructing the configuration end to successfully write the identity information of the controlling device into the ACL of the controlled device.
  • the configuration end writes the binding information to the control device when the identity information of the control device is successfully written into the ACL of the controlled device.
  • the configuration end sends the binding information to the controlling device in the case that the binding relationship between the controlled device and the controlling device is not saved on the controlling device.
  • the configuration end Before writing binding information to the control device, the configuration end first sends a binding information acquisition request to the control device. Assuming that the binding information list of the control device is stored in the path ep1/binding-cluster/binding_tb, the configuration end can Send the following read request to the control device: Read:ep1/binding-cluster/binding_tb to obtain the binding information list of the control device, and further, the control device can return the binding information list to the configuration end.
  • the configuration end can determine whether there is binding information between the controlling device and the controlled device in the binding information list, if there is no binding relationship between the two, or if there is binding information, but The binding information is established with the Node ID of the device, and the binding information established according to the identification information of the device is sent to the control device.
  • control device may send second state information to the configuration end, where the second state information is used to indicate whether the binding information is successfully set.
  • the configuration end successfully writes the identity information of the control device into the ACL of the controlled device, and the configuration end successfully writes binding information to the control device, that is, the first state information indicates that the configuration end
  • the identity information of the controlling device is successfully written into the ACL of the controlled device, and the second state information is used to indicate that the binding information is set successfully, and it can be considered that the binding between the controlling device and the controlled device is successful.
  • the relationship is established successfully.
  • the configuration end fails to write the identity information of the control device into the ACL of the controlled device, or the configuration end fails to write binding information to the control device, that is, the first state information indicates that the configuration end If the identity information of the controlling device fails to be written into the ACL of the controlled device, or the second status information is used to indicate that the setting of the binding information fails, it can be considered that the binding between the controlling device and the controlled device fails. Relationship establishment failed.
  • the controlling device can control the controlled device under any management platform in the first Fabric list, where the first Fabric list
  • the intersection or union of the fabric list of the controlling device and the fabric list of the controlled device may be included.
  • control device may search for the identity information corresponding to the OpID in the binding information list according to the OpID of the controlled device in combination with the binding information list, and further generate a control message according to the identity information of the controlled device, for example,
  • the source address of the control message is set as the identity information of the controlling device, and the destination address is set as the identity information of the controlled device, and the control message is further sent to the controlled device.
  • identity information to the device that is visible to different management platforms, that is, for different management platforms, it can be determined as the same device according to the identity information, and further based on the identity information.
  • the binding relationship between the control device and the controlled device is beneficial to ensure that different management platforms have the same understanding of the control parties, so as to achieve effective control of the device.
  • control device as a switch device and the controlled device as a light device as an example.
  • the identification information of the lamp device stored in the cluster of the lamp device is denoted as DID-1
  • the identification information of the switch device stored in the cluster of the switch device is denoted as DID-2.
  • the configuration terminal acts as a configurator of the management platform (Admin A) to establish the binding relationship between the switch device and the lamp device, that is, the configuration terminal acts as an intermediate configuration role for establishing the binding relationship between the switch device and the lamp device.
  • administer A management platform
  • the Node ID assigned by Admin A to the switchgear is NID-1234, and the Node ID assigned by Admin A to the switchgear is NID-ABCD.
  • the configuration end Before the configuration end communicates with the switch device and the light device, the configuration end has established a CASE session with the switch device and the light device.
  • the specific process of establishing a CASE session refers to the relevant process in FIG. 5 , which is not repeated here for brevity.
  • the configuration end acquires the fabric network (Fabric) list information of the lamp device.
  • the configuration end can send a request to obtain the fabric network list to the controlled device. Assuming that the storage path of the fabric list of the controlled device is: ep0/opcred-cluster/fabric_list, the configuration end can send the following read request to the controlled device: Read: ep0/opcred-cluster/fabric_list to get the fabric network list of the controlled device.
  • the light device returns the Fabric list of the light device to the configuration end.
  • the Fabric list includes the information of the management platform of the light device, for example, the information of the management platform that has the management authority to the light device, or the information of all the management platforms that have been added on the light device, and so on.
  • the configuration end acquires the interoperability identification (OpID) information of the lamp device.
  • OpID interoperability identification
  • the configuration end can send an OpID acquisition request to the light device. Assuming that the storage path of the OpID of the light device is: ep0/opcred-cluster/opid_list, the configuration end can send the following read request to the light device: Read: ep0/opcred- cluster/opid_list to get the OpID list information of the light device.
  • the light device returns the OpID list information to the configuration terminal.
  • the OpID list includes the OpIDs assigned to the lamp equipment by each management platform of the lamp equipment.
  • the OpID of the light device may include the Node ID of the light device, and the FID of the management platform that assigns the Node Id.
  • the configuration terminal obtains the identification information of the lamp device.
  • the configuration end can send an identity identification acquisition request to the lamp device. Assuming that the storage path of the identification information of the lamp device is: ep-x/cluster-y/devid, the configuration end can send the following read request to the lamp device: Read : ep-x/cluster-y/did request to get the identity information of the lamp device.
  • ep-x can be an ep of the light device, such as ep0, ep1 or other eps
  • cluster-y can be, for example, a basic cluster, a dedicated cluster for storing DIDs, or other clusters. The application is not limited in this regard.
  • the lamp device returns the identity information to the configuration terminal.
  • the configuration end acquires the Fabric list information, OpID list information and identity information of the switch device in a similar manner as in S301-S306.
  • the switch device returns the Fabric list information, the OpID list information and the identity information to the configuration end.
  • the configuration end adds an operation authority for the switch device on the light device.
  • the storage path of the ACL of the light device is ep0/ACL-cluster/ACLEntry
  • the configuration end can send the following write request to the light device to add the operation permission for the switch device on the light device: write:ep0/ACL-cluster/ACLEntry
  • the light device returns a status of whether the ACL operation is successful to the configuration terminal. That is, whether the write operation in S309 is successful.
  • the configuration end reads the binding information list of the switch device.
  • the configuration end can send the following read request to the switch device: Read:ep1/binding-cluster/binding_tb to obtain the binding of the switch device list of information.
  • the configuration terminal reads the binding information list of the switch device when the state in S310 is that the operation is successful.
  • the switch device returns a binding information list to the configuration.
  • the configuration end queries whether the binding information of the light device and the switch device exists in the binding information list.
  • the binding information is represented by the Node ID of the device, then perform the following steps to establish the binding relationship between the two through the identification information of the device. .
  • the configuration end updates the binding information list to the switch device.
  • the configuration end can send a write request to the switch device: Write:ep1/binding-cluster/binding_tb+updated binding information to update the switch A list of binding information for the device.
  • the switch device returns to the configuration end whether the update binding information table column is set successfully.
  • the updated binding information can be expressed as:
  • Binding-TB (Local:Admin A, ⁇ OpID:FID-XYZ,NID-1234>: ⁇ DID-2>,ep2,OnOff Cluster) ⁇ ->(Remote:Admin A, ⁇ OpID:FID-XYZ,NID -ABCD>: ⁇ DID-1>,ep2,On/Off Cluster).
  • binding information in this embodiment of the present application may be established through the identification information of the device, or established through the OpID and identification information of the device.
  • the result of S315 is that the setting is successful, and the result of S310 is that the operation is successful, it is determined that the binding relationship between the light device and the switch device is established successfully.
  • the light device and the switch device establish a CASE connection. Further switchgear can control the light device based on the CASE connection
  • the switch device controls the light device according to the binding information list.
  • the switch device can search for the identity information corresponding to the OpID in the binding information list according to the OpID of the light device in combination with the binding information list, and further send a control message to the light device, wherein,
  • the source address of the control message is set to the identity information of the switch device, namely DID-2, and the destination address is set to the identity information of the lamp device, namely DID-1.
  • identity information to the device that is visible to different management platforms, that is, for different management platforms, it can be determined as the same device according to the identity information, and further based on the identity information.
  • the binding relationship between the control device and the controlled device is beneficial to ensure that different management platforms have the same understanding of the control parties, so as to achieve effective control of the device.
  • FIG. 6 shows a schematic block diagram of a configuration terminal device 400 according to an embodiment of the present application.
  • the management platform corresponding to the configuration terminal device 400 is the first management platform.
  • the configuration terminal device 400 includes:
  • the communication unit 410 is configured to obtain the identity information of the controlled device and obtain the identity information of the control device, wherein the identity information of the controlled device is used to uniquely identify the controlled device, and the control device's identity information is used to uniquely identify the controlled device.
  • the identity information is used to uniquely identify the control device;
  • binding information includes the binding relationship between the device information of the controlled device and the device information of the control device, wherein the device information of the controlled device includes the device information of the controlled device.
  • the identity information of the controlled device, and the device information of the control device includes the identity information of the control device.
  • the communication unit 410410 is further used for:
  • the identity information of the control device is written into the control source list in the ACL of the controlled device, where the control source list is used to store information of devices that can control the controlled device.
  • the communication unit 410410 is further used for:
  • the device information of the controlled device further includes the interoperability identifier of the controlled device
  • the device information of the control device further includes the interoperability identifier of the control device
  • the interoperability identifier of the controlled device includes the node ID allocated by the first management platform to the controlled device and the woven network identifier of the first management platform;
  • the interoperability identifier of the control device includes a node ID allocated to the control device by the first management platform and a woven network identifier of the first management platform.
  • the communication unit 410 is further configured to:
  • the binding information is sent to the control device, wherein the first state information is used to indicate that the configuration end device is in the controlled device.
  • the identity information of the control device is successfully written into the ACL of the control device.
  • the communication unit 410 is further configured to:
  • the binding information is sent to the controlling device.
  • the communication unit 410 is further configured to:
  • the identity information of the controlled device is acquired from the cluster of the controlled device.
  • the communication unit 410 is further configured to:
  • the identity information of the controlled device is stored in a first cluster of the controlled device, where the first cluster is a basic cluster or is used to store the controlled device A dedicated cluster of identifying information.
  • the communication unit 410 is further configured to:
  • the identification information of the control device is acquired from the cluster of the control device.
  • the communication unit 410 is further configured to:
  • the identity information of the control device is stored in a second cluster of the control device, where the second cluster is a basic cluster or is used to store the identity of the control device A dedicated cluster of information.
  • the communication unit 410 is further configured to:
  • the identity information of the controlled device is acquired from the controlled device.
  • the communication unit 410 is further configured to:
  • the identity information of the control device is acquired from the control device.
  • the communication unit 410 is further configured to:
  • the first write request further includes a node ID allocated by the first management platform to the control device.
  • the communication unit 410 is further configured to:
  • the above-mentioned communication unit may be a communication interface or a transceiver, or an input/output interface of a communication chip or a system-on-chip.
  • the aforementioned processing unit may be one or more processors.
  • configuration terminal device 400 may correspond to the configuration terminal or the configuration device in the method embodiment of the present application, and the above and other operations and/or functions of each unit in the configuration terminal device 400 are for the purpose of realizing The corresponding processes of the configuration terminal or the configuration device in the method embodiments shown in FIG. 2 to FIG. 5 are not repeated here for brevity.
  • FIG. 7 is a schematic block diagram of a control device according to an embodiment of the present application.
  • the control device 500 of FIG. 7 includes:
  • the communication unit 510 is configured to receive a second read request from the configuration end of the first management platform, where the second read request is used to obtain the identity information of the control device, and the identity information of the control device is used to uniquely identify the the control equipment;
  • binding information sent by the configuration terminal, where the binding information includes the binding relationship between the device information of the controlled device and the device information of the controlling device, wherein the device information of the controlled device includes the device information of the controlled device Identity information of the control device, where the device information of the control device includes the identity information of the control device.
  • the device information of the controlled device further includes the interoperability identifier of the controlled device
  • the device information of the control device further includes the interoperability identifier of the control device
  • the interoperability identity of the controlled device includes the node ID allocated by the first management platform to the controlled device and the woven network identity of the first management platform;
  • the interoperability identifier of the control device includes a node ID allocated to the control device by the first management platform and a woven network identifier of the first management platform.
  • control device 500 further includes:
  • a processing unit configured to generate a control message according to the binding information, wherein the source address of the control message is set to the identity message of the control device, and the destination address of the control message is set to the controlled device the identification message;
  • the communication unit 510 is further configured to: send the control message to the controlled device.
  • the identity information of the control device is stored in a second cluster of the control device, where the second cluster is a basic cluster or is used to store the identity of the control device A dedicated cluster of information.
  • the second read request includes a storage path of the identity information of the control device on the control device.
  • the communication unit 510 is further configured to:
  • a second write request sent by the configuration terminal is received, where the second write request includes a storage path of the binding information list on the control device and the binding information.
  • the above-mentioned communication unit may be a communication interface or a transceiver, or an input/output interface of a communication chip or a system-on-chip.
  • the aforementioned processing unit may be one or more processors.
  • control device 500 may correspond to the control device in the method embodiment of the present application, and the above-mentioned and other operations and/or functions of each unit in the control device 500 are for the purpose of realizing FIGS. 2 to 5 respectively.
  • FIGS. 2 to 5 For the sake of brevity, the corresponding flow of the control device in the illustrated method embodiment will not be repeated here.
  • FIG. 8 is a schematic block diagram of a controlled device according to an embodiment of the present application.
  • the controlled device 800 of FIG. 8 includes:
  • the communication unit 810 is configured to receive a first read request from the configuration end of the first management platform, where the first read request is used to obtain the identity information of the controlled device, and the identity information of the controlled device is used to uniquely identifying the control device;
  • the communication unit 810 is further configured to:
  • the communication unit 810 is further configured to:
  • the first management platform corresponds to the node ID allocated to the control device.
  • the communication unit 810 is further configured to:
  • control device receiving a control message sent by the control device, where the source address of the control message is the identity message of the control device, and the destination address of the control message is the identity message of the controlled device;
  • the identity information of the controlled device is stored in a first cluster of the controlled device, where the first cluster is a basic cluster or is used to store the controlled device A private cluster of identification information.
  • the first read request includes a storage path of the identity information of the controlled device on the controlled device.
  • the above-mentioned communication unit may be a communication interface or a transceiver, or an input/output interface of a communication chip or a system-on-chip.
  • the aforementioned processing unit may be one or more processors.
  • controlled device 800 may correspond to the control device in the method embodiment of the present application, and the above-mentioned and other operations and/or functions of the various units in the controlled device 800 are for the purpose of realizing FIGS. 2 to 2 , respectively.
  • the corresponding flow of the controlled device in the method embodiment shown in FIG. 3 is not repeated here for brevity.
  • FIG. 9 is a schematic structural diagram of a communication device 600 provided by an embodiment of the present application.
  • the communication device 600 shown in FIG. 9 includes a processor 610, and the processor 610 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
  • the communication device 600 may further include a memory 620 .
  • the processor 610 may call and run a computer program from the memory 620 to implement the methods in the embodiments of the present application.
  • the memory 620 may be a separate device independent of the processor 610 , or may be integrated in the processor 610 .
  • the communication device 600 may further include a transceiver 630, and the processor 610 may control the transceiver 630 to communicate with other devices, specifically, may send information or data to other devices, or receive other Information or data sent by a device.
  • the transceiver 630 may include a transmitter and a receiver.
  • the transceiver 630 may further include antennas, and the number of the antennas may be one or more.
  • the communication device 600 may specifically be the configuration terminal device in this embodiment of the present application, and the communication device 600 may implement the corresponding processes implemented by the configuration terminal device in each method in the embodiment of the present application. Repeat.
  • the transceiver 630 in the communication device 600 may be configured to perform related operations of the communication unit 410 in the configuration terminal device 400 in FIG. 6 , which will not be repeated here for brevity.
  • the communication device 600 may specifically be the control device of this embodiment of the present application, and the communication device 600 may implement the corresponding processes implemented by the control device in each method of the embodiment of the present application, which is not repeated here for brevity. .
  • the transceiver 630 in the communication device 600 may be used to perform related operations of the communication unit 510 in the control device 500 in FIG. 7 , which are not repeated here for brevity.
  • the communication device 600 may specifically be the controlled device in this embodiment of the present application, and the communication device 600 may implement the corresponding processes implemented by the controlled device in each method in the embodiment of the present application. Repeat.
  • the transceiver 630 in the communication device 600 may be used to perform the related operations of the communication unit 810 in the controlled device 800 in FIG. 8 , which will not be repeated here for brevity.
  • FIG. 10 is a schematic structural diagram of a chip according to an embodiment of the present application.
  • the chip 700 shown in FIG. 10 includes a processor 710, and the processor 710 can call and run a computer program from a memory, so as to implement the method in this embodiment of the present application.
  • the chip 700 may further include a memory 720 .
  • the processor 710 may call and run a computer program from the memory 720 to implement the methods in the embodiments of the present application.
  • the memory 720 may be a separate device independent of the processor 710 , or may be integrated in the processor 710 .
  • the chip 700 may further include an input interface 730 .
  • the processor 710 may control the input interface 730 to communicate with other devices or chips, and specifically, may acquire information or data sent by other devices or chips.
  • the chip 700 may further include an output interface 740 .
  • the processor 710 can control the output interface 740 to communicate with other devices or chips, and specifically, can output information or data to other devices or chips.
  • the chip 700 may specifically be the configuration terminal device of the embodiment of the present application, and the chip 700 may implement the corresponding processes implemented by the configuration terminal device in each method of the embodiment of the present application. For the sake of brevity, details are not repeated here. .
  • the input interface 730 and the output interface 740 in the chip 700 may be used to perform related operations of the communication unit 410 in the configuration terminal device 400 in FIG. 6 , which are not repeated here for brevity.
  • the chip 700 may specifically be the control device of the embodiment of the present application, and the chip 700 may implement the corresponding processes implemented by the control device in each method of the embodiment of the present application, which is not repeated here for brevity.
  • the input interface 730 and the output interface 740 in the chip 700 may be used to perform related operations of the communication unit 510 in the control device 500 in FIG. 7 , which are not repeated here for brevity.
  • the chip 700 may specifically be the controlled device of the embodiment of the present application, and the chip 700 may implement the corresponding processes implemented by the controlled device in each method of the embodiment of the present application. For the sake of brevity, details are not repeated here. .
  • the input interface 730 and the output interface 740 in the chip 700 may be used to perform related operations of the communication unit 810 in the controlled device 800 in FIG. 8 , which are not repeated here for brevity.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-chip, or a system-on-a-chip, or the like.
  • FIG. 11 is a schematic block diagram of a communication system 900 provided by an embodiment of the present application. As shown in FIG. 11 , the communication system 900 includes a configuration end device 910 , a control device 920 and a controlled device 930 .
  • the configuration terminal device 910 can be used to implement the corresponding function implemented by the configuration terminal, the configuration device or the configuration terminal device in the above method, and the control device 920 can be used to implement the corresponding function implemented by the control device in the above method,
  • the controlled device 930 may be used to implement the corresponding functions implemented by the controlled device in the above method, which is not repeated here for brevity.
  • the processor in this embodiment of the present application may be an integrated circuit chip, which has a signal processing capability.
  • each step of the above method embodiments may be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software.
  • the above-mentioned processor can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Programming logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
  • the storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
  • the memory in this embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be Random Access Memory (RAM), which acts as an external cache.
  • RAM Static RAM
  • DRAM Dynamic RAM
  • SDRAM Synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM DDR SDRAM
  • enhanced SDRAM ESDRAM
  • synchronous link dynamic random access memory Synchlink DRAM, SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • the memory in the embodiment of the present application may also be a static random access memory (static RAM, SRAM), a dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.
  • Embodiments of the present application further provide a computer-readable storage medium for storing a computer program.
  • the computer-readable storage medium can be applied to the configuration terminal or the configuration terminal device in the embodiment of the present application, and the computer program enables the computer to execute the configuration terminal or the configuration terminal device in each method of the embodiment of the present application.
  • the corresponding process is not repeated here.
  • the computer-readable storage medium can be applied to the control device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the control device in the various methods of the embodiments of the present application.
  • the computer program enables the computer to execute the corresponding processes implemented by the control device in the various methods of the embodiments of the present application.
  • the computer-readable storage medium can be applied to the controlled device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the controlled device in each method of the embodiments of the present application.
  • the computer program enables the computer to execute the corresponding processes implemented by the controlled device in each method of the embodiments of the present application.
  • Embodiments of the present application also provide a computer program product, including computer program instructions.
  • the computer program product can be applied to the configuration terminal or the configuration terminal device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding configuration implemented by the configuration terminal or the configuration terminal device in each method of the embodiment of the present application.
  • the process for the sake of brevity, will not be repeated here.
  • the computer program product can be applied to the control device in the embodiments of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the control device in each method of the embodiments of the present application. Repeat.
  • the computer program product can be applied to the controlled device in the embodiments of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the controlled device in the various methods of the embodiments of the present application. This will not be repeated here.
  • the embodiments of the present application also provide a computer program.
  • the computer program can be applied to the configuration terminal or the configuration terminal device in the embodiments of the present application.
  • the computer program is executed by the configuration terminal or the configuration terminal in each method of the embodiments of the present application.
  • the corresponding process implemented by the device will not be repeated here.
  • the computer program can be applied to the control device in the embodiments of the present application.
  • the computer program executes the corresponding processes implemented by the control device in each method of the embodiments of the present application. For the sake of brevity. , and will not be repeated here.
  • the computer program may be applied to the controlled device in the embodiments of the present application, and when the computer program is run on the computer, the computer executes the corresponding processes implemented by the controlled device in each method of the embodiments of the present application, For brevity, details are not repeated here.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

Abstract

A method for establishing a device binding relationship, and a device. The method comprises: a configuration side device obtaining identity information of a controlled device, and obtaining identity information of a control device, wherein the identity information of the controlled device is used to uniquely identify the controlled device, and the identity information of the control device is used to uniquely identify the control device; writing the identity information of the control device into an access control list (ACL) of the controlled device; and sending binding information to the control device, the binding information comprising a binding relationship between device information of the controlled device and device information of the control device, wherein the device information of the controlled device comprises the identity information of the controlled device, and the device information of the control device comprises the identity information of the control device.

Description

建立设备绑定关系的方法和设备Method and device for establishing device binding relationship 技术领域technical field
本申请实施例涉及通信领域,具体涉及一种建立设备绑定关系的方法和设备。The embodiments of the present application relate to the field of communications, and in particular, to a method and a device for establishing a device binding relationship.
背景技术Background technique
在一些场景中,不同的厂商可以建立不同的编织网络(Fabric)(或称,管理平台),管理平台中的具有管理权限的配置设备可以对该管理平台中的设备进行配置或管理,例如为设备分配对应的节点标识(Node ID),通过设备的Node ID建立设备之间的绑定关系,但是一个管理平台为设备分配的Node ID对其他管理平台是不可见的,也就是说,当设备处于其他管理平台下时不能基于该绑定关系实现对设备的有效控制,因此如何实现在不同的管理平台下的对设备的有效控制是一项急需解决的问题。In some scenarios, different manufacturers may establish different fabric networks (or management platforms), and a configuration device with management authority in the management platform can configure or manage the devices in the management platform, such as for The device assigns the corresponding node ID (Node ID), and establishes the binding relationship between the devices through the Node ID of the device, but the Node ID assigned to the device by one management platform is invisible to other management platforms, that is, when the device Under other management platforms, the device cannot be effectively controlled based on the binding relationship, so how to realize the effective control of the device under different management platforms is an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种建立设备绑定关系的方法和设备,能够实现不同的管理平台下的对设备的有效控制。The present application provides a method and device for establishing a device binding relationship, which can realize effective control of devices under different management platforms.
第一方面,提供了一种建立设备绑定关系的方法,应用于第一管理平台的配置端,所述配置端用于建立被控制设备和控制设备的绑定关系,所述方法包括:A first aspect provides a method for establishing a device binding relationship, which is applied to a configuration end of a first management platform, where the configuration end is used to establish a binding relationship between a controlled device and a control device, and the method includes:
获取所述被控制设备的身份标识信息,以及获取所述控制设备的身份标识信息,其中,所述被控制设备的身份标识信息用于唯一标识所述被控制设备,所述控制设备的身份标识信息用于唯一标识所述控制设备;Obtain the identity information of the controlled device, and obtain the identity information of the control device, wherein the identity information of the controlled device is used to uniquely identify the controlled device, and the identity of the control device information is used to uniquely identify the control device;
向所述被控制设备的接入控制列表ACL中写入所述控制设备的身份标识信息;Writing the identity information of the controlling device into the access control list ACL of the controlled device;
向所述控制设备中发送绑定信息,所述绑定信息包括所述被控制设备的设备信息和所述控制设备的设备信息的绑定关系,其中,所述被控制设备的设备信息包括所述被控制设备的身份标识信息,所述控制设备的设备信息包括所述控制设备的身份标识信息。Send binding information to the control device, where the binding information includes the binding relationship between the device information of the controlled device and the device information of the control device, wherein the device information of the controlled device includes the device information of the controlled device. The identity information of the controlled device, and the device information of the control device includes the identity information of the control device.
第二方面,提供了一种建立设备绑定关系的方法,应用于控制设备,所述控制设备通过第一管理平台的配置端建立所述控制设备和被控制设备的绑定关系,所述方法包括:In a second aspect, a method for establishing a device binding relationship is provided, which is applied to a control device. The control device establishes a binding relationship between the control device and the controlled device through a configuration terminal of a first management platform. The method include:
接收所述配置端的第二读请求,所述第二读请求用于获取所述控制设备的身份标识信息,所述控制设备的身份标识信息用于唯一标识所述控制设备;receiving a second read request from the configuration terminal, where the second read request is used to obtain the identity information of the control device, and the identity information of the control device is used to uniquely identify the control device;
向所述配置端发送所述控制设备的身份标识信息;sending the identity information of the control device to the configuration terminal;
接收所述配置端发送的绑定信息,所述绑定信息包括所述被控制设备的设备信息和所述控制设备的设备信息的绑定关系,其中,所述被控制设备的设备信息包括所述被控制设备的身份标识信息,所述控制设备的设备信息包括所述控制设备的身份标识信息。Receive the binding information sent by the configuration terminal, where the binding information includes the binding relationship between the device information of the controlled device and the device information of the control device, wherein the device information of the controlled device includes the device information of the controlled device. The identity information of the controlled device, and the device information of the control device includes the identity information of the control device.
第三方面,提供了一种建立设备绑定关系的方法,应用于被控制设备,所述被控制设备通过第一管理平台的配置端建立所述控制设备和被控制设备的绑定关系,所述方法包括:In a third aspect, a method for establishing a device binding relationship is provided, which is applied to a controlled device, and the controlled device establishes a binding relationship between the control device and the controlled device through a configuration terminal of a first management platform, so that the The methods described include:
接收所述配置端的第一读请求,所述第一读请求用于获取所述被控制设备的身份标识信息,所述被控制设备的身份标识信息用于唯一标识所述控制设备;receiving a first read request from the configuration terminal, where the first read request is used to obtain the identity information of the controlled device, and the identity information of the controlled device is used to uniquely identify the control device;
向所述配置端发送所述被控制设备的身份标识信息;sending the identity information of the controlled device to the configuration terminal;
接收所述配置端发送的第一写请求,所述第一写请求用于向所述被控制设备的接入控制列表ACL中写入所述控制设备的身份标识信息,其中,所述控制设备的身份信息用于唯一标识所述控制设备。Receive a first write request sent by the configuration terminal, where the first write request is used to write the identity information of the control device into the access control list ACL of the controlled device, where the control device The identity information is used to uniquely identify the control device.
第四方面,提供了一种配置端设备,用于执行上述第一方面或其各实现方式中的方法。具体地,该配置端设备包括用于执行上述第一方面或其各实现方式中的方法的功能模块。In a fourth aspect, a configuration terminal device is provided, which is used to execute the method in the above-mentioned first aspect or each of its implementations. Specifically, the configuration terminal device includes a functional module for executing the method in the above-mentioned first aspect or each implementation manner thereof.
第五方面,提供了一种控制设备,用于执行上述第二方面或其各实现方式中的方法。In a fifth aspect, a control device is provided for executing the method in the second aspect or each of its implementations.
具体地,该网络设备包括用于执行上述第二方面或其各实现方式中的方法的功能模块。Specifically, the network device includes functional modules for executing the methods in the second aspect or the respective implementation manners thereof.
第六方面,提供了一种被控制设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述第三方面或其各实现方式中的方法。In a sixth aspect, a controlled device is provided, including a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method in the third aspect or each of its implementations.
第七方面,提供了一种配置端设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述第一方面或其各实现方式中的方法。In a seventh aspect, a configuration terminal device is provided, including a processor and a memory. The memory is used for storing a computer program, and the processor is used for calling and running the computer program stored in the memory to execute the method in the above-mentioned first aspect or each implementation manner thereof.
第八方面,提供了一种控制设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述第二方面或其各实现方式中的方法。In an eighth aspect, a control device is provided, including a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method in the second aspect or each of its implementations.
第九方面,提供了一种被控制设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述第三方面或其各实现方式中的方法。In a ninth aspect, a controlled device is provided, including a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method in the third aspect or each of its implementations.
第十方面,提供了一种芯片,用于实现上述第一方面至第三方面中的任一方面或其各实现方式中 的方法。In a tenth aspect, a chip is provided for implementing any one of the above-mentioned first to third aspects or the method in each implementation manner thereof.
具体地,该芯片包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有该装置的设备执行如上述第一方面至第三方面中的任一方面或其各实现方式中的方法。Specifically, the chip includes: a processor for invoking and running a computer program from a memory, so that a device in which the device is installed executes any one of the above-mentioned first to third aspects or each of its implementations method.
第十一方面,提供了一种计算机可读存储介质,用于存储计算机程序,该计算机程序使得计算机执行上述第一方面至第三方面中的任一方面或其各实现方式中的方法。In an eleventh aspect, a computer-readable storage medium is provided for storing a computer program, and the computer program causes a computer to execute the method in any one of the above-mentioned first aspect to the third aspect or each implementation manner thereof.
第十二方面,提供了一种计算机程序产品,包括计算机程序指令,所述计算机程序指令使得计算机执行上述第一方面至第三方面中的任一方面或其各实现方式中的方法。In a twelfth aspect, a computer program product is provided, comprising computer program instructions, the computer program instructions causing a computer to execute the method in any one of the above-mentioned first to third aspects or the implementations thereof.
第十三方面,提供了一种计算机程序,当其在计算机上运行时,使得计算机执行上述第一方面至第三方面中的任一方面或其各实现方式中的方法。A thirteenth aspect provides a computer program that, when run on a computer, causes the computer to perform the method of any one of the above-mentioned first to third aspects or the respective implementations thereof.
通过上述技术方案,本申请实施例通过为控制设备和被控制设备添加对不同的管理平台均可见的身份标识信息,即对于不同的管理平台,根据该身份标识信息都可以确定为同一个设备,进一步向被控制设备的ACL信息中写入控制设备的身份标识信息,并将控制设备中写入基于控制设备的身份标识信息和被控制设备的身份标识信息建立的绑定关系,有利于保证不同的管理平台对于控制双方的理解的一致,从而能够实现不同管理平台对设备的有效控制。Through the above technical solutions, the embodiment of the present application adds identity information that is visible to different management platforms for the control device and the controlled device, that is, for different management platforms, it can be determined as the same device according to the identity information, Further write the identity information of the control device into the ACL information of the controlled device, and write the binding relationship based on the identity information of the control device and the identity information of the controlled device into the control device, which is beneficial to ensure different The management platform has the same understanding of the control parties, so that different management platforms can effectively control the equipment.
附图说明Description of drawings
图1是本申请实施例提供的一种管理平台的示意性结构图。FIG. 1 is a schematic structural diagram of a management platform provided by an embodiment of the present application.
图2是根据本申请实施例提供的一种建立设备绑定关系的方法的示意性交互图。FIG. 2 is a schematic interaction diagram of a method for establishing a device binding relationship according to an embodiment of the present application.
图3是根据本申请实施例提供的另一种建立设备绑定关系的方法的示意性交互图。FIG. 3 is a schematic interaction diagram of another method for establishing a device binding relationship according to an embodiment of the present application.
图4是为通过一个管理平台为节点添加另一管理平台的示意性交互图。Figure 4 is a schematic interaction diagram for adding another management platform to a node through one management platform.
图5是为建立节点和管理设备的CASE连接的示意性交互图。Figure 5 is a schematic interaction diagram for establishing a CASE connection between a node and a management device.
图6是根据本申请实施例提供的一种配置端设备的示意性框图。FIG. 6 is a schematic block diagram of a configuration terminal device according to an embodiment of the present application.
图7是根据本申请实施例提供的一种控制设备的示意性框图。Fig. 7 is a schematic block diagram of a control device provided according to an embodiment of the present application.
图8是根据本申请实施例提供的一种被控制设备的示意性框图。FIG. 8 is a schematic block diagram of a controlled device according to an embodiment of the present application.
图9是根据本申请实施例提供的一种通信设备的示意性框图。FIG. 9 is a schematic block diagram of a communication device provided according to an embodiment of the present application.
图10是根据本申请实施例提供的一种芯片的示意性框图。FIG. 10 is a schematic block diagram of a chip provided according to an embodiment of the present application.
图11是根据本申请实施例提供的一种通信系统的示意性框图。FIG. 11 is a schematic block diagram of a communication system provided according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。针对本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. With regard to the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
图1示出了本申请实施例提供的一种管理平台10的示例性结构图。该管理平台10包括紫峰(Zigbee)联盟下通过IP连接家庭工作组(Connected Home over IP Working Group,CHIP)设备12,平台云14和配置设备18。该配置设备18可以作为该管理平台10中的管理员(Admin)。FIG. 1 shows an exemplary structural diagram of a management platform 10 provided by an embodiment of the present application. The management platform 10 includes a Connected Home over IP Working Group (CHIP) device 12 , a platform cloud 14 and a configuration device 18 under the Zigbee alliance. The configuration device 18 can act as an administrator (Admin) in the management platform 10 .
在一些场景中,例如物联网领域,不同的厂商可以建立不同的管理平台,或称不同的编织网络(Fabric),通过管理平台中的配置设备18对同一Fabric中的一个或多个CHIP设备进行管理或控制,例如,配置设备18可以建立同一Fabric下的不同的CHIP设备的绑定关系,或者配置CHIP设备的操作权限等。In some scenarios, such as the Internet of Things field, different manufacturers can establish different management platforms, or different fabric networks (Fabrics), and configure one or more CHIP devices in the same Fabric through the configuration device 18 in the management platform. For management or control, for example, the configuration device 18 may establish binding relationships of different CHIP devices under the same Fabric, or configure the operation authority of the CHIP devices, and the like.
例如,Apple Home APP可以作为一个管理平台,Google Home APP可以为另一管理平台。For example, the Apple Home APP can be used as one management platform, and the Google Home APP can be another management platform.
管理平台中的每个CHIP设备12可以认为是一个节点,CHIP设备12可以通过配置设备18接入管理平台。配置设备18可供用户进行操作,以对接入管理平台的设备进行配置。如:用户可以使用应用程序(Application)控制接入管理平台的设备。Each CHIP device 12 in the management platform can be regarded as a node, and the CHIP device 12 can access the management platform through the configuration device 18 . The configuration device 18 is operable by the user to configure the device accessing the management platform. For example, a user can use an application (Application) to control the device accessing the management platform.
在一些实施例中,所述CHIP设备12为智能设备(如虚拟现实(Virtual Reality,VR)眼镜、智能可穿戴设备等)、终端设备,或者其它具备网络接入能力的设备,本申请实施例对此不作限定。In some embodiments, the CHIP device 12 is a smart device (such as virtual reality (Virtual Reality, VR) glasses, a smart wearable device, etc.), a terminal device, or other device with network access capability, which is an embodiment of the present application. This is not limited.
在一个示例中,在CHIP设备应用于智能家居生活场景中,CHIP设备12可以是智能电视、智能音箱、智能空调、智能电灯、智能门窗、智能窗帘、智能插座、智能开关等智能家居设备。In an example, in a scenario where the CHIP device is applied to a smart home life, the CHIP device 12 may be smart home devices such as smart TVs, smart speakers, smart air conditioners, smart lights, smart doors and windows, smart curtains, smart sockets, and smart switches.
可选地,CHIP设备12的数量为一个,或者,CHIP设备12的数量为多个,本申请实施例对此不作限定。Optionally, the number of CHIP devices 12 is one, or the number of CHIP devices 12 is multiple, which is not limited in this embodiment of the present application.
该平台云14为配置设备18对应的云端服务器。配置设备18与平台云14之间通过有线或无线网络相连。其中,该平台云14可以是云技术领域中的云计算资源池,在资源池中部署多种类型的虚拟资源,供外部客户选择使用。云计算资源池中主要包括:计算设备(为虚拟化机器,包含操作系统)、存储设备、网络设备。其可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者 分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。The platform cloud 14 is a cloud server corresponding to the configuration device 18 . The configuration device 18 is connected to the platform cloud 14 through a wired or wireless network. The platform cloud 14 may be a cloud computing resource pool in the field of cloud technology, and multiple types of virtual resources are deployed in the resource pool for external customers to choose and use. The cloud computing resource pool mainly includes: computing devices (which are virtualized machines, including operating systems), storage devices, and network devices. It can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or it can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, intermediate Cloud servers for basic cloud computing services such as software services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms.
在一些实施例中,同一Fabric内的具有管理员权限的配置设备18可以为该Fabric下的CHIP设备添加新的管理平台,即添加新的管理员(Admin)。以下,结合图4,管理平台A下的配置端A为该管理平台A下的节点添加管理平台B为例,说明添加新的管理平台的具体流程。即通过Admin A为该节点添加Admin B。In some embodiments, the configuration device 18 with administrator rights in the same Fabric can add a new management platform for CHIP devices under the Fabric, that is, add a new administrator (Admin). 4, the configuration terminal A under the management platform A adds the management platform B to the node under the management platform A as an example to describe the specific process of adding a new management platform. That is, add Admin B to the node through Admin A.
其中,该配置端A可以为管理平台A的具有管理权限的配置设备,例如应用A,用户可以通过操作应用A为节点添加管理平台B。The configuration terminal A may be a configuration device with management authority of management platform A, such as application A, and the user may add management platform B to the node by operating application A.
如图4所示,可以包括如下步骤:As shown in Figure 4, the following steps may be included:
S401,配置端A确定为节点添加管理平台B;S401, the configuration terminal A determines to add a management platform B for the node;
例如,用户可以通过操作配置端A为节点添加管理平台B。For example, the user can add management platform B to the node by operating the configuration terminal A.
S402,配置端A为管理平台B生成用于设备配对所需的数据,例如区别器(Discriminator,D)、版本标识(ID)、产品ID等信息。S402 , the configuration terminal A generates data required for device pairing for the management platform B, such as information such as a discriminator (Discriminator, D), a version identifier (ID), and a product ID.
S403,配置端A向节点发送配对命令请求,其中,该配置命令请求中携带配置数据和/或校验数据。S403, the configuration terminal A sends a pairing command request to the node, where the configuration command request carries configuration data and/or verification data.
例如,配置命令请求可以包括如下信息:配对超时时间、Discriminator(例如,D=OPG)、基于密钥认证的安全会话建立(Password Authenticated Session Establishment,PASE)校验值(verifier)、PASE迭代计数值(Iterator Count)、PASE盐值(Salt)。For example, the configuration command request may include the following information: pairing timeout, Discriminator (for example, D=OPG), Password Authenticated Session Establishment (PASE) verification value (verifier) based on key authentication, PASE iteration count value (Iterator Count), PASE salt value (Salt).
S404,节点向配置端A返回请求状态。S404, the node returns the request status to the configuration terminal A.
所述请求状态用于指示所述节点是否成功启动配对。The request status is used to indicate whether the node successfully initiates pairing.
S405,节点发布域名系统(Domain Name System,DNS)服务发现(Service Discovery)。S405, the node publishes a Domain Name System (Domain Name System, DNS) service discovery (Service Discovery).
可选地,DNS-DS发布的数据中包括Discriminator信息,其中,D=OPG。Optionally, the data published by the DNS-DS includes Discriminator information, where D=OPG.
S406,配置端A根据DNS-DS发布的数据(例如OPG等数据),生成该节点对应的厂商配对码(Manufacture Paring Code)或者二维码等,共享给配置平台B的配置端B。S406, the configuration terminal A generates a manufacturer paring code (Manufacture Paring Code) or a QR code corresponding to the node according to the data (such as OPG and other data) published by the DNS-DS, and shares it with the configuration terminal B of the configuration platform B.
S407,配置端B获取厂商配对码(Manufacture Paring Code)或者二维码。S407, the configuration terminal B obtains the manufacturer paring code (Manufacture Paring Code) or the two-dimensional code.
例如用户手动输入Manufacture Paring Code或通过扫描二维码以获取节点的OPG等内容。For example, the user manually enters the Manufacture Paring Code or scans the QR code to obtain the node's OPG and other content.
可选地,用户可以通过操作应用B获取厂商配对码(Manufacture Paring Code)或者二维码,即该配置端B可以为应用B。Optionally, the user can obtain a manufacturer paring code (Manufacture Paring Code) or a QR code by operating application B, that is, the configuration terminal B can be application B.
S408,配置端B根据DNS-SD进行设备发现。S408, the configuration end B performs device discovery according to DNS-SD.
例如,配置端B可以使用D=OPG查找对应的设备,即发现节点。For example, the configuration end B can use D=OPG to search for the corresponding device, that is, to discover the node.
S409,配置端B发现节点后解析该节点的IP地址或端口号。S409, after the configuration end B discovers the node, resolves the IP address or port number of the node.
S410,配置端B与节点建立PASE连接。S410, the configuration end B establishes a PASE connection with the node.
配置端B使用pakeid=OPG为新的PIN码(PIN Code),节点通过PASE verifier校验配置端B的OPG的合法性。The configuration end B uses pakeid=OPG as the new PIN code (PIN Code), and the node verifies the validity of the OPG of the configuration end B through the PASE verifier.
S411,配置端B与节点建立PASE连接后,对节点执行设备认证。S411, after the configuration end B establishes a PASE connection with the node, performs device authentication on the node.
S412,节点向配置端B发送证书签名请求(Certificate Signing Request,CSR),其中,CSR包括设备认证证书,设备公钥和签名等相关信息,以及认证声明(Certification Declaration,CD)信息。S412, the node sends a certificate signing request (Certificate Signing Request, CSR) to the configuration terminal B, where the CSR includes the device authentication certificate, the device public key and signature and other related information, and the certification declaration (Certification Declaration, CD) information.
S413,配置端B根据节点的CSR对进行设备认证。S413, the configuration end B performs device authentication according to the CSR pair of the node.
若设备认证通过,则生成编织网络标识(Fabric ID),例如Fabric ID=FID-ABC。If the device is authenticated, a woven network identification (Fabric ID) is generated, for example, Fabric ID=FID-ABC.
S414,配置端B向配置平台B对应的证书颁发机构(Certificate Authority,CA)(记为CA B)发送该节点的CSR信息,例如,包括设备认证证书,设备公钥和签名等相关信息和认证声明(Certification Declaration,CD)信息。S414, the configuration terminal B sends the CSR information of the node to the certificate authority (Certificate Authority, CA) (referred to as CA B) corresponding to the configuration platform B, for example, including the device certification certificate, device public key and signature and other related information and certification Declaration (Certification Declaration, CD) information.
S415,CA B根据CSR信息生成操作证书(Operational Credential,OC或OpCred),将该OC和该配置平台B对应的根证书(记为RC.B)返回给配置端B,其中,OC包括互操作身份标识(Operational Identifier,OpID)信息和互操作证书(Operational Certificate,OpCert)信息。S415, CA B generates an operation certificate (Operational Credential, OC or OpCred) according to the CSR information, and returns the OC and the root certificate (referred to as RC.B) corresponding to the configuration platform B to the configuration terminal B, wherein the OC includes interoperability Identifier (Operational Identifier, OpID) information and interoperability certificate (Operational Certificate, OpCert) information.
S416,配置端B向节点返回配置信息,其中该配置信息包括:OC(包括配置端B为节点生成的节点ID(NodeID)信息、FabricID信息、操作证书信息),RC.B根证书,设备默认的接入控制列表(Access Control List,ACL)信息、OpID信息。S416, the configuration terminal B returns configuration information to the node, wherein the configuration information includes: OC (including the Node ID (NodeID) information, FabricID information, and operation certificate information generated by the configuration terminal B for the node), RC.B root certificate, and the device defaults The access control list (Access Control List, ACL) information, OpID information.
S417,在节点的配对表(Paring Table)中添加配置平台B相关的信息。S417, add information related to the configuration platform B in the paring table (Paring Table) of the node.
例如,创建Pairing Table:Admin-TB:[For example, create a Pairing Table: Admin-TB:[
Admin A:<OPID:FID-XYZ,NID-1234;OC-1234;ACL-1234>;Admin A:<OPID:FID-XYZ,NID-1234;OC-1234;ACL-1234>;
Admin B:<OPID:FID-ABC,NID-7890;OC-7890;ACL-7890>。Admin B: <OPID:FID-ABC,NID-7890;OC-7890;ACL-7890>.
S418,在Node的ACL中添加配置平台B相关的信息。S418, add information related to the configuration platform B in the ACL of the Node.
例如,ACL-TB:[For example, ACL-TB:[
ACL-1234:[<privilege,auth,subjects,targets>;<privilege,auth,subjects,targets>];ACL-1234: [<privilege,auth,subjects,targets>;<privilege,auth,subjects,targets>];
ACL-7890:[<privilege,auth,subjects,targets>;<privilege,auth,subjects,targets>]ACL-7890: [<privilege,auth,subjects,targets>;<privilege,auth,subjects,targets>]
]。].
在添加配置平台B成功之后,还可以建立节点和配置端B的基于证书认证的安全会话建立(Certificate Authenticated Session Establishment,CASE)连接。After the configuration platform B is successfully added, a certificate authentication-based secure session establishment (Certificate Authenticated Session Establishment, CASE) connection between the node and the configuration terminal B can also be established.
应理解,在本申请实施例中,配置端和设备建立CASE的前提是,设备已经配网成功,且设备与配置端处在相同的网络中,即二者可以进行通信。It should be understood that, in this embodiment of the present application, the premise of establishing a CASE between the configuration end and the device is that the device has been successfully configured to the network, and the device and the configuration end are in the same network, that is, the two can communicate.
如图5所示,可以包括如下步骤:As shown in Figure 5, the following steps may be included:
S501,配置端B为节点分配密钥ID(Key ID),例如Key ID=K2。S501, the configuration terminal B assigns a key ID (Key ID) to the node, for example, Key ID=K2.
其中,配置端B扮演控制器的角色,节点为CHIP设备。Among them, the configuration terminal B plays the role of the controller, and the node is a CHIP device.
S502,配置端B向节点发送SigmaR1数据请求,携带数据根ID(例如,RootID-2)和K2。S502, the configuration end B sends a SigmaR1 data request to the node, carrying the data root ID (for example, RootID-2) and K2.
S503,节点收到SigmaR1请求后,通过RootID-2查询与其匹配的OpCert信息,找到节点的与配置平台B对应的证书信息。S503 , after the node receives the SigmaR1 request, it searches for the OpCert information matching it through RootID-2, and finds the certificate information of the node corresponding to the configuration platform B.
S504,节点分配Key ID=K12-2;S504, node allocation Key ID=K12-2;
S505,节点向配置端B返回SigmaR2消息,携带数据(OC-7890,表示Node与配置平台B对应的操作证书,NID-7890表示配置平台B为节点分配的Node ID,K12-2);S505, the node returns a SigmaR2 message to the configuration terminal B, carrying data (OC-7890, representing the operation certificate corresponding to the Node and the configuration platform B, NID-7890 representing the Node ID allocated by the configuration platform B for the node, K12-2);
S506,配置端B映射CASE会话(Session),建立<K2,OPID:{FID-ABC,NID-7890}>:<K12-2,Admin B,Session key>映射表;S506, configure end B to map the CASE session (Session), and establish a <K2, OPID:{FID-ABC,NID-7890}>:<K12-2,Admin B,Session key> mapping table;
S507,配置端B向节点发送SigmaR3的消息,携带数据(OC-2,表示控制器的证书信息);S507, the configuration terminal B sends a SigmaR3 message to the node, carrying data (OC-2, which represents the certificate information of the controller);
S508,节点映射CASE会话,建立<K12-2,OPID:{FID-ABC,NID-2}>:<K2,Admin B,Session key>映射表。S508, the node maps the CASE session, and establishes the <K12-2, OPID:{FID-ABC,NID-2}>:<K2,Admin B,Session key> mapping table.
后续数据传输中,配置端B向节点发消息时使用K2加密数据,节点使用K2解密,节点向配置端B发消息时使用K12-2加密,控制器使用K2-2解密。In subsequent data transmission, the configuration terminal B uses K2 to encrypt the data when sending messages to the node, the node uses K2 to decrypt the data, the node uses K12-2 encryption when sending messages to the configuration terminal B, and the controller uses K2-2 to decrypt.
在一些场景中,管理平台的配置端可以建立接入管理平台的两个设备之间的绑定关系,例如,配置端可以向控制设备中写入该绑定关系,该绑定关系为控制设备的Node ID和被控制设备的Node ID的绑定关系,其中,控制设备的Node ID和被控制设备的Node ID为该管理平台为该控制设备和被控制设备分配的ID,对其他管理平台不可见,也就是说,其他管理平台根据该管理平台分配的Node ID不能识别对应哪个设备。因此,当两个设备都处于其他管理平台下时,另一管理平台不能基于该绑定关系实现对被控制设备的有效控制。In some scenarios, the configuration end of the management platform may establish a binding relationship between two devices accessing the management platform. For example, the configuration end may write the binding relationship into the control device, and the binding relationship is the control device The binding relationship between the Node ID of the control device and the Node ID of the controlled device, wherein the Node ID of the control device and the Node ID of the controlled device are the IDs allocated by the management platform for the control device and the controlled device, and are not applicable to other management platforms. It can be seen that other management platforms cannot identify the corresponding device according to the Node ID assigned by the management platform. Therefore, when both devices are under other management platforms, the other management platform cannot effectively control the controlled device based on the binding relationship.
有鉴于此,本申请实施例提供了一种建立设备绑定关系的方法,通过为设备配置对不同管理平台均可见的身份标识信息,进一步通过设备的身份标识信息建立二者的绑定关系,这样,即使被控制设备和控制设备处于建立绑定关系的管理平台之外的其他管理平台下,也可以实现控制设备对被控制设备的有效控制。In view of this, an embodiment of the present application provides a method for establishing a device binding relationship, by configuring the device with identity information that is visible to different management platforms, and further establishing a binding relationship between the two through the identity information of the device, In this way, even if the controlled device and the control device are under other management platforms than the management platform that establishes the binding relationship, the control device can effectively control the controlled device.
图2是根据本申请实施例的建立设备绑定关系的方法的示意性交互图,如图2所示,该方法200可以包括如下至少部分内容:FIG. 2 is a schematic interaction diagram of a method for establishing a device binding relationship according to an embodiment of the present application. As shown in FIG. 2 , the method 200 may include at least some of the following contents:
S201,配置端获取被控制设备的身份标识信息,所述被控制设备的身份标识信息用于唯一标识所述被控制设备;S201, the configuration terminal obtains the identity information of the controlled device, and the identity information of the controlled device is used to uniquely identify the controlled device;
S202,配置端获取控制设备的身份标识信息,所述控制设备的身份标识信息用于唯一标识所述控制设备。S202, the configuration end acquires the identity information of the control device, where the identity information of the control device is used to uniquely identify the control device.
在本申请一些实施例中,所述配置端为第一管理平台的配置端或控制端,即第一管理平台可以通过配置端对接入该第一管理平台的设备进行配置或控制,例如配置设备的操作权限,建立设备的绑定关系等。In some embodiments of the present application, the configuration terminal is the configuration terminal or the control terminal of the first management platform, that is, the first management platform can configure or control the device connected to the first management platform through the configuration terminal, for example, configure The operation authority of the device, the establishment of the binding relationship of the device, etc.
可选地,所述配置端可以为所述第一管理平台上的应用,或者,安装所述应用的终端设备,例如手机,平板电脑,计算机,可穿戴设备等,本申请对此不作限定。例如用户可以通过操作第一管理平台的应用A对设备进行配置,例如配置设备之间的绑定关系,设备的操作权限等。即应用A可以作为第一管理平台的配置器。Optionally, the configuration terminal may be an application on the first management platform, or a terminal device on which the application is installed, such as a mobile phone, a tablet computer, a computer, a wearable device, etc., which is not limited in this application. For example, the user can configure the device by operating the application A of the first management platform, for example, configure the binding relationship between the devices, the operation authority of the device, and the like. That is, the application A can serve as the configurator of the first management platform.
在一些实施例中,所述控制设备可以为CHIP设备,所述被控制设备也可以为CHIP设备。例如,所述控制设备为开关设备,所述被控制设备为灯设备。In some embodiments, the controlling device may be a CHIP device, and the controlled device may also be a CHIP device. For example, the control device is a switching device, and the controlled device is a light device.
在一些实施例中,所述控制设备和所述被控制设备为接入所述第一管理平台的设备,例如所述控制设备和所述被控制设备可以通过无线保真接入点(Wireless Fidelity,WiFi)网络或蓝牙(Bluetooth) 网络接入所述第一管理平台。In some embodiments, the controlling device and the controlled device are devices that access the first management platform, for example, the controlling device and the controlled device may use a wireless fidelity access point (Wireless Fidelity Access Point). , WiFi) network or Bluetooth (Bluetooth) network to access the first management platform.
也就是说,所述控制设备的配对列表(Paring Table)中包括所述第一管理平台的相关信息,所述控制设备的ACL中包括所述第一管理平台的相关信息,所述被控制设备的配对列表(Paring Table)中包括所述第一管理平台的相关信息,所述被控制设备的Access Control List,ACL中包括所述第一管理平台的相关信息。That is to say, the paring table of the controlling device includes relevant information of the first management platform, the ACL of the controlling device includes relevant information of the first management platform, and the controlled device includes relevant information of the first management platform. The pairing list (Paring Table) of the device includes the relevant information of the first management platform, the Access Control List of the controlled device, and the ACL include the relevant information of the first management platform.
在本申请一些实施例中,所述配置端可以在与所述控制设备建立CASE连接的情况下,获取所述控制设备的身份标识信息,或者,获取所述控制设备的其他信息,例如Fabric列表信息,互操作身份标识(OpID)信息等。In some embodiments of the present application, the configuration terminal may obtain the identity information of the control device, or obtain other information of the control device, such as a Fabric list, when a CASE connection is established with the control device. information, Interoperable Identity Identifier (OpID) information, etc.
在本申请一些实施例中,所述配置端可以在与所述被控制设备建立CASE连接的情况下,获取所述被控制设备的身份标识信息,或者,获取所述被控制设备的其他信息,例如Fabric列表信息,OpID信息等。In some embodiments of the present application, the configuration terminal may obtain the identity information of the controlled device, or obtain other information of the controlled device, when a CASE connection is established with the controlled device, For example, Fabric list information, OpID information, etc.
在本申请实施例中的身份标识信息为不同的管理平台都能识别的标识信息,不同的管理平台均可以根据该身份标识信息确定对应哪个设备,也就是说,对于不同的管理平台而言,控制设备和被控制设备的身份标识信息是相同的,从而对设备有管理权限的管理平台均可以基于设备的身份标识信息对设备进行配置或控制。The identification information in the embodiments of the present application is identification information that can be recognized by different management platforms, and different management platforms can determine which device corresponds to the identification information according to the identification information. That is, for different management platforms, The identity information of the controlling device and the controlled device are the same, so that any management platform that has management authority over the device can configure or control the device based on the identity information of the device.
在一些实施例中,对设备有管理权限的管理平台包括设备的ACL中的管理平台,或配对列表中的管理平台。In some embodiments, the management platform with management rights to the device includes the management platform in the ACL of the device, or the management platform in the pairing list.
可选地,在一些实施例中,设备的身份标识信息可以为64比特的整型数值,或者其他能够唯一标识设备的标识信息,本申请对此不作限定。Optionally, in some embodiments, the identification information of the device may be a 64-bit integer value, or other identification information that can uniquely identify the device, which is not limited in this application.
在本申请一些实施例中,设备的身份标识信息可以更改,例如,可以设置对身份标识信息具有修改权限的管理平台,该管理平台的配置端可以对设备的身份标识信息进行修改,在修改该设备的身份标识信息之后,该管理平台的配置端可以通知给该设备的其他管理平台,以便其他管理平台获取修改后的设备的身份标识信息。In some embodiments of the present application, the identification information of the device can be changed. For example, a management platform with the right to modify the identification information can be set up, and the configuration end of the management platform can modify the identification information of the device. After the identification information of the device is obtained, the configuration end of the management platform can notify other management platforms of the device, so that the other management platforms can obtain the modified identification information of the device.
在本申请一些实施例中,配置端获取设备的身份标识信息后,可以存储该设备的身份标识信息,在需要建立该设备与其他设备的绑定关系时,可以不必从该设备再次获取该设备的身份标识信息,或者,在该设备的身份标识信息发生变更时,再获取该设备的身份标识信息。In some embodiments of the present application, after acquiring the identity information of the device, the configuration terminal can store the identity information of the device. When a binding relationship between the device and other devices needs to be established, it is not necessary to obtain the device from the device again. The identification information of the device, or, when the identification information of the device is changed, the identification information of the device is obtained again.
在本申请一些实施例中,所述被控制设备的身份标识信息可以存储在被控制设备的簇(cluster)中。例如,存储在被控制设备的第一端点(endpoint,ep)的第一簇中。其中,第一端点可以为ep0,ep1,或者其他ep,所述第一簇可以为基本簇(basic cluster),用于承载身份标识信息的专用簇,或者其他簇。In some embodiments of the present application, the identity information of the controlled device may be stored in a cluster (cluster) of the controlled device. For example, it is stored in the first cluster of the first endpoint (ep) of the controlled device. The first endpoint may be ep0, ep1, or other eps, and the first cluster may be a basic cluster (basic cluster), a dedicated cluster for carrying identity information, or other clusters.
在本申请一些实施例中,所述控制设备的身份标识信息可以存储在控制设备的簇(cluster)中。例如,存储在控制设备的第二端点(endpoint)的第二簇中。其中,第二端点可以为ep0,ep1,或者其他ep,所述第二簇可以为基本簇(basic cluster),用于承载身份标识信息的专用簇,或者其他簇。In some embodiments of the present application, the identity information of the control device may be stored in a cluster (cluster) of the control device. For example, stored in the second cluster of the second endpoint of the control device. Wherein, the second endpoint may be ep0, ep1, or other eps, and the second cluster may be a basic cluster (basic cluster), a dedicated cluster for carrying identity information, or other clusters.
在本申请一些实施例中,该S201可以包括:In some embodiments of the present application, the S201 may include:
所述配置端向被控制设备发送第一读请求,所述第一读请求包括所述被控制设备的身份标识信息在所述被控制设备上的存储路径信息;The configuration terminal sends a first read request to the controlled device, where the first read request includes storage path information of the identity information of the controlled device on the controlled device;
接收所述被控制设备返回的所述被控制设备的身份标识信息。Receive the identity information of the controlled device returned by the controlled device.
在本申请一些实施例中,该S202可以包括:In some embodiments of the present application, the S202 may include:
所述配置端向控制设备发送第二读请求,所述第二读请求可以包括所述控制设备的身份标识信息的存储路径信息;The configuration terminal sends a second read request to the control device, where the second read request may include storage path information of the identity information of the control device;
接收所述控制设备返回的所述控制设备的身份标识信息。Receive the identity information of the control device returned by the control device.
应理解,本申请实施例并不限定所述配置端获取所述控制设备和所述被控制设备的身份标识信息的先后顺序。例如,先获取被控制设备的身份标识信息,后获取控制设备的身份标识信息,或者,先获取控制设备的身份标识信息,后获取被控制设备的身份标识信息,或者,同时获取该控制设备和被控制设备的身份标识信息等。It should be understood that the embodiment of the present application does not limit the sequence in which the configuration terminal obtains the identification information of the control device and the controlled device. For example, the identity information of the controlled device is obtained first, and then the identity information of the control device is obtained, or the identity information of the control device is obtained first, and then the identity information of the controlled device is obtained, or the control device and the control device are obtained at the same time. Identity information of the controlled device, etc.
在本申请一些实施例中,配置端可以在获取所述被控制设备的编织网络列表信息和互操作身份标识信息之后,再获取所述被控制设备的身份标识信息。In some embodiments of the present application, the configuration end may acquire the identity information of the controlled device after acquiring the woven network list information and the interoperability identification information of the controlled device.
在一些实施例中,配置端可以向被控制设备发送编织网络列表获取请求以获取该被控制设备的Fabric列表。假设该被控制设备的编织列表的存储路径为:ep0/opcred-cluster/fabric_list,则配置端可以向被控制设备发送如下读请求:Read:ep0/opcred-cluster/fabric_list,以获取被控制设备的编织网络列表。In some embodiments, the configuration end may send a request for obtaining the fabric network list to the controlled device to obtain the fabric list of the controlled device. Assuming that the storage path of the weave list of the controlled device is: ep0/opcred-cluster/fabric_list, the configuration end can send the following read request to the controlled device: Read: ep0/opcred-cluster/fabric_list to obtain the information of the controlled device. Weave the network list.
进一步地,该被控制设备可以向配置端返回编织网络列表信息,其中,该编织网络列表包括所述 被控制设备的管理平台的信息,例如,对该被控制设备具有管理权限的管理平台,或者,所述被控制设备上已添加的所有管理平台等。Further, the controlled device may return the information of the woven network list to the configuration terminal, wherein the woven network list includes the information of the management platform of the controlled device, for example, the management platform that has the management authority to the controlled device, or , all the management platforms that have been added on the controlled device, etc.
在一些实施例中,配置端可以向被控制设备发送互操作身份标识获取请求以获取该被控制设备的OpID。假设该被控制设备的互操作身份标识的存储路径为:ep0/opcred-cluster/opid_list,则配置端可以向被控制设备发送如下读请求:Read:ep0/opcred-cluster/opid_list,以获取被控制设备的互操作身份标识列表。In some embodiments, the configuration end may send an interoperability identity acquisition request to the controlled device to acquire the OpID of the controlled device. Assuming that the storage path of the interoperable identity of the controlled device is: ep0/opcred-cluster/opid_list, the configuration end can send the following read request to the controlled device: Read: ep0/opcred-cluster/opid_list to obtain the controlled device A list of interoperable identities for the device.
进一步地,该被控制设备可以向配置端返回OpID列表信息,其中,该OpID列表包括所述被控制设备的管理平台为所述被控制设备分配的OpID。Further, the controlled device may return OpID list information to the configuration terminal, where the OpID list includes the OpID allocated to the controlled device by the management platform of the controlled device.
在本申请一些实施例中,所述配置端可以在获取所述控制设备的编织网络列表信息和互操作身份标识信息之后,再获取所述控制设备的身份标识信息。In some embodiments of the present application, the configuration end may acquire the identity information of the control device after acquiring the woven network list information and the interoperability identity information of the control device.
在一些实施例中,配置端可以向控制设备发送编织网络列表获取请求以获取该控制设备的Fabric列表。假设该控制设备的编织网络列表在控制设备上的存储路径为:ep0/opcred-cluster/fabric_list,则配置端可以向控制设备发送如下读请求:Read:ep0/opcred-cluster/fabric_list请求,以获取控制设备的编织网络列表。In some embodiments, the configuration end may send a request for obtaining the fabric network list to the control device to obtain the fabric list of the control device. Assuming that the storage path of the woven network list of the control device on the control device is: ep0/opcred-cluster/fabric_list, the configuration end can send the following read request to the control device: Read: ep0/opcred-cluster/fabric_list request to obtain A list of braided nets that control the device.
进一步地,该控制设备可以向配置端返回编织网络列表信息,其中,该编织网络列表包括所述控制设备的管理平台的信息,例如,对该控制设备具有管理权限的管理平台,或者,所述控制设备上已添加的所有管理平台等。Further, the control device may return the information of the braided network list to the configuration terminal, wherein the braided network list includes the information of the management platform of the control device, for example, the management platform that has the management authority for the control device, or the Control all management platforms and more that have been added on the device.
在一些实施例中,配置端可以向控制设备发送互操作身份标识获取请求以获取被控制设备的OpID,假设控制设备的OpID列表在控制设备上的存储路径为:ep0/opcred-cluster/opid_list,则配置端可以向控制设备发送如下读请求:Read:ep0/opcred-cluster/opid_list请求,以获取控制设备的互操作身份标识列表。In some embodiments, the configuration end may send an interoperability identity identification acquisition request to the control device to obtain the OpID of the controlled device. It is assumed that the storage path of the OpID list of the control device on the control device is: ep0/opcred-cluster/opid_list, Then, the configuration end can send the following read request to the control device: Read: ep0/opcred-cluster/opid_list request to obtain the list of interoperability identities of the control device.
进一步地,该控制设备可以向配置端返回OpID列表信息,其中,该OpID列表包括所述控制设备的管理平台为所述控制设备分配的OpID。Further, the control device may return OpID list information to the configuration terminal, where the OpID list includes the OpID allocated to the control device by the management platform of the control device.
在本申请实施例中,继续参见图2,该方法200还包括:In this embodiment of the present application, continuing to refer to FIG. 2 , the method 200 further includes:
S203,配置端向所述被控制设备的ACL中写入所述控制设备的身份标识信息。S203: The configuration end writes the identity information of the controlling device into the ACL of the controlled device.
例如,配置端可以在被控制设备上为控制设备添加操作权限。For example, the configuration terminal can add operation permissions for the control device on the controlled device.
在本申请一些实施例中,该S203可以包括:In some embodiments of the present application, the S203 may include:
配置端可以向被控制设备发送第一写请求,所述第一写请求用于向被控制设备的ACL中写入控制设备的身份标识信息。The configuration end may send a first write request to the controlled device, where the first write request is used to write the identity information of the controlling device into the ACL of the controlled device.
在一些实施例中,所述第一写请求可以包括所述被控制设备的ACL的存储路径以及所述控制设备的身份标识信息。In some embodiments, the first write request may include the storage path of the ACL of the controlled device and the identity information of the controlling device.
在一些实施例中,所述配置端可以向被控制设备的ACL的控制源列表(Subject)中写入控制设备的身份标识信息。即所述第一写请求用于向被控制设备的ACL中的Subject中写入控制设备的身份标识信息。In some embodiments, the configuration end may write the identity information of the controlling device into the control source list (Subject) of the ACL of the controlled device. That is, the first write request is used to write the identity information of the controlling device into the Subject in the ACL of the controlled device.
可选地,在一些实施例中,所述配置端还可以向被控制设备的ACL的Subject中写入控制设备的Node ID信息,其中,该控制设备的Node ID为第一管理平台为该控制设备分配的Node ID,该Node ID只对该第一管理平台可见,其他管理平台根据该Node ID不能识别对应哪个物理设备。Optionally, in some embodiments, the configuration terminal may also write the Node ID information of the controlling device into the Subject of the ACL of the controlled device, wherein the Node ID of the controlling device is that the first management platform is the control device. The Node ID assigned by the device, the Node ID is only visible to the first management platform, and other management platforms cannot identify which physical device corresponds to the Node ID.
例如,所述第一写请求还可以包括该控制设备的Node ID。For example, the first write request may also include the Node ID of the control device.
以控制设备为开关设备,被控制设备为灯设备,第一管理平台为Admin A作为示例说明写ACL的具体实现。Taking the control device as the switch device, the controlled device as the lamp device, and the first management platform as Admin A as an example to illustrate the specific implementation of writing ACL.
假设灯设备的ACL在灯设备上的存储路径为ep0/ACL-cluster/ACLEntry,开关设备的身份标识信息为DID-2,Admin A为开关设备分配的Node ID为NID-1234,则配置端可以向灯设备发送如下写请求,以在灯设备上为开关设备添加操作权限:write:ep0/ACL-cluster/ACLEntry,写入的数据为:admin=Admin A,privilege=operate,AuthMode=CASE,Subject=[<NID-1234:DID-2>,],target=[ep2,on/off cluster],其中,privilege表示权限级别,target表示目标cluster列表,Subject表示目标控制设备列表,即能控制该控制设备的设备的列表。Assuming that the storage path of the ACL of the light device on the light device is ep0/ACL-cluster/ACLEntry, the identity information of the switch device is DID-2, and the Node ID assigned by Admin A to the switch device is NID-1234, then the configuration end can Send the following write request to the light device to add operation permissions for the switch device on the light device: write:ep0/ACL-cluster/ACLEntry, the written data is: admin=Admin A,privilege=operate,AuthMode=CASE,Subject =[<NID-1234:DID-2>,],target=[ep2,on/off cluster], where privilege represents the permission level, target represents the target cluster list, and Subject represents the target control device list, that is, it can control the control A list of devices for the device.
在本申请实施例中,继续参见图2,该方法200还包括:In this embodiment of the present application, continuing to refer to FIG. 2 , the method 200 further includes:
S204,向所述控制设备中发送绑定信息,所述绑定信息包括所述被控制设备的设备信息和所述控制设备的设备信息的绑定关系,其中,所述被控制设备的设备信息包括所述被控制设备的身份标识信息,所述控制设备的设备信息包括所述控制设备的身份标识信息。S204: Send binding information to the control device, where the binding information includes a binding relationship between the device information of the controlled device and the device information of the control device, wherein the device information of the controlled device It includes the identification information of the controlled device, and the device information of the controlling device includes the identification information of the controlling device.
由于设备的身份标识信息可以唯一标识该设备,则不同的管理平台都可以根据该身份标识信息识别控制的是哪个设备。因此,基于设备的身份标识信息建立绑定关系,有利于保证不同的管理平台对 于绑定关系的理解的一致。Since the identification information of the device can uniquely identify the device, different management platforms can identify which device is controlled according to the identification information. Therefore, establishing a binding relationship based on the identity information of the device is beneficial to ensure that different management platforms have a consistent understanding of the binding relationship.
在本申请一些实施例中,所述绑定关系可以为控制设备的身份标识信息和被控制设备的身份标识信息的绑定关系。In some embodiments of the present application, the binding relationship may be a binding relationship between the identity information of the controlling device and the identity information of the controlled device.
在本申请一些实施例中,该S204可以包括:In some embodiments of the present application, the S204 may include:
配置端可以向被控制设备发送第二写请求,所述第二写请求用于请求向控制设备写入所述绑定信息。The configuration end may send a second write request to the controlled device, where the second write request is used to request to write the binding information to the control device.
在一些实施例中,所述第二写请求可以包括所述控制设备的绑定信息列表在所述控制设备上的重传路径以及所述绑定信息。In some embodiments, the second write request may include a retransmission path of the binding information list of the control device on the control device and the binding information.
在本申请另一些实施例中,所述被控制设备的设备信息还包括所述被控制设备的OpId,所述控制设备的设备信息还包括所述控制设备的OpId,则所述控制设备和被控制设备的绑定关系可以体现为控制设备的OpId加身份标识信息和被控制设备的OpId加身份标识信息的绑定关系。In other embodiments of the present application, the device information of the controlled device further includes the OpId of the controlled device, and the device information of the controlling device further includes the OpId of the controlling device, then the controlling device and the controlled device The binding relationship of the controlling device may be embodied as a binding relationship between the OpId of the controlling device and the identity information and the OpId of the controlled device and the identity information.
在一些实施例中,所述被控制设备的OpID包括所述第一管理平台为所述被控制设备分配的Node ID以及所述第一管理平台的编织网络标识(Fabric Identify,FID)。In some embodiments, the OpID of the controlled device includes a Node ID allocated to the controlled device by the first management platform and a Fabric Identify (FID) of the first management platform.
在一些实施例中,所述控制设备的OpID包括所述第一管理平台为所述控制设备分配的Node ID以及所述第一管理平台的FID。In some embodiments, the OpID of the control device includes the Node ID allocated to the control device by the first management platform and the FID of the first management platform.
以控制设备为开关设备,被控制设备为灯设备,第一管理平台为Admin A为例,说明建立绑定关系的具体实现。Taking the control device as the switch device, the controlled device as the lamp device, and the first management platform as Admin A as an example, the specific implementation of establishing the binding relationship is described.
假设Admin A的FID为FID-XYZ,开关设备的身份标识信息为DID-2,灯设备的身份标识信息为DID-1,Admin A为开关设备分配的Node ID为NID-1234,Admin A为灯设备分配的Node ID为NID-ABCD,则配置端可以为开关设备和灯设备建立如下绑定关系:Assume that the FID of Admin A is FID-XYZ, the identification information of the switchgear is DID-2, the identification information of the lamp device is DID-1, the Node ID assigned by Admin A to the switchgear is NID-1234, and Admin A is the lamp If the Node ID assigned by the device is NID-ABCD, the configuration terminal can establish the following binding relationship for the switch device and the light device:
Binding-TB:(Local:Admin A,<OpID:FID-XYZ、NID-1234>:<DID-2>,ep2,OnOff Cluster)<->(Remote:Admin A,<OpID:FID-XYZ、NID-ABCD>:<DID-1>,ep2,On/Off Cluster)。Binding-TB:(Local:Admin A,<OpID:FID-XYZ,NID-1234>:<DID-2>,ep2,OnOff Cluster)<->(Remote:Admin A,<OpID:FID-XYZ,NID -ABCD>:<DID-1>,ep2,On/Off Cluster).
在本申请一些实施例中,在第一管理平台通过配置端建立控制设备和被控制设备的绑定关系之后,若第二管理平台(Admin B)也要为控制设备和被控制设备建立绑定关系,则第二管理平台的配置端可以首先查询该控制设备中的绑定关系列表(或称绑定信息列表),确定是否存在控制设备和被控制设备的绑定关系,若存在控制设备和被控制设备的通过身份标识信息建立的绑定关系,则不建立控制设备和被控制设备的绑定关系,或者也可以在控制设备和被控制设备的绑定关系中添加第二管理平台的信息。In some embodiments of the present application, after the first management platform establishes the binding relationship between the control device and the controlled device through the configuration terminal, if the second management platform (Admin B) also establishes a binding between the control device and the controlled device relationship, the configuration end of the second management platform can first query the binding relationship list (or binding information list) in the control device to determine whether there is a binding relationship between the control device and the controlled device. If the binding relationship of the controlled device is established through the identity information, the binding relationship between the controlling device and the controlled device is not established, or the information of the second management platform can also be added to the binding relationship between the controlling device and the controlled device. .
例如,在前述示例中,可以将控制设备和被控制设备的绑定信息更新为:For example, in the foregoing example, the binding information of the controlling device and the controlled device can be updated as:
Binding-TB:(Local:Admin A&Admin B,<OpID:FID-XYZ、NID-1234>:<DID-2>,ep2,OnOff Cluster)<->(Remote:Admin A&Admin B,<OpID:FID-XYZ、NID-ABCD>:<DID-1>,ep2,On/Off Cluster)。Binding-TB:(Local:Admin A&Admin B,<OpID:FID-XYZ,NID-1234>:<DID-2>,ep2,OnOff Cluster)<->(Remote:Admin A&Admin B,<OpID:FID-XYZ , NID-ABCD>:<DID-1>,ep2,On/Off Cluster).
在本申请一些实施例中,配置端在接收到所述被控制设备回复的第一状态信息的情况下,向所述控制设备发送所述绑定信息,其中,所述第一状态信息用于指示所述配置端在所述被控制设备的ACL中写入所述控制设备的身份标识信息成功。In some embodiments of the present application, the configuration end sends the binding information to the control device in the case of receiving the first state information replied by the controlled device, where the first state information is used for Instructing the configuration end to successfully write the identity information of the controlling device into the ACL of the controlled device.
即配置端在向被控制设备的ACL中写入控制设备的身份标识信息成功的情况下,再向控制设备写入所述绑定信息。That is, the configuration end writes the binding information to the control device when the identity information of the control device is successfully written into the ACL of the controlled device.
在本申请一些实施例中,配置端在所述控制设备上未保存所述被控制设备和所述控制设备的绑定关系的情况下,向所述控制设备发送所述绑定信息。In some embodiments of the present application, the configuration end sends the binding information to the controlling device in the case that the binding relationship between the controlled device and the controlling device is not saved on the controlling device.
例如,配置端在向控制设备写入绑定信息之前,首先向控制设备发送绑定信息获取请求,假设控制设备的绑定信息列表存储在路径ep1/binding-cluster/binding_tb下,则配置端可以向控制设备发送如下读请求:Read:ep1/binding-cluster/binding_tb以获取该控制设备的绑定信息列表,进一步地,控制设备可以向配置端返回绑定信息列表。For example, before writing binding information to the control device, the configuration end first sends a binding information acquisition request to the control device. Assuming that the binding information list of the control device is stored in the path ep1/binding-cluster/binding_tb, the configuration end can Send the following read request to the control device: Read:ep1/binding-cluster/binding_tb to obtain the binding information list of the control device, and further, the control device can return the binding information list to the configuration end.
配置端在获取绑定信息列表之后,可以确定该绑定信息列表中是否存在该控制设备和被控制设备的绑定信息,若不存在二者的绑定关系,或者若存在绑定信息,但是该绑定信息是以设备的Node ID建立的,则向控制设备发送根据设备的身份标识信息建立的绑定信息。After obtaining the binding information list, the configuration end can determine whether there is binding information between the controlling device and the controlled device in the binding information list, if there is no binding relationship between the two, or if there is binding information, but The binding information is established with the Node ID of the device, and the binding information established according to the identification information of the device is sent to the control device.
可选地,在配置端向控制设备写入绑定信息之后,控制设备可以向配置端发送第二状态信息,所述第二状态信息用于指示所述绑定信息是否设置成功。Optionally, after the configuration end writes the binding information to the control device, the control device may send second state information to the configuration end, where the second state information is used to indicate whether the binding information is successfully set.
在本申请一些实施例中,配置端向被控制设备的ACL中写入控制设备的身份标识信息成功,并且配置端向控制设备写入绑定信息成功,即所述第一状态信息指示配置端在所述被控制设备的ACL中写入所述控制设备的身份标识信息成功,并且第二状态信息用于指示所述绑定信息设置成功,可以认为所述控制设备和被控制设备的绑定关系建立成功。In some embodiments of the present application, the configuration end successfully writes the identity information of the control device into the ACL of the controlled device, and the configuration end successfully writes binding information to the control device, that is, the first state information indicates that the configuration end The identity information of the controlling device is successfully written into the ACL of the controlled device, and the second state information is used to indicate that the binding information is set successfully, and it can be considered that the binding between the controlling device and the controlled device is successful. The relationship is established successfully.
在本申请一些实施例中,配置端向被控制设备的ACL中写入控制设备的身份标识信息失败,或者配置端向控制设备写入绑定信息失败,即所述第一状态信息指示配置端在所述被控制设备的ACL中写入所述控制设备的身份标识信息失败,或者第二状态信息用于指示所述绑定信息设置失败,可以认为所述控制设备和被控制设备的绑定关系建立失败。In some embodiments of the present application, the configuration end fails to write the identity information of the control device into the ACL of the controlled device, or the configuration end fails to write binding information to the control device, that is, the first state information indicates that the configuration end If the identity information of the controlling device fails to be written into the ACL of the controlled device, or the second status information is used to indicate that the setting of the binding information fails, it can be considered that the binding between the controlling device and the controlled device fails. Relationship establishment failed.
可选地,在控制设备和被控制设备的绑定关系建立成功之后,控制设备可以在该第一Fabric列表中的任一管理平台下对该被控制设备进行控制,其中,该第一Fabric列表可以包括所述控制设备的Fabric列表和所述被控制设备的Fabric列表的交集或并集。Optionally, after the binding relationship between the controlling device and the controlled device is successfully established, the controlling device can control the controlled device under any management platform in the first Fabric list, where the first Fabric list The intersection or union of the fabric list of the controlling device and the fabric list of the controlled device may be included.
例如,所述控制设备可以根据被控制设备的OpID结合绑定信息列表,查找该绑定信息列表中的OpID对应的身份标识信息,进一步根据该被控制设备的身份标识信息生成控制消息,例如将该控制消息的源地址设置为控制设备的身份标识信息,目的地址设置为被控制设备的身份标识信息,进一步向被控制设备发送该控制消息。For example, the control device may search for the identity information corresponding to the OpID in the binding information list according to the OpID of the controlled device in combination with the binding information list, and further generate a control message according to the identity information of the controlled device, for example, The source address of the control message is set as the identity information of the controlling device, and the destination address is set as the identity information of the controlled device, and the control message is further sent to the controlled device.
综上,本申请实施例通过为设备添加对不同的管理平台均可见的身份标识信息,即对于不同的管理平台,根据该身份标识信息都可以确定为同一个设备,进一步基于该身份标识信息建立的控制设备和被控制设备的绑定关系,有利于保证不同的管理平台对于控制双方的理解的一致,从而能够实现对设备的有效控制。To sum up, in this embodiment of the present application, by adding identity information to the device that is visible to different management platforms, that is, for different management platforms, it can be determined as the same device according to the identity information, and further based on the identity information. The binding relationship between the control device and the controlled device is beneficial to ensure that different management platforms have the same understanding of the control parties, so as to achieve effective control of the device.
结合图3,以控制设备为开关设备,被控制设备为灯设备为例,说明根据本申请实施例的建立设备绑定关系的方法的整体流程。With reference to FIG. 3 , the overall flow of the method for establishing a device binding relationship according to an embodiment of the present application is described by taking the control device as a switch device and the controlled device as a light device as an example.
其中,在灯设备的簇中存储有该灯设备的身份标识信息记为DID-1,在开关设备的簇中存储有该开关设备的身份标识信息记为DID-2。Wherein, the identification information of the lamp device stored in the cluster of the lamp device is denoted as DID-1, and the identification information of the switch device stored in the cluster of the switch device is denoted as DID-2.
在该实施例中,配置端作为管理平台(Admin A)的配置器,建立开关设备和灯设备的绑定关系,即配置端作为建立开关设备和灯设备的绑定关系的中间配置角色。In this embodiment, the configuration terminal acts as a configurator of the management platform (Admin A) to establish the binding relationship between the switch device and the lamp device, that is, the configuration terminal acts as an intermediate configuration role for establishing the binding relationship between the switch device and the lamp device.
其中,Admin A为开关设备分配的Node ID为NID-1234,Admin A为开关设备分配的Node ID为NID-ABCD。The Node ID assigned by Admin A to the switchgear is NID-1234, and the Node ID assigned by Admin A to the switchgear is NID-ABCD.
在配置端与开关设备和灯设备进行通信之前,所述配置端与开关设备以及灯设备均已建立CASE会话,建立CASE会话的具体流程参考图5的相关流程,为了简洁,这里不再赘述。Before the configuration end communicates with the switch device and the light device, the configuration end has established a CASE session with the switch device and the light device. The specific process of establishing a CASE session refers to the relevant process in FIG. 5 , which is not repeated here for brevity.
如图3所示,可以包括如下步骤:As shown in Figure 3, the following steps may be included:
S301,配置端获取灯设备的编织网络(Fabric)列表信息。S301 , the configuration end acquires the fabric network (Fabric) list information of the lamp device.
例如,配置端可以向被控制设备发送编织网络列表获取请求,假设该被控制设备的编织列表的存储路径为:ep0/opcred-cluster/fabric_list,则配置端可以向被控制设备发送如下读请求:Read:ep0/opcred-cluster/fabric_list,以获取被控制设备的编织网络列表。For example, the configuration end can send a request to obtain the fabric network list to the controlled device. Assuming that the storage path of the fabric list of the controlled device is: ep0/opcred-cluster/fabric_list, the configuration end can send the following read request to the controlled device: Read: ep0/opcred-cluster/fabric_list to get the fabric network list of the controlled device.
S302,灯设备向配置端返回该灯设备的Fabric列表。S302, the light device returns the Fabric list of the light device to the configuration end.
例如,该Fabric列表包括灯设备的管理平台的信息,例如,对该灯设备具有管理权限的管理平台的信息,或者,灯设备上已添加的所有管理平台的信息等。For example, the Fabric list includes the information of the management platform of the light device, for example, the information of the management platform that has the management authority to the light device, or the information of all the management platforms that have been added on the light device, and so on.
S303,配置端获取灯设备的互操作身份标识(OpID)信息。S303 , the configuration end acquires the interoperability identification (OpID) information of the lamp device.
例如,配置端可以向灯设备发送OpID获取请求,假设该灯设备的OpID的存储路径为:ep0/opcred-cluster/opid_list,则配置端可以向灯设备发送如下读请求:Read:ep0/opcred-cluster/opid_list,以获取灯设备的OpID列表信息。For example, the configuration end can send an OpID acquisition request to the light device. Assuming that the storage path of the OpID of the light device is: ep0/opcred-cluster/opid_list, the configuration end can send the following read request to the light device: Read: ep0/opcred- cluster/opid_list to get the OpID list information of the light device.
S304,灯设备向配置端返回OpID列表信息。S304, the light device returns the OpID list information to the configuration terminal.
可选地,该OpID列表包括所述灯设备的每个管理平台为灯设备分配的OpID。Optionally, the OpID list includes the OpIDs assigned to the lamp equipment by each management platform of the lamp equipment.
可选地,灯设备的OpID可以包括该灯设备的Node ID,以及分配该Node Id的管理平台的FID。Optionally, the OpID of the light device may include the Node ID of the light device, and the FID of the management platform that assigns the Node Id.
S305,配置端获取灯设备的身份标识信息。S305, the configuration terminal obtains the identification information of the lamp device.
例如,配置端可以向灯设备发送身份标识获取请求,假设该灯设备的身份标识信息的存储路径为:ep-x/cluster-y/devid,则配置端可以向灯设备发送如下读请求:Read:ep-x/cluster-y/did请求,以获取灯设备的身份标识信息。For example, the configuration end can send an identity identification acquisition request to the lamp device. Assuming that the storage path of the identification information of the lamp device is: ep-x/cluster-y/devid, the configuration end can send the following read request to the lamp device: Read : ep-x/cluster-y/did request to get the identity information of the lamp device.
可选地,ep-x可以为灯设备的一个ep,例如ep0,ep1或者其他ep,cluster-y例如可以为basic cluster,用于存储DID的专用cluster,或者其他cluster,devid表示属性值,本申请对此不作限定。Optionally, ep-x can be an ep of the light device, such as ep0, ep1 or other eps, and cluster-y can be, for example, a basic cluster, a dedicated cluster for storing DIDs, or other clusters. The application is not limited in this regard.
S306,灯设备向配置端返回身份标识信息。S306, the lamp device returns the identity information to the configuration terminal.
S307,配置端按照S301~S306中类似的方式获取开关设备的Fabric列表信息,OpID列表信息和身份标识信息。S307, the configuration end acquires the Fabric list information, OpID list information and identity information of the switch device in a similar manner as in S301-S306.
S308,开关设备向配置端返回Fabric列表信息,OpID列表信息和身份标识信息。S308, the switch device returns the Fabric list information, the OpID list information and the identity information to the configuration end.
S309,配置端在灯设备上为开关设备添加操作权限。S309, the configuration end adds an operation authority for the switch device on the light device.
例如,灯设备的ACL的存储路径为ep0/ACL-cluster/ACLEntry,配置端可以向灯设备发送如下写 请求,以在灯设备上为开关设备添加操作权限:write:ep0/ACL-cluster/ACLEntry,写入的数据为:admin=Admin A,privilege=operate,AuthMode=CASE,Subject=[<NID-1234:DID-2>,],target=[ep2,on/off cluster]。For example, the storage path of the ACL of the light device is ep0/ACL-cluster/ACLEntry, the configuration end can send the following write request to the light device to add the operation permission for the switch device on the light device: write:ep0/ACL-cluster/ACLEntry , the written data is: admin=Admin A, privilege=operate, AuthMode=CASE, Subject=[<NID-1234:DID-2>,], target=[ep2, on/off cluster].
S310,灯设备向配置端返回ACL是否操作成功状态。即S309中的写操作是否成功。S310, the light device returns a status of whether the ACL operation is successful to the configuration terminal. That is, whether the write operation in S309 is successful.
S311,配置端读取开关设备的绑定信息列表。S311, the configuration end reads the binding information list of the switch device.
例如,开关设备的绑定信息列表存储在路径ep1/binding-cluster/binding_tb下,则配置端可以向开关设备发送如下读请求:Read:ep1/binding-cluster/binding_tb,以获取开关设备的绑定信息列表。For example, if the binding information list of the switch device is stored in the path ep1/binding-cluster/binding_tb, the configuration end can send the following read request to the switch device: Read:ep1/binding-cluster/binding_tb to obtain the binding of the switch device list of information.
在一些实施例中,配置端在S310中的状态为操作成功的情况下,读取开关设备的绑定信息列表。In some embodiments, the configuration terminal reads the binding information list of the switch device when the state in S310 is that the operation is successful.
S312,开关设备向配置返回绑定信息列表。S312, the switch device returns a binding information list to the configuration.
S313,配置端查询绑定信息列表中是否存在灯设备和开关设备的绑定信息。S313 , the configuration end queries whether the binding information of the light device and the switch device exists in the binding information list.
如果不存在,或者,存在该灯设备和开关设备的绑定信息,但该绑定信息是通过设备的Node ID表示的,则执行后续步骤,通过设备的身份标识信息建立二者的绑定关系。If it does not exist, or, there is binding information between the light device and the switch device, but the binding information is represented by the Node ID of the device, then perform the following steps to establish the binding relationship between the two through the identification information of the device. .
S314,配置端向开关设备更新绑定信息列表。S314, the configuration end updates the binding information list to the switch device.
例如,开关设备的绑定信息列表存储在路径ep1/binding-cluster/binding_tb下,则配置端可以向开关设备发送写请求:Write:ep1/binding-cluster/binding_tb+更新的绑定信息,以更新开关设备的绑定信息列表。For example, if the binding information list of the switch device is stored in the path ep1/binding-cluster/binding_tb, the configuration end can send a write request to the switch device: Write:ep1/binding-cluster/binding_tb+updated binding information to update the switch A list of binding information for the device.
S315,开关设备向配置端返回更新绑定信息表列是否设置成功状态。S315, the switch device returns to the configuration end whether the update binding information table column is set successfully.
若绑定信息更新成功,更新的绑定信息可以表示为:If the binding information is updated successfully, the updated binding information can be expressed as:
Binding-TB:(Local:Admin A,<OpID:FID-XYZ、NID-1234>:<DID-2>,ep2,OnOff Cluster)<->(Remote:Admin A,<OpID:FID-XYZ、NID-ABCD>:<DID-1>,ep2,On/Off Cluster)。Binding-TB:(Local:Admin A,<OpID:FID-XYZ,NID-1234>:<DID-2>,ep2,OnOff Cluster)<->(Remote:Admin A,<OpID:FID-XYZ,NID -ABCD>:<DID-1>,ep2,On/Off Cluster).
应理解,本申请实施例的绑定信息可以通过设备的身份标识信息建立,或者通过设备的OpID和身份标识信息建立。It should be understood that the binding information in this embodiment of the present application may be established through the identification information of the device, or established through the OpID and identification information of the device.
在一些实施例中,若S315的结果为设置成功,并且S310的结果为操作成功,则确定灯设备和开关设备的绑定关系建立成功。In some embodiments, if the result of S315 is that the setting is successful, and the result of S310 is that the operation is successful, it is determined that the binding relationship between the light device and the switch device is established successfully.
在灯设备和开关设备的绑定关系建立成功的情况下,灯设备和开关设备建立CASE连接。进一步开关设备可以基于该CASE连接对该灯设备进行控制In the case that the binding relationship between the light device and the switch device is successfully established, the light device and the switch device establish a CASE connection. Further switchgear can control the light device based on the CASE connection
S316,开关设备根据绑定信息列表对灯设备进行控制。S316, the switch device controls the light device according to the binding information list.
例如,在需要控制灯设备时,开关设备可以根据灯设备的OpID结合绑定信息列表,查找该绑定信息列表中的OpID对应的身份标识信息,进一步地,向灯设备发送控制消息,其中,该控制消息的源地址设置为开关设备的身份标识信息,即DID-2,目的地址设置为灯设备的身份标识信息,即DID-1。For example, when it is necessary to control a light device, the switch device can search for the identity information corresponding to the OpID in the binding information list according to the OpID of the light device in combination with the binding information list, and further send a control message to the light device, wherein, The source address of the control message is set to the identity information of the switch device, namely DID-2, and the destination address is set to the identity information of the lamp device, namely DID-1.
综上,本申请实施例通过为设备添加对不同的管理平台均可见的身份标识信息,即对于不同的管理平台,根据该身份标识信息都可以确定为同一个设备,进一步基于该身份标识信息建立的控制设备和被控制设备的绑定关系,有利于保证不同的管理平台对于控制双方的理解的一致,从而能够实现对设备的有效控制。To sum up, in this embodiment of the present application, by adding identity information to the device that is visible to different management platforms, that is, for different management platforms, it can be determined as the same device according to the identity information, and further based on the identity information. The binding relationship between the control device and the controlled device is beneficial to ensure that different management platforms have the same understanding of the control parties, so as to achieve effective control of the device.
上文结合图2至图5,详细描述了本申请的方法实施例,下文结合图6至图7,详细描述本申请的装置实施例,应理解,装置实施例与方法实施例相互对应,类似的描述可以参照方法实施例。The method embodiments of the present application are described in detail above with reference to FIGS. 2 to 5 , and the device embodiments of the present application are described in detail below with reference to FIGS. 6 to 7 . It should be understood that the device embodiments and method embodiments correspond to each other, and are similar to each other. For the description, refer to the method embodiment.
图6示出了根据本申请实施例的配置端设备400的示意性框图。其中,所述配置端设备400对应的管理平台为第一管理平台,如图6所示,该配置端设备400包括:FIG. 6 shows a schematic block diagram of a configuration terminal device 400 according to an embodiment of the present application. The management platform corresponding to the configuration terminal device 400 is the first management platform. As shown in FIG. 6 , the configuration terminal device 400 includes:
通信单元410,用于获取被控制设备的身份标识信息,以及获取控制设备的身份标识信息,其中,所述被控制设备的身份标识信息用于唯一标识所述被控制设备,所述控制设备的身份标识信息用于唯一标识所述控制设备;The communication unit 410 is configured to obtain the identity information of the controlled device and obtain the identity information of the control device, wherein the identity information of the controlled device is used to uniquely identify the controlled device, and the control device's identity information is used to uniquely identify the controlled device. The identity information is used to uniquely identify the control device;
向所述被控制设备的接入控制列表ACL中写入所述控制设备的身份标识信息;以及Writing the identity information of the controlling device into the access control list ACL of the controlled device; and
向所述控制设备中发送绑定信息,所述绑定信息包括所述被控制设备的设备信息和所述控制设备的设备信息的绑定关系,其中,所述被控制设备的设备信息包括所述被控制设备的身份标识信息,所述控制设备的设备信息包括所述控制设备的身份标识信息。Send binding information to the control device, where the binding information includes the binding relationship between the device information of the controlled device and the device information of the control device, wherein the device information of the controlled device includes the device information of the controlled device. The identity information of the controlled device, and the device information of the control device includes the identity information of the control device.
在本申请一些实施例中,所述通信单元410410还用于:In some embodiments of this application, the communication unit 410410 is further used for:
向所述被控制设备的ACL中的控制源列表中写入所述控制设备的身份标识信息,其中,所述控制源列表用于存储可控制所述被控制设备的设备的信息。The identity information of the control device is written into the control source list in the ACL of the controlled device, where the control source list is used to store information of devices that can control the controlled device.
在本申请一些实施例中,所述通信单元410410还用于:In some embodiments of this application, the communication unit 410410 is further used for:
向所述被控制设备的ACL中的控制源列表中写入所述第一管理平台为所述控制设备分配的节点标识ID,其中,所述控制设备的身份标识信息与所述第一管理平台为所述控制设备分配的节点ID对应。Write the node identification ID assigned by the first management platform to the control device into the control source list in the ACL of the controlled device, where the identification information of the control device is the same as the first management platform corresponds to the node ID assigned to the control device.
在本申请一些实施例中,所述被控制设备的设备信息还包括所述被控制设备的互操作身份标识,所述控制设备的设备信息还包括所述控制设备的互操作身份标识;In some embodiments of the present application, the device information of the controlled device further includes the interoperability identifier of the controlled device, and the device information of the control device further includes the interoperability identifier of the control device;
所述被控制设备的互操作身份标识包括所述第一管理平台为所述被控制设备分配的节点ID以及所述第一管理平台的编织网络标识;The interoperability identifier of the controlled device includes the node ID allocated by the first management platform to the controlled device and the woven network identifier of the first management platform;
所述控制设备的互操作身份标识包括所述第一管理平台为所述控制设备分配的节点ID以及所述第一管理平台的编织网络标识。The interoperability identifier of the control device includes a node ID allocated to the control device by the first management platform and a woven network identifier of the first management platform.
在本申请一些实施例中,所述通信单元410还用于:In some embodiments of the present application, the communication unit 410 is further configured to:
在接收到所述被控制设备回复的第一状态信息的情况下,向所述控制设备发送所述绑定信息,其中,所述第一状态信息用于指示所述配置端设备在所述被控制设备的ACL中写入所述控制设备的身份标识信息成功。In the case of receiving the first state information replied by the controlled device, the binding information is sent to the control device, wherein the first state information is used to indicate that the configuration end device is in the controlled device. The identity information of the control device is successfully written into the ACL of the control device.
在本申请一些实施例中,所述通信单元410还用于:In some embodiments of the present application, the communication unit 410 is further configured to:
在所述控制设备上未保存所述被控制设备和所述控制设备的绑定关系的情况下,向所述控制设备发送所述绑定信息。If the binding relationship between the controlled device and the controlling device is not saved on the controlling device, the binding information is sent to the controlling device.
在本申请一些实施例中,所述通信单元410还用于:In some embodiments of the present application, the communication unit 410 is further configured to:
从所述被控制设备的簇中获取所述被控制设备的身份标识信息。The identity information of the controlled device is acquired from the cluster of the controlled device.
在本申请一些实施例中,所述通信单元410还用于:In some embodiments of the present application, the communication unit 410 is further configured to:
向所述被控制设备发送第一读请求,所述第一读请求包括所述被控制设备的身份标识信息在所述被控制设备上的存储路径;sending a first read request to the controlled device, where the first read request includes a storage path of the identity information of the controlled device on the controlled device;
接收所述被控制设备返回的所述被控制设备的身份标识信息。Receive the identity information of the controlled device returned by the controlled device.
在本申请一些实施例中,所述被控制设备的身份标识信息存储在所述被控制设备的第一簇中,其中,所述第一簇为基本簇,或者用于存储所述被控制设备的身份标识信息的专用簇。In some embodiments of the present application, the identity information of the controlled device is stored in a first cluster of the controlled device, where the first cluster is a basic cluster or is used to store the controlled device A dedicated cluster of identifying information.
在本申请一些实施例中,所述通信单元410还用于:In some embodiments of the present application, the communication unit 410 is further configured to:
从所述控制设备的簇中获取所述控制设备的身份标识信息。The identification information of the control device is acquired from the cluster of the control device.
在本申请一些实施例中,所述通信单元410还用于:In some embodiments of the present application, the communication unit 410 is further configured to:
向所述控制设备发送第二读请求,所述第二读请求包括所述控制设备的身份标识信息在所述控制设备上的存储路径;sending a second read request to the control device, where the second read request includes a storage path of the identity information of the control device on the control device;
接收所述控制设备返回的所述控制设备的身份标识信息。Receive the identity information of the control device returned by the control device.
在本申请一些实施例中,所述控制设备的身份标识信息存储在所述控制设备的第二簇中,其中,所述第二簇为基本簇,或者用于存储所述控制设备的身份标识信息的专用簇。In some embodiments of the present application, the identity information of the control device is stored in a second cluster of the control device, where the second cluster is a basic cluster or is used to store the identity of the control device A dedicated cluster of information.
在本申请一些实施例中,所述通信单元410还用于:In some embodiments of the present application, the communication unit 410 is further configured to:
在所述配置端与所述被控制设备建立基于证书认证的安全会话建立CASE连接的情况下,从所述被控制设备获取所述被控制设备的身份标识信息。In the case that the configuration terminal establishes a CASE connection based on a certificate authentication-based secure session with the controlled device, the identity information of the controlled device is acquired from the controlled device.
在本申请一些实施例中,所述通信单元410还用于:In some embodiments of the present application, the communication unit 410 is further configured to:
在所述配置端设备与所述控制设备建立CASE连接的情况下,从所述控制设备获取所述控制设备的身份标识信息。When the configuration end device establishes a CASE connection with the control device, the identity information of the control device is acquired from the control device.
在本申请一些实施例中,所述通信单元410还用于:In some embodiments of the present application, the communication unit 410 is further configured to:
向所述被控制设备发送第一写请求,所述第一写请求包括所述被控制设备的ACL的存储路径以及所述控制设备的身份标识信息。Send a first write request to the controlled device, where the first write request includes the storage path of the ACL of the controlled device and the identity information of the controlling device.
在本申请一些实施例中,所述第一写请求还包括所述第一管理平台为所述控制设备分配的节点ID。In some embodiments of the present application, the first write request further includes a node ID allocated by the first management platform to the control device.
在本申请一些实施例中,所述通信单元410还用于:In some embodiments of the present application, the communication unit 410 is further configured to:
向所述控制设备发送第二写请求,所述第二写请求包括绑定信息列表在所述控制设备上的存储路径和所述绑定信息。Send a second write request to the control device, where the second write request includes a storage path of the binding information list on the control device and the binding information.
可选地,在一些实施例中,上述通信单元可以是通信接口或收发器,或者是通信芯片或者片上系统的输入输出接口。上述处理单元可以是一个或多个处理器。Optionally, in some embodiments, the above-mentioned communication unit may be a communication interface or a transceiver, or an input/output interface of a communication chip or a system-on-chip. The aforementioned processing unit may be one or more processors.
应理解,根据本申请实施例的配置端设备400可对应于本申请方法实施例中的配置端或配置设备,并且配置端设备400中的各个单元的上述和其它操作和/或功能分别为了实现图2至图5所示方法实施例中配置端或配置设备的相应流程,为了简洁,在此不再赘述。It should be understood that the configuration terminal device 400 according to the embodiment of the present application may correspond to the configuration terminal or the configuration device in the method embodiment of the present application, and the above and other operations and/or functions of each unit in the configuration terminal device 400 are for the purpose of realizing The corresponding processes of the configuration terminal or the configuration device in the method embodiments shown in FIG. 2 to FIG. 5 are not repeated here for brevity.
图7是根据本申请实施例的控制设备的示意性框图。图7的控制设备500包括:FIG. 7 is a schematic block diagram of a control device according to an embodiment of the present application. The control device 500 of FIG. 7 includes:
通信单元510,用于接收第一管理平台的配置端的第二读请求,所述第二读请求用于获取所述控制设备的身份标识信息,所述控制设备的身份标识信息用于唯一标识所述控制设备;The communication unit 510 is configured to receive a second read request from the configuration end of the first management platform, where the second read request is used to obtain the identity information of the control device, and the identity information of the control device is used to uniquely identify the the control equipment;
向所述配置端发送所述控制设备的身份标识信息;以及sending the identity information of the control device to the configuration terminal; and
接收所述配置端发送的绑定信息,所述绑定信息包括被控制设备的设备信息和所述控制设备的设备信息的绑定关系,其中,所述被控制设备的设备信息包括所述被控制设备的身份标识信息,所述控制设备的设备信息包括所述控制设备的身份标识信息。Receive binding information sent by the configuration terminal, where the binding information includes the binding relationship between the device information of the controlled device and the device information of the controlling device, wherein the device information of the controlled device includes the device information of the controlled device Identity information of the control device, where the device information of the control device includes the identity information of the control device.
在本申请一些实施例中,所述被控制设备的设备信息还包括所述被控制设备的互操作身份标识,所述控制设备的设备信息还包括所述控制设备的互操作身份标识;In some embodiments of the present application, the device information of the controlled device further includes the interoperability identifier of the controlled device, and the device information of the control device further includes the interoperability identifier of the control device;
其中,所述被控制设备的互操作身份标识包括所述第一管理平台为所述被控制设备分配的节点ID以及所述第一管理平台的编织网络标识;Wherein, the interoperability identity of the controlled device includes the node ID allocated by the first management platform to the controlled device and the woven network identity of the first management platform;
所述控制设备的互操作身份标识包括所述第一管理平台为所述控制设备分配的节点ID以及所述第一管理平台的编织网络标识。The interoperability identifier of the control device includes a node ID allocated to the control device by the first management platform and a woven network identifier of the first management platform.
在本申请一些实施例中,所述控制设备500还包括:In some embodiments of the present application, the control device 500 further includes:
处理单元,用于根据所述绑定信息,生成控制消息,其中,所述控制消息的源地址设置为所述控制设备的身份标识消息,所述控制消息的目标地址设置为所述被控制设备的身份标识消息;a processing unit, configured to generate a control message according to the binding information, wherein the source address of the control message is set to the identity message of the control device, and the destination address of the control message is set to the controlled device the identification message;
所述通信单元510还用于:向所述被控制设备发送所述控制消息。The communication unit 510 is further configured to: send the control message to the controlled device.
在本申请一些实施例中,所述控制设备的身份标识信息存储在所述控制设备的第二簇中,其中,所述第二簇为基本簇,或者用于存储所述控制设备的身份标识信息的专用簇。In some embodiments of the present application, the identity information of the control device is stored in a second cluster of the control device, where the second cluster is a basic cluster or is used to store the identity of the control device A dedicated cluster of information.
在本申请一些实施例中,所述第二读请求包括所述控制设备的身份标识信息在所述控制设备上的存储路径。In some embodiments of the present application, the second read request includes a storage path of the identity information of the control device on the control device.
在本申请一些实施例中,所述通信单元510还用于:In some embodiments of the present application, the communication unit 510 is further configured to:
接收所述配置端发送的第二写请求,所述第二写请求包括绑定信息列表在所述控制设备上的存储路径和所述绑定信息。A second write request sent by the configuration terminal is received, where the second write request includes a storage path of the binding information list on the control device and the binding information.
可选地,在一些实施例中,上述通信单元可以是通信接口或收发器,或者是通信芯片或者片上系统的输入输出接口。上述处理单元可以是一个或多个处理器。Optionally, in some embodiments, the above-mentioned communication unit may be a communication interface or a transceiver, or an input/output interface of a communication chip or a system-on-chip. The aforementioned processing unit may be one or more processors.
应理解,根据本申请实施例的控制设备500可对应于本申请方法实施例中的控制设备,并且控制设备500中的各个单元的上述和其它操作和/或功能分别为了实现图2至图5所示方法实施例中控制设备的相应流程,为了简洁,在此不再赘述。It should be understood that the control device 500 according to the embodiment of the present application may correspond to the control device in the method embodiment of the present application, and the above-mentioned and other operations and/or functions of each unit in the control device 500 are for the purpose of realizing FIGS. 2 to 5 respectively. For the sake of brevity, the corresponding flow of the control device in the illustrated method embodiment will not be repeated here.
图8是根据本申请实施例的被控制设备的示意性框图。图8的被控制设备800包括:FIG. 8 is a schematic block diagram of a controlled device according to an embodiment of the present application. The controlled device 800 of FIG. 8 includes:
通信单元810,用于接收第一管理平台的配置端的第一读请求,所述第一读请求用于获取所述被控制设备的身份标识信息,所述被控制设备的身份标识信息用于唯一标识所述控制设备;The communication unit 810 is configured to receive a first read request from the configuration end of the first management platform, where the first read request is used to obtain the identity information of the controlled device, and the identity information of the controlled device is used to uniquely identifying the control device;
向所述配置端发送所述被控制设备的身份标识信息;sending the identity information of the controlled device to the configuration terminal;
接收所述配置端向所述被控制设备的接入控制列表ACL中写入的控制设备的身份标识信息,其中,所述控制设备的身份信息用于唯一标识所述控制设备。Receive the identity information of the control device written by the configuration terminal into the access control list ACL of the controlled device, where the identity information of the control device is used to uniquely identify the control device.
在本申请一些实施例中,所述通信单元810还用于:In some embodiments of the present application, the communication unit 810 is further configured to:
接收所述配置端向所述被控制设备的ACL中的控制源列表中写入的所述控制设备的身份标识信息,其中,所述控制源列表用于存储可控制所述被控制设备的设备的信息。Receive the identity information of the control device written by the configuration end into the control source list in the ACL of the controlled device, where the control source list is used to store the devices that can control the controlled device Information.
在本申请一些实施例中,所述通信单元810还用于:In some embodiments of the present application, the communication unit 810 is further configured to:
接收所述配置端在所述被控制设备的ACL中的控制源列表中写入的所述第一管理平台为所述控制设备分配的节点标识ID,其中,所述控制设备的身份标识信息与所述第一管理平台为所述控制设备分配的节点ID对应。Receive the node identification ID assigned to the control device by the first management platform and written in the control source list in the ACL of the controlled device by the configuration end, wherein the identification information of the control device is the same as that of the control device. The first management platform corresponds to the node ID allocated to the control device.
在本申请一些实施例中,所述通信单元810还用于:In some embodiments of the present application, the communication unit 810 is further configured to:
接收所述控制设备发送的控制消息,所述控制消息的源地址为所述控制设备的身份标识消息,所述控制消息的目标地址为所述被控制设备的身份标识消息;receiving a control message sent by the control device, where the source address of the control message is the identity message of the control device, and the destination address of the control message is the identity message of the controlled device;
向所述控制设备回复控制结果。Return the control result to the control device.
在本申请一些实施例中,所述被控制设备的身份标识信息存储在所述被控制设备的第一簇中,其中,所述第一簇为基本簇,或者用于存储所述被控制设备的身份标识信息的专用簇。In some embodiments of the present application, the identity information of the controlled device is stored in a first cluster of the controlled device, where the first cluster is a basic cluster or is used to store the controlled device A private cluster of identification information.
在本申请一些实施例中,所述第一读请求包括所述被控制设备的身份标识信息在所述被控制设备上的存储路径。In some embodiments of the present application, the first read request includes a storage path of the identity information of the controlled device on the controlled device.
可选地,在一些实施例中,上述通信单元可以是通信接口或收发器,或者是通信芯片或者片上系统的输入输出接口。上述处理单元可以是一个或多个处理器。Optionally, in some embodiments, the above-mentioned communication unit may be a communication interface or a transceiver, or an input/output interface of a communication chip or a system-on-chip. The aforementioned processing unit may be one or more processors.
应理解,根据本申请实施例的被控制设备800可对应于本申请方法实施例中的控制设备,并且被控制设备800中的各个单元的上述和其它操作和/或功能分别为了实现图2至图3所示方法实施例中被控制设备的相应流程,为了简洁,在此不再赘述。It should be understood that the controlled device 800 according to the embodiment of the present application may correspond to the control device in the method embodiment of the present application, and the above-mentioned and other operations and/or functions of the various units in the controlled device 800 are for the purpose of realizing FIGS. 2 to 2 , respectively. The corresponding flow of the controlled device in the method embodiment shown in FIG. 3 is not repeated here for brevity.
图9是本申请实施例提供的一种通信设备600示意性结构图。图9所示的通信设备600包括处理 器610,处理器610可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。FIG. 9 is a schematic structural diagram of a communication device 600 provided by an embodiment of the present application. The communication device 600 shown in FIG. 9 includes a processor 610, and the processor 610 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
可选地,如图9所示,通信设备600还可以包括存储器620。其中,处理器610可以从存储器620中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in FIG. 9 , the communication device 600 may further include a memory 620 . The processor 610 may call and run a computer program from the memory 620 to implement the methods in the embodiments of the present application.
其中,存储器620可以是独立于处理器610的一个单独的器件,也可以集成在处理器610中。The memory 620 may be a separate device independent of the processor 610 , or may be integrated in the processor 610 .
可选地,如图9所示,通信设备600还可以包括收发器630,处理器610可以控制该收发器630与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。Optionally, as shown in FIG. 9 , the communication device 600 may further include a transceiver 630, and the processor 610 may control the transceiver 630 to communicate with other devices, specifically, may send information or data to other devices, or receive other Information or data sent by a device.
其中,收发器630可以包括发射机和接收机。收发器630还可以进一步包括天线,天线的数量可以为一个或多个。Among them, the transceiver 630 may include a transmitter and a receiver. The transceiver 630 may further include antennas, and the number of the antennas may be one or more.
可选地,该通信设备600具体可为本申请实施例的配置端设备,并且该通信设备600可以实现本申请实施例的各个方法中由配置端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 600 may specifically be the configuration terminal device in this embodiment of the present application, and the communication device 600 may implement the corresponding processes implemented by the configuration terminal device in each method in the embodiment of the present application. Repeat.
在一些实施例中,该通信设备600中的收发器630可以用于执行图6中的配置端设备400中的通信单元410的相关操作,为了简洁,这里不再赘述。In some embodiments, the transceiver 630 in the communication device 600 may be configured to perform related operations of the communication unit 410 in the configuration terminal device 400 in FIG. 6 , which will not be repeated here for brevity.
可选地,该通信设备600具体可为本申请实施例的控制设备,并且该通信设备600可以实现本申请实施例的各个方法中由控制设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 600 may specifically be the control device of this embodiment of the present application, and the communication device 600 may implement the corresponding processes implemented by the control device in each method of the embodiment of the present application, which is not repeated here for brevity. .
在一些实施例中,该通信设备600中的收发器630可以用于执行图7中的控制设备500中的通信单元510的相关操作,为了简洁,这里不再赘述。In some embodiments, the transceiver 630 in the communication device 600 may be used to perform related operations of the communication unit 510 in the control device 500 in FIG. 7 , which are not repeated here for brevity.
可选地,该通信设备600具体可为本申请实施例的被控制设备,并且该通信设备600可以实现本申请实施例的各个方法中由被控制设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 600 may specifically be the controlled device in this embodiment of the present application, and the communication device 600 may implement the corresponding processes implemented by the controlled device in each method in the embodiment of the present application. Repeat.
在一些实施例中,该通信设备600中的收发器630可以用于执行图8中的被控制设备800中的通信单元810的相关操作,为了简洁,这里不再赘述。In some embodiments, the transceiver 630 in the communication device 600 may be used to perform the related operations of the communication unit 810 in the controlled device 800 in FIG. 8 , which will not be repeated here for brevity.
图10是本申请实施例的芯片的示意性结构图。图10所示的芯片700包括处理器710,处理器710可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。FIG. 10 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 700 shown in FIG. 10 includes a processor 710, and the processor 710 can call and run a computer program from a memory, so as to implement the method in this embodiment of the present application.
可选地,如图10所示,芯片700还可以包括存储器720。其中,处理器710可以从存储器720中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in FIG. 10 , the chip 700 may further include a memory 720 . The processor 710 may call and run a computer program from the memory 720 to implement the methods in the embodiments of the present application.
其中,存储器720可以是独立于处理器710的一个单独的器件,也可以集成在处理器710中。The memory 720 may be a separate device independent of the processor 710 , or may be integrated in the processor 710 .
可选地,该芯片700还可以包括输入接口730。其中,处理器710可以控制该输入接口730与其他设备或芯片进行通信,具体地,可以获取其他设备或芯片发送的信息或数据。Optionally, the chip 700 may further include an input interface 730 . The processor 710 may control the input interface 730 to communicate with other devices or chips, and specifically, may acquire information or data sent by other devices or chips.
可选地,该芯片700还可以包括输出接口740。其中,处理器710可以控制该输出接口740与其他设备或芯片进行通信,具体地,可以向其他设备或芯片输出信息或数据。Optionally, the chip 700 may further include an output interface 740 . The processor 710 can control the output interface 740 to communicate with other devices or chips, and specifically, can output information or data to other devices or chips.
可选地,该芯片700具体可为本申请实施例的配置端设备,并且该芯片700可以实现本申请实施例的各个方法中由配置端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip 700 may specifically be the configuration terminal device of the embodiment of the present application, and the chip 700 may implement the corresponding processes implemented by the configuration terminal device in each method of the embodiment of the present application. For the sake of brevity, details are not repeated here. .
在一些实施例中,该芯片700中的输入接口730和输出接口740可以用于执行图6中的配置端设备400中的通信单元410的相关操作,为了简洁,这里不再赘述。In some embodiments, the input interface 730 and the output interface 740 in the chip 700 may be used to perform related operations of the communication unit 410 in the configuration terminal device 400 in FIG. 6 , which are not repeated here for brevity.
可选地,该芯片700具体可为本申请实施例的控制设备,并且该芯片700可以实现本申请实施例的各个方法中由控制设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip 700 may specifically be the control device of the embodiment of the present application, and the chip 700 may implement the corresponding processes implemented by the control device in each method of the embodiment of the present application, which is not repeated here for brevity.
在一些实施例中,该芯片700中的输入接口730和输出接口740可以用于执行图7中的控制设备500中的通信单元510的相关操作,为了简洁,这里不再赘述。In some embodiments, the input interface 730 and the output interface 740 in the chip 700 may be used to perform related operations of the communication unit 510 in the control device 500 in FIG. 7 , which are not repeated here for brevity.
可选地,该芯片700具体可为本申请实施例的被控制设备,并且该芯片700可以实现本申请实施例的各个方法中由被控制设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip 700 may specifically be the controlled device of the embodiment of the present application, and the chip 700 may implement the corresponding processes implemented by the controlled device in each method of the embodiment of the present application. For the sake of brevity, details are not repeated here. .
在一些实施例中,该芯片700中的输入接口730和输出接口740可以用于执行图8中的被控制设备800中的通信单元810的相关操作,为了简洁,这里不再赘述。In some embodiments, the input interface 730 and the output interface 740 in the chip 700 may be used to perform related operations of the communication unit 810 in the controlled device 800 in FIG. 8 , which are not repeated here for brevity.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-chip, or a system-on-a-chip, or the like.
图11是本申请实施例提供的一种通信系统900的示意性框图。如图11所示,该通信系统900包括配置端设备910、控制设备920和被控制设备930。FIG. 11 is a schematic block diagram of a communication system 900 provided by an embodiment of the present application. As shown in FIG. 11 , the communication system 900 includes a configuration end device 910 , a control device 920 and a controlled device 930 .
其中,该配置端设备910可以用于实现上述方法中由配置端,配置设备或配置端设备实现的相应的功能,该控制设备920可以用于实现上述方法中由控制设备实现的相应的功能,该被控制设备930可以用于实现上述方法中由被控制设备实现的相应的功能,为了简洁,在此不再赘述。Wherein, the configuration terminal device 910 can be used to implement the corresponding function implemented by the configuration terminal, the configuration device or the configuration terminal device in the above method, and the control device 920 can be used to implement the corresponding function implemented by the control device in the above method, The controlled device 930 may be used to implement the corresponding functions implemented by the controlled device in the above method, which is not repeated here for brevity.
应理解,本申请实施例的处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或 者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be understood that the processor in this embodiment of the present application may be an integrated circuit chip, which has a signal processing capability. In the implementation process, each step of the above method embodiments may be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processor can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Programming logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in this embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory may be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (Direct Rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be understood that the above memory is an example but not a limitative description, for example, the memory in the embodiment of the present application may also be a static random access memory (static RAM, SRAM), a dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.
本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。Embodiments of the present application further provide a computer-readable storage medium for storing a computer program.
可选的,该计算机可读存储介质可应用于本申请实施例中的配置端或配置端设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由配置端或配置端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the configuration terminal or the configuration terminal device in the embodiment of the present application, and the computer program enables the computer to execute the configuration terminal or the configuration terminal device in each method of the embodiment of the present application. For the sake of brevity, the corresponding process is not repeated here.
可选地,该计算机可读存储介质可应用于本申请实施例中的控制设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由控制设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the control device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the control device in the various methods of the embodiments of the present application. For brevity, here No longer.
可选地,该计算机可读存储介质可应用于本申请实施例中的被控制设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由被控制设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the controlled device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the controlled device in each method of the embodiments of the present application. For brevity, It is not repeated here.
本申请实施例还提供了一种计算机程序产品,包括计算机程序指令。Embodiments of the present application also provide a computer program product, including computer program instructions.
可选的,该计算机程序产品可应用于本申请实施例中的配置端或配置端设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由配置端或配置端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to the configuration terminal or the configuration terminal device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding configuration implemented by the configuration terminal or the configuration terminal device in each method of the embodiment of the present application. The process, for the sake of brevity, will not be repeated here.
可选地,该计算机程序产品可应用于本申请实施例中的控制设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由控制设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to the control device in the embodiments of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the control device in each method of the embodiments of the present application. Repeat.
可选地,该计算机程序产品可应用于本申请实施例中的被控制设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由被控制设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to the controlled device in the embodiments of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the controlled device in the various methods of the embodiments of the present application. This will not be repeated here.
本申请实施例还提供了一种计算机程序。The embodiments of the present application also provide a computer program.
可选的,该计算机程序可应用于本申请实施例中的配置端或配置端设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由配置端或配置端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program can be applied to the configuration terminal or the configuration terminal device in the embodiments of the present application. When the computer program is run on the computer, the computer program is executed by the configuration terminal or the configuration terminal in each method of the embodiments of the present application. For the sake of brevity, the corresponding process implemented by the device will not be repeated here.
可选地,该计算机程序可应用于本申请实施例中的控制设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由控制设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program can be applied to the control device in the embodiments of the present application. When the computer program is run on the computer, the computer executes the corresponding processes implemented by the control device in each method of the embodiments of the present application. For the sake of brevity. , and will not be repeated here.
可选地,该计算机程序可应用于本申请实施例中的被控制设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由被控制设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program may be applied to the controlled device in the embodiments of the present application, and when the computer program is run on the computer, the computer executes the corresponding processes implemented by the controlled device in each method of the embodiments of the present application, For brevity, details are not repeated here.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方 法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (61)

  1. 一种建立设备绑定关系的方法,其特征在于,应用于第一管理平台的配置端,所述配置端用于建立被控制设备和控制设备的绑定关系,所述方法包括:A method for establishing a device binding relationship, characterized in that it is applied to a configuration end of a first management platform, and the configuration end is used to establish a binding relationship between a controlled device and a control device, and the method includes:
    获取所述被控制设备的身份标识信息,以及获取所述控制设备的身份标识信息,其中,所述被控制设备的身份标识信息用于唯一标识所述被控制设备,所述控制设备的身份标识信息用于唯一标识所述控制设备;Obtain the identity information of the controlled device, and obtain the identity information of the control device, wherein the identity information of the controlled device is used to uniquely identify the controlled device, and the identity of the control device information is used to uniquely identify the control device;
    向所述被控制设备的接入控制列表ACL中写入所述控制设备的身份标识信息;Writing the identity information of the controlling device into the access control list ACL of the controlled device;
    向所述控制设备中发送绑定信息,所述绑定信息包括所述被控制设备的设备信息和所述控制设备的设备信息的绑定关系,其中,所述被控制设备的设备信息包括所述被控制设备的身份标识信息,所述控制设备的设备信息包括所述控制设备的身份标识信息。Send binding information to the control device, where the binding information includes the binding relationship between the device information of the controlled device and the device information of the control device, wherein the device information of the controlled device includes the device information of the controlled device. The identity information of the controlled device, and the device information of the control device includes the identity information of the control device.
  2. 根据权利要求1所述的方法,其特征在于,所述向所述被控制设备的接入控制列表ACL中写入所述控制设备的身份标识信息,包括:The method according to claim 1, wherein the writing the identity information of the controlling device into the access control list (ACL) of the controlled device comprises:
    向所述被控制设备的ACL中的控制源列表中写入所述控制设备的身份标识信息,其中,所述控制源列表用于存储可控制所述被控制设备的设备的信息。The identity information of the control device is written into the control source list in the ACL of the controlled device, where the control source list is used to store information of devices that can control the controlled device.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    向所述被控制设备的ACL中的控制源列表中写入所述第一管理平台为所述控制设备分配的节点标识ID,其中,所述控制设备的身份标识信息与所述第一管理平台为所述控制设备分配的节点ID对应。Write the node identification ID assigned by the first management platform to the control device into the control source list in the ACL of the controlled device, where the identification information of the control device is the same as the first management platform corresponds to the node ID assigned to the control device.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述被控制设备的设备信息还包括所述被控制设备的互操作身份标识,所述控制设备的设备信息还包括所述控制设备的互操作身份标识;The method according to any one of claims 1-3, wherein the device information of the controlled device further includes an interoperability identity of the controlled device, and the device information of the controlling device further includes the the interoperable identity of the control device;
    所述被控制设备的互操作身份标识包括所述第一管理平台为所述被控制设备分配的节点ID以及所述第一管理平台的编织网络标识;The interoperability identifier of the controlled device includes the node ID allocated by the first management platform to the controlled device and the woven network identifier of the first management platform;
    所述控制设备的互操作身份标识包括所述第一管理平台为所述控制设备分配的节点ID以及所述第一管理平台的编织网络标识。The interoperability identifier of the control device includes a node ID allocated to the control device by the first management platform and a woven network identifier of the first management platform.
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述向所述控制设备发送绑定信息,包括:The method according to any one of claims 1-4, wherein the sending the binding information to the control device comprises:
    在接收到所述被控制设备回复的第一状态信息的情况下,向所述控制设备发送所述绑定信息,其中,所述第一状态信息用于指示所述配置端在所述被控制设备的ACL中写入所述控制设备的身份标识信息成功。In the case of receiving the first state information replied by the controlled device, the binding information is sent to the control device, wherein the first state information is used to indicate that the configuration end is in the controlled device The identity information of the control device is successfully written into the ACL of the device.
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述向所述控制设备发送绑定信息,包括:The method according to any one of claims 1-5, wherein the sending the binding information to the control device comprises:
    在所述控制设备上未保存所述被控制设备和所述控制设备的绑定关系的情况下,向所述控制设备发送所述绑定信息。If the binding relationship between the controlled device and the controlling device is not saved on the controlling device, the binding information is sent to the controlling device.
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,所述获取所述被控制设备的身份标识信息,包括:The method according to any one of claims 1-6, wherein the acquiring the identity information of the controlled device comprises:
    从所述被控制设备的簇中获取所述被控制设备的身份标识信息。The identity information of the controlled device is acquired from the cluster of the controlled device.
  8. 根据权利要求7所述的方法,其特征在于,所述从所述被控制设备的簇中获取所述被控制设备的身份标识信息,包括:The method according to claim 7, wherein the acquiring the identity information of the controlled device from the cluster of the controlled device comprises:
    向所述被控制设备发送第一读请求,所述第一读请求包括所述被控制设备的身份标识信息在所述被控制设备上的存储路径;sending a first read request to the controlled device, where the first read request includes a storage path of the identity information of the controlled device on the controlled device;
    接收所述被控制设备返回的所述被控制设备的身份标识信息。Receive the identity information of the controlled device returned by the controlled device.
  9. 根据权利要求7或8所述的方法,其特征在于,所述被控制设备的身份标识信息存储在所述被控制设备的第一簇中,其中,所述第一簇为基本簇,或者用于存储所述被控制设备的身份标识信息的专用簇。The method according to claim 7 or 8, wherein the identity information of the controlled device is stored in a first cluster of the controlled device, wherein the first cluster is a basic cluster, or a A dedicated cluster for storing the identity information of the controlled device.
  10. 根据权利要求1-9中任一项所述的方法,其特征在于,所述获取所述控制设备的身份标识信息,包括:The method according to any one of claims 1-9, wherein the acquiring the identity information of the control device comprises:
    从所述控制设备的簇中获取所述控制设备的身份标识信息。The identification information of the control device is acquired from the cluster of the control device.
  11. 根据权利要求10所述的方法,其特征在于,所述获取所述控制设备的身份标识信息,包括:The method according to claim 10, wherein the acquiring the identity information of the control device comprises:
    向所述控制设备发送第二读请求,所述第二读请求包括所述控制设备的身份标识信息在所述控制设备上的存储路径;sending a second read request to the control device, where the second read request includes a storage path of the identity information of the control device on the control device;
    接收所述控制设备返回的所述控制设备的身份标识信息。Receive the identity information of the control device returned by the control device.
  12. 根据权利要求10或11所述的方法,其特征在于,所述控制设备的身份标识信息存储在所述 控制设备的第二簇中,其中,所述第二簇为基本簇,或者用于存储所述控制设备的身份标识信息的专用簇。The method according to claim 10 or 11, wherein the identity information of the control device is stored in a second cluster of the control device, wherein the second cluster is a basic cluster, or is used for storing A dedicated cluster of identification information of the control device.
  13. 根据权利要求1-12中任一项所述的方法,其特征在于,所述获取所述被控制设备的身份标识信息,包括:The method according to any one of claims 1-12, wherein the acquiring the identity information of the controlled device comprises:
    在所述配置端与所述被控制设备建立基于证书认证的安全会话建立CASE连接的情况下,从所述被控制设备获取所述被控制设备的身份标识信息。In the case that the configuration terminal establishes a CASE connection based on a certificate authentication-based secure session with the controlled device, the identity information of the controlled device is acquired from the controlled device.
  14. 根据权利要求1-13中任一项所述的方法,其特征在于,所述获取所述控制设备的身份标识信息,包括:The method according to any one of claims 1-13, wherein the acquiring the identity information of the control device comprises:
    在所述配置端与所述控制设备建立CASE连接的情况下,从所述控制设备获取所述控制设备的身份标识信息。When the configuration terminal establishes a CASE connection with the control device, the identity information of the control device is acquired from the control device.
  15. 根据权利要求1-14中任一项所述的方法,其特征在于,所述向所述被控制设备的接入控制列表ACL中写入所述控制设备的身份标识信息,包括:The method according to any one of claims 1-14, wherein the writing the identity information of the controlling device into the access control list ACL of the controlled device comprises:
    所述配置端向所述被控制设备发送第一写请求,所述第一写请求包括所述被控制设备的ACL的存储路径以及所述控制设备的身份标识信息。The configuration terminal sends a first write request to the controlled device, where the first write request includes the storage path of the ACL of the controlled device and the identity information of the controlling device.
  16. 根据权利要求15所述的方法,其特征在于,所述第一写请求还包括所述第一管理平台为所述控制设备分配的节点ID。The method according to claim 15, wherein the first write request further comprises a node ID allocated by the first management platform to the control device.
  17. 根据权利要求1-16中任一项所述的方法,其特征在于,所述向所述控制设备中发送绑定信息,包括:The method according to any one of claims 1-16, wherein the sending the binding information to the control device comprises:
    所述配置端向所述控制设备发送第二写请求,所述第二写请求包括绑定信息列表在所述控制设备上的存储路径和所述绑定信息。The configuration end sends a second write request to the control device, where the second write request includes a storage path of the binding information list on the control device and the binding information.
  18. 一种建立设备绑定关系的方法,其特征在于,应用于控制设备,所述控制设备通过第一管理平台的配置端建立所述控制设备和被控制设备的绑定关系,所述方法包括:A method for establishing a device binding relationship, characterized in that it is applied to a control device, and the control device establishes a binding relationship between the control device and a controlled device through a configuration terminal of a first management platform, and the method includes:
    接收所述配置端的第二读请求,所述第二读请求用于获取所述控制设备的身份标识信息,所述控制设备的身份标识信息用于唯一标识所述控制设备;receiving a second read request from the configuration terminal, where the second read request is used to obtain the identity information of the control device, and the identity information of the control device is used to uniquely identify the control device;
    向所述配置端发送所述控制设备的身份标识信息;sending the identity information of the control device to the configuration terminal;
    接收所述配置端发送的绑定信息,所述绑定信息包括所述被控制设备的设备信息和所述控制设备的设备信息的绑定关系,其中,所述被控制设备的设备信息包括所述被控制设备的身份标识信息,所述控制设备的设备信息包括所述控制设备的身份标识信息。Receive the binding information sent by the configuration terminal, where the binding information includes the binding relationship between the device information of the controlled device and the device information of the control device, wherein the device information of the controlled device includes the device information of the controlled device. The identity information of the controlled device, and the device information of the control device includes the identity information of the control device.
  19. 根据权利要求18所述的方法,其特征在于,所述被控制设备的设备信息还包括所述被控制设备的互操作身份标识,所述控制设备的设备信息还包括所述控制设备的互操作身份标识;The method according to claim 18, wherein the device information of the controlled device further includes an interoperability identifier of the controlled device, and the device information of the controlling device further includes the interoperability of the control device. identification;
    其中,所述被控制设备的互操作身份标识包括所述第一管理平台为所述被控制设备分配的节点ID以及所述第一管理平台的编织网络标识;Wherein, the interoperability identity of the controlled device includes the node ID allocated by the first management platform to the controlled device and the woven network identity of the first management platform;
    所述控制设备的互操作身份标识包括所述第一管理平台为所述控制设备分配的节点ID以及所述第一管理平台的编织网络标识。The interoperability identifier of the control device includes a node ID allocated to the control device by the first management platform and a woven network identifier of the first management platform.
  20. 根据权利要求18或19所述的方法,其特征在于,所述方法还包括:The method according to claim 18 or 19, wherein the method further comprises:
    根据所述绑定信息,生成控制消息,其中,所述控制消息的源地址设置为所述控制设备的身份标识消息,所述控制消息的目标地址设置为所述被控制设备的身份标识消息;generating a control message according to the binding information, wherein the source address of the control message is set to the identity message of the control device, and the destination address of the control message is set to the identity message of the controlled device;
    向所述被控制设备发送所述控制消息。The control message is sent to the controlled device.
  21. 根据权利要求18-20中任一项所述的方法,其特征在于,所述控制设备的身份标识信息存储在所述控制设备的第二簇中,其中,所述第二簇为基本簇,或者用于存储所述控制设备的身份标识信息的专用簇。The method according to any one of claims 18-20, wherein the identity information of the control device is stored in a second cluster of the control device, wherein the second cluster is a basic cluster, Or a dedicated cluster for storing the identification information of the control device.
  22. 根据权利要求18-21中任一项所述的方法,其特征在于,所述第二读请求包括所述控制设备的身份标识信息在所述控制设备上的存储路径。The method according to any one of claims 18-21, wherein the second read request includes a storage path of the identity information of the control device on the control device.
  23. 根据权利要求18-22中任一项所述的方法,其特征在于,所述接收所述配置端发送的绑定信息,包括:The method according to any one of claims 18-22, wherein the receiving the binding information sent by the configuration terminal comprises:
    接收所述配置端发送的第二写请求,所述第二写请求包括绑定信息列表在所述控制设备上的存储路径和所述绑定信息。A second write request sent by the configuration terminal is received, where the second write request includes a storage path of the binding information list on the control device and the binding information.
  24. 一种建立设备绑定关系的方法,其特征在于,应用于被控制设备,所述被控制设备通过第一管理平台的配置端建立所述控制设备和被控制设备的绑定关系,所述方法包括:A method for establishing a device binding relationship, characterized in that it is applied to a controlled device, and the controlled device establishes a binding relationship between the control device and the controlled device through a configuration terminal of a first management platform, and the method include:
    接收所述配置端的第一读请求,所述第一读请求用于获取所述被控制设备的身份标识信息,所述被控制设备的身份标识信息用于唯一标识所述控制设备;receiving a first read request from the configuration terminal, where the first read request is used to obtain the identity information of the controlled device, and the identity information of the controlled device is used to uniquely identify the control device;
    向所述配置端发送所述被控制设备的身份标识信息;sending the identity information of the controlled device to the configuration terminal;
    接收所述配置端发送的第一写请求,所述第一写请求用于向所述被控制设备的接入控制列表ACL中写入所述控制设备的身份标识信息,其中,所述控制设备的身份信息用于唯一标识所述控制设备。Receive a first write request sent by the configuration terminal, where the first write request is used to write the identity information of the control device into the access control list ACL of the controlled device, where the control device The identity information is used to uniquely identify the control device.
  25. 根据权利要求24所述的方法,其特征在于,所述第一写请求用于向所述被控制设备的ACL中的控制源列表中写入所述控制设备的身份标识信息,或者,所述第一写请求用于向所述被控制设备的ACL中的控制源列表中写入所述控制设备的身份标识信息和所述第一管理平台为所述控制设备分配的节点标识ID;The method according to claim 24, wherein the first write request is used to write the identity information of the control device into the control source list in the ACL of the controlled device, or, the The first write request is used to write the identity information of the control device and the node identity ID allocated to the control device by the first management platform into the control source list in the ACL of the controlled device;
    其中,所述控制源列表用于存储可控制所述被控制设备的设备的信息。Wherein, the control source list is used to store information of devices that can control the controlled device.
  26. 根据权利要求24或25所述的方法,其特征在于,所述方法还包括:The method according to claim 24 or 25, wherein the method further comprises:
    接收所述控制设备发送的控制消息,所述控制消息的源地址为所述控制设备的身份标识消息,所述控制消息的目标地址为所述被控制设备的身份标识消息;receiving a control message sent by the control device, where the source address of the control message is the identity message of the control device, and the destination address of the control message is the identity message of the controlled device;
    向所述控制设备回复控制结果。Return the control result to the control device.
  27. 根据权利要求24-26中任一项所述的方法,其特征在于,所述被控制设备的身份标识信息存储在所述被控制设备的第一簇中,其中,所述第一簇为基本簇,或者用于存储所述被控制设备的身份标识信息的专用簇。The method according to any one of claims 24-26, wherein the identity information of the controlled device is stored in a first cluster of the controlled device, wherein the first cluster is a basic cluster, or a dedicated cluster for storing the identity information of the controlled device.
  28. 一种配置端设备,其特征在于,所述配置端设备对应的管理平台为第一管理平台,包括:A configuration end device, characterized in that the management platform corresponding to the configuration end device is a first management platform, comprising:
    通信单元,用于获取被控制设备的身份标识信息,以及获取控制设备的身份标识信息,其中,所述被控制设备的身份标识信息用于唯一标识所述被控制设备,所述控制设备的身份标识信息用于唯一标识所述控制设备;a communication unit, used to obtain the identity information of the controlled device, and obtain the identity information of the control device, wherein the identity information of the controlled device is used to uniquely identify the controlled device, and the identity of the control device The identification information is used to uniquely identify the control device;
    向所述被控制设备的接入控制列表ACL中写入所述控制设备的身份标识信息;以及Writing the identity information of the controlling device into the access control list ACL of the controlled device; and
    向所述控制设备中发送绑定信息,所述绑定信息包括所述被控制设备的设备信息和所述控制设备的设备信息的绑定关系,其中,所述被控制设备的设备信息包括所述被控制设备的身份标识信息,所述控制设备的设备信息包括所述控制设备的身份标识信息。Send binding information to the control device, where the binding information includes the binding relationship between the device information of the controlled device and the device information of the control device, wherein the device information of the controlled device includes the device information of the controlled device. The identity information of the controlled device, and the device information of the control device includes the identity information of the control device.
  29. 根据权利要求28所述的配置端设备,其特征在于,所述通信单元还用于:The configuration terminal device according to claim 28, wherein the communication unit is further used for:
    向所述被控制设备的ACL中的控制源列表中写入所述控制设备的身份标识信息,其中,所述控制源列表用于存储可控制所述被控制设备的设备的信息。The identity information of the control device is written into the control source list in the ACL of the controlled device, where the control source list is used to store information of devices that can control the controlled device.
  30. 根据权利要求29所述的配置端设备,其特征在于,所述通信单元还用于:The configuration terminal device according to claim 29, wherein the communication unit is further used for:
    向所述被控制设备的ACL中的控制源列表中写入所述第一管理平台为所述控制设备分配的节点标识ID,其中,所述控制设备的身份标识信息与所述第一管理平台为所述控制设备分配的节点ID对应。Write the node identification ID assigned by the first management platform to the control device into the control source list in the ACL of the controlled device, where the identification information of the control device is the same as the first management platform corresponds to the node ID assigned to the control device.
  31. 根据权利要求28-30中任一项所述的配置端设备,其特征在于,所述被控制设备的设备信息还包括所述被控制设备的互操作身份标识,所述控制设备的设备信息还包括所述控制设备的互操作身份标识;The configuration terminal device according to any one of claims 28 to 30, wherein the device information of the controlled device further includes an interoperability identifier of the controlled device, and the device information of the control device further includes including the interoperable identity of the control device;
    所述被控制设备的互操作身份标识包括所述第一管理平台为所述被控制设备分配的节点ID以及所述第一管理平台的编织网络标识;The interoperability identifier of the controlled device includes the node ID allocated by the first management platform to the controlled device and the woven network identifier of the first management platform;
    所述控制设备的互操作身份标识包括所述第一管理平台为所述控制设备分配的节点ID以及所述第一管理平台的编织网络标识。The interoperability identifier of the control device includes a node ID allocated to the control device by the first management platform and a woven network identifier of the first management platform.
  32. 根据权利要求28-31中任一项所述的配置端设备,其特征在于,所述通信单元还用于:The configuration terminal device according to any one of claims 28-31, wherein the communication unit is further configured to:
    在接收到所述被控制设备回复的第一状态信息的情况下,向所述控制设备发送所述绑定信息,其中,所述第一状态信息用于指示所述配置端设备在所述被控制设备的ACL中写入所述控制设备的身份标识信息成功。In the case of receiving the first state information replied by the controlled device, the binding information is sent to the controlling device, wherein the first state information is used to indicate that the configuration end device is in the controlled device. The identity information of the control device is successfully written into the ACL of the control device.
  33. 根据权利要求28-32中任一项所述的配置端设备,其特征在于,所述通信单元还用于:The configuration terminal device according to any one of claims 28-32, wherein the communication unit is further configured to:
    在所述控制设备上未保存所述被控制设备和所述控制设备的绑定关系的情况下,向所述控制设备发送所述绑定信息。If the binding relationship between the controlled device and the controlling device is not saved on the controlling device, the binding information is sent to the controlling device.
  34. 根据权利要求28-33中任一项所述的配置端设备,其特征在于,所述通信单元还用于:The configuration terminal device according to any one of claims 28-33, wherein the communication unit is further configured to:
    从所述被控制设备的簇中获取所述被控制设备的身份标识信息。The identity information of the controlled device is acquired from the cluster of the controlled device.
  35. 根据权利要求34所述的配置端设备,其特征在于,所述通信单元还用于:The configuration terminal device according to claim 34, wherein the communication unit is further used for:
    向所述被控制设备发送第一读请求,所述第一读请求包括所述被控制设备的身份标识信息在所述被控制设备上的存储路径;sending a first read request to the controlled device, where the first read request includes a storage path of the identity information of the controlled device on the controlled device;
    接收所述被控制设备返回的所述被控制设备的身份标识信息。Receive the identity information of the controlled device returned by the controlled device.
  36. 根据权利要求34或35所述的配置端设备,其特征在于,所述被控制设备的身份标识信息存储在所述被控制设备的第一簇中,其中,所述第一簇为基本簇,或者用于存储所述被控制设备的身份标识信息的专用簇。The configuration terminal device according to claim 34 or 35, wherein the identity information of the controlled device is stored in a first cluster of the controlled device, wherein the first cluster is a basic cluster, Or a dedicated cluster for storing the identity information of the controlled device.
  37. 根据权利要求28-36中任一项所述的配置端设备,其特征在于,所述通信单元还用于:The configuration terminal device according to any one of claims 28-36, wherein the communication unit is further configured to:
    从所述控制设备的簇中获取所述控制设备的身份标识信息。The identification information of the control device is acquired from the cluster of the control device.
  38. 根据权利要求37所述的配置端设备,其特征在于,所述通信单元还用于:The configuration terminal device according to claim 37, wherein the communication unit is further used for:
    向所述控制设备发送第二读请求,所述第二读请求包括所述控制设备的身份标识信息在所述控制设备上的存储路径;sending a second read request to the control device, where the second read request includes a storage path of the identity information of the control device on the control device;
    接收所述控制设备返回的所述控制设备的身份标识信息。Receive the identity information of the control device returned by the control device.
  39. 根据权利要求37或38所述的配置端设备,其特征在于,所述控制设备的身份标识信息存储在所述控制设备的第二簇中,其中,所述第二簇为基本簇,或者用于存储所述控制设备的身份标识信息的专用簇。The configuration terminal device according to claim 37 or 38, wherein the identity information of the control device is stored in a second cluster of the control device, wherein the second cluster is a basic cluster or a A dedicated cluster for storing the identification information of the control device.
  40. 根据权利要求28-39中任一项所述的配置端设备,其特征在于,所述通信单元还用于:The configuration terminal device according to any one of claims 28-39, wherein the communication unit is further configured to:
    在所述配置端与所述被控制设备建立基于证书认证的安全会话建立CASE连接的情况下,从所述被控制设备获取所述被控制设备的身份标识信息。In the case that the configuration terminal establishes a CASE connection based on a certificate authentication-based secure session with the controlled device, the identity information of the controlled device is acquired from the controlled device.
  41. 根据权利要求28-40中任一项所述的配置端设备,其特征在于,所述通信单元还用于:The configuration terminal device according to any one of claims 28-40, wherein the communication unit is further configured to:
    在所述配置端设备与所述控制设备建立CASE连接的情况下,从所述控制设备获取所述控制设备的身份标识信息。When the configuration end device establishes a CASE connection with the control device, the identity information of the control device is acquired from the control device.
  42. 根据权利要求28-41中任一项所述的配置端设备,其特征在于,所述通信单元还用于:The configuration terminal device according to any one of claims 28-41, wherein the communication unit is further configured to:
    向所述被控制设备发送第一写请求,所述第一写请求包括所述被控制设备的ACL的存储路径以及所述控制设备的身份标识信息。Send a first write request to the controlled device, where the first write request includes the storage path of the ACL of the controlled device and the identity information of the controlling device.
  43. 根据权利要求42所述的配置端设备,其特征在于,所述第一写请求还包括所述第一管理平台为所述控制设备分配的节点ID。The configuration terminal device according to claim 42, wherein the first write request further includes a node ID allocated by the first management platform to the control device.
  44. 根据权利要求28-43中任一项所述的配置端设备,其特征在于,所述通信单元还用于:The configuration terminal device according to any one of claims 28-43, wherein the communication unit is further configured to:
    向所述控制设备发送第二写请求,所述第二写请求包括绑定信息列表在所述控制设备上的存储路径和所述绑定信息。Send a second write request to the control device, where the second write request includes a storage path of the binding information list on the control device and the binding information.
  45. 一种控制设备,其特征在于,包括:A control device, characterized in that it includes:
    通信单元,用于接收第一管理平台的配置端的第二读请求,所述第二读请求用于获取所述控制设备的身份标识信息,所述控制设备的身份标识信息用于唯一标识所述控制设备;A communication unit, configured to receive a second read request from the configuration end of the first management platform, where the second read request is used to obtain the identity information of the control device, and the identity information of the control device is used to uniquely identify the controlling device;
    向所述配置端发送所述控制设备的身份标识信息;以及sending the identity information of the control device to the configuration terminal; and
    接收所述配置端发送的绑定信息,所述绑定信息包括被控制设备的设备信息和所述控制设备的设备信息的绑定关系,其中,所述被控制设备的设备信息包括所述被控制设备的身份标识信息,所述控制设备的设备信息包括所述控制设备的身份标识信息。Receive binding information sent by the configuration terminal, where the binding information includes the binding relationship between the device information of the controlled device and the device information of the controlling device, wherein the device information of the controlled device includes the device information of the controlled device Identity information of the control device, where the device information of the control device includes the identity information of the control device.
  46. 根据权利要求45所述的控制设备,其特征在于,所述被控制设备的设备信息还包括所述被控制设备的互操作身份标识,所述控制设备的设备信息还包括所述控制设备的互操作身份标识;The control device according to claim 45, wherein the device information of the controlled device further includes an interoperability identifier of the controlled device, and the device information of the control device further includes an interoperability identifier of the control device. Operational identification;
    其中,所述被控制设备的互操作身份标识包括所述第一管理平台为所述被控制设备分配的节点ID以及所述第一管理平台的编织网络标识;Wherein, the interoperability identity of the controlled device includes the node ID allocated by the first management platform to the controlled device and the woven network identity of the first management platform;
    所述控制设备的互操作身份标识包括所述第一管理平台为所述控制设备分配的节点ID以及所述第一管理平台的编织网络标识。The interoperability identifier of the control device includes a node ID allocated to the control device by the first management platform and a woven network identifier of the first management platform.
  47. 根据权利要求45或46所述的控制设备,其特征在于,所述控制设备还包括:The control device according to claim 45 or 46, wherein the control device further comprises:
    处理单元,用于根据所述绑定信息,生成控制消息,其中,所述控制消息的源地址设置为所述控制设备的身份标识消息,所述控制消息的目标地址设置为所述被控制设备的身份标识消息;a processing unit, configured to generate a control message according to the binding information, wherein the source address of the control message is set to the identity message of the control device, and the destination address of the control message is set to the controlled device identity message;
    所述通信单元还用于:向所述被控制设备发送所述控制消息。The communication unit is further configured to: send the control message to the controlled device.
  48. 根据权利要求45-47中任一项所述的控制设备,其特征在于,所述控制设备的身份标识信息存储在所述控制设备的第二簇中,其中,所述第二簇为基本簇,或者用于存储所述控制设备的身份标识信息的专用簇。The control device according to any one of claims 45-47, wherein the identity information of the control device is stored in a second cluster of the control device, wherein the second cluster is a basic cluster , or a dedicated cluster for storing the identity information of the control device.
  49. 根据权利要求45-48中任一项所述的控制设备,其特征在于,所述第二读请求包括所述控制设备的身份标识信息在所述控制设备上的存储路径。The control device according to any one of claims 45-48, wherein the second read request includes a storage path of the identification information of the control device on the control device.
  50. 根据权利要求45-49中任一项所述的控制设备,其特征在于,所述通信单元还用于:The control device according to any one of claims 45-49, wherein the communication unit is further configured to:
    接收所述配置端发送的第二写请求,所述第二写请求包括绑定信息列表在所述控制设备上的存储路径和所述绑定信息。A second write request sent by the configuration terminal is received, where the second write request includes a storage path of the binding information list on the control device and the binding information.
  51. 一种被控制设备,其特征在于,包括:A controlled device, characterized in that it includes:
    通信单元,用于接收第一管理平台的配置端的第一读请求,所述第一读请求用于获取所述被控制设备的身份标识信息,所述被控制设备的身份标识信息用于唯一标识所述控制设备;A communication unit, configured to receive a first read request from the configuration end of the first management platform, where the first read request is used to obtain the identity information of the controlled device, and the identity information of the controlled device is used to uniquely identify the control device;
    向所述配置端发送所述被控制设备的身份标识信息;sending the identity information of the controlled device to the configuration terminal;
    接收所述配置端发送的第一写请求,所述第一写请求用于向所述被控制设备的接入控制列表ACL中写入所述控制设备的身份标识信息,其中,所述控制设备的身份信息用于唯一标识所述控制设备。Receive a first write request sent by the configuration terminal, where the first write request is used to write the identity information of the control device into the access control list ACL of the controlled device, where the control device The identity information is used to uniquely identify the control device.
  52. 根据权利要求51所述的被控制设备,其特征在于,所述第一写请求用于向所述被控制设备的ACL中的控制源列表中写入所述控制设备的身份标识信息,或者,所述第一写请求用于向所述被控制设备的ACL中的控制源列表中写入所述控制设备的身份标识信息和所述第一管理平台为所述控制设备分配的节点标识ID;The controlled device according to claim 51, wherein the first write request is used to write the identity information of the controlling device into a control source list in an ACL of the controlled device, or, The first write request is used to write the identity information of the control device and the node identity ID assigned to the control device by the first management platform into the control source list in the ACL of the controlled device;
    其中,所述控制源列表用于存储可控制所述被控制设备的设备的信息。Wherein, the control source list is used to store information of devices that can control the controlled device.
  53. 根据权利要求52所述的被控制设备,其特征在于,所述通信单元还用于:The controlled device according to claim 52, wherein the communication unit is further used for:
    接收所述控制设备发送的控制消息,所述控制消息的源地址为所述控制设备的身份标识消息,所述控制消息的目标地址为所述被控制设备的身份标识消息;receiving a control message sent by the control device, where the source address of the control message is the identity message of the control device, and the destination address of the control message is the identity message of the controlled device;
    向所述控制设备回复控制结果。Return the control result to the control device.
  54. 根据权利要求51-53中任一项所述的被控制设备,其特征在于,所述被控制设备的身份标识信息存储在所述被控制设备的第一簇中,其中,所述第一簇为基本簇,或者用于存储所述被控制设备的身份标识信息的专用簇。The controlled device according to any one of claims 51-53, wherein the identity information of the controlled device is stored in a first cluster of the controlled device, wherein the first cluster is a basic cluster, or a dedicated cluster for storing the identity information of the controlled device.
  55. 一种配置端设备,其特征在于,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求1至17中任一项所述的方法。A configuration terminal device, characterized in that it includes: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute the program as claimed in claims 1 to 17 The method of any one.
  56. 一种控制设备,其特征在于,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求18至23中任一项所述的方法。A control device, characterized in that it comprises: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute any one of claims 18 to 23. one of the methods described.
  57. 一种被控制设备,其特征在于,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求24至27中任一项所述的方法。A controlled device is characterized in that it comprises: a processor and a memory, the memory is used for storing a computer program, the processor is used for calling and running the computer program stored in the memory, and executes the program as claimed in claims 24 to 27 The method of any one.
  58. 一种芯片,其特征在于,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1至17中任一项所述的方法,或者如权利要求18至23中任一项所述的方法,或者如权利要求24至27中任一项所述的方法。A chip, characterized by comprising: a processor for invoking and running a computer program from a memory, so that a device installed with the chip executes the method according to any one of claims 1 to 17, or as in The method of any one of claims 18 to 23, or the method of any one of claims 24 to 27.
  59. 一种计算机可读存储介质,其特征在于,用于存储计算机程序,所述计算机程序使得计算机执行如权利要求1至17中任一项所述的方法,或者如权利要求18至23中任一项所述的方法,或者如权利要求24至27中任一项所述的方法。A computer-readable storage medium, characterized by being used for storing a computer program, the computer program causing a computer to execute the method according to any one of claims 1 to 17, or any one of claims 18 to 23. A method as claimed in claim 1, or a method as claimed in any one of claims 24 to 27.
  60. 一种计算机程序产品,其特征在于,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1至17中任一项所述的方法,或者如权利要求18至23中任一项所述的方法,或者如权利要求24至27中任一项所述的方法。A computer program product comprising computer program instructions that cause a computer to perform the method of any one of claims 1 to 17, or the method of any one of claims 18 to 23 , or as claimed in any one of claims 24 to 27.
  61. 一种计算机程序,其特征在于,所述计算机程序使得计算机执行如权利要求1至17中任一项所述的方法,或者如权利要求18至23中任一项所述的方法,或者如权利要求24至27中任一项所述的方法。A computer program, characterized in that the computer program causes a computer to perform the method according to any one of claims 1 to 17, or the method according to any one of claims 18 to 23, or the The method of any one of claims 24 to 27.
PCT/CN2021/087878 2021-04-16 2021-04-16 Method for establishing device binding relationship, and device WO2022217602A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/087878 WO2022217602A1 (en) 2021-04-16 2021-04-16 Method for establishing device binding relationship, and device
CN202180079480.3A CN116547961A (en) 2021-04-16 2021-04-16 Method and device for establishing device binding relation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/087878 WO2022217602A1 (en) 2021-04-16 2021-04-16 Method for establishing device binding relationship, and device

Publications (1)

Publication Number Publication Date
WO2022217602A1 true WO2022217602A1 (en) 2022-10-20

Family

ID=83639442

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/087878 WO2022217602A1 (en) 2021-04-16 2021-04-16 Method for establishing device binding relationship, and device

Country Status (2)

Country Link
CN (1) CN116547961A (en)
WO (1) WO2022217602A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533861A (en) * 2016-11-18 2017-03-22 郑州信大捷安信息技术股份有限公司 Security control system and authentication method of smart home Internet of Things
US20170201886A1 (en) * 2016-01-11 2017-07-13 Lg Electronics Inc. Method and apparatus for controlling a device using bluetooth technology
CN110300117A (en) * 2019-07-05 2019-10-01 杭州博联智能科技股份有限公司 Authentication method, equipment and the medium of IOT equipment and user's binding
CN110703622A (en) * 2019-11-05 2020-01-17 四川虹美智能科技有限公司 Control device, method and system of intelligent household appliance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170201886A1 (en) * 2016-01-11 2017-07-13 Lg Electronics Inc. Method and apparatus for controlling a device using bluetooth technology
CN106533861A (en) * 2016-11-18 2017-03-22 郑州信大捷安信息技术股份有限公司 Security control system and authentication method of smart home Internet of Things
CN110300117A (en) * 2019-07-05 2019-10-01 杭州博联智能科技股份有限公司 Authentication method, equipment and the medium of IOT equipment and user's binding
CN110703622A (en) * 2019-11-05 2020-01-17 四川虹美智能科技有限公司 Control device, method and system of intelligent household appliance

Also Published As

Publication number Publication date
CN116547961A (en) 2023-08-04

Similar Documents

Publication Publication Date Title
US11784788B2 (en) Identity management method, device, communications network, and storage medium
EP3595247B1 (en) Identity authentication method and system
CN112737902B (en) Network configuration method and device, storage medium and electronic equipment
JP6940240B2 (en) Certificate acquisition method, authentication method and network device
WO2019102208A1 (en) Distributed management system for remote devices and methods thereof
US11356841B2 (en) Method and apparatus for handling remote profile management exception
US10630551B2 (en) Method and apparatus for automatic networking of gateway device
CA2922826C (en) Wireless terminal configuration method, apparatus, and wireless terminal
KR20190051326A (en) Internet Of Things Device Control System and Method Based On Block Chain
TW201824899A (en) Security routing system for use in IoT apparatus
US10805381B2 (en) Web storage based IoT device protect mechanism
KR102546972B1 (en) Apparatus, method for handling execptions in remote profile management
JP2023015376A (en) Device and method for mediating setting of authentication information
WO2018107723A1 (en) Method and device for switching remote subscription management platform for intelligent card, intelligent card, and sm-sr
WO2022041151A1 (en) Device verification method, device, and cloud
CN116420338A (en) Internet of things equipment access authentication method, device, equipment and storage medium
WO2022217602A1 (en) Method for establishing device binding relationship, and device
WO2022094936A1 (en) Access method, device, and cloud platform device
US11171786B1 (en) Chained trusted platform modules (TPMs) as a secure bus for pre-placement of device capabilities
US11606199B2 (en) Management of groups of connected objects using wireless communication protocols
KR20220072659A (en) SECURITY CONSTRUCTION METHOD OF GATEWAY FOR IoT DEVICES BY USING IDENTITY-BASED CRYPTOGRAPHY BASED ON VIRTUAL BLOCKCHAIN
WO2020258099A1 (en) Method for configuring internet of things device, and internet of things device
WO2021134562A1 (en) Configuration device replacement method and apparatus, device, and storage medium
WO2021151495A1 (en) Devices, methods and computer programs for bootstrapping a group of node devices for wireless local area networking
WO2022116110A1 (en) Access authentication method and apparatus, device, and storage medium

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202180079480.3

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21936477

Country of ref document: EP

Kind code of ref document: A1