


技术领域technical field
本申请涉及物理网设备注册领域,并且更具体地,涉及一种设备注册方法、装置、设备及存储介质。The present application relates to the field of physical network device registration, and more specifically, relates to a device registration method, device, device and storage medium.
背景技术Background technique
物联网设备的注册管理是物联网领域中非常重要的一环,相较于互联网领域中的注册有着特殊性,这种特殊性表现在物联网络中每个运维人员都需要维护很多的设备,所以在多个物联网设备注册的时候运维人员需要进行大量的重复工作,导致物联网设备的注册效率低。The registration management of IoT devices is a very important part of the Internet of Things field. Compared with the registration in the Internet field, it has particularity. This particularity is reflected in the fact that every operation and maintenance personnel in the Internet of Things network needs to maintain a lot of devices. , so when multiple IoT devices are registered, operation and maintenance personnel need to do a lot of repetitive work, resulting in low registration efficiency of IoT devices.
发明内容Contents of the invention
根据本申请的实施例,提供了一种设备注册方案。According to an embodiment of the present application, a device registration solution is provided.
在本申请的第一方面,提供了一种设备注册方法。该方法包括:该方法应用于物联网注册系统,所述注册系统包括注册平台、分发平台和注册设备,所述方法包括:In a first aspect of the present application, a device registration method is provided. The method includes: the method is applied to a registration system of the Internet of Things, and the registration system includes a registration platform, a distribution platform and a registration device, and the method includes:
所述注册平台获取注册指令,根据所述注册指令生成账号、密码以及第一激活码,所述第一激活码和所述账号关联;The registration platform obtains a registration instruction, generates an account number, a password, and a first activation code according to the registration instruction, and the first activation code is associated with the account;
所述分发平台获取账号、密码、第一激活码和注册设备输出的第二激活码,当根据所述第二激活码判断所述注册设备属于目标设备时,输出第一激活码至注册设备;The distribution platform obtains an account number, a password, a first activation code, and a second activation code output by the registered device, and outputs the first activation code to the registered device when judging that the registered device belongs to the target device according to the second activation code;
所述注册设备接收所述第一激活码并输出至注册平台;The registration device receives the first activation code and outputs it to the registration platform;
所述注册平台根据所述第一激活码生成关联的设备ID和登录凭证,并将所述设备ID和登录凭证输出至注册设备。The registration platform generates an associated device ID and login credentials according to the first activation code, and outputs the device ID and login credentials to the registration device.
本申请在一较佳示例中可以进一步配置为,所述分发平台获取账号、密码、第一激活码:In a preferred example, the present application can be further configured such that the distribution platform obtains the account number, password, and first activation code:
所述分发平台获取账号和密码,并根据所述账号和密码生成请求指令,发送请求指令至所述注册平台;The distribution platform obtains an account number and a password, generates a request instruction according to the account number and password, and sends the request instruction to the registration platform;
所述注册平台根据所述关联的账号和密码发送第一激活码至所述分发平台。The registration platform sends the first activation code to the distribution platform according to the associated account number and password.
本申请在一较佳示例中可以进一步配置为,当根据所述第二激活码判断所述注册设备属于目标设备时,输出第一激活码至注册设备包括:In a preferred example of the present application, it may be further configured that, when it is judged according to the second activation code that the registration device belongs to the target device, outputting the first activation code to the registration device includes:
所述分发平台判断所述第二激活码是否属于预设的第二激活码库;The distribution platform judges whether the second activation code belongs to a preset second activation code library;
在所述第二激活码属于所述第二激活码库时,输出第一激活码至所述注册设备。outputting the first activation code to the registration device when the second activation code belongs to the second activation code library.
本申请在一较佳示例中可以进一步配置为,所述注册平台根据所述第一激活码生成关联的设备ID和登录凭证,并将所述设备ID和登录凭证输出至注册设备后,所述方法还包括:In a preferred example, the present application may be further configured as follows: the registration platform generates an associated device ID and login credential according to the first activation code, and after outputting the device ID and login credential to the registered device, the Methods also include:
所述注册设备储存所述设备ID和登录凭证。The registration device stores the device ID and login credentials.
本申请在一较佳示例中可以进一步配置为,还包括:In a preferred example, the present application may be further configured to further include:
所述注册设备:The registered device:
步骤S201:启动探针程序;Step S201: start the probe program;
步骤S202:验证所述探针程序是否含有设备ID和登录凭证,若否,则执行步骤S203;Step S202: verify whether the probe program contains the device ID and login credentials, if not, execute step S203;
步骤S203:验证所述探针程序是否含有第一激活码,若否,则执行步骤S204;Step S203: verify whether the probe program contains the first activation code, if not, execute step S204;
步骤S204:在所述探针程序不含有第一激活码时,发送第二激活码至所述分发平台;Step S204: when the probe program does not contain the first activation code, send the second activation code to the distribution platform;
步骤S205:从分发平台处获取第一激活码;Step S205: Obtain the first activation code from the distribution platform;
步骤S206:发送第一激活码至注册平台;Step S206: Send the first activation code to the registration platform;
步骤S207:并将所述设备ID和登录凭证输出至注册设备并将所述设备ID和登录凭证存入所述注册设备内;Step S207: outputting the device ID and login credentials to the registration device and storing the device ID and login credentials in the registration device;
步骤S208:根据所述设备ID和所述登录凭证与所述注册平台连接。Step S208: Connect with the registration platform according to the device ID and the login credentials.
本申请在一较佳示例中可以进一步配置为,所述步骤S202:验证所述探针程序是否含有设备ID和登录凭证,若否,则执行步骤S203,还包括:In a preferred example, the present application can be further configured as, the step S202: verify whether the probe program contains a device ID and a login credential, if not, execute step S203, which also includes:
若是,则执行步骤S208If yes, execute step S208
在所述探针程序不含有所述设备ID和登录凭证时,跳转至步骤S108。When the probe program does not contain the device ID and login credential, jump to step S108.
本申请在一较佳示例中可以进一步配置为,所述步骤S203:验证所述探针程序是否含有第一激活码,若否,则执行步骤步骤S204,还包括:In a preferred example, the present application can be further configured as, the step S203: verify whether the probe program contains the first activation code, if not, execute the step S204, which also includes:
若是,则执行步骤S206。If yes, execute step S206.
本申请提供了一种设备注册方法,用户通过注册平台注册账号和密码,运维人员通过在分发平台输入账号密码,开启注册设备,从而达到注册设备自动注册的目的,具有在一定程度上提高联网设备的注册效率的效果。This application provides a device registration method. The user registers an account number and password through the registration platform, and the operation and maintenance personnel enter the account password on the distribution platform to open the registration device, so as to achieve the purpose of automatic registration of the registration device and improve the network connection to a certain extent. The effect of device registration efficiency.
在本申请的第二方面,提供了一种设备注册装置。该装置包括:In a second aspect of the present application, a device registration device is provided. The unit includes:
注册平台,所述注册平台包括激活码生成模块和登录生成模块;A registration platform, which includes an activation code generation module and a login generation module;
所述激活码生成模块用于获取注册指令,根据所述注册指令生成账号、密码以及第一激活码,所述第一激活码和所述账号关联;The activation code generating module is used to obtain a registration instruction, and generate an account number, a password, and a first activation code according to the registration instruction, and the first activation code is associated with the account;
所述登录生成模块用于根据所述第一激活码生成关联的设备ID和登录凭证,并将所述设备ID和登录凭证输出至注册设备;The login generation module is used to generate an associated device ID and login credentials according to the first activation code, and output the device ID and login credentials to the registration device;
分发平台,用于获取账号、密码、第一激活码和注册设备输出的第二激活码,当根据所述第二激活码判断所述注册设备属于目标设备时,输出第一激活码至注册设备;The distribution platform is used to obtain the account number, password, first activation code and the second activation code output by the registered device, and output the first activation code to the registered device when it is judged that the registered device belongs to the target device according to the second activation code ;
注册设备,用于接收所述第一激活码并输出至注册平台。The registration device is configured to receive the first activation code and output it to the registration platform.
在本申请的第三方面,提供了一种电子设备。该电子设备包括:存储器和处理器,所述存储器上存储有计算机程序,所述处理器执行所述程序时实现如以上所述的方法。In a third aspect of the present application, an electronic device is provided. The electronic device includes: a memory and a processor, where a computer program is stored in the memory, and the processor implements the method as described above when executing the program.
在本申请的第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如根据本申请的第一方面的方法。In a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method according to the first aspect of the present application is implemented.
应当理解,发明内容部分中所描述的内容并非旨在限定本申请的实施例的关键或重要特征,亦非用于限制本申请的范围。本申请的其它特征将通过以下的描述变得容易理解。It should be understood that the content described in the Summary of the Invention is not intended to limit the key or important features of the embodiments of the application, nor is it intended to limit the scope of the application. Other features of the present application will become easily understood from the following description.
附图说明Description of drawings
结合附图并参考以下详细说明,本申请各实施例的上述和其他特征、优点及方面将变得更加明显。在附图中,相同或相似的附图标记表示相同或相似的元素,其中:The above and other features, advantages and aspects of the various embodiments of the present application will become more apparent with reference to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, identical or similar reference numerals denote identical or similar elements, wherein:
图1示出了根据本申请的实施例的一种设备注册方法的流程图。Fig. 1 shows a flow chart of a device registration method according to an embodiment of the present application.
图2示出了根据本申请的实施例的物联网设计注册装置方框图。Fig. 2 shows a block diagram of an apparatus for registering designs of the Internet of Things according to an embodiment of the present application.
图3示出了适于用来实现本申请实施例的终端设备或服务器的结构示意图。Fig. 3 shows a schematic structural diagram of a terminal device or a server suitable for implementing the embodiment of the present application.
附图标记说明:1、注册平台;11、激活码生成模块;12、登录生成模块;2、分发平台;4、注册设备;301、CPU;302、ROM;303、RAM;304、总线;305、I/O接口;306、输入部分;307、输出部分;308、存储部分;309、通信部分;310、驱动器;311、可拆卸介质。Description of reference signs: 1. registration platform; 11. activation code generation module; 12. login generation module; 2. distribution platform; 4. registration device; 301, CPU; 302, ROM; 303, RAM; 304, bus; 305 . I/O interface; 306. input part; 307. output part; 308. storage part; 309. communication part; 310. drive; 311. removable medium.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的全部其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.
注册设备的注册和管理是物联网领域中非常重要的一环,相较于互联网领域中的注册有着特殊性,例如在互联网领域中,注册的对象是虚拟的,注册只需要用户自己便可以完成注册的全流程;但在物联网领域中,注册设备是实体,在注册时需要专业的运维人员到现场对注册设备进行安装和注册;且每个运维人员需要维护的注册设备非常多,在注册设备时,如果运维人员对注册设备一个一个的进行注册,将会耗费大量的时间。The registration and management of registered devices is a very important part of the Internet of Things field. Compared with the registration in the Internet field, it has particularities. For example, in the Internet field, the registered object is virtual, and the registration can only be completed by the user himself. The whole process of registration; however, in the field of Internet of Things, registered devices are entities, and professional operation and maintenance personnel are required to install and register the registered devices on site during registration; and each operation and maintenance personnel needs to maintain a large number of registered devices, When registering devices, if the operation and maintenance personnel register the registered devices one by one, it will take a lot of time.
且注册设备在出厂的时候,注册设备并不确定将来会与哪个具体的用户关联。Moreover, when the registered device leaves the factory, it is not sure which specific user the registered device will be associated with in the future.
在本申请下,用户通过在注册平台下注册账号和密码,运维人员前往用户和注册设备所在地进行安装和注册,运维人员持有分发平台,让分发平台与注册设备处于同一局域网下,注册设备处于打开状态,通过分发平台获取用户的账号、密码和第一激活码,获取注册设备的第二激活码,分发平台验证注册设备属于目标设备后,发送第一激活码至注册设备,注册设备接收第一激活码并发送至注册平台,注册平台根据第一激活码生成设备ID和登录凭证并发送至注册设备,注册设备储存设备ID和登录凭证,通过上述方法,能够提高物联网注册设备的注册效率。Under this application, the user registers an account number and password under the registration platform, and the operation and maintenance personnel go to the location of the user and the registered device to install and register. When the device is turned on, the user’s account, password, and first activation code are obtained through the distribution platform, and the second activation code of the registered device is obtained. After the distribution platform verifies that the registered device belongs to the target device, the first activation code is sent to the registered device, and the device is registered. Receive the first activation code and send it to the registration platform. The registration platform generates a device ID and login credentials based on the first activation code and sends them to the registration device. The registration device stores the device ID and login credentials. Through the above method, the IoT registration device can be improved. Registration efficiency.
图一示出了本申请实施例一种设备注册方法,方法应用于物联网注册系统,所述注册系统包括注册平台1、分发平台2和注册设备4,所述方法包括:Figure 1 shows a device registration method according to an embodiment of the present application. The method is applied to the registration system of the Internet of Things. The registration system includes a
步骤S110,所述注册平台1获取注册指令根据所述注册指令生成账号、密码以及第一激活码,所述第一激活码和所述账号关联;Step S110, the
在实际的操作过程中,注册平台1为互联网服务端,注册设备4的租户可以在互联网服务端进行注册,用户输入用户设置的账号和密码,互联网服务端发出注册指令,注册平台1接收注册指令后生成第一激活码,并将第一激活码与账号密码关联;显而易见的,为了完成多个注册设备4的注册,平台接收注册指令后生成多个第一激活码,并将账号和密码与多个第一激活关联。In the actual operation process, the
步骤S120,所述分发平台2获取账号、密码、第一激活码和注册设备4输出的第二激活码;Step S120, the distribution platform 2 acquires an account number, a password, a first activation code and a second activation code output by the
步骤S121,所述分发平台2获取账号和密码,并根据所述账号密码生成请求指令,发送请求指令至所述注册平台1;Step S121, the distribution platform 2 obtains an account number and password, generates a request instruction according to the account password, and sends the request instruction to the
在需要对这次设备进行注册时,分发平台2和注册设备4处于同一局域网下,分发平台2为对注册设备4进行注册的运维人员专有,注册设备4的租户不具有分发平台2。When the device needs to be registered this time, the distribution platform 2 and the registered
运维人员通过分发平台2输入账号和密码,在登录成功时,分发平台2获取账号和密码并生成请求指令,分发平台2发送请求指令至注册平台1,请求指令为请求注册平台1发送第一激活码至分发平台2且请求指令内包含有账号密码的信息,且该请求指令只请求该账号密码下的第一激活码。The operation and maintenance personnel enter the account number and password through the distribution platform 2. When the login is successful, the distribution platform 2 obtains the account number and password and generates a request instruction. The distribution platform 2 sends the request instruction to the
步骤S122,所述注册平台1根据所述关联的账号和密码发送第一激活码至所述分发平台2。Step S122, the
在注册平台1接收请求指令后,注册平台1调取与该请求指令相关的账号和密码,并调取和该账号密码关联多个第一激活码中的一个,注册平台1将任一第一激活码发送至分发平台2,且发送至分发平台2的第一激活码从这一些第一激活码中删除。After the
步骤S123,获取注册设备4内预设的第二激活码;Step S123, obtaining the second activation code preset in the
注册设备4在出厂时会预设有第二激活码,开启待注册的注册设备4,未注册的注册设备4会定时发出第二激活码,分发平台2接收第二激活码。The
步骤S130,当根据所述第二激活码判断所述注册设备4属于目标设备时,输出第一激活码至注册设备4;Step S130, outputting the first activation code to the
步骤S131,所述分发平台2判断所述第二激活码是否属于所述第二激活码库;Step S131, the distribution platform 2 judges whether the second activation code belongs to the second activation code library;
在分发平台2内设置有第二激活码库,第二激活码库内包括所有出厂的设备内预设的第二激活码,分发平台2遍布第二激活码库,从中找取相同的第二激活码,若第二激活码库中包含该第二激活码,则该第二激活码属于第二激活码库,跳转至步骤S132;A second activation code library is provided in the distribution platform 2, and the second activation code library includes the preset second activation codes in all ex-factory devices. The distribution platform 2 is spread all over the second activation code library, from which the same second Activation code, if the second activation code library contains the second activation code, then the second activation code belongs to the second activation code library, and jump to step S132;
若第二激活码库中不包含该第二激活码,则该第二激活码不属于第二激活码库,此流程终止。If the second activation code library does not contain the second activation code, the second activation code does not belong to the second activation code library, and the process ends.
通过验证第二激活码,能够对注册设备4进行验证,从而验证该注册设备4是否为目标设备,可以理解的是,该目标设备为厂家生产的正版设备或能够被分发平台2处理的注册设备4。By verifying the second activation code, the registered
步骤S132,在所述第二激活码属于所述第二激活码库时,所述分发平台2发送第一激活码至所诉注册平台1;Step S132, when the second activation code belongs to the second activation code library, the distribution platform 2 sends the first activation code to the
在第二激活码属于第二激活码库时,说明预存有该第二激活码的注册设备4属于目标设备。When the second activation code belongs to the second activation code library, it means that the
步骤S140,所述注册设备4接收所述第一激活码并输出至注册平台1;Step S140, the
在具体的操作过程中,注册设备4接收与账号密码关联的第一激活码,并将第一激活码储存在注册设备4的探针程序中,能够使得注册设备4与该第一激活码关联的账号密码产生关联,在将第一激活码储存在注册设备4的探针程序中后,输出第一激活码至注册平台1。In the specific operation process, the
步骤S150,所述注册平台1根据所述第一激活码生成关联的设备ID和登录凭证,并将所述设备ID和登录凭证输出至注册设备4;Step S150, the
注册平台1接收注册设备4发送的第一激活码,此时说明注册设备4内存储有第一激活码,注册平台1根据与账号密码关联的第一激活码生成设备ID和登录凭证,并将设备ID与登录凭证与账号密码关联,发送设备ID和账号密码至注册设备4,设备ID便于后续注册平台1对注册设备4的控制与管理,登录凭证用于让注册设备4与平台建立联系、The
步骤S160,所述注册设备4储存所述设备ID和登录凭证;Step S160, the
注册设备4接收设备ID和登录凭证,此时该注册设备4完成注册,与唯一的第一激活码建立了关联,后续用户也可通过账号密码登录注册平台1对注册设备4进行控制与管理。The
需要说明的是,注册设备4内储存的设备ID和登录凭证会存在一定时间的有效期,在有效期的时间到达后,注册设备4将无法与注册平台1建立联系,为了在设备ID和登录凭证过期后,注册设备4重新获取设备ID和登录凭证。注册设备4在启动时,包括:It should be noted that the device ID and login credentials stored in the registered
步骤S201,启动探针程序;Step S201, start the probe program;
注册设备4在启动时,自动启动探针程序。When the
步骤S202,验证所述探针程序是否含有设备ID和登录凭证;Step S202, verifying whether the probe program contains device ID and login credentials;
注册设备4运行探针程序,验证设备内是否具有设备ID和登录凭证,从而验证注册设备4是否与注册平台1建立联系。The
步骤S2031,在所述探针程序含有所述设备ID和登录凭证时,跳转至步骤S208;Step S2031, when the probe program contains the device ID and login credentials, jump to step S208;
在探针程序内含有设备ID和登录凭证时,说明该注册设备4已经与注册平台1建立了联系。When the probe program contains the device ID and login credential, it means that the
步骤S2032,在所述探针程序不含有所述设备ID和登录凭证时,验证所述探针程序是否含有第一激活码;Step S2032, when the probe program does not contain the device ID and login credentials, verify whether the probe program contains a first activation code;
在探针程序内不含有设备ID和登录凭证时,说明该注册设备4没有与注册平台1建立联系,需要对该注册设备4进行处理,验证该注册设备4内的探针程序是否含有第一激活码,从而判断该注册设备4是否与分发平台2建立关联。If the probe program does not contain the device ID and login credentials, it means that the registered
步骤S2041,在所述探针程序含有第一激活码时,跳转至步骤S206;Step S2041, when the probe program contains the first activation code, jump to step S206;
在探针程序内含有第一激活码时,说明注册设备4已经与分发平台2建立了关联,则该注册设备4只需要从注册平台1处获得设备ID和登录凭证即可。When the probe program contains the first activation code, it means that the
步骤S2042,在所述探针程序不含有第一激活码时,发送第二激活码至所述分发平台2;Step S2042, when the probe program does not contain the first activation code, send the second activation code to the distribution platform 2;
在探针程序内不含有第一激活码时,说明设备没有与分发平台2建立关联,则该注册设备4需要进行完整的注册流程,则该注册设备4将第二激活码发送至分发平台2处进行设备验证。When the probe program does not contain the first activation code, it means that the device is not associated with the distribution platform 2, and the
步骤S205,从分发平台2处获取第一激活码;Step S205, obtaining the first activation code from the distribution platform 2;
步骤S206,发送第一激活码至注册平台1;Step S206, sending the first activation code to the
步骤S207,获取设备ID和登录凭证并将所述设备ID和登录凭证存入探针程序内;Step S207, obtaining the device ID and login credentials and storing the device ID and login credentials in the probe program;
通过将与账号密码关联的设备ID和登录凭证存储进探针程序内,使得注册设备4与注册平台1建立关联,完成注册设备4的注册流程。By storing the device ID and login credentials associated with the account password into the probe program, the
步骤S208,凭借所述设备ID和所述登录凭证与所述注册平台1连接;Step S208, connecting with the
通过探针程序内存储的与注册平台1关联的设备ID和登录凭证与注册平台1连接,使得注册平台1能够对注册设备4进行管理与操作。The device ID and login credentials associated with the
在具体的事例中,用户在厂家订购了5个摄像头,该摄像头为待注册设备4,用户在厂家的注册平台1注册了用户独有的账号和密码,在注册时,用户需输入购买的设备种类和购买的数量,或只输入购买摄像头的数量,注册平台1在账号和密码注册成功时生成5个第一激活码并与账号和密码关联,厂家发送5个摄像头至用户,并发送分发平台2至用户,该分发平台2可以是执行该过程的软件,可以是执行该过程的设备,亦可以是执行该过程的服务器,分发平台2为用户的运维人员独有,该运维人员可以是用户本人或用户指定的人员,运维人员在分发平台2上登录用户的账号和密码,分发平台2同步注册平台1内与该账号和密码关联的第一激活码,分发平台2获取摄像头内预设的第二激活码,分发平台2验证该摄像头属于目标设备,分发平台2发送5个第一激活码中人任一第一激活码至注册设备4,并标记该第一激活码为已使用,注册设备4接收第一激活码并将第一激活码发送至注册平台1,注册平台1根据第一激活码生成与第一激活码关联设备ID和登录凭证,并将设备ID和登录凭证发送至注册设备4,注册设备4储存设备ID和登录凭证。In a specific example, the user ordered 5 cameras from the manufacturer. The camera is the device to be registered 4. The user registered the user's unique account number and password on the manufacturer's
通过上述过程,即可自动完成注册设备4的注册流程,减少运维人员的重复工作时间。Through the above process, the registration process of the registered
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the application.
以上是关于方法实施例的介绍,以下通过装置实施例,对本申请所述方案进行进一步说明。The above is the introduction of the method embodiments, and the solution described in the present application will be further described through the device embodiments below.
图2示出了本申请实施例一种设备注册装置的方框图,如图装置包括:Figure 2 shows a block diagram of a device registration device according to an embodiment of the present application, as shown in the figure, the device includes:
注册平台1,注册平台1包括激活码生成模块11和登录生成模块12;
激活码生成模块11用于获取注册指令,根据注册指令生成账号、密码以及第一激活码,第一激活码和账号关联;The activation
登录生成模块12用于根据第一激活码生成关联的设备ID和登录凭证,并将设备ID和登录凭证输出至注册设备4;The
分发平台2,用于获取账号、密码、第一激活码和注册设备4输出的第二激活码,当根据第二激活码判断注册设备4属于目标设备时,输出第一激活码至注册设备4;The distribution platform 2 is used to obtain the account number, password, first activation code and the second activation code output by the
注册设备4,用于接收第一激活码并输出至注册平台1。The
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,所述描述的模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the described modules can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
图3示出了适于用来实现本申请实施例的电子设备的结构示意图。Fig. 3 shows a schematic structural diagram of an electronic device suitable for implementing the embodiments of the present application.
如图3所示,电子设备包括中央处理单元(CPU)301,其可以根据存储在只读存储器(ROM)302中的程序或者从存储部分308加载到随机访问存储器(RAM)303中的程序而执行各种适当的动作和处理。在RAM 303中,还存储有系统300操作所需的各种程序和数据。CPU301、ROM 302以及RAM 303通过总线304彼此相连。输入/输出(I/O)接口305也连接至总线304。As shown in FIG. 3 , the electronic device includes a central processing unit (CPU) 301 that can operate according to a program stored in a read-only memory (ROM) 302 or a program loaded from a
以下部件连接至I/O接口305:包括键盘、鼠标等的输入部分306;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分307;包括硬盘等的存储部分308;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分309。通信部分309经由诸如因特网的网络执行通信处理。驱动器310也根据需要连接至I/O接口305。可拆卸介质311,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器310上,以便于从其上读出的计算机程序根据需要被安装入存储部分308。The following components are connected to the I/O interface 305: an
特别地,根据本申请的实施例,上文参考流程图图1描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在机器可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分309从网络上被下载和安装,和/或从可拆卸介质311被安装。在该计算机程序被中央处理单元(CPU)301执行时,执行本申请的系统中限定的上述功能。In particular, according to an embodiment of the present application, the process described above with reference to the flowchart FIG. 1 may be implemented as a computer software program. For example, the embodiments of the present application include a computer program product, which includes a computer program carried on a machine-readable medium, where the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via
需要说明的是,本申请所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in this application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,前述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元或模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元或模块也可以设置在处理器中,例如,可以描述为:一种处理器包括注册平台、分发平台、注册设备。其中,这些单元或模块的名称在某种情况下并不构成对该单元或模块本身的限定,例如,注册平台还可以被描述为“用于注册物联网设备管理方账号密码的模块”。The units or modules involved in the embodiments described in the present application may be implemented by means of software or by means of hardware. The described units or modules may also be set in a processor, for example, it may be described as: a processor includes a registration platform, a distribution platform, and a registration device. Wherein, the names of these units or modules do not constitute limitations on the units or modules themselves under certain circumstances. For example, the registration platform can also be described as "a module for registering the account password of the IoT device manager".
作为另一方面,本申请还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中的。上述计算机可读存储介质存储有一个或者多个程序,当上述前述程序被一个或者一个以上的处理器用来执行描述于本申请的待注册设备。As another aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium may be contained in the electronic device described in the above-mentioned embodiments; in electronic equipment. The above-mentioned computer-readable storage medium stores one or more programs, when the above-mentioned programs are used by one or more processors to execute the device to be registered described in this application.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的申请范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离前述申请构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中申请的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principle. Those skilled in the art should understand that the application scope involved in this application is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but should also cover the technical solutions made by the above-mentioned technical features or Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions in this application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211531767.8ACN115914357B (en) | 2022-12-01 | 2022-12-01 | Equipment registration method, device, equipment and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211531767.8ACN115914357B (en) | 2022-12-01 | 2022-12-01 | Equipment registration method, device, equipment and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN115914357Atrue CN115914357A (en) | 2023-04-04 |
| CN115914357B CN115914357B (en) | 2025-03-11 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211531767.8AActiveCN115914357B (en) | 2022-12-01 | 2022-12-01 | Equipment registration method, device, equipment and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN115914357B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103078904A (en)* | 2012-12-24 | 2013-05-01 | 惠州Tcl家电集团有限公司 | Household appliance control method, and household appliance and server adopting same |
| CN104967595A (en)* | 2014-10-31 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for registering devices on Internet of things platform |
| CN105242644A (en)* | 2014-06-06 | 2016-01-13 | 佛山市顺德区美的电热电器制造有限公司 | Household electrical appliance, activation method, activation system, internet of things server and terminal |
| CN106713230A (en)* | 2015-11-13 | 2017-05-24 | 深圳市光峰光电技术有限公司 | Method of projection equipment for registering internet of things and projection equipment and user terminal |
| CN106936835A (en)* | 2017-03-21 | 2017-07-07 | 厦门中控生物识别信息技术有限公司 | The method and system that equipment is accessed |
| US20190347669A1 (en)* | 2018-05-08 | 2019-11-14 | Mastercard International Incorporated | Methods and systems for secure product activation |
| CN113556723A (en)* | 2020-04-01 | 2021-10-26 | 深圳Tcl数字技术有限公司 | Intelligent device activation method, intelligent device and intelligent device activation system |
| CN113691515A (en)* | 2021-08-16 | 2021-11-23 | 江苏紫清信息科技有限公司 | Method for safe and rapid access of Internet of things equipment to management platform |
| CN115412920A (en)* | 2022-08-16 | 2022-11-29 | 杭州萤石软件有限公司 | Internet of things equipment binding system, method and device and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103078904A (en)* | 2012-12-24 | 2013-05-01 | 惠州Tcl家电集团有限公司 | Household appliance control method, and household appliance and server adopting same |
| CN105242644A (en)* | 2014-06-06 | 2016-01-13 | 佛山市顺德区美的电热电器制造有限公司 | Household electrical appliance, activation method, activation system, internet of things server and terminal |
| CN104967595A (en)* | 2014-10-31 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for registering devices on Internet of things platform |
| CN106713230A (en)* | 2015-11-13 | 2017-05-24 | 深圳市光峰光电技术有限公司 | Method of projection equipment for registering internet of things and projection equipment and user terminal |
| CN106936835A (en)* | 2017-03-21 | 2017-07-07 | 厦门中控生物识别信息技术有限公司 | The method and system that equipment is accessed |
| US20190347669A1 (en)* | 2018-05-08 | 2019-11-14 | Mastercard International Incorporated | Methods and systems for secure product activation |
| CN113556723A (en)* | 2020-04-01 | 2021-10-26 | 深圳Tcl数字技术有限公司 | Intelligent device activation method, intelligent device and intelligent device activation system |
| CN113691515A (en)* | 2021-08-16 | 2021-11-23 | 江苏紫清信息科技有限公司 | Method for safe and rapid access of Internet of things equipment to management platform |
| CN115412920A (en)* | 2022-08-16 | 2022-11-29 | 杭州萤石软件有限公司 | Internet of things equipment binding system, method and device and electronic equipment |
| Publication number | Publication date |
|---|---|
| CN115914357B (en) | 2025-03-11 |
| Publication | Publication Date | Title |
|---|---|---|
| KR102080156B1 (en) | Auto Recharge System, Method and Server | |
| CN110430280B (en) | Account automatic login method and system, storage medium and cloud desktop server | |
| CN112968797B (en) | Application configuration method, system and storage medium of cloud service software | |
| CN110602098A (en) | Identity authentication method, device, equipment and storage medium | |
| CN112966308A (en) | Software delivery method, processing device and storage medium | |
| CN114357512B (en) | A browser-based privacy computing method, electronic device, and storage medium | |
| CN115130012B (en) | Method, device, electronic device and storage medium for joining a group | |
| CN117499873B (en) | Short message processing method, device, electronic device and storage medium | |
| CN109635529A (en) | Account shares detection method, device, medium and electronic equipment | |
| MX2007013310A (en) | Method, system, and program product for connecting a client to a network. | |
| CN116170201A (en) | Authentication method and device suitable for cloud product and storage medium | |
| CN115150072A (en) | Cloud network issuance and authentication method, equipment, device and storage medium | |
| CN115914357A (en) | Equipment registration method, device, equipment and storage medium | |
| CN112905990A (en) | Access method, client, server and access system | |
| CN117454035B (en) | Business document display method and device, electronic equipment and readable storage medium | |
| CN109359455B (en) | Cloud desktop login method and device and computer readable storage medium | |
| CN116155547A (en) | Intelligent device management method, device, electronic device and storage medium | |
| CN116684874A (en) | Application program access method, device, equipment, medium and program product | |
| CN108804713B (en) | Image output method, electronic device, and computer-readable medium | |
| CN114417318A (en) | Method, device and electronic device for jumping to third-party pages | |
| JP7385507B2 (en) | Two-factor authentication system, two-factor authentication method, two-factor authentication program and authentication operation application | |
| CN112910643A (en) | Method and device for generating random number in block chain | |
| CN115694837B (en) | Network token management method, device, equipment and medium | |
| CN117061577B (en) | Control method, device, system, equipment and storage medium of Internet of Things equipment | |
| CN115037483B (en) | Authentication method and device based on biological characteristics in blockchain |
| 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 |