[go: up one dir, main page]

CN115766662A - Registration method and server of a cloud device - Google Patents

Registration method and server of a cloud device Download PDF

Info

Publication number
CN115766662A
CN115766662A CN202211342403.5A CN202211342403A CN115766662A CN 115766662 A CN115766662 A CN 115766662A CN 202211342403 A CN202211342403 A CN 202211342403A CN 115766662 A CN115766662 A CN 115766662A
Authority
CN
China
Prior art keywords
cloud
domain name
dhcp
key information
cloud device
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.)
Withdrawn
Application number
CN202211342403.5A
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.)
Xinhua San Industrial Internet Co ltd
Original Assignee
Xinhua San Industrial Internet 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 Xinhua San Industrial Internet Co ltd filed Critical Xinhua San Industrial Internet Co ltd
Priority to CN202211342403.5A priority Critical patent/CN115766662A/en
Publication of CN115766662A publication Critical patent/CN115766662A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

本说明书提供一种云设备的注册方法和服务器,该方法包括:获取云设备接入网络的VLAN信息,根据所述VLAN信息获取所述云设备的地址信息,根据所述地址信息向所述云设备发送DHCP报文,所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息,以使所述云设备根据所述域名和/或密钥信息向云平台注册。通过该方法,可以实现云设备自动向云平台注册。

Figure 202211342403

This specification provides a cloud device registration method and server. The method includes: obtaining the VLAN information of the cloud device access network, obtaining the address information of the cloud device according to the VLAN information, and sending the cloud device to the cloud device according to the address information. The device sends a DHCP message, and the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform, so that the cloud device registers with the cloud platform according to the domain name and/or key information . Through this method, the cloud device can be automatically registered with the cloud platform.

Figure 202211342403

Description

一种云设备的注册方法和服务器Registration method and server of a cloud device

技术领域technical field

本公开涉及通信技术领域,尤其涉及一种云设备的注册方法和服务器。The present disclosure relates to the field of communication technologies, and in particular to a cloud device registration method and server.

背景技术Background technique

DHCP:Dynamic Host Configuration Protocol,动态主机配置协议。DHCP: Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol.

对于中小企业用户,运维能力较低,组网相对简易,全网设备云管的需求迫切,但是目前网络设备(无线、交换、路由、安全)在连接云平台时,需要配置连接云平台的域名、需要指定加入云平台的某一场所。所以用户在将设备连接云平台时,需要对设备进行逐一配置,增加云平台的域名、场所信息。这种方式带来较大工作量的同时也增加了开局难度。For SME users, the operation and maintenance capabilities are low, the networking is relatively simple, and the demand for cloud management of the entire network equipment is urgent. However, when connecting the network equipment (wireless, switching, routing, security) to the cloud platform, it is necessary to configure the cloud platform. Domain name, need to specify a place to join the cloud platform. Therefore, when users connect devices to the cloud platform, they need to configure the devices one by one, and add the domain name and location information of the cloud platform. This approach not only brings a larger workload, but also increases the difficulty of the start.

发明内容Contents of the invention

本公开实施例提供了一种云设备的注册方法和服务器,通过该方法可以实现云设备自动向云平台注册。Embodiments of the present disclosure provide a cloud device registration method and server, through which the cloud device can automatically register with the cloud platform.

本公开实施例提供了一种云设备的注册方法,该方法应用于DHCP中,所述方法包括:An embodiment of the present disclosure provides a method for registering a cloud device, the method is applied in DHCP, and the method includes:

获取云设备接入网络的VLAN信息,根据所述VLAN信息获取所述云设备的地址信息;Obtain the VLAN information of the cloud device accessing the network, and obtain the address information of the cloud device according to the VLAN information;

根据所述地址信息向所述云设备发送DHCP报文,所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息,以使所述云设备根据所述域名和/或密钥信息向云平台注册。Send a DHCP message to the cloud device according to the address information, the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform, so that the cloud device according to the domain name and /or the key information is registered with the cloud platform.

可选的,所述方法还包括:在DHCP中配置与各VLAN对应的云平台的域名和/或密钥信息。Optionally, the method further includes: configuring domain name and/or key information of the cloud platform corresponding to each VLAN in DHCP.

