Movatterモバイル変換


[0]ホーム

URL:


CN118764505A - Registration method, device, electronic device and storage medium for Internet of Things devices - Google Patents

Registration method, device, electronic device and storage medium for Internet of Things devices
Download PDF

Info

Publication number
CN118764505A
CN118764505ACN202410827547.2ACN202410827547ACN118764505ACN 118764505 ACN118764505 ACN 118764505ACN 202410827547 ACN202410827547 ACN 202410827547ACN 118764505 ACN118764505 ACN 118764505A
Authority
CN
China
Prior art keywords
internet
self
things
discovery
iot
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.)
Pending
Application number
CN202410827547.2A
Other languages
Chinese (zh)
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.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech 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 China Construction Bank Corp, CCB Finetech Co LtdfiledCriticalChina Construction Bank Corp
Priority to CN202410827547.2ApriorityCriticalpatent/CN118764505A/en
Publication of CN118764505ApublicationCriticalpatent/CN118764505A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本公开提出一种物联网设备的注册方法、装置、电子设备及存储介质,涉及物联网技术领域。其中,物联网设备的注册方法包括:物联网平台确定与第一应用方关联的自发现规则,并获取第一物联网设备的自发现数据,其中,第一物联网设备是第一应用方请求注册的物联网设备,响应于自发现规则和自发现数据相匹配,获取第一物联网设备的设备注册信息,以及将设备注册信息发送至第一物联网设备,以对第一物联网设备进行注册。解决现有技术中物联网设备注册的安全性不高的技术问题。

The present disclosure proposes a registration method, device, electronic device and storage medium for an Internet of Things device, and relates to the field of Internet of Things technology. The registration method for an Internet of Things device includes: an Internet of Things platform determines a self-discovery rule associated with a first application party, and obtains self-discovery data of a first Internet of Things device, wherein the first Internet of Things device is an Internet of Things device requested to be registered by the first application party, in response to the matching of the self-discovery rule and the self-discovery data, obtains device registration information of the first Internet of Things device, and sends the device registration information to the first Internet of Things device to register the first Internet of Things device. The technical problem of low security of Internet of Things device registration in the prior art is solved.

Description

Translated fromChinese
物联网设备的注册方法、装置、电子设备及存储介质Registration method, device, electronic device and storage medium for Internet of Things devices

技术领域Technical Field

本公开涉及物联网技术领域,尤其涉及一种物联网设备的注册方法、装置、电子设备及存储介质。The present disclosure relates to the technical field of Internet of Things, and in particular to a registration method, device, electronic device and storage medium for an Internet of Things device.

背景技术Background Art

云计算是互联网发展的一个重大转变,云平台的出现则是这个转变中的一个重要环节。云平台稳定性好、安全可靠、易扩展,其使用已成为一种趋势,越来越多的业务开始迁移到云上。对物联网设备进行管理的平台(物联网平台)即为其中之一。物联网云平台可以提供设备管理、状态监控、远程控制、版本发布、数据统计、规则配置等功能,而所有这些物联网设备的注册的第一步则是要实现物联网设备在物联网云平台中进行注册。Cloud computing is a major transformation in the development of the Internet, and the emergence of cloud platforms is an important part of this transformation. Cloud platforms are stable, secure, reliable, and easy to expand. Their use has become a trend, and more and more businesses are migrating to the cloud. The platform for managing IoT devices (IoT platform) is one of them. The IoT cloud platform can provide functions such as device management, status monitoring, remote control, version release, data statistics, and rule configuration. The first step to register all these IoT devices is to register the IoT devices in the IoT cloud platform.

相关技术中,物联网设备注册的安全性不高。In the related technology, the security of IoT device registration is not high.

发明内容Summary of the invention

本公开旨在至少在一定程度上解决相关技术中的技术问题之一。The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

为此,本公开的第一个目的在于提出一种物联网设备的注册方法,以实现提高物联网设备注册的安全性。To this end, the first purpose of the present disclosure is to propose a registration method for an IoT device to improve the security of IoT device registration.

本公开的第二个目的在于提出一种物联网设备的注册装置。The second objective of the present disclosure is to provide a registration device for an Internet of Things device.

本公开的第三个目的在于提出一种电子设备。A third objective of the present disclosure is to provide an electronic device.

本公开的第四个目的在于提出一种计算机可读存储介质。A fourth objective of the present disclosure is to provide a computer-readable storage medium.

本公开的第五个目的在于提出一种计算机程序产品。A fifth object of the present disclosure is to provide a computer program product.

为达上述目的,本公开第一方面实施例提出了一种物联网设备的注册方法,由物联网平台执行;包括:确定与第一应用方关联的自发现规则;获取第一物联网设备的自发现数据,其中,第一物联网设备是第一应用方请求注册的物联网设备;响应于自发现规则和自发现数据相匹配,获取第一物联网设备的设备注册信息;以及将设备注册信息发送至第一物联网设备,以对第一物联网设备进行注册。To achieve the above-mentioned purpose, the first aspect of the present disclosure proposes a registration method for an Internet of Things device, which is executed by an Internet of Things platform; including: determining a self-discovery rule associated with a first application party; obtaining self-discovery data of the first Internet of Things device, wherein the first Internet of Things device is an Internet of Things device requested to be registered by the first application party; in response to the self-discovery rule and the self-discovery data matching, obtaining device registration information of the first Internet of Things device; and sending the device registration information to the first Internet of Things device to register the first Internet of Things device.

为达上述目的,本公开第二方面实施例提出了一种物联网设备的注册方法,由第一物联网设备执行,其中,第一物联网设备是第一应用方请求注册的物联网设备;包括:采集第一物联网设备的自发现数据;接收物联网平台发送的设备注册信息,其中,自发现数据和与第一应用方关联的自发现规则相匹配;根据设备注册信息在物联网平台中进行注册。To achieve the above-mentioned purpose, the second aspect embodiment of the present disclosure proposes a registration method for an Internet of Things device, which is executed by a first Internet of Things device, wherein the first Internet of Things device is an Internet of Things device requested to be registered by a first application party; comprising: collecting self-discovery data of the first Internet of Things device; receiving device registration information sent by an Internet of Things platform, wherein the self-discovery data matches the self-discovery rules associated with the first application party; and registering in the Internet of Things platform according to the device registration information.

为达上述目的,本公开第三方面实施例提出了一种物联网设备的注册方法,由第一应用方执行,其中,第一物联网设备是第一应用方请求注册的物联网设备;包括:生成设备注册请求,其中,设备注册请求用于请求在物联网平台中注册第一物联网设备,以及用于确定与第一应用方关联的自发现规则,自发现规则和第一物联网设备的自发现数据用于确定第一物联网设备的设备注册信息,设备注册信息用于在物联网平台中注册第一物联网设备。To achieve the above-mentioned purpose, the third aspect embodiment of the present disclosure proposes a registration method for an Internet of Things device, which is executed by a first application party, wherein the first Internet of Things device is an Internet of Things device requested to be registered by the first application party; comprising: generating a device registration request, wherein the device registration request is used to request registration of the first Internet of Things device in an Internet of Things platform, and is used to determine a self-discovery rule associated with the first application party, the self-discovery rule and the self-discovery data of the first Internet of Things device are used to determine the device registration information of the first Internet of Things device, and the device registration information is used to register the first Internet of Things device in the Internet of Things platform.

为达上述目的,本公开第四方面实施例提出了一种物联网设备的注册装置,包括:确定模块,用于确定与第一应用方关联的自发现规则;第一获取模块,用于获取第一物联网设备的自发现数据,其中,第一物联网设备是第一应用方请求注册的物联网设备;第二获取模块,用于响应于自发现规则和自发现数据相匹配,获取第一物联网设备的设备注册信息;以及发送模块,用于将设备注册信息发送至第一物联网设备,以对第一物联网设备进行注册。To achieve the above-mentioned purpose, the fourth aspect embodiment of the present disclosure proposes a registration device for an Internet of Things device, including: a determination module, used to determine a self-discovery rule associated with a first application party; a first acquisition module, used to obtain self-discovery data of the first Internet of Things device, wherein the first Internet of Things device is an Internet of Things device requested to be registered by the first application party; a second acquisition module, used to obtain device registration information of the first Internet of Things device in response to a match between the self-discovery rule and the self-discovery data; and a sending module, used to send the device registration information to the first Internet of Things device to register the first Internet of Things device.

为达上述目的,本公开第五方面实施例提出了一种物联网设备的注册装置,包括:采集模块,用于采集第一物联网设备的自发现数据,其中,第一物联网设备是第一应用方请求注册的物联网设备;接收模块,用于接收物联网平台发送的设备注册信息,其中,自发现数据和与第一应用方关联的自发现规则相匹配;注册模块,用于根据设备注册信息在物联网平台中进行注册。To achieve the above-mentioned purpose, the fifth aspect embodiment of the present disclosure proposes a registration device for an Internet of Things device, including: a collection module, used to collect self-discovery data of a first Internet of Things device, wherein the first Internet of Things device is an Internet of Things device requested to be registered by a first application party; a receiving module, used to receive device registration information sent by an Internet of Things platform, wherein the self-discovery data matches the self-discovery rules associated with the first application party; and a registration module, used to register in the Internet of Things platform according to the device registration information.

为达上述目的,本公开第六方面实施例提出了一种物联网设备的注册装置,包括:生成模块,用于生成设备注册请求,其中,设备注册请求用于请求在物联网平台中注册第一物联网设备,以及用于确定与第一应用方关联的自发现规则,自发现规则和第一物联网设备的自发现数据用于确定第一物联网设备的设备注册信息,设备注册信息用于在物联网平台中注册第一物联网设备。To achieve the above-mentioned purpose, the sixth aspect embodiment of the present disclosure proposes a registration device for an Internet of Things device, including: a generation module, used to generate a device registration request, wherein the device registration request is used to request to register a first Internet of Things device in an Internet of Things platform, and to determine a self-discovery rule associated with a first application party, the self-discovery rule and the self-discovery data of the first Internet of Things device are used to determine the device registration information of the first Internet of Things device, and the device registration information is used to register the first Internet of Things device in the Internet of Things platform.

为达上述目的,本公开第七方面实施例提出了一种电子设备,包括:处理器,以及与处理器通信连接的存储器;存储器存储计算机执行指令;处理器执行存储器存储的计算机执行指令,以实现本公开上述方面实施例提出的物联网设备的注册方法。To achieve the above-mentioned purpose, the seventh aspect embodiment of the present disclosure proposes an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory to implement the registration method of the Internet of Things device proposed in the above-mentioned aspect embodiment of the present disclosure.

为达上述目的,本公开第八方面实施例提出了一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现本公开上述方面实施例提出的物联网设备的注册方法。To achieve the above-mentioned purpose, the eighth aspect embodiment of the present disclosure proposes a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by the processor, they are used to implement the registration method of the Internet of Things device proposed in the above-mentioned aspect embodiment of the present disclosure.

为达上述目的,本公开第九方面实施例提出了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现本公开上述方面实施例提出的物联网设备的注册方法。To achieve the above-mentioned purpose, the ninth aspect of the present disclosure proposes a computer program product, including a computer program, which, when executed by a processor, implements the registration method for an Internet of Things device proposed in the above-mentioned embodiment of the present disclosure.

本公开提供的物联网设备的注册方法、装置、电子设备、存储有计算机指令的非瞬时计算机可读存储介质,以及计算机程序产品,物联网平台确定与第一应用方关联的自发现规则,并获取第一物联网设备的自发现数据,其中,第一物联网设备是第一应用方请求注册的物联网设备,响应于自发现规则和自发现数据相匹配,获取第一物联网设备的设备注册信息,以及将设备注册信息发送至第一物联网设备,以对第一物联网设备进行注册。提高物联网设备注册的安全性。The present disclosure provides a registration method, apparatus, electronic device, non-transitory computer-readable storage medium storing computer instructions, and computer program product for an IoT device. The IoT platform determines a self-discovery rule associated with a first application party, and obtains self-discovery data of the first IoT device, wherein the first IoT device is an IoT device requested to be registered by the first application party. In response to the self-discovery rule and the self-discovery data matching, the device registration information of the first IoT device is obtained, and the device registration information is sent to the first IoT device to register the first IoT device. The security of IoT device registration is improved.

本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

本公开上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

图1为本公开实施例所提供的一种物联网设备的注册方法的流程示意图;FIG1 is a schematic diagram of a flow chart of a registration method for an Internet of Things device provided by an embodiment of the present disclosure;

图2为本公开实施例所提供的另一种物联网设备的注册方法的流程示意图;FIG2 is a schematic diagram of a flow chart of another method for registering an IoT device provided by an embodiment of the present disclosure;

图3为本公开实施例所提供的另一种物联网设备的注册方法的流程示意图;FIG3 is a flow chart of another method for registering an IoT device provided by an embodiment of the present disclosure;

图4为本公开实施例所提供的又一种物联网设备的注册方法的流程示意图;FIG4 is a schematic diagram of a flow chart of another method for registering an IoT device provided by an embodiment of the present disclosure;

图5是本公开实施例中的一种应用示意图;FIG5 is a schematic diagram of an application in an embodiment of the present disclosure;

图6是本公开实施例中的另一种应用示意图;FIG6 is another application schematic diagram of an embodiment of the present disclosure;

图7是本公开实施例中的另一种应用示意图;FIG7 is another application schematic diagram of an embodiment of the present disclosure;

图8是本公开实施例中又一种应用示意图;FIG8 is a schematic diagram of another application in an embodiment of the present disclosure;

图9是本公开实施例中再一种应用示意图;FIG9 is a schematic diagram of another application in an embodiment of the present disclosure;

图10为本公开实施例所提供的一种物联网设备的注册装置的结构示意图;FIG10 is a schematic diagram of the structure of a registration device for an Internet of Things device provided by an embodiment of the present disclosure;

图11为本公开实施例所提供的另一种物联网设备的注册装置的结构示意图;FIG11 is a schematic diagram of the structure of another registration device for an Internet of Things device provided in an embodiment of the present disclosure;

图12为本公开实施例所提供的另一种物联网设备的注册装置的结构示意图;FIG12 is a schematic diagram of the structure of another registration device for an Internet of Things device provided in an embodiment of the present disclosure;

图13是本公开一示例性实施例所示出的电子设备的结构示意图。FIG. 13 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure.

具体实施方式DETAILED DESCRIPTION

下面详细描述本公开的实施例,实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.

需要说明的是,本公开所涉及的信息(包括但不限于用户设备信息、用户个人信息等)、数据(包括但不限于用于分析的数据、存储的数据、展示的数据等)以及信号,均为经用户授权或者经过各方充分授权的,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。本公开技术方案中对数据的获取、传输、存储、使用、处理等均符合国家法律法规的相关规定。It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. The acquisition, transmission, storage, use and processing of data in the technical solution of this disclosure are in compliance with the relevant provisions of national laws and regulations.

需要说明的是,在本公开实施例中,可能提及某些软件、组件、模型等业界已有方案,应当将它们认为是示范性的,其目的仅仅是为了说明本公开技术方案实施中的可行性,但并不意味着申请人已经或者必然用到了该方案。It should be noted that in the embodiments of the present disclosure, certain software, components, models and other existing solutions in the industry may be mentioned, which should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present disclosure, but it does not mean that the applicant has or will necessarily use the solution.

图1为本公开实施例所提供的一种物联网设备的注册方法的流程示意图。FIG1 is a schematic diagram of a flow chart of a registration method for an IoT device provided in an embodiment of the present disclosure.

本实施例以物联网设备的注册方法被配置为物联网设备的注册装置中来举例说明,本实施例中物联网设备的注册方法可以被配置在物联网设备的注册装置中,物联网设备的注册装置可以设置在物联网平台中,对此不作限制。This embodiment takes the example that the registration method of the Internet of Things device is configured in the registration device of the Internet of Things device. In this embodiment, the registration method of the Internet of Things device can be configured in the registration device of the Internet of Things device, and the registration device of the Internet of Things device can be set in the Internet of Things platform, without limitation.

如图1所示,该物联网设备的注册方法,包括:As shown in FIG1 , the registration method of the IoT device includes:

S101:确定与第一应用方关联的自发现规则。S101: Determine a self-discovery rule associated with a first application party.

其中,应用方,是物联网平台的上层应用,在物联平台中有注册对应的租户用户。归属该应用方管控的物联网设备,可以均注册在该应用方在物联网平台中的租户下。一个租户可以关联多个应用方。应用方也可以被称为物联应用、应用端,对此不做限制。Among them, the application party is the upper-layer application of the IoT platform, and has a corresponding tenant user registered in the IoT platform. The IoT devices controlled by the application party can be registered under the tenant of the application party in the IoT platform. One tenant can be associated with multiple application parties. The application party can also be called IoT application or application end, without restriction.

