WO2023005649A1 - 设备控制权限的设置方法、装置、计算机设备和存储介质 - Google Patents
设备控制权限的设置方法、装置、计算机设备和存储介质 Download PDFInfo
- Publication number
- WO2023005649A1 WO2023005649A1 PCT/CN2022/104872 CN2022104872W WO2023005649A1 WO 2023005649 A1 WO2023005649 A1 WO 2023005649A1 CN 2022104872 W CN2022104872 W CN 2022104872W WO 2023005649 A1 WO2023005649 A1 WO 2023005649A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- target controlled
- control
- controlled device
- central node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/45—Structures or tools for the administration of authentication
- G06F21/46—Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y30/00—IoT infrastructure
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y30/00—IoT infrastructure
- G16Y30/10—Security thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Definitions
- the present application relates to the technical field of the Internet, and in particular to a device control authority setting method, device, computer equipment and storage medium.
- the Internet of Things is the "Internet of Everything Connected". It is a huge network formed by combining various information sensing devices with the network to realize the interconnection of people, machines and things at any time and any place.
- the IoT device is composed of hardware and the software system on it, and the device control of the IoT device can be realized by setting the device control authority of the IoT device.
- Embodiments of the present application provide a device control authority setting method, device, computer equipment, and storage medium, which can set the device control authority of the central node to the target controlled device across the Internet of Things system, so that the central node can efficiently control the target device.
- the controlled device performs device control.
- An embodiment of the present application provides a method for setting device control permissions, including:
- the embodiment of the present invention also provides another method for setting device control permissions, including:
- the device control information is used to instruct the target controlled device to set a control authority, and the control authority is for the central node to control the target controlled device device control permissions.
- the embodiment of the present invention also provides a device control permission setting device, including:
- the request receiving unit is configured to receive a device capability request sent by a central node that has established a connection relationship with the target controlled device, wherein the target controlled device and the central node belong to a different IoT system;
- a response unit configured to return, to the hub node, device capability information of the target controlled device in response to the device capability request, where the device capability information is used to instruct the hub node to generate a response to the target controlled device;
- Control device device control information
- an information receiving unit configured to receive device control information sent by the central node
- a permission setting unit configured to set permission information of the central node to the target controlled device based on the device control information.
- the central node includes a configuration device; the request receiving unit includes:
- the request receiving subunit is configured to receive a device capability request sent by a configuration device that has established a connection relationship with the target controlled device;
- the response unit includes:
- the response subunit is configured to return the device capability information of the target controlled device to the configuration device in response to the device capability request.
- the request receiving unit includes:
- the first connection establishment subunit is configured to establish a connection relationship between the target controlled device and the central node
- the capability receiving subunit is configured to receive the device capability request sent by the central node based on the connection relationship.
- the first connection establishment subunit is configured to:
- connection inquiry information sent by the central node; if the information format of the connection inquiry information meets the preset inquiry format, establish a connection relationship between the target controlled device and the central node.
- the first connection establishment subunit is specifically configured to:
- the query response information includes device information of the target controlled device; sending the query response information to the central node to establish the target The connection relationship between the controlled device and the central node.
- the capability receiving subunit is configured to:
- the hub node is authenticated; if the authentication is passed, the device capability request sent by the hub node is received.
- the capability receiving subunit is specifically configured to:
- certificate authentication or key authentication is performed on the hub node.
- the response unit includes:
- a capability determining subunit configured to determine device capability information of the target controlled device
- a capability returning subunit configured to return the device capability information of the target controlled device to the hub node in response to the device capability request, so as to trigger the hub node to generate a Device control information of the controlled device.
- the central node includes a configuration device and an access management device, and the configuration device has established a connection relationship with the target controlled device;
- the information receiving unit includes:
- the second connection establishment subunit is configured to establish an access connection relationship with the access management device through the configuration device;
- the control information receiving subunit is configured to receive device control information sent by the access management device based on the access connection relationship.
- the second connection establishment subunit is configured to:
- the second connection establishment subunit is specifically configured to:
- the second connection establishment subunit is specifically configured to:
- Obtaining the device verification information of the access management device sent by the configuration device wherein the device verification information sent by the configuration device is used to verify the access management device; based on the device verification information sent by the configuration device The device verifies the information, and acquires the communication address information sent by the access management device.
- the second connection establishment subunit is specifically configured to:
- the candidate access management device Obtain the device verification information and communication address information sent by the candidate access management device; based on the device verification information sent by the configuration device, verify the device verification information of the candidate access management device; if verified If it passes, the communication address information sent by the candidate access management device is determined as the communication address information sent by the access management device.
- the second connection establishment subunit is specifically configured to:
- Generate device search information and send the device search information to candidate access management devices; obtain response information generated by candidate access management devices based on the device search information, where the response information includes the candidate access management device device verification information and communication address information.
- control information receiving subunit is configured to:
- the access management device is authenticated; if the authentication is passed, the device control information sent by the access management device is received.
- control information receiving subunit is specifically configured to:
- control information receiving subunit is specifically configured to:
- control information receiving subunit is specifically configured to:
- the access authentication device generating an authentication request, and sending the authentication request to the access management device; acquiring device authentication information returned by the access management device in response to the authentication request, wherein the device authentication information is determined by the access authentication Generated by the device, the access authentication device and the access management device belong to the same IoT system.
- control information receiving subunit is specifically configured to:
- the central node includes a control device;
- the authority setting unit includes:
- the first authority setting subunit is configured to set the authority information of the controlling device to the target controlled device based on the device control information.
- the central node includes an access management device; the authority setting unit includes:
- the second authority setting subunit is configured to set the information change authority of the access management device to the target controlled device based on the device control information, wherein the information change authority represents the access management device, The right to change the device control information stored in the target controlled device.
- the device control information includes the system identifier of the target IoT system and the object identifier of the device control object, wherein the target IoT system is the IoT system to which the central node belongs, and the device The control object is an object that controls the target controlled device through the central node;
- the authority setting unit includes:
- the third permission setting subunit is configured to set the device control permission of the device control object in the target IoT system to the target controlled device based on the system identifier and the object identifier.
- the device control information further includes object attribute information of the device control object; the third permission setting subunit is configured to:
- the service invocation authority is the service provided by the device control object to the target controlled device Call authority, the service provided by the target controlled device is determined based on the device capability information of the target controlled device; based on the service call authority, set the device control object in the target IoT system to the target The device control authority of the controlled device.
- the third permission setting subunit is specifically used for:
- the object attribute information indicates that the device control object has information change authority to the target controlled device
- the device control authority of the control object represents the change authority of the device control object to the device control information stored in the target controlled device.
- the apparatus for setting device control permissions further includes:
- an instruction receiving unit configured to receive a device control instruction sent by the central node, wherein the device control instruction is used for the central node to perform device control on the target controlled device;
- An operation executing unit configured to execute an operation corresponding to the device control instruction.
- the instruction receiving unit includes:
- the first instruction receiving subunit is configured to receive a device control instruction sent by a first cloud server matching the target controlled device, wherein the device control instruction is sent by the central node to the target device through the second cloud server
- the instruction sent by the first cloud server, the second cloud server is a cloud server matching the hub node.
- the instruction receiving unit includes:
- the second instruction receiving subunit is configured to receive a device control instruction sent by a second cloud server matching the central node, wherein the device control instruction is an instruction sent by the central node to the second cloud server .
- the instruction receiving unit includes:
- the second connection establishment subunit is configured to establish a control connection relationship with the central node, wherein the control connection relationship is used for the central node to perform device control on the target controlled device;
- the third instruction receiving subunit is configured to receive the device control instruction sent by the central node based on the control connection relationship.
- the device control information includes the object identifier of the device control object and the connection key information corresponding to the device control object, wherein the device control object is used to control the target through the central node The object of the control device; the second connection establishment subunit is used for:
- the device control information further includes the target system identifier of the target IoT system and the target device identifier assigned by the target IoT system to the target controlled device, wherein the target IoT system Establishing a subunit for the IoT system to which the central node belongs; the second connection, specifically for:
- control connection request includes a central system identifier
- the central system identifier is an equipment identifier of the IoT system to which the central node belongs; if the central system identifier is identical to the target system If the identifiers match, a control connection relationship with the central node is established based on the target device identifier, the object identifier, and the connection key information.
- the second connection establishment subunit is specifically configured to:
- the device connection response information includes the target device identifier; sending the device connection response information to the central node, and based on the object identifier and the Connection key information to establish a control connection relationship with the central node.
- the device control instruction includes an information change instruction;
- the operation execution unit includes:
- an object determining subunit configured to determine a device control object corresponding to the device control instruction
- the operation execution subunit is configured to execute an information change operation corresponding to the information change instruction if the device control object has information change authority on the target controlled device.
- the embodiment of the present invention also provides a device control permission setting device, including:
- a capability acquisition unit configured to acquire device capability information of a target controlled device that has established a connection relationship with the central node
- an information generating unit configured to generate device control information of the target controlled device by the central node based on the device capability information
- an information sending unit configured to send the device control information to the target controlled device, wherein the device control information is used to instruct the target controlled device to set a control authority, and the control authority is for the central node to The device control authority of the target controlled device.
- the central node includes a configuration device; the capability acquisition unit includes:
- the first capability acquisition subunit is configured to trigger the configuration device to obtain device capability information of a target controlled device that has established a connection relationship with the configuration device.
- the capability acquisition unit includes:
- the first connection establishment subunit is configured to establish a connection relationship between the central node and the target controlled device, wherein the central node and the target controlled device belong to different IoT systems;
- the second capability obtaining subunit is configured to obtain device capability information of the target controlled device based on the connection relationship.
- the first connection establishment subunit is configured to:
- connection query information that satisfies a preset query format; send the connection query information to the target controlled device, and receive query response information sent by the target controlled device based on the connection query information, wherein the query response information including device information of the target controlled device; establishing a connection relationship between the central node and the target controlled device based on the device information.
- the first connection establishment subunit is specifically configured to:
- the first connection establishment subunit is specifically configured to:
- connection verification information of the target controlled device is acquired.
- the first connection establishment subunit is specifically configured to:
- connection verification information sent by a target client, where the target client is a client that matches the hub node, and the connection verification information is connection verification information corresponding to the target controlled device.
- the second capability acquisition subunit is configured to:
- Generate a device capability request for the target controlled device and send the device capability request to the target controlled device based on the connection relationship; receive the device returned by the target controlled device based on the device capability request capability information.
- the second capability acquisition subunit is specifically configured to:
- the target controlled device is authenticated; if the authentication is passed, the device capability request is sent to the target controlled device.
- the second capability acquisition subunit is specifically configured to:
- certificate authentication or key authentication is performed on the target controlled device.
- the central node includes an access management device; the information generating unit includes:
- the first information generation subunit is configured to trigger the access management device to generate device control information for the target controlled device by the access management device based on the device capability information, and send the information to the target controlled device The device control information.
- the information generation unit includes:
- An object determining subunit configured to determine a device control object of the central node, wherein the device control object is an object that controls the target controlled device through the central node;
- the second information generation subunit is configured to generate, based on the device capability information, device control information of the device control object in the target IoT system for the target controlled device, wherein the target IoT system is the The IoT system to which the central node belongs.
- the second information generation subunit is configured to:
- the control object refers to device control information of the target controlled device.
- the second information generation subunit is specifically configured to:
- the central node includes a configuration device and an access management device, and the configuration device has established a connection relationship with the target controlled device;
- the information sending unit includes:
- a second connection establishment subunit configured to establish an access connection relationship between the access management device and the target controlled device through the configuration device
- An information sending subunit configured to send the device control information to the target controlled device based on the access connection relationship.
- the second connection establishment subunit is configured to:
- the second connection establishment subunit is specifically configured to:
- the second connection establishment subunit is specifically configured to:
- the second connection establishment subunit is specifically configured to:
- the information sending subunit is used for:
- the target controlled device is authenticated; if the authentication is passed, the device control information is sent to the target controlled device.
- the central node further includes an access authentication device; the information sending subunit is specifically configured to:
- the target controlled device is authenticated by the access authentication device.
- the information sending subunit before sending the device control information to the target controlled device, is further configured to:
- the device authentication information is used for the target controlled device to authenticate the access management device; sending the device authentication information to the target controlled device information.
- the information sending subunit is further configured to:
- the central node further includes an access authentication device; the information sending subunit is further configured to:
- the information sending subunit is specifically used for:
- the authentication is passed, receiving the device information sent by the target controlled device to perform device registration on the target controlled device; based on the registration result, sending the device control information to the target controlled device.
- the apparatus for setting device control permissions further includes:
- An instruction sending unit configured to send a device control instruction to the target controlled device, so as to perform device control on the target controlled device through the device control instruction.
- the instruction sending unit includes:
- the first instruction sending subunit is configured to send a device control instruction to a second cloud server, so as to send the device control instruction to the target controlled device through the second cloud server, wherein the second cloud server is A cloud server matching the hub node.
- the instruction sending unit includes:
- the second instruction sending subunit is configured to send a device control instruction to a second cloud server, to send the device control instruction to the first cloud server through the second cloud server, and send the device control instruction to the first cloud server through the first cloud server.
- the target controlled device sends the device control instruction, wherein the second cloud server is a cloud server matching the central node, and the first cloud server is a cloud server matching the target controlled device.
- the instruction sending unit includes:
- a third connection establishing subunit configured to establish a control connection relationship with the target controlled device, wherein the control connection relationship is used for the central node to perform device control on the target controlled device;
- the third instruction sending subunit is configured to send a device control instruction to the target controlled device based on the control connection relationship.
- the device control information includes the object identifier of the device control object and the connection key information corresponding to the device control object, wherein the device control object is used to control the target through the central node The object of the control device; the third connection establishment subunit is used for:
- the device control information further includes the target system identifier of the target IoT system and the target device identifier assigned by the target IoT system to the target controlled device, wherein the target IoT system Establishing a subunit for the IoT system to which the central node belongs; the third connection, specifically for:
- control connection request Generate a control connection request, and send the control connection request to the target controlled device, where the control connection request includes the target system identifier; receive control connection response information sent by the target controlled device, where, The control connection response information includes a first device identifier corresponding to the target controlled device; if the first device identifier matches the target device identifier, based on the object identifier and the connection key information, establish The control connection relationship with the target controlled device.
- the third instruction sending subunit is configured to:
- the embodiment of the present application further provides a storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the method for setting the device control authority as shown in the embodiment of the present application is implemented.
- an embodiment of the present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, wherein, when the processor executes the computer program, the computer program as described in the present invention is implemented.
- a computer device including a memory, a processor, and a computer program stored in the memory and operable on the processor, wherein, when the processor executes the computer program, the computer program as described in the present invention is implemented.
- the method for setting the device control authority shown in the embodiment of the application.
- a device capability request sent by a central node that has established a connection relationship with the target controlled device may be received, wherein the target controlled device and the central node belong to a different IoT system; in response to the device A capability request, returning the device capability information of the target controlled device to the central node, wherein the device capability information is used to instruct the central node to generate device control information for the target controlled device; receiving the The device control information sent by the central node; based on the device control information, setting the authority information of the central node to the target controlled device.
- This solution can enable the central node of the IoT system that is different from the target controlled device to set its device control authority for the target controlled device, so as to realize device control in a cross-IoT system scenario.
- this solution establishes a connection relationship between the target controlled device and the central node, so that the central node can obtain the device capability information of the target controlled device based on the connection relationship, and then generate a device control device for setting permission information. information, and through the device control information, set the device control authority of the central node to the target controlled device.
- the solution can support the target controlled device to be controlled by local central devices such as third-party applications, smart speakers, gateways, smart TVs, routers, etc., so that the interconnection between the target controlled devices under the cross-IoT system has been improved. .
- this solution compared with the protocol interconnection or standardization based on cloud-cloud or terminal-cloud, this solution not only avoids the former's low performance and stability problems caused by long data links, but also improves the latter because of IoT devices.
- the inability to access the cloud of equipment manufacturers leads to the problem that equipment manufacturers are not motivated and difficult to promote. Therefore, this solution can further improve the interconnection and intercommunication between IoT devices under cross-IoT systems at low cost and without affecting the connection of IoT devices to the device manufacturer's cloud.
- FIG. 1 is a schematic diagram of a scene of a method for setting device control authority provided by an embodiment of the present application
- FIG. 2 is a flowchart of a method for setting device control authority provided by an embodiment of the present application
- FIG. 3 is an interactive schematic diagram of a method for setting device control authority provided by an embodiment of the present application
- Fig. 4 is another interactive schematic diagram of the method for setting device control authority provided by the embodiment of the present application.
- Fig. 5 is another interactive schematic diagram of the method for setting device control authority provided by the embodiment of the present application.
- Fig. 6 is another interactive schematic diagram of the method for setting device control authority provided by the embodiment of the present application.
- Fig. 7 is another interactive schematic diagram of the method for setting device control authority provided by the embodiment of the present application.
- Fig. 8 is another interactive schematic diagram of the method for setting device control authority provided by the embodiment of the present application.
- FIG. 9 is another schematic flowchart of a method for setting device control authority provided by an embodiment of the present application.
- Fig. 10 is another interactive schematic diagram of the method for setting device control authority provided by the embodiment of the present application.
- Fig. 11 is a schematic structural diagram of an apparatus for setting device control authority provided by an embodiment of the present application.
- Fig. 12 is another structural schematic diagram of the apparatus for setting device control authority provided by the embodiment of the present application.
- Fig. 13 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
- Embodiments of the present application provide a device control authority setting method, device, computer device, storage medium, etc., which can improve the interconnection and intercommunication between IoT devices under cross-IoT systems.
- the embodiment of the present application provides a system for setting device control permissions at least including: a target controlled device 10 and a central node 20 .
- the target controlled device 10 is connected to the central node 20 through a network, for example, through a wired or wireless network connection.
- the target controlled device 10 and the central node 20 in this application belong to different IoT systems, that is, they are IoT objects under different IoT systems.
- the IoT system may also be referred to as the IoT system, and they have equivalent concepts.
- the Internet of Things refers to the real-time collection of any information that needs to be monitored, connected, Or interacting objects or processes, collect various required information such as sound, light, heat, electricity, mechanics, chemistry, biology, or location, and realize the interaction between objects and objects, and between objects and people through various possible network accesses. Ubiquitous connection enables intelligent perception, identification and management of items and processes.
- the Internet of Things is an information carrier based on the Internet and traditional telecommunication networks. It allows all ordinary physical objects that can be independently addressed to form an interconnected network.
- Internet of Things devices refer to devices with sensor detection functions or access devices with intelligent functions in the Internet of Things.
- devices that support temperature detection sensors or home smart devices which can be a smart home system composed of multiple devices
- smart devices may also support certain control functions, such as restarting, firmware upgrades, etc.
- IoT devices may include smart speakers, smart TVs, smart air conditioners, smart refrigerators, and smart water heaters, gateways, routers, and sweeping robots.
- the IoT device may also be a terminal device such as a mobile phone, a tablet computer, or a notebook computer.
- a corresponding IoT client may run on the terminal device.
- the client may include a browser application (also called a Web application), an application (Application, APP), and a small program.
- the Internet of Things system is a comprehensive system platform that realizes interconnection and interoperability.
- the objects of the Internet of Things belonging to the same Internet of Things system can interact by following the data interaction guidelines under the Internet of Things system.
- the IoT system It can have relevant permissions for data interaction, so that IoT objects under the same IoT system can perform data interaction more quickly.
- IoT objects belonging to the same IoT system can be referred to as IoT objects belonging to the same IoT ecosystem, or as IoT objects belonging to the same ecosystem.
- IoT objects belonging to the same IoT ecosystem for an IoT system built by an organization subject, including applications, cloud servers, IoT devices, and services, it can be considered that the IoT objects in the IoT system are the objects in the IoT ecosystem constructed by the organization subject. of IoT objects.
- the organizational subject may be a single subject, for example, a certain manufacturer, a certain manufacturer, or a certain brand, etc., or an organization composed of multiple subjects, for example, an alliance organization formed by negotiation of multiple manufacturers.
- FIG. 3 shows a schematic diagram of another embodiment of the setting system provided by the present application.
- the setting system shown in FIG. 3 includes other devices belonging to the same IoT system as the target controlled device 10 .
- the target controlled device 10 is the IoT device shown in FIG. 3
- the hub node 20 is the third-party local hub shown in FIG. 3 .
- the setup system shown in Figure 3 besides the IoT device and the third-party local hub, it also includes the IoT APP corresponding to the IoT device belonging to the same IoT system as the IoT device, and the cloud server IoT cloud corresponding to the IoT device. Among them, both IoT APP and IoT devices belonging to the same IoT system can exchange data with the IoT cloud.
- the target controlled device 10 in this application may be an Internet of Things device.
- the target controlled device in the smart home application scenario, may be a smart home appliance provided by manufacturer A; in the smart security application scenario, the target controlled device may be a smart security device provided by manufacturer A; etc. .
- the IoT devices have been specifically introduced above, and the examples here should not be construed as limiting the present application.
- the central node and the target controlled device belong to different IoT systems, and the central node is a node capable of controlling and managing the IoT device.
- the central node can interact with the target controlled device, so as to be controlled by the central node.
- the hub node is a third-party local hub of the target controlled device, where "third party” is used to emphasize that the hub node and the target controlled device belong to different IoT systems, for example, the hub node and the target controlled device It refers to IoT devices belonging to different manufacturers; "local hub” is used to emphasize that the hub node is a local device that can control and manage the target controlled device.
- the IoT system to which the central node belongs can be configured with a corresponding IoT App for the central node, and the IoT App and the target controlled device belong to a different IoT system. Therefore, in some embodiments, the central node can specifically be a terminal device running a corresponding Internet of Things App, and the terminal device can control the target controlled device by performing the steps in the method for setting device control permissions described in this application. Controlling, that is, the form of the central node can not only be an Internet of Things device, but also a terminal device running a corresponding Internet of Things App.
- the terminal device can include a mobile phone, a tablet computer, and a notebook computer.
- the setting system in addition to including the target controlled device and the central node, the setting system can also include other IoT objects that belong to the same IoT system as the central node.
- a cloud server corresponding to a hub node may be included.
- the IoT device is the target controlled device 10, wherein the IoT device, IoT APP, and IoT cloud belong to the same IoT system; the third-party local hub is the hub node 20, and the third-party cloud is the cloud corresponding to the third-party local hub.
- the server, third-party cloud and third-party local hub belong to the same IoT system; the third-party local hub can exchange data with the third-party cloud.
- the central node may include at least one IoT device.
- the hub node may specifically include the following IoT devices: an access management device, an access authentication device, a configuration device, a control device, and the like.
- the access management device can be used to manage the access of IoT devices to the central node, for example, the access management device can be a smart speaker, etc.
- the access authentication device can be used to connect
- the access authentication device can be a smart speaker, etc.
- the configuration device can be used to configure between the central device and the IoT device, for example, the configuration device can be a terminal running an IoT client, a smart speaker, etc.
- the control device may be used to control the IoT device, for example, the control device may be a smart speaker or the like.
- the central node may only include one IoT device, such as a smart speaker, or a smart TV, etc.; as another example, a terminal device running a corresponding IoT App, which may include a mobile phone, a tablet computer, and a notebook computer wait.
- IoT devices such as a smart speaker, or a smart TV, etc.
- a terminal device running a corresponding IoT App which may include a mobile phone, a tablet computer, and a notebook computer wait.
- the number or types of IoT devices included in the target controlled device and the number or types of IoT devices included in the hub node may be the same or different, and this application does not limit this.
- a method for setting a device control authority provided in an embodiment of the present application as shown in FIG. 2 , the method for setting the device control authority may be as follows:
- the target controlled device receives the device capability request sent by the central node, which is data for requesting to acquire the capability model of the target controlled device.
- the data format of the device capability request can be various, for example, it can be message data, for example, a multicast message or a broadcast message.
- the established connection relationship between the target controlled device and the central node is the connection relationship in the configuration process.
- processes such as configuration, access management, access authentication and control may be included.
- the configuration process refers to that the steps required for the subsequent implementation of access management, access authentication, and control are equipped and arranged before each step.
- the configuration process may include steps such as network configuration, identification, and connection.
- the central node may include a configuration device, and the central node may obtain the capability model of the target controlled device through the configuration device.
- the node sends the device capability request, and returns the device capability information of the target controlled device to the central node in response to the device capability request, which may include:
- the target controlled device and the configuration device can agree on the format of the device capability request.
- the configuration device can establish a connection relationship with the target controlled device.
- the configuration device can pass Generate a device capability request that meets the preset agreed format, and send the device capability request to the target controlled device to request to acquire the capability model of the target controlled device.
- the target controlled device may return the device capability information of the target controlled device to the configuration device in response to the device capability request.
- the target controlled device can establish a connection relationship with the central node, so that based on the connection relationship, the device capability request sent by the central node can be obtained.
- the step "receiving and The target controlled device has established a connection relationship with the central node, and the device capability request sent by it can include:
- the device capability request sent by the hub node is received.
- connection relationship established here is the connection relationship in the configuration process.
- processes such as configuration, access management, access authentication and control may be included.
- the configuration process refers to that the steps required for the subsequent implementation of access management, access authentication, and control are equipped and arranged before each step.
- the configuration process may include steps such as network configuration, identification, and connection.
- the target controlled device and the central node can be realized by exchanging keys.
- it can be realized by exchanging personal identification codes (Personal Identification Number, PIN code).
- PIN code Personal Identification Number
- the target is The control device and the central node can carry out security negotiation through the known PIN code and establish an encrypted connection relationship.
- the key exchange scheme can be realized through the pre-shared key (PreSharedKey, PSK) defined by the data packet transport layer security protocol (Datagram Transport Layer Security, DTLS); another example, the key exchange scheme can be combined with the elliptic curve Diffie-Hellman key exchange (Elliptic Curve Diffie–Hellman key Exchange, ECDH) algorithm and PIN code to achieve; and so on.
- PreSharedKey PSK
- data packet transport layer security protocol Datagram Transport Layer Security, DTLS
- ECDH elliptic curve Diffie-Hellman key exchange
- the target controlled device can obtain the device capability request of the central node based on the connection relationship.
- a connection channel for data interaction between the target controlled device and the central node can be established, so that the target controlled device and the central node can pass through
- the connection channel performs data interaction, for example, sending a device capability request and receiving a device capability request.
- the central node may include a configuration device, and the step "establish a connection relationship between the target controlled device and the central node; based on the connection relationship, receive a device capability request sent by the central node.”
- the controlled device and the configuration device cooperate to complete, that is, "establish the connection relationship between the target controlled device and the configuration device; based on the connection relationship, receive the device capability request sent by the configuration device.”
- the target controlled device may be determined from the multiple central nodes The target central node, and establish a connection with the target central node.
- the step of "establishing the connection relationship between the target controlled device and the central node" may include:
- connection query information If the information format of the connection query information satisfies the preset query format, a connection relationship between the target controlled device and the central node is established.
- connection inquiry information is information sent by the central node, and the information is used to inquire whether the target controlled device establishes a connection relationship with the central node.
- connection inquiry information may be in the form of a message, for example, a multicast message or a broadcast message.
- the target controlled device can receive the connection query information sent by the central node after it is in the network distribution state.
- the first IoT system can be configured with a corresponding IoT App for the target controlled device (in order to distinguish it, it can be called the first IoT App), and the user can use the first IoT App to enable the target controlled device to enter the distribution network state ;
- the user can directly interact with the target controlled device, for example, by triggering the physical control of the target controlled device, or interacting with the target controlled device through voice arousal, so that the target controlled device enters the distribution network status; another example, the target controlled device can always be in the distribution network status; and so on.
- the target controlled device may enter a pre-agreed monitoring port mode, so that the target controlled device can monitor broadcast messages in the local area network.
- the central node can send multicast or broadcast messages in the local area network through multicast messages, etc., so as to send connection inquiry information to the target controlled device.
- the target controlled device can receive the information sent by the central node. connection query information.
- the target controlled device can receive the connection inquiry information sent by multiple central nodes, it is possible to set the corresponding preset inquiry for the connection inquiry information in the application scenario of device control across the IoT system In this way, for the target controlled device, if the connection inquiry information received from the central node satisfies the preset inquiry format, the connection relationship between it and the central node is established.
- the central node may include a configuration device, and the step "receive the connection inquiry information sent by the central node; if the information format of the connection inquiry information meets the preset inquiry format, then establish the target controlled device and the central node The connection relationship between them.” can be completed by the cooperation between the target controlled device and the configuration device, that is, "receive the connection query information sent by the configuration device; if the information format of the connection query information meets the preset query format, then establish the target controlled device The connection relationship with the configuration device.”
- the target controlled device after receiving the connection query request sent by the central node, and the connection query request satisfies the preset query format, the target controlled device can generate the query response information of the connection query information, so that it can pass to the central The node sends the query response information to let the central node know the response of the target controlled device to the connection query information. In this way, both the target controlled device and the central node can determine the connection relationship between the two to be established. Under this consensus , the target controlled device and the central node can establish a connection relationship between the two.
- the step of "establishing the connection relationship between the target controlled device and the central node" may include:
- query response information for connection query information, where the query response information includes device information of the target controlled device
- the query response information is sent to the central node, so as to establish a connection relationship between the target controlled device and the central node based on the device information.
- the device information of the target controlled device may include information such as a device identifier of the target controlled device, a system identifier of the first Internet of Things system, and the like.
- the target controlled device may generate inquiry response information carrying its device information, so that the central node learns the response of the target controlled device to its connection inquiry request.
- a corresponding query response format can be set for the query response information in the application scenario of device control across IoT systems. Therefore, after receiving the connection query information that meets the preset query format sent by the central node, the target controlled device can generate query response information that meets the query response format, and the query response information can carry the device information of the target controlled device. information.
- the target controlled device may send query response information to the central node.
- the target controlled device may reply a response to the central node through unicast.
- the hub node can also send connection query information to multiple IoT devices. Therefore, the hub node can receive connection query information from multiple IoT devices. query response information. Since the query response information includes the device information of the IoT device, the central node can determine the IoT device to establish a connection relationship based on the query response information.
- the target controlled device and the central node can establish a preliminary connection consensus, and further establish a connection relationship between the two.
- the central node may include a configuration device, and the step "generate inquiry response information of the connection inquiry information, wherein the inquiry response information includes the device information of the target controlled device; send the inquiry response information to the central node, Based on the device information, establish the connection relationship between the target controlled device and the central node.” It can be completed by the cooperation between the target controlled device and the configuration device, that is, "generate the query response information of the connection query information, wherein the query response information includes Device information of the target controlled device; send query response information to the configuration device to establish a connection relationship between the target controlled device and the configuration device based on the device information.”
- the target controlled device and the central node can be authenticated through the connection relationship established between the two, and the target controlled device receives the data sent by the central node only when the authentication is passed, for example , the device capability request, specifically, the step of "receiving the device capability request sent by the hub node based on the connection relationship" may include:
- the hub node is authenticated
- the device capability request sent by the hub node is received.
- the target controlled device authenticates the central node, which can be used to make the target controlled device determine the identity of the central node, and if the authentication passes, receive the device capability request sent by the central node.
- the device capability request sent by the hub node may be received based on the established connection relationship.
- this step may be an optional step, that is, after the target controlled device establishes a connection relationship with the central node, it may not authenticate the central node. In this case, the target controlled device trusts all users Approved central node.
- the central node may include a configuration device, and the step "authenticate the central node based on the connection relationship; if the authentication is passed, receive the device capability request sent by the central node.”
- the target controlled device can be configured with The device cooperation is completed, that is, "based on the connection relationship, the configuration device is authenticated; if the authentication is passed, the device capability request sent by the configuration device is received.”
- the target controlled device can authenticate the central node.
- the central node can be authenticated through certificate authentication; another example, the central node can be authenticated through key authentication; etc., specifically Specifically, the step "authenticating the hub node based on the connection relationship" may include:
- certificate authentication or key authentication is performed on the hub node.
- certificate authentication refers to the technology of authentication based on digital certificates.
- digital certificates refer to a digital authentication that marks the identity information of all parties in communication, so digital certificates are also called digital identification.
- a digital certificate is essentially an electronic document, a more authoritative and fair certificate issued by a certificate authority (CertificateAuthority, CA) center.
- the CA center adopts the digital certificate authentication technology with digital encryption technology as the core.
- the CA center can perform various processing such as encryption, decryption, digital signature and signature authentication on various information transmitted on the Internet. It can guarantee that the data will not be invaded by criminals in the process of digital transmission, or even if it is invaded, the content cannot be viewed.
- key authentication means that the sender and receiver of information use a key to encrypt and decrypt data.
- keys There are two types of keys: symmetric keys and asymmetric keys.
- symmetric key encryption also known as public key encryption
- public key encryption means that the sender and receiver of information use a single key to encrypt and decrypt data. Its biggest advantage is that the encryption/decryption speed is fast, and it is suitable for encrypting large amounts of data, but key management is difficult.
- asymmetric key encryption system also known as private key encryption. It needs to use a pair of keys to complete the encryption and decryption operations respectively, one is published publicly, that is, the public key, and the other is kept secretly by the user, that is, the private key.
- the information sender uses the public key to encrypt, while the information receiver uses the private key to decrypt.
- the central node may include a configuration device, and the step of "authenticating the central node based on the connection relationship.” can be completed by the cooperation of the target controlled device and the configuration device, that is, "based on the connection relationship, the Configure the device for authentication.”
- the step of "returning the device capability information of the target controlled device to the central node in response to the device capability request" may include:
- the device capability information of the target controlled device is related information describing the device capabilities that the target controlled device can provide.
- the device capability information may include the specific model, type, controllable instructions, attributes, and services of the device, etc. .
- the device capability information of the target controlled device may also be referred to as a capability model of the target controlled device.
- the target controlled device can determine its device capability information, and in response to the device capability request of the central node, return the device capability information to the central node, so as to trigger the central node to generate the target controlled device based on the received device capability information.
- Device control information can be determined by the target controlled device, and in response to the device capability request of the central node, return the device capability information to the central node, so as to trigger the central node to generate the target controlled device based on the received device capability information.
- the target controlled device can return the device capability information of the IoT device to the central node. For example, after the connection between the target controlled device and the central node is established, the target controlled device and the central node can be established The connection channel for data interaction between nodes. In this way, the target controlled device and the central node can perform data interaction through this connection channel, for example, sending device capability information and receiving device capability information.
- the central node may include a configuration device, and the step "determines the device capability information of the target controlled device; in response to the device capability request, returns the device capability information of the target controlled device to the central node to trigger
- the central node generates device control information for the target controlled device based on the device capability information.” It can be completed by the target controlled device in cooperation with the configuration device, that is, "determine the device capability information of the target controlled device; respond to the device capability request, Return the device capability information of the target controlled device to the configuration device, so as to trigger the central node to generate device control information for the target controlled device based on the device capability information.”
- the central node can also include an access management device, so the target controlled device In response to the device capability request, the device may return the device capability information of the target controlled device to the configuration device, so as to trigger the access management device to generate device control information for the target controlled device based on the device capability information.
- the device control information sent by the central node to the target controlled device is related information indicating that the target controlled device sets the control authority, and the control authority is the device control authority of the central node to the target controlled device.
- the central node may include an access management device, and the step "receive the device control information sent by the central node.” can be completed by the target controlled device in cooperation with the access management device, that is, “receive the Enter the device control information sent by the management device.”
- the central node may include a configuration device and an access management device, and the configuration device may establish a connection relationship with the target controlled device through the aforementioned steps, then the target controlled device may establish its relationship with the target controlled device through the configuration device.
- the step of "receiving device control information sent by the hub node" may include:
- the device control information sent by the access management device is received.
- the access connection relationship established here is the connection relationship in the access management process.
- the access connection relationship may be the connection relationship established between the target controlled device and the access management device.
- processes such as configuration, access management, access authentication and control may be included.
- the access management refers to the process of managing the access of the IoT device to the central node.
- the access management may include steps such as device discovery, device connection, device authentication, and device registration.
- the configuration device in the central control node since the configuration device in the central control node has established a connection relationship with the target controlled device, optionally, a device authentication step can be performed between the configuration device and the target controlled device, for example, through certificate authentication or key Certification etc. Therefore, the configuration device can be used as a trusted device of the target controlled device. Therefore, the access connection relationship between the target controlled device and the access management device in the central node can be established through the configuration device in the central node.
- the step of "establishing an access connection relationship with the access management device by configuring the device” may be described below first.
- the access management device trusted by the configuration device can be directly used as the access management device trusted by the target controlled device. device, and then establish an access connection relationship between the target controlled device and the access management device.
- the configuration device can be used for data transmission, so that the target controlled device can obtain the relevant information of the access management device through the configuration device, and then determine whether to establish a connection with the access management device.
- the step of "establishing an access connection relationship with the access management device by configuring the device" may include:
- an access connection relationship with the access management device is established.
- the communication address information of the access management device is used for the device to communicate with the access management device.
- communication address information may include physical address information, logical address information, port address information, specific address information, and the like.
- the communication address information of the access management device can be obtained by configuring the device, and the communication address can specifically include the logical address information and port address information of the access management device. For example, by configuring the device Obtain the IP address and port number of the access management device.
- the configuration device can directly send the communication address information of the access management device to the target controlled device. device, so that the target controlled device obtains the communication address information of the access management device sent by the configuration device.
- the step of "obtaining the communication address information of the access management device by configuring the device" may include:
- the IoT device shown in 1001 in the figure is the target controlled device
- the third-party configurator shown in 1002 is the configuration device of the central node
- the access management module shown in 1003 is the central node
- the access management device where the third-party configurator and the access management module belong to the same IoT system, the third-party configurator and the IoT device belong to different IoT systems, and the third-party configurator and the IoT device have a connection relationship.
- the access management module can send its communication address information, such as IP address and port number, to the third-party configurator, and further, the third-party configurator can send the received access management
- the communication address information of the module is sent to the IoT device.
- the communication address information of the access management module can be sent to the IoT device through the connection relationship between the third-party configurator and the IoT device.
- the IoT device can correspondingly Obtain communication address information of the access management module.
- the third-party configurator can directly obtain the information of the access management module from the access management module. Mailing address information. And if the device corresponding to the third-party configurator is not the same device as the device corresponding to the access management module, then there are multiple ways for the third-party configurator to obtain the communication address information of the access management module across devices: for example, Exchange through a local area network; as another example, exchange through the third-party cloud 1004 shown in FIG. 5 , where the third-party cloud is a cloud server corresponding to the central node, and the third-party cloud and the central node belong to the same IoT system.
- the target controlled device to obtain the communication address information of the access management device through the configuration device.
- the information is sent to the target controlled device, so that after the target controlled device obtains the information, it can further determine the target access management device from the candidate access management devices through steps such as device search and device verification, Further, the communication address information sent by the target access management device is obtained.
- the step of "obtaining the communication address information of the access management device by configuring the device" may include:
- the communication address information sent by the access management device is acquired.
- the device verification information sent by the configuration device is relevant information required for verifying the access management device. Specifically, for the configuration device, since it has established a connection relationship with the target controlled device, the configuration device can be regarded as a device trusted by the target controlled device.
- the device verification information sent by the configuration device may be in various forms, for example, it may be a character string, a value, or a set.
- the configuration device and the access management device belong to the same IoT system (for the sake of distinction, in this embodiment, the access management device that belongs to the same IoT system as the configuration device can be called the target access management device), therefore , the configuration device and the target access management device can be the same IoT device under the same IoT system, or different IoT devices under the same IoT system, if the configuration device and the target access management device are under the same IoT system If the configuration device and the target access management device are different IoT devices under the same IoT system, then the configuration device and the target access management device The management device can establish a trust relationship between the two through internal data interaction in the same IoT system, such as internal authorization. In this case, the configuration device can be considered as a device trusted by the target access management device.
- the configuration device can send the device verification information of the target access management device to the target controlled device, so that the target controlled device can subsequently Multiple candidate access management devices may be verified based on the device verification information, so as to determine a target access management device, and then obtain communication address information of the access management device.
- the system identifier of the target IoT system may be determined as device verification information, where the target IoT system is the IoT system to which the target access management device belongs.
- the system identification of the target IoT system can also be called the ecological identification code of the target IoT system, and the ecological identification code can be used to uniquely identify a third-party manufacturer.
- the format of the device verification information can be pre-agreed, and the target access management device can generate data satisfying the format, and use the data as the device verification information.
- the target access management device can send its device verification information to the configuration device, so that the device verification information can be sent to the target controlled device through the configuration device.
- the target controlled device can obtain The device verification information of the target access management device sent by the configuration device, wherein the device verification information sent by the configuration device may be used for the target controlled device to verify at least one candidate access management device.
- the target controlled device can obtain the communication address sent by the target access management device based on the device verification information sent by the configuration device.
- the target controlled device can, based on the device verification information sent by the configuration device, at least A candidate access management device performs verification to determine a target access management device from the candidate access management devices based on the verification result, and then obtain communication address information sent by the target access management device.
- the step of "obtaining communication address information sent by the access management device based on the device verification information sent by the configuration device" may include:
- the communication address information sent by the candidate access management device is determined as the communication address information sent by the access management device.
- the configuration process and the access management process may be continuous or separated. Therefore, after the device configuration is completed between the configuration device and the target controlled IoT, during the access management process, there may be at least one access management device requesting to establish an access connection relationship with the target controlled device, and these access management devices can It is the same IoT system that the configuration device belongs to, or it can be a different IoT system from the configuration device. In this application, these access management devices may be referred to as candidate access management devices of the target controlled device.
- each candidate access management device can actively send the target controlled device The connection verification information and communication address information.
- the target controlled device may initiate a device search to search for candidate access management devices.
- each candidate access management device may respond to the target controlled device's device search request and send each Connection verification information and communication address information of candidate access management devices.
- the step of "obtaining the connection verification information and communication address information sent by the candidate access management device" may include:
- Response information generated by the candidate access management device based on the device search information is acquired, where the response information includes device verification information and communication address information of the candidate access management device.
- the device search information is related information used to search for access management devices.
- the device search information may be a device search request, and the target controlled device may search for candidate access management devices by sending a device search request.
- the target controlled device may generate a device search message, where the device search message may include the device search information. Further, the target controlled device may send a device search message to the candidate access management device through technologies such as LAN broadcast or multicast in the local area network, so as to send device search information to the candidate access management device.
- the target controlled device may generate a device search message, where the device search message may include the device search information.
- the target controlled device may send a device search message to the candidate access management device through technologies such as LAN broadcast or multicast in the local area network, so as to send device search information to the candidate access management device.
- each candidate access management device may generate response information, where the response information may include device verification information and communication address information of each candidate access management device.
- each candidate access management device may send the generated response information to the target controlled device, so that the target controlled device may correspondingly obtain the response information generated by the candidate access management device based on the device search information, where the response information includes Device verification information and communication address information of candidate access management devices.
- the target controlled device can verify the device sent by the candidate access management device based on the device verification information sent by the configuration device. The information is verified.
- verification methods may include comparing device verification information, calculating device verification information, querying and matching device verification information, and so on.
- verifying the device verification information sent by the candidate access management device may be implemented by comparing the device verification information.
- the target controlled device can compare the device verification information sent by the candidate access management device with the device verification information sent by the configuration device, so as to realize the The device verification information of the management device is verified. Specifically, if the comparison result is consistent, it can be determined that the verification has passed; otherwise, it can be determined that the verification has not passed.
- verifying the device verification information sent by the candidate access management device can be realized by calculating the device verification information. Therefore, the device verification information sent by the configuration device can be preset numerical information, For example, a preset numerical value or numerical range. As an example, the device verification information sent by the configuration device can be a preset value range, and the target controlled device can calculate the device verification information after obtaining the device verification information sent by the candidate access management device, and The calculation result is compared with the preset numerical range to verify the verification information of the device. Specifically, if the calculation result belongs to the preset numerical range, it can be determined that the verification has passed; otherwise, it can be determined that the verification has not passed .
- the device verification information sent by the configuration device can be preset numerical information, For example, a preset numerical value or numerical range.
- the device verification information sent by the configuration device can be a preset value range
- the target controlled device can calculate the device verification information after obtaining the device verification information sent by the candidate access management device, and The calculation result is compared with the preset numerical
- the verification of the device verification information sent by the candidate access management device can be realized by querying and matching the device verification information. Therefore, the device verification information sent by the configuration device can be a preset information set , there may be at least one information element in the set, for example, the set may include at least one piece of device verification information authenticated by the target controlled device.
- the target controlled device can check whether there is an information element matching the device verification information in the information set, so as to realize the verification of the device verification information. Specifically, if there is an information element matching the device verification information in the information set, it can be determined that the verification has passed; otherwise, it can be determined that the verification has not passed.
- the target controlled device can verify the device verification information of each candidate access management device to obtain a verification result. If the device verification information of the candidate access management device passes the verification, the target controlled device can determine the communication address information sent by the candidate management device as the communication address information of the target access management device. In this case, the target controlled device The device obtains the communication address information of the target access management device through steps such as device discovery and information verification.
- the target controlled device can further establish an access connection relationship with the access management device based on the communication address information.
- the communication address information of the access management device may include the IP address and port number, then in the local area network, the target controlled device can establish a communication with the access management device according to the IP address and port number of the access management device. Access the connection relationship, and then establish a connection channel for data interaction between the target controlled device and the access management device.
- step "establishing an access connection relationship with the access management device by configuring the device” After explaining the step "establishing an access connection relationship with the access management device by configuring the device", the step “receiving device control information sent by the access management device based on the access connection relationship" can be further described below to explain.
- the target controlled device After establishing the access connection relationship between the target controlled device and the access management device, the target controlled device can receive the device control information sent by the access management device based on the access connection relationship.
- a connection channel for data interaction between the target controlled device and the access management device can be established.
- the target controlled device Data interaction with the access management device can be performed through the connection channel, for example, sending device control information and receiving device control information.
- the target controlled device can also perform identity authentication on the access management device, and after passing the authentication, Further, based on the access connection relationship, device control information sent by the access management device is received.
- the step of "receiving device control information sent by the access management device based on the access connection relationship.” may include:
- the access management device is authenticated
- the device control information sent by the access management device is received.
- the authentication of the access management device can be used for the target controlled device to further verify the identity of the access management device on the basis of establishing the access connection relationship between the target controlled device and the access management device. To improve the security of data exchange.
- a connection channel for data interaction between the target controlled device and the access management device can be established.
- the target controlled device Data interaction with the access management device can be performed through the connection channel, for example, sending and receiving relevant data required for authentication.
- the target controlled device to authenticate the access management device. For example, similar to establishing an access connection relationship between the target controlled device and the access management device, considering the The device trusted by the target controlled device is also a device trusted by the access management device.
- the target controlled device can obtain the relevant data required to authenticate the access management device through the configuration device, and based on this data, access Manage the device for authentication.
- the step of "authenticating the access management device" may include:
- the access management device is authenticated by configuring the authentication verification information sent by the device.
- the authentication verification information sent by the configuration device is relevant information required for authenticating the access management device.
- the authentication verification information sent by the configuration device may be in various forms, for example, it may be a character string, a value, or a set.
- the system identifier of the target IoT system may be determined as authentication verification information, where the target IoT system is the IoT system to which the configuration device belongs.
- the system identification of the target IoT system can also be called the ecological identification code of the target IoT system, and the ecological identification code can be used to uniquely identify a third-party manufacturer.
- the format of the authentication verification information may be pre-agreed, and the access management device may generate data satisfying the format and use the data as the authentication verification information.
- the target controlled device may obtain the authentication verification information sent by the configuration device.
- the authentication verification information sent by the configuration device may be obtained based on the connection relationship established with the configuration device.
- the authentication verification information is the same as the device verification information, for example, if both the authentication verification information and the device verification information can be the ecological identification code of the target IoT system, the target is controlled
- the device can save the device verification information after obtaining the device verification information of the access management device through configuring the device, so that when the target controlled device needs to authenticate the access management device, it can directly obtain the verification information Required authentication checksum information.
- the target controlled device After obtaining the authentication verification information of the access management device sent by the configuration device, the target controlled device can determine the authentication verification information required for authenticating the access management device, and further, the target controlled device can pass the The authentication verification information is used to authenticate the access management device.
- the target controlled device can further obtain the device authentication information sent by the access management device, and pass Configure the authentication verification information sent by the device, and verify the authentication information of the device to realize the authentication of the access management device.
- the step "Authenticate the access management device by configuring the authentication verification information sent by the device" may include:
- the device authentication information is verified through the authentication verification information, so as to authenticate the access management device.
- the device authentication information sent by the access management device is related data required for the target controlled device to authenticate the access management device.
- the target controlled device can verify the device authentication information through the authentication verification information. Verification, to determine the device authentication result of the access management device based on the verification result. In this way, the target controlled device can verify the device authentication information sent by the access management device to realize the authentication of the access management device. Authenticate.
- the target controlled device can obtain the device authentication information sent by the access management device. For example, after establishing the access connection relationship between the target controlled device and the access management device, the target controlled device can be established.
- the connection channel for data interaction between the device and the access management device.
- the target controlled device and the access management device can perform data interaction through the connection channel, for example, sending device authentication information and receiving device authentication information.
- the device authentication information required for authenticating the access management device may be generated by the access management device, and further based on the access connection relationship between the access management device and the target controlled device, send the information to the target controlled device.
- the device sends the device authentication information.
- the central node may also include an access authentication device, where the access authentication device can be used to perform device authentication related matters, for example, the central node can The access authentication device is used to generate the device authentication information of the access management device, so that the target controlled device can authenticate the access management device by verifying the device authentication information.
- the central node can perform effective results on the entire central node, and in the application scenario where the central node includes at least one available IoT device, it can effectively To reduce the burden of each IoT device.
- the step "obtaining the device authentication information sent by the access management device" may include:
- the authentication request generated by the target controlled device can be used to request to obtain the device authentication information of the access management device, so that the target controlled device can authenticate the access management device by verifying the device authentication information .
- the authentication request may be in the form of a message, for example, a broadcast message, a multicast message, and the like.
- the target controlled device may generate an authentication request, and send the authentication request to the access management device based on the access connection relationship established with the access management device.
- the access management device can entrust it to the access authentication device.
- the access authentication device can generate the device authentication information required to authenticate the access management device, so that the access
- the management device can respond to the authentication request sent by the target controlled device, and return the device authentication information generated by the access authentication device to the target controlled device. In this way, correspondingly, the target controlled device can obtain the authentication information for the access management device. Required device authentication information.
- the IoT device shown in 1001 in the figure is the target controlled device
- the access management module shown in 1003 is the access management device of the central node
- the access authentication module shown in 1005 is The access authentication device of the central node, wherein the access authentication module and the access management module belong to the same IoT system, the access management module and the IoT device belong to different IoT systems, and the access management module and the IoT device are established There is an access connection relationship.
- the IoT device may generate an authentication request and send the authentication request to the access management module.
- the access management module can entrust it to the access authentication module, and the access authentication module can further generate the device authentication information required for the IoT device to authenticate the access management module, and send The device authentication information is returned to the access management module, so that the access management module can return the device authentication information to the IoT device in response to the authentication request sent by the IoT device.
- the IoT device can obtain the device authentication information returned by the access management module in response to the authentication request, wherein the device authentication information is generated by the access authentication module, and the access authentication module and the access management module belong to the same IoT system.
- the target controlled device can further verify the device authentication information sent by the access management device by configuring the authentication verification information sent by the device to verify the access Manage the device for authentication.
- the target controlled device to verify the device authentication information through the authentication verification information.
- the method for verifying the device verification information sent by the management device may specifically include information comparison, information calculation, query matching, etc., which will not be described here.
- the manner in which the target controlled device authenticates the access management device may be through certificate authentication, and the device authentication information sent by the access management device to the target controlled device may specifically be a certificate.
- the authentication verification information can be used as the ecological identification code of the target IoT system, the target IoT system is the IoT system to which the access management device belongs, and the device authentication information is a certificate. , to verify the device authentication information, so as to authenticate the access management device" for explanation.
- the target controlled device can determine that the verification result of the certificate is a verification Pass, that is, the authentication result of the access management device is authentication passed; otherwise, the target controlled device may determine that the verification result of the certificate is verification failure, that is, the authentication result of the access management device is authentication failure.
- the target controlled device may further receive the device control information sent by the access management device based on the authentication result. Specifically, if the target controlled device authenticates the access management device If the authentication passes, the target controlled device can receive the device control information sent by the access management device.
- the target controlled device considering that after the target controlled device authenticates the access management device, if the authentication passes, it can further perform device registration with the access management device. Therefore, specifically, the step " If the authentication is passed, then receive the device control information sent by the access management device.”, which may include:
- the device control information sent by the access management device is received.
- the device information of the target controlled device may include related information such as the device type of the target controlled device, a binding code, etc., wherein the binding code is used for the central node to bind the target controlled device with the user, wherein,
- the user here refers to the user associated with the hub node, for example, the user logged in on the configuration device.
- the target controlled device may receive the device control information sent by the access management device based on the registration result.
- the target controlled device may receive the device control information sent by the access management device; otherwise, the target controlled device may not receive the device control information sent by the access management device.
- the target controlled device after the target controlled device registers with the access management device, it can receive the device control information sent by the access management device, that is, regardless of whether the registration result is successful, as long as the target controlled device requests to After the management device performs device registration, it can receive the device control information sent by the access management device.
- the IoT device After the IoT device completes the authentication to the access management module, the IoT device sends its own device information to the access management module for device registration.
- the device information may specifically include the device type, binding code and other information. Further, the IoT device may receive device control information sent by the access management module after successful registration.
- the central node may include a control device, and the step of "setting the authority information of the central node to the target controlled device based on the device control information" can be completed by the target controlled device and the control device in cooperation, or That is, "based on the device control information, set the authority information of the controlling device to the target controlled device.”
- the central node may include an access management device, and the step of "setting the authority information of the central node to the target controlled device based on the device control information" can be completed by the target controlled device and the access management device in cooperation, That is, "based on the device control information, set the permission information of the access management device to the target controlled device.”
- the information change permission represents the permission of the access management device to change the device control information stored in the target controlled device .
- the following will take the step of "setting the authority information of the central node to the target controlled device based on the device control information.”
- the target controlled device and the central node cooperate to explain as an example.
- the target controlled device cooperates with the control device The completed situation will not be repeated.
- the target controlled device can control the target device based on the acquired Information, to set the device control authority of the central node to the target controlled device.
- the target controlled device can set the device control authority of the central node to the target controlled device according to the modified relevant data; as an example, based on the device control information, by setting the access control list (AccessControlLists, ACL) of the target controlled device to Realize setting the device control authority of the central node to the target controlled device.
- AccessControlLists, ACL AccessControlLists, ACL
- ACL is an access control technology based on packet filtering, which can filter the data packets on the interface according to the set conditions, allowing them to pass or discard.
- Access control lists are widely used in routers and Layer 3 switches. With the help of access control lists, users' access to the network can be effectively controlled, thereby ensuring network security to the greatest extent.
- the device control of the target controlled device by the central node is essentially device control performed across IoT systems.
- the device control object can implement device control on the target controlled device through the central node. Therefore, when setting the device control authority of the central node to the target controlled device, it can be realized by setting the device control authority of the device control object in the second IoT system to the target controlled device.
- the device control information may include the system identifier of the target IoT system and the object identifier of the device control object, where the target IoT system is the IoT system to which the hub node belongs, and the device control object is the IoT device controlled by the hub node. Therefore, the step of "setting the authority information of the central node to the target controlled device based on the device control information" may include:
- the system identification is identification information for uniquely identifying the IoT system, and the system identification may be in various forms, for example, it may include different data forms such as character strings, images, and audio.
- the system identification of the target IoT system can be called the ecological identification code of the target IoT system, and the ecological identification code can be used to uniquely identify a third-party manufacturer.
- the central node may include an access management device, and correspondingly, the system identifier of the IoT system to which the central node belongs may be the ecological identification code of the access management device.
- the object identifier is identification information used to uniquely identify the device control object in the target IoT system, and the object identifier may be in various forms, for example, it may include different data forms such as character strings, images, and audio.
- the device control object is an object for controlling the Internet of Things device, for example, the device control object may be an Internet of Things device or the like.
- the object identifier of the device control object can be called a subject ID (identity identification number, Identity Document in English).
- the subject ID can be used to uniquely identify a user or an IoT device (the IoT device) in a third-party manufacturer In the application scenario of device control, the networked device can act as a controller) and the subject ID is unique within the third-party manufacturer.
- the central node can assign different object IDs to different device control objects in the target IoT system.
- the access management device can assign different topic IDs to different controllers, users, etc. in its own ecosystem. .
- the target controlled device After the target controlled device determines the system ID of the target IoT system and the object ID of the device control object, it can further set the relationship between the device control object in the target IoT system and the target controlled device based on the system ID and object ID. Device control permissions.
- the system identifier included is the identifier a corresponding to manufacturer A
- the object identifier is the identifier b corresponding to user B
- the target controlled device can be based on the identifier a and Mark b to modify the ACL of the target controlled device.
- the device control authority of user B on the target controlled device can be set. It is worth noting that the device control authority set here is the control authority of the target controlled device owned by user B in the IoT system corresponding to manufacturer A.
- the system identifier included is the identifier a corresponding to manufacturer C
- the object identifier is the identifier b corresponding to user B.
- the target controlled device can Set the device control permission of user B to the target controlled device. It is worth noting that the device control authority set here is the control authority of the target controlled device owned by user B in the IoT system corresponding to manufacturer C.
- the system identifier included is the identifier a corresponding to manufacturer A
- the object identifier is the identifier d corresponding to controller D.
- the target controlled device You can set the device control authority of controller D to the target controlled device. It is worth noting that the control authority set here is the control authority of the target controlled device owned by controller D in the IoT system corresponding to manufacturer A.
- the device control information acquired by the target controlled device may also include the object attribute information of the device control object.
- the step "based on the system identifier and object identifier, set the device control information in the target IoT system Object's device control authority to the target controlled device" which may include:
- the service invocation authority is the invocation authority of the device control object to the service provided by the target controlled device, and the service provided by the target controlled device is based on Determine the equipment capability information of the target controlled equipment;
- the object attribute information is used to describe the object attribute of the device control object.
- Different object attributes represent different roles, and different roles represent different permissions.
- permissions may include service call permissions and information change permissions.
- there is a one-to-one correspondence between the object identifier of the device control object and the object attribute of the device control object that is, in practical applications, the one-to-one correspondence between the role of the device control object and the topic ID.
- the object attribute of the device control object is role 1, it means that the device control object only has service call authority to the target controlled device; if the object attribute of the device control object is role 2, it means that the device control object has The service call authority and information change authority of the target controlled device.
- the object attribute of the device control object is role 1, it means that the device control object only has service call authority for the target controlled device; if the object attribute of the device control object is role 2, it means that the device control object only has Has the right to change information on the target controlled device; if the object attribute of the device control object is role 3, it means that the device control object has the right to call services and change information on the target controlled device. etc.
- the object attribute of the device control object may include an administrator and a common user. Specifically, if the object attribute of the device control object is an administrator, the device control object may have information table updates for the target controlled device. Authority and service invocation authority; if the object attribute of the device control object is a common user, the device control object may only have service invocation authority for the target controlled device.
- the information change authority represents the change authority of the device control object to the device control information stored in the target controlled device, for example, the information table change authority represents the change authority of the device control object to the ACL of the target controlled device.
- the service invocation authority is the invocation authority of the device control object to the service provided by the target controlled device, and the service provided by the target controlled device is determined based on the device capability information of the target controlled device. If the device control object has service calling authority to the target controlled device, the device control object can call the authorized service in the target controlled device.
- the target controlled device may be a smart air conditioner, and the services provided by the target controlled device may include refrigeration service, dehumidification service, heating service, etc. Ability to call authorized services in smart refrigerators.
- the target controlled device can determine whether the device control object has the service call authority to the target controlled device based on the object attribute information of the device control object, so that the target controlled device can further set the device control object in the target IoT system The device control authority for the target controlled device.
- the target controlled device can be a smart TV
- the device control object of the central node can be a child E
- the object attribute of the child E is an ordinary user
- the smart TV can determine that the child E has an intelligent control based on the object attribute information of the child E.
- the service calling authority of the TV and set the device control authority of the child E on the smart TV in the target IoT system as: having the service calling right of the smart TV.
- the device control information may also include service access information of the device control object, where the service access information includes the authorized access service of the device control object on the target controlled device, and the access of the device control object to the authorized access service authority. Therefore, after determining that the device control object has the service call authority to the target controlled device, the target controlled device can determine the service access authority of the device control object to the target controlled device based on the service access information, so as to further clarify the device control object's The service calling authority of the target controlled device.
- the step of "determining the service call authority of the device control object to the target controlled device" may include:
- the target controlled device can be a smart TV
- the device control object of the central node can be a child E
- the object attribute of the child E is a common user
- the service access information of the child E includes the authorized access service of the child E on the smart TV
- Child E's access rights to authorized access services specifically, child E's authorized access services on smart TVs include the following two services: watching science and education channels and watching animation channels, and child E's access rights to "watching science and education channels" For: 2 hours per day, child E's access right to "watch animation channel" is: 1 hour per day.
- the smart TV can determine the service access right of the child E to the smart TV based on the authorized access service of the child E and the access right of the child E to the authorized access service, so that on the basis of determining that the child E has the service calling right of the smart TV , to further clarify what services in the smart TV the child E can access, and the specific permissions of the accessible services.
- the target controlled device can correspondingly set the device control object to the target
- the device control authority of the controlled device specifically, the step of "setting the device control authority of the device control object in the target IoT system to the target controlled device based on the service invocation authority" may include:
- the object attribute information indicates that the device control object has the information change authority to the target controlled device
- the service call authority set the device control authority of the device control object in the target IoT system to the target controlled device, wherein,
- the information modification right represents the device control object, and the right to change the device control information stored in the target controlled device.
- the target controlled device can be a smart TV
- the device control object of the central node can be an adult F
- the object attribute of the adult F is an administrator
- the smart TV can determine the adult based on the object attribute information of the adult F F has the service call authority and information change authority to the smart TV, and sets the device control authority of the adult F in the target IoT system to the smart TV: has the service call authority and information change authority to the smart TV.
- the device control information received by the target controlled device may include, in addition to the system identifier of the IoT system to which the central node belongs, including the object identifier, object attribute information, and service access information of the device control object, it may also include the device ID, connection key, and key expiration time of the connection key.
- the device ID is also called the target device identifier, which is the unique ID allocated by the target IoT system for the target controlled device, and can be used to uniquely identify a device in the target IoT system;
- the connection key can be used for the The control device establishes a control connection with the central node, and the connection key is in one-to-one correspondence with the object identifier.
- the central node can assign different object IDs, keys, object attributes and other information to different device control objects in the target IoT system.
- the access management device can assign different subject IDs, keys, Information such as roles is assigned to different controllers in its own ecology.
- the method for setting the device control authority can also include:
- the central node may include a control device, and the step "receives the device control instruction sent by the central node, wherein the device control instruction is used for the central node to perform device control on the target controlled device; execute and device The operation corresponding to the control instruction.” can be completed by the cooperation between the target controlled device and the control device, that is, "receive the device control instruction sent by the control device, wherein the device control instruction is used for the control device to perform device control on the target controlled device; Execute the operation corresponding to the device control command.”
- the central node may send the device control instruction to the second The cloud server, further, the second cloud server can send the device control instruction to the target controlled device, so that the target controlled device can receive the device control instruction sent by the central node.
- the step of "receiving device control instructions sent by the central node" may include:
- a device control instruction sent by a second cloud server matching the central node is received, wherein the device control instruction is an instruction sent by the central node to the second cloud server.
- the second cloud server matching the hub node may be a cloud server belonging to the same IoT system as the hub node.
- the central node may include a control device, and the step "receives a device control instruction sent by a second cloud server matching the central node, wherein the device control instruction is an instruction sent by the central node to the second cloud server. " can be completed by the cooperation between the target controlled device and the control device, that is, “receive the device control instruction sent by the second cloud server that matches the control device, wherein the device control instruction is an instruction sent by the control device to the second cloud server. "
- the central node can send the device control instruction to the second cloud server that matches it, and the second cloud server can send the device control instruction to the first cloud server that matches the target controlled device.
- a cloud server further, the first cloud server can send the device control instruction to the target controlled device, so that the target controlled device can receive the device control instruction sent by the central node.
- the step of "receiving device control instructions sent by the central node" may include:
- the first cloud server matching the target controlled device may be a cloud server belonging to the same IoT system as the target controlled device.
- the central node may include a control device, and the step of "receiving the device control instruction sent by the first cloud server that matches the target controlled device, wherein the device control instruction is that the central node transmits to Instructions sent by the first cloud server, the second cloud server is a cloud server that matches the central node.” It can be completed by the cooperation between the target controlled device and the control device, that is, "receive the instruction from the first cloud server that matches the target controlled device.
- the device control instruction sent wherein the device control instruction is an instruction sent by the control device to the first cloud server through the second cloud server, and the second cloud server is a cloud server that matches the control device.”
- the target controlled device can establish a control connection relationship with the central node, so that based on the control connection relationship, it can receive the device control instruction sent by the central node.
- step " Receive device control instructions sent by the central node" which may include:
- control connection relationship Establish a control connection relationship with the central node, wherein the control connection relationship is used for the central node to perform device control on the target controlled device;
- the device control instruction sent by the central node is received.
- control connection relationship established here is a connection relationship in the control process. Specifically, in the process of realizing the device control of the target controlled device by the central node, two processes of configuration and control may be included. Wherein, control refers to a process in which the central node performs device control on the target controlled device. For example, the central node may control the target controlled device by sending a device control command to the target controlled device.
- control can be performed directly after the configuration is completed.
- the target controlled device can continue to use the connection relationship established during the configuration process, and based on the connection relationship , to receive the device control command sent by the central node.
- the target controlled device can A control connection relationship with the central node is established, so that the device control instruction sent by the central node can be received based on the control connection relationship.
- the central node may include a control device, and the step "establish a control connection relationship with the central node, wherein the control connection relationship is used for the central node to perform device control on the target controlled device; based on Control the connection relationship, receive the device control instruction sent by the central node.” It can be completed by the cooperation between the target controlled device and the control device, that is, "establish a control connection relationship with the control device, wherein the control connection relationship is used for the control device Perform device control on the target controlled device; based on the control connection relationship, receive the device control command sent by the control device.”
- the target controlled device may establish the control connection relationship with the central node.
- the device control information of the central node obtained by the target controlled device may include the object identifier of the device control object, and the device Control the connection key information corresponding to the object. Therefore, based on the object identifier and the connection key information, a control connection relationship with the central node can be established.
- the step "establish a control connection relationship with the central node" can be include:
- the target controlled device and the central node can perform security negotiation through the object identifier and the connection key information, and establish an encrypted connection, so as to realize the establishment of a control connection relationship between the target controlled device and the central node.
- the method for establishing the control connection relationship here may be the same as or different from the method for establishing the connection relationship in the configuration process described above, and this application is not limited thereto.
- the central node may include a control device, and the step "establish a control connection relationship with the central node based on the object identifier and connection key information.”
- the target controlled device may cooperate with the control device Complete, that is, "establish a control connection relationship with the control device based on the object identifier and connection key information.”
- the target controlled device there may be multiple central nodes under different IoT systems that have set their device control authority for the target controlled device, and, in During the control process, there may be multiple central nodes requesting to establish a control connection relationship with the target controlled device, and the target controlled device should establish a control connection relationship with the configured central node. Therefore, when there are multiple When the central node requests to establish a control connection relationship with the target controlled device, the target controlled device may determine the target central node from multiple central nodes, and establish a control connection relationship with the target central node.
- the device control information of the central node obtained by the target controlled device may include, in addition to the object identifier of the device control object and the connection key information corresponding to the device control object, it may also include The system identifier of the IoT system, that is, the target system identifier of the target IoT system, and the target device identifier assigned by the target IoT system to the target controlled device, specifically, the step "based on the object identifier and the connection key information , to establish a control connection relationship with the central node", which can include:
- control connection request includes a central system identifier
- the central system identifier is the device identifier of the IoT system to which the central node belongs
- a control connection relationship with the central node is established based on the target device identifier, object identifier, and connection key information.
- control connection request acquired by the target controlled device is data requesting establishment of a control connection relationship with the target controlled device.
- the control connection request may include a central system identifier, where the central system identifier is the system identifier of the IoT system to which the central node sending the control connection request belongs.
- the data form of the control connection request may be in various forms, for example, it may be a multicast or broadcast message.
- the target controlled device may obtain multiple control connection requests, and these control connection requests may be sent to the target controlled device by central nodes belonging to different IoT systems.
- the target controlled device can compare the central system identification corresponding to each control connection request with the target system identification, and if the two match, it can determine the central node that sent the control connection request, which is configured with the target controlled device.
- the central node, the target controlled device may further establish a control connection relationship with the central node based on the target device identifier, the object identifier, and the connection key information.
- the central node may include a control device, and the step "obtain the control connection request of the central node, wherein the control connection request includes the central system identifier, and the central system identifier is the device of the IoT system to which the central node belongs ID; if the ID of the central system matches the ID of the target system, then based on the ID of the target device, the ID of the object, and the connection key information, establish a control connection relationship with the hub node.” It can be completed by the cooperation of the target controlled device and the control device , that is, “to obtain the control connection request of the control device, wherein the control connection request includes the central system identifier, and the central system identifier is the device identifier of the IoT system to which the central node belongs; if the central system identifier matches the target system identifier, then based on the target Device ID, object ID, and connection key information to establish a control connection relationship with the control device.”
- the central node can send a multicast or broadcast message through a multicast message to send a control connection request to the target controlled device, wherein the control connection request includes a central system identifier, and the central system
- the identifier is the device identifier of the IoT system to which the hub node belongs, and the format of the message is agreed in advance.
- the target controlled device can obtain the control connection request of the central node. If the central system identifier matches the target system identifier, the target controlled device can further establish a control connection relationship with the central node based on the target device identifier, object identifier, and connection key information.
- the step "Based on the target Device identification, object identification, and connection key information, to establish a control connection relationship with the central node" which may include:
- the device connection response information includes a target device identifier
- the target controlled device can determine the IoT system to which the central node sending the control connection request belongs based on the central system identifier included in the control connection request, and the target controlled device The device can determine the device ID allocated by the IoT system to the target controlled device, and generate device connection response information including the device ID.
- the target controlled device can send device connection response information to the central node, so that the central node learns the identity of the target controlled device to establish a control connection relationship with it.
- the target controlled device can further , and connection key information to establish a control connection relationship with the central node.
- the target controlled device After establishing the control connection relationship with the central node, the target controlled device can further receive the device control instruction sent by the central node based on the control connection relationship.
- a control connection channel for data interaction between the target controlled device and the central node can be established. In this way, the target controlled device and the central node can pass through the The control connection channel performs data interaction, for example, sending device control commands and receiving device control commands.
- the target controlled device can execute the operation corresponding to the device control instruction after receiving the device control instruction sent by the central node.
- the device control instruction may include a service call instruction, where the service call instruction can be used to call a service provided by the target controlled device, and the target controlled device may receive the service call instruction sent by the central node, and call the service call Command the corresponding service to realize the device control of the target controlled device by the central node.
- the central node may include a control device, and the step "generates device connection response information for a control connection request, wherein the device connection response information includes a target device identifier; sends the device connection response information to the central node, and Based on the object identifier and the connection key information, establish a control connection relationship with the central node.” It can be completed by the cooperation of the target controlled device and the control device, that is, "generate the device connection response information for the control connection request, wherein the device The connection response information includes the target device identifier; send the device connection response information to the control device, and establish a control connection relationship with the control device based on the object identifier and connection key information.”
- the device control instruction may include an information change instruction, where the information change instruction may be used to change the device control information stored in the target controlled device, for example, it may be used to modify the ACL of the target controlled device, such as , which can be used to modify the permission information stored in the ACL, and to update the connection key information stored in the ACL, etc.
- the step of "executing the operation corresponding to the device control instruction" may include:
- the device control object If the device control object has the information change authority to the target controlled device, then execute the information change operation corresponding to the information change instruction.
- the target controlled device can determine the device control object corresponding to the device control instruction.
- the target controlled device can receive the device control request sent by the central node, where the device control request can include the device control instruction and the device control The object identifier of the object, therefore, the target controlled device can determine the device control object corresponding to the device control instruction based on the object identifier.
- the target controlled device can determine whether the device control object has information modification authority, for example, it can be realized by querying the device control information stored in the target controlled device, for example, it can be realized by querying the ACL of the target controlled device . Specifically, if the device control object has the information modification authority for the target controlled device, the target controlled device can execute the information modification operation corresponding to the information modification instruction.
- the device control object of the central node may be an access management device F, and its object attribute is an administrator, that is, the access management device F has the information table update authority for the target controlled device.
- the access management device F can periodically send a device control command to the target controlled device.
- the device control command can include an ACL message and the object identifier of the access management device F, and the ACL message is used for the target controlled device.
- the device updates its ACL.
- the target controlled device After the target controlled device receives the device control command, it can extract the object identifier from it, and by querying the ACL, it can be known that the device control object corresponding to the device control command is the access management device F, and its object attribute is administrator. Therefore, the target The controlled device can determine that the access management device F has the authority to update the information table of the target controlled device. In this case, the target controlled device can perform the information change operation corresponding to the information change instruction based on the ACL message, that is, to ACLs are updated.
- this embodiment can receive a device capability request sent by a central node that has established a connection relationship with the target controlled device, wherein the target controlled device and the central node belong to different IoT systems; in response to the device capability request, Return the device capability information of the target controlled device to the central node, where the device capability information is used to instruct the central node to generate device control information for the target controlled device; receive the device control information sent by the central node; based on the device control information, set the central The permission information of the node to the target controlled device.
- This solution can enable the central node of the IoT system that is different from the target controlled device to set its device control authority for the target controlled device, so as to realize device control in a cross-IoT system scenario.
- this solution establishes a connection relationship between the target controlled device and the central node, so that the central node can obtain the device capability information of the target controlled device based on the connection relationship, and then generate a device control device for setting permission information. information, and through the device control information, set the device control authority of the central node to the target controlled device.
- the solution can support the target controlled device to be controlled by local central devices such as third-party applications, smart speakers, gateways, smart TVs, routers, etc., so that the interconnection between the target controlled devices under the cross-IoT system has been improved. .
- this solution compared with the protocol interconnection or standardization based on cloud or terminal cloud, this solution not only avoids the former's low performance and stability problems caused by long data links, but also improves the latter because the target is controlled.
- the device cannot be connected to the cloud of the device manufacturer, which leads to the problem that the enthusiasm of the device manufacturer is not high and the promotion is difficult. Therefore, this solution can further improve the interconnection and intercommunication between the target controlled devices under the cross-IoT system at low cost and without affecting the connection of the target controlled device to the device manufacturer's cloud.
- the central node may include a configuration device, and the step of "obtaining the device capability information of the target controlled device that has established a connection relationship with the central node.” can be completed by the cooperation of the target controlled device and the configuration device, That is, "trigger the configuration device, and obtain the device capability information of the target controlled device that has established a connection relationship with the configuration device.”
- step "Obtain the device capability information of the target controlled device that has established a connection relationship with the central node" which may include:
- the device capability information of the target controlled device is obtained.
- the central node may include a configuration device, and the step "establish a connection relationship between the central node and the target controlled device, wherein the central node and the target controlled device belong to different IoT systems; based on Connection relationship, to obtain the device capability information of the target controlled device.” It can be completed by the cooperation of the target controlled device and the configuration device, that is, "establish the connection relationship between the configuration device and the target controlled device, wherein the configuration device and the target are Control the different IoT systems to which the equipment belongs; based on the connection relationship, obtain the equipment capability information of the target controlled equipment.”
- the central node may request the target controlled device to establish a connection relationship between the central node and the target controlled device by sending connection inquiry information to the target controlled device.
- the step "establishing the connection between the central node and the "Connection relationship between target controlled devices" may include:
- connection query information Sending connection query information to the target controlled device, and receiving query response information sent by the target controlled device based on the connection query information, where the query response information includes device information of the target controlled device;
- the connection relationship between the central node and the target controlled device is established.
- the central node may generate connection query information, and the connection query information may specifically be in the form of a message, and the format of the message is a pre-agreed preset query format.
- the central node can send multicast or broadcast messages in the local area network by means of multicast messages or the like, so as to send connection inquiry information to the target controlled device.
- the central node may receive the query response information sent by the target controlled device based on the connection query information.
- the query response information may specifically be in the form of a message, and the format of the message is a pre-agreed query response format.
- the query response information include the device information of the target controlled device.
- the central node considering that for the central node, it can establish a connection relationship with multiple IoT devices and then control the IoT devices, that is, the central node can send connection inquiry information to multiple IoT devices, In this case, correspondingly, the hub node can receive the query response information replied by multiple IoT devices, therefore, the hub node can determine the device to establish a connection relationship with the hub node according to the device information in the query response information it receives. The identity of the IoT device.
- the central node may include a configuration device, the step of "generating connection query information satisfying the preset query format; sending the connection query information to the target controlled device, and receiving the target controlled device based on the connection query information
- the device information of the device based on the device information, establish the connection relationship between the configuration device and the target controlled device.”
- the central node After determining the identity of the target controlled device to establish a connection relationship with the central node, the central node can establish a connection relationship with the target controlled device.
- the connection relationship between the target controlled device and the central node can be realized by exchanging keys, for example, it can be realized by exchanging personal identification codes (PersonalIDentificationNumber, PIN code).
- the steps " Based on the device information, establish a connection relationship between the central node and the target controlled device" which may include:
- connection verification information Based on the connection verification information, a connection relationship between the central node and the target controlled device is established.
- connection verification information is related information to be verified when establishing the connection relationship between the central node and the target controlled device during the configuration process. Specifically, if the verification of the connection verification information passes, you can Further establish the connection relationship between the central node and the target controlled device, otherwise, do not establish it.
- the connection verification information may be key information, such as a PIN code.
- the central node can obtain the connection verification information of the target controlled device in a variety of ways, for example, through user input. Specifically, the central node can obtain the device information of the target controlled device After the information is displayed, the user is prompted that the target controlled device is to be connected to the central node, and the user is required to confirm out-of-band by entering a PIN code or scanning a QR code.
- the user can then transmit it to the central node, so that the central node can obtain the connection verification information.
- the user can view the fixed connection verification information on the device package of the target controlled device.
- the user can obtain the connection verification information of the target controlled device through the first IoT APP that matches the target controlled device.
- the user can obtain the connection verification information generated by the first IoT APP, or through the second An Internet of Things APP queries the connection verification information of the target controlled device, etc.
- the connection verification information is generated by the first Internet of Things APP
- the first Internet of Things APP may transmit the connection verification information to the target controlled device through the first cloud server.
- the central node may include a configuration device, and the step "acquire the connection verification information of the target controlled device based on the device information; based on the connection verification information, establish a connection between the central node and the target controlled device.
- the connection relationship between the target controlled device and the configuration device can be completed in cooperation, that is, "acquire the connection verification information of the target controlled device based on the device information; based on the connection verification information, establish the connection between the configuration device and the target controlled device connections between them.”
- the central node there are many ways for the user to obtain the connection verification information of the target controlled device.
- the user can directly interact with the central node to transfer the target controlled device to the central node.
- Controlling the connection verification information of the device specifically, the step "obtaining the connection verification information of the target controlled device” may include:
- connection verification information of the target controlled device is acquired.
- the information input operation for the central node may be a specific touch operation, such as a long-press operation, a double-click operation, and a slide operation. It can also be a non-touch operation, such as a voice-triggered operation, an image detection-triggered operation, a program-triggered operation, and the like.
- the information input operation for the central node may also be a combination of a series of operations, which is not limited in this embodiment.
- the central node may include a physical control through which the user may perform an information input operation to input the connection verification information of the target controlled device; for another example, the central node may include a display screen through which the user may Perform touch operation or scan code operation to input the connection verification information of the target controlled device; as another example, the central node can include a voice interaction module, and the user can realize the information input operation for the central node through voice interaction with the central node , so as to input the connection verification information of the target controlled device; as another example, the central node can include an image recognition module, and the user can send an image including the connection verification information to the central node, so that the central node can be identified by the image recognition module
- the connection verification information of the target controlled device another example, the user can transmit the connection verification information of the target controlled device to the central node through near field communication technology; and so on.
- the central node may include a configuration device, and the step "responsive to the information input operation for the central node, obtain the connection verification information of the target controlled device.”
- the target controlled device and the configuration device may The cooperation is completed, that is, "obtain the connection verification information of the target controlled device in response to the information input operation for the configuration device.”
- the user can also pass the connection verification information of the target controlled device to the central node through the second Internet of Things app.
- the step "obtaining the connection verification information of the target controlled device” may include:
- connection verification information sent by the target client, where the target client is a client matching the hub node, and the connection verification information is the connection verification information corresponding to the target controlled device.
- the target client may be a second Internet of Things app.
- the user determines the connection verification information of the target controlled device, he may input the connection verification information into the second Internet of Things app, and pass the second Internet of Things app to the The connection verification information is transmitted to the central node, so that the central node can obtain the connection verification information of the target controlled device.
- the central node may include a configuration device, and the step "obtain the connection verification information sent by the target client, wherein the target client is the client matching the central node, and the connection verification information is the target The connection verification information corresponding to the controlled device.” It can be completed by the cooperation of the target controlled device and the configuration device, that is, "obtain the connection verification information sent by the target client, where the target client is the client that matches the configuration device , the connection verification information is the connection verification information corresponding to the target controlled device.”
- the step of "obtaining device capability information of the target controlled device based on the connection relationship" may include:
- the central node and the target controlled device can agree on the format of the device capability request.
- the central node can generate a device capability request that meets the preset agreed format and send it to the target controlled device.
- the device capability request is to request to acquire the capability model of the target controlled device.
- the hub node can be a third-party local hub, and the target controlled device can be an IoT device.
- the third-party local hub can generate a device capability request for an IoT device in a pre-agreed format and send it to the IoT device.
- the device capability request can be received from the third-party local hub.
- the third-party local hub can receive the device capability information returned by the IoT device based on the device capability request, and the device capability information can specifically include the specific model, type, controllable instructions, attributes, services, etc. of the IoT device.
- the central node may include a configuration device, the step of "generating a device capability request for the target controlled device, and based on the connection relationship, sending the device capability request to the target controlled device; receiving the target controlled device The device capability information returned based on the device capability request.” can be completed by the target controlled device and the configuration device in cooperation.
- the central node and the target controlled device can be authenticated through the connection relationship established between the two, and only when the authentication is passed, the central node sends data to the target controlled device, for example,
- the device capability request specifically, the step of "sending the device capability request to the target controlled device based on the connection relationship" may include:
- the target controlled device is authenticated
- a device capability request is sent to the target controlled device.
- the central node authenticates the target controlled device, which can be used to make the central node determine the identity of the target controlled device, and, if the authentication passes, send a device capability request to the target controlled device. For example, a device capability request may be sent to the target controlled device based on the established connection relationship.
- this step can be an optional step, that is, after the central node establishes a connection relationship with the target controlled device, it does not need to authenticate the target controlled device. In this case, the central node trusts all users Approved targets are controlled devices.
- the central node may include a configuration device, and the step "authenticates the target controlled device based on the connection relationship; if the authentication is passed, send a device capability request to the target controlled device.”
- the controlled device cooperates with the configuration device.
- the central node to authenticate the target controlled device.
- the identity of the target controlled device can be authenticated through certificate authentication; another example, the identity of the target controlled device can be authenticated through key authentication; As another example, authentication can be challenged to authenticate the identity of the target controlled device, etc.
- the step of "authenticating the target controlled device based on the connection relationship" may include:
- the central node may include a configuration device, and the step "perform certificate authentication or key authentication on the target controlled device based on the connection relationship.” can be completed by the target controlled device and the configuration device in cooperation.
- the central node can generate device control information for the target controlled device.
- the device control information is the device control information bound to the hub node, for example, it is the device control information bound to the device identifier of the hub node. In this case, even if the device control object that controls the target controlled device through the hub node changes Therefore, the device control information of the central node for the target controlled device can also remain unchanged.
- the central node may include an access management device, and the step of "generating the device control information of the central node for the target controlled device based on the device capability information.” can be determined by the target controlled device and the access management device. The device cooperation is completed, that is, "based on the device capability information, the access management device is triggered, and the device control information of the access management device to the target controlled device is generated.”
- the central node can be used as a physical medium for different device control objects to control the target controlled device, and different device control objects have different device control requirements for the target controlled device, therefore, it can be used in the central In the IoT system to which the node belongs, based on the device capability information of the target controlled device, for different device control objects of the central node, generate the device control information corresponding to the device control object.
- the step "based on the device capability information, generate "Device control information for target controlled devices" may include:
- the device control information of the device control object in the target IoT system for the target controlled device is generated, wherein the target IoT system is the IoT system to which the central node belongs.
- the device control object of the central node can be determined through the interaction between the second IoT system and the IoT system to which the central node belongs, that is, the target IoT system; It can be determined through interaction between the connected system and the user; for another example, it can be determined by the central node based on the current device data of the central node; and so on.
- the hub node can assign different object IDs to different device control objects in the target IoT system.
- a third-party local hub can assign different topic IDs to different controllers, users, etc. in its own ecosystem. .
- the central node may include an access management device, and the step "determine the device control object of the central node, wherein the device control object is the object of the controlled device through the central node control target; based on the device capability information , to generate the device control information of the device control object in the target IoT system for the target controlled device, wherein the target IoT system is the IoT system to which the central node belongs.” It can be completed by the cooperation of the target controlled device and the access management device, That is, "trigger the access management device to determine the device control object of the central node, wherein the device control object is the object that controls the target controlled device through the central node; based on the device capability information, generate the device control object in the target IoT system for the target The device control information of the controlled device, where the target IoT system is the IoT system to which the central node belongs.”
- the device control information of the device control object in the target IoT system for the target controlled device can be generated.
- the central node can determine the services provided by the target controlled device, the services that the central node can access, and the permissions of each accessible service, so as to determine the service access of the device control object Information, further, according to the service access information of the device control object, the device control information of the device control object in the target IoT system for the target controlled device can be generated.
- the device control information of the device control object in the target IoT system for the target controlled device is generated.
- the service provided by the target controlled device can be determined based on the device capability information. As an example, it may be determined from the device capability information of the smart air conditioner that the services provided by the smart air conditioner include cooling service, heating service, dehumidification service, self-cleaning service, and the like.
- the service access information of the device control object can be determined through the interaction between the second IoT system and the IoT system to which the central node belongs, that is, the target IoT system; It can be determined through interaction between the connected system and the user; for another example, it can be determined by the central node based on the current device data of the central node; and so on.
- the central node can add the system identification of the target IoT system, the object identification of the device control object, and the service access information of the device control object to the device control information of the central node to generate the device control object in the target IoT system.
- Device control information of the controlled device In this way, after the target controlled device obtains the device control information, it can set the device control authority of the device control object in the target IoT system to the target controlled device based on the system identifier and object identifier correspondingly.
- the third-party local hub can add the ecological identification code of the third-party local hub, the object identifier of the device control object, and the service access information to the device control information of the third-party local hub to generate the ecological information of the third-party local hub.
- the device control object is device control information of the IoT device, wherein the service access information may include accessible services and permissions of each service. In this way, after the IoT device obtains the device control information, it can set the device control authority of the device control object in the ecology to the IoT device based on the ecological identification code and the subject ID.
- the central node may include an access management device, and the steps of "determining the service provided by the target controlled device based on the device capability information; determining the service access information of the device control object to the service; based on the service access information to generate the device control information of the device control object in the target IoT system for the target controlled device.” It can be completed by the cooperation of the target controlled device and the configuration device, that is, "trigger the access management device, and determine the target based on the device capability information.
- the service provided by the controlled device determine the service access information of the device control object to the service; based on the service access information, generate the device control information of the device control object in the target IoT system for the target controlled device.”
- the device control object may not only have the service call authority to the target controlled device, but also have the information modification authority to the target controlled device. Therefore, the central node can correspondingly set this information in the device control information, for example, it can be set through the object attribute information of the device control object. In this way, the central node can set the object attribute of the device control object, so that the target controlled device can know whether the device control object has information modification authority.
- the step of "generating the device control information of the device control object in the target IoT system for the target controlled device" may include:
- the device control information of the device control object in the target IoT system for the target controlled device is generated.
- the object attribute information of the device control object there are many ways to determine the object attribute information of the device control object. For example, it can be determined through interaction between the second IoT system and the IoT system to which the central node belongs, that is, the target IoT system; The second IoT system interacts with the user to determine; for another example, it may be determined by the central node based on the current device data of the central node; and so on.
- the hub node further adds the object attribute information of the device control object to the device control information of the hub node, so as to generate device control information of the device control object in the target IoT system for the target controlled device.
- the target controlled device obtains the device control information, it can determine whether the device control object has information modification authority for the target controlled device based on the object attribute information.
- the third-party local hub can further add the role information of the device control object to the device control information of the third-party local hub to generate device control information for IoT devices in the ecosystem where the third-party local hub is located.
- the IoT device obtains the device control information, it can correspondingly determine whether the device control object has the right to change the information of the IoT device based on the object attribute information.
- the device control information generated by the central node may not only include the system identifier of the second IoT system, including the subject ID of the device control object, object attribute information, and service access information, but also include device ID, connection password, etc. key, and the key expiration time of the connection key.
- the central node may include an access management device, and the step of "determining the object attribute information of the device control object; based on the object attribute information, generating Device control information.” can be completed by the cooperation of the target controlled device and the access management device, that is, "trigger the configuration device to determine the object attribute information of the device control object; based on the object attribute information, generate the device control object in the target IoT system for Device control information of the target controlled device.”
- the central node may include an access management device, and the step "send device control information to the target controlled device, wherein the device control information is used to instruct the target controlled device to set the control authority, and the control authority is The central node's device control authority for the target controlled device.” It can be completed by the target controlled device and the access management device in cooperation, that is, "trigger the access management device to send device control information to the target controlled device, wherein the device control The information is used to instruct the target controlled device to set the control authority, and the control authority is the device control authority of the central node to the target controlled device.”
- the central node may include a configuration device and an access management device, and the configuration device may establish a connection relationship with the target controlled device through the foregoing steps, then the access management device may establish an access management device through the configuration device.
- the step of "sending device control information to the target controlled device" may include:
- step "establishing an access connection relationship between the access management device and the target controlled device by configuring the device” may be described first.
- the target controlled device trusted by the configuration device can be directly used as the trusted access management device device, and then establish an access connection relationship between the access management device and the target controlled device.
- data transmission can be performed through the configuration device, so that the access management device can send related information about the access management device to the target controlled device through the configuration device, so that the target controlled device can determine whether to establish The access connection relationship with the access management device, specifically, the step of "establishing an access connection relationship between the access management device and the target controlled device by configuring the device" may include:
- an access connection relationship between the access management device and the target controlled device is established.
- the configuration device can directly send the communication address information of the access management device to the target controlled device.
- the control device so that the target controlled device obtains the communication address information of the access management device sent by the configuration device.
- the communication address information of the access management device to the target controlled device by configuring the device. Relevant information is sent to the target controlled device, so that after the target controlled device obtains the information, it can further determine whether to obtain the access management device from at least one candidate access management device through steps such as device search and device verification. Communication address information sent by the access management device. Specifically, the step of "sending the communication address information of the access management device to the target controlled device by configuring the device" may include:
- the device By configuring the device, send the device verification information of the access management device to the target controlled device, wherein the device verification information is used for the target controlled device to verify the access management device;
- the device verification information sent by the configuration device is relevant information required for the target controlled device to verify the access management device. Specifically, for the configuration device, since it has established a connection relationship with the target controlled device, and optionally, it has also authenticated with the target controlled device, therefore, the configuration device can be used as a device trusted by the target controlled device .
- the device verification information sent by the configuration device may be in various forms.
- the device verification information may be a character string, a value, or a set.
- the configuration device and the access management device can be the same IoT device under the same IoT system, or different IoT devices under the same IoT system. If the configuration device and the access management device are the same IoT device under the same IoT system, it can be considered that the configuration device is a device trusted by the access management device; if the configuration device and the access management device are under the same IoT system For different IoT devices, the configuration device and the access management device can interact with internal data in the same IoT system, such as internal authorization, to establish a trust relationship between the two. In this case, the configuration device can be considered as an access management device. Manage devices that the device trusts.
- the configuration device can send the device verification information of the access management device to the target controlled device, so that the target controlled device can follow up based on The device verifies the information, and verifies at least one candidate access management device to determine whether to obtain the communication address information sent by the access management device.
- the system identifier of the target IoT system may be determined as device verification information, where the target IoT system is the IoT system to which the access management device belongs.
- the system identification of the target IoT system can also be called the ecological identification code of the target IoT system, and the ecological identification code can be used to uniquely identify a third-party manufacturer.
- the format of the device verification information can be pre-agreed, and the access management device can generate data satisfying the format, and use the data as the device verification information.
- the access management device can send its device verification information to the configuration device, so that the device verification information can be sent to the target controlled device through the configuration device.
- the target controlled device can obtain the The device verification information of the access management device sent by the configuration device, wherein the device verification information sent by the configuration device may be used for the target controlled device to verify at least one candidate access management device.
- the access management device can rely on its device verification information to make the target controlled device
- the device determines and acquires the communication address information of the access management device from multiple access management devices.
- the access management device may send the device verification information and communication address information of the access management device to the target controlled device.
- the target controlled device is based on the device verification information sent by the configuration device
- the access management device can actively send the information to the target controlled device;
- the access management device sends a response to the target controlled device.
- the step of "sending communication address information of the access management device to the target controlled device based on the connection verification information" may include:
- Generate response information for device search information and send the response information to the target controlled device, where the response information includes connection verification information and communication address information of the access management device.
- the target controlled device can generate device search information based on the device verification information sent by the configuration device, for example, generate a device search message, and the target controlled device can use technologies such as LAN broadcast and multicast in the local area network, Send device discovery information.
- the access management device can receive the device search information sent by the target controlled device based on the device verification information, and generate the response information of the device search information, where the response information includes the connection verification information and communication address of the access management device Further, the access management device may send response information to the target controlled device.
- the access management device can further establish a connection with the target controlled device based on the communication address information. Enter the connection relationship.
- the access management device can also perform identity authentication on the target controlled device, and after the authentication is passed, Further, based on the access connection relationship, the device control information is sent to the target controlled device.
- the step of "sending device control information to the target controlled device based on the access connection relationship.” may include:
- the target controlled device is authenticated
- authenticating the target controlled device can be used for the access management device to further verify the identity of the target controlled device on the basis of establishing an access connection relationship between the access management device and the target controlled device. To improve the security of data exchange.
- the access management device may be implemented through certificate authentication, challenge authentication, or key authentication.
- the central node may also include an access authentication device, and the access management device may authorize the access authentication device to perform authentication on the target controlled device.
- the steps "Authenticate the target controlled device” may include:
- the target controlled device is authenticated.
- the access management device may send Before the device control information, authentication verification information is sent to the target controlled device, so that the target controlled device can authenticate the access management device based on the authentication verification information.
- the method for setting device control authority may further include:
- the access management device can send device authentication information to the target controlled device. For example, after the access connection relationship between the access management device and the target controlled device is established, the access management device can be established. A connection channel for data interaction with the target controlled device. In this way, the access management device and the target controlled device can perform data interaction through the connection channel, for example, sending device authentication information and receiving device authentication information.
- step of "determining the device authentication information of the access management device” it may include:
- the access management device can obtain the authentication request sent by the target controlled device based on the access connection relationship established between it and the target controlled device .
- the access management device may generate authentication check information based on the received authentication request.
- the central node may include an access authentication device, and the access authentication device may perform related steps of authenticating the access management device. Specifically, the step "generate the access management device based on the authentication request Device Authentication Information", which can include:
- the access authentication device is triggered, and device authentication information of the access management device is generated based on the authentication request.
- the manner in which the target controlled device authenticates the access management device may be certificate authentication, and the device authentication information sent by the access management device to the target controlled device may specifically be a certificate.
- the authentication verification information required by the target controlled device to authenticate the access management device is an ecological identification code
- the device authentication information sent by the access management device to the target controlled device is a certificate.
- the access management After receiving the authentication request sent by the target controlled device, the device can send the authentication request to the access authentication device to trigger the access authentication device to generate a corresponding certificate based on the authentication request, wherein the certificate is issued by a trusted A certificate issued by a CA and matched with an ecological identification code.
- the target controlled device can determine that the verification result of the certificate is verified, that is, the authentication result of the access management device is passed; otherwise, the target controlled device can determine that the verification result of the certificate is verified.
- the authentication fails, that is, the authentication result of the access management device is authentication failed.
- the step "if the authentication passes, send device control information to the target controlled device.” may include:
- the access management device may send device control information to the target controlled device based on the registration result.
- the access management device may send device control information to the target controlled device; otherwise, the access management device may not send device control information to the target controlled device.
- the target controlled device after the target controlled device registers with the access management device, it can send device control information to the target controlled device, that is, no matter whether the registration result is successful or not, as long as the target controlled device requests the After the device registers and accesses the management device, it can send device control information to the target controlled device.
- the IoT device After the IoT device completes the authentication to the access management module, the IoT device sends its own device information to the access management module for device registration.
- the device information may specifically include the device type, binding code and other information.
- the access management device may send device control information to the IoT device after the IoT device is successfully registered.
- the process of setting the device control authority is described above from the perspective of the central node.
- the device control can be further performed on the basis of the foregoing process.
- the setting of the device control authority Methods can also include:
- a device control instruction is sent to the target controlled device, so as to perform device control on the target controlled device through the device control instruction.
- the central node may include a control device, and the step "sends a device control instruction to the target controlled device, so as to perform device control on the target controlled device through the device control instruction.”
- the target controlled device may Cooperate with the control device, that is, "trigger the control device, send a device control command to the target controlled device, so as to perform device control on the target controlled device through the device control command.”
- the step of "sending device control instructions to the target controlled device" may include:
- the device control instruction is sent to the second cloud server, so as to send the device control instruction to the target controlled device through the second cloud server, wherein the second cloud server is a cloud server matching the central node.
- the central node may include a control device, and the step "sends a device control instruction to the second cloud server, so as to send the device control instruction to the target controlled device through the second cloud server, wherein the second cloud
- the server is a cloud server that matches the central node. It can be completed by the cooperation of the target controlled device and the control device, that is, "trigger the control device to send a device control command to the second cloud server, so that the target controlled device can be sent to the target through the second cloud server.
- the device sends a device control instruction, wherein the second cloud server is a cloud server that matches the hub node.”
- the step of "sending a device control command to the target controlled device” may include:
- the central node may include a control device, and the step "sends a device control command to the second cloud server to send a device control command to the first cloud server through the second cloud server, and sends the device control command to the first cloud server through the first cloud server.”
- the server sends a device control instruction to the target controlled device, wherein the second cloud server is a cloud server that matches the central node, and the first cloud server is a cloud server that matches the target controlled device.” can be controlled by the target controlled device
- the device cooperation is completed, that is, "trigger the control device, send the device control command to the second cloud server, so as to send the device control command to the first cloud server through the second cloud server, and send the device control command to the target controlled device through the first cloud server.
- control instructions wherein the second cloud server is a cloud server that matches the central node, and the first cloud server is a cloud server that matches the target controlled device.”
- the central node can establish a control connection relationship with the target controlled device, so that based on the control connection relationship, it can send a device control instruction to the target controlled device", specifically, the step "to The target controlled device sends a device control command", which may include:
- control connection relationship Establish a control connection relationship with the target controlled device, wherein the control connection relationship is used for the central node to perform device control on the target controlled device;
- a device control instruction is sent to the target controlled device.
- the central node may include a control device, and the step of "establishing a control connection relationship with the target controlled device, wherein the control connection relationship is used for the central node to perform device control on the target controlled device ; Based on the control connection relationship, send a device control instruction to the target controlled device.” It can be completed by the cooperation between the target controlled device and the control device, that is, "trigger the control device to establish a control connection relationship with the target controlled device, where , the control connection relationship is used for the central node to perform device control on the target controlled device; based on the control connection relationship, send device control instructions to the target controlled device.”
- the device control information sent by the central node to the target controlled device may include the object identifier of the device control object, and the device control The connection key information corresponding to the object. Therefore, based on the object identifier and the connection key information, a control connection relationship with the target controlled device can be established.
- the step "establish a control connection with the target controlled device Connections" can include:
- connection key information Based on the object identifier and connection key information, establish a connection relationship with the target controlled device.
- the method for establishing the control connection relationship here may be the same as or different from the method for establishing the connection relationship in the configuration process described above, and this application is not limited thereto.
- the central node may include a control device, and the step "establish a connection relationship with the target controlled device based on the object identifier and connection key information.”
- the target controlled device and the control device may The cooperation is completed, that is, "trigger the control device to establish a connection relationship with the target controlled device based on the object identifier and connection key information.”
- the central node considering that in practical applications, for the central node, it is possible to set its device control authority for IoT devices under multiple different IoT systems, and during the control process, the central node A request may be made to multiple IoT devices to establish a control connection relationship, and correspondingly receive control connection response information returned by multiple IoT devices, wherein the control connection response information may include a first device identifier corresponding to the IoT device .
- the central node when the central node wants to establish a control connection relationship with the target IoT device, the central node can determine by comparing the target device identifier of the target IoT device with the first device identifier in the control connection response information Whether the Internet of Things device sending the control connection response information is a target Internet of Things device, so that a control connection relationship between the central node and the target Internet of Things device can be further established.
- the device control information sent by the central node to the target controlled device may include, in addition to the object identifier of the device control object and the connection key information corresponding to the device control object, the information of the IoT system to which the central node belongs.
- the system identifier is the target system identifier of the target IoT system, and includes the target device identifier assigned by the target IoT system to the target controlled device. Specifically, the step "establish a connection with the target controlled device based on the object identifier and the connection key information. Control the connection relationship between devices", which can include:
- control connection request includes the target system identifier
- control connection response information sent by the target controlled device, where the control connection response information includes a first device identifier corresponding to the target controlled device;
- a control connection relationship with the target controlled device is established based on the object identifier and the connection key information.
- control connection request generated by the central node is used to request establishment of a control connection relationship between the central node and the target controlled device.
- the control connection request may include a target system identifier, where the target system identifier is the system identifier of the IoT system to which the central node generating the control connection request belongs.
- the data form of the control connection request may be in various forms, for example, it may be a multicast or broadcast message.
- the central node may generate a control connection request, and send the control connection request to the target controlled device. Therefore, the central node can send control connection requests to multiple target controlled devices, and correspondingly, the central node can receive control connection response information from different target controlled devices, wherein the control connection response information includes the target controlled device The corresponding first device identifier.
- the central node can compare the first device identifier corresponding to each control connection response information with the target device identifier, and if the two match, it can determine that the target controlled device that sends the control connection response information is the target device that the central node wants.
- the target controlled device with which the control connection relationship is established. Then the central node may further establish a control connection relationship with the target controlled device based on the object identifier and connection key information.
- the central node can send a multicast or broadcast message through a multicast message to send a control connection request to the target controlled device, wherein the control connection request includes the target system identifier, and the target system
- the identifier is the device identifier of the IoT system to which the hub node belongs, and the format of the message is agreed in advance.
- the target controlled device can obtain the control connection request, and return control connection response information to the central node, where the control connection response information includes the first device identifier corresponding to the target controlled device.
- the central node can compare the first device identifier with the target device identifier, and if the two match, the central node can further establish a control connection relationship with the target controlled device based on the object identifier and connection key information .
- the central node After establishing the control connection relationship with the target controlled device, the central node can further send a device control instruction to the target controlled device based on the control connection relationship.
- the central node may include a control device, and the step "generate a control connection request, and send the control connection request to the target controlled device, wherein the control connection request includes the target system identifier; receiving the target controlled device The control connection response information sent, wherein the control connection response information includes the first device identifier corresponding to the target controlled device; if the first device identifier matches the target device identifier, based on the object identifier and the connection key information, establish a connection with the target controlled device
- the control connection relationship between the control devices.” can be completed by the cooperation of the target controlled device and the control device, that is, "trigger the control device, generate a control connection request, and send a control connection request to the target controlled device, wherein the control connection request Including the target system identifier; receiving the control connection response information sent by the target controlled device, wherein the control connection response information includes the first device identifier corresponding to the target controlled device; if the first device identifier matches the target device identifier,
- the step of "sending device control instructions to the target controlled device” may include:
- the device control object has the information change authority to the target controlled device, then generate a device control instruction based on the information change authority;
- the central node determines the device control object of the target controlled device. For example, it can be determined through the interaction between the central node and the IoT system to which the central node belongs, that is, the target IoT system; Determined through interaction with the user; as another example, determined by the central node based on the current device data of the central node; and so on.
- the central node can determine whether the device control object has information modification authority, for example, it can be determined based on the object attribute of the device control object. Specifically, if the device control object has the information change authority to the target controlled device, the central node can generate a device control instruction based on the information change authority, for example, an information change instruction, and send the device control instruction to the target controlled device, So that the central node can change the device control information stored in the target controlled device through the device control instruction.
- the information change authority for example, an information change instruction
- the device control object of the central node may be an access management device F, and its object attribute is an administrator, that is, the access management device F has the information table update authority for the target controlled device.
- the access management device F may periodically generate a device control instruction, and send the device control instruction to the target controlled device, where the device control instruction may include an ACL message and an object identifier of the access management device F, The object identifier user is used by the target controlled device to determine that the access management device F has the right to change information, and the ACL message is used for the target controlled device to update its ACL.
- the central node may include an access management device, and the step "determines the device control object of the target controlled device; Authorization, generate device control instructions; send device control instructions to the target controlled device.” It can be completed by the cooperation of the target controlled device and the access management device, that is, "trigger the access management device to determine the device control object of the target controlled device ; If the device control object has the information change authority to the target controlled device, then based on the information change authority, generate a device control command; send the device control command to the target controlled device.”
- the embodiment of the present application can enable the central node of a different IoT system to which the target controlled device belongs to set its device control authority for the target controlled device, so as to realize device control in a cross-IoT system scenario.
- this solution establishes a connection relationship with the central node and the target controlled device, so that the central node can obtain the device capability information of the target controlled device based on the connection relationship, and then generate a device control function for setting permission information. information, and through the device control information, set the device control authority of the central node to the target controlled device.
- the embodiment of the present application can support the target controlled device to be controlled by local central devices such as third-party applications, smart speakers, gateways, smart TVs, routers, etc., so that the interconnection and intercommunication between the target controlled devices under the cross-IoT system can be obtained. improved.
- the embodiment of the present application avoids the former's low performance and stability problems caused by long data links, and improves the latter because of the target The controlled device cannot access the cloud of the device manufacturer, which leads to the problem that the enthusiasm of the device manufacturer is not high and it is difficult to promote. Therefore, the embodiment of the present application can further improve the interconnection and intercommunication between the target controlled devices under the cross-IoT system at low cost and without affecting the connection of the target controlled device to the device manufacturer's cloud.
- the first setting device specifically integrated with a terminal, for example, an Internet of Things device
- the second setting device is specifically integrated with a terminal, for example, a central node.
- the hub node may include at least one IoT device.
- the hub node may specifically include the following IoT devices: a configuration device, an access management device, an access authentication device, and a control device.
- the configuration device can be used to configure between the central device and the target controlled device.
- the configuration device can be a terminal running an Internet of Things client, a smart speaker, etc.
- the access management device can be used to configure the target controlled device.
- the control device is connected to the central node for management.
- the access management device can be a smart speaker, etc.
- the access authentication device can be used to authenticate between the central node and the target controlled device.
- the access authentication device can be A smart speaker, etc.
- the control device may be used to control the target controlled device, for example, the control device may be a smart speaker.
- the configuration device Based on the connection relationship, the configuration device sends a device capability request to the target controlled device.
- the target controlled device In response to the device capability request, the target controlled device sends device capability information to the configuration device.
- the target controlled device Based on the access connection relationship, the target controlled device sends an authentication request to the access management device.
- the access authentication device generates device authentication information of the access management device based on the authentication request
- the access management device sends device authentication information to the target controlled device, where the device authentication information is generated by the access authentication device.
- the target controlled device verifies the device authentication information, so as to authenticate the access management device.
- the target controlled device sends the device information of the target controlled device to the access management device.
- the access management device registers the target controlled device based on the device information.
- the access management device sends device control information to the target controlled device based on the registration result.
- the target controlled device Based on the device control information, the target controlled device sets the authority information of the central node to the target controlled device.
- the controlling device sends a device control instruction to the target controlled device.
- the target controlled device executes the operation corresponding to the device control instruction.
- the embodiment of the present application can expand the application scenario in which the central node controls the target controlled device across the Internet of Things system.
- the central node can be divided and decoupled according to the function to obtain the configuration device, Access to IoT devices such as management devices, access authentication devices, and control devices.
- IoT devices such as management devices, access authentication devices, and control devices.
- the resources required to implement device control across the IoT system can be allocated to the IoT devices in at least one hub node, thereby greatly reducing the data processing burden of the IoT devices in each hub node.
- the embodiment of the present application can establish a connection relationship between the target controlled device and the configuration device, so that the configuration device can obtain the device capability information of the target controlled device based on the connection relationship, and further, the target controlled device can establish its connection with the configuration device.
- the access connection relationship between management devices is managed, and based on the access connection relationship, device authentication and device registration are performed, wherein the central node entrusts the relevant steps of device authentication to the access authentication device for execution.
- the control device sends a device control command to the target controlled device, so that the target controlled device executes the operation corresponding to the device control command, thereby realizing the control of the target controlled device by the central node.
- the solution can support the target controlled device to be controlled by local central devices such as third-party applications, smart speakers, gateways, smart TVs, routers, etc., so that the interconnection between the target controlled devices under the cross-IoT system has been improved. .
- the embodiment of the present application avoids the former's low performance and stability problems caused by long data links, and improves the latter because of physical Networked devices cannot access the cloud of the device manufacturer, which leads to the problem that the enthusiasm of the device manufacturer is not high and it is difficult to promote. Therefore, this solution can further improve the interconnection and intercommunication between IoT devices under cross-IoT systems at low cost and without affecting the connection of IoT devices to the device manufacturer's cloud.
- an embodiment of the present application further provides an apparatus for setting a device control authority (that is, a first setting apparatus), where the first setting apparatus may be integrated in a terminal.
- a device control authority that is, a first setting apparatus
- the apparatus for setting device control permissions may include a request receiving unit 401, a response unit 402, an information receiving unit 403, and a permission setting unit 404, as follows:
- the request receiving unit 401 is configured to receive a device capability request sent by a central node that has established a connection relationship with the target controlled device, wherein the target controlled device and the central node belong to different IoT systems;
- the response unit 402 is configured to return the device capability information of the target controlled device to the hub node in response to the device capability request, where the device capability information is used to instruct the hub node to generate device control information for the target controlled device;
- An information receiving unit 403, configured to receive device control information sent by the central node
- the authority setting unit 404 is configured to set the authority information of the central node to the target controlled device based on the device control information.
- the central node includes a configuration device; the request receiving unit 401 may include:
- the request receiving subunit can be used to receive a device capability request sent by a configuration device that has established a connection relationship with the target controlled device;
- Response unit 402 may include:
- the response subunit may be configured to return the device capability information of the target controlled device to the configuration device in response to the device capability request.
- the request receiving unit 401 may include:
- the first connection establishment subunit can be used to establish a connection relationship between the target controlled device and the central node;
- the capability receiving subunit can be used to receive the device capability request sent by the central node based on the connection relationship.
- the first connection establishment subunit may be used for:
- connection inquiry information sent by the central node; if the information format of the connection inquiry information meets the preset inquiry format, establish a connection relationship between the target controlled device and the central node.
- the first connection establishment subunit may be specifically used for:
- the query response information includes device information of the target controlled device; send the query response information to the central node to establish a connection relationship between the target controlled device and the central node based on the device information.
- the capability receiving subunit can be used for:
- the central node is authenticated; if the authentication is passed, the device capability request sent by the central node is received.
- the capability receiving subunit can be specifically used for:
- certificate authentication or key authentication is performed on the hub node.
- the response unit 402 may include:
- a capability determining subunit which can be used to determine the device capability information of the target controlled device
- the capability return subunit may be configured to return the device capability information of the target controlled device to the central node in response to the device capability request, so as to trigger the central node to generate device control information for the target controlled device based on the device capability information.
- the central node includes a configuration device and an access management device, and the configuration device has established a connection relationship with the target controlled device;
- the information receiving unit 403 may include:
- the second connection establishment subunit can be used to establish an access connection relationship with the access management device by configuring the device;
- the control information receiving subunit may be configured to receive device control information sent by the access management device based on the access connection relationship.
- the second connection establishment subunit may be used for:
- an access connection relationship with the access management device is established.
- the second connection establishment subunit may be specifically used for:
- the second connection establishment subunit may be specifically used for:
- the device verification information sent by the configuration device is used to verify the access management device; based on the device verification information sent by the configuration device, obtain the Enter the communication address information sent by the management device.
- the second connection establishment subunit may be specifically used for:
- the communication address information sent by the candidate access management device is determined as the communication address information sent by the access management device.
- the second connection establishment subunit may be specifically used for:
- Generate device search information and send the device search information to the candidate access management device; obtain the response information generated by the candidate access management device based on the device search information, where the response information includes the device verification information and communication address of the candidate access management device information.
- control information receiving subunit may be used for:
- the access management device is authenticated; if the authentication is passed, the device control information sent by the access management device is received.
- control information receiving subunit may be specifically used for:
- control information receiving subunit may be specifically used for:
- control information receiving subunit may be specifically used for:
- Generate an authentication request and send the authentication request to the access management device; obtain the device authentication information returned by the access management device in response to the authentication request, wherein the device authentication information is generated by the access authentication device, and the access authentication device and the access management device belong to the same IoT system.
- control information receiving subunit may be specifically used for:
- the central node includes a control device; the authority setting unit 404 may include:
- the first authority setting subunit may be configured to set the authority information of the controlling device to the target controlled device based on the device control information.
- the central node includes an access management device; the authority setting unit 404 may include:
- the second authority setting subunit can be used to set the information change authority of the access management device to the target controlled device based on the device control information, wherein the information change authority represents the access management device, and the information change authority of the target controlled device Control information change permissions.
- the device control information includes the system identifier of the target IoT system and the object identifier of the device control object, wherein the target IoT system is the IoT system to which the central node belongs, and the device control object is the target controlled by the central node.
- the object of the controlled device; the authority setting unit 404 may include:
- the third authority setting subunit can be used to set the device control authority of the device control object in the target IoT system to the target controlled device based on the system identifier and the object identifier.
- the device control information also includes object attribute information of the device control object; the third permission setting subunit can be used for:
- the service invocation authority is the invocation authority of the device control object to the service provided by the target controlled device, and the service provided by the target controlled device is based on
- the device capability information of the target controlled device is determined; based on the service call authority, the device control authority of the device control object in the target IoT system to the target controlled device is set.
- the third permission setting subunit may be specifically used for:
- the object attribute information indicates that the device control object has the information change authority to the target controlled device
- the service call authority set the device control authority of the device control object in the target IoT system to the target controlled device, wherein,
- the information modification right represents the device control object, and the right to change the device control information stored in the target controlled device.
- the apparatus for setting device control authority may also include:
- the instruction receiving unit may be used to receive a device control instruction sent by the central node, wherein the device control instruction is used for the central node to perform device control on the target controlled device;
- the operation executing unit can be used to execute the operation corresponding to the device control instruction.
- the instruction receiving unit may include:
- the first instruction receiving subunit can be used to receive the device control instruction sent by the first cloud server matching the target controlled device, wherein the device control instruction is sent by the central node to the first cloud server through the second cloud server instruction, the second cloud server is a cloud server that matches the hub node.
- the instruction receiving unit may include:
- the second instruction receiving subunit may be configured to receive a device control instruction sent by a second cloud server matching the central node, wherein the device control instruction is an instruction sent by the central node to the second cloud server.
- the instruction receiving unit may include:
- the second connection establishment subunit may be used to establish a control connection relationship with the central node, wherein the control connection relationship is used for the central node to perform device control on the target controlled device;
- the third instruction receiving subunit may be configured to receive the device control instruction sent by the central node based on the control connection relationship.
- the device control information includes the object identifier of the device control object and the connection key information corresponding to the device control object, wherein the device control object is an object that controls the target controlled device through the central node; the second connection establishment sub unit that can be used for:
- the device control information also includes the target system identifier of the target IoT system and the target device identifier assigned by the target IoT system to the target controlled device, wherein the target IoT system is the IoT system to which the central node belongs ;
- the second connection establishment subunit can be specifically used for:
- control connection request of the central node wherein the control connection request includes the central system identification, and the central system identification is the device identification of the IoT system to which the central node belongs; if the central system identification matches the target system identification, then based on the target device identification, object Identification, and connection key information, to establish a control connection relationship with the central node.
- the second connection establishment subunit may be specifically used for:
- the device connection response information includes the target device identifier; send the device connection response information to the central node, and establish a control connection with the central node based on the object identifier and connection key information relation.
- the device control instruction includes an information change instruction;
- the operation execution unit may include:
- the object determining subunit can be used to determine the device control object corresponding to the device control instruction
- the operation execution subunit may be configured to execute an information change operation corresponding to an information change instruction if the device control object has information change authority to the target controlled device.
- the request receiving unit 401 receives the device capability request sent by the central node that has established a connection relationship with the target controlled device, wherein the target controlled device and the central node belong to Different IoT systems: the response unit 402 returns the device capability information of the target controlled device to the central node in response to the device capability request, wherein the device capability information is used to instruct the central node to generate device control information for the target controlled device; The information receiving unit 403 receives the device control information sent by the central node; the authority setting unit 404 sets the authority information of the central node to the target controlled device based on the device control information.
- This solution can enable the central node of the IoT system that is different from the target controlled device to set its device control authority for the target controlled device, so as to realize device control in a cross-IoT system scenario.
- this solution establishes a connection relationship between the target controlled device and the central node, so that the central node can obtain the device capability information of the target controlled device based on the connection relationship, and then generate a device control device for setting permission information. information, and through the device control information, set the device control authority of the central node to the target controlled device.
- the solution can support the target controlled device to be controlled by local central devices such as third-party applications, smart speakers, gateways, smart TVs, routers, etc., so that the interconnection between the target controlled devices under the cross-IoT system has been improved. .
- this solution compared with the protocol interconnection or standardization based on cloud or terminal cloud, this solution not only avoids the former's low performance and stability problems caused by long data links, but also improves the latter because the target is controlled.
- the device cannot be connected to the cloud of the device manufacturer, which leads to the problem that the enthusiasm of the device manufacturer is not high and the promotion is difficult. Therefore, this solution can further improve the interconnection and intercommunication between the target controlled devices under the cross-IoT system at low cost and without affecting the connection of the target controlled device to the device manufacturer's cloud.
- an embodiment of the present application further provides a device for setting device control rights (that is, a second setting device), where the second setting device may be integrated in a terminal.
- a device for setting device control rights that is, a second setting device
- the apparatus for setting device control authority may include a capability acquisition unit 501, an information generation unit 502, and an information sending unit 503, as follows:
- a capability acquiring unit 501 configured to acquire device capability information of a target controlled device that has established a connection relationship with the central node;
- An information generation unit 502 configured to generate device control information for the target controlled device by the central node based on the device capability information
- the information sending unit 503 is configured to send device control information to the target controlled device, wherein the device control information is used to instruct the target controlled device to set a control authority, and the control authority is the device control authority of the central node to the target controlled device.
- the central node includes a configuration device; the capability acquisition unit 501 may include:
- the first capability acquisition subunit may be used to trigger the configuration device to obtain device capability information of a target controlled device that has established a connection relationship with the configuration device.
- the capability acquisition unit 501 may include:
- the first connection establishment subunit may be used to establish a connection relationship between the central node and the target controlled device, wherein the central node and the target controlled device belong to different IoT systems;
- the second capability acquisition subunit may be configured to acquire device capability information of the target controlled device based on the connection relationship.
- the first connection establishment subunit may be used for:
- connection query information that meets the preset query format; send connection query information to the target controlled device, and receive query response information sent by the target controlled device based on the connection query information, where the query response information includes device information of the target controlled device ; Based on the device information, establish a connection relationship between the central node and the target controlled device.
- the first connection establishment subunit may be specifically used for:
- connection verification information of the target controlled device is obtained; based on the connection verification information, the connection relationship between the central node and the target controlled device is established.
- the first connection establishment subunit may be specifically used for:
- connection verification information of the target controlled device is acquired.
- the first connection establishment subunit may be specifically used for:
- connection verification information sent by the target client, where the target client is a client matching the hub node, and the connection verification information is the connection verification information corresponding to the target controlled device.
- the second capability acquisition subunit may be used to:
- Generate a device capability request for the target controlled device and send the device capability request to the target controlled device based on the connection relationship; receive device capability information returned by the target controlled device based on the device capability request.
- the second capability acquisition subunit may be specifically used for:
- the target controlled device is authenticated; if the authentication is passed, a device capability request is sent to the target controlled device.
- the second capability acquisition subunit may be specifically used for:
- the central node includes an access management device; the information generating unit 502 may include:
- the first information generation subunit may be configured to trigger the access management device to generate device control information for the target controlled device by the access management device based on the device capability information, and send the device control information to the target controlled device.
- the information generation unit 502 may include:
- the object determination subunit can be used to determine the device control object of the central node, wherein the device control object is the object of the controlled device through the control target of the central node;
- the second information generation subunit can be used to generate device control information for the target controlled device by the device control object in the target IoT system based on the device capability information, wherein the target IoT system is the IoT system to which the central node belongs.
- the second information generating subunit may be used for:
- the second information generation subunit may be specifically used for:
- the central node includes a configuration device and an access management device, and the configuration device has established a connection relationship with the target controlled device;
- the information sending unit 503 may include:
- the second connection establishment subunit can be used to establish an access connection relationship between the access management device and the target controlled device by configuring the device;
- the information sending subunit can be configured to send device control information to the target controlled device based on the access connection relationship.
- the second connection establishment subunit may be used for:
- the communication address information of the access management device is sent to the target controlled device; based on the communication address information, an access connection relationship between the access management device and the target controlled device is established.
- the second connection establishment subunit may be specifically used for:
- the second connection establishment subunit may be specifically used for:
- the device By configuring the device, send the device verification information of the access management device to the target controlled device, wherein the device verification information is used for the target controlled device to verify the access management device;
- the controlled device sends the communication address information of the access management device.
- the second connection establishment subunit may be specifically used for:
- the information sending subunit can be used for:
- the target controlled device is authenticated; if the authentication is passed, device control information is sent to the target controlled device.
- the central node also includes an access authentication device; the information sending subunit can be specifically used for:
- the target controlled device is authenticated.
- the information sending subunit before sending the device control information to the target controlled device, is further configured to:
- the information sending subunit is also specifically used for:
- the central node further includes an access authentication device; an information sending subunit is further configured to: send an authentication request to the access authentication device; trigger the access authentication device, and generate an authentication request for the access management device based on the authentication request; Device authentication information.
- the information sending subunit can be specifically used for:
- the device information sent by the target controlled device is received to perform device registration on the target controlled device; based on the registration result, device control information is sent to the target controlled device.
- the apparatus for setting device control authority may also include:
- the instruction sending unit may be configured to send a device control instruction to the target controlled device, so as to perform device control on the target controlled device through the device control instruction.
- the instruction sending unit may include:
- the first instruction sending subunit can be used to send the device control instruction to the second cloud server, so as to send the device control instruction to the target controlled device through the second cloud server, wherein the second cloud server is a cloud server matching the central node .
- the instruction sending unit may include:
- the second instruction sending subunit can be used to send the device control instruction to the second cloud server, so as to send the device control instruction to the first cloud server through the second cloud server, and send the device control instruction to the target controlled device through the first cloud server Instructions, wherein the second cloud server is a cloud server matching the central node, and the first cloud server is a cloud server matching the target controlled device.
- the instruction sending unit may include:
- the third connection establishment subunit may be used to establish a control connection relationship with the target controlled device, wherein the control connection relationship is used for the central node to perform device control on the target controlled device;
- the third instruction sending subunit may be configured to send a device control instruction to the target controlled device based on the control connection relationship.
- the device control information includes the object identifier of the device control object and the connection key information corresponding to the device control object, wherein the device control object is an object that controls the target controlled device through the central node; the third connection establishment sub unit that can be used for:
- connection key information Based on the object identifier and connection key information, establish a connection relationship with the target controlled device.
- the device control information also includes the target system identifier of the target IoT system and the target device identifier assigned by the target IoT system to the target controlled device, wherein the target IoT system is the IoT system to which the central node belongs ;
- the third connection establishment subunit can be specifically used for:
- control connection request Generate a control connection request, and send the control connection request to the target controlled device, wherein the control connection request includes the target system identifier; receive the control connection response information sent by the target controlled device, wherein the control connection response information includes the corresponding the first device identifier; if the first device identifier matches the target device identifier, establish a control connection relationship with the target controlled device based on the object identifier and connection key information.
- the third instruction sending subunit may be used for:
- the apparatus for setting device control authority provided by the embodiment of the present application can set the central node of a different IoT system to which the target controlled device belongs to, and the device control authority of the target controlled device, so as to efficiently control the target controlled device.
- the embodiment of the present application also provides a computer device, which may be a terminal and other devices, as shown in FIG. 13 , which shows a schematic structural diagram of the computer device involved in the embodiment of the present application. Specifically:
- the computer device may include a memory 601 including one or more computer-readable storage media, an input unit 602, a processor 603 including one or more processing cores, and a power supply 604 and other components.
- a memory 601 including one or more computer-readable storage media
- an input unit 602 including one or more processing cores
- a processor 603 including one or more processing cores
- a power supply 604 and other components.
- the memory 601 can be used to store software programs and modules, and the processor 603 executes various functional applications and data processing by running the software programs and modules stored in the memory 601 .
- the memory 601 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, computer programs required by at least one function (such as sound playback function, image playback function, etc.); Data created by the use of computer equipment (such as audio data, phonebook, etc.), etc.
- the memory 601 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
- the memory 601 may further include a memory controller to provide access to the memory 601 by the processor 603 and the input unit 602 .
- the input unit 602 can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
- the input unit 602 may include a touch-sensitive surface as well as other input devices.
- a touch-sensitive surface also known as a touch display or trackpad, collects the user's touch on or near it (for example, the user uses a finger, stylus, etc. any suitable object or accessory on the touch-sensitive surface or on the touch-sensitive surface. operation near the surface), and drive the corresponding connection device according to the preset program.
- the touch-sensitive surface may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 603, and can receive and execute commands sent by the processor 603.
- touch-sensitive surfaces can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
- input unit 602 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.
- the processor 603 is the control center of the computer equipment, and uses various interfaces and lines to connect various parts of the entire mobile phone, by running or executing software programs and/or modules stored in the memory 601, and calling data stored in the memory 601, Execute various functions of computer equipment and process data, so as to monitor the mobile phone as a whole.
- the processor 603 may include one or more processing cores; preferably, the processor 603 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and computer programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 603 .
- the computer device also includes a power supply 604 (such as a battery) for supplying power to various components.
- a power supply 604 (such as a battery) for supplying power to various components.
- the power supply can be logically connected to the processor 603 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system.
- the power supply 604 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
- the computer device may also include a camera, a Bluetooth module, etc., which will not be repeated here.
- the processor 603 in the computer device loads the executable file corresponding to the process of one or more computer programs into the memory 601 according to the following instructions, and the processor 603 runs the executable file stored in the The computer program in memory 601, thereby realizes various functions, as follows:
- the device control information wherein the device control information is used to instruct the target controlled device to set a control authority, and the control authority is the device control authority of the central node to the target controlled device.
- the computer device in this embodiment can enable the central node of the IoT system to which the target controlled device belongs to to set its device control authority for the target controlled device, so as to realize device control in a cross-IoT system scenario .
- the computer device in this embodiment establishes a connection relationship with the target controlled device and the central node, so that the central node can obtain the device capability information of the target controlled device based on the connection relationship, and then generate the information for setting permissions.
- the device control information of the information and through the device control information, set the device control authority of the central node to the target controlled device.
- the computer device in this embodiment can support the target controlled device to be controlled by local central devices such as third-party applications, smart speakers, gateways, smart TVs, routers, etc., so that the interconnection between the target controlled devices under the Internet of Things system Intercommunication has been improved.
- local central devices such as third-party applications, smart speakers, gateways, smart TVs, routers, etc.
- the computer equipment in this embodiment avoids the former’s low performance and stability problems caused by long data links, and improves the latter Because the target controlled device cannot access the cloud of the equipment manufacturer, the enthusiasm of the equipment manufacturer is not high and the promotion is difficult. Therefore, the computer device in this embodiment can further improve the interconnection and intercommunication between the target controlled devices under the cross-IoT system at low cost and without affecting the connection of the target controlled device to the device manufacturer's cloud.
- the embodiment of the present application provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any method for setting device control authority provided in the embodiments of the present application .
- the command can perform the following steps:
- the device control information wherein the device control information is used to instruct the target controlled device to set a control authority, and the control authority is the device control authority of the central node to the target controlled device.
- the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD, etc.
- a computer program product or computer program 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 methods provided in various optional implementation manners of the above-mentioned aspect of setting device control permissions.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
Claims (56)
- 一种设备控制权限的设置方法,其中,包括:接收与目标被控制设备已建立连接关系的中枢节点,发送的设备能力请求,其中,所述目标被控制设备与所述中枢节点所属不同的物联系统;响应于所述设备能力请求,向所述中枢节点返回所述目标被控制设备的设备能力信息,其中,所述设备能力信息用于指示所述中枢节点生成对所述目标被控制设备的设备控制信息;接收所述中枢节点发送的设备控制信息;基于所述设备控制信息,设置所述中枢节点对所述目标被控制设备的权限信息。
- 根据权利要求1所述的设备控制权限的设置方法,其中,所述接收与目标被控制设备已建立连接关系的中枢节点,发送的设备能力请求,包括:建立目标被控制设备与中枢节点之间的连接关系;基于所述连接关系,接收所述中枢节点发送的设备能力请求。
- 根据权利要求2所述的设备控制权限的设置方法,其中,所述建立目标被控制设备与中枢节点之间的连接关系,包括:接收中枢节点发送的连接询问信息;若所述连接询问信息的信息格式满足预设询问格式,则建立目标被控制设备与中枢节点之间的连接关系。
- 根据权利要求3所述的设备控制权限的设置方法,其中,所述建立目标被控制设备与中枢节点之间的连接关系,包括:生成所述连接询问信息的询问响应信息,其中,所述询问响应信息包括目标被控制设备的设备信息;向所述中枢节点发送所述询问响应信息,以基于所述设备信息,建立所述目标被控制设备与所述中枢节点之间的连接关系。
- 根据权利要求2所述的设备控制权限的设置方法,其中,所述基于所述连接关系,接收所述中枢节点发送的设备能力请求,包括:基于所述连接关系,对所述中枢节点进行认证;若认证通过,则接收所述中枢节点发送的设备能力请求。
- 根据权利要求1所述的设备控制权限的设置方法,其中,所述响应于所述设备能力请求,向所述中枢节点返回所述目标被控制设备的设备能力信息,包括:确定所述目标被控制设备的设备能力信息;响应于所述设备能力请求,向所述中枢节点返回所述目标被控制设备的设备能力信息,以触发所述中枢节点基于所述设备能力信息,生成针对所述目标被控制设备的设备控制信息。
- 根据权利要求1所述的设备控制权限的设置方法,其中,所述中枢节点包括配置设备与接入管理设备,所述配置设备与所述目标被控制设备已建立连接关系;所述接收所述中枢节点发送的设备控制信息,包括:通过所述配置设备,建立与所述接入管理设备之间的接入连接关系;基于所述接入连接关系,接收所述接入管理设备发送的设备控制信息。
- 根据权利要求7所述的设备控制权限的设置方法,其中,所述通过所述配置设备,建立与所述接入管理设备之间的接入连接关系,包括:通过所述配置设备,获取所述接入管理设备的通信地址信息;基于所述通信地址信息,建立与所述接入管理设备之间的接入连接关系。
- 根据权利要求8所述的设备控制权限的设置方法,其中,所述通过所述配置设备,获取所述接入管理设备的通信地址信息,包括:获取由所述配置设备发送的所述接入管理设备的通信地址信息;或者获取由所述配置设备发送的所述接入管理设备的设备校验信息,其中,所述配置设备发送的设备校验信息用于对接入管理设备进行校验;基于所述配置设备发送的设备校验信息,获取由所述接入管理设备发送的通信地址信息。
- 根据权利要求9所述的设备控制权限的设置方法,其中,所述基于所述配置设备发送的设备校验信息,获取由所述接入管理设备发送的通信地址信息,包括:获取由候选接入管理设备发送的设备校验信息与通信地址信息;基于所述配置设备发送的设备校验信息,对所述候选接入管理设备的设备校验信息进行校验;若校验通过,则将所述候选接入管理设备发送的通信地址信息,确定为由所述接入管理设备发送的通信地址信息。
- 根据权利要求10所述的设备控制权限的设置方法,其中,所述获取由候选接入管理设备发送的设备校验信息与通信地址信息,包括:生成设备查找信息,并向候选接入管理设备发送所述设备查找信息;获取候选接入管理设备基于所述设备查找信息生成的响应信息,其中,所述响应信息包括所述候选接入管理设备的设备校验信息与通信地址信息。
- 根据权利要求7所述的设备控制权限的设置方法,其中,所述基于所述接入连接关系,接收所述接入管理设备发送的设备控制信息,包括:基于所述接入连接关系,对所述接入管理设备进行认证;若认证通过,则接收所述接入管理设备发送的设备控制信息。
- 根据权利要求12所述的设备控制权限的设置方法,其中,所述对所述接入管理设备进行认证,包括:获取由所述配置设备发送的所述接入管理设备的认证校验信息;通过所述认证校验信息,对所述接入管理设备进行认证。
- 根据权利要求13所述的设备控制权限的设置方法,其中,所述通过所述认证校验信息,对所述接入管理设备进行认证,包括:获取所述接入管理设备发送的设备认证信息;通过所述认证校验信息,对所述设备认证信息进行校验,以对所述接入管理设备进行认证。
- 根据权利要求14所述的设备控制权限的设置方法,其中,所述中枢节点还包括接入认证设备;所述获取所述接入管理设备发送的设备认证信息,包括:生成认证请求,并向所述接入管理设备发送所述认证请求;获取所述接入管理设备响应于所述认证请求返回的设备认证信息,其中,所述设备认证信息由所述接入认证设备生成,所述接入认证设备与所述接入管理设备所属同一物联系统。
- 根据权利要求12所述的设备控制权限的设置方法,其中,所述若认证通过,则接收所述接入管理设备发送的设备控制信息,包括:若认证通过,则向所述接入管理设备发送所述目标被控制设备的设备信息,以向所述接入管理设备进行设备注册;基于注册结果,接收所述接入管理设备发送的设备控制信息。
- 根据权利要求1所述的设备控制权限的设置方法,其中,所述设备控制信息包括目标物联系统的系统标识、以及设备控制对象的对象标识,其中,所述目标物联系统为所述中枢节点所属的物联系统,所述设备控制对象为通过所述中枢节点控制所述目标被控制设备的对象;所述基于所述设备控制信息,设置所述中枢节点对所述目标被控制设备的权限信息,包括:基于所述系统标识与所述对象标识,设置所述目标物联系统中所述设备控制对象对所述目标被控制设备的设备控制权限。
- 根据权利要求17所述的设备控制权限的设置方法,其中,所述设备控制信息还包括所述设备控制对象的对象属性信息;所述基于所述系统标识与所述对象标识,设置所述目标物联系统中所述设备控制对象对所述目标被控制设备的设备控制权限,包括:基于所述对象属性信息,确定所述设备控制对象对所述目标被控制设备的服务调用权限,其中,所述服务调用权限为所述设备控制对象对所述目标被控制设备所提供的服务的调用权限,所述目标被控制设备所提供的服务基于所述目标被控制设备的设备能力信息确定;基于所述服务调用权限,设置所述目标物联系统中所述设备控制对象对所述目标被控制设备的设备控制权限。
- 根据权利要求18所述的设备控制权限的设置方法,其中,所述基于所述服务调用权限,设置所述目标物联系统中所述设备控制对象对所述目标被控制设备的设备控制权限,包括:若所述对象属性信息指示所述设备控制对象具有对所述目标被控制设备的信息变更权限,则基于所述信息变更权限与所述服务调用权限,设置所述目标物联系统中所述设备控制对象对所述目标被控制设备的设备控制权限,其中,所述信息变更权限表征所述设备控制对象,对所述目标被控制设备所存储的设备控制信息的变更权限。
- 根据权利要求1所述的设备控制权限的设置方法,其中,所述方法还包括:接收所述中枢节点发送的设备控制指令,其中,所述设备控制指令用于供所述中枢节点对所述目标被控制设备进行设备控制;执行与所述设备控制指令对应的操作。
- 根据权利要求20所述的设备控制权限的设置方法,其中,所述接收所述中枢节点发送的设备控制指令,包括:接收与所述目标被控制设备匹配的第一云服务器所发送的设备控制指令,其中,所述设备控制指令为所述中枢节点通过第二云服务器,向所述第一云服务器发送的指令,所述第二云服务器为与所述中枢节点匹配的云服务器;或者接收与所述中枢节点匹配的第二云服务器所发送的设备控制指令,其中,所述设备控制指令为所述中枢节点向所述第二云服务器发送的指令;或者建立与所述中枢节点之间的控制连接关系,其中,所述控制连接关系用于供所述中枢节点对所述目标被控制设备进行设备控制;基于所述控制连接关系,接收所述中枢节点发送的设备控制指令。
- 根据权利要求21所述的设备控制权限的设置方法,其中,所述设备控制信息包括设备控制对象的对象标识、以及所述设备控制对象对应的连接密钥信息,其中,所述设备控制对象为通过所述中枢节点控制所述目标被控制设备的对象;所述建立与所述中枢节点之间的控制连接关系,包括:基于所述对象标识与所述连接密钥信息,建立与所述中枢节点之间的控制连接关系。
- 根据权利要求22所述的设备控制权限的设置方法,其中,所述设备控制信息还包括目标物联系统的目标系统标识、以及所述目标物联系统为所述目标被控制设备分配的目标设备标识,其中,所述目标物联系统为所述中枢节点所属的物联系统;所述基于所述对象标识与所述连接密钥信息,建立与所述中枢节点之间的控制连接关系,包括:获取中枢节点的控制连接请求,其中,所述控制连接请求包括中枢系统标识,所述中枢系统标识为所述中枢节点所属的物联系统的设备标识;若所述中枢系统标识与所述目标系统标识匹配,则基于所述目标设备标识、所述对象标识、以及所述连接密钥信息,建立与所述中枢节点之间的控制连接关系。
- 根据权利要求23所述的设备控制权限的设置方法,其中,所述基于所述目标设备标识、所述对象标识、以及所述连接密钥信息,建立与所述中枢节点之间的控制连接关系,包括:生成所述控制连接请求的设备连接响应信息,其中,所述设备连接响应信息包括所述目标设备标识;向所述中枢节点发送所述设备连接响应信息,并基于所述对象标识、以及所述连接密钥信息,建立与所述中枢节点之间的控制连接关系。
- 根据权利要求20所述的设备控制权限的设置方法,其中,所述设备控制指令包括信息变更指令;所述执行与所述设备控制指令对应的操作,包括:确定所述设备控制指令对应的设备控制对象;若所述设备控制对象具有对所述目标被控制设备的信息变更权限,则执行与所述信息变更指令对应的信息变更操作。
- 一种设备控制权限的设置方法,其中,包括:获取与中枢节点已建立连接关系的目标被控制设备的设备能力信息;基于所述设备能力信息,生成所述中枢节点对所述目标被控制设备的设备控制信息;向所述目标被控制设备发送所述设备控制信息,其中,所述设备控制信息用于指示所述目标被控制设备设置控制权限,所述控制权限为所述中枢节点对所述目标被控制设备的设备控制权限。
- 根据权利要求26所述的设备控制权限的设置方法,其中,所述获取与中枢节点已建立连接关系的目标被控制设备的设备能力信息,包括:建立中枢节点与目标被控制设备之间的连接关系,其中,所述中枢节点与所述目标被控制设备所属不同的物联系统;基于所述连接关系,获取所述目标被控制设备的设备能力信息。
- 根据权利要求27所述的设备控制权限的设置方法,其中,所述建立中枢节点与目标被控制设备之间的连接关系,包括:生成满足预设询问格式的连接询问信息;向目标被控制设备发送所述连接询问信息,并接收所述目标被控制设备基于所述连接询问信息发送的询问响应信息,其中,所述询问响应信息包括所述目标被控制设备的设备信息;基于所述设备信息,建立中枢节点与所述目标被控制设备之间的连接关系。
- 根据权利要求28所述的设备控制权限的设置方法,其中,所述基于所述设备信息,建立中枢节点与所述目标被控制设备之间的连接关系,包括:基于所述设备信息,获取所述目标被控制设备的连接校验信息;基于所述连接校验信息,建立中枢节点与所述目标被控制设备之间的连接关系。
- 根据权利要求29所述的设备控制权限的设置方法,其中,所述获取所述目标被控制设备的连接校验信息,包括:响应于针对中枢节点的信息输入操作,获取所述目标被控制设备的连接校验信息。
- 根据权利要求29所述的设备控制权限的设置方法,其中,所述获取所述目标被控制设备的连接校验信息,包括:获取目标客户端发送的连接校验信息,其中,所述目标客户端为与所述中枢节点匹配的客户端,所述连接校验信息为所述目标被控制设备对应的连接校验信息。
- 根据权利要求27所述的设备控制权限的设置方法,其中,所述基于所述连接关系,获取所述目标被控制设备的设备能力信息,包括:生成针对所述目标被控制设备的设备能力请求,并基于所述连接关系,向所述目标被控制设备发送所述设备能力请求;接收所述目标被控制设备基于所述设备能力请求返回的设备能力信息。
- 根据权利要求32所述的设备控制权限的设置方法,其中,所述基于所述连接关系,向所述目标被控制设备发送所述设备能力请求,包括:基于所述连接关系,对所述目标被控制设备进行认证;若认证通过,则向所述目标被控制设备发送所述设备能力请求。
- 根据权利要求33所述的设备控制权限的设置方法,其中,所述基于所述连接关系,对所述目标被控制设备进行认证,包括:基于所述连接关系,对所述目标被控制设备进行证书认证或者密钥认证。
- 根据权利要求26所述的设备控制权限的设置方法,其中,所述基于所述设备能力信息,生成所述中枢节点对所述目标被控制设备的设备控制信息,包括:确定所述中枢节点的设备控制对象,其中,所述设备控制对象为通过所述中枢节点控制所述目标被控制设备的对象;基于所述设备能力信息,生成目标物联系统中所述设备控制对象针对所述目标被控制设备的设备控制信息,其中,所述目标物联系统为所述中枢节点所属的物联系统。
- 根据权利要求35所述的设备控制权限的设置方法,其中,所述基于所述设备能力信息,生成目标物联系统中所述设备控制对象针对所述目标被控制设备的设备控制信息,包括:基于所述设备能力信息,确定所述目标被控制设备所提供的服务;确定所述设备控制对象对所述服务的服务访问信息;基于所述服务访问信息,生成目标物联系统中所述设备控制对象针对所述目标被控制设备的设备控制信息。
- 根据权利要求36所述的设备控制权限的设置方法,其中,所述生成目标物联系统中所述设备控制对象针对所述目标被控制设备的设备控制信息,包括:确定所述设备控制对象的对象属性信息;基于所述对象属性信息,生成目标物联系统中所述设备控制对象针对所述目标被控制设备的设备控制信息。
- 根据权利要求26所述的设备控制权限的设置方法,其中,所述中枢节点包括配置设备与接入管理设备,所述配置设备与所述目标被控制设备已建立连接关系;所述向所述目标被控制设备发送所述设备控制信息,包括:通过所述配置设备,建立所述接入管理设备与所述目标被控制设备之间的接入连接关系;基于所述接入连接关系,向所述目标被控制设备发送所述设备控制信息。
- 根据权利要求38所述的设备控制权限的设置方法,其中,所述通过所述配置设备,建立所述接入管理设备与所述目标被控制设备之间的接入连接关系,包括:通过所述配置设备,向所述目标被控制设备发送所述接入管理设备的通信地址信息;基于所述通信地址信息,建立所述接入管理设备与所述目标被控制设备之间的接入连接关系。
- 根据权利要求39所述的设备控制权限的设置方法,其中,所述通过所述配置设备,向所述目标被控制设备发送所述接入管理设备的通信地址信息,包括:触发所述配置设备向所述目标被控制设备发送所述通信地址信息;或者通过所述配置设备,向所述目标被控制设备发送所述接入管理设备的设备校验信息,其中,所述设备校验信息用于供所述目标被控制设备对所述接入管理设备进行校验;基于所述设备校验信息,向所述目标被控制设备发送所述接入管理设备的通信地址信息。
- 根据权利要求40所述的设备控制权限的设置方法,其中,所述基于所述设备校验信息,向所述目标被控制设备发送所述接入管理设备的通信地址信息,包括:接收所述目标被控制设备基于所述设备校验信息发送的设备查找信息;生成所述设备查找信息的响应信息,并向所述目标被控制设备发送所述响应信息,其中,所述响应信息包括所述接入管理设备的连接校验信息与通信地址信息。
- 根据权利要求38所述的设备控制权限的设置方法,其中,所述基于所述接入连接关系,向所述目标被控制设备发送所述设备控制信息,包括:基于所述接入连接关系,对所述目标被控制设备进行认证;若认证通过,则向所述目标被控制设备发送所述设备控制信息。
- 根据权利要求42所述的设备控制权限的设置方法,其中,所述中枢节点还包括接入认证设备;所述对所述目标被控制设备进行认证,包括:通过所述接入认证设备,对所述目标被控制设备进行认证。
- 根据权利要求42所述的设备控制权限的设置方法,其中,所述在所述向所述目标被控制设备发送所述设备控制信息之前,所述方法还包括:确定所述接入管理设备的设备认证信息,其中,所述设备认证信息用于供所述目标被控制设备对所述接入管理设备进行认证;向所述目标被控制设备发送所述设备认证信息。
- 根据权利要求44所述的设备控制权限的设置方法,其中,所述确定所述接入管理设备的设备认证信息,包括:获取所述目标被控制设备发送的认证请求;基于所述认证请求,生成所述接入管理设备的设备认证信息。
- 根据权利要求45所述的设备控制权限的设置方法,其中,所述中枢节点还包括接入认证设备;基于所述认证请求,生成所述接入管理设备的设备认证信息,包括:向所述接入认证设备发送所述认证请求;触发所述接入认证设备,基于所述认证请求,生成所述接入管理设备的设备认证信息。
- 根据权利要求42所述的设备控制权限的设置方法,其中,所述若认证通过,则向所述目标被控制设备发送所述设备控制信息,包括:若认证通过,则接收所述目标被控制设备发送的设备信息,并基于所述设备信息对所述目标被控制设备进行设备注册;基于注册结果,向所述目标被控制设备发送所述设备控制信息。
- 根据权利要求26所述的设备控制权限的设置方法,其中,所述方法还包括:向所述目标被控制设备发送设备控制指令,以通过所述设备控制指令对所述目标被控制设备进行设备控制。
- 根据权利要求48所述的设备控制权限的设置方法,其中,所述向所述目标被控制设备发送设备控制指令,包括:向第二云服务器发送设备控制指令,以通过所述第二云服务器向所述目标被控制设备发送所述设备控制指令,其中,所述第二云服务器为与所述中枢节点匹配的云服务器;或者向第二云服务器发送设备控制指令,以通过所述第二云服务器向第一云服务器发送所述设备控制指令,并通过所述第一云服务器向所述目标被控制设备发送所述设备控制指令,其中,所述第二云服务器为与所述中枢节点匹配的云服务器,所述第一云服务器为与所述目标被控制设备匹配的云服务器;或者建立与所述目标被控制设备之间的控制连接关系,其中,所述控制连接关系用于供所述中枢节点对所述目标被控制设备进行设备控制;基于所述控制连接关系,向所述目标被控制设备发送设备控制指令。
- 根据权利要求49所述的设备控制权限的设置方法,其中,所述设备控制信息包括设备控制对象的对象标识、以及所述设备控制对象对应的连接密钥信息,其中,所述设备控制对象为通过所述中枢节点控制所述目标被控制设备的对象;所述建立与所述目标被控制设备之间的控制连接关系,包括:基于所述对象标识与所述连接密钥信息,建立与所述目标被控制设备之间的连接关系。
- 根据权利要求50所述的设备控制权限的设置方法,其中,所述设备控制信息还包括目标物联系统的目标系统标识、以及所述目标物联系统为所述目标被控制设备分配的目标设备标识,其中,所述目标物联系统为所述中枢节点所属的物联系统;所述基于所述对象标识与所述连接密钥信息,建立与所述目标被控制设备之间的连接关系,包括:生成控制连接请求,并向所述目标被控制设备发送所述控制连接请求,其中,所述控制连接请求包括所述目标系统标识;接收所述目标被控制设备发送的控制连接响应信息,其中,所述控制连接响应信息包括所述目标被控制设备对应的第一设备标识;若所述第一设备标识与所述目标设备标识匹配,则基于所述对象标识与所述连接密钥信息,建立与所述目标被控制设备之间的控制连接关系。
- 根据权利要求49所述的设备控制权限的设置方法,其中,所述向所述目标被控制设备发送设备控制指令,包括:确定所述目标被控制设备的设备控制对象;若所述设备控制对象具有对所述目标被控制设备的信息变更权限,则基于所述信息变更权限,生成设备控制指令;向所述目标被控制设备发送所述设备控制指令。
- 一种设备控制权限的设置装置,其中,包括:请求接收单元,用于接收与目标被控制设备已建立连接关系的中枢节点,发送的设备能力请求,其中,所述目标被控制设备与所述中枢节点所属不同的物联系统;响应单元,用于响应于所述设备能力请求,向所述中枢节点返回所述目标被控制设备的设备能力信息,其中,所述设备能力信息用于指示所述中枢节点生成对所述目标被控制设备的设备控制信息;信息接收单元,用于接收所述中枢节点发送的设备控制信息;权限设置单元,用于基于所述设备控制信息,设置所述中枢节点对所述目标被控制设备的权限信息。
- 一种设备控制权限的设置装置,其中,包括:能力获取单元,用于获取与中枢节点已建立连接关系的目标被控制设备的设备能力信息;信息生成单元,用于基于所述设备能力信息,生成所述中枢节点对所述目标被控制设备的设备控制信息;信息发送单元,用于向所述目标被控制设备发送所述设备控制信息,其中,所述设备控制信息用于指示所述目标被控制设备设置控制权限,所述控制权限为所述中枢节点对所述目标被控制设备的设备控制权限。
- 一种计算机设备,其中,包括存储器和处理器;所述存储器存储有计算机程序,所述处理器用于运行所述存储器内的计算机程序,以执行权利要求1至25任一项所述的设备控制权限的设置方法,或者,执行如权利要求26至52所述的设备控制权限的设置方法。
- 一种存储介质,其中,所述存储介质存储有计算机程序,所述计算机程序适于处理器进行加载,以执行权利要求1至25任一项所述的设备控制权限的设置方法,或者,执行如权利要求26至52所述的设备控制权限的设置方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/579,280 US12531863B2 (en) | 2021-07-26 | 2022-07-11 | Device control permission setting method and apparatus, and computer device and storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110846372.6 | 2021-07-26 | ||
| CN202110846372.6A CN113596013B (zh) | 2021-07-26 | 2021-07-26 | 设备控制权限的设置方法、装置、计算机设备和存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023005649A1 true WO2023005649A1 (zh) | 2023-02-02 |
Family
ID=78250183
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/104872 Ceased WO2023005649A1 (zh) | 2021-07-26 | 2022-07-11 | 设备控制权限的设置方法、装置、计算机设备和存储介质 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US12531863B2 (zh) |
| CN (1) | CN113596013B (zh) |
| WO (1) | WO2023005649A1 (zh) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113596013B (zh) | 2021-07-26 | 2024-02-09 | 深圳Tcl新技术有限公司 | 设备控制权限的设置方法、装置、计算机设备和存储介质 |
| CN114329424A (zh) * | 2021-12-23 | 2022-04-12 | 深圳Tcl新技术有限公司 | 权限确定方法、装置、计算机设备和计算机可读存储介质 |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180063145A1 (en) * | 2016-08-24 | 2018-03-01 | Intel Corporation | Computer product, method, and system to dynamically provide discovery services for host nodes of target systems and storage resources in a network |
| CN111510425A (zh) * | 2020-03-06 | 2020-08-07 | 珠海格力电器股份有限公司 | 智能家居设备的管理方法、装置、设备及存储介质 |
| CN111526112A (zh) * | 2019-02-02 | 2020-08-11 | 京东方科技集团股份有限公司 | 跨域设备注册方法、装置和计算机可读存储介质 |
| CN111787540A (zh) * | 2020-06-29 | 2020-10-16 | 百度在线网络技术(北京)有限公司 | 接入物联网的方法、装置、电子设备及可读存储介质 |
| CN112466303A (zh) * | 2020-11-25 | 2021-03-09 | 青岛海尔科技有限公司 | 设备发现方法、装置、存储介质及电子装置 |
| CN112492023A (zh) * | 2020-11-25 | 2021-03-12 | 青岛海尔科技有限公司 | 设备控制方法、装置、存储介质及电子装置 |
| CN112637221A (zh) * | 2020-12-25 | 2021-04-09 | 青岛海尔科技有限公司 | 一种设备控制方法及装置 |
| CN113596013A (zh) * | 2021-07-26 | 2021-11-02 | 深圳Tcl新技术有限公司 | 设备控制权限的设置方法、装置、计算机设备和存储介质 |
Family Cites Families (27)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9985950B2 (en) * | 2006-08-09 | 2018-05-29 | Assa Abloy Ab | Method and apparatus for making a decision on a card |
| JP5111867B2 (ja) * | 2007-01-16 | 2013-01-09 | 株式会社ジャパンディスプレイイースト | 表示装置 |
| US8839386B2 (en) * | 2007-12-03 | 2014-09-16 | At&T Intellectual Property I, L.P. | Method and apparatus for providing authentication |
| WO2014050988A1 (ja) * | 2012-09-27 | 2014-04-03 | Necエナジーデバイス株式会社 | リチウムイオン二次電池及びその製造方法 |
| US9781098B2 (en) * | 2014-09-24 | 2017-10-03 | Oracle International Corporation | Generic server framework for device authentication and management and a generic framework for endpoint command dispatch |
| WO2016162382A1 (en) * | 2015-04-07 | 2016-10-13 | Tyco Fire & Security Gmbh | Machine-to-machine and machine to cloud end-to-end authentication and security |
| US10469464B2 (en) * | 2015-06-09 | 2019-11-05 | Intel Corporation | Self-configuring key management system for an internet of things network |
| KR101688812B1 (ko) * | 2016-04-18 | 2016-12-22 | (주)케이사인 | 소유자 인증 서버 기반의 IoT 기기 인가관리 방법 및 시스템 |
| US10417451B2 (en) * | 2017-09-27 | 2019-09-17 | Johnson Controls Technology Company | Building system with smart entity personal identifying information (PII) masking |
| US20180020329A1 (en) * | 2016-07-18 | 2018-01-18 | Rivada Research, Llc | Method and System for Internet of Things (iOT) Enhanced Location Based Services Trilateration |
| US10079691B2 (en) * | 2016-07-29 | 2018-09-18 | American Megatrends, Inc. | System and method for defining interactions between internet of things (IoT) devices using graphic user interface (GUI) based tool |
| US10382203B1 (en) * | 2016-11-22 | 2019-08-13 | Amazon Technologies, Inc. | Associating applications with Internet-of-things (IoT) devices using three-way handshake |
| US10735966B2 (en) * | 2017-08-30 | 2020-08-04 | General Electric Company | Cloud enrollment initiation via separate device |
| US10966073B2 (en) * | 2017-11-22 | 2021-03-30 | Charter Communications Operating, Llc | Apparatus and methods for premises device existence and capability determination |
| CN110022215B (zh) * | 2018-01-10 | 2022-09-27 | Abb瑞士股份有限公司 | 工业自动化设备和云服务 |
| US11528611B2 (en) * | 2018-03-14 | 2022-12-13 | Rose Margaret Smith | Method and system for IoT code and configuration using smart contracts |
| WO2019240783A1 (en) * | 2018-06-13 | 2019-12-19 | Visa International Service Association | Architecture for secure iot interactions |
| CN110839005B (zh) * | 2018-08-17 | 2023-08-01 | 恩智浦美国有限公司 | 装置利用云平台的安全登记 |
| CN109714760B (zh) * | 2019-01-18 | 2022-08-19 | 浙江科技学院 | 一种适用于直连通信环境下智能设备的权限访问控制方法 |
| JP7309422B2 (ja) * | 2019-04-08 | 2023-07-18 | キヤノン株式会社 | 通信装置、その制御方法、およびそのプログラム |
| US11763002B2 (en) * | 2019-06-29 | 2023-09-19 | Intel Corporation | Physical edge computing orchestration using vouchers and a root of trust |
| CN112198805B (zh) * | 2019-07-08 | 2024-06-14 | 阿里巴巴集团控股有限公司 | 设备控制方法、装置、系统以及计算设备和存储介质 |
| JP7601882B2 (ja) * | 2020-01-03 | 2024-12-17 | ユーブイ パートナーズ,インコーポレイティド | 殺菌システム及び殺菌方法 |
| US20210392150A1 (en) * | 2020-06-15 | 2021-12-16 | Vmware, Inc. | Automatic integration of iot devices into a network |
| US12053559B2 (en) * | 2021-06-30 | 2024-08-06 | Uv Partners, Inc. | Dynamic treatment system and pathogen reduction devices |
| US20230011728A1 (en) * | 2021-07-07 | 2023-01-12 | Uv Partners, Inc. | System and method of disinfection |
| US12388838B2 (en) * | 2023-02-28 | 2025-08-12 | Dell Products L.P. | Data management operations for data from edge locations |
-
2021
- 2021-07-26 CN CN202110846372.6A patent/CN113596013B/zh active Active
-
2022
- 2022-07-11 US US18/579,280 patent/US12531863B2/en active Active
- 2022-07-11 WO PCT/CN2022/104872 patent/WO2023005649A1/zh not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180063145A1 (en) * | 2016-08-24 | 2018-03-01 | Intel Corporation | Computer product, method, and system to dynamically provide discovery services for host nodes of target systems and storage resources in a network |
| CN111526112A (zh) * | 2019-02-02 | 2020-08-11 | 京东方科技集团股份有限公司 | 跨域设备注册方法、装置和计算机可读存储介质 |
| CN111510425A (zh) * | 2020-03-06 | 2020-08-07 | 珠海格力电器股份有限公司 | 智能家居设备的管理方法、装置、设备及存储介质 |
| CN111787540A (zh) * | 2020-06-29 | 2020-10-16 | 百度在线网络技术(北京)有限公司 | 接入物联网的方法、装置、电子设备及可读存储介质 |
| CN112466303A (zh) * | 2020-11-25 | 2021-03-09 | 青岛海尔科技有限公司 | 设备发现方法、装置、存储介质及电子装置 |
| CN112492023A (zh) * | 2020-11-25 | 2021-03-12 | 青岛海尔科技有限公司 | 设备控制方法、装置、存储介质及电子装置 |
| CN112637221A (zh) * | 2020-12-25 | 2021-04-09 | 青岛海尔科技有限公司 | 一种设备控制方法及装置 |
| CN113596013A (zh) * | 2021-07-26 | 2021-11-02 | 深圳Tcl新技术有限公司 | 设备控制权限的设置方法、装置、计算机设备和存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113596013A (zh) | 2021-11-02 |
| CN113596013B (zh) | 2024-02-09 |
| US20240348612A1 (en) | 2024-10-17 |
| US12531863B2 (en) | 2026-01-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113596141B (zh) | 设备控制权限的设置方法、装置、计算机设备和存储介质 | |
| CN113612747B (zh) | 设备控制权限的设置方法、装置、计算机设备和存储介质 | |
| KR100754199B1 (ko) | 네트워크 내 단일 사용승인 방법 및 시스템 | |
| CN110506413B (zh) | 用于网络装置安全性和信任分数确定的系统和方法 | |
| CN108667780B (zh) | 一种身份认证的方法、系统及服务器和终端 | |
| CN111149334A (zh) | 远程设备控制 | |
| WO2006028651A2 (en) | A device introduction and access control framework | |
| JP2014526171A (ja) | ピアツーピアオーバーレイネットワーク内のデータオブジェクトに対するグループアクセス制御の容易化 | |
| US12531863B2 (en) | Device control permission setting method and apparatus, and computer device and storage medium | |
| CN105306485B (zh) | 上网认证方法、认证服务器及其所在认证系统 | |
| CN113572765A (zh) | 一种面向资源受限终端的轻量级身份认证密钥协商方法 | |
| CN101983493B (zh) | 确保家用网络中的通信安全的方法及其装置 | |
| JP3908982B2 (ja) | CUG(ClosedUserGroup)管理方法及びCUG提供システム及びCUG提供プログラム及びCUG提供プログラムを格納した記憶媒体 | |
| WO2007022731A1 (en) | Encryption key negotiation method, system and equipment in the enhanced universal verify frame | |
| CN108833334B (zh) | 一种数字家庭网络的设备安全接入系统及方法 | |
| CN116800522B (zh) | 智能家电IPv6接入认证和授权控制系统的处理方法 | |
| CN116437331A (zh) | 无感配网方法、无感配网系统、设备及介质 | |
| CN115622723B (zh) | 设备访问控制方法及装置、电子设备及存储介质 | |
| CN115834129B (zh) | 一种License认证方法及计算机设备 | |
| CN118413332A (zh) | 跨平台块设备互联互通通信方法、系统及计算机程序产品 | |
| WO2025010545A1 (zh) | 密钥的获取方法、装置、设备、介质及程序产品 | |
| CN118353633A (zh) | 设备处理方法、装置、系统、计算机设备和存储介质 | |
| CN117914608A (zh) | 一种算力节点认证方法、装置、设备及存储介质 | |
| CN107018123B (zh) | 一种管理设备访问权限的方法、装置和系统 | |
| CN115694893A (zh) | 资源传输方法和装置、存储介质及电子装置 |
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: 22848254 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18579280 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22848254 Country of ref document: EP Kind code of ref document: A1 |
|
| WWG | Wipo information: grant in national office |
Ref document number: 18579280 Country of ref document: US |