可选的,所述方法还包括:在DHCP中配置与各地址网段对应的平台的域名和/或密钥信息。Optionally, the method further includes: configuring domain name and/or key information of the platform corresponding to each address network segment in DHCP.

其中,所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息,包括:Wherein, the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform, including:

获取DHCP报文的预留字节,将域名和/或密钥信息填入预留字节,以使所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息。Obtain the reserved bytes of the DHCP message, and fill the domain name and/or key information into the reserved bytes, so that the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform .

通过上述各实施例可以看出,管理员可预先在DHCP中配置云平台的域名和/或密钥信息,并可发送给云设备,以实现云设备根据DHCP发送的云平台的域名和/或密钥信息自动向云平台注册。It can be seen from the above embodiments that the administrator can pre-configure the domain name and/or key information of the cloud platform in DHCP, and send it to the cloud device, so that the cloud device sends the domain name and/or key information of the cloud platform according to DHCP. The key information is automatically registered with the cloud platform.

本公开实施例还提供了一种云设备的注册方法,所述方法应用于待接入云平台的云设备,所述方法包括:An embodiment of the present disclosure also provides a cloud device registration method, the method is applied to a cloud device to be connected to the cloud platform, and the method includes:

通过目标VLAN接入网络,并向该网络中的DHCP发送第一报文;Access the network through the target VLAN, and send the first message to the DHCP in the network;

接收DHCP根据第一报文反馈的携带云平台的域名和/或密钥信息的DHCP报文;Receive the DHCP message carrying the domain name and/or key information of the cloud platform fed back by DHCP according to the first message;

根据所述DHCP报文中携带的云平台的域名和/或密钥信息向云平台注册。Register with the cloud platform according to the domain name and/or key information of the cloud platform carried in the DHCP message.

本公开实施例还提供了一种服务器,该服务器使能DHCP,所述服务器包括:An embodiment of the present disclosure also provides a server, the server enables DHCP, and the server includes:

获取模块,用于获取云设备接入网络的VLAN信息,根据所述VLAN信息获取所述云设备的地址信息;An acquisition module, configured to acquire the VLAN information of the cloud device accessing the network, and acquire the address information of the cloud device according to the VLAN information;

发送模块,用于根据所述地址信息向所述云设备发送DHCP报文,所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息,以使所述云设备根据所述域名和/或密钥信息向云平台注册。A sending module, configured to send a DHCP message to the cloud device according to the address information, the DHCP message carrying the domain name and/or key information of the cloud device to be connected to the cloud platform, so that the cloud device Register with the cloud platform according to the domain name and/or key information.

其中,所述服务器还包括:配置模块,Wherein, the server also includes: a configuration module,

所述配置模块,用于在DHCP中配置与各VLAN对应的云平台的域名和/或密钥信息。The configuration module is configured to configure the domain name and/or key information of the cloud platform corresponding to each VLAN in DHCP.

其中,所述服务器还包括:配置模块,Wherein, the server also includes: a configuration module,

所述配置模块,用于在DHCP中配置与各地址网段对应的平台的域名和/或密钥信息。The configuration module is used to configure domain name and/or key information of the platform corresponding to each address network segment in DHCP.

其中,所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息,包括:Wherein, the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform, including:

获取DHCP报文的预留字节,将域名和/或密钥信息填入预留字节,以使所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息。Obtain the reserved bytes of the DHCP message, and fill the domain name and/or key information into the reserved bytes, so that the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform .

本公开实施例还提供了一种云设备,所述云设备包括:An embodiment of the present disclosure also provides a cloud device, and the cloud device includes:

发送模块,用于通过目标VLAN接入网络,并向该网络中的DHCP发送第一报文;A sending module, configured to access the network through the target VLAN, and send the first message to DHCP in the network;

接收模块,用于接收DHCP根据第一报文反馈的携带云平台的域名和/或密钥信息的DHCP报文;The receiving module is used to receive the DHCP message carrying the domain name and/or key information of the cloud platform fed back by DHCP according to the first message;

注册模块,用于根据所述DHCP报文中携带的云平台的域名和/或密钥信息向云平台注册。A registration module, configured to register with the cloud platform according to the domain name and/or key information of the cloud platform carried in the DHCP message.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本说明书的实施例,并与说明书一起用于解释本说明书的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and together with the description serve to explain the principles of the specification.

图1为本公开实施例提供的一种云设备的注册方法的流程示意图。FIG. 1 is a schematic flowchart of a method for registering a cloud device provided by an embodiment of the present disclosure.

图2为本公开实施例提供的一种云设备的注册方法的流程示意图。Fig. 2 is a schematic flowchart of a method for registering a cloud device provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with this specification. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present specification as recited in the appended claims.

在本说明书使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书。在本说明书和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in this specification are for the purpose of describing particular embodiments only, and are not intended to limit the specification. As used in this specification and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

应当理解,尽管在本说明书可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本说明书范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this specification, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination."

目前,需要手工配置云平台域名和在云平台上配置要加入的场所。At present, it is necessary to manually configure the domain name of the cloud platform and configure the places to be joined on the cloud platform.

例如,在设备上配置以下信息:For example, configure the following information on the device:

cloud url xxxxx.xxxx.com(需要对设备逐一配置云平台域名,以方便设备连接云平台)cloud url xxxxx.xxxx.com (you need to configure the domain name of the cloud platform for each device to facilitate the device to connect to the cloud platform)

cloud-manager server password simple xxxx(需要对设备逐一配置即将加入的场所密钥)cloud-manager server password simple xxxx (you need to configure the key of the place to be added to the device one by one)

通过上述方法,使设备在云平台注册过程中,不具备自动化上线和自动化运维能力,对于运维能力较低的用户需要手工对设备进行配置。尤其对于设备比较多的场景,需要对设备逐一扫描和添加,工作量巨大。Through the above method, the device does not have automatic online and automatic operation and maintenance capabilities during the registration process of the cloud platform. Users with low operation and maintenance capabilities need to manually configure the device. Especially for scenarios with many devices, it is necessary to scan and add devices one by one, which is a huge workload.

为了解决上述技术问题,本公开实施例提供了一种云设备的注册方法,如图1所示,所述方法包括:In order to solve the above technical problems, an embodiment of the present disclosure provides a method for registering a cloud device, as shown in FIG. 1 , the method includes:

S101获取云设备接入网络的VLAN信息,根据所述VLAN信息获取所述云设备的地址信息;S101 acquires the VLAN information of the cloud device accessing the network, and acquires the address information of the cloud device according to the VLAN information;

S102根据所述地址信息向所述云设备发送DHCP报文,所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息,以使所述云设备根据所述域名和/或密钥信息向云平台注册。S102 Send a DHCP message to the cloud device according to the address information, and the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform, so that the cloud device can and/or key information to register with the cloud platform.

在本实施例中,云设备可涵盖欲接入云平台的设备,例如,交换设备、云AP、云终端等。为便于说明,后续以云AP进行示例性说明。In this embodiment, the cloud device may cover devices to be connected to the cloud platform, for example, switching devices, cloud APs, cloud terminals, and the like. For ease of description, a cloud AP will be used as an example in the following description.

在步骤S101中,当现场人员将云AP接入场所的网络后,云AP会通过为该场所对应的VLAN连接DHCP,用于获取相应的地址信息,此时,DHCP便可获取该云AP对应的VLAN信息和为该云AP分配的地址信息。In step S101, when the on-site personnel connect the cloud AP to the network of the site, the cloud AP will connect to DHCP for the VLAN corresponding to the site to obtain the corresponding address information. At this time, DHCP can obtain the corresponding address information of the cloud AP. VLAN information and address information assigned to the cloud AP.

为了实现本公开中通过DHCP为云设备发送待接入云平台的域名和/或密钥信息,本公开实施例还提供了一种预配云平台的域名和/或密钥信息的方法,具体的,管理人员可在DHCP服务器中,输入相关的云平台的域名和/或密钥信息,并建立云平台的域名和/或密钥信息与VLAN信息的对应关系。In order to realize the domain name and/or key information for the cloud device to be connected to the cloud platform through DHCP in the present disclosure, the embodiment of the present disclosure also provides a method for pre-configuring the domain name and/or key information of the cloud platform, specifically Yes, the administrator can enter the domain name and/or key information of the relevant cloud platform in the DHCP server, and establish the corresponding relationship between the domain name and/or key information of the cloud platform and VLAN information.

在一种情况中,一个场景中的所有云设备只需要接入一个云平台,例如,位于A地点的咖啡厅,该咖啡厅内的各云设备(如云AP、电脑等)只需要接入位于B地点总部的云管理平台,此时,管理人员可以将A地点的咖啡厅内的各VLAN信息(也可能只分配了一个VLAN信息)与B地点总部的云管理平台的域名和/或密钥信息设置对应关系。In one case, all cloud devices in a scene only need to access one cloud platform. The cloud management platform located at the headquarters of location B, at this time, the administrator can link each VLAN information in the coffee shop at location A (or only one VLAN information is allocated) with the domain name and/or password of the cloud management platform of the headquarters of location B. key information to set the corresponding relationship.

在另一种情况中,一个场景中的各云设备需要接入不同云平台,此时,管理员可以根据在DHCP中配置不同VLAN(部分不同VLAN)对应不同的云管理平台的域名和/或密钥信息的对应关系,后续接入不同VLAN的云设备便可获取到不同的域名和/或密钥信息。In another case, each cloud device in a scene needs to access different cloud platforms. At this time, the administrator can configure different VLANs (partially different VLANs) corresponding to different cloud management platform domain names and/or According to the corresponding relationship of key information, cloud devices connected to different VLANs can obtain different domain names and/or key information.

在另一种实施例中,管理员还可针对DHCP中的不同网段配置对应的平台的域名和/或密钥信息,当DHCP接收到云设备接入网络的信息后,可以根据该云终端所属的VLAN信息或其他标示信息为该云设备分配目标网段的地址信息,同时根据该目标网段获取对应的平台的域名和/或密钥信息,并发送给云设备。In another embodiment, the administrator can also configure the domain name and/or key information of the corresponding platform for different network segments in DHCP. When DHCP receives the information that the cloud device accesses the network, it can The belonging VLAN information or other identification information assigns the address information of the target network segment to the cloud device, and at the same time obtains the domain name and/or key information of the corresponding platform according to the target network segment, and sends them to the cloud device.

通过上述各步骤可以看出,通过在DHCP中配置VLAN信息(地址网段)与云平台的域名和/或密钥信息的对应关系,可以实现DHCP自动向云设备发送对应的云平台的域名和/或密钥信息,无需人员在云设备上逐一配置,实现了自动化。As can be seen from the above steps, by configuring the correspondence between the VLAN information (address network segment) and the domain name and/or key information of the cloud platform in DHCP, DHCP can automatically send the domain name and key information of the corresponding cloud platform to the cloud device. / or key information, without the need for personnel to configure one by one on the cloud device, which realizes automation.

在步骤S102中,DHCP可通过DHCP报文中的Option字段实现携带云设备待接入云平台的域名和/或密钥信息。In step S102, the DHCP can carry the domain name and/or key information of the cloud device to be connected to the cloud platform through the Option field in the DHCP message.

在一种示例中,可用Option 252字段和Option 253。In one example, the Option 252 field and Option 253 are available.

例如,Option 252字段用来标识场所密钥,密钥由云平台生成,存到U盘配置中,网关使用U盘开局后,向下分配的地址均携带Option选项。For example, the Option 252 field is used to identify the site key. The key is generated by the cloud platform and stored in the USB disk configuration. After the gateway uses the USB disk for deployment, the addresses assigned downwards all carry the Option option.

Option 253字段用来标识云平台域名,将带有域名配置的文件,存到U盘中,网关使用U盘开局后,向下分配的地址均携带Option选项。The Option 253 field is used to identify the domain name of the cloud platform. Save the file with the domain name configuration to the USB flash drive. After the gateway uses the USB flash drive for deployment, the addresses assigned downwards all carry the Option option.

在云设备DHCP报文中的Option 252、Option 253获取到密钥和平台域名后,便可在相应配置后向云平台发送注册信息,以完成云平台注册步骤。After Option 252 and Option 253 in the DHCP message of the cloud device obtain the key and platform domain name, the registration information can be sent to the cloud platform after corresponding configuration to complete the cloud platform registration step.

在一种实际场景中,管理员预先对DHCP服务器配置Option252、253选项,其中252为场所标识(场所密钥),253为域名标识。In an actual scenario, the administrator pre-configures Option 252 and Option 253 on the DHCP server, where 252 is a location identifier (location key), and 253 is a domain name identifier.

云设备通过VLAN 1接入,DHCP获取注册地址。The cloud device is connected through VLAN 1, and DHCP obtains the registration address.

DHCP服务器通过DHCP option 252、253分配域名和密钥。The DHCP server assigns domain names and keys through DHCP option 252 and 253.

云设备依据密钥和域名自动连接、注册云平台。The cloud device automatically connects and registers with the cloud platform based on the key and domain name.

在注册成功后通过配置模板下发配置。After the registration is successful, the configuration is delivered through the configuration template.

相应的,针对云设备来说管理员无需进行现场配置,由此,本公开实施例提供了一种云设备的注册方法,如图2所示,所述方法包括:Correspondingly, administrators do not need to perform on-site configuration for cloud devices. Therefore, embodiments of the present disclosure provide a method for registering cloud devices. As shown in FIG. 2 , the method includes:

S201通过目标VLAN接入网络,并向该网络中的DHCP发送第一报文;S201 accesses the network through the target VLAN, and sends the first message to DHCP in the network;

S202接收DHCP根据第一报文反馈的携带云平台的域名和/或密钥信息的DHCP报文;S202 Receive the DHCP message carrying the domain name and/or key information of the cloud platform fed back by the DHCP according to the first message;

S203根据所述DHCP报文中携带的云平台的域名和/或密钥信息向云平台注册。S203 Register with the cloud platform according to the domain name and/or key information of the cloud platform carried in the DHCP message.

可以看出,云设备可以自动从DHCP中获取欲接入的云平台的密钥和域名,无需人员在云设备上配置。It can be seen that the cloud device can automatically obtain the key and domain name of the cloud platform to be accessed from DHCP, without the need for personnel to configure it on the cloud device.

通过上述各实施例可以看出,管理员可预先在DHCP中配置云平台的域名和/或密钥信息,并可发送给云设备,以实现云设备根据DHCP发送的云平台的域名和/或密钥信息自动向云平台注册。尤其,针对小企业场景中设备数量大、种类多的时候,通过自动化的方式与云平台建立连接、网络开局,节约运维成本,实现整体网络的运维管理相统一。It can be seen from the above embodiments that the administrator can pre-configure the domain name and/or key information of the cloud platform in DHCP, and send it to the cloud device, so that the cloud device sends the domain name and/or key information of the cloud platform according to DHCP. The key information is automatically registered with the cloud platform. In particular, when the number of devices is large and there are many types in the small business scenario, the connection with the cloud platform is established in an automated way, and the network is deployed, saving operation and maintenance costs, and realizing the unified operation and maintenance management of the overall network.

基于上述方法实施例,本公开实施例还提供了一种服务器,该服务器使能DHCP,所述服务器包括:Based on the above method embodiment, the embodiment of the present disclosure also provides a server, the server enables DHCP, and the server includes:

获取模块,用于获取云设备接入网络的VLAN信息,根据所述VLAN信息获取所述云设备的地址信息;An acquisition module, configured to acquire the VLAN information of the cloud device accessing the network, and acquire the address information of the cloud device according to the VLAN information;

发送模块,用于根据所述地址信息向所述云设备发送DHCP报文,所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息,以使所述云设备根据所述域名和/或密钥信息向云平台注册。A sending module, configured to send a DHCP message to the cloud device according to the address information, the DHCP message carrying the domain name and/or key information of the cloud device to be connected to the cloud platform, so that the cloud device Register with the cloud platform according to the domain name and/or key information.

所述服务器还包括:配置模块,The server also includes: a configuration module,

所述配置模块,用于在DHCP中配置与各VLAN对应的云平台的域名和/或密钥信息。The configuration module is configured to configure the domain name and/or key information of the cloud platform corresponding to each VLAN in DHCP.

所述服务器还包括:配置模块,The server also includes: a configuration module,

所述配置模块,用于在DHCP中配置与各地址网段对应的平台的域名和/或密钥信息。The configuration module is used to configure domain name and/or key information of the platform corresponding to each address network segment in DHCP.

所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息,包括:The DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform, including:

获取DHCP报文的预留字节,将域名和/或密钥信息填入预留字节,以使所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息。Obtain the reserved bytes of the DHCP message, and fill the domain name and/or key information into the reserved bytes, so that the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform .

本公开实施例还提供了一种云设备,所述云设备包括:An embodiment of the present disclosure also provides a cloud device, and the cloud device includes:

发送模块,用于通过目标VLAN接入网络,并向该网络中的DHCP发送第一报文;A sending module, configured to access the network through the target VLAN, and send the first message to DHCP in the network;

接收模块,用于接收DHCP根据第一报文反馈的携带云平台的域名和/或密钥信息的DHCP报文;The receiving module is used to receive the DHCP message carrying the domain name and/or key information of the cloud platform fed back by DHCP according to the first message;

注册模块,用于根据所述DHCP报文中携带的云平台的域名和/或密钥信息向云平台注册。A registration module, configured to register with the cloud platform according to the domain name and/or key information of the cloud platform carried in the DHCP message.

上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other implementations are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. Multitasking and parallel processing are also possible or may be advantageous in certain embodiments.

本领域技术人员在考虑说明书及实践这里申请的发明后,将容易想到本说明书的其它实施方案。本说明书旨在涵盖本说明书的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本说明书的一般性原理并包括本说明书未申请的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本说明书的真正范围和精神由下面的权利要求指出。Other embodiments of the description will readily occur to those skilled in the art from consideration of the specification and practice of the invention claimed herein. This description is intended to cover any modification, use or adaptation of this description. These modifications, uses or adaptations follow the general principles of this description and include common knowledge or conventional technical means in this technical field for which this description does not apply . The specification and examples are to be considered exemplary only, with a true scope and spirit of the specification being indicated by the following claims.

应当理解的是,本说明书并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本说明书的范围仅由所附的权利要求来限制。It should be understood that this specification is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the specification is limited only by the appended claims.

以上所述仅为本说明书的较佳实施例而已,并不用以限制本说明书,凡在本说明书的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书保护的范围之内。The above descriptions are only preferred embodiments of this specification, and are not intended to limit this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this specification shall be included in this specification. within the scope of protection.

Claims (10)

1.一种云设备的注册方法,其特征在于,所述方法应用于DHCP中,所述方法包括:1. A registration method of a cloud device, characterized in that, the method is applied in DHCP, and the method comprises: 获取云设备接入网络的VLAN信息,根据所述VLAN信息获取所述云设备的地址信息;Obtain the VLAN information of the cloud device accessing the network, and obtain the address information of the cloud device according to the VLAN information; 根据所述地址信息向所述云设备发送DHCP报文,所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息,以使所述云设备根据所述域名和/或密钥信息向云平台注册。Send a DHCP message to the cloud device according to the address information, the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform, so that the cloud device according to the domain name and /or the key information is registered with the cloud platform. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 在DHCP中配置与各VLAN对应的云平台的域名和/或密钥信息。Configure the domain name and/or key information of the cloud platform corresponding to each VLAN in DHCP. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1, characterized in that the method further comprises: 在DHCP中配置与各地址网段对应的平台的域名和/或密钥信息。Configure the domain name and/or key information of the platform corresponding to each address network segment in DHCP. 4.根据权利要求1所述的方法,其特征在于,所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息,包括:4. The method according to claim 1, wherein the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform, including: 获取DHCP报文的预留字节,将域名和/或密钥信息填入预留字节,以使所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息。Obtain the reserved bytes of the DHCP message, and fill the domain name and/or key information into the reserved bytes, so that the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform . 5.一种云设备的注册方法,其特征在于,所述方法应用于待接入云平台的云设备,所述方法包括:5. A method for registering a cloud device, characterized in that the method is applied to a cloud device to be connected to the cloud platform, and the method includes: 通过目标VLAN接入网络,并向该网络中的DHCP发送第一报文;Access the network through the target VLAN, and send the first message to the DHCP in the network; 接收DHCP根据第一报文反馈的携带云平台的域名和/或密钥信息的DHCP报文;Receive the DHCP message carrying the domain name and/or key information of the cloud platform fed back by DHCP according to the first message; 根据所述DHCP报文中携带的云平台的域名和/或密钥信息向云平台注册。Register with the cloud platform according to the domain name and/or key information of the cloud platform carried in the DHCP message. 6.一种服务器,其特征在于,所述服务器使能DHCP,所述服务器包括:6. A server, characterized in that the server enables DHCP, and the server includes: 获取模块,用于获取云设备接入网络的VLAN信息,根据所述VLAN信息获取所述云设备的地址信息;An acquisition module, configured to acquire the VLAN information of the cloud device accessing the network, and acquire the address information of the cloud device according to the VLAN information; 发送模块,用于根据所述地址信息向所述云设备发送DHCP报文,所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息,以使所述云设备根据所述域名和/或密钥信息向云平台注册。A sending module, configured to send a DHCP message to the cloud device according to the address information, the DHCP message carrying the domain name and/or key information of the cloud device to be connected to the cloud platform, so that the cloud device Register with the cloud platform according to the domain name and/or key information. 7.根据权利要求6所述的服务器,其特征在于,所述服务器还包括:配置模块,7. The server according to claim 6, further comprising: a configuration module, 所述配置模块,用于在DHCP中配置与各VLAN对应的云平台的域名和/或密钥信息。The configuration module is configured to configure the domain name and/or key information of the cloud platform corresponding to each VLAN in DHCP. 8.根据权利要求6所述的服务器,其特征在于,所述服务器还包括:配置模块,8. The server according to claim 6, further comprising: a configuration module, 所述配置模块,用于在DHCP中配置与各地址网段对应的平台的域名和/或密钥信息。The configuration module is used to configure domain name and/or key information of the platform corresponding to each address network segment in DHCP. 9.根据权利要求6所述的服务器,其特征在于,所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息,包括:9. The server according to claim 6, wherein the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform, including: 获取DHCP报文的预留字节,将域名和/或密钥信息填入预留字节,以使所述DHCP报文中携带该云设备待接入云平台的域名和/或密钥信息。Obtain the reserved bytes of the DHCP message, and fill the domain name and/or key information into the reserved bytes, so that the DHCP message carries the domain name and/or key information of the cloud device to be connected to the cloud platform . 10.一种云设备,其特征在于,所述云设备包括:10. A cloud device, characterized in that the cloud device comprises: 发送模块,用于通过目标VLAN接入网络,并向该网络中的DHCP发送第一报文;A sending module, configured to access the network through the target VLAN, and send the first message to DHCP in the network; 接收模块,用于接收DHCP根据第一报文反馈的携带云平台的域名和/或密钥信息的DHCP报文;The receiving module is used to receive the DHCP message carrying the domain name and/or key information of the cloud platform fed back by DHCP according to the first message; 注册模块,用于根据所述DHCP报文中携带的云平台的域名和/或密钥信息向云平台注册。A registration module, configured to register with the cloud platform according to the domain name and/or key information of the cloud platform carried in the DHCP message.
CN202211342403.5A 2022-10-31 2022-10-31 Registration method and server of a cloud device Withdrawn CN115766662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211342403.5A CN115766662A (en) 2022-10-31 2022-10-31 Registration method and server of a cloud device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211342403.5A CN115766662A (en) 2022-10-31 2022-10-31 Registration method and server of a cloud device

Publications (1)

Publication Number Publication Date
CN115766662A true CN115766662A (en) 2023-03-07

Family

ID=85354297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211342403.5A Withdrawn CN115766662A (en) 2022-10-31 2022-10-31 Registration method and server of a cloud device

Country Status (1)

Country Link
CN (1) CN115766662A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888324A (en) * 2012-12-21 2014-06-25 三星电子株式会社 Electronic device, personal cloud apparatus, personal cloud system and method for registering personal cloud apparatus
CN106899432A (en) * 2017-01-10 2017-06-27 中电科华云信息技术有限公司 The method of automatic configuration of the cloud terminal system based on Dynamic Host Configuration Protocol server
CN108076025A (en) * 2016-11-15 2018-05-25 华为技术有限公司 The register method and device of the network equipment
KR20200043328A (en) * 2020-04-14 2020-04-27 삼성전자주식회사 Electronic device and Method for registering personal cloud apparatus in user portal server thereof
US20210105150A1 (en) * 2017-12-19 2021-04-08 Endress+Hauser Process Solutions Ag Fieldbus component with a setting element for configuring data transfer to a cloud

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888324A (en) * 2012-12-21 2014-06-25 三星电子株式会社 Electronic device, personal cloud apparatus, personal cloud system and method for registering personal cloud apparatus
CN108076025A (en) * 2016-11-15 2018-05-25 华为技术有限公司 The register method and device of the network equipment
CN106899432A (en) * 2017-01-10 2017-06-27 中电科华云信息技术有限公司 The method of automatic configuration of the cloud terminal system based on Dynamic Host Configuration Protocol server
US20210105150A1 (en) * 2017-12-19 2021-04-08 Endress+Hauser Process Solutions Ag Fieldbus component with a setting element for configuring data transfer to a cloud
KR20200043328A (en) * 2020-04-14 2020-04-27 삼성전자주식회사 Electronic device and Method for registering personal cloud apparatus in user portal server thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘同: "动态地址分配DHCP与IP地址管理方式及分配原则", 电脑知识与技术(经验技巧), no. 04, 5 April 2020 (2020-04-05) *
庄锡钊;: "云环境下物联网数据安全去重技术研究", 卫星电视与宽带多媒体, no. 05, 5 March 2020 (2020-03-05) *
王永建;朱纪周;杨建华;郭广涛;: "桌面云安全防护体系研究", 信息安全研究, no. 05, 5 May 2017 (2017-05-05) *

Similar Documents

Publication Publication Date Title
CN103580980B (en) The method and device thereof that virtual network finds and automatically configures automatically
WO2019085803A1 (en) Method, device and system for internet of things communication
EP3228053B1 (en) Enf selection for nfvi
CN104093149B (en) The radio switch-in method and device of a kind of monitoring device
CN105025044B (en) A device control method and system
CN105991796B (en) A kind of method and system of the configuration service of the user terminal in on-premise network
US11943731B2 (en) Registration of legacy fixed network residential gateway (FN-RG) to a 5G core network
CN103379010A (en) Virtual network achieving method and system
EP2427023A1 (en) Method and equipment for self-configuring transmission in self-organized network
CN102724102A (en) Method and apparatus for establishing connection with network management system and communication system
CN102055816A (en) Communication method, business server, intermediate equipment, terminal and communication system
US10791464B2 (en) Method for establishing a secure connection
CN107769939B (en) Network element management method, network management, gateway network element and system in data communication network
CN112688898B (en) Configuration method and related equipment
CN110493366A (en) The method and device of network management is added in a kind of access point
CN101686150B (en) Installation method of network element, network element, DHCP server and network system
CN104253980B (en) Connection method and device of a kind of headend equipment with backstage media device
WO2013170613A1 (en) Ip address management method, device, and system
CN101389060A (en) Method and system for realizing bundling of access point and operator
CN115766662A (en) Registration method and server of a cloud device
CN110100416B (en) Method, equipment and system for selecting gateway
CN113098834B (en) Access control method, device, equipment and system
JP7324376B2 (en) Setting system, setting method
CN104168290B (en) A kind of terminal registration method and registrar
CN110809033A (en) Message forwarding method and device and switching server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20230307