其中,需在物联网平台中请求注册物联网设备的应用方,可以被称为第一应用方。该第一应用方请求注册的物联网设备,可以被称为第一物联网设备。也即是说,第一应用方可以对需求注册的部分物联网设备进行请求注册,物联网平台可以根据该第一应用方的请求,将其需求注册的部分物联网设备注册在物联网平台中该第一应用方的租户用户下,对此不做限制。Among them, the application party that needs to request to register the IoT device in the IoT platform can be called the first application party. The IoT device that the first application party requests to register can be called the first IoT device. In other words, the first application party can request to register some of the IoT devices that need to be registered, and the IoT platform can register some of the IoT devices that need to be registered under the tenant user of the first application party in the IoT platform according to the request of the first application party, without any restriction on this.

一些实施例中,自发现规则,可以用于对第一应用方请求注册的第一物联网设备进行初步的验证(例如,该自发现规则可以用于物联网平台对第一物联网设备自身的硬件信息进行验证,该硬件信息例如是设备名称、设备型号、设备mac地址、设备序列号、设备机构代码等)。In some embodiments, the self-discovery rule can be used to perform preliminary verification on the first IoT device that the first application party requests to register (for example, the self-discovery rule can be used by the IoT platform to verify the hardware information of the first IoT device itself, such as the device name, device model, device MAC address, device serial number, device organization code, etc.).

一些实施例中,该自发现规则是与第一应用方相对应的,物联网平台可以为不同的应用方设置不同的自发现规则,或者也可以为不同的应用方设置相同的自发现规则,在设置完毕自发现规则后,可以对自发现规则进行存储。In some embodiments, the self-discovery rule corresponds to the first application party. The Internet of Things platform can set different self-discovery rules for different application parties, or can set the same self-discovery rules for different application parties. After the self-discovery rules are set, the self-discovery rules can be stored.

一些实施例中,在实现确定与第一应用方关联的自发现规则的过程中,可以接收第一应用方发送的设备注册请求,其中,设备注册请求包括:设备规格,并获取与设备规格对应的自发现规则,以及将与设备规格对应的自发现规则作为与第一应用方关联的自发现规则。由此,能够快速地、有效地获取到与第一应用方关联的自发现规则。In some embodiments, in the process of determining the self-discovery rule associated with the first application party, a device registration request sent by the first application party may be received, wherein the device registration request includes: device specifications, and obtaining the self-discovery rule corresponding to the device specifications, and using the self-discovery rule corresponding to the device specifications as the self-discovery rule associated with the first application party. Thus, the self-discovery rule associated with the first application party can be quickly and effectively obtained.

其中,设备规格,用于描述第一应用方需注册的物联网设备的类型。例如“电脑”。The device specification is used to describe the type of IoT device that the first application party needs to register, such as "computer".

也即是说,第一应用方可以向物联网平台发送设备注册请求,该设备注册请求用于请求对第一物联网设备进行注册。物联网平台中可以预先已配置并存储了多个应用方的自发现规则,所存储的每个自发现规则关联了一个设备规格,则可以从多个自发现规则中,确定与第一应用方发送的设备规格匹配的自发现规则,并将与第一应用方发送的设备规格匹配的自发现规则,作为与第一应用方关联的自发现规则。That is to say, the first application party can send a device registration request to the IoT platform, and the device registration request is used to request registration of the first IoT device. The IoT platform can pre-configure and store multiple application party self-discovery rules, and each stored self-discovery rule is associated with a device specification. Then, the self-discovery rule that matches the device specification sent by the first application party can be determined from the multiple self-discovery rules, and the self-discovery rule that matches the device specification sent by the first application party is used as the self-discovery rule associated with the first application party.

一些实施例中,物联网平台可以在确定第一应用方所请求注册的设备规格的物联网设备未被注册,将符合设备规格的物联网设备作为第一物联网设备。In some embodiments, the IoT platform may determine that an IoT device with a device specification requested to be registered by the first application party has not been registered, and use an IoT device that meets the device specification as the first IoT device.

S102:获取第一物联网设备的自发现数据,其中,第一物联网设备是第一应用方请求注册的物联网设备。S102: Obtain self-discovery data of a first IoT device, where the first IoT device is an IoT device that a first application party requests to register.

其中,自发现数据,是物联网平台在对第一物联网设备进行初步的验证时,第一物联网设备的数据。自发现数据具体例如,第一物联网设备的硬件信息。The self-discovery data is data of the first IoT device when the IoT platform performs preliminary verification on the first IoT device. For example, the self-discovery data is hardware information of the first IoT device.

上述在确定与第一应用方关联的自发现规则之后,还可以获取第一物联网设备的自发现数据。After determining the self-discovery rule associated with the first application party, the self-discovery data of the first Internet of Things device can also be obtained.

一些实施例中,在实现获取第一物联网设备的自发现数据的过程中,可以是从自发现数据库中查询第一物联网设备的自发现数据。其中,自发现数据库中用于存储各个物联网设备的自发现数据。则可以直接从自发现数据库中读取第一物联网设备的自发现数据。In some embodiments, in the process of obtaining the self-discovery data of the first IoT device, the self-discovery data of the first IoT device may be queried from a self-discovery database. The self-discovery database is used to store the self-discovery data of each IoT device. The self-discovery data of the first IoT device may be directly read from the self-discovery database.

一些实施例中,在实现获取第一物联网设备的自发现数据的过程中,可以是接收第一物联网设备上报的自发现数据。In some embodiments, in the process of acquiring the self-discovery data of the first Internet of Things device, the self-discovery data reported by the first Internet of Things device may be received.

由此,物联网平台能够灵活地、快捷地获取到第一物联网设备的自发现数据。As a result, the Internet of Things platform can flexibly and quickly obtain the self-discovery data of the first Internet of Things device.

S103:响应于自发现规则和自发现数据相匹配,获取第一物联网设备的设备注册信息。S103: In response to the self-discovery rule and the self-discovery data matching, obtaining device registration information of the first Internet of Things device.

其中,设备注册信息,是指对第一物联网设备进行注册所需的接入凭证等信息。The device registration information refers to information such as access credentials required to register the first IoT device.

上述在获得自发现规则和自发现数据之后,可以判断自发现规则和自发现数据是否相匹配,如果自发现规则和自发现数据相匹配,则可以进一步地,获取第一物联网设备的设备注册信息,以触发对第一物联网设备进行注册。After obtaining the self-discovery rules and self-discovery data, it can be determined whether the self-discovery rules and the self-discovery data match. If the self-discovery rules and the self-discovery data match, the device registration information of the first Internet of Things device can be further obtained to trigger the registration of the first Internet of Things device.

S104:将设备注册信息发送至第一物联网设备,以对第一物联网设备进行注册。S104: Send the device registration information to the first IoT device to register the first IoT device.

物联网平台在获取到第一物联网设备的设备注册信息之后,可以将设备注册信息发送至第一物联网设备,以对第一物联网设备进行注册。After acquiring the device registration information of the first IoT device, the IoT platform may send the device registration information to the first IoT device to register the first IoT device.

本实施例中,物联网平台确定与第一应用方关联的自发现规则,并获取第一物联网设备的自发现数据,其中,第一物联网设备是第一应用方请求注册的物联网设备,响应于自发现规则和自发现数据相匹配,获取第一物联网设备的设备注册信息,以及将设备注册信息发送至第一物联网设备,以对第一物联网设备进行注册。提高物联网设备注册的安全性。In this embodiment, the IoT platform determines the self-discovery rule associated with the first application party, and obtains the self-discovery data of the first IoT device, wherein the first IoT device is the IoT device requested to be registered by the first application party, and in response to the self-discovery rule and the self-discovery data matching, obtains the device registration information of the first IoT device, and sends the device registration information to the first IoT device to register the first IoT device. The security of IoT device registration is improved.

图2为本公开实施例所提供的另一种物联网设备的注册方法的流程示意图。FIG2 is a flow chart of another method for registering an IoT device provided in an embodiment of the present disclosure.

如图2所示,该物联网设备的注册方法,包括:As shown in FIG2 , the registration method of the IoT device includes:

S201:接收第一应用方发送的设备注册请求,其中,设备注册请求包括:设备规格。S201: Receive a device registration request sent by a first application party, wherein the device registration request includes: device specifications.

针对S201的描述说明可以具体参见上述实施例,在此不再赘述。For the description of S201 , please refer to the above embodiment, which will not be repeated here.

S202:接收第一应用方发送的设备属性。S202: Receive device attributes sent by the first application party.

一些实施例中,物联网平台也可以接收第一应用方发送的设备属性,该设备属性可以是第一应用方请求注册第一物联网设备所应具有的属性。该设备属性可以被用于匹配第一物联网设备的实际的设备属性。In some embodiments, the IoT platform may also receive device attributes sent by the first application party, which may be attributes that the first application party should have when requesting to register the first IoT device. The device attributes may be used to match actual device attributes of the first IoT device.

S203:根据设备属性,配置与设备规格对应的自发现规则。S203: According to the device attributes, configure the self-discovery rules corresponding to the device specifications.

一些实施例中,物联网平台在接收到设备属性之后,可以配置与设备规格对应的自发现规则。示例的,物联网平台可以通过脚本定义物联网设备的自发现规则。例如,设备ip地址等于127.x.x.x,并且设备mac地址等于xxxxx。通过定义,使其设置的自发现规则可以与真实设备进行唯一匹配。In some embodiments, after receiving the device attributes, the IoT platform can configure self-discovery rules corresponding to the device specifications. For example, the IoT platform can define the self-discovery rules of the IoT device through a script. For example, the device IP address is equal to 127.x.x.x, and the device MAC address is equal to xxxxx. By definition, the self-discovery rules set by it can be uniquely matched with the real device.

S204:获取第一物联网设备的自发现数据,其中,第一物联网设备是第一应用方请求注册的物联网设备。S204: Obtain self-discovery data of a first IoT device, where the first IoT device is an IoT device that the first application party requests to register.

S205:响应于自发现规则和自发现数据相匹配,获取第一物联网设备的设备注册信息。S205: In response to the self-discovery rule and the self-discovery data matching, obtaining device registration information of the first Internet of Things device.

S206:将设备注册信息发送至第一物联网设备,以对第一物联网设备进行注册。S206: Send the device registration information to the first IoT device to register the first IoT device.

针对S204-S206的描述说明可以具体参见上述实施例,在此不再赘述。For the description of S204 - S206 , please refer to the above embodiment for details, which will not be repeated here.

本实施例中,物联网平台确定与第一应用方关联的自发现规则,并获取第一物联网设备的自发现数据,其中,第一物联网设备是第一应用方请求注册的物联网设备,响应于自发现规则和自发现数据相匹配,获取第一物联网设备的设备注册信息,以及将设备注册信息发送至第一物联网设备,以对第一物联网设备进行注册。提高物联网设备注册的安全性。通过接收第一应用方发送的设备注册请求,其中,设备注册请求包括:设备规格,并接收第一应用方发送的设备属性,并根据设备属性,配置与设备规格对应的自发现规则,能够实现为第一应用方配置针对性的自发现规则,基于所配置的自发现规则能够高效地、快捷地匹配出第一应用方所需注册的物联网设备。In this embodiment, the IoT platform determines the self-discovery rule associated with the first application party, and obtains the self-discovery data of the first IoT device, wherein the first IoT device is the IoT device requested to be registered by the first application party, and in response to the matching of the self-discovery rule and the self-discovery data, obtains the device registration information of the first IoT device, and sends the device registration information to the first IoT device to register the first IoT device. Improve the security of IoT device registration. By receiving the device registration request sent by the first application party, wherein the device registration request includes: device specifications, and receiving the device attributes sent by the first application party, and configuring the self-discovery rules corresponding to the device specifications according to the device attributes, it is possible to configure targeted self-discovery rules for the first application party, and based on the configured self-discovery rules, the IoT devices required to be registered by the first application party can be efficiently and quickly matched.

在本公开的一些实施例中,在实现确定与第一应用方关联的自发现规则的过程中,可以是确定第一应用方在物联网平台的租户账户,其中,租户账户关联一个定时任务,响应于定时任务被触发,确定与第一应用方关联的自发现规则。由此,能够实现基于定时的方式对第一物联网设备进行注册。In some embodiments of the present disclosure, in the process of determining the self-discovery rule associated with the first application party, a tenant account of the first application party on the Internet of Things platform may be determined, wherein the tenant account is associated with a scheduled task, and in response to the scheduled task being triggered, the self-discovery rule associated with the first application party is determined. Thus, the first Internet of Things device can be registered in a timing-based manner.

需要说明的是,在下述实施例中,与上述实施例中相同或者相应术语、方法步骤的描述说明可以具体参见上述实施例,在此不再赘述。It should be noted that in the following embodiments, the description of the terms and method steps that are the same as or corresponding to those in the above embodiments can be specifically referred to in the above embodiments and will not be repeated here.

图3为本公开实施例所提供的另一种物联网设备的注册方法的流程示意图。FIG3 is a flow chart of another method for registering an IoT device provided in an embodiment of the present disclosure.

本实施例可以由第一物联网设备执行,其中,第一物联网设备是第一应用方请求注册的物联网设备。可以在第一物联网设备中配置物联软件开发工具包(SoftwareDevelopment Kit,SDK),该物联SDK可以用于采集第一物联网设备的自发现数据。This embodiment can be executed by a first IoT device, wherein the first IoT device is an IoT device that the first application party requests to register. An IoT software development kit (SDK) can be configured in the first IoT device, and the IoT SDK can be used to collect self-discovery data of the first IoT device.

如图3所示,该物联网设备的注册方法,包括:As shown in FIG3 , the registration method of the IoT device includes:

S301:采集第一物联网设备的自发现数据。S301: Collect self-discovery data of a first IoT device.

一些实施例中,可以基于第一物联网设备内置的物联SDK采集第一物联网设备的自发现数据。示例的,安装了物联SDK的第一物联网设备,可以使用物联SDK采集设备自身的属性信息,包括ip、mac、序列号、操作系统类型等作为自发现数据。然后,物联SDK可以将自发现数据上报至物联网平台。In some embodiments, the self-discovery data of the first IoT device can be collected based on the IoT SDK built into the first IoT device. For example, the first IoT device with the IoT SDK installed can use the IoT SDK to collect the device's own attribute information, including IP, MAC, serial number, operating system type, etc. as self-discovery data. Then, the IoT SDK can report the self-discovery data to the IoT platform.

S302:接收物联网平台发送的设备注册信息,其中,自发现数据和与第一应用方关联的自发现规则相匹配。S302: Receive device registration information sent by the Internet of Things platform, wherein the self-discovery data matches the self-discovery rule associated with the first application party.

一些实施例中,物联网平台可以基于第一物联网设备上报的自发现数据对第一物联网设备进行初步的验证,如果自发现数据和与第一应用方关联的自发现规则相匹配,则确定验证通过,则物联网平台可以向第一物联网设备下发设备注册信息。In some embodiments, the IoT platform may perform preliminary verification on the first IoT device based on the self-discovery data reported by the first IoT device. If the self-discovery data matches the self-discovery rules associated with the first application party, it is determined that the verification is successful, and the IoT platform may send device registration information to the first IoT device.

S303:根据设备注册信息在物联网平台中进行注册。S303: Register in the Internet of Things platform according to the device registration information.

一些实施例中,第一物联网设备可以接收物联网平台下发的设备注册信息,而后,基于设备注册信息在物联网平台中进行注册。In some embodiments, the first IoT device may receive device registration information sent by the IoT platform, and then register in the IoT platform based on the device registration information.

本实施例中,通过采集第一物联网设备的自发现数据,并接收物联网平台发送的设备注册信息,其中,自发现数据和与第一应用方关联的自发现规则相匹配,以及根据设备注册信息在物联网平台中进行注册。实现提高物联网设备注册的安全性。In this embodiment, by collecting the self-discovery data of the first IoT device and receiving the device registration information sent by the IoT platform, wherein the self-discovery data is matched with the self-discovery rule associated with the first application party, and the device is registered in the IoT platform according to the device registration information, the security of IoT device registration is improved.

图4为本公开实施例所提供的又一种物联网设备的注册方法的流程示意图。FIG4 is a flow chart of another method for registering an IoT device provided in an embodiment of the present disclosure.

本实施例可以由第一应用方执行,其中,第一物联网设备是第一应用方请求注册的物联网设备。第一应用方可以通过向物联网平台发送申请的方式来请求将第一物联网设备注册至本应用方在物联网平台的租户用户下,对此不做限制。This embodiment can be executed by the first application party, wherein the first IoT device is the IoT device that the first application party requests to register. The first application party can request to register the first IoT device to the tenant user of the application party on the IoT platform by sending an application to the IoT platform, and there is no restriction on this.

如图4所示,该物联网设备的注册方法,包括:As shown in FIG4 , the registration method of the IoT device includes:

S401:生成设备注册请求,其中,设备注册请求用于请求在物联网平台中注册第一物联网设备,以及用于确定与第一应用方关联的自发现规则,自发现规则和第一物联网设备的自发现数据用于确定第一物联网设备的设备注册信息,设备注册信息用于在物联网平台中注册第一物联网设备。S401: Generate a device registration request, wherein the device registration request is used to request registration of a first IoT device in the IoT platform, and is used to determine a self-discovery rule associated with a first application party, the self-discovery rule and the self-discovery data of the first IoT device are used to determine device registration information of the first IoT device, and the device registration information is used to register the first IoT device in the IoT platform.

一些实施例中,第一应用方可以首先生成设备注册请求,以基于该设备注册请求来实现请求在物联网平台中注册第一物联网设备。In some embodiments, the first application party may first generate a device registration request to implement a request to register the first IoT device in the IoT platform based on the device registration request.

一些实施例中,第一应用方可以基于本应用方所提供的应用功能来确定需求的设备规格,并基于该设备规格来生成设备注册请求。In some embodiments, the first application party may determine the required device specifications based on the application functions provided by the application party, and generate a device registration request based on the device specifications.

一些实施例中,设备注册请求中可以包括:设备规格。第一应用方还可以向物联网平台发送设备注册请求,其中,与设备规格对应的自发现规则被作为与第一应用方关联的自发现规则。In some embodiments, the device registration request may include: device specifications. The first application party may also send a device registration request to the Internet of Things platform, wherein the self-discovery rule corresponding to the device specifications is used as the self-discovery rule associated with the first application party.

一些实施例中,第一应用方可以向物联网平台发送设备属性,其中,设备属性用于配置与设备规格对应的自发现规则。In some embodiments, the first application party may send device attributes to the IoT platform, wherein the device attributes are used to configure self-discovery rules corresponding to device specifications.

针对上述实施例的举例说明如下:The examples for the above embodiment are as follows:

本公开实施例中所涉及的设备可以包括:物联网平台(也可被称为物联设备管理平台)、物联客户端程序(物联网设备侧的程序)组成,其中,物联网平台使用了数据库,并部署在服务端;物联客户端程序可以在业务终端上运行。物联网设备中可以包括:设备端SDK(物联SDK的一个可选示例)、物联网平台、物联应用(第一应用方的一个可选示例)。各个设备处于网络连接状态,且各个物联网设备需安装可以和物联网平台进行通信的物联SDK。物联SDK可以包含采集模块,用于采集物联网设备的基础信息,包括但不限于:设备自身的硬件信息:设备名称、设备型号、设备mac地址;设备的其他信息:设备序列号、设备机构代码等等。物联网平台可连接设备端(物联网设备)与应用端(应用方)进行通信。The devices involved in the embodiments of the present disclosure may include: an Internet of Things platform (also known as an Internet of Things device management platform), an Internet of Things client program (a program on the Internet of Things device side), wherein the Internet of Things platform uses a database and is deployed on the server side; the Internet of Things client program can be run on a business terminal. The Internet of Things device may include: a device-side SDK (an optional example of an Internet of Things SDK), an Internet of Things platform, and an Internet of Things application (an optional example of a first application party). Each device is in a network connection state, and each Internet of Things device needs to install an Internet of Things SDK that can communicate with the Internet of Things platform. The Internet of Things SDK may include a collection module for collecting basic information of Internet of Things devices, including but not limited to: the hardware information of the device itself: device name, device model, device mac address; other information of the device: device serial number, device mechanism code, etc. The Internet of Things platform can connect the device side (Internet of Things device) to the application side (application party) for communication.

如图5所示,图5是本公开实施例中的一种应用示意图。包括物联网平台和设备终端(第一物联网设备的一个可选示例),设备终端可以进行属性值(自发现数据的一个可选示例)采集,并向物联网平台上报所采集的属性值,物联网平台可以保存设备终端的属性值。物联网平台还可以定时查询未激活的设备(尚未在物联网平台中注册的物联网设备),判断该未激活的物联网设备是否匹配(即其自发现数据是否与自发现规则相匹配),如果匹配成功,则向设备终端下发成功消息,设备终端接收成功消息,进行激活。As shown in Figure 5, Figure 5 is an application diagram in an embodiment of the present disclosure. It includes an Internet of Things platform and a device terminal (an optional example of a first Internet of Things device). The device terminal can collect attribute values (an optional example of self-discovery data) and report the collected attribute values to the Internet of Things platform. The Internet of Things platform can save the attribute values of the device terminal. The Internet of Things platform can also periodically query unactivated devices (Internet of Things devices that have not yet been registered in the Internet of Things platform) to determine whether the unactivated Internet of Things device matches (that is, whether its self-discovery data matches the self-discovery rules). If the match is successful, a success message is sent to the device terminal, and the device terminal receives the success message and activates it.

本公开实施例中涉及两个部分:第一部分是物联网设备自动发起注册流程,第二部分是物联网平台的自动注册校验。The disclosed embodiment involves two parts: the first part is the automatic initiation of the registration process by the IoT device, and the second part is the automatic registration verification of the IoT platform.

物联应用(第一应用方的一个可选示例)可以在物联网平台中注册物联网设备。在物联网设备接入过程中,应用方可以首先在物联网平台进行设备注册(创建设备需提供的属性值,如:mac、设备型号、操作系统等软硬件基础信息(设备属性的一个可选示例)。如应用方创建了“电脑”(设备规格的一个可选示例),并录入了对应设备的设备属性,则符合该设备规格且满足设备属性的物联网设备,均会被注册到该应用方在物联网平台的租户账户下。其中,可以由应用方设置设备属性和设备规格,且该设备属性和设备规格后续可以被用于对接入的物联网设备进行验证,保障了物联网平台访问的安全性。The IoT application (an optional example of the first application party) can register IoT devices in the IoT platform. During the IoT device access process, the application party can first register the device on the IoT platform (create the attribute values required for the device, such as: mac, device model, operating system and other basic hardware and software information (an optional example of device attributes). If the application party creates a "computer" (an optional example of device specifications) and enters the device attributes of the corresponding device, then the IoT devices that meet the device specifications and satisfy the device attributes will be registered under the application party's tenant account on the IoT platform. Among them, the device attributes and device specifications can be set by the application party, and the device attributes and device specifications can be used to verify the connected IoT devices later, ensuring the security of access to the IoT platform.

如图6所示,图6是本公开实施例中的另一种应用示意图。物联应用即第一应用的一个可选示例,物联设备管理平台及物联网平台的一个可选示例。物联应用端可以请求注册设备(创建设备)。物联设备管理平台可以执行设备入库操作,判断设备规则是否支持自发现注册,如果否(不支持),则向物联应用返回结果。如果是(支持),则根据设备规格获取自发现规则,并遍历自发现数据库,以查询是否有匹配的自发现数据,如果否,则向物联应用返回结果,如果是,则将设备注册信息(appid和deviceSN下发给设备端)。如图7所示,图7是本公开实施例中的另一种应用示意图。图7中示出了物联网平台通过自发现规则匹配自动注册的物联网设备的过程示意图。As shown in Figure 6, Figure 6 is another application schematic diagram in the embodiment of the present disclosure. The IoT application is an optional example of the first application, an optional example of the IoT device management platform and the IoT platform. The IoT application end can request to register a device (create a device). The IoT device management platform can perform a device warehousing operation to determine whether the device rules support self-discovery registration. If not (not supported), the result is returned to the IoT application. If yes (supported), the self-discovery rules are obtained according to the device specifications, and the self-discovery database is traversed to query whether there is matching self-discovery data. If not, the result is returned to the IoT application. If yes, the device registration information (appid and deviceSN) is sent to the device end. As shown in Figure 7, Figure 7 is another application schematic diagram in the embodiment of the present disclosure. Figure 7 shows a process schematic diagram of the IoT platform automatically registering IoT devices through self-discovery rule matching.

如图8所示,图8是本公开实施例中又一种应用示意图。设备端是物联网设备的一个可选示例。设备端可以安装物联SDK,可以采集设备自身的设备信息(设备属性的一个可选示例)。设备信息可以包括ip、mac、序列号、操作系统类型等信息。然后,将设备信息上报给物联网平台。物联网平台根据设备端上送的设备信息,作为入参,放入定义自发现规则的脚本(例如自发现规则的js表达式),并执行该脚本,以判断设备信息和自发现规则是否匹配。如果匹配成功,则将设备注册信息(例如接入凭证)下发给设备端。如图9所示,图9是本公开实施例中再一种应用示意图。As shown in Figure 8, Figure 8 is another application schematic diagram in the embodiment of the present disclosure. The device side is an optional example of an IoT device. The device side can install the IoT SDK, and can collect the device information of the device itself (an optional example of device attributes). The device information may include information such as IP, MAC, serial number, operating system type, etc. Then, the device information is reported to the IoT platform. The IoT platform uses the device information sent by the device side as an input parameter, puts in a script that defines the self-discovery rule (such as a JS expression of the self-discovery rule), and executes the script to determine whether the device information matches the self-discovery rule. If the match is successful, the device registration information (such as an access credential) is sent to the device side. As shown in Figure 9, Figure 9 is another application schematic diagram in the embodiment of the present disclosure.

本公开实施例中,可以实现将物联网设备的注册流程与实际设备的部署流程相结合,即保障了物联网设备注册的安全性,同时也具备自动注册的灵活性。In the disclosed embodiment, the registration process of the IoT device can be combined with the deployment process of the actual device, which ensures the security of the IoT device registration while also having the flexibility of automatic registration.

图10为本公开实施例所提供的一种物联网设备的注册装置的结构示意图。FIG10 is a schematic diagram of the structure of a registration device for an Internet of Things device provided by an embodiment of the present disclosure.

如图10所示,该物联网设备的注册装置100,包括:As shown in FIG10 , the registration device 100 of the IoT device includes:

确定模块1001,用于确定与第一应用方关联的自发现规则。The determination module 1001 is used to determine a self-discovery rule associated with the first application party.

第一获取模块1002,用于获取第一物联网设备的自发现数据,其中,第一物联网设备是第一应用方请求注册的物联网设备。The first acquisition module 1002 is used to acquire self-discovery data of a first Internet of Things device, wherein the first Internet of Things device is an Internet of Things device that a first application party requests to register.

第二获取模块1003,用于响应于自发现规则和自发现数据相匹配,获取第一物联网设备的设备注册信息。The second acquisition module 1003 is used to acquire device registration information of the first Internet of Things device in response to the self-discovery rule matching the self-discovery data.

发送模块1004,用于将设备注册信息发送至第一物联网设备,以对第一物联网设备进行注册。The sending module 1004 is used to send the device registration information to the first Internet of Things device to register the first Internet of Things device.

需要说明的是,前述对物联网设备的注册方法的解释说明也适用于本实施例的物联网设备的注册装置,此处不再赘述。It should be noted that the aforementioned explanation of the registration method for the Internet of Things device is also applicable to the registration device for the Internet of Things device of this embodiment, and will not be repeated here.

本实施例中,物联网平台确定与第一应用方关联的自发现规则,并获取第一物联网设备的自发现数据,其中,第一物联网设备是第一应用方请求注册的物联网设备,响应于自发现规则和自发现数据相匹配,获取第一物联网设备的设备注册信息,以及将设备注册信息发送至第一物联网设备,以对第一物联网设备进行注册。提高物联网设备注册的安全性。In this embodiment, the IoT platform determines the self-discovery rule associated with the first application party, and obtains the self-discovery data of the first IoT device, wherein the first IoT device is the IoT device requested to be registered by the first application party, and in response to the self-discovery rule and the self-discovery data matching, obtains the device registration information of the first IoT device, and sends the device registration information to the first IoT device to register the first IoT device. The security of IoT device registration is improved.

图11为本公开实施例所提供的另一种物联网设备的注册装置的结构示意图。FIG. 11 is a schematic diagram of the structure of another registration device for an IoT device provided in an embodiment of the present disclosure.

如图11所示,该物联网设备的注册装置110,包括:As shown in FIG11 , the registration device 110 of the IoT device includes:

采集模块1101,用于采集第一物联网设备的自发现数据,其中,第一物联网设备是第一应用方请求注册的物联网设备。The collection module 1101 is used to collect self-discovery data of a first Internet of Things device, wherein the first Internet of Things device is an Internet of Things device that a first application party requests to register.

接收模块1102,用于接收物联网平台发送的设备注册信息,其中,自发现数据和与第一应用方关联的自发现规则相匹配。The receiving module 1102 is used to receive device registration information sent by the Internet of Things platform, wherein the self-discovery data matches the self-discovery rule associated with the first application party.

注册模块1103,用于根据设备注册信息在物联网平台中进行注册。The registration module 1103 is used to register in the Internet of Things platform according to the device registration information.

需要说明的是,前述对物联网设备的注册方法的解释说明也适用于本实施例的物联网设备的注册装置,此处不再赘述。It should be noted that the aforementioned explanation of the registration method for the Internet of Things device is also applicable to the registration device for the Internet of Things device of this embodiment, and will not be repeated here.

本实施例中,通过采集第一物联网设备的自发现数据,并接收物联网平台发送的设备注册信息,其中,自发现数据和与第一应用方关联的自发现规则相匹配,以及根据设备注册信息在物联网平台中进行注册。实现提高物联网设备注册的安全性。In this embodiment, by collecting the self-discovery data of the first IoT device and receiving the device registration information sent by the IoT platform, wherein the self-discovery data is matched with the self-discovery rule associated with the first application party, and the device is registered in the IoT platform according to the device registration information, the security of IoT device registration is improved.

图12为本公开实施例所提供的另一种物联网设备的注册装置的结构示意图。FIG. 12 is a schematic diagram of the structure of another registration device for an IoT device provided in an embodiment of the present disclosure.

如图12所示,该物联网设备的注册装置120,包括:As shown in FIG12 , the registration device 120 of the IoT device includes:

生成模块1201,用于生成设备注册请求,其中,设备注册请求用于请求在物联网平台中注册第一物联网设备,以及用于确定与第一应用方关联的自发现规则,自发现规则和第一物联网设备的自发现数据用于确定第一物联网设备的设备注册信息,设备注册信息用于在物联网平台中注册第一物联网设备。The generation module 1201 is used to generate a device registration request, wherein the device registration request is used to request to register a first IoT device in the IoT platform, and is used to determine a self-discovery rule associated with a first application party, the self-discovery rule and the self-discovery data of the first IoT device are used to determine the device registration information of the first IoT device, and the device registration information is used to register the first IoT device in the IoT platform.

需要说明的是,前述对物联网设备的注册方法的解释说明也适用于本实施例的物联网设备的注册装置,此处不再赘述。It should be noted that the aforementioned explanation of the registration method for the Internet of Things device is also applicable to the registration device for the Internet of Things device of this embodiment, and will not be repeated here.

作为一种示例,图13是本公开一示例性实施例所示出的电子设备的结构示意图,如图13所示,上述电子设备500,还可以包括:As an example, FIG. 13 is a schematic diagram of the structure of an electronic device shown in an exemplary embodiment of the present disclosure. As shown in FIG. 13 , the electronic device 500 may further include:

存储器510及处理器520,连接不同组件(包括存储器510和处理器520)的总线530,存储器510存储有计算机程序,当处理器520执行程序时实现本公开实施例的物联网设备的注册方法。The memory 510 and the processor 520, a bus 530 connecting different components (including the memory 510 and the processor 520), the memory 510 stores a computer program, and when the processor 520 executes the program, the registration method of the Internet of Things device of the embodiment of the present disclosure is implemented.

总线530表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 530 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

电子设备500典型地包括多种电子设备可读介质。这些介质可以是任何能够被电子设备500访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The electronic device 500 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 500, including volatile and non-volatile media, removable and non-removable media.

存储器510还可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)540和/或高速缓存存储器550。电子设备500可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统560可以用于读写不可移动的、非易失性磁介质(图13未显示,通常称为“硬盘驱动器”)。尽管图13中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线530相连。存储器510可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本公开各实施例的功能。The memory 510 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 540 and/or cache memory 550. The electronic device 500 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, the storage system 560 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 13, commonly referred to as "hard disk drives"). Although not shown in FIG. 13, a disk drive for reading and writing removable non-volatile disks (such as "floppy disks"), and an optical disk drive for reading and writing removable non-volatile optical disks (such as CD-ROMs, DVD-ROMs or other optical media) may be provided. In these cases, each drive may be connected to the bus 530 via one or more data medium interfaces. The memory 510 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

具有一组(至少一个)程序模块570的程序/实用工具580,可以存储在例如存储器510中,这样的程序模块570包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块570通常执行本公开所描述的实施例中的功能和/或方法。A program/utility 580 having a set (at least one) of program modules 570 may be stored, for example, in the memory 510, such program modules 570 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 570 generally perform the functions and/or methods of the embodiments described in the present disclosure.

电子设备500也可以与一个或多个外部设备590(例如键盘、指向设备、显示器591等)通信,还可与一个或者多个使得用户能与该电子设备500交互的设备通信,和/或与使得该电子设备500能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口592进行。并且,电子设备500还可以通过网络适配器593与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器593通过总线530与电子设备500的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备500使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 500 may also communicate with one or more external devices 590 (e.g., keyboard, pointing device, display 591, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 500, and/or communicate with any device that enables the electronic device 500 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed via an input/output (I/O) interface 592. In addition, the electronic device 500 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and/or public network, such as the Internet) via a network adapter 593. As shown, the network adapter 593 communicates with other modules of the electronic device 500 via a bus 530. It should be understood that, although not shown in the figure, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

处理器520通过运行存储在存储器510中的程序,从而执行各种功能应用以及数据处理。The processor 520 executes various functional applications and data processing by running the programs stored in the memory 510 .

需要说明的是,本实施例的电子设备的实施过程和技术原理参见前述对本公开实施例的物联网设备的注册方法的解释说明,此处不再赘述。It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the registration method of the Internet of Things device of the embodiment of the present disclosure, and will not be repeated here.

为了实现上述实施例,本公开还提出一种电子设备,包括:处理器,以及与处理器通信连接的存储器;存储器存储计算机执行指令;处理器执行存储器存储的计算机执行指令,以实现执行前述实施例所提供的方法。In order to implement the above embodiments, the present disclosure also proposes an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method provided by the above embodiments.

为了实现上述实施例,本公开还提出一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现前述实施例所提供的方法。In order to implement the above embodiments, the present disclosure further proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the methods provided by the above embodiments.

为了实现上述实施例,本公开还提出一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现前述实施例所提供的方法。In order to implement the above embodiments, the present disclosure also proposes a computer program product, including a computer program, which implements the methods provided by the above embodiments when executed by a processor.

本公开中所涉及的用户个人信息的收集、存储、使用、加工、传输、提供和公开等处理,均符合相关法律法规的规定,且不违背公序良俗。The collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in this disclosure shall comply with the relevant laws and regulations and shall not violate public order and good morals.

需要说明的是,来自用户的个人信息应当被收集用于合法且合理的用途,并且不在这些合法使用之外共享或出售。此外,应在收到用户知情同意后进行此类采集/共享,包括但不限于在用户使用该功能前,通知用户阅读用户协议/用户通知,并签署包括授权相关用户信息的协议/授权。此外,还需采取任何必要步骤,保卫和保障对此类个人信息数据的访问,并确保有权访问个人信息数据的其他人遵守其隐私政策和流程。It should be noted that personal information from users should be collected for legitimate and reasonable purposes and should not be shared or sold outside of these legitimate uses. In addition, such collection/sharing should be carried out after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement/user notice and sign the agreement/authorization including authorization of relevant user information before the user uses the function. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others who have access to personal information data comply with its privacy policy and procedures.

本公开预期可提供用户选择性阻止使用或访问个人信息数据的实施方案。即本公开预期可提供硬件和/或软件,以防止或阻止对此类个人信息数据的访问。一旦不再需要个人信息数据,通过限制数据收集和删除数据可最小化风险。此外,在适用时,对此类个人信息去除个人标识,以保护用户的隐私。The present disclosure anticipates providing implementation schemes for users to selectively block the use or access of personal information data. That is, the present disclosure anticipates providing hardware and/or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, risks can be minimized by limiting data collection and deleting the data. In addition, when applicable, such personal information is de-identified to protect the privacy of the user.

在前述各实施例描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they contradict each other.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本公开的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本公开的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本公开的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present disclosure belong.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

此外,在本公开各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present disclosure. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present disclosure.

Claims (17)

Translated fromChinese
1.一种物联网设备的注册方法,其特征在于,由物联网平台执行;所述方法包括以下步骤:1. A registration method for an Internet of Things device, characterized in that it is executed by an Internet of Things platform; the method comprises the following steps:确定与第一应用方关联的自发现规则;Determining a self-discovery rule associated with the first application party;获取第一物联网设备的自发现数据,其中,所述第一物联网设备是所述第一应用方请求注册的物联网设备;Acquire self-discovery data of a first Internet of Things device, wherein the first Internet of Things device is an Internet of Things device that the first application party requests to register;响应于所述自发现规则和所述自发现数据相匹配,获取所述第一物联网设备的设备注册信息;以及In response to the self-discovery rule and the self-discovery data matching, acquiring device registration information of the first Internet of Things device; and将所述设备注册信息发送至所述第一物联网设备,以对所述第一物联网设备进行注册。The device registration information is sent to the first IoT device to register the first IoT device.2.根据权利要求1所述的方法,其特征在于,所述确定与第一应用方关联的自发现规则,包括:2. The method according to claim 1, wherein determining the self-discovery rule associated with the first application party comprises:接收所述第一应用方发送的设备注册请求,其中,所述设备注册请求包括:设备规格;receiving a device registration request sent by the first application party, wherein the device registration request includes: device specifications;获取与所述设备规格对应的自发现规则;以及Obtaining self-discovery rules corresponding to the device specification; and将所述与所述设备规格对应的自发现规则作为所述与第一应用方关联的自发现规则。The self-discovery rule corresponding to the device specification is used as the self-discovery rule associated with the first application party.3.根据权利要求2所述的方法,其特征在于,所述方法还包括:3. The method according to claim 2, characterized in that the method further comprises:响应于所述设备规格的物联网设备未被注册,将所述设备规格的物联网设备作为所述第一物联网设备。In response to the Internet of Things device with the device specification not being registered, the Internet of Things device with the device specification is used as the first Internet of Things device.4.根据权利要求2所述的方法,其特征在于,基于以下方式预配置与所述设备规格对应的自发现规则:4. The method according to claim 2, characterized in that the self-discovery rules corresponding to the device specifications are preconfigured based on the following manner:接收所述第一应用方发送的设备属性;Receiving device attributes sent by the first application party;根据所述设备属性,配置与所述设备规格对应的自发现规则。According to the device attributes, a self-discovery rule corresponding to the device specification is configured.5.根据权利要求1所述的方法,其特征在于,所述获取第一物联网设备的自发现数据,包括以下任一项:5. The method according to claim 1, wherein the step of obtaining the self-discovery data of the first IoT device comprises any one of the following:从自发现数据库中查询所述第一物联网设备的自发现数据;Query the self-discovery data of the first IoT device from the self-discovery database;接收所述第一物联网设备上报的自发现数据。Receive self-discovery data reported by the first Internet of Things device.6.根据权利要求1所述的方法,其特征在于,所述确定与第一应用方关联的自发现规则,包括:6. The method according to claim 1, wherein determining the self-discovery rule associated with the first application party comprises:确定所述第一应用方在所述物联网平台的租户账户,其中,所述租户账户关联一个定时任务;Determine a tenant account of the first application party on the Internet of Things platform, wherein the tenant account is associated with a scheduled task;响应于所述定时任务被触发,确定与第一应用方关联的自发现规则。In response to the timed task being triggered, a self-discovery rule associated with the first application party is determined.7.一种物联网设备的注册方法,其特征在于,由第一物联网设备执行,其中,所述第一物联网设备是第一应用方请求注册的物联网设备;所述方法包括:7. A registration method for an Internet of Things device, characterized in that it is performed by a first Internet of Things device, wherein the first Internet of Things device is an Internet of Things device requested to be registered by a first application party; the method comprises:采集第一物联网设备的自发现数据;Collecting self-discovery data of a first IoT device;接收物联网平台发送的设备注册信息,其中,所述自发现数据和与所述第一应用方关联的自发现规则相匹配;Receiving device registration information sent by the Internet of Things platform, wherein the self-discovery data matches a self-discovery rule associated with the first application party;根据所述设备注册信息在所述物联网平台中进行注册。Register in the Internet of Things platform according to the device registration information.8.根据权利要求7所述的方法,其特征在于,所述方法还包括:8. The method according to claim 7, characterized in that the method further comprises:向所述物联网平台上报所述自发现数据。Report the self-discovered data to the Internet of Things platform.9.一种物联网设备的注册方法,其特征在于,由第一应用方执行,其中,第一物联网设备是所述第一应用方请求注册的物联网设备;所述方法包括:9. A registration method for an Internet of Things device, characterized in that it is performed by a first application party, wherein the first Internet of Things device is an Internet of Things device that the first application party requests to register; the method comprises:生成设备注册请求,其中,所述设备注册请求用于请求在物联网平台中注册所述第一物联网设备,以及用于确定与所述第一应用方关联的自发现规则,所述自发现规则和所述第一物联网设备的自发现数据用于确定所述第一物联网设备的设备注册信息,所述设备注册信息用于在所述物联网平台中注册所述第一物联网设备。Generate a device registration request, wherein the device registration request is used to request registration of the first IoT device in the IoT platform, and is used to determine a self-discovery rule associated with the first application party, the self-discovery rule and the self-discovery data of the first IoT device are used to determine device registration information of the first IoT device, and the device registration information is used to register the first IoT device in the IoT platform.10.根据权利要求9所述的方法,其特征在于,所述设备注册请求包括:设备规格;所述方法还包括:10. The method according to claim 9, wherein the device registration request comprises: device specifications; the method further comprises:向所述物联网平台发送所述设备注册请求,其中,与所述设备规格对应的自发现规则被作为所述与所述第一应用方关联的自发现规则。The device registration request is sent to the Internet of Things platform, wherein a self-discovery rule corresponding to the device specification is used as the self-discovery rule associated with the first application party.11.根据权利要求10所述的方法,其特征在于,所述方法还包括:11. The method according to claim 10, characterized in that the method further comprises:向所述物联网平台发送设备属性,其中,所述设备属性用于配置与所述设备规格对应的自发现规则。Sending device attributes to the Internet of Things platform, wherein the device attributes are used to configure self-discovery rules corresponding to the device specifications.12.一种物联网设备的注册装置,其特征在于,所述装置包括:12. A registration device for an Internet of Things device, characterized in that the device comprises:确定模块,用于确定与第一应用方关联的自发现规则;A determination module, configured to determine a self-discovery rule associated with the first application party;第一获取模块,用于获取第一物联网设备的自发现数据,其中,所述第一物联网设备是所述第一应用方请求注册的物联网设备;A first acquisition module, configured to acquire self-discovery data of a first IoT device, wherein the first IoT device is an IoT device requested to be registered by the first application party;第二获取模块,用于响应于所述自发现规则和所述自发现数据相匹配,获取所述第一物联网设备的设备注册信息;以及A second acquisition module is configured to acquire device registration information of the first Internet of Things device in response to the self-discovery rule matching the self-discovery data; and发送模块,用于将所述设备注册信息发送至所述第一物联网设备,以对所述第一物联网设备进行注册。The sending module is used to send the device registration information to the first Internet of Things device to register the first Internet of Things device.13.一种物联网设备的注册装置,其特征在于,所述装置包括:13. A registration device for an Internet of Things device, characterized in that the device comprises:采集模块,用于采集第一物联网设备的自发现数据,其中,所述第一物联网设备是第一应用方请求注册的物联网设备;A collection module, used to collect self-discovery data of a first Internet of Things device, wherein the first Internet of Things device is an Internet of Things device requested to be registered by a first application party;接收模块,用于接收物联网平台发送的设备注册信息,其中,所述自发现数据和与所述第一应用方关联的自发现规则相匹配;A receiving module, configured to receive device registration information sent by an Internet of Things platform, wherein the self-discovery data matches a self-discovery rule associated with the first application party;注册模块,用于根据所述设备注册信息在所述物联网平台中进行注册。A registration module is used to register in the Internet of Things platform according to the device registration information.14.一种物联网设备的注册装置,其特征在于,所述装置包括:14. A registration device for an Internet of Things device, characterized in that the device comprises:生成模块,用于生成设备注册请求,其中,所述设备注册请求用于请求在物联网平台中注册所述第一物联网设备,以及用于确定与所述第一应用方关联的自发现规则,所述自发现规则和所述第一物联网设备的自发现数据用于确定所述第一物联网设备的设备注册信息,所述设备注册信息用于在所述物联网平台中注册所述第一物联网设备。A generation module is used to generate a device registration request, wherein the device registration request is used to request registration of the first IoT device in the IoT platform, and is used to determine a self-discovery rule associated with the first application party, the self-discovery rule and the self-discovery data of the first IoT device are used to determine the device registration information of the first IoT device, and the device registration information is used to register the first IoT device in the IoT platform.15.一种电子设备,其特征在于,包括:处理器,以及与所述处理器通信连接的存储器;所述存储器存储计算机执行指令;15. An electronic device, comprising: a processor, and a memory connected to the processor in communication; the memory storing computer-executable instructions;所述处理器执行所述存储器存储的计算机执行指令,以实现如权利要求1-11中任一项所述的方法。The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 11.16.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1-11中任一项所述的方法。16. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 11.17.一种计算机程序产品,其特征在于,包括计算机程序,该计算机程序被处理器执行时实现权利要求1-11中任一项所述的方法。17. A computer program product, characterized in that it comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
CN202410827547.2A2024-06-252024-06-25 Registration method, device, electronic device and storage medium for Internet of Things devicesPendingCN118764505A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202410827547.2ACN118764505A (en)2024-06-252024-06-25 Registration method, device, electronic device and storage medium for Internet of Things devices

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202410827547.2ACN118764505A (en)2024-06-252024-06-25 Registration method, device, electronic device and storage medium for Internet of Things devices

Publications (1)

Publication NumberPublication Date
CN118764505Atrue CN118764505A (en)2024-10-11

Family

ID=92944557

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202410827547.2APendingCN118764505A (en)2024-06-252024-06-25 Registration method, device, electronic device and storage medium for Internet of Things devices

Country Status (1)

CountryLink
CN (1)CN118764505A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110445789A (en)*2019-08-092019-11-12四川虹美智能科技有限公司A kind of automatic registration method of refrigerator apparatus, apparatus and system
US20200177589A1 (en)*2018-11-302020-06-04International Business Machines CorporationAutomated iot device registration
CN112040004A (en)*2014-09-242020-12-04甲骨文国际公司Method, system, and medium for rule-based device registration
CN113014592A (en)*2021-03-112021-06-22建信金融科技有限责任公司Automatic registration system and method for Internet of things equipment
US20220303179A1 (en)*2021-03-182022-09-22Kyndryl, Inc.Automatic device enrollment in an internet of things network
CN115412325A (en)*2022-08-232022-11-29北京金和网络股份有限公司Internet of things platform equipment access management method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112040004A (en)*2014-09-242020-12-04甲骨文国际公司Method, system, and medium for rule-based device registration
US20200177589A1 (en)*2018-11-302020-06-04International Business Machines CorporationAutomated iot device registration
CN110445789A (en)*2019-08-092019-11-12四川虹美智能科技有限公司A kind of automatic registration method of refrigerator apparatus, apparatus and system
CN113014592A (en)*2021-03-112021-06-22建信金融科技有限责任公司Automatic registration system and method for Internet of things equipment
US20220303179A1 (en)*2021-03-182022-09-22Kyndryl, Inc.Automatic device enrollment in an internet of things network
CN115412325A (en)*2022-08-232022-11-29北京金和网络股份有限公司Internet of things platform equipment access management method and device

Similar Documents

PublicationPublication DateTitle
CN101411163B (en)System and method for tracking the security enforcement in a grid system
CN109213604B (en)Data source management method and device
CN110555072A (en)Data access method, device, equipment and medium
CN110661776A (en)Sensitive data tracing method, device, security gateway and system
CN109587233A (en)Cloudy Container Management method, equipment and computer readable storage medium
US20150020167A1 (en)System and method for managing files
WO2024141124A1 (en)Lpa automatic compilation method and system for esim device, and medium
CN118708114A (en) Access control method, device, electronic device and storage medium for storage peripherals
AU2025203413A1 (en)Application centric centralized certificate management system for managing certificates across data centers
US20150188787A1 (en)Integrated solution for application data layer coverage discovery and gap analysis
CN113010587B (en)Data source configuration method, device, terminal, server and medium
CN118764505A (en) Registration method, device, electronic device and storage medium for Internet of Things devices
CN116644453A (en) A rights management method, device and equipment for a file system
CN110008186A (en)For file management method, device, terminal and the medium of more ftp data sources
CN115587015A (en) Data processing method, device, electronic device and storage medium
CN114417306A (en) Data processing method, apparatus, electronic device, and computer-readable storage medium
CN110290435B (en) Optical fiber network management method, device and terminal equipment
CN118764233A (en) Access control rule processing method, device, electronic device and storage medium
CN117055977B (en)Method and device for linking data between code-free applications
CN113542103B (en)Method and device for monitoring invitations of accounts in social communication group and mobile terminal
CN118118219A (en) Public network IP whitelist management method and device based on operation management platform
US20250139560A1 (en)User audit orchestration
CN118779370A (en) Method, device, electronic device and storage medium for implementing business functions
CN117312712A (en)Form submitting method and device, electronic equipment and storage medium
TW202016732A (en)Systems and methods for management of software master data

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp