WO2023082113A1 - Method and apparatus for configuring bridging device, device, and storage medium - Google Patents
Method and apparatus for configuring bridging device, device, and storage medium Download PDFInfo
- Publication number
- WO2023082113A1 WO2023082113A1 PCT/CN2021/129911 CN2021129911W WO2023082113A1 WO 2023082113 A1 WO2023082113 A1 WO 2023082113A1 CN 2021129911 W CN2021129911 W CN 2021129911W WO 2023082113 A1 WO2023082113 A1 WO 2023082113A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- endpoint
- configuration
- shared
- list
- access
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 93
- 238000003860 storage Methods 0.000 title claims abstract description 19
- 238000013499 data model Methods 0.000 claims description 29
- 238000004590 computer program Methods 0.000 claims description 26
- 230000000977 initiatory effect Effects 0.000 claims description 3
- 230000000875 corresponding effect Effects 0.000 description 56
- 239000004744 fabric Substances 0.000 description 36
- 230000006870 function Effects 0.000 description 20
- 230000008569 process Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 15
- 238000007726 management method Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 239000002131 composite material Substances 0.000 description 2
- 238000009776 industrial production Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 101100264195 Caenorhabditis elegans app-1 gene Proteins 0.000 description 1
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
Definitions
- the present application relates to the technical field of the Internet of Things, and in particular to a method, device, device and storage medium for configuring a bridging device.
- IoT Internet of Things
- different IoT devices may support different IoT protocols.
- IoT devices supporting different IoT protocols can be networked through a bridging device.
- Embodiments of the present application provide a method, device, device, and storage medium for configuring a bridging device.
- the solution can improve the flexibility of sharing the access control rights of the bridged sub-devices. Described technical scheme is as follows:
- the embodiment of the present application provides a method for configuring a bridging device, the method is executed by the bridging device, and the method includes:
- the endpoint sharing information is used to indicate the shared endpoints among the endpoints corresponding to the bridged sub-device;
- the shared endpoints include all or part of the endpoints; the bridging sub-device is an IoT device connected to the bridging device.
- an embodiment of the present application provides a method for configuring a bridging device, the method is executed by a first configuration device, and the method includes:
- the bridged sub-device list is used to indicate the shared endpoint;
- the shared endpoint includes all or part of the endpoints corresponding to the bridged sub-device;
- the bridged sub-device is a The Internet of Things device of the bridging device;
- the request to open the configuration window is used to instruct the bridging device to configure endpoint sharing information in the data model, and the endpoint sharing information is used to indicate the shared endpoint.
- an embodiment of the present application provides an apparatus for configuring a bridging device, and the apparatus includes:
- a configuration module configured to configure endpoint sharing information in the bridging device, where the endpoint sharing information is used to indicate the shared endpoints among the endpoints corresponding to the bridged sub-device;
- the shared endpoints include all or part of the endpoints; the bridging sub-device is an IoT device connected to the bridging device.
- an embodiment of the present application provides an apparatus for configuring a bridging device, and the apparatus includes:
- a sending module configured to send a request to open a configuration window to the bridge device, wherein the request to open the configuration window includes a list of bridged sub-devices;
- the bridged sub-device list is used to indicate the shared endpoint;
- the shared endpoint includes all or part of the endpoints corresponding to the bridged sub-device;
- the bridged sub-device is a The Internet of Things device of the bridging device;
- the request to open the configuration window is used to instruct the bridging device to configure endpoint sharing information in the data model, and the endpoint sharing information is used to indicate the shared endpoint.
- an embodiment of the present application provides a computer device, the computer device is implemented as an information reporting device, and the computer device includes a processor, a memory, and a transceiver;
- a computer program is stored in the memory, and the processor executes the computer program, so that the computer device implements the above method for configuring the bridge device.
- an embodiment of the present application provides a computer device, the computer device includes a processor, a memory, and a transceiver, the memory stores a computer program, and the computer program is used to be executed by the processor to The foregoing method for configuring a bridge device is implemented.
- an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is loaded and executed by a processor to implement the above-mentioned method for configuring a bridge device.
- the present application also provides a chip, which is configured to run in a computer device, so that the computer device executes the above-mentioned method for configuring a bridge device.
- the present application provides a computer program product comprising computer instructions stored in a computer readable storage medium.
- the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned method for configuring the bridge device.
- the present application provides a computer program, which is executed by a processor of a computer device, so as to implement the above method for configuring a bridge device.
- the bridge device can configure the shared endpoints of the above endpoints in the data model, and then accept the configuration of the configuration device based on these shared endpoints, thereby expanding
- the scenario of configuring the bridge device in the multi-administration mode improves the flexibility of Multi-admin configuration under the Bridge architecture.
- FIG. 1 is a schematic diagram of a network architecture of the Internet of Things provided by an embodiment of the present application
- Fig. 2 is a schematic diagram of the bridging architecture involved in the present application
- FIG. 3 is a schematic structural diagram of a data model of a device in the Internet of Things involved in the present application
- FIG. 4 is a flow chart of a method for configuring a bridging device provided by an embodiment of the present application
- FIG. 5 is a flowchart of a method for configuring a bridging device provided by an embodiment of the present application
- FIG. 6 is a configuration framework diagram of a multi-management mode provided by an embodiment of the present application.
- FIG. 7 is a flowchart of a method for configuring a bridging device provided by an embodiment of the present application.
- FIG. 8 is a schematic flow diagram of configuring an endpoint access cluster in a bridging device related to FIG. 7;
- FIG. 9 is a schematic flowchart of configuring descriptor clusters in a bridge device related to FIG. 7;
- FIG. 10 is a block diagram of an apparatus for configuring a bridging device provided by an embodiment of the present application.
- Fig. 11 is a block diagram of an apparatus for configuring a bridging device provided by an embodiment of the present application.
- Fig. 12 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
- the network architecture and business scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute limitations on the technical solutions provided by the embodiments of the present application.
- the evolution of the technology and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
- FIG. 1 shows a schematic diagram of a network architecture of the Internet of Things provided by an embodiment of the present application.
- the network architecture of the Internet of Things may include: an Internet of Things device 110 (shown as an Internet of Things device 110a and an Internet of Things device 110b in FIG. 1 ) and a control device 120 (shown as a control device 120a and a control device 120b in FIG. 1 );
- the network architecture may also include a bridging device 130 and a cloud server 140;
- the IoT device 110 may refer to a device for providing a server function corresponding to the IoT protocol in the IoT.
- the IoT device 110 may be a smart home device, such as a smart lamp, a smart TV, a smart air conditioner, a smart refrigerator, a smart microwave oven, a smart rice cooker, a sweeping robot, and the like.
- a smart home device such as a smart lamp, a smart TV, a smart air conditioner, a smart refrigerator, a smart microwave oven, a smart rice cooker, a sweeping robot, and the like.
- the IoT device 110 may be an industrial production device, such as a lathe, an industrial robot, a solar panel, a wind generator, and the like.
- the IoT device 110 may be a commercial service device, for example, an unmanned vending machine or the like.
- the IoT device 110 may be an intelligent monitoring device, for example, a monitoring camera, an infrared sensor, a sound sensor, a temperature sensor and so on.
- the control device 120 is a terminal device on the user side.
- the control device 120 can be a smart controller, a smart remote control, a smart phone, a tablet computer, a smart watch, a smart TV, a smart speaker, a smart switch, a gateway, etc.; or, the control device 120 can also be a personal computer, such as a desktop PCs, laptops, personal workstations, and more.
- control device 120 is a client entity (which may be a virtual entity) running on a terminal device, for example, the control device 120 may run in a terminal device for accessing IoT devices , control, and management applications (Application, APP).
- client entity which may be a virtual entity
- control device 120 may run in a terminal device for accessing IoT devices , control, and management applications (Application, APP).
- APP Application, APP
- the bridge device 130 is used to realize the interaction between two devices supporting different IoT protocols.
- the bridging device 130 provides information conversion and transfer services between the IoT devices 110 supporting different IoT protocols, or between the IoT devices 110 supporting different IoT protocols and the control device 120 .
- the bridging device 130 may be a device dedicated to bridging, or the bridging device 130 may also be an intelligent device with a bridging function, such as a gateway or a router.
- the cloud server 140 is a server deployed on the network side.
- the cloud server 140 can store relevant information of each IoT device 110, such as current status, binding account, etc.; the cloud server 140 can also provide a service interface for remote access to the IoT device 110, so that users 110 for remote management or control.
- the aforementioned IoT device 110, control device 120, bridging device 130, and cloud server 140 may be electronic devices that meet the same or different IoT protocols, for example, they may be electronic devices that meet the requirements of the Connectivity Standards Alliance (Connectivity Standards Alliance) , CSA) (or Zigbee Alliance) under the Matter protocol (or through IP (Internet Protocol, Internet Protocol) connected home working group (Connected Home over IP Working Group, CHIP) project) electronic equipment.
- Connectivity Standards Alliance Connectivity Standards Alliance
- CSA or Zigbee Alliance
- Matter protocol or through IP (Internet Protocol, Internet Protocol) connected home working group (Connected Home over IP Working Group, CHIP) project) electronic equipment.
- CHIP Connected Home over IP Working Group
- a secure connection can be established between the IoT device 110a and the control device 120a, for example, a secure connection based on the Matter specification.
- the IoT device 110b and the control device 120b support different protocol specifications, for example, the IoT device 110b is a Zigbee device, and the control device 120b is a Matter device, the IoT device 110b and the control device 120b can be connected through a bridge device 130 connected.
- the data model of the Matter device has the following characteristics:
- the Matter device contains one or more endpoints Endpoint, represented by an Endpoint Number (Endpoint Number, which can also be abbreviated as endpoint-no).
- a Matter device is a spotlight, and the spotlight has three bulbs, each bulb corresponds to an endpoint, that is, an actual physical device can contain multiple endpoints (of course, it can only contain one endpoint); another example, a The Matter device is a socket, which has 4 jacks, and each jack can correspond to an Endpoint.
- Each Endpoint corresponds to one or more device types (Device Type), which are represented by a device ID (Device ID).
- a Matter device is an air conditioner, and the air conditioner includes a thermostat and a fan.
- the thermostat and the fan correspond to the same Endpoint, the thermostat corresponds to one device type, and the fan corresponds to another device type. Fans can be controlled through the same Endpoint.
- Each Endpoint contains a variety of clusters (Cluster), and the Cluster is divided into two types: Server and Client, and the corresponding Cluster IDs are the same.
- Each Cluster contains a variety of attributes (Attribute), events (Event), and instructions (Command), which are represented by Attribute ID, Event ID, and Command ID, and Attribute and Event have corresponding data types.
- the IoT device can also be a Zigbee device.
- the data model of the Zigbee device is similar to the data model structure of the Matter device. The difference is that there is no Event in the data model of the Zigbee device.
- Multi-admin Multi-admin
- an IoT device or bridge device can be configured by multiple configuration devices to join the corresponding Fabric, and be controlled by controllers (Controllers) belonging to different fabrics respectively. ) to perform operations such as access control.
- Fabric is a security domain, which allows a group of nodes to be identified in the context of the domain, and the identified group of nodes can communicate in the context of the security domain.
- a node can be identified in one or more security domains.
- the configuration process of the above multi-management mode can be as follows:
- Step 1 Admin A (Admin A) configures Node AB (the node corresponding to the device) for the first time: including assigning fabric and operational (Operational) identification (Identity, ID), and configuring access control lists (Access Control Lists, ACL) etc.
- Step 2 Admin A sets Node AB to enter the configuration state.
- Node AB can be configured by Admin B (Admin B), so as to join the fabric to which Admin B belongs.
- the process may include: Admin A generates a setup code (setupcode) and sends it to Admin B, and Admin B uses the Setupcode to establish a connection with Node AB; optionally, before establishing a connection, Node AB needs to first register Domain Name System Service Discovery (Domain Name System Service Discovery, DNS-SD) records, so that Admin B can discover Node AB.
- setup code setupcode
- DNS-SD Domain Name System Service Discovery
- Step 3 Admin B discovers the device information corresponding to Node AB through the manual pairing code, and then establishes a secure connection with Node AB and configures it.
- the configuration content is similar to that in step 1.
- FIG. 2 shows a schematic diagram of the bridge architecture involved in this application.
- a bridge manufacturer application program 201 also called bridge Manufacturer App, which is a privately implemented App by the manufacturer
- bridge Manufacturer App which is a privately implemented App by the manufacturer
- non-Matter protocol devices such as Zigbee devices
- bridged sub-device 202 also called Bridged Device, corresponding to BD1 ⁇ BD3 in Figure 2
- the Bridged Device can be a physical IoT device or a logical device
- the bridge Manufacturer App controls the bridge device 203 (Bridge) to generate the corresponding Matter device 204 (also called Matter Device, corresponding to MD1 in Figure 2) for devices such as BD1 ⁇ MD4), so that Apps that support the Matter protocol (ie, Matter App 1 to Matter App 3) can view and control the bridged sub-device 202 through the bridge device 203, wherein the Matter Device in Figure 2 can be a logical device.
- the implementation method of generating the corresponding Matter device 204 for devices such as BD1 can be: generate corresponding endpoints (endpoints) on the data model of Bridge, one or more endpoints correspond to a Matter Device; therefore, in the data model of Bridge, both It contains the endpoints of its own function (which can be called endpoint0), and also contains the endpoints corresponding to the heterogeneous devices it bridges.
- FIG. 3 shows a schematic structural diagram of a data model of a device in the Internet of Things involved in the present application.
- a node represents a physical device or a logical device, and a node can correspond to one or more endpoints, each endpoint is a logical device, and each endpoint corresponds to There are one or more function sets, and each function set corresponds to one or more specific functions (corresponding properties, methods, events, etc.).
- descriptor Cluster on the endpoint0 of the Bridge device, and the device type (device type) in it needs to include bridge; its components list (parts list) parameter includes all the above endpoints (corresponding to logical devices);
- the device types parameter of the descriptor Cluster corresponding to the endpoints of Bridged Devices needs to include the bridged sub-device identifier (bridged node, which indicates that the endpoint represents a bridged sub-device) and its device type, thereby identifying the endpoint Corresponding to a Bridged Device function set, where each function set corresponds to one or more functions.
- the Multi-admin function when the Multi-admin function is performed on the Bridge, the endpoints of Bridged Devices cannot be divided, that is to say, the Multi-admin function can only be performed on the entire Bridge device (including all endpoints); that is to say , when Admin A shares the IoT devices connected under the bridge device with Admin B, it can only share the bridge device and all IoT devices under the bridge device with Admin B, resulting in the The endpoints of Devices are less flexible for sharing.
- the subsequent embodiments of this application provide a solution for configuring the bridging device.
- the shared endpoint can be configured in the bridging device, and then the bridging device accepts the configuration of other configuration devices
- the above-mentioned shared endpoints can be selectively configured to other configuration devices, thereby improving the flexibility of Multi-admin configuration under the Bridge architecture.
- FIG. 4 shows a flow chart of a method for configuring a bridge device provided by an embodiment of the present application.
- the method may be executed by a bridge device.
- the bridge device may be in the network architecture shown in FIG. 1
- the bridging device 130; the method may include the following steps:
- Step 401 configure the endpoint sharing information in the bridge device, and the endpoint sharing information is used to indicate the shared endpoint;
- the above-mentioned shared endpoints include all or part of the endpoints corresponding to the bridged sub-device;
- the bridged sub-device is IoT devices connected to the bridge device.
- the bridged device After the bridged sub-device (Bridged Device) is connected to the bridged device (Bridge), the bridged device generates a corresponding endpoint (endpoint) locally for the bridged sub-device, so that the bridged device not only has its own endpoint, but also has a bridged device. Individual endpoints for subdevices.
- the bridging device can further configure the shared endpoints in the data model, and when accepting the configuration of the configuration device, it can control the range of endpoints shared with the configuration device .
- the above-mentioned endpoint sharing information is used to limit the range of endpoints shared with the configuration device when the bridging device accepts the configuration of the configuration device.
- the bridge device can configure the shared endpoints among the above endpoints in the data model, and the follow-up can be based on these
- the shared endpoint accepts the configuration of the configuration device, thereby expanding the scenario of configuring the bridge device in the multi-management mode, and improving the flexibility of Multi-admin configuration under the Bridge architecture.
- the endpoints to be shared among the bridged sub-devices may be indicated by the first configuration device to the bridging device.
- FIG. 5 shows a flowchart of a method for configuring a bridge device provided by an embodiment of the present application.
- the method can be executed by a first configuration device.
- the first configuration device can be as shown in FIG. 1
- the control device 120 in the network architecture may also be other devices other than the control device 120; the method may include the following steps:
- Step 501 send a request to open the configuration window to the bridge device, and the request to open the configuration window includes a bridged sub-device list; the bridged sub-device list is used to indicate the shared endpoint; the shared endpoint includes the endpoint corresponding to the bridged sub-device All or part of the endpoints in the bridge; the sub-device of the bridge is the IoT device connected to the bridge device; the Open Commissioning Window (OCW) request is used to instruct the bridge device to configure the endpoint sharing information in the data model, and the endpoint sharing information is used to indicate the endpoint being shared.
- OCW Open Commissioning Window
- the first configuration device may be a device having full authority of the bridge device.
- the first configuration device may be a physical device or a logical device (such as a configuration App). After the first configuration device finishes configuring the bridge device, it may request to indicate the shared endpoint to the bridge device by opening a configuration window.
- the above-mentioned request for opening the configuration window may also be called an instruction to open the configuration window (OCW Command).
- the first configuration device instructs the bridge device to configure the shared endpoint among the above endpoints in the data model, Subsequent configurations of configuration devices can be accepted based on these shared endpoints, thereby expanding the scenarios for configuring bridge devices in multi-management mode and improving the flexibility of Multi-admin configuration under the Bridge architecture.
- the user corresponding to the first configuration device can selectively share the endpoints of the sub-device bridged on the bridging device externally.
- FIG. 6 shows a configuration framework diagram of a multi-management mode provided by an embodiment of the present application.
- the bridging device 61 corresponds to the The three bridged sub-devices generate corresponding endpoints (ie, endpoint 1 to endpoint 5 in FIG. 6 ).
- the first configuration device 63 completes the initial configuration of the bridging device 61, it can select some of the endpoints from endpoint 1 to endpoint 5 to share externally.
- the sharing process is as follows:
- the first configuration device 63 sends a request to open a configuration window OCW to the bridge device 61 .
- the shared endpoint or shared bridged sub-device can be set in the first configuration device 63 .
- the first configuration device 63 sends a request to open the configuration window to the bridge device 61 according to the settings of the user A.
- the request to open the configuration window may indicate that endpoints 3 to 5 are the endpoints to be shared.
- the bridging device 61 configures the initialized endpoint sharing information in the data model according to the request of opening the configuration window.
- the bridging device 61 can configure the endpoint sharing information in the data model. For example, in FIG. 6, the bridging device 61 configures the endpoint sharing information in the data model according to the endpoint 3 to the endpoint 5; That is to say, the endpoint sharing information is used to indicate in the data model that the aforementioned endpoints 3 to 5 are endpoints that can be shared.
- the bridging device 61 completes the configuration of the second configuration device 64 according to the initialized endpoint sharing information.
- the bridging device 61 accepts the configuration of the second configuration device 64 within the range from endpoint 3 to endpoint 5 indicated by the endpoint sharing information; that is to say , in the above configuration process, the endpoint shared to the second configuration device 64 does not exceed the range from endpoint 3 to endpoint 5 .
- the endpoint sharing information configured in the bridging device may include adding a dedicated cluster (Cluster) in the data model, or may include existing clusters in the data model.
- Cluster a dedicated cluster
- FIG. 7 shows a flow chart of a method for configuring a bridge device provided by an embodiment of the present application.
- the method can be executed interactively by the bridge device, the first configuration device, and the second configuration device.
- the bridge The device may be the bridging device 130 in the network architecture shown in FIG. 1, and the first configuration device and the second configuration device may be the control device 120 in the network architecture shown in FIG. equipment; the method may include the following steps:
- step 701 the first configuration device sends a configuration window opening request to the bridge device; correspondingly, the bridge device receives the configuration window opening request.
- At least one bridging sub-device is connected to the bridging device.
- the sub-devices of the bridge are the IoT devices connected to the bridge device.
- the open configuration window OCW request is used to indicate the shared endpoint among the endpoints corresponding to the bridged sub-device.
- a shared endpoint among the above endpoints corresponding to the bridged sub-device includes all or part of the above endpoints.
- the request for opening the configuration window includes a bridged sub-device list; the bridged sub-device list is used to indicate the endpoint to be shared.
- the request to open the configuration window may include a bridged sub-device list (BridgedDevicesList), and the bridged sub-device list may directly or indirectly indicate the aforementioned shared endpoint.
- BridgedDevicesList BridgedDevicesList
- the bridge sub-device list includes at least one of the following information:
- the identity of the shared endpoint, and the device type of the shared endpoint are identical to the identity of the shared endpoint, and the device type of the shared endpoint.
- the bridged sub-device list may include the identifier of the shared endpoint, so as to directly indicate the above-mentioned shared endpoint.
- the bridge sub-device list may also include the device type (DeviceType) of the shared endpoint to indirectly indicate the shared endpoint (that is, the endpoint corresponding to the device type is the shared endpoint).
- DeviceType the device type of the shared endpoint to indirectly indicate the shared endpoint (that is, the endpoint corresponding to the device type is the shared endpoint).
- the parameters of the OCW request may be as shown in Table 1 below:
- Step 702 the bridging device publishes DNS-SD records for DNS service discovery.
- the Domain Name System Service Discovery (DNS-SD) record includes at least one of a device type parameter, an endpoint list parameter, and an endpoint device type parameter; the above device type parameter is used to indicate the bridge device The device type; the endpoint list parameter is used to indicate the identifier of the endpoint contained in the discoverable device; the endpoint device type parameter is used to indicate the device type of the discoverable device.
- DNS-SD Domain Name System Service Discovery
- the endpoints included in the discoverable device may be all or part of the endpoints that are shared.
- the above-mentioned DNS-SD record may include the device type (Device Type, DT) parameter of the bridge device, the endpoint list (Endpoints List, EL) parameter and the endpoint device type (in SDT Indicates) parameters.
- the DT field is bridge, indicating that the device type is a bridge device, and the EL field is a specified value (such as 4), wherein, when the DT parameter segment is "bridge", the EL parameter is used to indicate the bridged sub-device that can be discovered ( BridgedDevices) corresponds to the endpoint, and the SDT parameter corresponds to the device type of EL.
- the second configuration device can subsequently discover the Bridge device and the corresponding Bridged Device through the DNS-SD discovery mechanism; the user corresponding to the second configuration device can confirm its configuration through EL information and SDT information After the Bridge device, the scope of the Bridged Device that can be controlled. If the user finds that the above information does not meet expectations, the configuration process can be ended.
- Step 703 the first configuration device generates a pairing code, and sends the pairing code to the second configuration device; correspondingly, the second configuration device receives the pairing code.
- the first configuration device may generate pairing code (Pairing Code) information for the second configuration device, and provide the generated pairing code information to the second configuration device in an out-of-band manner, for example, through Bluetooth or Two-dimensional code display and other methods are provided to the second configuration device.
- pairing code Packing Code
- Step 704 the second configuration device discovers the bridging device according to the pairing code, and establishes a secure link with the bridging device to initiate configuration on the bridging device.
- the second configuration device can discover the bridging device, obtain information related to establishing a secure link with the bridging device, and establish a secure link with the bridging device according to the obtained information, so as to subsequently initiate configuration on the bridging device .
- Step 705 the second configuration device initiates configuration to the bridging device; correspondingly, the bridging device accepts the configuration of the second configuration device according to the information shared by the above endpoints.
- the second configuration device when the user corresponding to the second configuration device determines to configure the bridge device, the second configuration device may initiate configuration to the bridge device.
- the bridging device configures endpoint sharing information in the bridging device, where the endpoint sharing information is used to indicate the above-mentioned endpoints to be shared.
- the bridging device may configure the endpoint sharing information in the bridging device according to the bridging sub-device list carried in the request for opening the configuration window.
- the endpoint sharing information includes the endpoint access cluster
- configuring the endpoint sharing information in the bridge device includes:
- the attribute of the endpoint access cluster is an endpoint access list; the endpoint access list contains at least one endpoint access record; the endpoint access record is used to indicate the endpoints shared with the target security domain;
- the target security domain is a security domain (Fabric) to which the second configuration device that configures the bridge device belongs.
- the above-mentioned endpoint access cluster is used to dynamically generate the attribute content of the component list in the descriptor cluster according to the content of the endpoint access cluster when the bridging device receives a service discovery request or a device discovery request after the configuration is completed.
- the attribute content of the component list in the dynamically generated descriptor cluster includes the content corresponding to the fabric where the requester of the service discovery request or device discovery request is located, that is, the content shared to the endpoint of the fabric.
- the attribute content of the component list in the dynamically generated descriptor cluster may be the content of the node corresponding to the requester of the service discovery request or device discovery request; that is, for different Nodes under the same fabric , the bridge device can generate different EndpointAccessCluster items (items), so that different nodes under the same fabric can limit the PartLists in the DescriptorCluster that can be displayed.
- the bridging device may configure a new dedicated cluster (EndpointAccessCluster) as the above-mentioned endpoint to share information.
- EndpointAccessCluster a new dedicated cluster
- the endpoint access record includes an access identifier and endpoint indication information
- the access identifier is used to indicate the object to be shared by the endpoint; the endpoint indication information is used to indicate the shared endpoint.
- the endpoint indication information includes at least one of an endpoint list and a device type list
- the endpoint list contains the identity of the shared endpoints
- the device type list contains the device types of the shared endpoints.
- the access identifier includes:
- a structure index of the target security domain or, a structure index of the target security domain, and a node identifier of a target node in the target security domain.
- the FabricIndex in Table 3 above indicates that the shared endpoint can be shared with any node in the target security domain corresponding to the FabricIndex.
- the FabricIndex in the above Table 3 can also be replaced by FabricIndex+Node ID, where the Node ID can be the identifier of a node in the target security domain.
- the information in Table 3 represents the above shared endpoint The node corresponding to the Node ID can be shared.
- the endpoint sharing information includes the endpoint access cluster
- the configuration of the endpoint access cluster in the bridge device includes:
- the value in the access identifier field in the initialized endpoint access cluster is a filling value;
- the access identifier field is a field for carrying the access identifier;
- the filled value is replaced with the access identifier.
- the filling value is a password identifier or a specified character.
- the process of the bridging device configuring the endpoint access cluster in the data model can be divided into two steps.
- the first step is to initialize the EndpointAccessStruct. Before the second configuration device configures the bridging device, the initialization
- the access identifier field in the endpoint access cluster of the endpoint is temporarily filled with the filling value; in the second step, after the second configuration device configures the bridging device, replace the filling value with the access identifier, that is, replace it with FabricIndex or FabricIndex+ Node ID.
- the above filling value is a password identifier or a specified character.
- the bridging device may fill the password ID (passcodeID) or other special characters (such as 0) in the access identification field in the initialized endpoint access cluster.
- the above password identification can be used by the node (bridge device) to identify the temporary PAKE password verifier used for this configuration.
- the above password identifier may be a password authenticated key exchange (Password Authenticated Key Exchange, PAKE) password ID.
- the initialization of the endpoint access cluster in the bridge device includes:
- the endpoint access cluster is initialized in the bridging device during acceptance of configuration by the second configuration device.
- the above step of initializing the EndpointAccessStruct may be performed by the bridging device before accepting the configuration of the second configuration device, for example, before the above step 702, the bridging device may initialize the EndpointAccessStruct after receiving the OCW request.
- step 705 when the bridge device detects that the configuration device initiates the configuration, it may initialize the EndpointAccessStruct.
- the endpoint sharing information includes a descriptor cluster
- configuring the endpoint sharing information in the bridge device includes:
- the component list in the descriptor cluster includes a list of supported endpoint records;
- the supported endpoint records include supported endpoint records;
- the supported endpoint records are used to indicate the endpoints that are shared with the target security domain;
- the target security domain is a security domain to which the second configuration device that configures the bridge device belongs.
- the bridging device may improve the descriptor cluster (Descriptor Cluster) in the bridging device's own endpoint (endpoint0), so as to configure the above-mentioned endpoint sharing information in the bridging device.
- Descriptor Cluster descriptor cluster
- the above-mentioned Descriptor Cluster is used to describe the server cluster (Server Cluster) information, client cluster (Client Cluster) information, and device type information on the corresponding endpoint; the Descriptor Cluster of the composite device can also include associated endpoint information.
- the composite device may be a device corresponding to multiple endpoints of different device types.
- the above-mentioned bridge device can configure the above-mentioned endpoint sharing information in the component list in the Descriptor Cluster of endpoint0.
- the supported endpoint record (EndpointAvailableStruct) includes an access identifier and endpoint indication information;
- the access identifier is used to indicate the object to be shared by the endpoint; the endpoint indication information is used to indicate the shared endpoint.
- the access identifier includes:
- a structure index of the target security domain or, a structure index of the target security domain, and a node identifier of a target node in the target security domain.
- the endpoint indication information includes at least one of an endpoint list and a device type list
- the endpoint list contains the identity of the shared endpoints
- the device type list contains the device types of the shared endpoints.
- the bridging device can modify the data type of the PartsList in the Descriptor Cluster to a list of EndpointAvaliableStruct, and the structure of the list can be shown in Table 5 below:
- AccessID is the above-mentioned access ID, and the access ID in Table 5 is Fabricindex+nodeID.
- the access ID in Table 5 above can also be replaced by Fabricindex.
- the meaning of the AccessID here is similar to that of field 0 in Table 3.
- the above Endpoint list is used to display the shared endpoints.
- the AccessID in the above Table 5 is FabricIndex, indicating that the above shared endpoint can be shared with any node in the target security domain corresponding to the FabricIndex.
- the Node ID can be the identifier of a node in the target security domain, and the Node ID can be passed to the bridging device by the second configuration device during the configuration process.
- the information in Table 5 indicates that the above shared endpoint can be shared with the node corresponding to the Node ID.
- the Endpoint list in the above Table 5 may also be replaced with the device type of the shared endpoint, indicating that the endpoint corresponding to the device type is the shared endpoint.
- configuring the descriptor cluster in the bridge device includes:
- the value in the access identification field in the initialized descriptor cluster is a filling value;
- the access identification field is a field for carrying the access identification;
- the filled value is replaced with the access identifier.
- the filling value is a password identifier or a specified character.
- initializing a descriptor cluster in a bridge device includes:
- the descriptor cluster is initialized in the bridging device during acceptance of configuration by the second configuration device.
- the content and configuration method contained in the above-mentioned EndpointAvailableStruct in the Descriptor Cluster are similar to the content and configuration method contained in the above-mentioned EndpointAccessStruct, and will not be repeated here.
- the bridging device when accepting the configuration of the second configuration device, configures an access control list cluster for nodes in the target security domain; the target endpoint of the access control list cluster belongs to the shared endpoint.
- the bridging device can generate information such as fabric ID (the ID of the fabric to which the second configuration device belongs), fabric index (the index of the fabric to which the second configuration device belongs) and node ID during the process of accepting the configuration of the second configuration device, And configure the access control list (Access Control List, ACL) cluster, etc. for the second configuration device; then, in the initialized EndpointAccessCluster or Descriptor Cluster, fill in the correct fabricindex or fabricindex+Node ID (the Node ID filled in here is the first 2. Configure the ID of the node in the fabric to which the device belongs).
- the aforementioned fabric ID may be indicated to the bridging device by the second configuration device.
- the Bridge when the Bridge receives a service discovery request or a device discovery request, it can display to the requester the PartsList corresponding to the fabric where the requester is located according to the PartsList content in the Descriptor Cluster corresponding to the fabric where the requester is located.
- Content such as endpoints or Bridged Devices that are allowed to be shared with the fabirc
- the attribute content of the component list in the above-mentioned descriptor cluster can also be the content corresponding to the node of the requester of the service discovery request or device discovery request.
- the target part configured in ACL does not exceed the content defined in EndpointAccessCluster or Descriptor Cluster (that is, it does not exceed the shared endpoint defined in EndpointAccessCluster or Descriptor Cluster).
- the target part configured in the above-mentioned ACL is specified by the second configuration device, and the bridging device may check the target part specified by the second configuration device after receiving an instruction from the second configuration device to configure the above-mentioned target part Whether it exceeds the content defined in EndpointAccessCluster or Descriptor Cluster, and if so, an error response can be responded.
- FIG. 8 shows a schematic flowchart of configuring an endpoint access cluster in a bridging device according to an embodiment of the present application. As shown in Figure 8, the process includes the following steps:
- Admin 1 initiates a Multi-admin process: sends an OpenCommissioningWindow (OCW) request to the Bridge device, and the request can cause the Bridge device to enter a configuration state.
- OCW OpenCommissioningWindow
- the BridgedDevicesList parameter is added to the OpenCommissioningWindow request.
- the bridge device After receiving the OCW command, the bridge device (Bridge) initializes the EndpointAccessCluster according to the parameter BridgedDevicesList carried in the request; during the initialization process, the fabricindex part is filled with passcodeID or other special values (such as 0), and the correct fabricindex is filled in after the configuration is completed. ; For EndpointAccess Cluster, admin1 defaults to full authority.
- the Bridge publishes the DNS-SD record. Admin 2 can discover this device through this mechanism.
- Admin 1 before or after Bridge releases the DNS-SD record, Admin 1 generates a Pairing Code, and sends it to Admin 2 in an out-of-band manner.
- Admin 2 After Admin 2 discovers the correct Bridge device and establishes a secure link, it starts to configure the Bridge device: that is, generate fabric ID, fabric index, node id and other information, configure ACL cluster and other information; configure EndpointAccess information, and fill in the correct fabricindex (where , the content of the above S802 can also be completed in this step).
- Bridge when Bridge receives a service discovery or device discovery request, it can dynamically generate the PartsList attribute content of the DescriptorCluster of Endpoint0 according to the content of the EndpointAccessCluster, so as to display the content corresponding to the fabric where it is located to the requester (for example, allow the request to The endpoint or Bridged Devices shared by the fabric); further, different EndpointAccessCluster items (items) can be generated for different Nodes under the same fabric, so as to limit the Descriptor Clusters that can be displayed for different Nodes under the same fabric PartList.
- FIG. 9 shows a schematic flowchart of configuring a descriptor cluster in a bridge device according to an embodiment of the present application. As shown in Figure 9, the process includes the following steps:
- Admin 1 initiates a Multi-admin process: sends an OpenCommissioningWindow (OCW) request to the Bridge device, and the request can cause the Bridge device to enter a configuration state.
- OCW OpenCommissioningWindow
- the bridge device After receiving the OCW command, the bridge device (Bridge) initializes the DescriptorCluster of Endpoint0 according to the parameter BridgedDevicesList carried in the request, and fills in the endpointList information; during the initialization process, the accessID part is filled with passcodeID or other special values such as 0. After the configuration is completed Fill in the correct fabricindex+nodeID, where "+" means string connection.
- the Bridge publishes the DNS-SD record. Admin 2 can discover this device through this mechanism.
- Admin 1 before or after Bridge releases the DNS-SD record, Admin 1 generates a Pairing Code, and sends it to Admin 2 in an out-of-band manner.
- Admin 2 finds the correct Bridge device and establishes a secure link, it starts to configure the Bridge device: including generating information such as fabric ID, fabric index, and node id, configuring ACL cluster and other information; improving the Descriptor Cluster information of Endpoint0, and filling in the correct Access ID (wherein, the content of the above S902 can also be completed in this step).
- Bridge when Bridge receives a service discovery or device discovery request, according to the PartsList content in the Descriptor Cluster, for different fabrics or (fabric+nodeID), it presents the corresponding content of different EndpointLists, so as to display to the requester
- the content corresponding to the fabric where it is located such as endpoints or Bridged Devices that are allowed to be shared with the fabric
- different EndpointAccessCluster items can be generated for different Nodes under the same fabric, so that different The Node respectively limits the PartList in the Descriptor Cluster that it can display.
- the first configuration device instructs the bridge device to configure the shared endpoint among the above endpoints in the data model, Subsequent configurations of configuration devices can be accepted based on these shared endpoints, thereby expanding the scenarios for configuring bridge devices in multi-management mode and improving the flexibility of Multi-admin configuration under the Bridge architecture.
- FIG. 10 shows a block diagram of an apparatus for configuring a bridge device according to an embodiment of the present application.
- the apparatus is capable of implementing the functions performed by the bridging device in the method shown in FIG. 4 or FIG. 7 above.
- the device may include:
- the configuration module 1001 is configured to configure endpoint sharing information in the bridge device, where the endpoint sharing information is used to indicate the shared endpoints among the endpoints corresponding to the bridged sub-device;
- the shared endpoints include all or part of the endpoints; the bridging sub-device is an IoT device connected to the bridging device.
- the device further includes:
- the receiving module is configured to receive a configuration window opening request sent by the first configuration device before the configuration module 1001 configures the endpoint sharing information in the bridge device, and the configuration window opening request includes a bridge sub-device list;
- the bridged sub-device list is used to indicate the shared endpoint;
- the configuration module is configured to configure the endpoint sharing information in the bridging device according to the bridging sub-device list.
- the bridge sub-device list includes at least one of the following information:
- An identifier of the shared endpoint, and a device type of the shared endpoint is an identifier of the shared endpoint, and a device type of the shared endpoint.
- the endpoint sharing information includes an endpoint access cluster
- the configuration module 1001 is configured to configure an endpoint access cluster in the bridge device
- the attribute of the endpoint access cluster is an endpoint access list; the endpoint access list includes at least one endpoint access record; the endpoint access record is used to indicate the endpoint shared to the target security domain;
- the target security domain is a security domain to which the second configuration device that configures the bridging device belongs.
- the endpoint access record includes an access identifier and endpoint indication information
- the access identifier is used to indicate the object to be shared by the endpoint; the endpoint indication information is used to indicate the shared endpoint.
- the access identifier includes:
- the structure index of the target security domain, and the node identifier of the target node in the target security domain is the structure index of the target security domain, and the node identifier of the target node in the target security domain.
- the endpoint indication information includes at least one of an endpoint list and a device type list
- the endpoint list includes the identifiers of the shared endpoints
- the device type list includes the device type of the shared endpoint.
- the configuration module 1001 is configured to:
- the endpoint access cluster is initialized in the bridging device; the value in the access identifier field in the initialized endpoint access cluster is a filling value; the access identifier field is used to carry the access identifier field;
- the filling value is replaced with the access identifier.
- the filling value is a password identifier or a specified character.
- the configuration module 1001 is configured to:
- the endpoint sharing information includes a descriptor cluster
- the configuration module 1001 is configured to configure the descriptor cluster in the bridge device
- the component list in the descriptor cluster includes a list of supported endpoint records; the supported endpoint records include supported endpoint records; the supported endpoint records are used to indicate the endpoints shared to the target security domain;
- the target security domain is a security domain to which the second configuration device that configures the bridging device belongs.
- the supported endpoint record includes an access identifier and endpoint indication information
- the access identifier is used to indicate the object to be shared by the endpoint; the endpoint indication information is used to indicate the shared endpoint.
- the access identifier includes:
- the structure index of the target security domain, and the node identifier of the target node in the target security domain is the structure index of the target security domain, and the node identifier of the target node in the target security domain.
- the endpoint indication information includes at least one of an endpoint list and a device type list
- the endpoint list includes the identifiers of the shared endpoints
- the device type list includes the device type of the shared endpoint.
- the configuration module 1001 is configured to:
- the value in the initialized access identifier field in the descriptor cluster is a filling value;
- the access identifier field is a field for carrying the access identifier ;
- the filling value is replaced with the access identifier.
- the filling value is a password identifier or a specified character.
- the configuration module 1001 is configured to:
- the descriptor cluster is initialized in the bridge device during acceptance of configuration by the second configuration device.
- the configuration module 1001 is further configured to configure an access control list cluster for nodes in the target security domain when accepting the configuration of the second configuration device; the access control list The cluster's target endpoints belong to the shared endpoints.
- the device further includes:
- An publishing module configured to publish a domain name system service discovery DNS-SD record before the configuration module configures an access control list cluster for nodes in the target security domain when accepting the configuration of the second configuration device;
- the DNS-SD record includes at least one of a device type parameter, an endpoint list parameter, and an endpoint device type parameter;
- the device type parameter is used to indicate the device type of the bridging device
- the endpoint list parameter is used to indicate the identity of the endpoint contained in the discoverable device
- the endpoint device type parameter is used to indicate the device type of the discoverable device.
- the bridge device can configure the shared endpoints among the above endpoints in the data model, and the follow-up can be based on these
- the shared endpoint accepts the configuration of the configuration device, thereby expanding the configuration scenario of the bridge device in the multi-management mode, and improving the flexibility of the Multi-admin configuration under the Bridge architecture.
- FIG. 11 shows a block diagram of an apparatus for configuring a bridge device provided by an embodiment of the present application.
- the apparatus has the functions executed by the first configuration device in the method shown in FIG. 5 or FIG. 7 .
- the device may include:
- the sending module 1101 is configured to send a request for opening a configuration window to the bridge device, and the request for opening the configuration window includes a bridge sub-device list;
- the bridged sub-device list is used to indicate the shared endpoint;
- the shared endpoint includes all or part of the endpoints corresponding to the bridged sub-device;
- the bridged sub-device is a The Internet of Things device of the bridging device;
- the request to open the configuration window is used to instruct the bridging device to configure endpoint sharing information in the data model, and the endpoint sharing information is used to indicate the shared endpoint.
- the bridge sub-device list includes at least one of the following information:
- An identifier of the shared endpoint, and a device type of the shared endpoint is an identifier of the shared endpoint, and a device type of the shared endpoint.
- the first configuration device instructs the bridge device to configure the shared endpoint among the above endpoints in the data model, Subsequent configurations of configuration devices can be accepted based on these shared endpoints, thereby expanding the scenarios for configuring bridge devices in multi-management mode and improving the flexibility of Multi-admin configuration under the Bridge architecture.
- the device provided by the above embodiment realizes its functions, it only uses the division of the above-mentioned functional modules as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
- FIG. 12 shows a schematic structural diagram of a computer device 1200 provided by an embodiment of the present application.
- the computer device 1200 may include: a processor 1201 , a receiver 1202 , a transmitter 1203 , a memory 1204 and a bus 1205 .
- the processor 1201 includes one or more processing cores, and the processor 1201 executes various functional applications and information processing by running software programs and modules.
- the receiver 1202 and the transmitter 1203 can be implemented as a communication component, which can be a communication chip.
- the communication chip can also be called a transceiver.
- the memory 1204 is connected to the processor 1201 through the bus 1205 .
- the memory 1204 may be used to store a computer program, and the processor 1201 is used to execute the computer program, so as to implement various steps in the foregoing method embodiments.
- volatile or non-volatile storage device includes but not limited to: magnetic disk or optical disk, electrically erasable and programmable Read Only Memory, Erasable Programmable Read Only Memory, Static Anytime Access Memory, Read Only Memory, Magnetic Memory, Flash Memory, Programmable Read Only Memory.
- the processor 1201 when the computer device 1200 is implemented as a bridging device, the processor 1201 is configured to configure endpoint sharing information in the bridging device, and the endpoint sharing information is used to indicate the The endpoints that are shared among the endpoints;
- the shared endpoints include all or part of the endpoints; the bridging sub-device is an IoT device connected to the bridging device.
- the processes performed by the processor 1201 and the transceiver in the computer device 1200 may refer to the steps performed by the bridge device in any of the methods shown in FIG. 4 or FIG. 7 above.
- the transceiver when the computer device 1200 is implemented as the first configuration device, the transceiver is configured to send a request to open the configuration window to the bridge device, and the request to open the configuration window includes a bridge sub-device list ;
- the bridged sub-device list is used to indicate the shared endpoint;
- the shared endpoint includes all or part of the endpoints corresponding to the bridged sub-device;
- the bridged sub-device is a The Internet of Things device of the bridging device;
- the request to open the configuration window is used to instruct the bridging device to configure endpoint sharing information in the data model, and the endpoint sharing information is used to indicate the shared endpoint.
- the process executed by the processor 1201 and/or the transceiver in the computer device 1200 may refer to the steps executed by the first configuration device in any of the methods shown in FIG. 5 or FIG. 7 above.
- the embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is loaded and executed by a processor to implement the method shown in FIG. 4 , FIG. 5 or FIG. 7 above. In, all or part of the steps performed by the bridging device or the first configuration device.
- the present application also provides a chip, which is used to run in a computer device, so that the computer device executes all the steps performed by the bridge device or the first configuration device in the method shown in FIG. 4 , FIG. 5 or FIG. 7 . or partial steps.
- the present application also provides a computer program product, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
- the processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method shown in FIG. 4, FIG. 5 or FIG. 7 above, and the bridge device or the first configuration All or part of the steps performed by the device.
- the present application also provides a computer program, the computer program is executed by the processor of the computer device, so as to realize all or partial steps.
- the functions described in the embodiments of the present application may be implemented by hardware, software, firmware or any combination thereof.
- the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
- Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
- a storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
A method and apparatus for configuring a bridging device, a device, and a storage medium, relating to the technical field of Internet of things. The method comprises: configuring endpoint sharing information in a bridging device (401), the endpoint sharing information being used for indicating shared endpoints among endpoints corresponding to a bridged sub-device, the shared endpoints comprising all or some of the endpoints, and the bridged sub-device being an Internet of things device that accesses the bridging device. By means of the solution, a scenario in which the bridging device is configured in a multi-management mode is expanded, and the flexibility of Multi-admin configuration under a Bridge architecture is improved.
Description
本申请涉及物联网技术领域,特别涉及一种对桥接设备进行配置的方法、装置、设备及存储介质。The present application relates to the technical field of the Internet of Things, and in particular to a method, device, device and storage medium for configuring a bridging device.
随着物联网(Internet of Things,IoT)技术的不断发展,越来越多的物联网设备在智能家居、工业生产等诸多领域给用户的生产生活带来了极大的便利性。With the continuous development of Internet of Things (IoT) technology, more and more IoT devices have brought great convenience to users' production and life in many fields such as smart home and industrial production.
在相关技术中,不同的物联网设备可能支持不同的物联网协议。为了使得支持不同的物联网协议的物联网设备能够进行互联或者统一管理,支持不同物联网协议的物联网设备可以通过桥接设备进行组网。In related technologies, different IoT devices may support different IoT protocols. In order to enable IoT devices supporting different IoT protocols to be interconnected or managed in a unified manner, IoT devices supporting different IoT protocols can be networked through a bridging device.
发明内容Contents of the invention
本申请实施例提供了一种对桥接设备进行配置的方法、装置、设备及存储介质。该方案能够提高对桥接的子设备的访问控制权限进行分享的灵活性。所述技术方案如下:Embodiments of the present application provide a method, device, device, and storage medium for configuring a bridging device. The solution can improve the flexibility of sharing the access control rights of the bridged sub-devices. Described technical scheme is as follows:
一方面,本申请实施例提供了一种对桥接设备进行配置的方法,所述方法由桥接设备执行,所述方法包括:On the one hand, the embodiment of the present application provides a method for configuring a bridging device, the method is executed by the bridging device, and the method includes:
在所述桥接设备中配置端点分享信息,所述端点分享信息用于指示与桥接的子设备对应的各个端点中被分享的端点;Configuring endpoint sharing information in the bridging device, the endpoint sharing information is used to indicate the shared endpoints among the endpoints corresponding to the bridged sub-device;
其中,所述被分享的端点,包括所述各个端点中的全部或部分端点;所述桥接的子设备是接入所述桥接设备的物联网设备。Wherein, the shared endpoints include all or part of the endpoints; the bridging sub-device is an IoT device connected to the bridging device.
一方面,本申请实施例提供了一种对桥接设备进行配置的方法,所述方法由第一配置设备执行,所述方法包括:On the one hand, an embodiment of the present application provides a method for configuring a bridging device, the method is executed by a first configuration device, and the method includes:
向桥接设备发送打开配置窗口请求,所述打开配置窗口请求中包含桥接的子设备列表;Send a request to open a configuration window to the bridge device, the request to open the configuration window includes a bridged sub-device list;
其中,所述桥接的子设备列表用于指示被分享的端点;所述被分享的端点,包括与桥接的子设备对应的端点中的全部或部分端点;所述桥接的子设备是接入所述桥接设备的物联网设备;所述打开配置窗口请求用于指示所述桥接设备在数据模型中配置端点分享信息,所述端点分享信息用于指示所述被分享的端点。Wherein, the bridged sub-device list is used to indicate the shared endpoint; the shared endpoint includes all or part of the endpoints corresponding to the bridged sub-device; the bridged sub-device is a The Internet of Things device of the bridging device; the request to open the configuration window is used to instruct the bridging device to configure endpoint sharing information in the data model, and the endpoint sharing information is used to indicate the shared endpoint.
另一方面,本申请实施例提供了一种对桥接设备进行配置的装置,所述装置包括:On the other hand, an embodiment of the present application provides an apparatus for configuring a bridging device, and the apparatus includes:
配置模块,用于在桥接设备中配置端点分享信息,所述端点分享信息用于指示与桥接的子设备对应的各个端点中被分享的端点;A configuration module, configured to configure endpoint sharing information in the bridging device, where the endpoint sharing information is used to indicate the shared endpoints among the endpoints corresponding to the bridged sub-device;
其中,所述被分享的端点,包括所述各个端点中的全部或部分端点;所述桥接的子设备是接入所述桥接设备的物联网设备。Wherein, the shared endpoints include all or part of the endpoints; the bridging sub-device is an IoT device connected to the bridging device.
另一方面,本申请实施例提供了一种对桥接设备进行配置的装置,所述装置包括:On the other hand, an embodiment of the present application provides an apparatus for configuring a bridging device, and the apparatus includes:
发送模块,用于向桥接设备发送打开配置窗口请求,所述打开配置窗口请求中包含桥接的子设备列表;A sending module, configured to send a request to open a configuration window to the bridge device, wherein the request to open the configuration window includes a list of bridged sub-devices;
其中,所述桥接的子设备列表用于指示被分享的端点;所述被分享的端点,包括与桥接的子设备对应的端点中的全部或部分端点;所述桥接的子设备是接入所述桥接设备的物联网设备;所述打开配置窗口请求用于指示所述桥接设备在数据模型中配置端点分享信息,所述端点分享信息用于指示所述被分享的端点。Wherein, the bridged sub-device list is used to indicate the shared endpoint; the shared endpoint includes all or part of the endpoints corresponding to the bridged sub-device; the bridged sub-device is a The Internet of Things device of the bridging device; the request to open the configuration window is used to instruct the bridging device to configure endpoint sharing information in the data model, and the endpoint sharing information is used to indicate the shared endpoint.
另一方面,本申请实施例提供了一种计算机设备,所述计算机设备实现为信息上报设备,所述计算机设备包括处理器、存储器和收发器;On the other hand, an embodiment of the present application provides a computer device, the computer device is implemented as an information reporting device, and the computer device includes a processor, a memory, and a transceiver;
存储器中存储有计算机程序,处理器执行所述计算机程序,以使得计算机设备实现上述对桥接设备进行配置的方法。A computer program is stored in the memory, and the processor executes the computer program, so that the computer device implements the above method for configuring the bridge device.
再一方面,本申请实施例提供了一种计算机设备,所述计算机设备包括处理器、存储器和收发器,所述存储器存储有计算机程序,所述计算机程序用于被所述处理器执行,以实现上述对桥接设备进行配置的方法。In another aspect, an embodiment of the present application provides a computer device, the computer device includes a processor, a memory, and a transceiver, the memory stores a computer program, and the computer program is used to be executed by the processor to The foregoing method for configuring a bridge device is implemented.
又一方面,本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述对桥接设备进行配置的方法。In yet another aspect, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is loaded and executed by a processor to implement the above-mentioned method for configuring a bridge device.
又一方面,本申请还提供了一种芯片,所述芯片用于在计算机设备中运行,以使得所述计算机设备执行上述对桥接设备进行配置的方法。In yet another aspect, the present application also provides a chip, which is configured to run in a computer device, so that the computer device executes the above-mentioned method for configuring a bridge device.
又一方面,本申请提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述对桥接设备进行配置的方法。In yet another aspect, the present application provides a computer program product comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned method for configuring the bridge device.
又一方面,本申请提供了一种计算机程序,该计算机程序由计算机设备的处理器执行,以实现上述对桥接设备进行配置的方法。In yet another aspect, the present application provides a computer program, which is executed by a processor of a computer device, so as to implement the above method for configuring a bridge device.
本申请实施例提供的技术方案可以带来如下有益效果:The technical solutions provided in the embodiments of the present application can bring the following beneficial effects:
对于与接入桥接设备的物联网设备对应的各个端点,桥接设备可以在数据模型中配置上述各个端点中被分享的端点,后续可以基于这些被分享的端点来接受配置设备的配置,从而扩展了多管理模式下对桥接设备进行配置的场景,提高了Bridge架构下的Multi-admin配置的灵活性。For each endpoint corresponding to the IoT device connected to the bridge device, the bridge device can configure the shared endpoints of the above endpoints in the data model, and then accept the configuration of the configuration device based on these shared endpoints, thereby expanding The scenario of configuring the bridge device in the multi-administration mode improves the flexibility of Multi-admin configuration under the Bridge architecture.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本申请一个实施例提供的物联网的网络架构的示意图;FIG. 1 is a schematic diagram of a network architecture of the Internet of Things provided by an embodiment of the present application;
图2是本申请涉及的桥接架构示意图;Fig. 2 is a schematic diagram of the bridging architecture involved in the present application;
图3是本申请涉及的物联网中设备的数据模型的结构示意图;FIG. 3 is a schematic structural diagram of a data model of a device in the Internet of Things involved in the present application;
图4是本申请一个实施例提供的对桥接设备进行配置的方法的流程图;FIG. 4 is a flow chart of a method for configuring a bridging device provided by an embodiment of the present application;
图5是本申请一个实施例提供的对桥接设备进行配置的方法的流程图;FIG. 5 is a flowchart of a method for configuring a bridging device provided by an embodiment of the present application;
图6是本申请一个实施例提供的多管理模式的配置框架图;FIG. 6 is a configuration framework diagram of a multi-management mode provided by an embodiment of the present application;
图7是本申请一个实施例提供的对桥接设备进行配置的方法的流程图;FIG. 7 is a flowchart of a method for configuring a bridging device provided by an embodiment of the present application;
图8是图7涉及的一种在桥接设备中配置端点接入簇的流程示意图;FIG. 8 is a schematic flow diagram of configuring an endpoint access cluster in a bridging device related to FIG. 7;
图9是图7涉及的一种在桥接设备中配置描述符簇的流程示意图;FIG. 9 is a schematic flowchart of configuring descriptor clusters in a bridge device related to FIG. 7;
图10是本申请一个实施例提供的对桥接设备进行配置的装置的框图;FIG. 10 is a block diagram of an apparatus for configuring a bridging device provided by an embodiment of the present application;
图11是本申请一个实施例提供的对桥接设备进行配置的装置的框图;Fig. 11 is a block diagram of an apparatus for configuring a bridging device provided by an embodiment of the present application;
图12是本申请一个实施例提供的计算机设备的结构示意图。Fig. 12 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.
本申请实施例描述的网络架构以及业务场景是为了更加清楚地说明本申请实施例的技术方案,并不构成对本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and business scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute limitations on the technical solutions provided by the embodiments of the present application. The evolution of the technology and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
请参考图1,其示出了本申请一个实施例提供的物联网的网络架构的示意图。该物联网的网络架构可以包括:物联网设备110(图1中示出为物联网设备110a和物联网设备110b)和控制设备120(图1中示出为控制设备120a和控制设备120b);可选的,该网络架构还可以包括桥接设备130、云端服务器140;Please refer to FIG. 1 , which shows a schematic diagram of a network architecture of the Internet of Things provided by an embodiment of the present application. The network architecture of the Internet of Things may include: an Internet of Things device 110 (shown as an Internet of Things device 110a and an Internet of Things device 110b in FIG. 1 ) and a control device 120 (shown as a control device 120a and a control device 120b in FIG. 1 ); Optionally, the network architecture may also include a bridging device 130 and a cloud server 140;
物联网设备110可以是指在物联网中,用于提供物联网协议对应的服务端功能的设备。The IoT device 110 may refer to a device for providing a server function corresponding to the IoT protocol in the IoT.
比如,物联网设备110可以是智能家居设备,例如,智能灯具、智能电视、智能空调、智能冰箱、智能微波炉、智能电饭煲、扫地机器人等等。For example, the IoT device 110 may be a smart home device, such as a smart lamp, a smart TV, a smart air conditioner, a smart refrigerator, a smart microwave oven, a smart rice cooker, a sweeping robot, and the like.
或者,物联网设备110可以是工业生产设备,例如,车床、工业机器人、太阳能面板、风力发电机等等。Alternatively, the IoT device 110 may be an industrial production device, such as a lathe, an industrial robot, a solar panel, a wind generator, and the like.
或者,物联网设备110可以是商业服务设备,例如,无人售货机等等。Alternatively, the IoT device 110 may be a commercial service device, for example, an unmanned vending machine or the like.
或者,物联网设备110可以是智能监控设备,例如,监控摄像头、红外传感器、声音传感器、温度传感器等等。Alternatively, the IoT device 110 may be an intelligent monitoring device, for example, a monitoring camera, an infrared sensor, a sound sensor, a temperature sensor and so on.
在一种可能的实现方式中,控制设备120是用户侧的终端设备。比如,控制设备120可以是智能控制器、智能遥控器、智能手机、平板电脑、智能手表、智能电视、智能音箱、智能开关、网关等等;或者,控制设备120也可以是个人电脑,比如台式电脑、便携式计算机、个人工作站等等。In a possible implementation manner, the control device 120 is a terminal device on the user side. For example, the control device 120 can be a smart controller, a smart remote control, a smart phone, a tablet computer, a smart watch, a smart TV, a smart speaker, a smart switch, a gateway, etc.; or, the control device 120 can also be a personal computer, such as a desktop PCs, laptops, personal workstations, and more.
在另一种可能的实现方式中,控制设备120是基于终端设备运行的客户端实体(可以是虚拟实体),例如,控制设备120可以是运行在终端设备中,用于对物联网设备进行访问、控制、以及管理等操作的应用程序(Application,APP)。In another possible implementation, the control device 120 is a client entity (which may be a virtual entity) running on a terminal device, for example, the control device 120 may run in a terminal device for accessing IoT devices , control, and management applications (Application, APP).
桥接设备130用于实现支持不同物联网协议的两个设备之间的交互。桥接设备130在支持不同物联网协议的物联网设备110之间,或者,在支持不同物联网协议的物联网设备110和控制设备120之间,提供信息转换和传递的服务。The bridge device 130 is used to realize the interaction between two devices supporting different IoT protocols. The bridging device 130 provides information conversion and transfer services between the IoT devices 110 supporting different IoT protocols, or between the IoT devices 110 supporting different IoT protocols and the control device 120 .
桥接设备130可以是专用于进行桥接的设备,或者,桥接设备130也可以是具有桥接功能的智能设备,比如网关或者路由器等等。The bridging device 130 may be a device dedicated to bridging, or the bridging device 130 may also be an intelligent device with a bridging function, such as a gateway or a router.
云端服务器140是部署在网络侧的服务器。比如,云端服务器140可以存储各个物联网设备110的相关信息,比如当前状态、绑定账号等等;云端服务器140还可以提供对物联网设备110进行远程访问的服务接口,以便用户对物联网设备110进行远程管理或控制。The cloud server 140 is a server deployed on the network side. For example, the cloud server 140 can store relevant information of each IoT device 110, such as current status, binding account, etc.; the cloud server 140 can also provide a service interface for remote access to the IoT device 110, so that users 110 for remote management or control.
在本申请实施例中,上述物联网设备110、控制设备120、桥接设备130、云端服务器140可以是满足相同或者不同的物联网协议的电子设备,比如,可以是满足连接标准联盟(Connectivity Standards Alliance,CSA)(或称Zigbee联盟)下的Matter协议(或称通过IP(Internet Protocol,网际互联协议)连接家庭工作组(Connected Home over IP Working Group,CHIP)项目)的电子设备。In this embodiment of the application, the aforementioned IoT device 110, control device 120, bridging device 130, and cloud server 140 may be electronic devices that meet the same or different IoT protocols, for example, they may be electronic devices that meet the requirements of the Connectivity Standards Alliance (Connectivity Standards Alliance) , CSA) (or Zigbee Alliance) under the Matter protocol (or through IP (Internet Protocol, Internet Protocol) connected home working group (Connected Home over IP Working Group, CHIP) project) electronic equipment.
在图1中,当物联网设备110a和控制设备120a之间支持相同的协议规范时,物联网设备110a和控制设备120a之间可以建立安全连接,比如,基于Matter规范建立安全连接。In FIG. 1, when the IoT device 110a and the control device 120a support the same protocol specification, a secure connection can be established between the IoT device 110a and the control device 120a, for example, a secure connection based on the Matter specification.
当物联网设备110b和控制设备120b之间支持不同的协议规范,比如,物联网设备110b是Zigbee设备,而控制设备120b是Matter设备时,物联网设备110b和控制设备120b之间可以通过桥接设备130相连。When the IoT device 110b and the control device 120b support different protocol specifications, for example, the IoT device 110b is a Zigbee device, and the control device 120b is a Matter device, the IoT device 110b and the control device 120b can be connected through a bridge device 130 connected.
以物联网设备是Matter设备为例,Matter设备的数据模型具有如下特点:Taking the IoT device as a Matter device as an example, the data model of the Matter device has the following characteristics:
1)Matter设备包含一个或者多个端点Endpoint,使用端点号(Endpoint Number,也可以简写为endpoint-no)表示。1) The Matter device contains one or more endpoints Endpoint, represented by an Endpoint Number (Endpoint Number, which can also be abbreviated as endpoint-no).
比如,一个Matter设备为射灯,该射灯有三个灯泡,则每个灯泡对应一个端点,也就是一个实际的物理设备可以包含多个端点(当然也可以只包含一个端点);再比如,一个Matter设备为插座,该插座有4个插孔,则每个插孔可以对应一个Endpoint。For example, if a Matter device is a spotlight, and the spotlight has three bulbs, each bulb corresponds to an endpoint, that is, an actual physical device can contain multiple endpoints (of course, it can only contain one endpoint); another example, a The Matter device is a socket, which has 4 jacks, and each jack can correspond to an Endpoint.
2)每个Endpoint下对应一个或者多个设备类型(Device Type),使用设备标识(Device ID) 表示。2) Each Endpoint corresponds to one or more device types (Device Type), which are represented by a device ID (Device ID).
比如,一个Matter设备为空调设备,该空调设备包含恒温器和风扇,其中,上述恒温器和风扇对应在同一个Endpoint下,恒温器对应一个设备类型,风扇对应另一个设备类型,且恒温器和风扇可以通过同一个Endpoint进行控制。For example, a Matter device is an air conditioner, and the air conditioner includes a thermostat and a fan. The thermostat and the fan correspond to the same Endpoint, the thermostat corresponds to one device type, and the fan corresponds to another device type. Fans can be controlled through the same Endpoint.
3)每个Endpoint包含多种簇(Cluster),Cluster分为服务端(Server)和客户端(Client)两种,且对应的Cluster ID相同。3) Each Endpoint contains a variety of clusters (Cluster), and the Cluster is divided into two types: Server and Client, and the corresponding Cluster IDs are the same.
4)每个Cluster包含多种属性(Attribute)、事件(Event)、指令(Command),分别使用Attribute ID、Event ID、Command ID表示,Attribute和Event具有相应的数据类型。4) Each Cluster contains a variety of attributes (Attribute), events (Event), and instructions (Command), which are represented by Attribute ID, Event ID, and Command ID, and Attribute and Event have corresponding data types.
物联网设备还可以是Zigbee设备,Zigbee设备的数据模型与Matter设备的数据模型结构类似,区别在于Zigbee设备的数据模型中没有Event。The IoT device can also be a Zigbee device. The data model of the Zigbee device is similar to the data model structure of the Matter device. The difference is that there is no Event in the data model of the Zigbee device.
多管理(Multi-admin)模式:在目前的物联网中,一个物联网设备或者桥接设备可以支持被多个配置设备进行配置,以加入对应的Fabric,并分别被所属不同fabric的控制器(Controller)进行访问控制等操作。Multi-admin (Multi-admin) mode: In the current IoT, an IoT device or bridge device can be configured by multiple configuration devices to join the corresponding Fabric, and be controlled by controllers (Controllers) belonging to different fabrics respectively. ) to perform operations such as access control.
其中,Fabric是一个安全域,其允许在域的上下文中标识一组节点,标识的这一组节点之间可以在安全域的背景下进行通信。一个节点可以在一个或多个安全域中进行标识。Among them, Fabric is a security domain, which allows a group of nodes to be identified in the context of the domain, and the identified group of nodes can communicate in the context of the security domain. A node can be identified in one or more security domains.
上述多管理模式的配置过程可以如下:The configuration process of the above multi-management mode can be as follows:
步骤一:管理A(Admin A)对Node AB(设备对应的节点)进行第一次配置:包括分配fabric以及操作(Operational)标识(Identity,ID),配置访问控制列表(Access Control Lists,ACL)等等。Step 1: Admin A (Admin A) configures Node AB (the node corresponding to the device) for the first time: including assigning fabric and operational (Operational) identification (Identity, ID), and configuring access control lists (Access Control Lists, ACL) etc.
步骤二:Admin A设置Node AB进入配置状态,此时Node AB可以被管理B(Admin B)配置,从而加入到Admin B所属的fabric。Step 2: Admin A sets Node AB to enter the configuration state. At this time, Node AB can be configured by Admin B (Admin B), so as to join the fabric to which Admin B belongs.
该过程可以包括:Admin A生成设置码(setupcode)并传送给Admin B,Admin B使用该Setupcode与Node AB建立连接;可选的,在建立连接之前,Node AB需要先注册域名系统服务发现(Domain Name System Service Discovery,DNS-SD)记录,以便Admin B发现Node AB。The process may include: Admin A generates a setup code (setupcode) and sends it to Admin B, and Admin B uses the Setupcode to establish a connection with Node AB; optionally, before establishing a connection, Node AB needs to first register Domain Name System Service Discovery (Domain Name System Service Discovery, DNS-SD) records, so that Admin B can discover Node AB.
步骤三:Admin B通过手动配对码(manual pairing code)发现Node AB对应的设备信息,然后与Node AB建立安全连接并进行配置。配置的内容与步骤一中的配置内容类似。Step 3: Admin B discovers the device information corresponding to Node AB through the manual pairing code, and then establishes a secure connection with Node AB and configures it. The configuration content is similar to that in step 1.
请参考图2,其示出了本申请涉及的桥接架构示意图。如图2所示,以Matter协议下的桥接框架为例,目前物联网的桥(bridge)解决方案中,需要桥生产商应用程序201(也称为bridge Manufacturer App,是厂家私有实现的App)来完成对桥接的子设备202(也称为Bridged Device,对应图2中的BD1~BD3)等异构设备(即非Matter协议设备,比如Zigbee设备)的桥接功能实现,其中,图2中的Bridged Device可以为实体物联网设备,也可以为逻辑设备;bridge Manufacturer App控制在桥接设备203(Bridge)上为BD1等设备生成对应的Matter设备204(也称为Matter Device,对应图2中的MD1~MD4),以便支持Matter协议的App(即Matter App 1~Matter App 3)通过桥接设备203对桥接的子设备202进行查看和控制,其中,图2中的Matter Device可以为逻辑设备。Please refer to FIG. 2 , which shows a schematic diagram of the bridge architecture involved in this application. As shown in Figure 2, taking the bridge framework under the Matter protocol as an example, in the current bridge solution of the Internet of Things, a bridge manufacturer application program 201 (also called bridge Manufacturer App, which is a privately implemented App by the manufacturer) is required. To complete the bridging function realization of heterogeneous devices (i.e. non-Matter protocol devices, such as Zigbee devices) such as bridged sub-device 202 (also called Bridged Device, corresponding to BD1~BD3 in Figure 2), wherein, in Figure 2 The Bridged Device can be a physical IoT device or a logical device; the bridge Manufacturer App controls the bridge device 203 (Bridge) to generate the corresponding Matter device 204 (also called Matter Device, corresponding to MD1 in Figure 2) for devices such as BD1 ~MD4), so that Apps that support the Matter protocol (ie, Matter App 1 to Matter App 3) can view and control the bridged sub-device 202 through the bridge device 203, wherein the Matter Device in Figure 2 can be a logical device.
其中,为BD1等设备生成对应的Matter设备204的实现方法可以为:在Bridge的数据模型上生成对应的端点(endpoints),一个或者多个endpoints对应一个Matter Device;因此在Bridge的数据模型中既包含了其自身功能的endpoints(可以称为endpoint0),也包含其桥接的异构设备对应的endpoints。Wherein, the implementation method of generating the corresponding Matter device 204 for devices such as BD1 can be: generate corresponding endpoints (endpoints) on the data model of Bridge, one or more endpoints correspond to a Matter Device; therefore, in the data model of Bridge, both It contains the endpoints of its own function (which can be called endpoint0), and also contains the endpoints corresponding to the heterogeneous devices it bridges.
请参考图3,其示出了本申请涉及的物联网中设备的数据模型的结构示意图。如图3所示,一个物联网设备的数据模型中,一个节点(Node)表示一个物理设备或者逻辑设备,一个节点可以对应一个或者多个端点,每个端点为一个逻辑设备,每个端点对应有一个或者多个功能集合,每个功能集合对应一个或多个具体的功能(对应属性、方法、事件等)。Please refer to FIG. 3 , which shows a schematic structural diagram of a data model of a device in the Internet of Things involved in the present application. As shown in Figure 3, in the data model of an Internet of Things device, a node (Node) represents a physical device or a logical device, and a node can correspond to one or more endpoints, each endpoint is a logical device, and each endpoint corresponds to There are one or more function sets, and each function set corresponds to one or more specific functions (corresponding properties, methods, events, etc.).
结合图3,在Bridge设备的endpoint0上存在描述符簇(descriptor Cluster),其中的设备类型(device type)需包含bridge;其组件列表(parts list)参数包含上述所有的endpoints(对应逻辑设备);而各个对应Bridged Devices的endpoints的descriptor Cluster的device types参数则需包含桥接的子设备标识(bridged node,该标识表明该endpoint代表的是一个桥接的子设备)和其设备类型,从而标识出该endpoint对应的是一个Bridged Device的功能集合,其中,每个功能集合下对应有一个或多个功能。Combined with Figure 3, there is a descriptor cluster (descriptor Cluster) on the endpoint0 of the Bridge device, and the device type (device type) in it needs to include bridge; its components list (parts list) parameter includes all the above endpoints (corresponding to logical devices); The device types parameter of the descriptor Cluster corresponding to the endpoints of Bridged Devices needs to include the bridged sub-device identifier (bridged node, which indicates that the endpoint represents a bridged sub-device) and its device type, thereby identifying the endpoint Corresponding to a Bridged Device function set, where each function set corresponds to one or more functions.
在上述的Bridge架构中,当对Bridge执行Multi-admin功能时,无法对Bridged Devices的endpoints进行分割,也就是说仅能对Bridge设备整体(包含所有的endpoints)执行Multi-admin功能;也就是说,当Admin A向Admin B分享桥接设备下接入的物联网设备时,只能将桥接设备以及桥接设备下所有的物联网设备一起分享给Admin B,从而导致对桥接设备中接入的各个Bridged Devices的endpoints进行分享的灵活性较差。In the above-mentioned Bridge architecture, when the Multi-admin function is performed on the Bridge, the endpoints of Bridged Devices cannot be divided, that is to say, the Multi-admin function can only be performed on the entire Bridge device (including all endpoints); that is to say , when Admin A shares the IoT devices connected under the bridge device with Admin B, it can only share the bridge device and all IoT devices under the bridge device with Admin B, resulting in the The endpoints of Devices are less flexible for sharing.
对于上述方案,本申请后续实施例提供了一种对桥接设备进行配置的方案,在Multi-admin模式下,可以在桥接设备中配置被分享的端点,后续该桥接设备在接受其他配置设备的配置时,可以有选择性的将上述被分享的端点配置给其它配置设备,从而提高了Bridge架构下的Multi-admin配置的灵活性。For the above solution, the subsequent embodiments of this application provide a solution for configuring the bridging device. In the Multi-admin mode, the shared endpoint can be configured in the bridging device, and then the bridging device accepts the configuration of other configuration devices At the same time, the above-mentioned shared endpoints can be selectively configured to other configuration devices, thereby improving the flexibility of Multi-admin configuration under the Bridge architecture.
请参考图4,其示出了本申请一个实施例提供的对桥接设备进行配置的方法的流程图,该方法可以由桥接设备执行,比如,该桥接设备可以是图1所示的网络架构中的桥接设备130;该方法可以包括如下几个步骤:Please refer to FIG. 4 , which shows a flow chart of a method for configuring a bridge device provided by an embodiment of the present application. The method may be executed by a bridge device. For example, the bridge device may be in the network architecture shown in FIG. 1 The bridging device 130; the method may include the following steps:
步骤401,在桥接设备中配置端点分享信息,端点分享信息用于指示被分享的端点;上述被分享的端点,包括与桥接的子设备对应的端点中的全部或部分端点;桥接的子设备是接入桥接设备的物联网设备。 Step 401, configure the endpoint sharing information in the bridge device, and the endpoint sharing information is used to indicate the shared endpoint; the above-mentioned shared endpoints include all or part of the endpoints corresponding to the bridged sub-device; the bridged sub-device is IoT devices connected to the bridge device.
桥接的子设备(Bridged Device)接入桥接设备(Bridge)之后,桥接设备在本地为桥接的子设备生成对应的端点(endpoint),这样桥接设备中除了拥有自己的端点之外,还具有桥接的子设备对应的各个端点。After the bridged sub-device (Bridged Device) is connected to the bridged device (Bridge), the bridged device generates a corresponding endpoint (endpoint) locally for the bridged sub-device, so that the bridged device not only has its own endpoint, but also has a bridged device. Individual endpoints for subdevices.
在本申请实施例中,对于桥接的子设备对应的各个端点,桥接设备可以在数据模型中进一步配置其中被分享的端点,后续接受配置设备的配置时,可以控制向配置设备分享的端点的范围。In this embodiment of the application, for each endpoint corresponding to the bridged sub-device, the bridging device can further configure the shared endpoints in the data model, and when accepting the configuration of the configuration device, it can control the range of endpoints shared with the configuration device .
也就是说,在本申请实施例中,上述的端点分享信息,用于在桥接设备接受配置设备的配置过程中,限制向配置设备分享的端点的范围。That is to say, in the embodiment of the present application, the above-mentioned endpoint sharing information is used to limit the range of endpoints shared with the configuration device when the bridging device accepts the configuration of the configuration device.
综上所述,本申请实施例所示的方案,对于与接入桥接设备的物联网设备对应的各个端点,桥接设备可以在数据模型中配置上述各个端点中被分享的端点,后续可以基于这些被分享的端点来接受配置设备的配置,从而扩展了多管理模式下对桥接设备进行配置的场景,提高了Bridge架构下的Multi-admin配置的灵活性。To sum up, in the scheme shown in the embodiment of this application, for each endpoint corresponding to the IoT device connected to the bridge device, the bridge device can configure the shared endpoints among the above endpoints in the data model, and the follow-up can be based on these The shared endpoint accepts the configuration of the configuration device, thereby expanding the scenario of configuring the bridge device in the multi-management mode, and improving the flexibility of Multi-admin configuration under the Bridge architecture.
其中,上述桥接的子设备中被分享的端点,可以由第一配置设备指示给桥接设备。Wherein, the endpoints to be shared among the bridged sub-devices may be indicated by the first configuration device to the bridging device.
请参考图5,其示出了本申请一个实施例提供的对桥接设备进行配置的方法的流程图,该方法可以由第一配置设备执行,比如,该第一配置设备可以是图1所示的网络架构中的控制设备120,也可以是控制设备120之外的其它设备;该方法可以包括如下几个步骤:Please refer to FIG. 5 , which shows a flowchart of a method for configuring a bridge device provided by an embodiment of the present application. The method can be executed by a first configuration device. For example, the first configuration device can be as shown in FIG. 1 The control device 120 in the network architecture may also be other devices other than the control device 120; the method may include the following steps:
步骤501,向桥接设备发送打开配置窗口请求,打开配置窗口请求中包含桥接的子设备列表;桥接的子设备列表用于指示被分享的端点;被分享的端点包括与桥接的子设备对应的端点中的全部或部分端点;桥接的子设备是接入桥接设备的物联网设备;打开配置窗口(Open Commissioning Window,OCW)请求用于指示桥接设备在数据模型中配置端点分享信息,端点分享信息用于指示被分享的端点。 Step 501, send a request to open the configuration window to the bridge device, and the request to open the configuration window includes a bridged sub-device list; the bridged sub-device list is used to indicate the shared endpoint; the shared endpoint includes the endpoint corresponding to the bridged sub-device All or part of the endpoints in the bridge; the sub-device of the bridge is the IoT device connected to the bridge device; the Open Commissioning Window (OCW) request is used to instruct the bridge device to configure the endpoint sharing information in the data model, and the endpoint sharing information is used to indicate the endpoint being shared.
在本申请实施例中,第一配置设备可以是具有桥接设备的全部权限的设备。第一配置设 备可以是实体设备,也可以是逻辑设备(比如配置App)。第一配置设备对桥接设备完成配置之后,可以通过打开配置窗口请求向桥接设备指示被分享的端点。In this embodiment of the present application, the first configuration device may be a device having full authority of the bridge device. The first configuration device may be a physical device or a logical device (such as a configuration App). After the first configuration device finishes configuring the bridge device, it may request to indicate the shared endpoint to the bridge device by opening a configuration window.
其中,在某些场景下,上述打开配置窗口请求也可以被称为打开配置窗口指令(OCW Command)。Wherein, in some scenarios, the above-mentioned request for opening the configuration window may also be called an instruction to open the configuration window (OCW Command).
综上所述,本申请实施例所示的方案,对于与接入桥接设备的物联网设备对应的各个端点,第一配置设备指示桥接设备在数据模型中配置上述各个端点中被分享的端点,后续可以基于这些被分享的端点来接受配置设备的配置,从而扩展了多管理模式下对桥接设备进行配置的场景,提高了Bridge架构下的Multi-admin配置的灵活性。To sum up, in the solution shown in the embodiment of the present application, for each endpoint corresponding to the IoT device connected to the bridge device, the first configuration device instructs the bridge device to configure the shared endpoint among the above endpoints in the data model, Subsequent configurations of configuration devices can be accepted based on these shared endpoints, thereby expanding the scenarios for configuring bridge devices in multi-management mode and improving the flexibility of Multi-admin configuration under the Bridge architecture.
通过本申请上述图4和图5所示的方案,第一配置设备对应的用户可以将桥接设备上桥接的子设备的端点有选择的对外分享。Through the solutions shown in FIG. 4 and FIG. 5 above in this application, the user corresponding to the first configuration device can selectively share the endpoints of the sub-device bridged on the bridging device externally.
请参考图6,其示出了本申请一个实施例提供的多管理模式的配置框架图。在一种可能的应用场景中,如图6所示,桥接设备61上接入有三个桥接的子设备(在图6中的标号为62a、62b以及62c),相应的,桥接设备61对应该三个桥接的子设备生成对应的端点(即图6中的端点1至端点5)。第一配置设备63对桥接设备61完成首次配置之后,可以选择端点1至端点5中的部分端点对外分享,该分享过程如下:Please refer to FIG. 6 , which shows a configuration framework diagram of a multi-management mode provided by an embodiment of the present application. In a possible application scenario, as shown in FIG. 6, there are three bridging sub-devices (marked as 62a, 62b and 62c in FIG. 6) connected to the bridging device 61. Correspondingly, the bridging device 61 corresponds to the The three bridged sub-devices generate corresponding endpoints (ie, endpoint 1 to endpoint 5 in FIG. 6 ). After the first configuration device 63 completes the initial configuration of the bridging device 61, it can select some of the endpoints from endpoint 1 to endpoint 5 to share externally. The sharing process is as follows:
S1,第一配置设备63向桥接设备61发送打开配置窗口OCW请求。S1, the first configuration device 63 sends a request to open a configuration window OCW to the bridge device 61 .
比如,用户A想要向用户B分享三个桥接的子设备中的部分设备或者部分设备功能时,可以在第一配置设备63中设置被分享的端点或者被分享的桥接的子设备。第一配置设备63根据用户A的设置,向桥接设备61发送打开配置窗口请求。其中,以用户A设置的被分享的端点为端点3至端点5为例,该打开配置窗口请求可以指示上述端点3至端点5为被分享的端点。For example, when user A wants to share part of the devices or functions of the three bridged sub-devices with user B, the shared endpoint or shared bridged sub-device can be set in the first configuration device 63 . The first configuration device 63 sends a request to open the configuration window to the bridge device 61 according to the settings of the user A. Wherein, taking the shared endpoints set by user A as endpoints 3 to 5 as an example, the request to open the configuration window may indicate that endpoints 3 to 5 are the endpoints to be shared.
S2,桥接设备61根据打开配置窗口请求,在数据模型中配置初始化的端点分享信息。S2, the bridging device 61 configures the initialized endpoint sharing information in the data model according to the request of opening the configuration window.
其中,桥接设备61接收到打开配置窗口请求后,可以在数据模型中配置端点分享信息,比如,在图6中,桥接设备61根据端点3至端点5,在数据模型中配置端点分享信息;也就是说,该端点分享信息用于在数据模型中指示上述端点3至端点5是可以被分享的端点。Wherein, after the bridging device 61 receives the request to open the configuration window, it can configure the endpoint sharing information in the data model. For example, in FIG. 6, the bridging device 61 configures the endpoint sharing information in the data model according to the endpoint 3 to the endpoint 5; That is to say, the endpoint sharing information is used to indicate in the data model that the aforementioned endpoints 3 to 5 are endpoints that can be shared.
S3,桥接设备61根据初始化的端点分享信息,完成第二配置设备64的配置。S3, the bridging device 61 completes the configuration of the second configuration device 64 according to the initialized endpoint sharing information.
在图6中,当第二配置设备64对桥接设备61发起配置时,桥接设备61在端点分享信息所指示的端点3至端点5的范围内,接受第二配置设备64的配置;也就是说,在上述配置过程中,分享给第二配置设备64的端点不超过端点3至端点5的范围。In FIG. 6, when the second configuration device 64 initiates configuration to the bridging device 61, the bridging device 61 accepts the configuration of the second configuration device 64 within the range from endpoint 3 to endpoint 5 indicated by the endpoint sharing information; that is to say , in the above configuration process, the endpoint shared to the second configuration device 64 does not exceed the range from endpoint 3 to endpoint 5 .
本申请上述实施例所示的方案中,在桥接设备中配置的端点分享信息,可以包括在数据模型中新增专用的簇(Cluster),也可以包括数据模型中已有的簇。In the solutions shown in the above embodiments of the present application, the endpoint sharing information configured in the bridging device may include adding a dedicated cluster (Cluster) in the data model, or may include existing clusters in the data model.
请参考图7,其示出了本申请一个实施例提供的对桥接设备进行配置的方法的流程图,该方法可以由桥接设备、第一配置设备和第二配置设备交互执行,比如,该桥接设备可以是图1所示的网络架构中的桥接设备130,第一配置设备和第二配置设备可以是图1所示的网络架构中的控制设备120,也可以是控制设备120之外的其它设备;该方法可以包括如下几个步骤:Please refer to FIG. 7 , which shows a flow chart of a method for configuring a bridge device provided by an embodiment of the present application. The method can be executed interactively by the bridge device, the first configuration device, and the second configuration device. For example, the bridge The device may be the bridging device 130 in the network architecture shown in FIG. 1, and the first configuration device and the second configuration device may be the control device 120 in the network architecture shown in FIG. equipment; the method may include the following steps:
步骤701,第一配置设备向桥接设备发送打开配置窗口请求;相应的,桥接设备接收该打开配置窗口请求。In step 701, the first configuration device sends a configuration window opening request to the bridge device; correspondingly, the bridge device receives the configuration window opening request.
其中,上述桥接设备中接入有至少一个桥接的子设备。桥接的子设备是接入桥接设备的物联网设备。Wherein, at least one bridging sub-device is connected to the bridging device. The sub-devices of the bridge are the IoT devices connected to the bridge device.
其中,该打开配置窗口OCW请求用于指示与桥接的子设备对应的各个端点中被分享的端点。Wherein, the open configuration window OCW request is used to indicate the shared endpoint among the endpoints corresponding to the bridged sub-device.
上述与桥接的子设备对应的各个端点中被分享的端点。可选的,上述被分享的端点,包 括上述各个端点中的全部或部分端点。A shared endpoint among the above endpoints corresponding to the bridged sub-device. Optionally, the above shared endpoints include all or part of the above endpoints.
在一种可能的实现方式中,上述打开配置窗口请求中包含桥接的子设备列表;桥接的子设备列表用于指示被分享的端点。In a possible implementation manner, the request for opening the configuration window includes a bridged sub-device list; the bridged sub-device list is used to indicate the endpoint to be shared.
也就是说,在本申请实施例中,打开配置窗口请求中可以包含一个桥接的子设备列表(BridgedDevicesList),该桥接的子设备列表可以直接或者间接指示上述被分享的端点。That is to say, in the embodiment of the present application, the request to open the configuration window may include a bridged sub-device list (BridgedDevicesList), and the bridged sub-device list may directly or indirectly indicate the aforementioned shared endpoint.
在一种可能的实现方式中,上述桥接的子设备列表中包含以下信息中的至少一种:In a possible implementation manner, the bridge sub-device list includes at least one of the following information:
被分享的端点的标识、以及被分享的端点的设备类型。The identity of the shared endpoint, and the device type of the shared endpoint.
在本申请实施例所示的方案中,桥接的子设备列表中可以包含被分享的端点的标识,以直接指示上述被分享的端点。In the solution shown in the embodiment of the present application, the bridged sub-device list may include the identifier of the shared endpoint, so as to directly indicate the above-mentioned shared endpoint.
或者,上述桥接的子设备列表中也可以包含被分享的端点的设备类型(DeviceType),以间接指示被分享的端点(即对应该设备类型的端点为被分享的端点)。Alternatively, the bridge sub-device list may also include the device type (DeviceType) of the shared endpoint to indirectly indicate the shared endpoint (that is, the endpoint corresponding to the device type is the shared endpoint).
例如,OCW请求的参数可以如下述表1所示:For example, the parameters of the OCW request may be as shown in Table 1 below:
表1Table 1
步骤702,桥接设备发布域名系统服务发现DNS-SD记录。Step 702, the bridging device publishes DNS-SD records for DNS service discovery.
在一种可能的实现方式中,该域名系统服务发现(DNS-SD)记录中包含设备类型参数、端点列表参数以及端点设备类型参数中的至少一种;上述设备类型参数用于指示桥接设备的设备类型;端点列表参数用于指示可被发现的设备包含的端点的标识;端点设备类型参数用于指示可被发现的设备的设备类型。In a possible implementation manner, the Domain Name System Service Discovery (DNS-SD) record includes at least one of a device type parameter, an endpoint list parameter, and an endpoint device type parameter; the above device type parameter is used to indicate the bridge device The device type; the endpoint list parameter is used to indicate the identifier of the endpoint contained in the discoverable device; the endpoint device type parameter is used to indicate the device type of the discoverable device.
在一种示例性的方案中,上述可被发现的设备包含的端点,可以是上述被分享的端点中的全部或者部分端点。In an exemplary solution, the endpoints included in the discoverable device may be all or part of the endpoints that are shared.
在本申请实施例的一个示例性的方案中,上述DNS-SD记录中可以包含桥接设备的设备类型(Device Type,DT)参数、端点列表(Endpoints List,EL)参数以及端点设备类型(以SDT表示)参数。In an exemplary solution of the embodiment of the present application, the above-mentioned DNS-SD record may include the device type (Device Type, DT) parameter of the bridge device, the endpoint list (Endpoints List, EL) parameter and the endpoint device type (in SDT Indicates) parameters.
其中,DT字段为bridge,表示设备类型为桥接设备,EL字段为指定数值(比如4),其中,当DT参数段为“bridge”时,EL参数用来指示可被发现的桥接的子设备(BridgedDevices)对应的端点,SDT参数对应EL的设备类型。Among them, the DT field is bridge, indicating that the device type is a bridge device, and the EL field is a specified value (such as 4), wherein, when the DT parameter segment is "bridge", the EL parameter is used to indicate the bridged sub-device that can be discovered ( BridgedDevices) corresponds to the endpoint, and the SDT parameter corresponds to the device type of EL.
其中,桥接设备配置DNS-SD记录之后,第二配置设备后续可以通过DNS-SD发现机制,发现Bridge设备以及对应的Bridged Device;第二配置设备对应的用户可以通过EL信息和SDT信息确认其配置Bridge设备后,可控制的Bridged Device的范围。如果用户发现上述信息不符合预期,可结束配置流程。Among them, after the bridge device is configured with DNS-SD records, the second configuration device can subsequently discover the Bridge device and the corresponding Bridged Device through the DNS-SD discovery mechanism; the user corresponding to the second configuration device can confirm its configuration through EL information and SDT information After the Bridge device, the scope of the Bridged Device that can be controlled. If the user finds that the above information does not meet expectations, the configuration process can be ended.
步骤703,第一配置设备生成配对码,并将该配对码发送给第二配置设备;相应的,第二配置设备接收该配对码。Step 703, the first configuration device generates a pairing code, and sends the pairing code to the second configuration device; correspondingly, the second configuration device receives the pairing code.
在本申请实施例中,第一配置设备可以为第二配置设备生成配对码(Pairing Code)信息,并将生成的配对码信息通过带外的方式提供给第二配置设备,比如,通过蓝牙或者二维码展示等方式提供给第二配置设备。In this embodiment of the application, the first configuration device may generate pairing code (Pairing Code) information for the second configuration device, and provide the generated pairing code information to the second configuration device in an out-of-band manner, for example, through Bluetooth or Two-dimensional code display and other methods are provided to the second configuration device.
步骤704,第二配置设备根据该配对码发现桥接设备,并与桥接设备建立安全链接,以对桥接设备发起配置。Step 704, the second configuration device discovers the bridging device according to the pairing code, and establishes a secure link with the bridging device to initiate configuration on the bridging device.
其中,通过上述配对码,第二配置设备可以发现桥接设备,并获取到与桥接设备进行安全链接建立的相关信息,并根据获取到的信息与桥接设备建立安全链接,以便后续对桥接设备发起配置。Wherein, through the above-mentioned pairing code, the second configuration device can discover the bridging device, obtain information related to establishing a secure link with the bridging device, and establish a secure link with the bridging device according to the obtained information, so as to subsequently initiate configuration on the bridging device .
步骤705,第二配置设备向桥接设备发起配置;相应的,桥接设备根据上述端点分享信息,接受第二配置设备的配置。Step 705, the second configuration device initiates configuration to the bridging device; correspondingly, the bridging device accepts the configuration of the second configuration device according to the information shared by the above endpoints.
在本申请实施例中,当第二配置设备对应的用户确定要对桥接设备进行配置时,第二配置设备可以向桥接设备发起配置。In this embodiment of the present application, when the user corresponding to the second configuration device determines to configure the bridge device, the second configuration device may initiate configuration to the bridge device.
步骤706,桥接设备在该桥接设备中配置端点分享信息,端点分享信息用于指示上述被分享的端点。In step 706, the bridging device configures endpoint sharing information in the bridging device, where the endpoint sharing information is used to indicate the above-mentioned endpoints to be shared.
其中,桥接设备可以根据上述打开配置窗口请求中携带的桥接的子设备列表,在桥接设备中配置端点分享信息。Wherein, the bridging device may configure the endpoint sharing information in the bridging device according to the bridging sub-device list carried in the request for opening the configuration window.
在一种可能的实现方式中,端点分享信息包括端点接入簇,在桥接设备中配置端点分享信息,包括:In a possible implementation manner, the endpoint sharing information includes the endpoint access cluster, and configuring the endpoint sharing information in the bridge device includes:
在桥接设备中配置该端点接入簇;Configure the endpoint access cluster in the bridge device;
其中,端点接入簇的属性为端点接入列表;端点接入列表包含至少一条端点接入记录;端点接入记录用于指示被分享给目标安全域的端点;Wherein, the attribute of the endpoint access cluster is an endpoint access list; the endpoint access list contains at least one endpoint access record; the endpoint access record is used to indicate the endpoints shared with the target security domain;
其中,目标安全域是对桥接设备进行配置的第二配置设备所属的安全域(Fabric)。Wherein, the target security domain is a security domain (Fabric) to which the second configuration device that configures the bridge device belongs.
上述端点接入簇用于在完成配置后,当桥接设备接收到服务发现请求或设备发现请求时,根据端点接入簇的内容,动态生成描述符簇中的组件列表的属性内容。The above-mentioned endpoint access cluster is used to dynamically generate the attribute content of the component list in the descriptor cluster according to the content of the endpoint access cluster when the bridging device receives a service discovery request or a device discovery request after the configuration is completed.
其中,上述动态生成的描述符簇中的组件列表的属性内容,包含与服务发现请求或设备发现请求的请求方所在的fabric对应的内容,也就是被分享给该fabric的端点的内容。Wherein, the attribute content of the component list in the dynamically generated descriptor cluster includes the content corresponding to the fabric where the requester of the service discovery request or device discovery request is located, that is, the content shared to the endpoint of the fabric.
进一步的,上述动态生成的描述符簇中的组件列表的属性内容,可以是与服务发现请求或设备发现请求的请求方对应的节点的内容;也就是说,对于在同一fabric下的不同的Node,桥接设备可以生成不同的EndpointAccessCluster的项目(item),从而可以对同一fabric下不同的node分别限制其可显示的DescriptorCluster中的PartList。Further, the attribute content of the component list in the dynamically generated descriptor cluster may be the content of the node corresponding to the requester of the service discovery request or device discovery request; that is, for different Nodes under the same fabric , the bridge device can generate different EndpointAccessCluster items (items), so that different nodes under the same fabric can limit the PartLists in the DescriptorCluster that can be displayed.
在本申请实施例的一个示例性的方案中,桥接设备可以配置一个新的专用的簇(EndpointAccessCluster),来作为上述端点分享信息。In an exemplary solution of the embodiment of the present application, the bridging device may configure a new dedicated cluster (EndpointAccessCluster) as the above-mentioned endpoint to share information.
请参考下述表2,上述EndpointAccessCluster的结构定义可以如下:Please refer to Table 2 below. The structure definition of the above-mentioned EndpointAccessCluster can be as follows:
表2Table 2
IDID | 属性(attribute)attribute | 类型(Type)type |
00 | EndpointAccessListEndpointAccessList | EndpointAccessStructEndpointAccessStruct |
在一种可能的实现方式中,端点接入记录包含接入标识,以及,端点指示信息;In a possible implementation manner, the endpoint access record includes an access identifier and endpoint indication information;
其中,接入标识用于指示端点分享的对象;端点指示信息用于指示被分享的端点。Wherein, the access identifier is used to indicate the object to be shared by the endpoint; the endpoint indication information is used to indicate the shared endpoint.
在一种可能的实现方式中,端点指示信息包含端点列表和设备类型列表中的至少一种;In a possible implementation manner, the endpoint indication information includes at least one of an endpoint list and a device type list;
端点列表包含被分享的端点的标识;The endpoint list contains the identity of the shared endpoints;
设备类型列表中包含被分享的端点的设备类型。The device type list contains the device types of the shared endpoints.
请参考下述表3,上述EndpointAccessStruct的结构定义可以如下:Please refer to Table 3 below. The structure definition of the above-mentioned EndpointAccessStruct can be as follows:
表3table 3
在一种可能的实现方式中,该接入标识包括:In a possible implementation manner, the access identifier includes:
目标安全域的结构索引;或者,目标安全域的结构索引,以及目标安全域中的目标节点的节点标识。A structure index of the target security domain; or, a structure index of the target security domain, and a node identifier of a target node in the target security domain.
在本申请实施例中,上述表3中的FabricIndex,表示上述被分享的端点可以被分享给该FabricIndex对应的目标安全域中的任意节点。In the embodiment of the present application, the FabricIndex in Table 3 above indicates that the shared endpoint can be shared with any node in the target security domain corresponding to the FabricIndex.
可选的,上述表3中的FabricIndex,也可以替换为FabricIndex+Node ID,其中,Node ID可以是目标安全域中的一个节点的标识,此时,表3中的信息表示上述被分享的端点可以被分享该Node ID对应的节点。Optionally, the FabricIndex in the above Table 3 can also be replaced by FabricIndex+Node ID, where the Node ID can be the identifier of a node in the target security domain. At this time, the information in Table 3 represents the above shared endpoint The node corresponding to the Node ID can be shared.
在一种可能的实现方式中,端点分享信息包括端点接入簇,在桥接设备中配置端点接入簇,包括:In a possible implementation manner, the endpoint sharing information includes the endpoint access cluster, and the configuration of the endpoint access cluster in the bridge device includes:
在桥接设备中初始化端点接入簇;初始化的端点接入簇中的接入标识字段中的值为填充值;接入标识字段是用于携带接入标识的字段;Initialize the endpoint access cluster in the bridge device; the value in the access identifier field in the initialized endpoint access cluster is a filling value; the access identifier field is a field for carrying the access identifier;
在第二配置设备对桥接设备配置完成后,将填充值替换为接入标识。After the second configuration device configures the bridging device, the filled value is replaced with the access identifier.
在一种可能的实现方式中,填充值为密码标识或者指定字符。In a possible implementation manner, the filling value is a password identifier or a specified character.
在本申请实施例中,桥接设备在数据模型中配置端点接入簇的过程可以分为两个步骤,第一步是初始化EndpointAccessStruct,在第二配置设备对桥接设备配置未配置完成之前,该初始化的端点接入簇中的接入标识字段暂时以填充值进行填充;第二步,在第二配置设备对桥接设备配置完成后,将填充值替换为接入标识,即替换为FabricIndex或者FabricIndex+Node ID。In the embodiment of this application, the process of the bridging device configuring the endpoint access cluster in the data model can be divided into two steps. The first step is to initialize the EndpointAccessStruct. Before the second configuration device configures the bridging device, the initialization The access identifier field in the endpoint access cluster of the endpoint is temporarily filled with the filling value; in the second step, after the second configuration device configures the bridging device, replace the filling value with the access identifier, that is, replace it with FabricIndex or FabricIndex+ Node ID.
在一种可能的实现方式中,上述填充值为密码标识或者指定字符。In a possible implementation manner, the above filling value is a password identifier or a specified character.
其中,在第二配置设备对桥接设备配置未配置完成之前,桥接设备可以在初始化的端点接入簇中的接入标识字段中填充密码标识(passcodeID),或者填充其它特殊字符(比如0)。Wherein, before the configuration of the bridging device by the second configuration device is completed, the bridging device may fill the password ID (passcodeID) or other special characters (such as 0) in the access identification field in the initialized endpoint access cluster.
其中,上述密码标识可以被节点(桥接设备)用来识别用于本次配置的临时PAKE密码验证器。比如,上述密码标识可以是口令认证密钥交换(Password Authenticated Key Exchange,PAKE)密码ID。Wherein, the above password identification can be used by the node (bridge device) to identify the temporary PAKE password verifier used for this configuration. For example, the above password identifier may be a password authenticated key exchange (Password Authenticated Key Exchange, PAKE) password ID.
在一种可能的实现方式中,在桥接设备中初始化端点接入簇,包括:In a possible implementation manner, the initialization of the endpoint access cluster in the bridge device includes:
在接受第二配置设备的配置之前,在桥接设备中初始化端点接入簇;Before accepting the configuration of the second configuration device, initializing the endpoint access cluster in the bridging device;
或者,在接受第二配置设备的配置过程中,在桥接设备中初始化端点接入簇。Alternatively, the endpoint access cluster is initialized in the bridging device during acceptance of configuration by the second configuration device.
在本申请实施例中,上述初始化EndpointAccessStruct的步骤,可以由桥接设备在接受第二配置设备的配置之前执行,比如,在上述步骤702之前,桥接设备接收到OCW请求之后,即可以初始化EndpointAccessStruct。In this embodiment of the present application, the above step of initializing the EndpointAccessStruct may be performed by the bridging device before accepting the configuration of the second configuration device, for example, before the above step 702, the bridging device may initialize the EndpointAccessStruct after receiving the OCW request.
或者,上述初始化EndpointAccessStruct的步骤也可以在接受第二配置设备的配置的过程中执行,比如,在步骤705中,桥接设备检测到配置设备发起配置时,可以初始化EndpointAccessStruct。Alternatively, the above step of initializing the EndpointAccessStruct may also be performed during the process of accepting the configuration of the second configuration device. For example, in step 705, when the bridge device detects that the configuration device initiates the configuration, it may initialize the EndpointAccessStruct.
在一种可能的实现方式中,端点分享信息包括描述符簇,在桥接设备中配置端点分享信息,包括:In a possible implementation manner, the endpoint sharing information includes a descriptor cluster, and configuring the endpoint sharing information in the bridge device includes:
在桥接设备中配置描述符簇;Configure descriptor clusters in the bridge device;
其中,描述符簇中的组件列表包含支持的端点记录列表;支持的端点记录中包含支持的端点记录;支持的端点记录用于指示被分享给目标安全域的端点;Among them, the component list in the descriptor cluster includes a list of supported endpoint records; the supported endpoint records include supported endpoint records; the supported endpoint records are used to indicate the endpoints that are shared with the target security domain;
其中,目标安全域是对桥接设备进行配置的第二配置设备所属的安全域。Wherein, the target security domain is a security domain to which the second configuration device that configures the bridge device belongs.
在本申请实施例的另一个示例性的方案中,桥接设备可以对桥接设备自己的端点(endpoint0)中的描述符簇(Descriptor Cluster)进行改进,以在桥接设备中配置上述端点分享信息。In another exemplary solution of the embodiment of the present application, the bridging device may improve the descriptor cluster (Descriptor Cluster) in the bridging device's own endpoint (endpoint0), so as to configure the above-mentioned endpoint sharing information in the bridging device.
其中,上述Descriptor Cluster用于描述对应的端点上的服务端簇(Server Cluster)信息、客户端簇(Client Cluster)信息、设备类型信息;在复合设备的Descriptor Cluster中还可以包含关联端点信息。其中,复合设备可以是对应有多种不同设备类型的端点的设备。Wherein, the above-mentioned Descriptor Cluster is used to describe the server cluster (Server Cluster) information, client cluster (Client Cluster) information, and device type information on the corresponding endpoint; the Descriptor Cluster of the composite device can also include associated endpoint information. Wherein, the composite device may be a device corresponding to multiple endpoints of different device types.
其中,上述桥接设备可以在endpoint0的Descriptor Cluster中的组件列表中配置上述端点分享信息。Wherein, the above-mentioned bridge device can configure the above-mentioned endpoint sharing information in the component list in the Descriptor Cluster of endpoint0.
其中,Descriptor Cluster的包含的部分属性可以如下述表4所示:Among them, some attributes contained in the Descriptor Cluster can be shown in Table 4 below:
表4Table 4
在一种可能的实现方式中,上述支持的端点记录(EndpointAvailableStruct)包含接入标识,以及,端点指示信息;In a possible implementation manner, the supported endpoint record (EndpointAvailableStruct) includes an access identifier and endpoint indication information;
其中,接入标识用于指示端点分享的对象;端点指示信息用于指示被分享的端点。Wherein, the access identifier is used to indicate the object to be shared by the endpoint; the endpoint indication information is used to indicate the shared endpoint.
在一种可能的实现方式中,接入标识包括:In a possible implementation manner, the access identifier includes:
目标安全域的结构索引;或者,目标安全域的结构索引,以及目标安全域中的目标节点的节点标识。A structure index of the target security domain; or, a structure index of the target security domain, and a node identifier of a target node in the target security domain.
在一种可能的实现方式中,端点指示信息包含端点列表和设备类型列表中的至少一种;In a possible implementation manner, the endpoint indication information includes at least one of an endpoint list and a device type list;
端点列表包含被分享的端点的标识;The endpoint list contains the identity of the shared endpoints;
设备类型列表中包含被分享的端点的设备类型。The device type list contains the device types of the shared endpoints.
在本申请实施例中,桥接设备可以修改Descriptor Cluster中的PartsList的数据类型,将其修改为一个EndpointAvaliableStruct的列表,该列表的结构可以如下述表5所示:In the embodiment of this application, the bridging device can modify the data type of the PartsList in the Descriptor Cluster to a list of EndpointAvaliableStruct, and the structure of the list can be shown in Table 5 below:
表5table 5
IDID | Fieldfield | DescriptionDescription |
00 | AccessIDAccessID |
Fabricindex+nodeIDFabric index+ |
11 | EndpointListEndpointList | Endpoint列表Endpoint list |
在表5中,AccessID即为上述接入标识,且表5中的接入标识为Fabricindex+nodeID,可选的,上述表5中的接入标识也可以替换为Fabricindex。这里的AccessID的含义与表3中0号字段的含义类似。上述Endpoint列表用于展示被分享的端点。In Table 5, AccessID is the above-mentioned access ID, and the access ID in Table 5 is Fabricindex+nodeID. Optionally, the access ID in Table 5 above can also be replaced by Fabricindex. The meaning of the AccessID here is similar to that of field 0 in Table 3. The above Endpoint list is used to display the shared endpoints.
也就是说,在本申请实施例中,上述表5中的AccessID为FabricIndex,表示上述被分享的端点可以被分享给该FabricIndex对应的目标安全域中的任意节点。That is to say, in the embodiment of the present application, the AccessID in the above Table 5 is FabricIndex, indicating that the above shared endpoint can be shared with any node in the target security domain corresponding to the FabricIndex.
或者,上述表5中的AccessID为FabricIndex+node ID时,Node ID可以是目标安全域中的一个节点的标识,该Node ID可以由第二配置设备在配置过程中传递给桥接设备,此时,表5中的信息表示上述被分享的端点可以被分享该Node ID对应的节点。Alternatively, when the AccessID in the above table 5 is FabricIndex+node ID, the Node ID can be the identifier of a node in the target security domain, and the Node ID can be passed to the bridging device by the second configuration device during the configuration process. At this time, The information in Table 5 indicates that the above shared endpoint can be shared with the node corresponding to the Node ID.
可选的,上述表5中的Endpoint列表也可以替换为被分享的端点的设备类型,表示对应该设备类型的端点为被分享的端点。Optionally, the Endpoint list in the above Table 5 may also be replaced with the device type of the shared endpoint, indicating that the endpoint corresponding to the device type is the shared endpoint.
在一种可能的实现方式中,在桥接设备中配置描述符簇,包括:In a possible implementation manner, configuring the descriptor cluster in the bridge device includes:
在桥接设备中初始化描述符簇;初始化的描述符簇中的接入标识字段中的值为填充值;接入标识字段是用于携带接入标识的字段;Initialize the descriptor cluster in the bridge device; the value in the access identification field in the initialized descriptor cluster is a filling value; the access identification field is a field for carrying the access identification;
在第二配置设备对桥接设备配置完成后,将填充值替换为接入标识。After the second configuration device configures the bridging device, the filled value is replaced with the access identifier.
在一种可能的实现方式中,填充值为密码标识或者指定字符。In a possible implementation manner, the filling value is a password identifier or a specified character.
在一种可能的实现方式中,在桥接设备中初始化描述符簇,包括:In a possible implementation manner, initializing a descriptor cluster in a bridge device includes:
在接受第二配置设备的配置之前,在桥接设备中初始化描述符簇;initializing a descriptor cluster in the bridge device prior to accepting configuration from the second configuration device;
或者,在接受第二配置设备的配置过程中,在桥接设备中初始化描述符簇。Alternatively, the descriptor cluster is initialized in the bridging device during acceptance of configuration by the second configuration device.
其中,上述Descriptor Cluster中的EndpointAvailableStruct包含的内容以及配置方式,与上述EndpointAccessStruct中包含的内容和配置方式类似,此处不再赘述。Among them, the content and configuration method contained in the above-mentioned EndpointAvailableStruct in the Descriptor Cluster are similar to the content and configuration method contained in the above-mentioned EndpointAccessStruct, and will not be repeated here.
在一种可能的实现方式中,在接受第二配置设备的配置时,桥接设备为目标安全域中的节点配置访问控制列表簇;该访问控制列表簇的目标端点属于被分享的端点。In a possible implementation manner, when accepting the configuration of the second configuration device, the bridging device configures an access control list cluster for nodes in the target security domain; the target endpoint of the access control list cluster belongs to the shared endpoint.
其中,桥接设备在接受第二配置设备的配置过程中,可以生成fabric ID(第二配置设备所属的fabric的ID)、fabric index(第二配置设备所属的fabric的索引)以及node ID等信息,并为第二配置设备配置访问控制列表(Access Control List,ACL)cluster等;然后,在初始化的EndpointAccessCluster或者Descriptor Cluster中,填入正确的fabricindex或者fabricindex+Node ID(这里填入的Node ID为第二配置设备所属fabric中的节点的标识)。其中,上述fabric ID可以由第二配置设备指示给桥接设备。Wherein, the bridging device can generate information such as fabric ID (the ID of the fabric to which the second configuration device belongs), fabric index (the index of the fabric to which the second configuration device belongs) and node ID during the process of accepting the configuration of the second configuration device, And configure the access control list (Access Control List, ACL) cluster, etc. for the second configuration device; then, in the initialized EndpointAccessCluster or Descriptor Cluster, fill in the correct fabricindex or fabricindex+Node ID (the Node ID filled in here is the first 2. Configure the ID of the node in the fabric to which the device belongs). Wherein, the aforementioned fabric ID may be indicated to the bridging device by the second configuration device.
其中,上述描述符簇在配置完成后,当Bridge接收到服务发现请求或者设备发现请求时,可以根据Descriptor Cluster中与请求方所在的fabric对应的PartsList内容,向请求方显示其所在的fabric对应的内容(比如允许向该fabirc分享的端点或者Bridged Devices);进一步,上述描述符簇中的组件列表的属性内容,也可以是与服务发现请求或设备发现请求的请求方的节点对应的内容。Among them, after the configuration of the above-mentioned descriptor cluster is completed, when the Bridge receives a service discovery request or a device discovery request, it can display to the requester the PartsList corresponding to the fabric where the requester is located according to the PartsList content in the Descriptor Cluster corresponding to the fabric where the requester is located. Content (such as endpoints or Bridged Devices that are allowed to be shared with the fabirc); further, the attribute content of the component list in the above-mentioned descriptor cluster can also be the content corresponding to the node of the requester of the service discovery request or device discovery request.
在上述过程中,在同一个fabric下,ACL中配置的目标(target)部分不超出EndpointAccessCluster或者Descriptor Cluster中定义的内容(即不超出EndpointAccessCluster或者Descriptor Cluster中定义的被分享的端点)。In the above process, under the same fabric, the target part configured in ACL does not exceed the content defined in EndpointAccessCluster or Descriptor Cluster (that is, it does not exceed the shared endpoint defined in EndpointAccessCluster or Descriptor Cluster).
可选的,在配置过程中,上述ACL中配置的目标部分由第二配置设备指定,桥接设备可以在接收到第二配置设备配置上述目标部分的指示后,检查第二配置设备指定的目标部分是否超出EndpointAccessCluster或者Descriptor Cluster中定义的内容,若是,则可以回应错误应答。Optionally, during the configuration process, the target part configured in the above-mentioned ACL is specified by the second configuration device, and the bridging device may check the target part specified by the second configuration device after receiving an instruction from the second configuration device to configure the above-mentioned target part Whether it exceeds the content defined in EndpointAccessCluster or Descriptor Cluster, and if so, an error response can be responded.
请参考图8,其示出了本申请实施例涉及的一种在桥接设备中配置端点接入簇的流程示意图。如图8所示,该流程包括如下步骤:Please refer to FIG. 8 , which shows a schematic flowchart of configuring an endpoint access cluster in a bridging device according to an embodiment of the present application. As shown in Figure 8, the process includes the following steps:
S801,Admin 1发起Multi-admin流程:发送OpenCommissioningWindow(OCW)请求给Bridge设备,该请求可以使bridge设备进入配置状态。其中,OpenCommissioningWindow请求中增加BridgedDevicesList参数。S801, Admin 1 initiates a Multi-admin process: sends an OpenCommissioningWindow (OCW) request to the Bridge device, and the request can cause the Bridge device to enter a configuration state. Among them, the BridgedDevicesList parameter is added to the OpenCommissioningWindow request.
S802,桥接设备(Bridge)收到OCW command后根据请求中携带的参数BridgedDevicesList初始化EndpointAccessCluster;在初始化的过程中fabricindex部分使用passcodeID或者其他特殊值(例如0)填充,当配置完成后填入正确的fabricindex;对于EndpointAccess Cluster对admin1默认全权限。S802. After receiving the OCW command, the bridge device (Bridge) initializes the EndpointAccessCluster according to the parameter BridgedDevicesList carried in the request; during the initialization process, the fabricindex part is filled with passcodeID or other special values (such as 0), and the correct fabricindex is filled in after the configuration is completed. ; For EndpointAccess Cluster, admin1 defaults to full authority.
S803,Bridge发布DNS-SD记录。Admin 2可以通过该机制发现此设备。S803. The Bridge publishes the DNS-SD record. Admin 2 can discover this device through this mechanism.
S804,在Bridge发布DNS-SD记录之前或者之后,Admin 1生成Pairing Code,并通过带外的方式发送给Admin 2。S804, before or after Bridge releases the DNS-SD record, Admin 1 generates a Pairing Code, and sends it to Admin 2 in an out-of-band manner.
S805,Admin 2发现正确的Bridge设备并建立安全链接后,开始配置Bridge设备:即生成fabric ID、fabric index以及node id等信息,配置ACL cluster等信息;配置EndpointAccess信息,填入正确的fabricindex(其中,上述S802的内容也可以在该步骤来完成)。S805. After Admin 2 discovers the correct Bridge device and establishes a secure link, it starts to configure the Bridge device: that is, generate fabric ID, fabric index, node id and other information, configure ACL cluster and other information; configure EndpointAccess information, and fill in the correct fabricindex (where , the content of the above S802 can also be completed in this step).
在完成上述配置之后,当Bridge收到服务发现或者设备发现请求时,可以根据EndpointAccessCluster的内容,动态生成Endpoint0的DescriptorCluster的PartsList属性内容,从而向请求方显示其所在的fabric对应的内容(比如允许向该fabirc分享的端点或者Bridged Devices);进一步,还可以在同一fabric下对不同的Node生成不同的EndpointAccessCluster的项目(item),从而在同一fabric下对不同的Node分别限制其可显示的Descriptor Cluster中的PartList。After the above configuration is completed, when Bridge receives a service discovery or device discovery request, it can dynamically generate the PartsList attribute content of the DescriptorCluster of Endpoint0 according to the content of the EndpointAccessCluster, so as to display the content corresponding to the fabric where it is located to the requester (for example, allow the request to The endpoint or Bridged Devices shared by the fabric); further, different EndpointAccessCluster items (items) can be generated for different Nodes under the same fabric, so as to limit the Descriptor Clusters that can be displayed for different Nodes under the same fabric PartList.
请参考图9,其示出了本申请实施例涉及的一种在桥接设备中配置描述符簇的流程示意 图。如图9所示,该流程包括如下步骤:Please refer to FIG. 9 , which shows a schematic flowchart of configuring a descriptor cluster in a bridge device according to an embodiment of the present application. As shown in Figure 9, the process includes the following steps:
S901,Admin 1发起Multi-admin流程:发送OpenCommissioningWindow(OCW)请求给Bridge设备,该请求可以使bridge设备进入配置状态。S901, Admin 1 initiates a Multi-admin process: sends an OpenCommissioningWindow (OCW) request to the Bridge device, and the request can cause the Bridge device to enter a configuration state.
S902,桥接设备(Bridge)收到OCW command后根据请求中携带的参数BridgedDevicesList初始化Endpoint0的DescriptorCluster,填入endpointList信息;在初始化的过程中accessID部分使用passcodeID或者其他特殊值例如0填充,当配置完成后填入正确的fabricindex+nodeID,其中的“+”表示字符串连接。S902. After receiving the OCW command, the bridge device (Bridge) initializes the DescriptorCluster of Endpoint0 according to the parameter BridgedDevicesList carried in the request, and fills in the endpointList information; during the initialization process, the accessID part is filled with passcodeID or other special values such as 0. After the configuration is completed Fill in the correct fabricindex+nodeID, where "+" means string connection.
S903,Bridge发布DNS-SD记录。Admin 2可以通过该机制发现此设备。S903. The Bridge publishes the DNS-SD record. Admin 2 can discover this device through this mechanism.
S904,在Bridge发布DNS-SD记录之前或者之后,Admin 1生成Pairing Code,并通过带外的方式发送给Admin 2。S904, before or after Bridge releases the DNS-SD record, Admin 1 generates a Pairing Code, and sends it to Admin 2 in an out-of-band manner.
S905,Admin 2发现正确的Bridge设备并建立安全链接后,开始配置Bridge设备:包括生成fabric ID、fabric index以及node id等信息,配置ACL cluster等信息;完善Endpoint0的Descriptor Cluster信息,填入正确的Access ID(其中,上述S902的内容也可以在该步骤来完成)。S905. After Admin 2 finds the correct Bridge device and establishes a secure link, it starts to configure the Bridge device: including generating information such as fabric ID, fabric index, and node id, configuring ACL cluster and other information; improving the Descriptor Cluster information of Endpoint0, and filling in the correct Access ID (wherein, the content of the above S902 can also be completed in this step).
在完成上述配置之后,当Bridge收到服务发现或者设备发现请求时,根据Descriptor Cluster中的PartsList内容,针对不同的fabric或者(fabric+nodeID),呈现不同的EndpointList对应的内容,从而向请求方显示其所在的fabric对应的内容(比如允许向该fabirc分享的端点或者Bridged Devices);进一步,还可以在同一fabric下对不同的Node生成不同的EndpointAccessCluster的项目(item),从而在同一fabric下对不同的Node分别限制其可显示的Descriptor Cluster中的PartList。After the above configuration is completed, when Bridge receives a service discovery or device discovery request, according to the PartsList content in the Descriptor Cluster, for different fabrics or (fabric+nodeID), it presents the corresponding content of different EndpointLists, so as to display to the requester The content corresponding to the fabric where it is located (such as endpoints or Bridged Devices that are allowed to be shared with the fabric); further, different EndpointAccessCluster items (items) can be generated for different Nodes under the same fabric, so that different The Node respectively limits the PartList in the Descriptor Cluster that it can display.
通过本申请所示的方案,可以在对Bridge进行Multi-admin配置时,完成对Bridged Devices的细划分,即为第二配置设备分配部分Bridged Devices,为用户提供了更强的使用便利和分享设备便利。Through the scheme shown in this application, the subdivision of Bridged Devices can be completed when Multi-admin configuration is performed on Bridge, that is, part of Bridged Devices is allocated for the second configuration device, which provides users with stronger use convenience and sharing devices convenient.
此外,通过本申请所示的方案,还可以间接做到在一个设备中,对不同的fabric呈现不同的内容,比如,通过Descriptor Cluster中的Partslist,对不同的fabric,或者同一个fabric中不同的node呈现不同的内容。In addition, through the solution shown in this application, it is also possible to indirectly display different content for different fabrics in one device, for example, through the Partslist in the Descriptor Cluster, for different fabrics, or different content in the same fabric. node renders different content.
综上所述,本申请实施例所示的方案,对于与接入桥接设备的物联网设备对应的各个端点,第一配置设备指示桥接设备在数据模型中配置上述各个端点中被分享的端点,后续可以基于这些被分享的端点来接受配置设备的配置,从而扩展了多管理模式下对桥接设备进行配置的场景,提高了Bridge架构下的Multi-admin配置的灵活性。To sum up, in the solution shown in the embodiment of the present application, for each endpoint corresponding to the IoT device connected to the bridge device, the first configuration device instructs the bridge device to configure the shared endpoint among the above endpoints in the data model, Subsequent configurations of configuration devices can be accepted based on these shared endpoints, thereby expanding the scenarios for configuring bridge devices in multi-management mode and improving the flexibility of Multi-admin configuration under the Bridge architecture.
请参考图10,其示出了本申请一个实施例提供的对桥接设备进行配置的装置的框图。该装置具有实现上述图4或图7所示的方法中,由桥接设备执行的功能。如图10所示,该装置可以包括:Please refer to FIG. 10 , which shows a block diagram of an apparatus for configuring a bridge device according to an embodiment of the present application. The apparatus is capable of implementing the functions performed by the bridging device in the method shown in FIG. 4 or FIG. 7 above. As shown in Figure 10, the device may include:
配置模块1001,用于在桥接设备中配置端点分享信息,所述端点分享信息用于指示与桥接的子设备对应的各个端点中被分享的端点;The configuration module 1001 is configured to configure endpoint sharing information in the bridge device, where the endpoint sharing information is used to indicate the shared endpoints among the endpoints corresponding to the bridged sub-device;
其中,所述被分享的端点,包括所述各个端点中的全部或部分端点;所述桥接的子设备是接入所述桥接设备的物联网设备。Wherein, the shared endpoints include all or part of the endpoints; the bridging sub-device is an IoT device connected to the bridging device.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
接收模块,用于在所述配置模块1001在所述桥接设备中配置端点分享信息之前,接收第一配置设备发送的打开配置窗口请求,所述打开配置窗口请求中包含桥接的子设备列表;所述桥接的子设备列表用于指示所述被分享的端点;The receiving module is configured to receive a configuration window opening request sent by the first configuration device before the configuration module 1001 configures the endpoint sharing information in the bridge device, and the configuration window opening request includes a bridge sub-device list; The bridged sub-device list is used to indicate the shared endpoint;
所述配置模块,用于根据所述桥接的子设备列表,在所述桥接设备中配置所述端点分享信息。The configuration module is configured to configure the endpoint sharing information in the bridging device according to the bridging sub-device list.
在一种可能的实现方式中,所述桥接的子设备列表中包含以下信息中的至少一种:In a possible implementation manner, the bridge sub-device list includes at least one of the following information:
所述被分享的端点的标识、以及所述被分享的端点的设备类型。An identifier of the shared endpoint, and a device type of the shared endpoint.
在一种可能的实现方式中,端点分享信息包括端点接入簇,所述配置模块1001,用于在所述桥接设备中配置端点接入簇;In a possible implementation manner, the endpoint sharing information includes an endpoint access cluster, and the configuration module 1001 is configured to configure an endpoint access cluster in the bridge device;
其中,所述端点接入簇的属性为端点接入列表;所述端点接入列表包含至少一条端点接入记录;所述端点接入记录用于指示被分享给目标安全域的端点;Wherein, the attribute of the endpoint access cluster is an endpoint access list; the endpoint access list includes at least one endpoint access record; the endpoint access record is used to indicate the endpoint shared to the target security domain;
其中,所述目标安全域是对所述桥接设备进行配置的第二配置设备所属的安全域。Wherein, the target security domain is a security domain to which the second configuration device that configures the bridging device belongs.
在一种可能的实现方式中,所述端点接入记录包含接入标识,以及,端点指示信息;In a possible implementation manner, the endpoint access record includes an access identifier and endpoint indication information;
其中,所述接入标识用于指示端点分享的对象;所述端点指示信息用于指示所述被分享的端点。Wherein, the access identifier is used to indicate the object to be shared by the endpoint; the endpoint indication information is used to indicate the shared endpoint.
在一种可能的实现方式中,所述接入标识包括:In a possible implementation manner, the access identifier includes:
所述目标安全域的结构索引;a structural index of the target security domain;
或者,所述目标安全域的结构索引,以及目标安全域中的目标节点的节点标识。Or, the structure index of the target security domain, and the node identifier of the target node in the target security domain.
在一种可能的实现方式中,所述端点指示信息包含端点列表和设备类型列表中的至少一种;In a possible implementation manner, the endpoint indication information includes at least one of an endpoint list and a device type list;
所述端点列表包含所述被分享的端点的标识;The endpoint list includes the identifiers of the shared endpoints;
所述设备类型列表中包含所述被分享的端点的设备类型。The device type list includes the device type of the shared endpoint.
在一种可能的实现方式中,所述配置模块1001,用于,In a possible implementation manner, the configuration module 1001 is configured to:
在所述桥接设备中初始化所述端点接入簇;初始化的所述端点接入簇中的接入标识字段中的值为填充值;所述接入标识字段是用于携带所述接入标识的字段;The endpoint access cluster is initialized in the bridging device; the value in the access identifier field in the initialized endpoint access cluster is a filling value; the access identifier field is used to carry the access identifier field;
在所述第二配置设备对所述桥接设备配置完成后,将所述填充值替换为所述接入标识。After the second configuration device configures the bridging device, the filling value is replaced with the access identifier.
在一种可能的实现方式中,所述填充值为密码标识或者指定字符。In a possible implementation manner, the filling value is a password identifier or a specified character.
在一种可能的实现方式中,所述配置模块1001,用于,In a possible implementation manner, the configuration module 1001 is configured to:
在接受所述第二配置设备的配置之前,在所述桥接设备中初始化所述端点接入簇;initializing the endpoint access cluster in the bridging device prior to accepting the configuration of the second configuration device;
或者,or,
在接受所述第二配置设备的配置过程中,在所述桥接设备中初始化所述端点接入簇。Initiating the endpoint access cluster in the bridging device during acceptance of configuration by the second configuration device.
在一种可能的实现方式中,端点分享信息包括描述符簇,所述配置模块1001,用于在所述桥接设备中配置描述符簇;In a possible implementation manner, the endpoint sharing information includes a descriptor cluster, and the configuration module 1001 is configured to configure the descriptor cluster in the bridge device;
其中,所述描述符簇中的组件列表包含支持的端点记录列表;所述支持的端点记录中包含支持的端点记录;所述支持的端点记录用于指示被分享给目标安全域的端点;Wherein, the component list in the descriptor cluster includes a list of supported endpoint records; the supported endpoint records include supported endpoint records; the supported endpoint records are used to indicate the endpoints shared to the target security domain;
其中,所述目标安全域是对所述桥接设备进行配置的第二配置设备所属的安全域。Wherein, the target security domain is a security domain to which the second configuration device that configures the bridging device belongs.
在一种可能的实现方式中,所述支持的端点记录包含接入标识,以及,端点指示信息;In a possible implementation manner, the supported endpoint record includes an access identifier and endpoint indication information;
其中,所述接入标识用于指示端点分享的对象;所述端点指示信息用于指示所述被分享的端点。Wherein, the access identifier is used to indicate the object to be shared by the endpoint; the endpoint indication information is used to indicate the shared endpoint.
在一种可能的实现方式中,所述接入标识包括:In a possible implementation manner, the access identifier includes:
所述目标安全域的结构索引;a structural index of the target security domain;
或者,所述目标安全域的结构索引,以及目标安全域中的目标节点的节点标识。Or, the structure index of the target security domain, and the node identifier of the target node in the target security domain.
在一种可能的实现方式中,所述端点指示信息包含端点列表和设备类型列表中的至少一种;In a possible implementation manner, the endpoint indication information includes at least one of an endpoint list and a device type list;
所述端点列表包含所述被分享的端点的标识;The endpoint list includes the identifiers of the shared endpoints;
所述设备类型列表中包含所述被分享的端点的设备类型。The device type list includes the device type of the shared endpoint.
在一种可能的实现方式中,所述配置模块1001,用于,In a possible implementation manner, the configuration module 1001 is configured to:
在所述桥接设备中初始化所述描述符簇;初始化的所述描述符簇中的接入标识字段中的值为填充值;所述接入标识字段是用于携带所述接入标识的字段;Initialize the descriptor cluster in the bridge device; the value in the initialized access identifier field in the descriptor cluster is a filling value; the access identifier field is a field for carrying the access identifier ;
在所述第二配置设备对所述桥接设备配置完成后,将所述填充值替换为所述接入标识。After the second configuration device configures the bridging device, the filling value is replaced with the access identifier.
在一种可能的实现方式中,所述填充值为密码标识或者指定字符。In a possible implementation manner, the filling value is a password identifier or a specified character.
在一种可能的实现方式中,所述配置模块1001,用于,In a possible implementation manner, the configuration module 1001 is configured to:
在接受所述第二配置设备的配置之前,在所述桥接设备中初始化所述描述符簇;initializing the descriptor cluster in the bridge device prior to accepting configuration from the second configuration device;
或者,or,
在接受所述第二配置设备的配置过程中,在所述桥接设备中初始化所述描述符簇。The descriptor cluster is initialized in the bridge device during acceptance of configuration by the second configuration device.
在一种可能的实现方式中,所述配置模块1001,还用于在接受所述第二配置设备的配置时,为所述目标安全域中的节点配置访问控制列表簇;所述访问控制列表簇的目标端点属于所述被分享的端点。In a possible implementation manner, the configuration module 1001 is further configured to configure an access control list cluster for nodes in the target security domain when accepting the configuration of the second configuration device; the access control list The cluster's target endpoints belong to the shared endpoints.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
发布模块,用于在所述配置模块在接受所述第二配置设备的配置时,为所述目标安全域中的节点配置访问控制列表簇之前,发布域名系统服务发现DNS-SD记录;An publishing module, configured to publish a domain name system service discovery DNS-SD record before the configuration module configures an access control list cluster for nodes in the target security domain when accepting the configuration of the second configuration device;
其中,所述DNS-SD记录中包含设备类型参数、端点列表参数以及端点设备类型参数中的至少一种;Wherein, the DNS-SD record includes at least one of a device type parameter, an endpoint list parameter, and an endpoint device type parameter;
所述设备类型参数用于指示所述桥接设备的设备类型;The device type parameter is used to indicate the device type of the bridging device;
所述端点列表参数用于指示可被发现的设备包含的端点的标识;The endpoint list parameter is used to indicate the identity of the endpoint contained in the discoverable device;
所述端点设备类型参数用于指示可被发现的设备的设备类型。The endpoint device type parameter is used to indicate the device type of the discoverable device.
综上所述,本申请实施例所示的方案,对于与接入桥接设备的物联网设备对应的各个端点,桥接设备可以在数据模型中配置上述各个端点中被分享的端点,后续可以基于这些被分享的端点来接受配置设备的配置,从而扩展了多管理模式下对桥接设备进行配置的场景,提高了Bridge架构下的Multi-admin配置的灵活性。To sum up, in the scheme shown in the embodiment of this application, for each endpoint corresponding to the IoT device connected to the bridge device, the bridge device can configure the shared endpoints among the above endpoints in the data model, and the follow-up can be based on these The shared endpoint accepts the configuration of the configuration device, thereby expanding the configuration scenario of the bridge device in the multi-management mode, and improving the flexibility of the Multi-admin configuration under the Bridge architecture.
请参考图11,其示出了本申请一个实施例提供的对桥接设备进行配置的装置的框图。该装置具有实现上述图5或图7所示的方法中,由第一配置设备执行的功能。如图11所示,该装置可以包括:Please refer to FIG. 11 , which shows a block diagram of an apparatus for configuring a bridge device provided by an embodiment of the present application. The apparatus has the functions executed by the first configuration device in the method shown in FIG. 5 or FIG. 7 . As shown in Figure 11, the device may include:
发送模块1101,用于向桥接设备发送打开配置窗口请求,所述打开配置窗口请求中包含桥接的子设备列表;The sending module 1101 is configured to send a request for opening a configuration window to the bridge device, and the request for opening the configuration window includes a bridge sub-device list;
其中,所述桥接的子设备列表用于指示被分享的端点;所述被分享的端点,包括与桥接的子设备对应的端点中的全部或部分端点;所述桥接的子设备是接入所述桥接设备的物联网设备;所述打开配置窗口请求用于指示所述桥接设备在数据模型中配置端点分享信息,所述端点分享信息用于指示所述被分享的端点。Wherein, the bridged sub-device list is used to indicate the shared endpoint; the shared endpoint includes all or part of the endpoints corresponding to the bridged sub-device; the bridged sub-device is a The Internet of Things device of the bridging device; the request to open the configuration window is used to instruct the bridging device to configure endpoint sharing information in the data model, and the endpoint sharing information is used to indicate the shared endpoint.
在一种可能的实现方式中,所述桥接的子设备列表中包含以下信息中的至少一种:In a possible implementation manner, the bridge sub-device list includes at least one of the following information:
所述被分享的端点的标识、以及所述被分享的端点的设备类型。An identifier of the shared endpoint, and a device type of the shared endpoint.
综上所述,本申请实施例所示的方案,对于与接入桥接设备的物联网设备对应的各个端点,第一配置设备指示桥接设备在数据模型中配置上述各个端点中被分享的端点,后续可以基于这些被分享的端点来接受配置设备的配置,从而扩展了多管理模式下对桥接设备进行配置的场景,提高了Bridge架构下的Multi-admin配置的灵活性。To sum up, in the solution shown in the embodiment of the present application, for each endpoint corresponding to the IoT device connected to the bridge device, the first configuration device instructs the bridge device to configure the shared endpoint among the above endpoints in the data model, Subsequent configurations of configuration devices can be accepted based on these shared endpoints, thereby expanding the scenarios for configuring bridge devices in multi-management mode and improving the flexibility of Multi-admin configuration under the Bridge architecture.
需要说明的一点是,上述实施例提供的装置在实现其功能时,仅以上述各个功能模块的划分进行举例说明,实际应用中,可以根据实际需要而将上述功能分配由不同的功能模块完成,即将设备的内容结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that when the device provided by the above embodiment realizes its functions, it only uses the division of the above-mentioned functional modules as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
请参考图12,其示出了本申请一个实施例提供的计算机设备1200的结构示意图。该计算机设备1200可以包括:处理器1201、接收器1202、发射器1203、存储器1204和总线1205。Please refer to FIG. 12 , which shows a schematic structural diagram of a computer device 1200 provided by an embodiment of the present application. The computer device 1200 may include: a processor 1201 , a receiver 1202 , a transmitter 1203 , a memory 1204 and a bus 1205 .
处理器1201包括一个或者一个以上处理核心,处理器1201通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。The processor 1201 includes one or more processing cores, and the processor 1201 executes various functional applications and information processing by running software programs and modules.
接收器1202和发射器1203可以实现为一个通信组件,该通信组件可以是一块通信芯片。该通信芯片也可以称为收发器。The receiver 1202 and the transmitter 1203 can be implemented as a communication component, which can be a communication chip. The communication chip can also be called a transceiver.
存储器1204通过总线1205与处理器1201相连。The memory 1204 is connected to the processor 1201 through the bus 1205 .
存储器1204可用于存储计算机程序,处理器1201用于执行该计算机程序,以实现上述方法实施例中的各个步骤。The memory 1204 may be used to store a computer program, and the processor 1201 is used to execute the computer program, so as to implement various steps in the foregoing method embodiments.
此外,存储器1204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:磁盘或光盘,电可擦除可编程只读存储器,可擦除可编程只读存储器,静态随时存取存储器,只读存储器,磁存储器,快闪存储器,可编程只读存储器。In addition, the memory 1204 can be realized by any type of volatile or non-volatile storage device or their combination, volatile or non-volatile storage device includes but not limited to: magnetic disk or optical disk, electrically erasable and programmable Read Only Memory, Erasable Programmable Read Only Memory, Static Anytime Access Memory, Read Only Memory, Magnetic Memory, Flash Memory, Programmable Read Only Memory.
在一个示例性的方案中,当计算机设备1200实现为桥接设备时,所述处理器1201,用于在桥接设备中配置端点分享信息,所述端点分享信息用于指示与桥接的子设备对应的各个端点中被分享的端点;In an exemplary solution, when the computer device 1200 is implemented as a bridging device, the processor 1201 is configured to configure endpoint sharing information in the bridging device, and the endpoint sharing information is used to indicate the The endpoints that are shared among the endpoints;
其中,所述被分享的端点,包括所述各个端点中的全部或部分端点;所述桥接的子设备是接入所述桥接设备的物联网设备。Wherein, the shared endpoints include all or part of the endpoints; the bridging sub-device is an IoT device connected to the bridging device.
其中,上述计算机设备1200中的处理器1201、收发器执行的过程可以参考上述图4或图7任一所示的方法中,由桥接设备执行的各个步骤。Wherein, the processes performed by the processor 1201 and the transceiver in the computer device 1200 may refer to the steps performed by the bridge device in any of the methods shown in FIG. 4 or FIG. 7 above.
在另一个示例性的方案中,当计算机设备1200实现为第一配置设备时,所述收发器,用于向桥接设备发送打开配置窗口请求,所述打开配置窗口请求中包含桥接的子设备列表;In another exemplary solution, when the computer device 1200 is implemented as the first configuration device, the transceiver is configured to send a request to open the configuration window to the bridge device, and the request to open the configuration window includes a bridge sub-device list ;
其中,所述桥接的子设备列表用于指示被分享的端点;所述被分享的端点,包括与桥接的子设备对应的端点中的全部或部分端点;所述桥接的子设备是接入所述桥接设备的物联网设备;所述打开配置窗口请求用于指示所述桥接设备在数据模型中配置端点分享信息,所述端点分享信息用于指示所述被分享的端点。Wherein, the bridged sub-device list is used to indicate the shared endpoint; the shared endpoint includes all or part of the endpoints corresponding to the bridged sub-device; the bridged sub-device is a The Internet of Things device of the bridging device; the request to open the configuration window is used to instruct the bridging device to configure endpoint sharing information in the data model, and the endpoint sharing information is used to indicate the shared endpoint.
其中,上述计算机设备1200中的处理器1201和/或收发器执行的过程可以参考上述图5或图7任一所示的方法中,由第一配置设备执行的各个步骤。Wherein, the process executed by the processor 1201 and/or the transceiver in the computer device 1200 may refer to the steps executed by the first configuration device in any of the methods shown in FIG. 5 or FIG. 7 above.
本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述图4、图5或者图7所示的方法中,由桥接设备或者第一配置设备执行的全部或者部分步骤。The embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is loaded and executed by a processor to implement the method shown in FIG. 4 , FIG. 5 or FIG. 7 above. In, all or part of the steps performed by the bridging device or the first configuration device.
本申请还提供了一种芯片,该芯片用于在计算机设备中运行,以使得计算机设备执行上述图4、图5或者图7所示的方法中,由桥接设备或者第一配置设备执行的全部或者部分步骤。The present application also provides a chip, which is used to run in a computer device, so that the computer device executes all the steps performed by the bridge device or the first configuration device in the method shown in FIG. 4 , FIG. 5 or FIG. 7 . or partial steps.
本申请还提供了一种计算机程序产品,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得计算机设备执行上述图4、图5或者图7所示的方法中,由桥接设备或者第一配置设备执行的全部或者部分步骤。The present application also provides a computer program product, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method shown in FIG. 4, FIG. 5 or FIG. 7 above, and the bridge device or the first configuration All or part of the steps performed by the device.
本申请还提供了一种计算机程序,该计算机程序由计算机设备的处理器执行,以实现上述图4、图5或者图7所示的方法中,由桥接设备或者第一配置设备执行的全部或者部分步骤。The present application also provides a computer program, the computer program is executed by the processor of the computer device, so as to realize all or partial steps.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in the foregoing one or more examples, the functions described in the embodiments of the present application may be implemented by hardware, software, firmware or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。The above are only exemplary embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within range.
Claims (47)
- 一种对桥接设备进行配置的方法,其特征在于,所述方法由桥接设备执行,所述方法包括:A method for configuring a bridging device, characterized in that the method is executed by the bridging device, and the method includes:在所述桥接设备中配置端点分享信息,所述端点分享信息用于指示与桥接的子设备对应的各个端点中被分享的端点;Configuring endpoint sharing information in the bridging device, the endpoint sharing information is used to indicate the shared endpoints among the endpoints corresponding to the bridged sub-device;其中,所述被分享的端点,包括所述各个端点中的全部或部分端点;所述桥接的子设备是接入所述桥接设备的物联网设备。Wherein, the shared endpoints include all or part of the endpoints; the bridging sub-device is an IoT device connected to the bridging device.
- 根据权利要求1所述的方法,其特征在于,在所述桥接设备中配置端点分享信息之前,还包括:The method according to claim 1, further comprising: before configuring the endpoint sharing information in the bridge device:接收第一配置设备发送的打开配置窗口请求,所述打开配置窗口请求中包含桥接的子设备列表;所述桥接的子设备列表用于指示所述被分享的端点;receiving a configuration window opening request sent by the first configuration device, the configuration window opening request including a bridged sub-device list; the bridged sub-device list is used to indicate the shared endpoint;所述在所述桥接设备中配置端点分享信息,包括:The configuring the endpoint sharing information in the bridge device includes:根据所述桥接的子设备列表,在所述桥接设备中配置所述端点分享信息。Configuring the endpoint sharing information in the bridge device according to the bridge sub-device list.
- 根据权利要求2所述的方法,其特征在于,所述桥接的子设备列表中包含以下信息中的至少一种:The method according to claim 2, wherein the bridged sub-device list includes at least one of the following information:所述被分享的端点的标识、以及所述被分享的端点的设备类型。An identifier of the shared endpoint, and a device type of the shared endpoint.
- 根据权利要求1至3任一所述的方法,其特征在于,所述端点分享信息包括端点接入簇,所述在所述桥接设备中配置端点分享信息,包括:The method according to any one of claims 1 to 3, wherein the endpoint sharing information includes endpoint access clusters, and configuring the endpoint sharing information in the bridging device includes:在所述桥接设备中配置所述端点接入簇;configuring the endpoint access cluster in the bridging device;其中,所述端点接入簇的属性为端点接入列表;所述端点接入列表包含至少一条端点接入记录;所述端点接入记录用于指示被分享给目标安全域的端点;Wherein, the attribute of the endpoint access cluster is an endpoint access list; the endpoint access list includes at least one endpoint access record; the endpoint access record is used to indicate the endpoint shared to the target security domain;其中,所述目标安全域是对所述桥接设备进行配置的第二配置设备所属的安全域。Wherein, the target security domain is a security domain to which the second configuration device that configures the bridging device belongs.
- 根据权利要求4所述的方法,其特征在于,所述端点接入记录包含接入标识,以及,端点指示信息;The method according to claim 4, wherein the endpoint access record includes an access identifier, and endpoint indication information;其中,所述接入标识用于指示端点分享的对象;所述端点指示信息用于指示所述被分享的端点。Wherein, the access identifier is used to indicate the object to be shared by the endpoint; the endpoint indication information is used to indicate the shared endpoint.
- 根据权利要求5所述的方法,其特征在于,所述接入标识包括:The method according to claim 5, wherein the access identifier comprises:所述目标安全域的结构索引;a structural index of the target security domain;或者,所述目标安全域的结构索引,以及目标安全域中的目标节点的节点标识。Or, the structure index of the target security domain, and the node identifier of the target node in the target security domain.
- 根据权利要求5所述的方法,其特征在于,所述端点指示信息包含端点列表和设备类型列表中的至少一种;The method according to claim 5, wherein the endpoint indication information includes at least one of an endpoint list and a device type list;所述端点列表包含所述被分享的端点的标识;The endpoint list includes the identifiers of the shared endpoints;所述设备类型列表中包含所述被分享的端点的设备类型。The device type list includes the device type of the shared endpoint.
- 根据权利要求5所述的方法,其特征在于,所述在所述桥接设备中配置端点接入簇,包括:The method according to claim 5, wherein the configuring the endpoint access cluster in the bridging device comprises:在所述桥接设备中初始化所述端点接入簇;初始化的所述端点接入簇中的接入标识字段中的值为填充值;所述接入标识字段是用于携带所述接入标识的字段;Initialize the endpoint access cluster in the bridging device; the value in the initialized access identifier field in the endpoint access cluster is a filling value; the access identifier field is used to carry the access identifier field;在所述第二配置设备对所述桥接设备配置完成后,将所述填充值替换为所述接入标识。After the second configuration device configures the bridging device, the filling value is replaced with the access identifier.
- 根据权利要求8所述的方法,其特征在于,所述填充值为密码标识或者指定字符。The method according to claim 8, wherein the filling value is a password identifier or a specified character.
- 根据权利要求8所述的方法,其特征在于,所述在所述桥接设备中初始化所述端点接入簇,包括:The method according to claim 8, wherein the initializing the endpoint access cluster in the bridging device comprises:在接受所述第二配置设备的配置之前,在所述桥接设备中初始化所述端点接入簇;initializing the endpoint access cluster in the bridging device prior to accepting the configuration of the second configuration device;或者,or,在接受所述第二配置设备的配置过程中,在所述桥接设备中初始化所述端点接入簇。Initiating the endpoint access cluster in the bridging device during acceptance of configuration by the second configuration device.
- 根据权利要求1至3任一所述的方法,其特征在于,所述端点分享信息包括描述符簇,所述在所述桥接设备中配置端点分享信息,包括:The method according to any one of claims 1 to 3, wherein the endpoint sharing information includes a descriptor cluster, and configuring the endpoint sharing information in the bridge device includes:在所述桥接设备中配置描述符簇;configuring descriptor clusters in the bridge device;其中,所述描述符簇中的组件列表包含支持的端点记录列表;所述支持的端点记录中包含支持的端点记录;所述支持的端点记录用于指示被分享给目标安全域的端点;Wherein, the component list in the descriptor cluster includes a list of supported endpoint records; the supported endpoint records include supported endpoint records; the supported endpoint records are used to indicate the endpoints shared to the target security domain;其中,所述目标安全域是对所述桥接设备进行配置的第二配置设备所属的安全域。Wherein, the target security domain is a security domain to which the second configuration device that configures the bridging device belongs.
- 根据权利要求11所述的方法,其特征在于,所述支持的端点记录包含接入标识,以及,端点指示信息;The method according to claim 11, wherein the supported endpoint record includes an access identifier, and endpoint indication information;其中,所述接入标识用于指示端点分享的对象;所述端点指示信息用于指示所述被分享的端点。Wherein, the access identifier is used to indicate the object to be shared by the endpoint; the endpoint indication information is used to indicate the shared endpoint.
- 根据权利要求12所述的方法,其特征在于,所述接入标识包括:The method according to claim 12, wherein the access identifier comprises:所述目标安全域的结构索引;a structural index of the target security domain;或者,所述目标安全域的结构索引,以及目标安全域中的目标节点的节点标识。Or, the structure index of the target security domain, and the node identifier of the target node in the target security domain.
- 根据权利要求12所述的方法,其特征在于,所述端点指示信息包含端点列表和设备类型列表中的至少一种;The method according to claim 12, wherein the endpoint indication information includes at least one of an endpoint list and a device type list;所述端点列表包含所述被分享的端点的标识;The endpoint list includes the identifiers of the shared endpoints;所述设备类型列表中包含所述被分享的端点的设备类型。The device type list includes the device type of the shared endpoint.
- 根据权利要求12所述的方法,其特征在于,所述在所述桥接设备中配置描述符簇,包括:The method according to claim 12, wherein the configuring the descriptor cluster in the bridge device comprises:在所述桥接设备中初始化所述描述符簇;初始化的所述描述符簇中的接入标识字段中的值为填充值;所述接入标识字段是用于携带所述接入标识的字段;Initialize the descriptor cluster in the bridge device; the value in the initialized access identifier field in the descriptor cluster is a filling value; the access identifier field is a field for carrying the access identifier ;在所述第二配置设备对所述桥接设备配置完成后,将所述填充值替换为所述接入标识。After the second configuration device configures the bridging device, the filling value is replaced with the access identifier.
- 根据权利要求15所述的方法,其特征在于,所述填充值为密码标识或者指定字符。The method according to claim 15, wherein the filling value is a password identifier or a specified character.
- 根据权利要求15所述的方法,其特征在于,所述在所述桥接设备中初始化所述描述符簇,包括:The method according to claim 15, wherein the initializing the descriptor cluster in the bridge device comprises:在接受所述第二配置设备的配置之前,在所述桥接设备中初始化所述描述符簇;initializing the descriptor cluster in the bridge device prior to accepting configuration from the second configuration device;或者,or,在接受所述第二配置设备的配置过程中,在所述桥接设备中初始化所述描述符簇。The descriptor cluster is initialized in the bridge device during acceptance of configuration by the second configuration device.
- 根据权利要求4至17任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 4 to 17, further comprising:在接受所述第二配置设备的配置时,为所述目标安全域中的节点配置访问控制列表簇;所述访问控制列表簇的目标端点属于所述被分享的端点。When accepting the configuration of the second configuration device, configure an access control list cluster for the nodes in the target security domain; the target endpoint of the access control list cluster belongs to the shared endpoint.
- 根据权利要求1至18任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 18, further comprising:发布域名系统服务发现DNS-SD记录;Publish DNS service discovery DNS-SD records;其中,所述DNS-SD记录中包含设备类型参数、端点列表参数以及端点设备类型参数中的至少一种;Wherein, the DNS-SD record includes at least one of a device type parameter, an endpoint list parameter, and an endpoint device type parameter;所述设备类型参数用于指示所述桥接设备的设备类型;The device type parameter is used to indicate the device type of the bridging device;所述端点列表参数用于指示可被发现的设备包含的端点的标识;The endpoint list parameter is used to indicate the identity of the endpoint contained in the discoverable device;所述端点设备类型参数用于指示可被发现的设备的设备类型。The endpoint device type parameter is used to indicate the device type of the discoverable device.
- 一种对桥接设备进行配置的方法,其特征在于,所述方法由第一配置设备执行,所述方法包括:A method for configuring a bridging device, wherein the method is executed by a first configuration device, and the method includes:向桥接设备发送打开配置窗口请求,所述打开配置窗口请求中包含桥接的子设备列表;Send a request to open a configuration window to the bridge device, the request to open the configuration window includes a bridged sub-device list;其中,所述桥接的子设备列表用于指示被分享的端点;所述被分享的端点,包括与桥接的子设备对应的端点中的全部或部分端点;所述桥接的子设备是接入所述桥接设备的物联网设备;所述打开配置窗口请求用于指示所述桥接设备中配置端点分享信息,所述端点分享信息用于指示所述被分享的端点。Wherein, the bridged sub-device list is used to indicate the shared endpoint; the shared endpoint includes all or part of the endpoints corresponding to the bridged sub-device; the bridged sub-device is a The Internet of Things device of the bridging device; the request to open the configuration window is used to indicate that the endpoint sharing information is configured in the bridging device, and the endpoint sharing information is used to indicate the shared endpoint.
- 根据权利要求20所述的方法,其特征在于,所述桥接的子设备列表中包含以下信息中的至少一种:The method according to claim 20, wherein the bridged sub-device list includes at least one of the following information:所述被分享的端点的标识、以及所述被分享的端点的设备类型。An identifier of the shared endpoint, and a device type of the shared endpoint.
- 一种对桥接设备进行配置的装置,其特征在于,所述装置包括:A device for configuring a bridging device, characterized in that the device comprises:配置模块,用于在桥接设备中配置端点分享信息,所述端点分享信息用于指示与桥接的子设备对应的各个端点中被分享的端点;A configuration module, configured to configure endpoint sharing information in the bridging device, where the endpoint sharing information is used to indicate the shared endpoints among the endpoints corresponding to the bridged sub-device;其中,所述被分享的端点,包括所述各个端点中的全部或部分端点;所述桥接的子设备是接入所述桥接设备的物联网设备。Wherein, the shared endpoints include all or part of the endpoints; the bridging sub-device is an IoT device connected to the bridging device.
- 根据权利要求22所述的装置,其特征在于,所述装置还包括:The device according to claim 22, further comprising:接收模块,用于在所述配置模块在所述桥接设备中配置端点分享信息之前,接收第一配置设备发送的打开配置窗口请求,所述打开配置窗口请求中包含桥接的子设备列表;所述桥接的子设备列表用于指示所述被分享的端点;The receiving module is configured to receive a configuration window opening request sent by the first configuration device before the configuration module configures the endpoint sharing information in the bridging device, and the configuration window opening request includes a bridge sub-device list; the The bridged sub-device list is used to indicate the shared endpoint;所述配置模块,用于根据所述桥接的子设备列表,在所述桥接设备中配置所述端点分享信息。The configuration module is configured to configure the endpoint sharing information in the bridging device according to the bridging sub-device list.
- 根据权利要求23所述的装置,其特征在于,所述桥接的子设备列表中包含以下信息中的至少一种:The device according to claim 23, wherein the bridged sub-device list includes at least one of the following information:所述被分享的端点的标识、以及所述被分享的端点的设备类型。An identifier of the shared endpoint, and a device type of the shared endpoint.
- 根据权利要求22至24任一所述的装置,其特征在于,所述端点分享信息包括端点接入簇,所述配置模块,用于在所述桥接设备中配置端点接入簇;The device according to any one of claims 22 to 24, wherein the endpoint sharing information includes an endpoint access cluster, and the configuration module is configured to configure an endpoint access cluster in the bridging device;其中,所述端点接入簇的属性为端点接入列表;所述端点接入列表包含至少一条端点接入记录;所述端点接入记录用于指示被分享给目标安全域的端点;Wherein, the attribute of the endpoint access cluster is an endpoint access list; the endpoint access list includes at least one endpoint access record; the endpoint access record is used to indicate the endpoint shared to the target security domain;其中,所述目标安全域是对所述桥接设备进行配置的第二配置设备所属的安全域。Wherein, the target security domain is a security domain to which the second configuration device that configures the bridging device belongs.
- 根据权利要求25所述的装置,其特征在于,所述端点接入记录包含接入标识,以及,端点指示信息;The device according to claim 25, wherein the endpoint access record includes an access identifier, and endpoint indication information;其中,所述接入标识用于指示端点分享的对象;所述端点指示信息用于指示所述被分享的端点。Wherein, the access identifier is used to indicate the object to be shared by the endpoint; the endpoint indication information is used to indicate the shared endpoint.
- 根据权利要求26所述的装置,其特征在于,所述接入标识包括:The device according to claim 26, wherein the access identifier comprises:所述目标安全域的结构索引;a structural index of the target security domain;或者,所述目标安全域的结构索引,以及目标安全域中的目标节点的节点标识。Or, the structure index of the target security domain, and the node identifier of the target node in the target security domain.
- 根据权利要求26所述的装置,其特征在于,所述端点指示信息包含端点列表和设备类型列表中的至少一种;The apparatus according to claim 26, wherein the endpoint indication information includes at least one of an endpoint list and a device type list;所述端点列表包含所述被分享的端点的标识;The endpoint list includes the identifiers of the shared endpoints;所述设备类型列表中包含所述被分享的端点的设备类型。The device type list includes the device type of the shared endpoint.
- 根据权利要求26所述的装置,其特征在于,所述配置模块,用于,The device according to claim 26, wherein the configuration module is configured to:在所述桥接设备中初始化所述端点接入簇;初始化的所述端点接入簇中的接入标识字段中的值为填充值;所述接入标识字段是用于携带所述接入标识的字段;Initialize the endpoint access cluster in the bridging device; the value in the initialized access identifier field in the endpoint access cluster is a filling value; the access identifier field is used to carry the access identifier field;在所述第二配置设备对所述桥接设备配置完成后,将所述填充值替换为所述接入标识。After the second configuration device configures the bridging device, the filling value is replaced with the access identifier.
- 根据权利要求29所述的装置,其特征在于,所述填充值为密码标识或者指定字符。The device according to claim 29, wherein the filling value is a password identifier or a specified character.
- 根据权利要求29所述的装置,其特征在于,所述配置模块,用于,The device according to claim 29, wherein the configuration module is configured to:在接受所述第二配置设备的配置之前,在所述桥接设备中初始化所述端点接入簇;initializing the endpoint access cluster in the bridging device prior to accepting the configuration of the second configuration device;或者,or,在接受所述第二配置设备的配置过程中,在所述桥接设备中初始化所述端点接入簇。Initiating the endpoint access cluster in the bridging device during acceptance of configuration by the second configuration device.
- 根据权利要求22至24任一所述的装置,其特征在于,所述端点分享信息包括描述符簇,所述配置模块,用于,在所述桥接设备中配置描述符簇;The device according to any one of claims 22 to 24, wherein the endpoint sharing information includes a descriptor cluster, and the configuration module is configured to configure the descriptor cluster in the bridge device;其中,所述描述符簇中的组件列表包含支持的端点记录列表;所述支持的端点记录中包 含支持的端点记录;所述支持的端点记录用于指示被分享给目标安全域的端点;Wherein, the component list in the descriptor cluster includes a supported endpoint record list; the supported endpoint record includes a supported endpoint record; the supported endpoint record is used to indicate the endpoint shared to the target security domain;其中,所述目标安全域是对所述桥接设备进行配置的第二配置设备所属的安全域。Wherein, the target security domain is a security domain to which the second configuration device that configures the bridging device belongs.
- 根据权利要求32所述的装置,其特征在于,所述支持的端点记录包含接入标识,以及,端点指示信息;The device according to claim 32, wherein the supported endpoint record includes an access identifier, and endpoint indication information;其中,所述接入标识用于指示端点分享的对象;所述端点指示信息用于指示所述被分享的端点。Wherein, the access identifier is used to indicate the object to be shared by the endpoint; the endpoint indication information is used to indicate the shared endpoint.
- 根据权利要求33所述的装置,其特征在于,所述接入标识包括:The device according to claim 33, wherein the access identifier comprises:所述目标安全域的结构索引;a structural index of the target security domain;或者,所述目标安全域的结构索引,以及目标安全域中的目标节点的节点标识。Or, the structure index of the target security domain, and the node identifier of the target node in the target security domain.
- 根据权利要求33所述的装置,其特征在于,所述端点指示信息包含端点列表和设备类型列表中的至少一种;The device according to claim 33, wherein the endpoint indication information includes at least one of an endpoint list and a device type list;所述端点列表包含所述被分享的端点的标识;The endpoint list includes the identifiers of the shared endpoints;所述设备类型列表中包含所述被分享的端点的设备类型。The device type list includes the device type of the shared endpoint.
- 根据权利要求33所述的装置,其特征在于,所述配置模块,用于,The device according to claim 33, wherein the configuration module is configured to:在所述桥接设备中初始化所述描述符簇;初始化的所述描述符簇中的接入标识字段中的值为填充值;所述接入标识字段是用于携带所述接入标识的字段;Initialize the descriptor cluster in the bridge device; the value in the initialized access identifier field in the descriptor cluster is a filling value; the access identifier field is a field for carrying the access identifier ;在所述第二配置设备对所述桥接设备配置完成后,将所述填充值替换为所述接入标识。After the second configuration device configures the bridging device, the filling value is replaced with the access identifier.
- 根据权利要求36所述的装置,其特征在于,所述填充值为密码标识或者指定字符。The device according to claim 36, wherein the filling value is a password identifier or a specified character.
- 根据权利要求36所述的装置,其特征在于,所述配置模块,用于,The device according to claim 36, wherein the configuration module is configured to:在接受所述第二配置设备的配置之前,在所述桥接设备中初始化所述描述符簇;initializing the descriptor cluster in the bridge device prior to accepting configuration from the second configuration device;或者,or,在接受所述第二配置设备的配置过程中,在所述桥接设备中初始化所述描述符簇。The descriptor cluster is initialized in the bridge device during acceptance of configuration by the second configuration device.
- 根据权利要求25至38任一所述的装置,其特征在于,所述配置模块,还用于在接受所述第二配置设备的配置时,为所述目标安全域中的节点配置访问控制列表簇;所述访问控制列表簇的目标端点属于所述被分享的端点。The device according to any one of claims 25 to 38, wherein the configuration module is further configured to configure an access control list for nodes in the target security domain when accepting the configuration of the second configuration device cluster; the target endpoint of the access control list cluster belongs to the shared endpoint.
- 根据权利要求22至39任一所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 22 to 39, wherein the device further comprises:发布模块,用于在所述配置模块在接受所述第二配置设备的配置时,为所述目标安全域中的节点配置访问控制列表簇之前,发布域名系统服务发现DNS-SD记录;An publishing module, configured to publish a domain name system service discovery DNS-SD record before the configuration module configures an access control list cluster for nodes in the target security domain when accepting the configuration of the second configuration device;其中,所述DNS-SD记录中包含设备类型参数、端点列表参数以及端点设备类型参数中的至少一种;Wherein, the DNS-SD record includes at least one of a device type parameter, an endpoint list parameter, and an endpoint device type parameter;所述设备类型参数用于指示所述桥接设备的设备类型;The device type parameter is used to indicate the device type of the bridging device;所述端点列表参数用于指示可被发现的设备包含的端点的标识;The endpoint list parameter is used to indicate the identity of the endpoint contained in the discoverable device;所述端点设备类型参数用于指示可被发现的设备的设备类型。The endpoint device type parameter is used to indicate the device type of the discoverable device.
- 一种对桥接设备进行配置的装置,其特征在于,所述装置包括:A device for configuring a bridging device, characterized in that the device comprises:发送模块,用于向桥接设备发送打开配置窗口请求,所述打开配置窗口请求中包含桥接的子设备列表;A sending module, configured to send a request to open a configuration window to the bridge device, wherein the request to open the configuration window includes a list of bridged sub-devices;其中,所述桥接的子设备列表用于指示被分享的端点;所述被分享的端点,包括与桥接的子设备对应的端点中的全部或部分端点;所述桥接的子设备是接入所述桥接设备的物联网设备;所述打开配置窗口请求用于指示所述桥接设备在数据模型中配置端点分享信息,所述端点分享信息用于指示所述被分享的端点。Wherein, the bridged sub-device list is used to indicate the shared endpoint; the shared endpoint includes all or part of the endpoints corresponding to the bridged sub-device; the bridged sub-device is a The Internet of Things device of the bridging device; the request to open the configuration window is used to instruct the bridging device to configure endpoint sharing information in the data model, and the endpoint sharing information is used to indicate the shared endpoint.
- 根据权利要求41所述的装置,其特征在于,所述桥接的子设备列表中包含以下信息中的至少一种:The device according to claim 41, wherein the bridged sub-device list includes at least one of the following information:所述被分享的端点的标识、以及所述被分享的端点的设备类型。An identifier of the shared endpoint, and a device type of the shared endpoint.
- 一种计算机设备,其特征在于,所述计算机设备包括处理器、存储器和收发器;A computer device, characterized in that the computer device includes a processor, a memory, and a transceiver;所述存储器中存储有计算机程序,所述处理器执行所述计算机程序,以使得所述计算机 设备实现如上述权利要求1至21任一所示的对桥接设备进行配置的方法。A computer program is stored in the memory, and the processor executes the computer program, so that the computer device implements the method for configuring a bridge device as shown in any one of claims 1 to 21.
- 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序,所述计算机程序用于被处理器执行,以实现如权利要求1至21任一所示的对桥接设备进行配置的方法。A computer-readable storage medium, wherein a computer program is stored in the storage medium, and the computer program is used to be executed by a processor, so as to implement the bridge device as shown in any one of claims 1 to 21. The method of configuration.
- 一种芯片,其特征在于,所述芯片用于在计算机设备中运行,以使得所述计算机设备执行如权利要求1至21任一所示的对桥接设备进行配置的方法。A chip, characterized in that the chip is used to run in a computer device, so that the computer device executes the method for configuring a bridge device as claimed in any one of claims 1 to 21.
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机指令,所述计算机指令存储在计算机可读存储介质中;计算机设备的处理器从所述计算机可读存储介质读取所述计算机指令,并执行所述计算机指令,使得所述计算机设备执行如权利要求1至21任一所示的对桥接设备进行配置的方法。A computer program product, characterized in that the computer program product includes computer instructions, the computer instructions are stored in a computer-readable storage medium; a processor of a computer device reads the computer-readable instructions, and execute the computer instructions, so that the computer device executes the method for configuring a bridge device as shown in any one of claims 1 to 21.
- 一种计算机程序,其特征在于,所述计算机程序由计算机设备的处理器执行,以实现如权利要求1至21任一所示的对桥接设备进行配置的方法。A computer program, characterized in that the computer program is executed by a processor of a computer device to implement the method for configuring a bridge device as claimed in any one of claims 1 to 21.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/129911 WO2023082113A1 (en) | 2021-11-10 | 2021-11-10 | Method and apparatus for configuring bridging device, device, and storage medium |
CN202180102136.1A CN117917048A (en) | 2021-11-10 | 2021-11-10 | Method, device, equipment and storage medium for configuring bridging equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/129911 WO2023082113A1 (en) | 2021-11-10 | 2021-11-10 | Method and apparatus for configuring bridging device, device, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023082113A1 true WO2023082113A1 (en) | 2023-05-19 |
Family
ID=86335016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/129911 WO2023082113A1 (en) | 2021-11-10 | 2021-11-10 | Method and apparatus for configuring bridging device, device, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117917048A (en) |
WO (1) | WO2023082113A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104363153A (en) * | 2014-11-20 | 2015-02-18 | 万高(杭州)科技有限公司 | Internet of things, communication method oriented to internet of things, bridging device oriented to internet of things and access device |
CN108028786A (en) * | 2015-07-17 | 2018-05-11 | 维泰尔公司 | Control the centralized control system of the interaction and cooperation between the radio adaptation equipment run in the mesh network for supporting multiple radio communication protocols |
US10075334B1 (en) * | 2012-04-11 | 2018-09-11 | Google Llc | Systems and methods for commissioning a smart hub device |
US10142122B1 (en) * | 2012-04-11 | 2018-11-27 | Google Llc | User interfaces, systems and methods for configuring smart devices for interoperability with a smart hub device |
-
2021
- 2021-11-10 WO PCT/CN2021/129911 patent/WO2023082113A1/en active Application Filing
- 2021-11-10 CN CN202180102136.1A patent/CN117917048A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10075334B1 (en) * | 2012-04-11 | 2018-09-11 | Google Llc | Systems and methods for commissioning a smart hub device |
US10142122B1 (en) * | 2012-04-11 | 2018-11-27 | Google Llc | User interfaces, systems and methods for configuring smart devices for interoperability with a smart hub device |
CN104363153A (en) * | 2014-11-20 | 2015-02-18 | 万高(杭州)科技有限公司 | Internet of things, communication method oriented to internet of things, bridging device oriented to internet of things and access device |
CN108028786A (en) * | 2015-07-17 | 2018-05-11 | 维泰尔公司 | Control the centralized control system of the interaction and cooperation between the radio adaptation equipment run in the mesh network for supporting multiple radio communication protocols |
Also Published As
Publication number | Publication date |
---|---|
CN117917048A (en) | 2024-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9923978B2 (en) | Automated network service discovery and communication | |
US11936743B2 (en) | Device management services based on restful messaging | |
US9154378B2 (en) | Architecture for virtualized home IP service delivery | |
JP2018506868A (en) | Connectivity module for Internet of Things (IoT) devices | |
US11722456B2 (en) | Communications in internet-of-things devices | |
US11917399B2 (en) | Zero-touch deployment (ZTD) of cellular IoT devices and associated trust model | |
CN109644522A (en) | For passing through the method and system of wireless network secure loading equipemtn | |
US20090160626A1 (en) | Method for Setting Home Code in Network System and Device for Network | |
US20090073972A1 (en) | Address management method and message transmitting and receiving method in network control system | |
WO2021207942A1 (en) | Method and apparatus for controlling device in internet of things, and gateway device and storage medium | |
WO2023082113A1 (en) | Method and apparatus for configuring bridging device, device, and storage medium | |
US20080172481A1 (en) | Method of Configuring Network Profile of Network System | |
WO2022087796A1 (en) | Zigbee device attribute subscription method and apparatus, and device | |
WO2023108653A1 (en) | Subscription access information processing method and apparatus, computer device and storage medium | |
WO2023115584A1 (en) | Connection configuration method and apparatus, connection establishment method and apparatus, device, and storage medium | |
WO2023184559A1 (en) | Device sharing method and apparatus, and device, storage medium and program product | |
WO2023130405A1 (en) | Device configuration method and apparatus, computer device, and storage medium | |
WO2023216035A1 (en) | Security domain management method and apparatus, device, storage medium and program product | |
WO2024031681A1 (en) | Device binding method and apparatus, and device, storage medium and program product | |
WO2024031682A1 (en) | Device control method and apparatus, and device, storage medium and program product | |
WO2023065354A1 (en) | Information reporting method and apparatus, and device and storage medium | |
WO2024183048A1 (en) | Connection establishment method and apparatus | |
WO2023092504A1 (en) | Subscription control method and apparatus, and computer device and storage medium | |
WO2024103374A1 (en) | Processing method and apparatus for proxy subscription, and computer device and storage medium | |
TWI829435B (en) | Metaverse application gateway connection mechanism for use in a private communication architecture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21963568 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202180102136.1 Country of ref document: CN |