CN113596141B - Method and device for setting device control authority, computer device and storage medium - Google Patents

Method and device for setting device control authority, computer device and storage medium Download PDF

Info

Publication number
CN113596141B
CN113596141B CN202110846385.3A CN202110846385A CN113596141B CN 113596141 B CN113596141 B CN 113596141B CN 202110846385 A CN202110846385 A CN 202110846385A CN 113596141 B CN113596141 B CN 113596141B
Authority
CN
China
Prior art keywords
internet
things
information
equipment
control
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.)
Active
Application number
CN202110846385.3A
Other languages
Chinese (zh)
Other versions
CN113596141A (en
Inventor
李辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202110846385.3A priority Critical patent/CN113596141B/en
Publication of CN113596141A publication Critical patent/CN113596141A/en
Priority to PCT/CN2022/100750 priority patent/WO2023005525A1/en
Application granted granted Critical
Publication of CN113596141B publication Critical patent/CN113596141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application discloses a method and a device for setting equipment control authority, computer equipment and a storage medium; the method and the device can receive the second internet of things equipment which has established a connection relationship with the first internet of things equipment and send access information aiming at a second cloud server, wherein the first internet of things equipment and the second internet of things equipment belong to different internet of things systems, and the second cloud server is a cloud server with a trust relationship with the second internet of things equipment; acquiring equipment authentication information of the second cloud server according to the access information; authenticating the second cloud server based on the equipment authentication information; and if the authentication is passed, setting authority information of the second internet of things equipment to the first internet of things equipment. According to the scheme, the device control authority of the internet of things device can be set through the internet of things system, so that the internet of things device can be safely and efficiently controlled through the internet of things system.

Description

Method and device for setting device control authority, computer device and storage medium
Technical Field
The application relates to the technical field of internet, in particular to a device control authority setting method, a device, computer equipment and a storage medium.
Background
The Internet of things is the Internet with everything connected, and a huge network formed by combining various information sensing devices with the network can realize the interconnection and intercommunication of people, machines and objects at any time and any place. The internet of things equipment consists of hardware and a software system on the hardware, and equipment control on the internet of things equipment can be realized by setting equipment control authority of the internet of things equipment.
In the research and practice process of the related technology, the inventor of the application finds that the realization of interconnection and interworking in the same internet of things system has mature and wide application nowadays, and when the cross-internet of things system controls equipment, higher cost is required, and the security verification between the cross-internet of things systems is complex, so that the way of realizing interconnection and interworking between the internet of things equipment under the cross-internet of things system still needs to be improved.
Disclosure of Invention
The embodiment of the application provides a method, a device, computer equipment and a storage medium for setting equipment control permission, which can set the equipment control permission of the internet of things equipment through a cross-internet system so as to safely and efficiently realize the equipment control of the cross-internet of things equipment through the cross-internet system.
In a first aspect, an embodiment of the present application provides a method for setting a device control right, where the method is applied to a first internet of things device, and the method includes:
receiving second internet of things equipment with established connection relation with the first internet of things equipment, and sending access information aiming at a second cloud server, wherein the first internet of things equipment and the second internet of things equipment belong to different internet of things systems, and the second cloud server is a cloud server with trust relation with the second internet of things equipment;
acquiring equipment authentication information of the second cloud server according to the access information;
authenticating the second cloud server based on the equipment authentication information;
and if the authentication is passed, setting authority information of the second internet of things equipment to the first internet of things equipment.
In a second aspect, an embodiment of the present application further provides a method for setting device control rights, where the method is applied to a second cloud server, and the method includes:
responding to an access request sent by first Internet of things equipment based on access information, and establishing an access connection relation between the second cloud server and the first Internet of things equipment, wherein the second cloud server is a cloud server with a trust relation with second Internet of things equipment, the access information is information sent by the second Internet of things equipment to the first Internet of things equipment, and the second Internet of things equipment and the first Internet of things equipment belong to different Internet of things systems;
Authenticating the first Internet of things device based on the access connection relationship;
and if the authentication is passed, sending the authentication result information of the first Internet of things device to the second Internet of things device so as to trigger the second Internet of things device to set the authority information of the first Internet of things device based on the authentication result information.
In a third aspect, an embodiment of the present application further provides a method for setting a device control right, where the method is applied to a second internet-enabled device, and the method includes:
sending access information for a second cloud server to a first internet of things device which has established a connection relationship with the second internet of things device, wherein the access information is used for establishing an access connection relationship between the first internet of things device and the second cloud server, the access connection relationship is used for enabling the second cloud server to authenticate the first internet of things device, the second cloud server is a cloud server with a trust relationship with the second internet of things device, and the second internet of things device and the first internet of things device belong to different internet of things systems;
receiving authentication result information of the first Internet of things device, which is sent by the second cloud server;
And if the authentication result information is that the authentication is passed, setting authority information of the first Internet of things equipment.
In a fourth aspect, an embodiment of the present application further provides a device for setting a device control right, where the setting device is integrated in a first internet of things device, and the setting device includes:
the device comprises a receiving unit, a first cloud server and a second cloud server, wherein the receiving unit is used for receiving second internet of things equipment which has established a connection relation with first internet of things equipment and sending access information aiming at the second cloud server, the first internet of things equipment and the second internet of things equipment belong to different internet of things systems, and the second cloud server is a cloud server with a trust relation with the second internet of things equipment;
the acquisition unit is used for acquiring the equipment authentication information of the second cloud server according to the access information;
the cloud authentication unit is used for authenticating the second cloud server based on the equipment authentication information;
and the first setting unit is used for setting the authority information of the second internet of things device to the first internet of things device if the authentication is passed.
In an optional embodiment of the fourth aspect, the setting device further comprises: the first establishing subunit is used for establishing a connection relationship between the setting device and the second internet-of-things device before the receiving unit receives the access information for the second cloud server sent by the second internet-things device;
Correspondingly, the receiving unit is configured to receive, based on the connection relationship, access information for a second cloud server sent by the second internet device.
In an optional embodiment of the fourth aspect, the first establishing subunit is configured to:
receiving connection inquiry information sent by second internet-connected equipment; and if the information format of the connection inquiry information meets a preset inquiry format, establishing a connection relation with the second internet-connected device.
In an optional embodiment of the fourth aspect, the first establishing subunit is specifically configured to:
generating inquiry response information based on the connection inquiry information, wherein the inquiry response information comprises equipment information of first Internet of things equipment; and sending the inquiry response information to the second internet of things device so as to establish a connection relationship between the first internet of things device and the second internet of things device based on the device information.
In an optional embodiment of the fourth aspect, the access information comprises access address information and access parameter information; the acquisition unit includes:
the second establishing subunit is used for establishing an access connection relation with the second cloud server based on the access address information and the access parameter information;
And the authentication acquisition subunit is used for acquiring the equipment authentication information of the second cloud server based on the access connection relation.
In an optional embodiment of the fourth aspect, the second establishing subunit is configured to:
generating an access request based on the access address information and the access parameter information; and sending the access request to the second cloud server so as to establish an access connection relationship with the second cloud server.
In an optional embodiment of the fourth aspect, the cloud authentication unit includes:
a verification determining subunit, configured to determine authentication verification information required for authenticating the second cloud server;
and the information verification subunit is used for carrying out information verification on the equipment authentication information through the authentication verification information so as to authenticate the second cloud server.
In an optional embodiment of the fourth aspect, the first setting unit includes:
a capability sending subunit, configured to send, if the authentication is passed, device capability information of the first internet of things device to the second internet of things device in response to a device capability request sent by the second internet of things device, where the device capability information is used to instruct the second internet of things device to generate device control information for the first internet of things device;
And the control receiving subunit is used for receiving the equipment control information sent by the second internet of things equipment and setting the authority information of the second internet of things equipment to the first internet of things equipment based on the equipment control information.
In an optional embodiment of the fourth aspect, the capability sending subunit is configured to:
receiving a device capability request sent by the second internet-of-things device; and responding to the equipment capability request, and sending equipment capability information of the first Internet of things equipment to the second Internet of things equipment.
In an optional embodiment of the fourth aspect, the capability sending subunit is specifically configured to:
determining equipment capability information of the first Internet of things equipment; and responding to the equipment capability request, and sending equipment capability information of the first Internet of things equipment to the second Internet of things equipment.
In an optional embodiment of the fourth aspect, the device control information includes a system identifier of a target internet of things system and an object identifier of a device control object, where the target internet of things system is an internet of things system to which the second internet of things device belongs, and the device control object is an object for controlling the first internet of things device through the second internet of things device; the control receiving subunit is configured to:
And setting the equipment control authority of the equipment control object in the target Internet of things system to the first Internet of things equipment based on the system identifier and the object identifier.
In an optional embodiment of the fourth aspect, the device control information further includes object attribute information of the device control object; the control receiving subunit is specifically configured to:
determining service calling rights of the device control object to the first internet of things device based on the object attribute information, wherein the service calling rights are calling rights of the device control object to services provided by the first internet of things device, and the services provided by the first internet of things device are determined based on device capability information of the first internet of things device; and setting the equipment control authority of the equipment control object in the target internet of things system to the first internet of things equipment based on the service calling authority.
In an optional embodiment of the fourth aspect, the control receiving subunit is specifically configured to:
if the object attribute information indicates that the device control object has information change permission to the first internet of things device, setting device control permission of the device control object to the first internet of things device in the target internet of things system based on the information change permission and the service call permission, wherein the information change permission represents the device control object and changes permission to the device control information stored in the first internet of things device.
In an optional embodiment of the fourth aspect, the device control authority setting apparatus further includes:
the instruction receiving unit is used for receiving an equipment control instruction sent by the second internet of things equipment, wherein the equipment control instruction is used for controlling equipment of the first internet of things equipment by the second internet of things equipment;
and the operation execution unit is used for executing the operation corresponding to the equipment control instruction.
In an optional embodiment of the fourth aspect, the instruction receiving unit includes:
a first instruction receiving subunit configured to: and receiving a device control instruction sent by a second matching server matched with the second internet-of-things device, wherein the device control instruction is an instruction sent by the second internet-of-things device to the second cloud server.
In an optional embodiment of the fourth aspect, the instruction receiving unit includes:
a second instruction receiving subunit configured to: receiving an equipment control instruction sent by a first cloud server matched with the first Internet of things equipment, wherein the equipment control instruction is an instruction sent to the first cloud server by the second Internet of things equipment through a second cloud server, and the second cloud server is a cloud server matched with the second Internet of things equipment.
In an optional embodiment of the fourth aspect, the instruction receiving unit includes:
a third setup subunit for: establishing a control connection relation with the second internet of things device, wherein the control connection relation is used for controlling the first internet of things device by the second internet of things device;
a third instruction receiving subunit configured to: and receiving a device control instruction sent by the second internet-connected device based on the control connection relation.
In an optional embodiment of the fourth aspect, the device control information includes an object identifier of a device control object and connection key information corresponding to the device control object, where the device control object is an object that controls the first internet of things device through the second internet of things device; the third establishing subunit is configured to:
and establishing a control connection relation with the second internet equipment based on the object identification and the connection key information.
In an optional embodiment of the fourth aspect, the device control information further includes a target system identifier of a target internet of things system and a target device identifier allocated by the target internet of things system to the first internet of things device, where the target internet of things system is an internet of things system to which the second internet of things device belongs; the third building subunit is specifically configured to:
Acquiring a control connection request of a second internet of things device, wherein the control connection request comprises a second system identifier, and the second system identifier is a device identifier of an internet of things system to which the second internet of things device belongs; and if the second system identifier is matched with the target system identifier, establishing a control connection relation with the second internet-connected device based on the target device identifier, the object identifier and the connection key information.
In an optional embodiment of the fourth aspect, the third building subunit is specifically configured to:
generating equipment connection response information of the control connection request, wherein the equipment connection response information comprises the target equipment identifier; and sending the equipment connection response information to the second internet-of-things equipment, and establishing a control connection relation with the second internet-of-things equipment based on the object identification and the connection key information.
In an optional embodiment of the fourth aspect, the device control instructions comprise information modification instructions; the operation execution unit includes:
an object determining subunit, configured to determine an equipment control object corresponding to the equipment control instruction;
And the operation execution subunit is used for executing the information changing operation corresponding to the information changing instruction if the equipment control object has the information changing authority to the first Internet of things equipment.
In a fifth aspect, embodiments of the present application further provide another device control authority setting apparatus, where the setting apparatus is integrated in a second cloud server, and the setting apparatus includes:
the system comprises an establishing unit, a first internet of things device, a second internet of things device and a first internet of things device, wherein the establishing unit is used for responding to an access request sent by the first internet of things device based on access information, and establishing an access connection relation between a second cloud server and the first internet of things device, wherein the second cloud server is a cloud server with a trust relation with a second internet of things device, the access information is information sent by the second internet of things device to the first internet of things device, and the second internet of things device and the first internet of things device belong to different internet of things systems;
the device authentication unit is used for authenticating the first Internet of things device based on the access connection relation;
and the result sending unit is used for sending the authentication result information of the first Internet of things device to the second Internet of things device if the authentication is passed, so as to trigger the second Internet of things device to set the authority information of the first Internet of things device based on the authentication result information.
In an optional embodiment of the fifth aspect, the device authentication unit includes:
an authentication obtaining subunit, configured to obtain device authentication information of the first internet of things device based on the access connection relationship;
and the equipment authentication subunit is used for authenticating the first Internet of things equipment according to the equipment authentication information.
In an optional embodiment of the fifth aspect, the device authentication subunit is configured to:
determining authentication verification information required for authenticating the first Internet of things equipment; and carrying out information verification on the equipment authentication information through the authentication verification information so as to authenticate the first Internet of things equipment.
In a sixth aspect, embodiments of the present application further provide another device control authority setting apparatus, where the setting apparatus is integrated in a second internet-enabled device, and the setting apparatus includes:
an access sending unit, configured to send access information for a second cloud server to a first internet of things device that has established a connection relationship with a second internet of things device, where the access information is used to establish an access connection relationship between the first internet of things device and the second cloud server, the access connection relationship is used for the second cloud server to authenticate the first internet of things device, the second cloud server is a cloud server that has a trust relationship with the second internet of things device, and the second internet of things device and the first internet of things device belong to different internet of things systems;
The receiving unit is used for receiving authentication result information of the first Internet of things device, which is sent by the second cloud server;
and the second setting unit is used for setting authority information of the first Internet of things equipment if the authentication result information is that the authentication is passed.
In an alternative embodiment of the sixth aspect, the setting device further comprises:
a fourth establishing subunit, configured to establish a connection relationship between the second internet of things device and the first internet of things device before the access sending unit sends the access information for the second cloud server;
correspondingly, the access sending unit is configured to send access information for the second cloud server to the first internet of things device based on the connection relationship.
In an optional embodiment of the sixth aspect, the fourth establishing subunit is configured to:
generating connection inquiry information meeting a preset inquiry format; the connection inquiry information is sent to first Internet of things equipment, and inquiry response information sent by the first Internet of things equipment based on the connection inquiry information is received, wherein the inquiry response information comprises equipment information of the first Internet of things equipment; and establishing a connection relationship between the second internet of things device and the first internet of things device based on the device information.
In an optional embodiment of the sixth aspect, the fourth establishing subunit is specifically configured to:
acquiring connection verification information of the first Internet of things equipment based on the equipment information; and establishing a connection relation between the second internet of things device and the first internet of things device based on the connection verification information.
In an optional embodiment of the sixth aspect, the fourth establishing subunit is specifically configured to:
and responding to the information input operation aiming at the second internet of things equipment, and acquiring the connection verification information of the first internet of things equipment.
In an optional embodiment of the sixth aspect, the fourth establishing subunit is specifically configured to:
and obtaining connection verification information sent by a target client, wherein the target client is a client matched with the second Internet of things device, and the connection verification information is the connection verification information corresponding to the first Internet of things device.
In an optional embodiment of the sixth aspect, the second setting unit includes:
the control sending subunit is configured to send device control information to the first internet of things device, so as to set authority information about the first internet of things device through the device control information, where the device control information is used to instruct the first internet of things device to set control authority, and the control authority is the device control authority of the second internet of things device about the first internet of things device.
In an optional embodiment of the sixth aspect, before the sending device control information to the first internet of things device, the second setting unit further includes:
a capability determining subunit, configured to determine device capability information of the first internet of things device;
and the control generation subunit is used for generating equipment control information aiming at the first Internet of things equipment based on the equipment capability information.
In an optional embodiment of the sixth aspect, the capability determining subunit is configured to:
generating a device capability request for the first internet of things device, and sending the device capability request to the first internet of things device; and receiving the equipment capability information returned by the first Internet of things equipment based on the equipment capability request.
In an optional embodiment of the sixth aspect, the control generation subunit is configured to:
determining an equipment control object of the second internet of things equipment, wherein the equipment control object is an object for controlling the first internet of things equipment through the second internet of things equipment; and generating equipment control information of the equipment control object aiming at the first Internet of things equipment in a target Internet of things system based on the equipment capability information, wherein the target Internet of things system is an Internet of things system to which the second Internet of things equipment belongs.
In an optional embodiment of the sixth aspect, the control generation subunit is specifically configured to:
determining a service provided by the first Internet of things device based on the device capability information; determining service access information of the equipment control object to the service; and generating equipment control information of the equipment control object aiming at the first Internet of things equipment in the target Internet of things system based on the service access information.
In an optional embodiment of the sixth aspect, the control generation subunit is specifically configured to:
determining object attribute information of the equipment control object; and generating equipment control information of the equipment control object aiming at the first Internet of things equipment in the target Internet of things system based on the object attribute information.
In an optional embodiment of the sixth aspect, the device control authority setting apparatus further includes:
an instruction sending unit, configured to: and sending a device control instruction to the first Internet of things device so as to control the device of the first Internet of things device through the device control instruction.
In an optional embodiment of the sixth aspect, the instruction sending unit includes:
the first instruction sending subunit is configured to send an equipment control instruction to a second matching server, so that the equipment control instruction is sent to the first internet of things equipment through the second matching server, where the second matching server is a cloud server matched with the second internet of things equipment.
In an optional embodiment of the sixth aspect, the instruction sending unit includes:
the second instruction sending subunit is configured to send an equipment control instruction to a second matching server, so that the equipment control instruction is sent to a first matching server through the second matching server, and the equipment control instruction is sent to the first internet of things equipment through the first matching server, where the second matching server is a cloud server matched with the second internet of things equipment, and the first matching server is a cloud server matched with the first internet of things equipment.
In an optional embodiment of the sixth aspect, the instruction sending unit includes:
a fifth establishing subunit, configured to establish a control connection relationship with the first internet of things device, where the control connection relationship is used for the second internet of things device to control the first internet of things device;
and the third instruction sending subunit is used for sending an equipment control instruction to the first Internet of things equipment based on the control connection relation.
In an optional embodiment of the sixth aspect, the device control information includes an object identifier of a device control object and connection key information corresponding to the device control object, where the device control object is an object that controls the first internet of things device through the second internet of things device; the fifth building subunit is configured to:
And establishing a connection relation with the first Internet of things equipment based on the object identification and the connection key information.
In an optional embodiment of the sixth aspect, the device control information further includes a target system identifier of a target internet of things system and a target device identifier allocated by the target internet of things system to the first internet of things device, where the target internet of things system is an internet of things system to which the second internet of things device belongs; the fifth building subunit is specifically configured to:
generating a control connection request and sending the control connection request to the first internet of things device, wherein the control connection request comprises the target system identifier; receiving control connection response information sent by the first Internet of things device, wherein the control connection response information comprises a first device identifier corresponding to the first Internet of things device; and if the first equipment identifier is matched with the target equipment identifier, establishing a control connection relation with the first Internet of things equipment based on the object identifier and the connection key information.
In an optional embodiment of the sixth aspect, the third instruction sending subunit is configured to:
Determining an equipment control object of the first Internet of things equipment; if the equipment control object has information change authority to the first Internet of things equipment, generating an equipment control instruction based on the information change authority; and sending the equipment control instruction to the first Internet of things equipment.
Accordingly, embodiments of the present application further provide a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements a method for setting device control rights as shown in any one of the above first aspect, second aspect and third aspect, or any optional embodiment of any one of the above first aspect, second aspect and third aspect.
Accordingly, embodiments of the present application further provide a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method for setting device control rights as shown in any one of the first aspect, the second aspect, and the third aspect, or any one of the optional embodiments of the first aspect, the second aspect, and the third aspect, when the processor executes the computer program.
The method and the device can receive the second internet of things equipment which has established a connection relationship with the first internet of things equipment and send access information aiming at a second cloud server, wherein the first internet of things equipment and the second internet of things equipment belong to different internet of things systems, and the second cloud server is a cloud server with a trust relationship with the second internet of things equipment; acquiring equipment authentication information of the second cloud server according to the access information; authenticating the second cloud server based on the equipment authentication information; and if the authentication is passed, setting authority information of the second internet of things equipment to the first internet of things equipment.
According to the scheme, the second internet of things equipment of different internet of things systems to which the first internet of things equipment belongs can be provided with the equipment control authority for the first internet of things equipment, so that equipment control is realized in a scene of the cross-internet of things system. In addition, before the second internet of things device sets the device control authority of the first internet of things device, the authentication of the second internet of things device is achieved through interaction with the cloud server trusted by the second internet of things device, so that the safety of device control is not enhanced, the cost requirement on the second internet of things device is reduced, for example, the second internet of things device does not need to use a safety chip, or a certificate key and the like are prefabricated locally on the device, and therefore device control of a cross-internet of things system can be achieved efficiently and safely.
In addition, compared with the protocol interconnection or standardization based on cloud or end cloud, the scheme not only avoids the problem of low performance and stability caused by long data link, but also improves the problem of low enthusiasm and difficulty in pushing of equipment manufacturers caused by the fact that the equipment of the Internet of things cannot be connected to the cloud of the equipment manufacturers. Therefore, the scheme can support the control of the Internet of things equipment by the local center type equipment such as the third party application, the intelligent sound box, the gateway, the intelligent television, the router and the like while the cloud of the equipment manufacturer is not influenced by the Internet of things equipment connection equipment, so that the interconnection and intercommunication among the Internet of things equipment under the Internet of things system are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scenario of a method for setting device control rights provided in an embodiment of the present application;
Fig. 2 is a flowchart of a method for setting device control rights provided in an embodiment of the present application;
fig. 3 is an interaction schematic diagram of a method for setting device control rights provided in an embodiment of the present application;
fig. 4 is another interactive schematic diagram of a method for setting device control rights provided in an embodiment of the present application;
fig. 5 is another interactive schematic diagram of a method for setting device control rights provided in an embodiment of the present application;
fig. 6 is another interactive schematic diagram of a method for setting device control rights provided in an embodiment of the present application;
fig. 7 is another flow chart of a method for setting device control rights provided in an embodiment of the present application;
fig. 8 is another interactive schematic diagram of a method for setting device control rights provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of a device for setting control rights of equipment according to an embodiment of the present application;
fig. 10 is another schematic structural diagram of a device for setting control rights of an apparatus according to an embodiment of the present application;
fig. 11 is another schematic structural diagram of a device for setting control rights of an apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The embodiment of the application provides a device control authority setting method, device, computer device and storage medium. Specifically, the present embodiment provides, among the setting means (which may be referred to as first setting means for distinction) of the device control authority suitable for the first computer device, the setting means (which may be referred to as second setting means for distinction) of the device control authority suitable for the second computer device, and the setting means (which may be referred to as third setting means for distinction) of the device control authority suitable for the third computer device.
The first computer device may be a device such as a terminal, and the terminal may be a mobile phone, a tablet computer, a notebook computer, an internet of things device, etc., for example, the internet of things device may include an intelligent sound box, an intelligent television, an intelligent refrigerator, an intelligent water heater, etc. The second computer device may be a device such as a terminal, where the terminal may be a mobile phone, a tablet computer, a notebook computer, and an internet of things device, for example, the internet of things device may include an intelligent sound box, a gateway, an intelligent television, and a router. The third computer device may be a server, which may be a single server or a cluster of servers, where multiple servers may be grouped into a blockchain and the servers are nodes on the blockchain.
In the embodiment of the application, the method for setting the device control authority will be described by taking the first computer device as a terminal, the second computer device as a terminal, and the third computer device as a server.
Referring to fig. 1, a device control authority setting system provided in the embodiment of the present application includes a first internet of things device 10, a second internet of things device 20, a second cloud server 30, and the like; the first internet of things device 10, the second internet of things device 20, and the second cloud server 30 are connected through a network, for example, through a wired or wireless network connection, wherein the device control authority setting device is integrated in a terminal or a server, for example, in the form of a client.
The second internet of things device 20 may send, to the first internet of things device 10 with which a connection relationship has been established, access information for the second cloud server 30, where the access information is used to establish an access connection relationship between the first internet of things device 10 and the second cloud server 30, where the access connection relationship is used for the second cloud server 30 to authenticate the first internet of things device 10, the second cloud server 30 is a cloud server with a trust relationship with the second internet of things device 20, and the second internet of things device 20 is a different internet of things system to which the first internet of things 10 device belongs. Correspondingly, the first internet of things device 10 may receive the access information sent by the second internet of things device 20 with which the connection relationship has been established for the second internet of things device 30.
Further, the first internet of things device 10 may obtain the device authentication information of the second cloud server 30 according to the access information. For example, the first internet of things device 10 may send an access request to the second cloud server 30 based on the access information to establish an access connection relationship between the first internet of things device 10 and the second cloud server 30. In this way, the first internet of things device 10 may acquire the device authentication information of the second cloud server 30 based on the access connection relationship, and authenticate the second cloud server 30 based on the device authentication information.
It should be noted that, the second cloud server 30 may also authenticate the first internet of things device 10, specifically, the second cloud server 30 authenticates the first internet of things device 10 based on the access connection relationship between the second cloud server 30 and the first internet of things device 10, and if the authentication is passed, the second cloud server 30 may send the authentication result information of the first internet of things device 10 to the second internet of device 20, so as to trigger the second internet of device 20 to set the permission information of the first internet of things device 10 based on the authentication result information.
Correspondingly, the second internet of things device 20 may receive the authentication result information of the first internet of things device 10 sent by the second cloud server 30, and if the authentication result information is that the authentication is passed, the second internet of things device 20 may set authority information of the second internet of things device to the first internet of things device 10. Moreover, if the authentication of the first internet of things device 10 to the second cloud server 30 passes, the first internet of things device 10 may set the permission information of the second internet of things device 20 to the first internet of things device 10.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The present embodiment will be described from the perspective of a first setting device, which may be integrated in a terminal in particular. For example, the first setting means may be integrated in the first internet of things device.
The method for setting the device control right provided in the embodiment of the present application may be executed by a processor of a terminal, as shown in fig. 2, and the method for setting the device control right may be as follows:
101. and receiving second internet of things equipment with established connection relation with the first internet of things equipment, and sending access information aiming at a second cloud server, wherein the first internet of things equipment and the second internet of things equipment belong to different internet of things systems, and the second cloud server is a cloud server with trust relation with the second internet of things equipment.
The internet of things refers to the real-time collection of any object or process needing to be monitored, connected or interacted through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors or laser scanners, the collection of various needed information such as sound, light, heat, electricity, mechanics, chemistry, biology or positions of the object or process, the ubiquitous connection of the object and the person is realized through various possible network access, and the intelligent sensing, identification and management of the object and the process are realized. The internet of things is an information carrier based on the internet, a traditional telecommunication network and the like, and enables all common physical objects which can be independently addressed to form an interconnection network.
The internet of things device refers to a physical device that can be connected to the internet of things (The Internet of Things, IOT for short), for example, a refrigerator, an air conditioner, a television, a sweeping robot, an intelligent sound box, and the like. Specifically, the internet of things device may also be a terminal device such as a mobile phone, a tablet computer, a notebook computer, etc., where a corresponding client of the internet of things may be running, and the client may include, for example, a browser Application (also referred to as a Web Application), an Application (APP), an applet, etc.
The Internet of things system is a comprehensive system platform for realizing interconnection and interworking, and the Internet of things objects under the same Internet of things system can interact by following the data interaction criteria under the Internet of things system. For example, compared with a cross-internet of things system, for applications (applications ) under the same internet of things system, cloud servers, internet of things devices, businesses and the like, the applications, the cloud servers, the internet of things devices, the businesses and the like are internet of things objects under the same internet of things system, so that the internet of things objects under the same internet of things system can have relevant permission for data interaction, and faster data interaction can be performed.
In practical application, the internet of things object of the same internet of things system can be called as the ecological internet of things object of the same internet of things or the ecological internet of things object of the same ecology. For example, for an internet of things system including an application, a cloud server, an internet of things device, a service, and the like, which is constructed by a certain organization body, an internet of things object in the internet of things system can be considered as an internet of things object in the internet of things ecology constructed by the organization body. The organization subject may be a single subject, for example, a certain manufacturer, a certain brand, or the like, or an organization subject may be an organization composed of a plurality of subjects, for example, a federation organization composed of a plurality of manufacturer negotiations, or the like.
The first internet of things device in the application is an internet of things device to be controlled by the second internet of things device, and as an example, in an application scenario of smart home, the first internet of things device may be a smart home device provided by a manufacturer a; in an application scenario of intelligent security, the first internet of things device may be an intelligent security device provided by vendor a; etc.
The second internet of things device in the application is an internet of things device of a first internet of things device to be controlled, and the second internet of things device and the first internet of things device belong to different internet of things systems. As an example, for a first internet of things device, one instance of a second internet of things device may be a third party local hub, where "third party" is used to emphasize that the second internet of things device and the first internet of things device belong to different internet of things systems, e.g., the second internet of things device and the first internet of things device are internet of things devices of different vendors; the "local hub" is used to emphasize that the second internet of things device is a local device that can control and manage the first internet of things device.
The second cloud server in the application is a cloud server having a trust relationship with the second internet of things device, where the trust relationship enables the second internet of things device to trust the second cloud server, for example, the second internet of things device trust a device authentication result of the second cloud server on the first internet of things device, for example, the second internet of things device may specifically delegate authentication of the first internet of things device on the second internet of things device to the second cloud server for execution, and so on.
In the application, the trust relationship between the second cloud server and the second internet of things device can be realized in various manners, for example, the second cloud server and the second internet of things device can belong to the same internet of things system, and in the internet of things system, the trust relationship is formed between the second cloud server and the second internet of things device; for another example, the second cloud server and the second internet of things device may belong to different internet of things systems, but a trust relationship is established between the second cloud server and the second internet of things device; etc.
It is noted that the internet of things system to which the second internet of things device belongs may be configured with a corresponding internet of things App for the second internet of things device, and the internet of things App and the first internet of things device belong to different internet of things systems. In some embodiments, the second internet of things device may specifically be a terminal device running a corresponding internet of things App, where the terminal device may control the first internet of things device by executing steps in the device control authority setting method described in the present application, that is, the form of the third party local hub may be a terminal device running a corresponding internet of things App in addition to the internet of things device, for example, the terminal device may include a mobile phone, a tablet computer, a notebook computer, and so on.
As an example, referring to fig. 3, a first internet of things device may be an IoT device shown at 1001, a second internet of things device may be a third party local hub shown at 1002, and a second cloud server may be a third party authentication center shown at 1003. The third party local hub and the third party authentication center belong to the same internet of things system, and the IoT device and the third party local hub belong to different internet of things systems.
In this example, the IoT device may receive a third-party local hub with which a connection relationship has been established, the transmitted access information for the third-party authentication center, wherein the third-party local hub has a trust relationship with the third-party authentication center, and in particular, the third-party local hub may delegate relevant steps of authenticating with the first internet of things device to the third-party authentication center for execution.
Referring to fig. 3, in this example, the first internet of things device may also have a client that may interact with it, which may be the same internet of things system as the first internet of things device belongs to, or may be a different internet of things system as the first internet of things device belongs to, as shown as IoT App in fig. 3 1004. The client may then have a corresponding cloud server, e.g., a cloud server of the same thing networking system to which the client belongs, such as the IoT cloud shown in 1005 in fig. 3.
The access information sent by the second internet of things device to the first internet of things device is related information for the first internet of things device to access the second cloud server, for example, the access information may include access address information, and the first internet of things device may determine an access address of the second cloud server through the access address information; as another example, the access information may include access parameter information, where the access parameter may be used for further processing, by the second cloud server, an access requirement of the first internet of things device; etc.
In this application, before the first internet of things device receives the access information sent by the second internet of things device, the first internet of things device may establish a connection relationship between the first internet of things device and the second internet of things device, so that access information sent by the second internet of things device and directed to the second cloud server may be obtained based on the connection relationship, specifically, the step of "receiving the second internet of things device having established the connection relationship with the first internet of things device, and sending the access information directed to the second cloud server" may include:
establishing a connection relation with the second internet equipment;
correspondingly, the step of receiving the access information for the second cloud server sent by the second internet of things device that has established a connection relationship with the first internet of things device may include: and receiving access information for the second cloud server, which is sent by the second internet equipment, based on the connection relation.
It should be noted that the connection relationship established here is a connection relationship in the configuration process. Specifically, in the process of implementing the second internet of things device to perform device control on the first internet of things device, two processes may be configured and controlled. The configuration process refers to that the steps required for realizing the control are configured and finished before the control is executed, for example, the configuration process can comprise the steps of network configuration, identification, connection and the like.
The connection relationship between the first internet of things device and the second internet of things device may be established in various manners, for example, the connection relationship may be achieved by exchanging a key, for example, the connection relationship may be achieved by exchanging personal identification codes (Personal IDentification Number, PIN codes), specifically, the first internet of things device and the second internet of things device may be securely negotiated through a known PIN code, and an encrypted connection relationship is established.
As an example, the key exchange scheme may be implemented by a pre-shared key (PreSharedKey, PSK) defined by a packet transport layer security protocol (Datagram Transport Layer Security, DTLS); as another example, the key exchange scheme may be implemented in combination with elliptic curve diffie-hellman key exchange (Elliptic Curve Diffie-Hellman key Exchange, ECDH) algorithm and PIN code; etc.
After the connection relationship between the first internet of things device and the second internet of things device is established, device authentication information of the second internet of device can be obtained based on the connection relationship. As an example, after the connection relationship between the first internet of things device and the second internet of things device is established, a connection channel providing data interaction between the first internet of things device and the second internet of things device may be established, so that the first internet of things device and the second internet of things device may interact data through the connection channel, for example, send device authentication information and receive device authentication information.
In an embodiment, considering that for the first internet of things device, there may be a plurality of second internet of things devices to be connected to the first internet of things device and further control the first internet of things device, the first internet of things device may determine a target second internet of things device from the plurality of second internet of things devices, and establish a connection with the target second internet of things device. Specifically, the step of establishing a connection relationship between the first internet of things device and the second internet of things device may include:
receiving connection inquiry information sent by second internet-connected equipment;
if the information format of the connection inquiry information meets the preset inquiry format, the connection relation with the second internet equipment is established.
The connection inquiry information is information sent by the second internet of things device, and the information is used for inquiring whether the first internet of things device establishes a connection relationship with the second internet of things device. The connection inquiry information may be in various formats, for example, the connection inquiry information may be in the form of a message, such as a multicast message, a broadcast message, or the like.
In practical application, the first internet of things device may receive connection query information sent by the second internet of things device after being in the network configuration state. For example, the first internet of things system may configure the first internet of things device with a corresponding internet of things App (for distinguishing may be referred to as a first internet of things App), and the user may enable the first internet of things device to enter a network configuration state through the first internet of things App; for another example, the user may interact with the first internet of things device directly, for example, by triggering a physical control of the first internet of things device, or by calling up speech to interact with the first internet of things device, so that the first internet of things device enters a network configuration state; for another example, the first internet of things device may be in a network configuration state all the time; etc.
As an example, after entering the distribution network state, the first internet of things device may enter a mode of a listening port agreed in advance, so that the first internet of things device may listen to a broadcast message in the local area network. Correspondingly, the second internet of things device can send multicast or broadcast messages in the local area network in a multicast message mode and the like so as to send connection inquiry information to the first internet of things device, and therefore the first internet of things device can receive the connection inquiry information sent by the second internet of things device.
In the application, considering that the first internet of things device can receive the connection query information sent by the plurality of second internet of things devices, a corresponding preset query format can be set for the connection query information in the application scenario of performing device control by the cross-internet of things device, so that for the first internet of things device, if the received connection query information of the second internet of things device meets the preset query format, the connection relationship between the first internet of things device and the second internet of things device is established.
In an embodiment, after receiving a connection query request sent by the second internet of things device, and the connection query request meets a preset query format, the first internet of things device may generate query response information of the connection query information, so that the second internet of things device may learn a response of the first internet of things device to the connection query information by sending the connection response information to the second internet of device, so that the first internet of things device and the second internet of device may determine a connection relationship between the first internet of things device and the second internet of device to be established, and under the common knowledge, the first internet of things device and the second internet of things device may establish the connection relationship between the first internet of things device and the second internet of device. Specifically, the step of establishing a connection relationship between the first internet of things device and the second internet of things device may include:
Generating inquiry response information based on the connection inquiry information, wherein the inquiry response information comprises equipment information of the first Internet of things equipment;
and sending inquiry response information to the second internet-connected device so as to establish a connection relationship with the second internet-connected device based on the device information.
The device information of the first internet of things device may include information such as a device identifier of the first internet of things device, a system identifier of the first internet of things system, and the like. The first internet of things device may generate query response information carrying its device information such that the second internet of things device learns of the response of the first internet of things device to its connection query request.
In the present application, similar to the connection query information, a corresponding query response format may be set for query response information in an application scenario in which the cross-object system performs device control. Therefore, after receiving the connection query information meeting the preset query format sent by the second internet of things device, the first internet of things device can generate query response information meeting the query response format, and the query response information can carry the device information of the first internet of things device.
There may be various ways in which the first internet of things device sends the query response information to the second internet of things device, for example, the first internet of things device may reply to the second internet of things device by unicast.
Similarly to the first internet of things device receiving the connection inquiry information from the plurality of second internet of things devices, it may also send the connection inquiry information to the plurality of first internet of things devices for the second internet of things device, and thus the second internet of things device may receive the connection response information from the plurality of first internet of things devices. Because the connection response information includes the device information of the first internet of things device, the second internet of things device can determine the first internet of things device to be connected based on the connection response information.
In this way, the first internet of things device and the second internet of things device can establish a preliminary connection consensus by connecting the inquiry information and the connection response information, and further establish a connection relationship between the first internet of things device and the second internet of things device. Further, the first internet of things device may receive the access information sent by the second internet of things device for the second cloud server based on the connection relationship, specifically, after the connection relationship between the first internet of things device and the second internet of things device is established, a connection channel for providing data interaction between the first internet of things device and the second internet of device may be established, so that the first internet of things device and the second internet of device may perform data interaction through the connection channel, for example, send and receive the access information for the second cloud server.
102. And acquiring the equipment authentication information of the second cloud server according to the access information.
The device authentication information of the second cloud server is related data required by the first internet of things device to authenticate the second cloud server, for example, the first internet of things device can obtain a verification result of the device authentication information by verifying the device authentication information, and further, the authentication result of the second cloud server is determined according to the verification result.
According to the access information, the manner of acquiring the device authentication information of the second cloud server may be various, and as an example, the access information sent by the second internet of things device to the first internet of things device may be used for the first internet of things device to access the second cloud server, so that the first internet of things device may access the second cloud server through the received access information, and in this way, the first internet of things device may perform data interaction with the second cloud server, for example, the first internet of things device may acquire the device authentication information of the second cloud server.
In an embodiment, the device authentication information acquired by the first internet of things device may include access address information and access parameter information of the second cloud server, where the access address information may be used by the first internet of things device to determine an access address of the second cloud server, so that the first internet of things device may access the second cloud server; the access parameter information may be used for the second cloud server to check the first internet of things device to determine whether to allow the first internet of things device to access the second cloud server. In this way, the first internet of things device can access the second cloud server based on the access address information and the access parameter information, for example, by establishing a connection relationship between the first internet of things device and the second cloud server, access to the second cloud server is achieved, and further device authentication information of the second cloud server is obtained.
Specifically, the accessing information may include accessing address information and accessing parameter information, and the step of "obtaining device authentication information of the second cloud server according to the accessing information" may include:
establishing an access connection relationship with the second cloud server based on the access address information and the access parameter information;
and acquiring the equipment authentication information of the second cloud server based on the access connection relation.
The access address information is related information describing an access address of the second cloud server, specifically, the first internet of things device can determine the access address of the second cloud server through the access address information, so that access to the second cloud server is achieved.
The form of the access address information may be various, for example, the access address information may include physical address information, logical address information, port address information, specific address information, and the like; as another example, the access address information may be in the form of a uniform resource locator (uniform resource locator, URL); for another example, the access address information may be in the form of a two-dimensional code; etc.
The access parameter information is related information describing the access parameter, wherein the access parameter can be used for further processing of the access requirement of the first internet of things device by the second cloud server. For example, the access parameter may be an identity verification code of the first internet of things device, and after receiving the access request of the first internet of things device, the second cloud server may further verify the identity of the first internet of things device based on the identity verification code to determine whether to allow the first internet of things device to access the second cloud server; as another example, the access parameter may be a binding code of the first internet of things device, which may be used by the second cloud server to bind the first internet of things device with the target user, and specifically, the target user herein may be an associated user of the second internet of things device, for example, a user currently logged on the second internet of things device.
Because the access address information of the second cloud server can enable the first internet of things device to determine the access address of the second cloud server, and further achieve access to the second cloud server, and the access parameter information can enable the second cloud server to further process the access requirement of the first internet of things device, therefore, the first internet of things device can generate an access request based on the access address information and the access parameter information, and establish a connection relationship between the first internet of things device and the second internet of things device by sending the access request to the second cloud server, specifically, the step of establishing the access connection relationship with the second cloud server based on the access address information and the access parameter information can include:
generating an access request based on the access address information and the access parameter information;
and sending an access request to the second cloud server to establish an access connection relationship with the second cloud server.
The access connection relationship is a connection relationship established when the second internet-of-things device accesses the second cloud server, specifically, the access connection relationship between the second internet-of-things device and the second cloud server is established, that is, a connection channel for the second internet-of-things device to perform data interaction with the second cloud server can be established, so that the second internet-of-things device and the second cloud server can perform data interaction through the connection channel, for example, send and receive device authentication information.
In an embodiment, the first internet of things device may determine an access address of the second cloud server based on the access address information, and further, the first internet of things device may generate an access request, where a destination address of the access request is an access address of the second cloud server, and the access address may carry access parameter information.
The first internet of things device may establish an access connection relationship with the second cloud server by sending an access request to the second cloud server after the access request is generated.
As an example, the access address information may be a URL of the second cloud server, the access parameter information may be a binding code of the first internet of things device, and the first internet of things device may generate an access request based on the URL and the binding code, and connect the second cloud server by sending the access request to the second cloud server, thereby establishing an access connection relationship between the second internet of things device and the second cloud server.
In this way, after establishing the access connection relationship between the second internet-of-things device and the second cloud server, the second internet-of-things device may obtain the device authentication information of the second cloud server based on the access connection relationship.
It is noted that, in practical application, the first internet of things device and the second cloud server may make a pre-agreement on the format of the access request, so that after the second cloud server receives the access request, it may determine whether the access request is legal by determining whether the format of the access request matches the pre-agreement format. Further, if the access request is legal, the second cloud server may allow the first internet of things device to access the second cloud server, so as to establish an access connection relationship between the first internet of things device and the second cloud server.
103. And authenticating the second cloud server based on the equipment authentication information.
In the application, since the first internet of things device can perform authentication on the second cloud server in multiple ways, the second internet of things device can perform authentication on the second cloud server in multiple ways based on the device authentication information. For example, the first internet of things device may verify the device authentication information by performing information verification, and determine an authentication result of the second cloud server based on a verification result of the device authentication information, so as to implement authentication of the second cloud server.
For example, the second internet-of-things device may authenticate the second cloud server by means of certificate authentication, and then the device authentication information of the second cloud server acquired by the second internet-of-things device may be specifically a certificate of the second cloud server, and the second internet-of-things device may perform authentication on the second cloud server by checking the certificate.
For another example, the second internet-of-things device may authenticate the second cloud server by means of key authentication, and then the device authentication information of the second cloud server obtained by the second internet-of-things device may be specifically a key of the second cloud server, and the second internet-of-things device may perform authentication on the second cloud server by checking the key.
The verification of the device authentication information may be performed in various ways, for example, may include comparing the device authentication information, calculating the device authentication information, and performing query matching on the device authentication information. Considering that verifying the device authentication information is essentially a process of authenticating the second cloud server, it may first determine related information required for authenticating the second cloud server, and further verify the device authentication information by the information, specifically, the step of "authenticating the second cloud server based on the device authentication information" may include:
Determining authentication verification information required for authenticating the second cloud server;
and carrying out information verification on the equipment authentication information through the authentication verification information so as to authenticate the second cloud server.
The authentication verification information is related information required for authenticating the second cloud server, and various forms of the authentication verification information are available, for example, the authentication verification information may be a character string, a numerical value, a set, or the like.
The first internet of things device may determine the authentication verification information required for authenticating the second cloud server in multiple manners, for example, the second internet of things device may send the authentication verification information to the first internet of things device; for another example, the authentication verification information may be directly input to the first internet of things device by the user; for another example, the first internet of things device may acquire the authentication verification information through interaction between the terminal and the cloud; etc.
In the present application, various ways of performing information verification on the device authentication information may be used, for example, the ways may include information comparison, information calculation, and query matching.
As an example, the verification of the information of the device authentication information may be achieved by comparing the information of the device authentication information. Specifically, the first internet of things device may compare authentication verification information required for authenticating the second cloud server with device authentication information sent by the second cloud server to perform information verification on the device authentication information, and specifically, if the comparison result is consistent, it may be determined that the verification passes; otherwise, determining that the verification is not passed.
For another example, the information verification of the device authentication information may be implemented by calculating the device authentication information, so that the authentication verification information required for authenticating the second cloud server may be preset numerical information, for example, a preset numerical value or a numerical range. As an example, the authentication verification information may be a preset numerical range, after the first internet of things device obtains the device authentication information of the second cloud server, the device authentication information may be calculated, and a calculation result is compared with the preset numerical range to implement information verification on the device authentication information, specifically, if the calculation result belongs to the preset numerical range, it may be determined that verification passes; otherwise, determining that the verification is not passed.
For another example, the information verification of the device authentication information may be implemented by performing query matching on the device authentication information, so that the authentication verification information required for authenticating the second cloud server may be a preset information set, where the set may include at least one information element, for example, the set may include at least one device verification information authenticated by the first internet of things device. After the first internet of things device obtains the device authentication information of the second cloud server, whether the information element matched with the device authentication information exists or not can be inquired in the information set to realize verification of the device authentication information, and specifically, if the information element matched with the device authentication information exists in the information set, verification passing can be determined; otherwise, determining that the verification is not passed.
104. And if the authentication is passed, setting authority information of the second internet of things equipment to the first internet of things equipment.
The permission information of the second internet of things device on the first internet of things device is related information describing device control permission of the second internet of things device on the first internet of things device.
As an example, the device control authority of the second internet of things device to the first internet of things device may include a service call authority, an information change authority, and the like. For example, the service invocation authority may be an invocation authority of the second internet of things device for a service provided by the first internet of things device, and the information change authority may be an alteration authority of the second internet of things device for device control information stored by the first internet of things device.
The second internet of things device may have multiple ways of setting the device control authority of the first internet of things device; for example, modifying the related data of the maintenance device control authority in the first internet of things device, so that the first internet of things device can set the device control authority of the second internet of things device to the first internet of things device according to the modified related data; as an example, setting the device control right of the second internet of things device to the first internet of things device may be achieved by setting an access control list (Access Control Lists, ACL) in the first internet of things device based on the device control information.
The ACL is an access control technology based on packet filtering, and can filter data packets on an interface according to set conditions, and allow the data packets to pass or be discarded. The access control list is widely applied to routers and three-layer switches, and by means of the access control list, access of a user to a network can be effectively controlled, so that network security is guaranteed to the greatest extent.
In an embodiment, it is considered that the second internet of things device needs to further set the device control authority of the second internet of things device on the first internet of things device after learning the device capability of the first internet of things device, that is, for the first internet of things device, it needs to enable the second internet of things device to learn the device capability of the first internet of things device, so that the device control authority of the second internet of things device on the first internet of things device may be further set.
The second internet of things device may learn the device capabilities of the first internet of things device in a variety of ways, e.g., may be actively sent by the first internet of things device to the second internet of things device; for another example, after the second internet of things device requests the device capability of the first internet of things device from the first internet of things device, the first internet of things device sends the device capability of the first internet of things device to the second internet of things device; etc.
In an embodiment, after the authentication of the first internet of things device to the second cloud server is passed, the first internet of things device may enable the second internet of things device to learn the device capability of the first internet of things device, so that the authority information of the second internet of things device to the first internet of things device may be further set, specifically, the step of setting the authority information of the second internet of things device to the first internet of things device if the authentication is passed may include:
if the authentication is passed, the device capability information of the first Internet of things device is sent to the second Internet of things device in response to the device capability request sent by the second Internet of things device, wherein the device capability information is used for indicating the second Internet of things device to generate device control information for the first Internet of things device;
and receiving device control information sent by the second internet of things device, and setting authority information of the second internet of things device to the first internet of things device based on the device control information.
The device capability request is data for requesting to acquire a capability model of the first internet of things device. The data format of the device capability request may be various, for example, the device capability request may be message data, such as a multicast message, or a broadcast message, etc.
The device capability information of the first internet of things device is related information describing the device capability that can be provided by the first internet of things device, for example, the device capability information may include a specific model, a type, a controllable instruction, an attribute, a service, and the like of the device. It is noted that, in practical applications, the device capability information of the first internet of things device may also be referred to as a capability model of the first internet of things device.
The device control information of the second internet of things device is related information indicating that the first internet of things device sets control authority, and the control authority is the device control authority of the second internet of things device to the first internet of things device.
The manner in which the first internet of things device sends the device capability information of the first internet of things device to the second internet of things device in response to the device capability request sent by the second internet of things device may be multiple, and specifically, the first internet of things device may acquire the device capability request sent by the second internet of things device, so that the first internet of things device may further send the device capability information of the first internet of things device to the second internet of device in response to the device capability request. For example, the second internet of things device may send a device capability request to the first internet of things device; as another example, the second internet of things device may have a matching second matching server (e.g., the second matching server may be a server of the same thing networking system as the second internet of things device belongs to; as another example, the second matching server may be a server with authorization of the second internet of things device; etc.), the second internet of things device may send a device capability request to the second matching server to send the device capability request to the first internet of things device through the second matching server; etc. Specifically, the step of "transmitting the device capability information of the first internet of things device to the second internet of things device in response to the device capability request transmitted by the second internet of things device" may include:
Receiving a device capability request sent by a second internet-of-things device;
and in response to the device capability request, sending device capability information of the first Internet of things device to the second Internet of things device.
In an embodiment, in order to ensure the security of data interaction, the first internet of things device and the second internet of things device may agree on a format of a device capability request, so that the second internet of things device may request to acquire a capability model of the first internet of things device by generating a device capability request that meets a preset agreement format and sending the device capability request to the first internet of things device. Correspondingly, the first internet of things device can receive the device capability request sent by the second internet of things device.
Further, the first internet of things device may send device capability information of the first internet of things device to the second internet of things device in response to the device capability request.
In an embodiment, considering that the first internet of things device needs to determine the device capability information of the first internet of things device first, and then send the device capability information to the second internet of things device, so that the second internet of things device may further generate the device control information for the first internet of things device, the step of "sending the device capability information of the first internet of things device to the second internet of things device in response to the device capability request" may include:
Determining equipment capability information of first Internet of things equipment;
and in response to the device capability request, sending device capability information of the first Internet of things device to the second Internet of things device.
It should be noted that, in the present application, there may be various ways to trigger the first internet of things device to determine the device capability information, for example, the device capability request sent by the second internet of things device may trigger the first internet of things device to determine the device capability; for another example, the first internet of things device may store related data of its device capability information, and the first physical network device may periodically maintain the data, for example, periodically perform data query, and update the data when detecting a change from data, so as to determine the device capability information of the first internet of things device; for another example, the first internet of things device may obtain device capability information of the first internet of things device by requesting from the cloud; etc.
After the device capability information of the first internet of things device is determined, the first internet of things device can respond to the device capability request sent by the second internet of things device to send the device capability information of the first internet of things device to the second internet of things device. For example, the message may be sent to the second internet-enabled device; as another example, the communication may be sent to the second internet-enabled device by interacting with the cloud. Optionally, the first internet of things device and the second internet of things device may make a priori agreement on the format of the sending and receiving device capability information.
Because the device capability information sent by the first internet of things device to the second internet of things device may be used to instruct the second internet of things device to generate device control information for the first internet of things device, correspondingly, the first internet of things device may receive the device control information sent by the second internet of things device.
In this application, the manner in which the first internet of things device obtains the device control information of the second internet of things device may be various, for example, the first internet of things device may receive the device control message sent by the second internet of things device to extract the device control information of the second internet of things device from the device control message, and specifically, the step of "obtaining the device control information of the second internet of things device" may include:
receiving a device control message sent by a second internet-of-things device;
device control information of the second networked device is extracted from the device control message.
The device control message is message data for transmitting device control information.
In an embodiment, the second internet of things device may send a device control message to the first internet of things device according to a predetermined format, where the device control message may include device control information of the second internet of things device. Correspondingly, the first internet of things device may receive the device control message sent by the second internet of things device, and extract device control information of the second internet of things device from the device control message. For example, the third party local hub may send a device control message to the IoT device requesting to set an ACL to the IoT device in a pre-agreed format, and correspondingly, the IoT device may receive the device control message and extract device control information therefrom to set the ACL of the IoT device based on the device control information.
As an example, the first internet of things device may receive the second internet of things device sending device control message through the connection relationship established in the configuration process. Specifically, after the connection relationship between the first internet of things device and the second internet of things device is established, a connection channel for providing data interaction between the first internet of things device and the second internet of things device can be established, so that the first internet of things device and the second internet of things device can perform data interaction, for example, a sending device control message and a receiving device control message, through the connection channel.
Further, the first internet of things device can set authority information of the second internet of things device to the first internet of things device based on the received device control information.
In an embodiment, considering that the second internet of things device and the first internet of things device belong to different internet of things systems, the device control of the second internet of things device on the first internet of things device is essentially the device control performed by the internet of things system. And, the device control object may implement device control of the first internet of things device through the second internet of things device. Therefore, when the device control authority of the second internet of things device to the first internet of things device is set, the device control authority of the device control object in the second internet of things system to the first internet of things device can be set.
Specifically, the device control information may include a system identifier of a target internet of things system and an object identifier of a device control object, where the target internet of things system is an internet of things system to which the second internet of things device belongs, that is, the second internet of things system, and the device control object is an object for controlling the first internet of things device through the second internet of things device, and specifically, the step of setting, based on the device control information, a device control permission of the second internet of things device for the first internet of things device may include:
and setting the device control authority of the device control object in the target object system to the first Internet of things device based on the system identifier and the object identifier.
The system identifier is identification information for uniquely identifying the internet of things system, and various forms of the system identifier can be adopted, for example, different data forms such as character strings, images, audio and the like can be adopted. In practical application, the system identifier of the target internet of things system may be referred to as an ecological identifier of the target internet of things system, where the ecological identifier may be used to uniquely identify a third party vendor. For example, the second internet of things device may be a third party local hub, and correspondingly, the system identifier of the internet of things system to which the second internet of things device belongs is an ecological identification code of the third party local hub.
The object identifier is identification information for uniquely identifying a device control object in the target internet of things system, and the form of the object identifier can be various, for example, can include different data forms such as a character string, an image, and audio. The device control object is an object for controlling the first internet of things device, for example, the device control object may be a user, an internet of things device, or the like. In practical application, the object identifier of the device control object may be referred to as a topic ID (identity identifier, identity Document in english), where the topic ID may be used to uniquely identify a user or an internet of things device in a third party vendor (where the internet of things device may be used as a controller in an application scenario of device control) and the topic ID is unique in the third party vendor.
In practical applications, the second internet of things device may assign different object identifiers to different device control objects in the target internet of things system, e.g., the third party local hub may assign different topic IDs to different controllers, users, etc. in its own ecology.
After determining the system identifier of the target internet of things system and the object identifier of the device control object, the first internet of things device can further set the device control authority of the device control object in the target internet of things device based on the system identifier and the object identifier.
As an example, in the device control information received by the first internet of things device, the system identifier included in the device control information is the identifier a corresponding to the vendor a, and the object identifier is the identifier B corresponding to the user B, so that the first internet of things device may modify the ACL of the first internet of things device based on the identifier a and the identifier B, and in this way, the device control authority of the user B on the first internet of things device may be set. It should be noted that, the device control right set here is the control right of the first internet of things device owned by the user B in the internet of things system corresponding to the vendor a.
As another example, in the device control information received by the first internet of things device, the system identifier included in the device control information is an identifier a corresponding to the vendor C, and the object identifier is an identifier B corresponding to the user B, and similarly, the first internet of things device may set the device control authority of the user B on the first internet of things device. It is noted that the device control right set here is a control right of the first internet of things device, which is owned by the user B in the internet of things system corresponding to the vendor C.
As another example, in the device control information received by the first internet of things device, the system identifier included in the device control information is an identifier a corresponding to the vendor a, and the object identifier is an identifier D corresponding to the controller D, and similarly, the first internet of things device may set the device control authority of the controller D on the first internet of things device. It is noted that the control right set here is a control right of the first internet of things device, which is owned by the controller D in the internet of things system corresponding to the vendor a.
In an embodiment, considering that in an application scenario of performing device control in a cross-object system, different rights may be allocated to each device control object in the target object system, and the rights may be represented by object attributes of the device control objects, so the device control information acquired by the first internet of things device may further include object attribute information of the device control objects, and specifically, the step of setting, based on the system identifier and the object identifier, the device control rights of the device control objects in the target object system to the first internet of things device may include:
determining a service call authority of the device control object to the first Internet of things device based on the object attribute information, wherein the service call authority is the call authority of the device control object to the service provided by the first Internet of things device, and the service provided by the first Internet of things device is determined based on the device capability information of the first Internet of things device;
and setting the device control authority of the device control object in the target object system to the first Internet of things device based on the service calling authority.
The object attribute information is used for describing object attributes of the device control object, different object attributes represent different roles, and different roles represent different rights, for example, the rights can include service call rights and information change rights. In the present application, the object identifiers of the device control objects are in one-to-one correspondence with the object attributes of the device control objects, that is, in practical application, the roles of the device control objects are in one-to-one correspondence with the topic IDs.
For example, if the object attribute of the device control object is role 1, the device control object only has the service calling authority to the first internet of things device; if the object attribute of the device control object is role 2, the device control object is indicated to have service calling authority and information changing authority for the first internet of things device. For another example, if the object attribute of the device control object is role 1, the device control object only has the service calling authority for the first internet of things device; if the object attribute of the equipment control object is role 2, the equipment control object only has information change authority to the first Internet of things equipment; if the object attribute of the device control object is role 3, the device control object is indicated to have service calling authority and information changing authority for the first internet of things device. Etc.
In an embodiment, the object attribute of the device control object may include an administrator and a general user, and specifically, if the object attribute of the device control object is the administrator, the device control object may have a more authority and a service call authority for the information table of the first internet of things device; if the object attribute of the device control object is a common user, the device control object may only have a service call right for the first internet of things device.
The information change authority characterizes change authority of the device control object to the device control information stored by the first internet of things device, for example, the information table more authority characterizes change authority of the device control object to the ACL of the first internet of things device.
The service calling authority is the calling authority of the device control object to the service provided by the first Internet of things device, and the service provided by the first Internet of things device is determined based on the device capability information of the first Internet of things device. If the device control object has service calling authority to the first internet of things device, the device control object can call authorized service in the first internet of things device. For example, the first internet of things device may be an intelligent air conditioner, and the service provided by the first internet of things device may include a refrigeration service, a dehumidification service, a heating service, and the like, and if the device control object has a service calling authority for the intelligent refrigerator, the device control object may call an authorized service in the intelligent refrigerator.
Therefore, the first internet of things device can determine whether the device control object has the service call authority for the first internet of things device based on the object attribute information of the device control object, so that the first internet of things device can further set the device control authority of the device control object for the first internet of things device in the target internet of things system.
As an example, the first internet of things device may be an intelligent television, the device control object of the second internet of things device may be a child E, and the object attribute of the child E is a common user, then the intelligent television may determine that the child E has a service call authority to the intelligent television based on the object attribute information of the child E, and set the device control authority of the child E to the intelligent television in the target internet of things system as follows: the method has the service calling authority for the intelligent television.
In another embodiment, the device control information may further include service access information of the device control object, where the service access information includes an authorized access service of the device control object at the first internet of things device, and an access right of the device control object to the authorized access service. Therefore, after determining that the device control object has the service call authority for the first internet of things device, the first internet of things device can determine the service access authority of the device control object for the first internet of things device based on the service access information, so as to further define the service call authority of the device control object for the first internet of things device. Specifically, the step of determining the service call authority of the device control object to the first internet of things device may include:
Based on the service access information, determining the service access authority of the device control object to the first Internet of things device.
As an example, the first internet of things device may be an intelligent television, the device control object of the second internet of things device may be a child E, the object attribute of the child E is a common user, the service access information of the child E includes an authorized access service of the child E on the intelligent television, and an access right of the child E to the authorized access service, and specifically, the authorized access service of the child E on the intelligent television includes the following two services: viewing the science and education channel, and viewing the animation channel, and the access rights of the child E to "viewing the science and education channel" are: the access rights of child E to "watch animation channel" are 2 hours per day: each day for 1 hour. The smart television can determine the service access right of the child E to the smart television based on the authorized access service of the child E and the access right of the child E to the authorized access service, so as to further determine what service the child E can specifically access to in the smart television and the specific right of the accessible service on the basis of determining that the child E has the service call right to the smart television.
In another embodiment, if the object attribute information of the device control object indicates that the device control object also has an information modification authority for the first internet of things device, the first internet of things device may correspondingly set the device control authority of the device control object for the first internet of things device, and specifically, the step of setting the device control authority of the device control object in the target internet of things system for the first internet of things device based on the service invocation authority may include:
if the object attribute information indicates that the device control object has information change permission for the first internet of things device, setting device control permission of the device control object in the target internet of things device based on the information change permission and the service call permission, wherein the information change permission characterizes the device control object and changes permission of the device control information stored in the first internet of things device.
As an example, the first internet of things device may be an intelligent television, the device control object of the second internet of things device may be an adult F, and the object attribute of the adult F is an administrator, then the intelligent television may determine, based on the object attribute information of the adult F, that the adult F has a service calling authority and an information changing authority for the intelligent television, and set the device control authority of the adult F for the intelligent television in the target internet of things system as follows: the method has the service calling authority and the information changing authority for the intelligent television.
In practical applications, the device control information received by the first internet of things device may include, in addition to the system identifier of the second internet of things system, the object identifier of the device control object, object attribute information, service access information, and information such as a device ID, a connection key, and a key expiration time of the connection key.
The device ID is also referred to as a target device identifier, and is a unique ID allocated to the first internet of things device by the target internet of things system, and may be used to uniquely identify one device in the target internet of things system; the connection key can be used for establishing control connection between the first Internet of things device and the second Internet of things device, and the connection key corresponds to the object identifier one by one.
In practical application, the second internet of things device may allocate information such as different object identifiers, keys, object attributes and the like to different device control objects in the target internet of things system, for example, the third party local hub may allocate information such as different topic IDs, keys, roles and the like to different controllers, users and the like in its ecology.
The process of setting the device control authority is described from the perspective of the first internet of things device, and in practical application, the device control may be further performed on the basis of the foregoing process, and specifically, the method for setting the device control authority may further include:
Receiving an equipment control instruction sent by second internet of things equipment, wherein the equipment control instruction is used for the second internet of things equipment to control equipment of first internet of things equipment;
and executing the operation corresponding to the equipment control instruction.
In this application, there may be various ways in which the first internet of things device receives the device control instruction sent by the second internet of things device, for example, in an embodiment, referring to fig. 4, the second internet of things device may send the device control instruction to a second matching server matched with the first internet of things device, and further, the second matching server may send the device control instruction to the first internet of things device, so that the first internet of things device may receive the device control instruction sent by the second internet of things device. Specifically, the step of receiving the device control instruction sent by the second internet-enabled device may include:
and receiving a device control instruction sent by a second matching server matched with the second internet-of-things device, wherein the device control instruction is an instruction sent by the second internet-of-things device to the second matching server.
It is noted that the second matching server that matches the second internet of things device may be a cloud server of the same thing system as the second internet of things device.
In another embodiment, referring to fig. 5, the second internet of things device may send the device control instruction to the second matching server that matches the second internet of things device, and the second matching server may send the device control instruction to the first matching server that matches the first internet of things device, further, the first matching server may send the device control instruction to the first internet of things device, so that the first internet of things device may receive the device control instruction sent by the second internet of things device. Specifically, the step of receiving the device control instruction sent by the second internet-enabled device may include:
and receiving an equipment control instruction sent by a first matching server matched with the first Internet of things equipment, wherein the equipment control instruction is an instruction sent by a second Internet of things equipment to the first matching server through a second matching server, and the second matching server is a cloud server matched with the second Internet of things equipment.
Similarly, the first matching server that matches the first internet of things device may be a cloud server that is associated with the same thing as the first internet of things device.
In another embodiment, referring to fig. 6, the first internet of things device may establish a control connection relationship with the second internet of things device, so that a device control instruction sent by the second internet of things device may be received based on the control connection relationship, specifically, the step of "receiving a device control instruction sent by the second internet of things device" may include:
Establishing a control connection relation with the second internet of things equipment, wherein the control connection relation is used for the second internet of things equipment to control the first internet of things equipment;
and receiving a device control instruction sent by the second internet-connected device based on the control connection relation.
It should be noted that the control connection relationship established herein is a connection relationship in the control process. Specifically, in the process of implementing the second internet of things device to perform device control on the first internet of things device, two processes may be configured and controlled. Wherein, control refers to a process that the second internet of things device performs device control on the first internet of things device, for example, the second internet of things device may control the first internet of things device by sending a device control instruction to the first internet of things device.
In the application, the control can be directly performed after the configuration is completed, and if the connection relationship established in the configuration process is not invalid, the first internet of things device can follow the connection relationship established in the configuration process and receive the device control instruction sent by the second internet of things device based on the connection relationship.
If the connection relationship fails, or the second internet of things device does not directly control the first internet of things device after the configuration is completed, but controls the first internet of things device after the configuration is completed and the connection relationship fails, the first internet of things device can establish a control connection relationship with the second internet of things device, so that a device control instruction sent by the second internet of things device can be received based on the control connection relationship.
The manner in which the first internet of things device establishes the control connection with the second internet of things device may be various, for example, since the device control information of the second internet of things device acquired by the first internet of things device may include the object identifier of the device control object and the connection key information corresponding to the device control object, the control connection with the second internet of things device may be established based on the object identifier and the connection key information, and specifically, the step of "establishing the control connection with the second internet of things device" may include:
and establishing a control connection relation with the second internet equipment based on the object identification and the connection key information.
For example, the first internet of things device and the second internet of things device may perform security negotiation with the connection key information through the object identifier, and establish an encrypted connection, so as to establish a control connection relationship between the first internet of things device and the second internet of things device. It should be noted that the method for establishing the control connection relationship may be the same as or different from the method for establishing the connection relationship in the configuration process in the foregoing description, which is not limited in this application.
In an embodiment, because in practical application, it is possible that, for a first internet of things device, a second internet of things device under multiple different internet of things systems sets device control permissions for the first internet of things device, and in a control process, there may be multiple second internet of things devices requesting to establish a control connection relationship with the first internet of things device, where the first internet of things device should establish a control connection relationship with the configured second internet of things device, when there may be multiple second internet of things devices under different internet of things systems requesting to establish a control connection relationship with the first internet of things device, the first internet of things device may determine a target second internet of things device from the multiple second internet of things devices, and establish a control connection relationship with the target second internet of things device. Specifically, the device control information of the second internet of things device acquired by the first internet of things device may include, in addition to an object identifier of a device control object and connection key information corresponding to the device control object, a system identifier of an internet of things system to which the second internet of things object belongs, that is, a target system identifier of a target internet of things system, and a target device identifier allocated by the target internet of things system to the first internet of things device, and then specifically, the step of establishing a control connection relationship with the second internet of things device based on the object identifier and the connection key information may include:
Acquiring a control connection request of second internet of things equipment, wherein the control connection request comprises a second system identifier, and the second system identifier is an equipment identifier of an internet of things system to which the second internet of things equipment belongs;
if the second system identifier is matched with the target system identifier, a control connection relation with the second internet equipment is established based on the target equipment identifier, the object identifier and the connection key information.
The control connection request acquired by the first Internet of things equipment is data for requesting to establish a control connection relation with the first Internet of things equipment. The control connection request may include a second system identifier, where the second system identifier is a system identifier of an internet of things system to which the second internet of things device that sent the control connection request belongs. There are various data formats for controlling the connection request, and for example, the connection request may be a multicast or broadcast message.
In the control process, the first internet of things device can acquire a plurality of control connection requests, and the control connection requests can be sent to the first internet of things device by the second internet of things device of different internet of things systems. The first internet of things device may compare the second system identifier corresponding to each control connection request with the target system identifier, if the second system identifier and the target system identifier are matched, the second internet of things device sending the control connection request may be determined, and if the second system identifier and the target system identifier are configured as the second internet of things device with the first internet of things device, the first internet of things device may further establish a control connection relationship with the second internet of things device based on the target device identifier, the object identifier and the connection key information.
As an example, in the local area network, the second internet of things device may send a multicast or broadcast packet in a manner of a multicast packet or the like, so as to send a control connection request to the first internet of things device, where the control connection request includes a second system identifier, the second system identifier is a device identifier of an internet of things system to which the second internet of things device belongs, and a format of the packet is agreed in advance. Correspondingly, the first Internet of things device can acquire the control connection request of the second Internet of things device. If the second system identifier is matched with the target system identifier, the first internet of things device may further establish a control connection relationship with the second internet of things device based on the target device identifier, the object identifier, and the connection key information, and specifically, the step of "establishing a control connection relationship with the second internet of things device based on the target device identifier, the object identifier, and the connection key information" may include:
generating device connection response information of the control connection request, wherein the device connection response information comprises a target device identifier;
and sending equipment connection response information to the second internet-of-things equipment, and establishing a control connection relation with the second internet-of-things equipment based on the object identification and the connection key information.
As an example, after the first internet of things device obtains the control connection request of the second internet of things device, the first internet of things device may determine, based on the second system identifier included in the control connection request, an internet of things system to which the second internet of things device that sends the control connection request belongs, and the first internet of things device may determine an device ID allocated by the internet of things system to the first internet of things device, and generate device connection response information that includes the device ID.
Furthermore, the first internet of things device may send device connection response information to the second internet of things device, so that the second internet of things device learns the identity of the first internet of things device with which the control connection relationship is to be established, and in this way, the first internet of things device may further establish the control connection relationship with the second internet of things device based on the object identifier and the connection key information.
After the control connection relation between the first internet of things device and the second internet of things device is established, the first internet of things device can further receive a device control instruction sent by the second internet of things device based on the control connection relation. As an example, after the control connection relationship with the second internet of things device is established, a control connection channel for the first internet of things device to perform data interaction with the second internet of things device may be established, so that the first internet of things device and the second internet of things device may perform data interaction through the control connection channel, for example, a sending device control instruction and a receiving device control instruction.
In the application, after receiving the device control instruction sent by the second internet of things device, the first internet of things device can execute the operation corresponding to the device control instruction.
For example, the device control instruction may include a service call instruction, where the service call instruction may be used to call a service provided by the first internet of things device, and the first internet of things device may receive the service call instruction sent by the second internet of things device and call a service corresponding to the service call instruction, so as to implement device control of the second internet of things device on the first internet of things device.
As another example, the device control instructions may include information change instructions, where the information change instructions may be used to change device control information stored by the first internet of things device, for example, may be used to modify an ACL of the first internet of things device, for example, may be used to modify rights information stored in the ACL, to update connection key information stored in the ACL, and so on. Specifically, the step of "performing an operation corresponding to the device control instruction" may include:
determining an equipment control object corresponding to the equipment control instruction;
and if the equipment control object has the information change authority to the first Internet of things equipment, executing the information change operation corresponding to the information change instruction.
The manner in which the first internet of things device determines the device control object corresponding to the device control instruction may be various, for example, the first internet of things device may receive the device control request sent by the second internet of things device, where the device control request may include the device control instruction and the object identifier of the device control object, and therefore, the first internet of things device may determine, based on the object identifier, the device control object corresponding to the device control instruction.
Further, the first internet of things device may determine whether the device control object has the information change authority, for example, may be implemented by querying device control information stored in the first internet of things device, for example, may be implemented by querying an ACL of the first internet of things device. Specifically, if the device control object has information change authority to the first internet of things device, the first internet of things device may execute an information change operation corresponding to the information change instruction.
As an example, the device control object of the second internet of things device may be a third party local hub F, whose object attribute is an administrator, that is, the third party local hub F has a more authority to the information table of the first internet of things device. In this example, the third-party local hub F may periodically send a device control instruction to the first internet of things device, where the device control instruction may include an ACL packet and an object identifier of the third-party local hub F, where the ACL packet is used for updating an ACL of the first internet of things device.
After receiving the device control instruction, the first internet of things device can extract the object identifier from the device control instruction, and can know that the device control object corresponding to the device control instruction is the third party local hub F and the object attribute is the administrator through inquiring the ACL, so that the first internet of things device can determine that the third party local hub F has more authority to the information table of the first internet of things device, and the first internet of things device can execute the information change operation corresponding to the information change instruction based on the ACL message, namely, update the ACL.
As can be seen from the above, in this embodiment, the second internet of things device that has established a connection relationship with the first internet of things device may receive the transmitted access information for the second cloud server, where the first internet of things device and the second internet of things device belong to different internet of things systems, and the second cloud server is a cloud server that has a trust relationship with the second internet of things device; acquiring equipment authentication information of a second cloud server according to the access information; authenticating the second cloud server based on the equipment authentication information; and if the authentication is passed, setting authority information of the second internet of things equipment to the first internet of things equipment.
According to the scheme, the second internet of things equipment of different internet of things systems to which the first internet of things equipment belongs can be provided with the equipment control authority for the first internet of things equipment, so that equipment control is realized in a scene of the cross-internet of things system. In addition, before the second internet of things device sets the device control authority of the first internet of things device, the authentication of the second internet of things device is achieved through interaction with the cloud server trusted by the second internet of things device, so that the safety of device control is not enhanced, the cost requirement on the second internet of things device is reduced, for example, the second internet of things device does not need to use a safety chip, or a certificate key and the like are prefabricated locally on the device, and therefore device control of a cross-internet of things system can be achieved efficiently and safely.
In addition, compared with the protocol interconnection or standardization based on cloud or end cloud, the scheme not only avoids the problem of low performance and stability caused by long data link, but also improves the problem of low enthusiasm and difficulty in pushing of equipment manufacturers caused by the fact that the equipment of the Internet of things cannot be connected to the cloud of the equipment manufacturers. Therefore, the scheme can support the control of the Internet of things equipment by the local center type equipment such as the third party application, the intelligent sound box, the gateway, the intelligent television, the router and the like while the cloud of the equipment manufacturer is not influenced by the Internet of things equipment connection equipment, so that the interconnection and intercommunication among the Internet of things equipment under the Internet of things system are improved.
According to the method described in the above examples, examples are further detailed below.
In the present embodiment, description will be made from the viewpoint of a second setting means, which may be integrated in the terminal in particular. For example, the second setting means may be integrated in the second internet appliance.
As shown in fig. 7, a method for setting device control rights specifically includes the following steps:
201. and sending access information aiming at a second cloud server to the first Internet of things device which has established a connection relation with the second Internet of things device, wherein the access information is used for establishing an access connection relation between the first Internet of things device and the second cloud server, the access connection relation is used for enabling the second cloud server to authenticate the first Internet of things device, the second cloud server is a cloud server with a trust relation with the second Internet of things device, and the second Internet of things device and the first Internet of things device belong to different Internet of things systems.
The second internet-of-things device may send the access information of the second cloud server in multiple manners, for example, the information may be sent through interaction between the terminal and the server; as another example, a connection relationship between the second internet of things device and the first internet of things device may be established, and based on the connection relationship, access information for the second cloud server may be sent to the first internet of things device, and specifically, the step of "sending, to the first internet of things device having established the connection relationship with the second internet of things device, access information for the second cloud server" may include:
Establishing a connection relationship between the second internet of things device and the first internet of things device;
based on the connection relationship, sending access information for the second cloud server to the first Internet of things device.
In an embodiment, the second internet of things device may request to the first internet of things device to establish a connection relationship between the second internet of things device and the first internet of things device by sending connection query information to the first internet of things device, and specifically, the step of "establishing a connection relationship between the second internet of things device and the first internet of things device" may include:
generating connection inquiry information meeting a preset inquiry format;
transmitting connection inquiry information to the first Internet of things equipment, and receiving inquiry response information transmitted by the first Internet of things equipment based on the connection inquiry information, wherein the inquiry response information comprises equipment information of the first Internet of things equipment;
and establishing a connection relationship between the second internet of things device and the first internet of things device based on the device information.
As an example, the second internet appliance may generate the connection inquiry information, which may specifically be in the form of a message, the format of which is a preset inquiry format agreed in advance. And the second internet of things device can send multicast or broadcast messages in a local area network in a multicast message mode and the like so as to send connection inquiry information to the first internet of things device.
Further, the second internet of things device may receive query response information sent by the first internet of things device based on the connection query information, where the query response information may specifically be in a message, and a format of the message is a query response format agreed in advance, and the query response information includes device information of the first internet of things device.
In practical application, considering that for the second internet of things device, the second internet of things device can establish a connection relationship with the plurality of first internet of things devices so as to control the first internet of things devices, that is, the second internet of things device can send connection inquiry information to the plurality of first internet of things devices, in this way, correspondingly, the second internet of things device can receive inquiry response information replied by the plurality of first internet of things devices, so that the second internet of things device can determine the identity of the first internet of things device to establish the connection relationship with the second internet of things device according to the device information in the inquiry response information received by the second internet of things device.
After determining the identity of the first internet of things device to be connected with the second internet of things device, the second internet of things device can establish the connection relationship with the first internet of things device. The method for establishing the connection between the first internet of things device and the second internet of things device may be various, for example, may be implemented by exchanging a key, for example, may be implemented by exchanging a personal identification code (Personal Identification Number, PIN code), specifically, the step of "establishing the connection between the second internet of things device and the first internet of things device based on the device information" may include:
Acquiring connection verification information of first Internet of things equipment based on the equipment information;
and establishing a connection relation between the second internet of things device and the first internet of things device based on the connection verification information.
The connection verification information is related information to be verified when the connection relation between the second internet of things device and the first internet of things device is established in the configuration process, specifically, if the verification of the connection verification information is passed, the connection relation between the second internet of things device and the first internet of things device can be further established, otherwise, the connection relation is not established. For example, the connection verification information may be key information, such as a PIN code.
The second internet of things device may acquire the connection verification information of the first internet of things device according to the device information of the first internet of things device, for example, the connection verification information may be input by a user, specifically, the second internet of things device may prompt the user that the first internet of things device is to be connected with the second internet of things device after acquiring the device information of the first internet of things device, so as to require the user to perform out-of-band confirmation by inputting a PIN code or scanning a two-dimensional code.
In an embodiment, after determining the connection verification information of the first internet of things device, the user may transmit the connection verification information to the second internet of things device, so that the second internet of things device may acquire the connection verification information. The manner in which the user determines the connection verification information of the first internet of things device may be various, for example, the user may view the fixed connection verification information in a device package of the first internet of things device. For another example, the user may obtain the connection check information of the first internet of things device through the first internet of things APP that is matched with the first internet of things device, for example, the user may obtain the connection check information generated by the first internet of things APP, or query the connection check information of the first internet of things device through the first internet of things APP, and so on. Optionally, if 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 first internet of things device through the first cloud server.
In this embodiment, for the second networking device, there may be various ways for the user to obtain the connection verification information of the first internet of things device, for example, the user may directly interact with the second internet of things device to transfer the connection verification information of the first internet of things device to the second internet of things device, and specifically, the step of "obtaining the connection verification information of the first internet of things device" may include:
and responding to the information input operation aiming at the second internet of things equipment, and acquiring the connection verification information of the first internet of things equipment.
The information input operation for the second internet device may be a specific touch operation, such as a long press operation, a double click operation, and a sliding operation. The touch control operation may be a non-touch control operation, such as a voice trigger operation, an image detection trigger operation, a program trigger operation, and the like. Alternatively, the information input operation for the second internet appliance may be a combination of a series of operations, which is not limited in this embodiment.
For example, the second internet of things device may include a physical control through which a user may perform an information input operation to input connection verification information of the first internet of things device; for another example, the second internet of things device may include a display screen, and the user may input connection verification information of the first internet of things device by performing a touch operation or a code scanning operation with the display screen; for another example, the second internet of things device may include a voice interaction module, and the user may implement an information input operation for the second internet of things device by performing voice interaction with the second internet of things device, so as to input connection verification information of the first internet of things device; for another example, the second internet of things device may include an image recognition module, and the user may send an image including the connection verification information to the second internet of things device, so that the second internet of things device may recognize the connection verification information of the first internet of things device through the image recognition module; for another example, the user may transmit the connection verification information of the first internet of things device to the second internet of things device through a near field communication technology; etc.
In another embodiment, the user may further transfer the connection verification information of the first internet of things device to the second internet of things device through the second internet of things app, and specifically, the step of "obtaining the connection verification information of the first internet of things device" may include:
and obtaining connection verification information sent by a target client, wherein the target client is a client matched with the second Internet of things device, and the connection verification information is corresponding to the first Internet of things device.
As an example, the target client may be a second internet app, and after determining the connection verification information of the first internet of things device, the user may input the connection verification information into the second internet of app, and transmit the connection verification information to the second internet of things device through the second internet of app, so that the second internet of things device may obtain the connection verification information of the first internet of things device.
In the application, after the connection relationship between the second internet of things device and the first internet of things device is established, the access information for the second cloud server can be further sent to the first internet of things device based on the connection relationship. Specifically, after the connection relationship between the first internet of things device and the second internet of things device is established, a connection channel for providing data interaction between the first internet of things device and the second internet of things device can be established, so that the first internet of things device and the second internet of things device can perform data interaction through the connection channel, for example, access information aiming at the second cloud server can be sent and received.
202. And receiving authentication result information of the first Internet of things equipment sent by the second cloud server.
The authentication result information of the first Internet of things equipment is used for describing an authentication result of the second cloud server on the first Internet of things equipment. For example, the authentication result information may include an authentication result of the second cloud server on the first internet of things device, such as authentication pass or authentication fail; as another example, the authentication result information may include a device identifier of the first internet of things device; as another example, the authentication result information may include an authentication time; etc.
In the application, since the second cloud server is a cloud server having a trust relationship with the second internet of things device, after the second cloud server authenticates the first internet of things device and obtains the authentication result information of the first internet of things device, the second cloud server can send the authentication result information to the second internet of things device, and correspondingly, the second internet of things device can receive the authentication result information of the first internet of things device, which is sent by the second cloud server.
203. And if the authentication result information is that the authentication is passed, setting authority information of the first Internet of things equipment.
In the application, the manner in which the second internet of things device sets the permission information of the first internet of things device may be multiple, for example, the device control information may be sent to the first internet of things device, so that the permission information of the second internet of things device to the first internet of things device is set through the device control information, for example, the second internet of things device may send the device control information to the first internet of things device through interaction between the terminal and the server.
As another example, the second internet of things device may send device control information to the first internet of things device based on a connection relationship established between the second internet of things device and the first internet of things device, and specifically, the step of setting authority information for the first internet of things device may include:
and sending equipment control information to the first Internet of things equipment to set authority information of the first Internet of things equipment through the equipment control information, wherein the equipment control information is used for indicating the first Internet of things equipment to set control authority, and the control authority is the equipment control authority of the second Internet of things equipment to the first Internet of things equipment.
Since the second internet of things device needs to learn the device capabilities of the first internet of things device before further generating the device control information, the second internet of things device may determine the device capability information of the first internet of things device before it sends the device control information to the first internet of things device, so that the second internet of things device may further generate the device control information for the first internet of things device. Specifically, before the step of sending the device control information to the first internet of things device, the method for setting the device control authority may further include:
Determining equipment capability information of first Internet of things equipment;
based on the device capability information, device control information for the first internet of things device is generated.
The second internet of things device may determine the device capability information of the first internet of things device in various manners, for example, may be implemented by requesting the device capability information of the first internet of things device, and specifically, the step of determining the device capability information of the first internet of things device may include:
generating a device capability request for the first Internet of things device, and sending the device capability request to the first Internet of things device;
and receiving the equipment capability information returned by the first Internet of things equipment based on the equipment capability request.
In order to ensure the safety of data interaction, the second internet of things device and the first internet of things device can agree on the format of the device capability request, and in this way, the second internet of things device can request to acquire the capability model of the first internet of things device by generating the device capability request meeting the preset agreed format and sending the device capability request to the first internet of things device.
As an example, referring to fig. 3, the second internet of things device may be a third party local hub shown at 1003, the first internet of things device may be an IoT device shown at 1001, the third party local hub may generate a device capability request for the IoT device in a pre-agreed format, and send the device capability request to the IoT device. Further, the third party local hub may receive device capability information returned by the IoT device based on the device capability request, which may include, in particular, a particular model, type, controllable instructions, attributes, services, etc. of the IoT device.
After the device capability information of the first internet of things device is determined, the second internet of things device can generate device control information for the first internet of things device based on the device capability information.
The method for generating the device control information for the first internet of things device based on the device capability information may be various, for example, the device control information for the first internet of things device for the second internet of things device may be generated based on the device capability information of the first internet of things device, where the device control information is device control information bound to the second internet of device, for example, device control information bound to a device identifier of the second internet of device, so that even if a device control object for performing device control on the first internet of things device by the second internet of device changes, the device control information for the first internet of things device for the second internet of device may remain unchanged.
For another example, in practical application, considering that the second internet of things device may be used as a physical medium for controlling the first internet of things device by using the different device control objects, where the different device control objects have different device control requirements on the first internet of things device, generating, for the different device control objects of the second internet of things device, device control information corresponding to the device control objects in the internet of things system to which the second internet of things device belongs based on the device capability information of the first internet of things device, specifically, the step of generating, based on the device capability information, device control information for the first internet of things device may include:
Determining a device control object of the second internet of things device, wherein the device control object is an object for controlling the first internet of things device through the second internet of things device;
and generating equipment control information of an equipment control object in the target Internet of things system aiming at the first Internet of things equipment based on the equipment capability information, wherein the target Internet of things system is an Internet of things system to which the second Internet of things equipment belongs.
The method for determining the device control object of the second internet of things device may be various, for example, the interaction determination may be performed by the second internet of things system and the internet of things system to which the second internet of things device belongs, that is, the target internet of things system; for another example, the interaction determination can be performed with the user through the second physical connection system; as another example, the determination may be made by the second networking device based on current device data of the second networking device; etc.
In practical applications, the second internet of things device may assign different object identifiers to different device control objects in the target internet of things system, e.g., the third party local hub may assign different topic IDs to different controllers, users, etc. in its own ecology.
After determining the device control object of the second internet of things device, further, based on the device capability information, device control information of the device control object in the target internet of things system for the first internet of things device can be generated.
For example, the second internet of things device may determine, based on the device capability information of the first internet of things device, a service accessible by the second internet of things device and a right of each accessible service in the services provided by the first internet of things device to determine service access information of the device control object, and further, may generate, according to the service access information of the device control object, device control information of the device control object in the target internet of things system for the first internet of things device, and specifically, the step of generating, based on the device capability information, device control information of the device control object in the target internet of things system for the first internet of things device may include:
determining a service provided by the first Internet of things device based on the device capability information;
determining service access information of a device control object to a service;
and generating equipment control information of the equipment control object in the target Internet of things system aiming at the first Internet of things equipment based on the service access information.
Since the device capability information of the first internet of things device is related information describing the device capability that can be provided by the first internet of things device, for example, the device capability information may include a specific model, a type, a controllable instruction, an attribute, a service, and the like of the device. Accordingly, the services provided by the first internet of things device may be determined based on the device capability information. As an example, it may be determined from device capability information of the intelligent air conditioner that services provided by the intelligent air conditioner include a cooling service, a heating service, a dehumidifying service, a self-cleaning service, and the like.
The service access information of the device control object can be determined in various manners, for example, the interaction determination can be performed through the second internet of things system and the object internet of things system to which the second internet of things device belongs, namely the target object internet of things system; for another example, the interaction determination can be performed with the user through the second physical connection system; as another example, the determination may be made by the second networking device based on current device data of the second networking device; etc.
The second internet of things device may add the system identifier of the target internet of things system, the object identifier of the device control object, and the service access information of the device control object to the device control information of the second internet of things device, so as to generate device control information of the device control object in the target internet of things system for the first internet of things device. In this way, after the first internet of things device obtains the device control information, the device control authority of the device control object in the target internet of things device on the first internet of things device can be set correspondingly based on the system identifier and the object identifier.
For example, the third party local hub may add the ecology identification code of the third party local hub, the object identification of the device control object, and the service access information to the device control information of the third party local hub to generate device control information for the IoT device for the device control object in the ecology in which the third party local hub is located, where the service access information may include the accessible services and the permissions of each service. In this way, after the IoT device obtains the device control information, the IoT device can set the device control authority of the device control object to the IoT device in the ecology based on the ecology identification code and the topic ID.
In practical application, the device control object may have information modification authority for the first internet of things device in addition to the service call authority for the first device. Accordingly, the second internet appliance may correspondingly set this information into the appliance control information, for example, may be set by the object attribute information of the appliance control object. In this way, the second internet of things device can make the first internet of things device learn whether the device control object has information change authority by setting the object attribute of the device control object. Specifically, the step of generating the device control information of the device control object in the target internet of things system for the first internet of things device may include:
determining object attribute information of an equipment control object;
and generating equipment control information of the equipment control object in the target Internet of things system aiming at the first Internet of things equipment based on the object attribute information.
Similarly, there may be various ways of determining the object attribute information of the device control object, for example, the interaction determination may be performed by the second internet of things system and the internet of things system to which the second internet of things device belongs, that is, the target internet of things system; for another example, the interaction determination can be performed with the user through the second physical connection system; as another example, the determination may be made by the second networking device based on current device data of the second networking device; etc.
As an example, the second internet of things device further adds object attribute information of the device control object to device control information of the second internet of things device to generate device control information of the device control object for the first internet of things device in the target internet of things device. In this way, after the first internet of things device obtains the device control information, whether the device control object has the information change authority to the first internet of things device can be determined correspondingly based on the object attribute information.
For example, the third-party local hub may further add role information of the device control object to the device control information of the third-party local hub to generate device control information of the device control object for the IoT device in an ecology in which the third-party local hub is located. In this way, after the IoT device obtains the device control information, it may be determined whether the device control object has information modification authority to the IoT device based on the object attribute information correspondingly.
In practical application, the device control information generated by the second internet-connected device may include, in addition to the system identifier of the second internet-connected system, including the subject ID of the device control object, object attribute information, service access information, and information such as a device ID, a connection key, and a key expiration time of the connection key.
In the application, after generating the device control information for the first internet of things device, the second internet of things device may send the device control information to the first internet of things device. The manner in which the second internet of things device sends the device control information to the first internet of things device may be multiple, for example, the second internet of things device may generate the device control message, where the device control message may carry the device control information, so that the second internet of things device may send the device control information to the first internet of things device by sending the device control message to the first internet of things device. Specifically, the step of "sending device control information to the first internet of things device" may include:
generating a device control message, wherein the device control message comprises device control information of the second internet of things device for the first internet of things device;
and sending a device control message to the first Internet of things device.
In an embodiment, the second internet of things device may send a device control message to the first internet of things device according to a predetermined format, where the device control message may include device control information of the second internet of things device. Correspondingly, the first internet of things device may receive the device control message sent by the second internet of things device, and extract device control information of the second internet of things device from the device control message. For example, the third party local hub may send a device control message to the IoT device requesting that the ACL be set to the IoT device in a pre-agreed format. Correspondingly, the IoT device, upon receiving the device control message, may extract device control information therefrom and set an ACL based on the device control information.
As an example, the second internet of things device may send a device control message to the first internet of things device through the connection relationship established in the configuration process. Specifically, after the connection relationship between the second internet of things device and the first internet of things device is established, a connection channel for providing data interaction between the second internet of things device and the first internet of things device can be established, so that the second internet of things device and the first internet of things device can perform data interaction, for example, a sending device control message and a receiving device control message, through the connection channel.
In this embodiment, the process of setting the device control authority is described above from the perspective of the second internet device, and in practical application, device control may be further performed on the basis of the foregoing process, and specifically, the method for setting the device control authority may further include:
and sending a device control instruction to the first Internet of things device so as to control the first Internet of things device through the device control instruction.
In this application, the manner in which the second internet of things device sends the device control instruction to the first internet of things device may be various, for example, the step of "sending the device control instruction to the first internet of things device" may include:
And sending the equipment control instruction to a second matching server so as to send the equipment control instruction to the first Internet of things equipment through the second matching server, wherein the second matching server is a cloud server matched with the second Internet of things equipment.
As another example, the step of "sending a device control instruction to the first internet of things device" may include:
and sending a device control instruction to a second matching server, so as to send the device control instruction to a first matching server through the second matching server, and sending the device control instruction to the first Internet of things device through the first matching server, wherein the second matching server is a cloud server matched with the second Internet of things device, and the first matching server is a cloud server matched with the first Internet of things device.
As another example, referring to fig. 6, the second internet of things device may establish a control connection relationship with the first internet of things device, so that a device control instruction "may be sent to the first internet of things device based on the control connection relationship, and specifically, the step of" sending the device control instruction to the first internet of things device "may include:
establishing a control connection relation with the first Internet of things equipment, wherein the control connection relation is used for the second Internet of things equipment to control the first Internet of things equipment;
And based on the control connection relation, sending a device control instruction to the first Internet of things device.
The manner in which the second internet of things device establishes the control connection with the first internet of things device may be multiple, for example, since the device control information sent by the second internet of things device to the first internet of things device may include the object identifier of the device control object and the connection key information corresponding to the device control object, the control connection with the first internet of things device may be established based on the object identifier and the connection key information, and specifically, the step of "establishing the control connection with the first internet of things device" may include:
and establishing a connection relation with the first Internet of things equipment based on the object identification and the connection key information.
For example, the second internet of things device and the first internet of things device may perform security negotiation with the connection key information through the object identifier, and establish an encrypted connection, so as to establish a control connection relationship between the second internet of things device and the first internet of things device. It should be noted that the method for establishing the control connection relationship may be the same as or different from the method for establishing the connection relationship in the configuration process in the foregoing description, which is not limited in this application.
In an embodiment, because it is considered that in practical application, for the second internet of things device, the device control authority of the second internet of things device for the first internet of things devices under the plurality of different internet of things devices may be set, and in the control process, the second internet of things device may request to establish a control connection relationship with the plurality of first internet of things devices, and correspondingly receive control connection response information returned by the plurality of first internet of things devices, where the notification connection response information may include a first device identifier corresponding to the first internet of things device. Therefore, when the second internet of things device wants to establish the control connection relationship between the second internet of things device and the target first internet of things device, the second internet of things device can determine whether the first internet of things device sending the control connection response information is the target first internet of things device by comparing the target device identifier of the target first internet of things device with the first device identifier in the control connection response information, so that the control connection relationship between the second internet of things device and the target first internet of things device can be further established. Specifically, the device control information sent by the second internet of things device to the first internet of things 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, a system identifier of an internet of things system to which the second internet of things object belongs, that is, a target system identifier of a target internet of things system, and includes a target device identifier allocated by the target internet of things system to the first internet of things device, and then specifically, the step of establishing a connection relationship with the first internet of things device based on the object identifier and the connection key information may include:
Generating a control connection request and sending the control connection request to the first Internet of things device, wherein the control connection request comprises a target system identifier;
receiving control connection response information sent by first Internet of things equipment, wherein the control connection response information comprises a first equipment identifier corresponding to the first Internet of things equipment;
if the first equipment identifier is matched with the target equipment identifier, a control connection relation with the first Internet of things equipment is established based on the object identifier and the connection key information.
The control connection request generated by the second internet of things device is used for requesting to establish the control connection relationship between the second internet of things device and the first internet of things device. The control connection request may include a target system identification, where the target system identification is a system identification of an internet of things system to which the second internet of things device that generated the control connection request belongs. There are various data formats for controlling the connection request, and for example, the connection request may be a multicast or broadcast message.
In the process that the second internet of things device controls the first internet of things device, the second internet of things device can generate a control connection request and send the control connection request to the first internet of things device. Accordingly, the second internet of things device may send control connection requests to the plurality of first internet of things devices, and correspondingly, the second internet of things device may receive control connection response information from different first internet of things devices, where the control connection response information includes first device identifiers corresponding to the first internet of things devices. The second internet of things device can compare the first device identifier corresponding to each control connection response information with the target device identifier, and if the first device identifier and the target device identifier are matched, the first internet of things device sending the control connection response information can be determined, so that the second internet of things device is the target first internet of things device with which the second internet of things device wants to establish a control connection relationship. The second internet of things device may further establish a control connection relationship with the first internet of things device based on the object identification and the connection key information.
As an example, in the local area network, the second internet of things device may send a multicast or broadcast packet in a manner of a multicast packet or the like, so as to send a control connection request to the first internet of things device, where the control connection request includes a target system identifier, the target system identifier is a device identifier of an internet of things system to which the second internet of things device belongs, and a format of the packet is agreed in advance. Correspondingly, the first internet of things device can acquire the control connection request and return control connection response information to the second internet of things device, wherein the control connection response information comprises a first device identifier corresponding to the first internet of things device. The second internet of things device may compare the first device identifier with the target device identifier, and if the first device identifier and the target device identifier are matched, the second internet of things device may further establish a control connection relationship with the first internet of things device based on the object identifier and the connection key information.
After the control connection relation between the second internet of things device and the first internet of things device is established, the second internet of things device can further send a device control instruction to the first internet of things device based on the control connection relation. As an example, after the control connection relationship with the first internet of things device is established, a control connection channel for the second internet of things device to perform data interaction with the first internet of things device may be established, so that the second internet of things device and the first internet of things device may perform data interaction through the control connection channel, for example, a sending device control instruction and a receiving device control instruction.
In the application, after receiving the device control instruction sent by the second internet of things device, the first internet of things device can execute the operation corresponding to the device control instruction.
For example, the device control instruction may include a service call instruction, where the service call instruction may be used to call a service provided by the first internet of things device, and the second internet of things device may send the service call instruction to the first internet of things device to call a service corresponding to the service call instruction, so as to implement device control of the second internet of things device on the first internet of things device.
As another example, the device control instructions may include information change instructions, where the information change instructions may be used to change device control information stored by the first internet of things device, for example, may be used to modify an ACL of the first internet of things device, for example, may be used to modify rights information stored in the ACL, to update connection key information stored in the ACL, and so on. Specifically, the step of sending a device control instruction to the first internet of things device may include:
determining an equipment control object of first Internet of things equipment;
if the equipment control object has information change authority to the first Internet of things equipment, generating an equipment control instruction based on the information change authority;
And sending a device control instruction to the first Internet of things device.
The manner of determining the device control object of the first internet of things device by the second internet of things device may be various, for example, the interaction determination may be performed by the second internet of things system and the internet of things system to which the second internet of things device belongs, that is, the target internet of things system; for another example, the interaction determination can be performed with the user through the second physical connection system; as another example, the determination may be made by the second networking device based on current device data of the second networking device; etc.
Further, the second internet appliance may determine whether the appliance control object has information change authority, for example, may be determined based on an object attribute of the appliance control object. Specifically, if the device control object has an information change permission for the first internet of things device, the second internet of things device may generate a device control instruction, for example, an information change instruction, based on the information change permission, and send the device control instruction to the first internet of things device, so that the second internet of things device may change the device control information stored in the first internet of things device through the device control instruction.
As an example, the device control object of the second internet of things device may be a third party local hub F, whose object attribute is an administrator, that is, the third party local hub F has a more authority to the information table of the first internet of things device. In this example, the third-party local hub F may periodically generate a device control instruction, and send the device control instruction to the first internet of things device, where the device control instruction may include an ACL packet and an object identifier of the third-party local hub F, where the object identifier user determines, by the first internet of things device, that the third-party local hub F has information modification permission, and the ACL packet is used by the first internet of things device to update an ACL of the first internet of things device.
In the embodiments of the present application, the descriptions of the embodiments are focused on, and a part of a certain step or a certain noun explanation in a certain embodiment, which is not described in detail, may be referred to the above detailed description of the method for setting the device control authority, which is not described herein again.
As can be seen from the above, the embodiment of the present application may enable the second internet of things device of a different internet of things system to which the first internet of things device belongs to set the device control authority for the first internet of things device, so as to implement device control in a scenario of a cross-internet of things system. In addition, before the second internet of things device sets the device control authority of the first internet of things device, the authentication of the second internet of things device is achieved through interaction with the cloud server trusted by the second internet of things device, so that the safety of device control is not enhanced, the cost requirement on the second internet of things device is reduced, for example, the second internet of things device does not need to use a safety chip, or a certificate key and the like are prefabricated locally on the device, and therefore device control of a cross-internet of things system can be achieved efficiently and safely.
In addition, compared with the protocol interconnection or standardization based on cloud or end cloud, the method and the device solve the problems that performance and stability are not high due to long data link, and the problem that equipment manufacturer enthusiasm is not high and pushing is difficult due to the fact that the equipment of the Internet of things cannot be connected to the cloud of the equipment manufacturer is solved. Therefore, the embodiment of the application can support the control of the Internet of things equipment by the local center equipment such as the third party application, the intelligent sound box, the gateway, the intelligent television and the router while the cloud of the Internet of things equipment connecting equipment manufacturer is not influenced, so that the interconnection and intercommunication among the Internet of things equipment under the Internet of things system are improved.
According to the method described in the above examples, examples are further detailed below.
In the present embodiment, description will be made from the viewpoint of a third setting device, which may be integrated in a server in particular. For example, the third setting means may be integrated in the second cloud server.
As shown in fig. 8, a method for setting device control rights specifically includes the following steps:
301. responding to an access request sent by first Internet of things equipment based on access information, and establishing an access connection relation between a second cloud server and the first Internet of things equipment, wherein the second cloud server is a cloud server with a trust relation with second Internet of things equipment, the access information is information sent by the second Internet of things equipment to the first Internet of things equipment, and the second Internet of things equipment and the first Internet of things equipment belong to different Internet of things systems.
For example, the second cloud server may receive an access request issued by the first internet of things device based on the access information, where the access request may carry an access request parameter.
It is noted that, in practical application, the second cloud server and the first internet of things device may make a pre-agreement on the format of the access request, so that after the second cloud server receives the access request, it may determine whether the access request is legal by determining whether the format of the access request matches the pre-agreement format. Further, if the access request is legal, the second cloud server may allow the first internet of things device to access the second cloud server, so as to establish an access connection relationship between the first internet of things device and the second cloud server.
In an embodiment, the access request parameter may be a binding code of the first internet of things device, where the binding code may not only be used as a parameter that the first internet of things device connects to the second cloud server, but also may be used for the second cloud server to bind the first internet of things device with the target user, and specifically, the target user may be an associated user of the second internet of things device, for example, a user currently logged on the second internet of things device.
302. And authenticating the first Internet of things device based on the access connection relation.
In practical applications, the second cloud server may perform authentication on the first internet of things device in multiple manners, for example, may include certificate authentication, key authentication, and so on. The method is similar to the mode that the first internet of things equipment authenticates the second cloud server, the second cloud server authenticates the first internet of things equipment, equipment authentication information of the first internet of things equipment can be checked, and based on the check result of the equipment authentication information, an authentication result of the first internet of things equipment is determined, so that the first internet of things equipment is authenticated. Because the access connection relationship established between the second cloud server and the first internet of things device can enable the second cloud server and the first internet of things device to perform data interaction, for example, send and receive device authentication information of the first internet of things device, the step of authenticating the first internet of things device based on the access connection relationship can include:
Acquiring equipment authentication information of first Internet of things equipment based on the access connection relation;
and authenticating the first Internet of things equipment according to the equipment authentication information.
The device authentication information of the first internet of things device is related data required by the second cloud server to authenticate the first internet of things device, for example, the second cloud server can obtain a verification result of the device authentication information by verifying the device authentication information, and further, the authentication result of the first internet of things device is determined according to the verification result.
In the application, an access connection relationship between the second internet-of-things device and the second cloud server is established, that is, a connection channel for the second internet-of-things device and the second cloud server to perform data interaction can be established, so that the second internet-of-things device and the second cloud server can perform data interaction, for example, send and receive device authentication information, through the connection channel. Therefore, the second cloud server can acquire the device authentication information of the first Internet of things device based on the access connection relation established between the second cloud server and the first Internet of things device.
Further, the second cloud server may authenticate the first internet of things device according to the device authentication information of the first internet of things device.
Similar to the manner of authenticating the second cloud server by the first internet of things device based on the device authentication information of the second cloud server, the manner of authenticating the first internet of things device by the second cloud server based on the device authentication information of the first internet of things device may be multiple, for example, the second cloud server may verify the device authentication information of the first internet of things device and determine the authentication result of the first internet of things device based on the verification result. The verification of the device authentication information may be performed in various manners, for example, may include comparing the device authentication information, calculating the device authentication information, and performing query matching on the device authentication information.
Because checking the device authentication information is considered, the method is essentially a process of authenticating the first internet of things device, so that related information required for authenticating the first internet of things device can be determined first, and further, the device authentication information is checked through the information, specifically, the step of "authenticating the first internet of things device according to the device authentication information" can include:
determining authentication verification information required for authenticating the first Internet of things equipment;
And carrying out information verification on the equipment authentication information through the authentication verification information so as to authenticate the first Internet of things equipment.
The second cloud server determines the authentication verification information required for authenticating the first internet of things device, and specifically may refer to the first internet of things device to determine the authentication verification information required for authenticating the second cloud server, which is not described herein in detail.
Likewise, the second cloud server performs information verification on the device authentication information of the first internet of things device through the authentication verification information, and specifically can refer to the first internet of things device to perform information verification on the device authentication information of the second cloud server through the authentication verification information, which is not described herein in detail.
303. And if the authentication is passed, sending authentication result information of the first Internet of things device to the second Internet of things device so as to trigger the second Internet of things device to set authority information of the first Internet of things device based on the authentication result information.
The authentication result information of the first Internet of things equipment is used for describing an authentication result of the second cloud server on the first Internet of things equipment. For example, the authentication result information may include an authentication result of the second cloud server on the first internet of things device, such as authentication pass or authentication fail; as another example, the authentication result information may include a device identifier of the first internet of things device; as another example, the authentication result information may include an authentication time; etc.
In the application, if the authentication of the second cloud server to the first internet of things device passes, the second cloud server may send authentication result information of the first internet of things device to the second internet of things device, so that the second internet of things device learns that the authentication of the first internet of things device passes, and further sets authority information of the second internet of things device to the first internet of things device.
In the embodiments of the present application, the descriptions of the embodiments are focused on, and a part of a certain step or a certain noun explanation in a certain embodiment, which is not described in detail, may be referred to the above detailed description of the method for setting the device control authority, which is not described herein again.
According to the method and the device, the second internet of things device of different internet of things systems to which the first internet of things device belongs can set the device control authority of the first internet of things device, so that device control is realized in a scene of a cross-internet of things system. In addition, before the second internet of things device sets the device control authority of the first internet of things device, the authentication of the second internet of things device is achieved through interaction with the cloud server trusted by the second internet of things device, so that the safety of device control is not enhanced, the cost requirement on the second internet of things device is reduced, for example, the second internet of things device does not need to use a safety chip, or a certificate key and the like are prefabricated locally on the device, and therefore device control of a cross-internet of things system can be achieved efficiently and safely.
According to the method described in the above embodiments, examples are described in further detail below.
In this embodiment, description will be given taking an example in which the first setting device is specifically integrated in the terminal, the second setting device is specifically integrated in the terminal, and the third setting device is specifically integrated in the server. For example, the first setting device may be specifically integrated in the first internet of things device, the second setting device may be specifically integrated in the second internet of things device, and the third setting device may be specifically integrated in the second cloud server.
As shown in fig. 8, a method for setting device control rights specifically includes the following steps:
401. and establishing a connection relation between the first Internet of things equipment and the second Internet of things equipment, wherein the first Internet of things equipment and the second Internet of things equipment belong to different Internet of things systems.
402. And the second internet of things device sends access information for a second cloud server to the first internet of things device based on the connection relation, wherein the second cloud server is a cloud server with a trust relation with the second internet of things device.
As an example, the access information of the second cloud server may include access address information and access parameter information, and in particular, the access address information may be a URL and the access parameter information may be a binding code.
403. And establishing an access connection relationship between the first Internet of things device and the second cloud server through an access request generated based on the access information.
In an embodiment, the first internet of things device may connect to the second cloud server through the URL and with the binding code as a parameter. As an example, the first internet of things device may generate an access request carrying a binding code, and may determine a destination address of the access request through a URL to send the access request to the second cloud server, requesting to establish an access connection relationship with the second cloud server.
404. The first internet of things device sends device authentication information of the first internet of things device to the second cloud server based on the access connection request, and the second cloud server sends device authentication information of the second cloud server to the first internet of things device based on the access connection request.
As an example, the second internet of things device may delegate authentication with the first internet of things device to the second cloud server for execution, and thus, the first internet of things device may implement mutual authentication with the second internet of things device by mutual authentication with the second cloud server.
405. The first internet of things device authenticates the second cloud server based on the device authentication information of the second cloud server.
In practical applications, the first internet of things device may authenticate the second cloud server in multiple manners, for example, may be implemented through certificate authentication, for example, may be implemented through key authentication, and so on.
406. The second cloud server authenticates the first internet of things device based on the device authentication information of the first internet of things device.
Similarly, the second cloud server may authenticate the first internet of things device in a plurality of ways, for example, may be implemented through certificate authentication, for example, may be implemented through key authentication, and so on.
408. If the authentication of the second cloud server to the first Internet of things equipment is passed, the second cloud server sends authentication result information of the first Internet of things equipment to the second Internet of things equipment.
409. If the authentication of the first internet of things device to the second cloud server is passed, the second internet of things device sets authority information of the second internet of things device to the first internet of things device.
In the embodiments of the present application, the descriptions of the embodiments are focused on, and a part of a certain step or a certain noun explanation in a certain embodiment, which is not described in detail, may be referred to the above detailed description of the method for setting the device control authority, which is not described herein again.
As can be seen from the above, the embodiment of the present application may enable the second internet of things device of a different internet of things system to which the first internet of things device belongs to set the device control authority for the first internet of things device, so as to implement device control in a scenario of a cross-internet of things system. In addition, before the second internet of things device sets the device control authority of the first internet of things device, the authentication of the second internet of things device is achieved through interaction with the cloud server trusted by the second internet of things device, so that the safety of device control is not enhanced, the cost requirement on the second internet of things device is reduced, for example, the second internet of things device does not need to use a safety chip, or a certificate key and the like are prefabricated locally on the device, and therefore device control of a cross-internet of things system can be achieved efficiently and safely.
In addition, compared with the protocol interconnection or standardization based on cloud or end cloud, the method and the device solve the problems that performance and stability are not high due to long data link, and the problem that equipment manufacturer enthusiasm is not high and pushing is difficult due to the fact that the equipment of the Internet of things cannot be connected to the cloud of the equipment manufacturer is solved. Therefore, the embodiment of the application can support the control of the Internet of things equipment by the local center equipment such as the third party application, the intelligent sound box, the gateway, the intelligent television and the router while the cloud of the Internet of things equipment connecting equipment manufacturer is not influenced, so that the interconnection and intercommunication among the Internet of things equipment under the Internet of things system are improved.
In order to better implement the above method, correspondingly, the embodiment of the application also provides a device control authority setting device (i.e., a first setting device), wherein the first setting device can be integrated in the terminal. For example, the first setting device may be specifically integrated in the first internet of things device.
For example, as shown in fig. 9, the setting apparatus of the device control authority may include a receiving unit 501, an acquiring unit 502, a cloud authentication unit 503, and a first setting unit 504, as follows:
the receiving unit 501 may be configured to receive, from a second internet of things device having established a connection relationship with a first internet of things device, sent access information for a second cloud server, where the first internet of things device and the second internet of things device belong to different internet of things systems, and the second cloud server is a cloud server having a trust relationship with the second internet of things device;
an obtaining unit 502, configured to obtain device authentication information of the second cloud server according to the access information;
a cloud authentication unit 503, configured to authenticate the second cloud server based on the device authentication information;
the first setting unit 504 may be configured to set authority information of the second internet of things device to the first internet of things device if the authentication passes.
In one embodiment, the setting device further comprises
The first establishing subunit may be configured to establish a connection relationship between the first internet of things device and the second internet of things device before the receiving unit receives the access information for the second cloud server sent by the second internet of things device;
correspondingly, the receiving unit may be configured to receive, based on the connection relationship, access information for the second cloud server sent by the second internet device.
In an embodiment, the first establishing subunit may be configured to:
receiving connection inquiry information sent by second internet-connected equipment; and if the information format of the connection inquiry information meets a preset inquiry format, establishing a connection relation between the first Internet of things equipment and the second Internet of things equipment.
In an embodiment, the first establishing subunit may be specifically configured to:
generating inquiry response information based on the connection inquiry information, wherein the inquiry response information comprises equipment information of first Internet of things equipment; and sending the inquiry response information to the second internet-of-things device so as to establish a connection relation with the second internet-of-things device based on the device information.
In an embodiment, the access information includes access address information and access parameter information; the acquiring unit 502 may include:
the second establishing subunit can be used for establishing an access connection relation with the second cloud server based on the access address information and the access parameter information;
and the authentication acquisition subunit is used for acquiring the equipment authentication information of the second cloud server based on the access connection relation.
In an embodiment, the second establishing subunit may be configured to:
generating an access request based on the access address information and the access parameter information; and sending the access request to the second cloud server so as to establish an access connection relationship with the second cloud server.
In an embodiment, the cloud authentication unit 503 may include:
the verification determining subunit can be used for determining authentication verification information required for authenticating the second cloud server;
and the information verification subunit can be used for carrying out information verification on the equipment authentication information through the authentication verification information so as to authenticate the second cloud server.
In an embodiment, the first setting unit 504 may include:
The capability sending subunit may be configured to send, if the authentication is passed, device capability information of the first internet of things device to the second internet of things device in response to a device capability request sent by the second internet of things device, where the device capability information is used to instruct the second internet of things device to generate device control information for the first internet of things device;
the control receiving subunit may be configured to receive device control information sent by the second internet of things device, and set authority information of the second internet of things device on the first internet of things device based on the device control information.
In an embodiment, the capability-sending subunit may be configured to:
receiving a device capability request sent by the second internet-of-things device; and responding to the equipment capability request, and sending equipment capability information of the first Internet of things equipment to the second Internet of things equipment.
In an embodiment, the capability sending subunit may be specifically configured to:
determining equipment capability information of the first Internet of things equipment; and responding to the equipment capability request, and sending equipment capability information of the first Internet of things equipment to the second Internet of things equipment.
In an embodiment, the device control information includes a system identifier of a target internet of things system and an object identifier of a device control object, where the target internet of things system is an internet of things system to which the second internet of things device belongs, and the device control object is an object that controls the first internet of things device through the second internet of things device; the control receiving subunit may be configured to:
and setting the equipment control authority of the equipment control object in the target Internet of things system to the first Internet of things equipment based on the system identifier and the object identifier.
In an embodiment, the device control information further includes object attribute information of the device control object; the control receiving subunit may be specifically configured to:
determining service calling rights of the device control object to the first internet of things device based on the object attribute information, wherein the service calling rights are calling rights of the device control object to services provided by the first internet of things device, and the services provided by the first internet of things device are determined based on device capability information of the first internet of things device; and setting the equipment control authority of the equipment control object in the target internet of things system to the first internet of things equipment based on the service calling authority.
In an embodiment, the control receiving subunit may be specifically configured to:
if the object attribute information indicates that the device control object has information change permission to the first internet of things device, setting device control permission of the device control object to the first internet of things device in the target internet of things system based on the information change permission and the service call permission, wherein the information change permission represents the device control object and changes permission to the device control information stored in the first internet of things device.
In an embodiment, the device control authority setting apparatus further includes:
the instruction receiving unit 501 may be configured to receive an equipment control instruction sent by the second internet of things device, where the equipment control instruction is used for the second internet of things device to perform equipment control on the first internet of things device;
and the operation execution unit can be used for executing the operation corresponding to the equipment control instruction.
In an embodiment, the instruction receiving unit 501 may include:
a first instruction receiving subunit operable to: and receiving a device control instruction sent by a second matching server matched with the second internet-of-things device, wherein the device control instruction is an instruction sent by the second internet-of-things device to the second cloud server.
In an embodiment, the instruction receiving unit 501 may include:
a second instruction receiving subunit operable to: receiving an equipment control instruction sent by a first cloud server matched with the first Internet of things equipment, wherein the equipment control instruction is an instruction sent to the first cloud server by the second Internet of things equipment through a second cloud server, and the second cloud server is a cloud server matched with the second Internet of things equipment.
In an embodiment, the instruction receiving unit 501 may include:
a third setup subunit, may be configured to: establishing a control connection relation with the second internet of things device, wherein the control connection relation is used for controlling the first internet of things device by the second internet of things device;
a third instruction receiving subunit operable to: and receiving a device control instruction sent by the second internet-connected device based on the control connection relation.
In an embodiment, the device control information includes an object identifier of a device control object and connection key information corresponding to the device control object, where the device control object is an object for controlling the first internet of things device through the second internet of things device; the third setup subunit may be configured to:
And establishing a control connection relation with the second internet equipment based on the object identification and the connection key information.
In an embodiment, the device control information further includes a target system identifier of a target internet of things system and a target device identifier allocated to the first internet of things device by the target internet of things system, where the target internet of things system is an internet of things system to which the second internet of things device belongs; the third building subunit may be specifically configured to:
acquiring a control connection request of a second internet of things device, wherein the control connection request comprises a second system identifier, and the second system identifier is a device identifier of an internet of things system to which the second internet of things device belongs; and if the second system identifier is matched with the target system identifier, establishing a control connection relation with the second internet-connected device based on the target device identifier, the object identifier and the connection key information.
In an embodiment, the third establishing subunit may be specifically configured to:
generating equipment connection response information of the control connection request, wherein the equipment connection response information comprises the target equipment identifier; and sending the equipment connection response information to the second internet-of-things equipment, and establishing a control connection relation with the second internet-of-things equipment based on the object identification and the connection key information.
In one embodiment, the device control instructions include information modification instructions; the operation performing unit may include:
an object determining subunit, configured to determine an equipment control object corresponding to the equipment control instruction;
and the operation execution subunit is used for executing the information changing operation corresponding to the information changing instruction if the equipment control object has the information changing authority to the first internet of things equipment.
In the implementation, each unit may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit may be referred to the foregoing method embodiment, which is not described herein again.
As can be seen from the foregoing, in the device control authority setting apparatus according to the present embodiment, the receiving unit 501 receives, from a receiving unit 501, a second internet of things device having established a connection relationship with a first internet of things device, and sends access information for a second cloud server, where the first internet of things device and the second internet of things device belong to different internet of things systems, and the second cloud server is a cloud server having a trust relationship with the second internet of things device; acquiring, by the acquiring unit 502, device authentication information of the second cloud server according to the access information; authenticating, by the cloud authentication unit 503, the second cloud server based on the device authentication information; and if the authentication is passed, the first setting unit 504 sets authority information of the second internet of things device to the first internet of things device.
According to the method and the device, the second internet of things device of a different internet of things system from the first internet of things device can set the device control authority of the first internet of things device, so that device control is realized in a scene of the cross-internet of things system. In addition, before the second internet of things device sets the device control authority of the first internet of things device, the authentication of the second internet of things device is achieved through interaction with the cloud server trusted by the second internet of things device, so that the security of device control is not enhanced, the cost requirement on the second internet of things device is reduced, for example, the second internet of things device does not need to use a security chip, or a certificate key and the like are prefabricated locally on the device, and therefore device control of a cross-internet of things system can be achieved efficiently and safely.
In addition, compared with the protocol interconnection or standardization based on cloud or end cloud, the method and the device solve the problems of low performance and stability caused by long data link, and improve the problems of low enthusiasm and difficulty in pushing of equipment manufacturers caused by the fact that the equipment of the Internet of things cannot be connected to the cloud of the equipment manufacturers. Therefore, the method and the device for supporting the Internet of things equipment are capable of being controlled by local center equipment such as third party applications, intelligent sound boxes, gateways, intelligent televisions and routers while the cloud of equipment manufacturers is not affected by the Internet of things equipment connection equipment, so that interconnection and intercommunication among the Internet of things equipment in the Internet of things system are improved.
In order to better implement the above method, correspondingly, the embodiment of the application also provides a device control authority setting device (namely a second setting device), wherein the second setting device can be integrated in the terminal. For example, the first setting means may be integrated in particular in the second internet appliance.
For example, as shown in fig. 10, the setting means of the device control authority may include an access transmitting unit 601, a receiving unit 602, and a second setting unit 603, as follows:
the access sending unit 601 may be configured to send, to a first internet of things device having established a connection relationship with a second internet of things device, access information for a second cloud server, where the access information is used to establish an access connection relationship between the first internet of things device and the second cloud server, the access connection relationship is used for the second cloud server to authenticate the first internet of things device, and the second cloud server is a cloud server having a trust relationship with the second internet of things device, and the second internet of things device and the first internet of things device belong to different internet of things systems;
the receiving unit 602 may be configured to receive authentication result information of the first internet of things device sent by the second cloud server;
The second setting unit 603 may be configured to set authority information for the first internet of things device if the authentication result information is that authentication passes.
In an embodiment, the second setting device may further include:
the fourth establishing subunit may be configured to establish a connection relationship between the second internet of things device and the first internet of things device before the access sending unit sends the access information for the second cloud server;
correspondingly, the access sending unit may be configured to send, to the first internet of things device, access information for the second cloud server based on the connection relationship.
In an embodiment, the fourth establishing subunit may be configured to:
generating connection inquiry information meeting a preset inquiry format; the connection inquiry information is sent to first Internet of things equipment, and inquiry response information sent by the first Internet of things equipment based on the connection inquiry information is received, wherein the inquiry response information comprises equipment information of the first Internet of things equipment; and establishing a connection relationship between the second internet of things device and the first internet of things device based on the device information.
In an embodiment, the fourth establishing subunit may be specifically configured to:
Acquiring connection verification information of the first Internet of things equipment based on the equipment information; and establishing a connection relation between the second internet of things device and the first internet of things device based on the connection verification information.
In an embodiment, the fourth establishing subunit may be specifically configured to:
and responding to the information input operation aiming at the second internet of things equipment, and acquiring the connection verification information of the first internet of things equipment.
In an embodiment, the fourth establishing subunit may be specifically configured to:
and obtaining connection verification information sent by a target client, wherein the target client is a client matched with the second Internet of things device, and the connection verification information is the connection verification information corresponding to the first Internet of things device.
In an embodiment, the second setting unit 603 may include:
the control sending subunit may be configured to send device control information to the first internet of things device, so as to set authority information about the first internet of things device through the device control information, where the device control information is used to instruct the first internet of things device to set control authority, and the control authority is the device control authority of the second internet of things device about the first internet of things device.
In an embodiment, before the sending device control information to the first internet of things device, the second setting unit 603 further includes:
the capability determining subunit may be configured to determine device capability information of the first internet of things device;
and the control generation subunit is used for generating device control information aiming at the first Internet of things device based on the device capability information.
In an embodiment, the capability determination subunit may be configured to:
generating a device capability request for the first internet of things device, and sending the device capability request to the first internet of things device; and receiving the equipment capability information returned by the first Internet of things equipment based on the equipment capability request.
In an embodiment, the control generation subunit may be configured to:
determining an equipment control object of the second internet of things equipment, wherein the equipment control object is an object for controlling the first internet of things equipment through the second internet of things equipment; and generating equipment control information of the equipment control object aiming at the first Internet of things equipment in a target Internet of things system based on the equipment capability information, wherein the target Internet of things system is an Internet of things system to which the second Internet of things equipment belongs.
In an embodiment, the control generation subunit may be specifically configured to:
determining a service provided by the first Internet of things device based on the device capability information; determining service access information of the equipment control object to the service; and generating equipment control information of the equipment control object aiming at the first Internet of things equipment in the target Internet of things system based on the service access information.
In an embodiment, the control generation subunit may be specifically configured to:
determining object attribute information of the equipment control object; and generating equipment control information of the equipment control object aiming at the first Internet of things equipment in the target Internet of things system based on the object attribute information.
In an embodiment, the device control authority setting apparatus further includes:
an instruction transmitting unit operable to: and sending a device control instruction to the first Internet of things device so as to control the device of the first Internet of things device through the device control instruction.
In an embodiment, the instruction sending unit may include:
the first instruction sending subunit may be configured to send an equipment control instruction to a second matching server, so that the equipment control instruction is sent to the first internet of things equipment through the second matching server, where the second matching server is a cloud server matched with the second internet of things equipment.
In an embodiment, the instruction sending unit may include:
the second instruction sending subunit may be configured to send an equipment control instruction to a second matching server, so that the equipment control instruction is sent to a first matching server through the second matching server, and the equipment control instruction is sent to the first internet of things equipment through the first matching server, where the second matching server is a cloud server matched with the second internet of things equipment, and the first matching server is a cloud server matched with the first internet of things equipment.
In an embodiment, the instruction sending unit may include:
a fifth establishing subunit, configured to establish a control connection relationship with the first internet of things device, where the control connection relationship is used for the second internet of things device to perform device control on the first internet of things device;
and the third instruction sending subunit may be configured to send an equipment control instruction to the first internet of things equipment based on the control connection relationship.
In an embodiment, the device control information includes an object identifier of a device control object and connection key information corresponding to the device control object, where the device control object is an object for controlling the first internet of things device through the second internet of things device; the fifth setup subunit may be configured to:
And establishing a connection relation with the first Internet of things equipment based on the object identification and the connection key information.
In an embodiment, the device control information further includes a target system identifier of a target internet of things system and a target device identifier allocated to the first internet of things device by the target internet of things system, where the target internet of things system is an internet of things system to which the second internet of things device belongs; the fifth building subunit may be specifically configured to:
generating a control connection request and sending the control connection request to the first internet of things device, wherein the control connection request comprises the target system identifier; receiving control connection response information sent by the first Internet of things device, wherein the control connection response information comprises a first device identifier corresponding to the first Internet of things device; and if the first equipment identifier is matched with the target equipment identifier, establishing a control connection relation with the first Internet of things equipment based on the object identifier and the connection key information.
In an embodiment, the third instruction sending subunit may be configured to:
Determining an equipment control object of the first Internet of things equipment; if the equipment control object has information change authority to the first Internet of things equipment, generating an equipment control instruction based on the information change authority; and sending the equipment control instruction to the first Internet of things equipment.
In the implementation, each unit may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit may be referred to the foregoing method embodiment, which is not described herein again.
As can be seen from the foregoing, in the device for setting device control permissions in this embodiment, the access sending unit 601 sends, to a first internet of things device having established a connection relationship with a second internet of things device, access information for a second cloud server, where the access information is used to establish an access connection relationship between the first internet of things device and the second cloud server, the access connection relationship is used for the second cloud server to authenticate the first internet of things device, and the second cloud server is a cloud server having a trust relationship with the second internet of things device, and the second internet of things device and the first internet of things device belong to different internet of things systems; receiving, by a receiving unit 602, authentication result information of the first internet of things device sent by the second cloud server; and if the authentication result information is that the authentication is passed, setting authority information of the first internet of things device by the second setting unit 603.
As can be seen from the above, the embodiment of the present application may enable the second internet of things device of a different internet of things system to which the first internet of things device belongs to set the device control authority for the first internet of things device, so as to implement device control in a scenario of a cross-internet of things system. In addition, before the second internet of things device sets the device control authority of the first internet of things device, the authentication of the second internet of things device is achieved through interaction with the cloud server trusted by the second internet of things device, so that the safety of device control is not enhanced, the cost requirement on the second internet of things device is reduced, for example, the second internet of things device does not need to use a safety chip, or a certificate key and the like are prefabricated locally on the device, and therefore device control of a cross-internet of things system can be achieved efficiently and safely.
In addition, compared with the protocol interconnection or standardization based on cloud or end cloud, the method and the device solve the problems that performance and stability are not high due to long data link, and the problem that equipment manufacturer enthusiasm is not high and pushing is difficult due to the fact that the equipment of the Internet of things cannot be connected to the cloud of the equipment manufacturer is solved. Therefore, the embodiment of the application can support the control of the Internet of things equipment by the local center equipment such as the third party application, the intelligent sound box, the gateway, the intelligent television and the router while the cloud of the Internet of things equipment connecting equipment manufacturer is not influenced, so that the interconnection and intercommunication among the Internet of things equipment under the Internet of things system are improved.
In order to better implement the above method, correspondingly, the embodiment of the application also provides a device control authority setting device (namely, a third setting device), wherein the second setting device can be integrated in a server. For example, the first setting device may be integrated in the second cloud server.
For example, as shown in fig. 11, the setting apparatus of the device control authority may include a setting unit 701, a device authentication unit 702, and a result transmission unit 703, as follows:
the establishing unit 701 may be configured to establish, in response to an access request sent by a first internet of things device based on access information, an access connection relationship between a second cloud server and the first internet of things device, where the second cloud server is a cloud server having a trust relationship with a second internet of things device, the access information is information sent by the second internet of things device to the first internet of things device, and the second internet of things device and the first internet of things device belong to different internet of things systems;
the device authentication unit 702 may be configured to authenticate the first internet of things device based on the access connection relationship;
the result sending unit 703 may be configured to send, if the authentication is passed, authentication result information of the first internet of things device to the second internet of things device, so as to trigger the second internet of things device to set authority information of the first internet of things device based on the authentication result information.
In an embodiment, the device authentication unit 702 may include:
the authentication obtaining subunit can be used for obtaining the device authentication information of the first internet of things device based on the access connection relation;
and the equipment authentication subunit can be used for authenticating the first Internet of things equipment according to the equipment authentication information.
In an embodiment, the device authentication subunit may be configured to:
determining authentication verification information required for authenticating the first Internet of things equipment; and carrying out information verification on the equipment authentication information through the authentication verification information so as to authenticate the first Internet of things equipment.
In the implementation, each unit may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit may be referred to the foregoing method embodiment, which is not described herein again.
As can be seen from the foregoing, in the device for setting device control permission in this embodiment, the establishing unit 701 establishes, in response to an access request sent by a first internet of things device based on access information, an access connection relationship between a second cloud server and the first internet of things device, where the second cloud server is a cloud server having a trust relationship with a second internet of things device, the access information is information sent by the second internet of things device to the first internet of things device, and the second internet of things device and the first internet of things device belong to different internet of things systems; authenticating, by the device authentication unit 702, the first internet of things device based on the access connection relationship; and if the authentication is passed, the result sending unit 703 sends the authentication result information of the first internet of things device to the second internet of things device, so as to trigger the second internet of things device to set authority information of the first internet of things device based on the authentication result information.
According to the method and the device, the second internet of things device of different internet of things systems to which the first internet of things device belongs can set the device control authority of the first internet of things device, so that device control is realized in a scene of a cross-internet of things system. In addition, before the second internet of things device sets the device control authority of the first internet of things device, the authentication of the second internet of things device is achieved through interaction with the cloud server trusted by the second internet of things device, so that the safety of device control is not enhanced, the cost requirement on the second internet of things device is reduced, for example, the second internet of things device does not need to use a safety chip, or a certificate key and the like are prefabricated locally on the device, and therefore device control of a cross-internet of things system can be achieved efficiently and safely.
In addition, the embodiment of the present application further provides a computer device, which may be a terminal or other device, as shown in fig. 12, which shows a schematic structural diagram of the computer device according to the embodiment of the present application, specifically:
the computer device may include a memory 701 having one or more computer-readable storage media, an input unit 702, a processor 703 having one or more processing cores, and a power supply 704. Those skilled in the art will appreciate that the computer device structure shown in FIG. 12 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components. Wherein:
The memory 701 may be used to store software programs and modules, and the processor 703 may execute various functional applications and data processing by executing the software programs and modules stored in the memory 701. The memory 701 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device (such as audio data, phonebooks, etc.), and the like. In addition, memory 701 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 701 may also include a memory controller to provide access to the memory 701 by the processor 703 and the input unit 702.
The input unit 702 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 702 may include a touch-sensitive surface, as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch-sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 703, and can receive and execute commands sent from the processor 703. In addition, touch sensitive surfaces may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface, the input unit 702 may also include other input devices. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The processor 703 is a control center of the computer device, and connects various parts of the entire handset using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 701, and calling data stored in the memory 701, thereby performing overall monitoring of the handset. Optionally, the processor 703 may include one or more processing cores; preferably, the processor 703 may integrate an application processor that primarily handles operating systems, user interfaces, computer programs, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 703.
The computer device also includes a power supply 704 (e.g., a battery) for powering the various components, which may be logically connected to the processor 703 via a power management system, such as a power management system that performs functions such as managing charge, discharge, and power consumption. The power supply 704 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the computer device may further include a camera, a bluetooth module, etc., which will not be described herein. In particular, in this embodiment, the processor 703 in the computer device loads executable files corresponding to the processes of one or more computer programs into the memory 701 according to the following instructions, and the processor 703 executes the computer programs stored in the memory 701, so as to implement various functions, as follows:
receiving second internet of things equipment with established connection relation with first internet of things equipment and sending access information aiming at a second cloud server, wherein the first internet of things equipment and the second internet of things equipment belong to different internet of things systems, and the second cloud server is a cloud server with trust relation with the second internet of things equipment; acquiring equipment authentication information of a second cloud server according to the access information; authenticating the second cloud server based on the equipment authentication information; and if the authentication is passed, setting authority information of the second internet of things equipment to the first internet of things equipment.
Or alternatively
Responding to an access request sent by first Internet of things equipment based on access information, and establishing an access connection relation between a second cloud server and the first Internet of things equipment, wherein the second cloud server is a cloud server with a trust relation with second Internet of things equipment, the access information is information sent by the second Internet of things equipment to the first Internet of things equipment, and the second Internet of things equipment and the first Internet of things equipment belong to different Internet of things systems; authenticating the first Internet of things device based on the access connection relationship; and if the authentication is passed, sending authentication result information of the first Internet of things device to the second Internet of things device so as to trigger the second Internet of things device to set authority information of the first Internet of things device based on the authentication result information.
Or alternatively
Sending access information for a second cloud server to a first Internet of things device which has established a connection relationship with a second Internet of things device, wherein the access information is used for establishing an access connection relationship between the first Internet of things device and the second cloud server, the access connection relationship is used for authenticating the first Internet of things device by the second cloud server, the second cloud server is a cloud server which has a trust relationship with the second Internet of things device, and the second Internet of things device and the first Internet of things device belong to different Internet of things systems; receiving authentication result information of first Internet of things equipment sent by a second cloud server; and if the authentication result information is that the authentication is passed, setting authority information of the first Internet of things equipment.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
As can be seen from the above, the computer device in this embodiment may enable the second internet of things device of a different internet of things system to which the first internet of things device belongs to set the device control authority for the first internet of things device, so as to implement device control in a scenario of a cross-internet of things system. In addition, before setting the device control authority of the second internet of things device to the first internet of things device, the computer device in the embodiment performs interaction with the cloud server trusted by the second internet of things device to realize authentication of the second internet of things device, which does not strengthen the security of device control, and reduces the cost requirement on the second internet of things device, for example, the second internet of things device does not need to use a security chip or locally prefabricate a certificate key and the like, so that the device control of the cross-internet of things system can be realized efficiently and safely.
In addition, compared with the protocol interconnection or standardization between cloud or end cloud, the computer equipment of the embodiment not only avoids the problem of low performance and stability caused by long data link, but also improves the problem of low enthusiasm and difficulty in pushing of equipment manufacturers caused by the fact that the equipment of the Internet of things cannot be connected to the cloud of the equipment manufacturers. Therefore, the computer equipment of the embodiment can support the control of the internet of things equipment by the local center equipment such as the third party application, the intelligent sound box, the gateway, the intelligent television and the router while the cloud of the equipment manufacturer is not influenced by the internet of things equipment connection, so that the interconnection and intercommunication among the internet of things equipment under the internet of things system are improved.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, the embodiments of the present application provide a storage medium in which a plurality of instructions are stored, which can be loaded by a processor to perform steps in any of the method for setting device control rights provided in the embodiments of the present application. For example, the instructions may perform the steps of:
Receiving second internet of things equipment with established connection relation with first internet of things equipment and sending access information aiming at a second cloud server, wherein the first internet of things equipment and the second internet of things equipment belong to different internet of things systems, and the second cloud server is a cloud server with trust relation with the second internet of things equipment; acquiring equipment authentication information of a second cloud server according to the access information; authenticating the second cloud server based on the equipment authentication information; and if the authentication is passed, setting authority information of the second internet of things equipment to the first internet of things equipment.
Or alternatively
Responding to an access request sent by first Internet of things equipment based on access information, and establishing an access connection relation between a second cloud server and the first Internet of things equipment, wherein the second cloud server is a cloud server with a trust relation with second Internet of things equipment, the access information is information sent by the second Internet of things equipment to the first Internet of things equipment, and the second Internet of things equipment and the first Internet of things equipment belong to different Internet of things systems; authenticating the first Internet of things device based on the access connection relationship; and if the authentication is passed, sending authentication result information of the first Internet of things device to the second Internet of things device so as to trigger the second Internet of things device to set authority information of the first Internet of things device based on the authentication result information.
Or alternatively
Sending access information for a second cloud server to a first Internet of things device which has established a connection relationship with a second Internet of things device, wherein the access information is used for establishing an access connection relationship between the first Internet of things device and the second cloud server, the access connection relationship is used for authenticating the first Internet of things device by the second cloud server, the second cloud server is a cloud server which has a trust relationship with the second Internet of things device, and the second Internet of things device and the first Internet of things device belong to different Internet of things systems; receiving authentication result information of first Internet of things equipment sent by a second cloud server; and if the authentication result information is that the authentication is passed, setting authority information of the first Internet of things equipment.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The instructions stored in the storage medium may perform steps in any method for setting the device control right provided in the embodiments of the present application, so that the beneficial effects that any method for setting the device control right provided in the embodiments of the present application can be achieved, which are detailed in the previous embodiments and are not described herein.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read from the computer-readable storage medium by a processor of a computer device, which executes the computer instructions, causing the computer device to perform the methods provided in the various alternative implementations of the setting of device control rights aspects described above.
The foregoing describes in detail a method, an apparatus, a computer device and a storage medium for setting control rights of a device provided in the embodiments of the present application, and specific examples are applied to illustrate principles and embodiments of the present application, where the foregoing description of the embodiments is only for helping to understand the method and core ideas of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (42)

1. The method for setting the equipment control authority is characterized by being applied to first Internet of things equipment and comprising the following steps:
Receiving second internet of things equipment with established connection relation with the first internet of things equipment, and sending access information aiming at a second cloud server, wherein the first internet of things equipment and the second internet of things equipment belong to different internet of things systems, and the second cloud server is a cloud server with trust relation with the second internet of things equipment;
establishing an access connection relation with the second cloud server according to the access information, so as to acquire equipment authentication information of the second cloud server based on the access connection relation, wherein the access information is used for the first Internet of things equipment to access the second cloud server;
authenticating the second cloud server based on the equipment authentication information;
and if the authentication is passed, setting authority information of the second internet of things equipment to the first internet of things equipment.
2. The method for setting device control authority according to claim 1, wherein the access information includes access address information and access parameter information;
establishing an access connection relation with the second cloud server according to the access information to obtain device authentication information of the second cloud server based on the access connection relation, including:
Establishing an access connection relationship with the second cloud server based on the access address information and the access parameter information;
and acquiring the equipment authentication information of the second cloud server based on the access connection relation.
3. The method for setting device control authority according to claim 2, wherein the establishing an access connection relationship with the second cloud server based on the access address information and the access parameter information includes:
generating an access request based on the access address information and the access parameter information;
and sending the access request to the second cloud server so as to establish an access connection relationship with the second cloud server.
4. The method for setting device control authority according to claim 1, wherein authenticating the second cloud server based on the device authentication information includes:
determining authentication verification information required for authenticating the second cloud server;
and carrying out information verification on the equipment authentication information through the authentication verification information so as to authenticate the second cloud server.
5. The method for setting device control authority according to claim 1, wherein before receiving the access information for the second cloud server sent by the second internet of things device having established the connection relationship with the first internet of things device, the method further comprises:
Establishing a connection relation with the second internet equipment;
correspondingly, the receiving the access information for the second cloud server, which is sent by the second internet of things device that has established the connection relationship with the first internet of things device, includes:
and receiving access information, sent by the second internet-of-things device, aiming at the second cloud server based on the connection relation.
6. The method for setting device control authority according to claim 5, wherein the establishing a connection relationship with the second internet-enabled device comprises:
receiving connection inquiry information sent by second internet-connected equipment;
and if the information format of the connection inquiry information meets a preset inquiry format, establishing a connection relation with the second internet-connected device.
7. The method for setting device control authority according to claim 6, wherein the establishing a connection relationship with the second internet-enabled device includes:
generating inquiry response information based on the connection inquiry information, wherein the inquiry response information comprises equipment information of the first Internet of things equipment;
and sending the inquiry response information to the second internet-of-things device so as to establish a connection relation with the second internet-of-things device based on the device information.
8. The method for setting device control rights according to claim 1, wherein setting rights information of the second internet of things device to the first internet of things device if the authentication is passed, includes:
if the authentication is passed, the equipment capability information of the first Internet of things equipment is sent to the second Internet of things equipment in response to the equipment capability request sent by the second Internet of things equipment, wherein the equipment capability information is used for indicating the second Internet of things equipment to generate equipment control information for the first Internet of things equipment;
and receiving equipment control information sent by the second internet of things equipment, and setting authority information of the second internet of things equipment to the first internet of things equipment based on the equipment control information.
9. The method for setting device control authority according to claim 8, wherein the sending, in response to the device capability request sent by the second internet of things device, the device capability information of the first internet of things device to the second internet of things device includes:
receiving a device capability request sent by the second internet-of-things device;
and responding to the equipment capability request, and sending equipment capability information of the first Internet of things equipment to the second Internet of things equipment.
10. The method for setting device control authority according to claim 8, wherein the device control information includes a system identifier of a target internet of things system and an object identifier of a device control object, wherein the target internet of things system is an internet of things system to which the second internet of things device belongs, and the device control object is an object for controlling the first internet of things device through the second internet of things device;
the setting, based on the device control information, authority information of the second internet of things device to the first internet of things device includes:
and setting the equipment control authority of the equipment control object in the target Internet of things system to the first Internet of things equipment based on the system identifier and the object identifier.
11. The method for setting device control authority according to claim 10, wherein the device control information further includes object attribute information of the device control object;
the setting the device control authority of the device control object in the target internet of things system to the first internet of things device based on the system identifier and the object identifier includes:
determining service calling rights of the device control object to the first internet of things device based on the object attribute information, wherein the service calling rights are calling rights of the device control object to services provided by the first internet of things device, and the services provided by the first internet of things device are determined based on device capability information of the first internet of things device;
And setting the equipment control authority of the equipment control object in the target internet of things system to the first internet of things equipment based on the service calling authority.
12. The method for setting device control rights according to claim 11, wherein the setting device control rights of the device control object to the first internet of things device in the target internet of things system based on the service invocation rights includes:
if the object attribute information indicates that the device control object has information change permission to the first internet of things device, setting device control permission of the device control object to the first internet of things device in the target internet of things system based on the information change permission and the service call permission, wherein the information change permission represents the device control object and changes permission to the device control information stored in the first internet of things device.
13. The method for setting device control authority according to claim 8, wherein the method further comprises:
receiving an equipment control instruction sent by the second internet of things equipment, wherein the equipment control instruction is used for controlling equipment of the first internet of things equipment by the second internet of things equipment;
And executing the operation corresponding to the equipment control instruction.
14. The method for setting device control rights according to claim 13, wherein receiving a device control instruction sent by the second internet-enabled device includes:
receiving an equipment control instruction sent by a second matching server matched with the second internet-of-things equipment, wherein the equipment control instruction is an instruction sent by the second internet-of-things equipment to the second matching server; or alternatively
Receiving an equipment control instruction sent by a first matching server matched with the first Internet of things equipment, wherein the equipment control instruction is an instruction sent to the first matching server by the second Internet of things equipment through a second matching server, and the second matching server is a cloud server matched with the second Internet of things equipment; or alternatively
Establishing a control connection relation with the second internet of things device, wherein the control connection relation is used for controlling the first internet of things device by the second internet of things device;
and receiving a device control instruction sent by the second internet-connected device based on the control connection relation.
15. The method for setting device control authority according to claim 14, wherein the device control information includes an object identifier of a device control object and connection key information corresponding to the device control object, where the device control object is an object for controlling the first internet of things device through the second internet of things device;
the establishing a control connection relationship with the second internet-connected device includes:
and establishing a control connection relation with the second internet equipment based on the object identification and the connection key information.
16. The method for setting device control permission according to claim 15, wherein the device control information further includes a target system identifier of a target internet of things system and a target device identifier allocated to the first internet of things device by the target internet of things system, where the target internet of things system is an internet of things system to which the second internet of things device belongs;
the establishing a control connection relationship with the second internet-connected device based on the object identifier and the connection key information includes:
acquiring a control connection request of the second internet of things device, wherein the control connection request comprises a second system identifier, and the second system identifier is a device identifier of an internet of things system to which the second internet of things device belongs;
And if the second system identifier is matched with the target system identifier, establishing a control connection relation with the second internet-connected device based on the target device identifier, the object identifier and the connection key information.
17. The method for setting device control authority according to claim 16, wherein the establishing a control connection relationship with the second internet-connected device based on the target device identification, the object identification, and the connection key information comprises:
generating equipment connection response information of the control connection request, wherein the equipment connection response information comprises the target equipment identifier;
and sending the equipment connection response information to the second internet-of-things equipment, and establishing a control connection relation with the second internet-of-things equipment based on the object identification and the connection key information.
18. The method for setting device control authority according to claim 13, wherein the device control instruction includes an information change instruction;
the performing an operation corresponding to the device control instruction includes:
determining an equipment control object corresponding to the equipment control instruction;
And if the equipment control object has the information change authority to the first Internet of things equipment, executing the information change operation corresponding to the information change instruction.
19. A method for setting device control rights, wherein the method is applied to a second cloud server, and the method comprises:
responding to an access request sent by first Internet of things equipment based on access information, and establishing an access connection relation between a second cloud server and the first Internet of things equipment, wherein the second cloud server is a cloud server with a trust relation with second Internet of things equipment, the access information is information sent by the second Internet of things equipment to the first Internet of things equipment, and the second Internet of things equipment and the first Internet of things equipment belong to different Internet of things systems;
authenticating the first Internet of things device based on the access connection relationship;
and if the authentication is passed, sending the authentication result information of the first Internet of things device to the second Internet of things device so as to trigger the second Internet of things device to set the authority information of the first Internet of things device based on the authentication result information.
20. The method for setting device control authority according to claim 19, wherein authenticating the first internet of things device based on the access connection relationship comprises:
acquiring device authentication information of the first Internet of things device based on the access connection relationship;
and authenticating the first Internet of things device according to the device authentication information.
21. The method for setting device control authority according to claim 20, wherein authenticating the first internet of things device according to the device authentication information includes:
determining authentication verification information required for authenticating the first Internet of things equipment;
and carrying out information verification on the equipment authentication information through the authentication verification information so as to authenticate the first Internet of things equipment.
22. A method for setting device control authority, wherein the method is applied to a second internet-enabled device, the method comprising:
sending access information for a second cloud server to a first internet of things device which has established a connection relationship with the second internet of things device, wherein the access information is used for establishing an access connection relationship between the first internet of things device and the second cloud server, the access connection relationship is used for enabling the second cloud server to authenticate the first internet of things device, the second cloud server is a cloud server with a trust relationship with the second internet of things device, and the second internet of things device and the first internet of things device belong to different internet of things systems;
Receiving authentication result information of the first Internet of things device, which is sent by the second cloud server;
and if the authentication result information is that the authentication is passed, setting authority information of the first Internet of things equipment.
23. The method for setting device control authority according to claim 22, wherein before sending the access information for the second cloud server to the first internet of things device having established a connection relationship with the second internet of things device, the method further comprises:
establishing a connection relation with the first Internet of things equipment;
correspondingly, the sending the access information for the second cloud server to the first internet of things device having established a connection relationship with the second internet of things device includes:
and based on the connection relation, sending access information aiming at a second cloud server to the first Internet of things equipment.
24. The method for setting device control authority according to claim 23, wherein the establishing a connection relationship with the first internet of things device includes:
generating connection inquiry information meeting a preset inquiry format;
transmitting the connection inquiry information to the first Internet of things equipment, and receiving inquiry response information transmitted by the first Internet of things equipment based on the connection inquiry information, wherein the inquiry response information comprises equipment information of the first Internet of things equipment;
And establishing a connection relation with the first Internet of things equipment based on the equipment information.
25. The method for setting device control authority according to claim 24, wherein the establishing a connection relationship with the first internet of things device based on the device information includes:
acquiring connection verification information of the first Internet of things equipment based on the equipment information;
and establishing a connection relation with the first Internet of things equipment based on the connection verification information.
26. The method for setting device control rights according to claim 25, wherein the obtaining connection verification information of the first internet of things device includes:
responding to information input operation aiming at second internet of things equipment, and acquiring connection verification information of the first internet of things equipment; or alternatively
And obtaining connection verification information sent by a target client, wherein the target client is a client matched with the second Internet of things device, and the connection verification information is the connection verification information corresponding to the first Internet of things device.
27. The method for setting device control rights according to claim 22, wherein the setting rights information for the first internet of things device includes:
And sending device control information to the first Internet of things device so as to set authority information of the first Internet of things device through the device control information, wherein the device control information is used for indicating the first Internet of things device to set control authority, and the control authority is the device control authority of the second Internet of things device to the first Internet of things device.
28. The method for setting device control rights according to claim 27, wherein prior to said sending device control information to the first internet of things device, the method further comprises:
determining equipment capability information of the first Internet of things equipment;
and generating device control information for the first Internet of things device based on the device capability information.
29. The method for setting device control authority according to claim 28, wherein the determining device capability information of the first internet of things device includes:
generating a device capability request for the first internet of things device, and sending the device capability request to the first internet of things device;
and receiving the equipment capability information returned by the first Internet of things equipment based on the equipment capability request.
30. The method for setting device control rights according to claim 28, wherein generating device control information for the first internet of things device based on the device capability information comprises:
determining an equipment control object of the second internet of things equipment, wherein the equipment control object is an object for controlling the first internet of things equipment through the second internet of things equipment;
and generating equipment control information of the equipment control object aiming at the first Internet of things equipment in a target Internet of things system based on the equipment capability information, wherein the target Internet of things system is an Internet of things system to which the second Internet of things equipment belongs.
31. The method for setting device control rights according to claim 30, wherein generating device control information of the device control object for the first internet of things device in a target internet of things system based on the device capability information includes:
determining a service provided by the first Internet of things device based on the device capability information;
determining service access information of the equipment control object to the service;
and generating equipment control information of the equipment control object aiming at the first Internet of things equipment in the target Internet of things system based on the service access information.
32. The method for setting device control rights according to claim 31, wherein generating device control information of the device control object for the first internet of things device in the target internet of things system includes:
determining object attribute information of the equipment control object;
and generating equipment control information of the equipment control object aiming at the first Internet of things equipment in the target Internet of things system based on the object attribute information.
33. The method for setting device control authority according to claim 27, wherein the method further comprises:
and sending a device control instruction to the first Internet of things device so as to control the device of the first Internet of things device through the device control instruction.
34. The method for setting device control permissions according to claim 33, wherein the sending a device control instruction to the first internet of things device includes:
transmitting an equipment control instruction to a second matching server to transmit the equipment control instruction to the first internet of things equipment through the second matching server, wherein the second matching server is a cloud server matched with the second internet of things equipment; or alternatively, the process may be performed,
Transmitting an equipment control instruction to a second matching server, so as to transmit the equipment control instruction to a first matching server through the second matching server, and transmit the equipment control instruction to the first internet of things equipment through the first matching server, wherein the second matching server is a cloud server matched with the second internet of things equipment, and the first matching server is a cloud server matched with the first internet of things equipment; or alternatively, the process may be performed,
establishing a control connection relation with the first Internet of things equipment, wherein the control connection relation is used for controlling equipment of the first Internet of things equipment by the second Internet of things equipment;
and based on the control connection relation, sending a device control instruction to the first Internet of things device.
35. The method for setting device control authority according to claim 34, wherein the device control information includes an object identifier of a device control object and connection key information corresponding to the device control object, where the device control object is an object for controlling the first internet of things device through the second internet of things device;
The establishing a control connection relationship with the first internet of things device includes:
and establishing a connection relation with the first Internet of things equipment based on the object identification and the connection key information.
36. The method for setting device control permission according to claim 35, wherein the device control information further includes a target system identifier of a target internet of things system and a target device identifier allocated to the first internet of things device by the target internet of things system, where the target internet of things system is an internet of things system to which the second internet of things device belongs;
the establishing a connection relationship with the first internet of things device based on the object identifier and the connection key information includes:
generating a control connection request and sending the control connection request to the first internet of things device, wherein the control connection request comprises the target system identifier;
receiving control connection response information sent by the first Internet of things device, wherein the control connection response information comprises a first device identifier corresponding to the first Internet of things device;
and if the first equipment identifier is matched with the target equipment identifier, establishing a control connection relation with the first Internet of things equipment based on the object identifier and the connection key information.
37. The method for setting device control permissions according to claim 34, wherein the sending a device control instruction to the first internet of things device includes:
determining an equipment control object of the first Internet of things equipment;
if the equipment control object has information change authority to the first Internet of things equipment, generating an equipment control instruction based on the information change authority;
and sending the equipment control instruction to the first Internet of things equipment.
38. A device for setting control authority of a device, comprising:
the device comprises a receiving unit, a first cloud server and a second cloud server, wherein the receiving unit is used for receiving second internet of things equipment which has established a connection relation with first internet of things equipment and sending access information aiming at the second cloud server, the first internet of things equipment and the second internet of things equipment belong to different internet of things systems, and the second cloud server is a cloud server with a trust relation with the second internet of things equipment;
the acquisition unit is used for establishing an access connection relation with the second cloud server according to the access information so as to acquire equipment authentication information of the second cloud server based on the access connection relation, wherein the access information is used for the first Internet of things equipment to access the second cloud server;
The cloud authentication unit is used for authenticating the second cloud server based on the equipment authentication information;
and the first setting unit is used for setting the authority information of the second internet of things device to the first internet of things device if the authentication is passed.
39. A device for setting control authority of a device, comprising:
the system comprises an establishing unit, a first internet of things device, a second internet of things device and a first internet of things device, wherein the establishing unit is used for responding to an access request sent by the first internet of things device based on access information, and establishing an access connection relation between a second cloud server and the first internet of things device, wherein the second cloud server is a cloud server with a trust relation with a second internet of things device, the access information is information sent by the second internet of things device to the first internet of things device, and the second internet of things device and the first internet of things device belong to different internet of things systems;
the device authentication unit is used for authenticating the first Internet of things device based on the access connection relation;
and the result sending unit is used for sending the authentication result information of the first Internet of things device to the second Internet of things device if the authentication is passed, so as to trigger the second Internet of things device to set the authority information of the first Internet of things device based on the authentication result information.
40. A device for setting control authority of a device, comprising:
an access sending unit, configured to send access information for a second cloud server to a first internet of things device that has established a connection relationship with a second internet of things device, where the access information is used to establish an access connection relationship between the first internet of things device and the second cloud server, the access connection relationship is used for the second cloud server to authenticate the first internet of things device, the second cloud server is a cloud server that has a trust relationship with the second internet of things device, and the second internet of things device and the first internet of things device belong to different internet of things systems;
the receiving unit is used for receiving authentication result information of the first Internet of things device, which is sent by the second cloud server;
and the second setting unit is used for setting authority information of the first Internet of things equipment if the authentication result information is that the authentication is passed.
41. A computer device comprising a memory and a processor; the memory stores a computer program, and the processor is configured to execute the computer program in the memory to perform the method of setting the device control right as claimed in any one of claims 1 to 18, or to perform the method of setting the device control right as claimed in claims 19 to 21, or to perform the method of setting the device control right as claimed in claims 22 to 37.
42. A storage medium storing a computer program adapted to be loaded by a processor to perform the method of setting device control rights according to any one of claims 1 to 18, or to perform the method of setting device control rights according to claims 19 to 21, or to perform the method of setting device control rights according to claims 22 to 37.
CN202110846385.3A 2021-07-26 2021-07-26 Method and device for setting device control authority, computer device and storage medium Active CN113596141B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110846385.3A CN113596141B (en) 2021-07-26 2021-07-26 Method and device for setting device control authority, computer device and storage medium
PCT/CN2022/100750 WO2023005525A1 (en) 2021-07-26 2022-06-23 Configuration method for device control privilege, apparatus, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110846385.3A CN113596141B (en) 2021-07-26 2021-07-26 Method and device for setting device control authority, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN113596141A CN113596141A (en) 2021-11-02
CN113596141B true CN113596141B (en) 2023-07-25

Family

ID=78250187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110846385.3A Active CN113596141B (en) 2021-07-26 2021-07-26 Method and device for setting device control authority, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN113596141B (en)
WO (1) WO2023005525A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596141B (en) * 2021-07-26 2023-07-25 深圳Tcl新技术有限公司 Method and device for setting device control authority, computer device and storage medium
CN114172687A (en) * 2021-11-03 2022-03-11 杭州涂鸦信息技术有限公司 Cloud connection method, method for auxiliary equipment to be connected with cloud and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103477666A (en) * 2011-03-31 2013-12-25 英特尔公司 Connecting mobile devices, Internet-connected vehicles, and cloud services
KR20190051326A (en) * 2017-11-06 2019-05-15 주식회사 케이티 Internet Of Things Device Control System and Method Based On Block Chain
CN112198805A (en) * 2019-07-08 2021-01-08 阿里巴巴集团控股有限公司 Equipment control method, device, system, computing equipment and storage medium
CN112636977A (en) * 2020-12-23 2021-04-09 四川虹微技术有限公司 Internet of things equipment management method, registration method, device and system and electronic equipment
CN113032814A (en) * 2021-04-28 2021-06-25 华南理工大学 Internet of things data management method and system
CN113099443A (en) * 2019-12-23 2021-07-09 阿里巴巴集团控股有限公司 Equipment authentication method, device, equipment and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660702A (en) * 2015-03-04 2015-05-27 深圳市新联锋科技有限公司 Butt-joint method and system of third-party cloud server and private Internet of things cloud server
KR101610584B1 (en) * 2015-03-27 2016-04-08 최기현 Network system and method for connecting same
US20160379220A1 (en) * 2015-06-23 2016-12-29 NXT-ID, Inc. Multi-Instance Shared Authentication (MISA) Method and System Prior to Data Access
CN113950803B (en) * 2019-10-18 2023-12-29 Oppo广东移动通信有限公司 Device authority control method, device and storage medium
CN110944035A (en) * 2019-10-22 2020-03-31 珠海格力电器股份有限公司 Internet of things equipment control method and system and readable medium
CN112787979A (en) * 2019-11-07 2021-05-11 北京地平线机器人技术研发有限公司 Internet of things equipment access control method and internet of things equipment access control device
CN110971614A (en) * 2019-12-17 2020-04-07 软通动力信息技术(集团)有限公司 Internet of things adaptation method and system, computer equipment and storage medium
CN113438314B (en) * 2021-06-29 2023-10-24 青岛海尔科技有限公司 Equipment control method and device, storage medium and electronic device
CN113596141B (en) * 2021-07-26 2023-07-25 深圳Tcl新技术有限公司 Method and device for setting device control authority, computer device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103477666A (en) * 2011-03-31 2013-12-25 英特尔公司 Connecting mobile devices, Internet-connected vehicles, and cloud services
KR20190051326A (en) * 2017-11-06 2019-05-15 주식회사 케이티 Internet Of Things Device Control System and Method Based On Block Chain
CN112198805A (en) * 2019-07-08 2021-01-08 阿里巴巴集团控股有限公司 Equipment control method, device, system, computing equipment and storage medium
CN113099443A (en) * 2019-12-23 2021-07-09 阿里巴巴集团控股有限公司 Equipment authentication method, device, equipment and system
CN112636977A (en) * 2020-12-23 2021-04-09 四川虹微技术有限公司 Internet of things equipment management method, registration method, device and system and electronic equipment
CN113032814A (en) * 2021-04-28 2021-06-25 华南理工大学 Internet of things data management method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A Blockchain-Based Authentication and Service Provision Scheme for Intemet of Things;Meijuan Chen等;《 2020 IEEE Globecom Workshops》;全文 *
网关模式的跨域身份认证系统方案;高书强;李占波;唐瑾;;微计算机信息(06);全文 *
船用物联网中的无线网络认证协议;王军;;舰船科学技术(14);全文 *

Also Published As

Publication number Publication date
WO2023005525A1 (en) 2023-02-02
CN113596141A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN109150568B (en) Network management method, device, system, equipment and storage medium
CN106878923B (en) Quick networking method for ultra-low power consumption intelligent equipment and intelligent home system
CN112738805B (en) Device control method and apparatus, storage medium, and electronic device
EP3073699B1 (en) System and method for controlling mutual access of smart devices
CN113746633B (en) Internet of things equipment binding method, device, system, cloud server and storage medium
KR100695242B1 (en) The method for connecting devices in dynamic family networking
CN113596141B (en) Method and device for setting device control authority, computer device and storage medium
WO2016057548A1 (en) Time variant data profile for a fabric network
US20240134958A1 (en) Device control permission setting method and apparatus, and computer device and storage medium
US20220014374A1 (en) U2f physical token-based centralized authentication system for iot devices
JP2006222946A (en) Single use authorization method and system in network
CN116074792A (en) Automatic service registration in a machine-to-machine communication network
CN111194035B (en) Network connection method, device and storage medium
CN104853352B (en) Access authentication method and device
Hjorth et al. Trusted Domain: A security platform for home automation
CN113596013B (en) Method and device for setting device control authority, computer device and storage medium
CN104994158B (en) Method for safely controlling household appliances through centralized gateway
CN103425101A (en) Intelligent control system and method for internet of things
US20240214379A1 (en) Device control permission setting method and apparatus, and computer device and storage medium
CN113395345B (en) Network distribution method and device of Internet of things equipment and storage medium
KR100550774B1 (en) Reservation information processing apparatus for mobile home network system
CN203338122U (en) Intelligent internet of things control system
CN113890775B (en) Equipment network distribution method and device, computer equipment and storage medium
WO2023202461A1 (en) Method for controlling cross-domain device, and control terminal, server and system
US20240179142A1 (en) Method and apparatus for account association, and computer device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant