Device registration management method, device, equipment and medium
Patent Information
- Application Number
- CN202210774853.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-01
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2042-07-01
AI Technical Summary
如果是设备预置,由于各地ACS的URL各不相同,终端设备就需要按照地域预置不同的ACS的URL,而这将导致设备通用性受到影响,从而影响设备的调配效率
[0040]本公开实施例所提供的设备注册纳管方法、装置、设备及介质,PON接入型设备从动态主机配置协议DHCP服务器的DHCP消息报文中,获取自动配置服务器ACS的统一资源定位URL地址,完成设备注册纳管,无需手动配置,并且在设备出厂时也无需根据地域预置ACS的URL地址,操作简单。
Smart Images

Figure CN117376409B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication network technology, and in particular to a method, apparatus, device and medium for device registration and management. Background Technology
[0002] When a PON (Passive Optical Network) access device goes online for the first time, it needs to register with the URL (Uniform Resource Locator) of the ACS (Automatic Configuration Server) in order to be managed by the terminal integrated management system after registration. During this registration process, the PON access device first needs to obtain the ACS URL address.
[0003] In related technologies, devices obtain the ACS URL address in two ways: device pre-configuration and manual configuration. If device pre-configuration is used, since ACS URLs vary from region to region, terminal devices need to be pre-configured with different ACS URLs for each region, which affects device compatibility and thus deployment efficiency. Manual configuration, on the other hand, undoubtedly increases the complexity of device configuration and installation workload. Summary of the Invention
[0004] The inventors discovered through research that pre-setting the ACS URL address in the device affects its versatility; manually configuring the ACS URL address in the device increases the difficulty of installation and is inefficient. The problem that needs to be solved is how to improve the efficiency of the device in obtaining the ACS URL address while ensuring its versatility, and further improve the efficiency of device registration and management.
[0005] According to a first aspect of this disclosure, a device registration and management method is provided, applied to PON access devices, the method comprising:
[0006] Obtain the Uniform Resource Locator (URL) address of the Automatic Configuration Server (ACS) from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server;
[0007] Device registration and management can be completed using the ACS URL address.
[0008] In one embodiment of this disclosure, obtaining the Uniform Resource Locator (URL) address of the Automatic Configuration Server (ACS) from the DHCP message message of the Dynamic Host Configuration Protocol (DHCP) server includes:
[0009] Obtain the IP address, port number, and service path of the terminal integrated management system from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server;
[0010] Based on the IP address, port number, and service path of the terminal integrated management system, the unified resource location URL address of the automatic configuration server ACS is generated.
[0011] In one embodiment of this disclosure, obtaining the IP address, port number, and service path of the terminal integrated management system from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server includes:
[0012] Receive DHCP offer message packets sent by the DHCP server;
[0013] Extract the port number and service path from the DHCP offer message;
[0014] Send a DHCP request message to the DHCP server so that the DHCP server will reply with a DHCP ACK message;
[0015] Extract the IP address of the terminal integrated management system from the DHCP ACK message.
[0016] In one embodiment of this disclosure, the method further includes:
[0017] Set the first preset field type of the DHCP offer message message of the DHCP server to the first preset value;
[0018] Set the value of the second preset field in the DHCP offer message message of the DHCP server to the port number and service path;
[0019] Extract the port number and service path from the DHCP offer message, including:
[0020] Extract the port number and service path from the target DHCP offer message. The first preset field type of the target DHCP offer message is the first preset value.
[0021] In one embodiment of this disclosure, sending a DHCP request message to a DHCP server includes:
[0022] Send a DHCP request message to the target DHCP server, which is the DHCP server that sent the target DHCP offer message.
[0023] In one embodiment of this disclosure, the first preset field is the options field of the DHCP offer message.
[0024] In one embodiment of this disclosure, the first preset value is Option 18, and the second preset field is value.
[0025] In one embodiment of this disclosure, the method further includes:
[0026] Set the third preset field type of the DHCP ACK message packet of the DHCP server to the second preset value;
[0027] Set the value of the fourth preset field of the DHCP ACK message from the DHCP server to the IP address of the terminal integrated management system.
[0028] In one embodiment of this disclosure, the third preset field is the options field, the second preset value is Option6, and the fourth preset field is value.
[0029] In one embodiment of this disclosure, the method further includes:
[0030] When a PON access device comes online for the first time, it initiates a DHCP request.
[0031] According to a second aspect of this disclosure, a device registration and management apparatus is provided for use in PON access devices, the apparatus comprising:
[0032] The address acquisition module is used to obtain the Uniform Resource Locator (URL) address of the Automatic Configuration Server (ACS) from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server.
[0033] The registration and management module is used to complete device registration and management via the ACS URL address.
[0034] According to a third aspect of this disclosure, an electronic device is provided, comprising: a memory for storing instructions; and a processor for calling the instructions stored in the memory to implement the device registration and management method described above.
[0035] According to a fourth aspect of this disclosure, a computer-readable storage medium is provided that stores computer instructions thereon, which, when executed by a processor, implement the device registration and management method described above.
[0036] According to a fifth aspect of this disclosure, a computer program product is provided, which stores instructions that, when executed by a computer, cause the computer to perform the device registration and management method described above.
[0037] According to a sixth aspect of this disclosure, a chip is provided, including at least one processor and an interface;
[0038] An interface is used to provide program instructions or data to at least one processor;
[0039] At least one processor is used to execute program instructions to implement the device registration and management method described above.
[0040] The device registration and management method, apparatus, device, and medium provided in this disclosure enable PON access devices to obtain the Uniform Resource Locator (URL) address of the Automatic Configuration Server (ACS) from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server, thereby completing device registration and management. This eliminates the need for manual configuration and also eliminates the need to pre-configure the ACS URL address based on the region when the device leaves the factory, making the operation simple.
[0041] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0042] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0043] Obviously, the accompanying drawings described below are merely some embodiments of this disclosure. Those skilled in the art can obtain other drawings based on these drawings without any creative effort.
[0044] Figure 1 This diagram illustrates a flowchart of a device registration and management method according to an embodiment of the present disclosure;
[0045] Figure 2 This diagram illustrates a flowchart of obtaining the URL address of the ACS in an embodiment of this disclosure;
[0046] Figure 3 This diagram illustrates the interaction process between the device and the DHCP server in related technologies.
[0047] Figure 4 This diagram illustrates the structure of a DHCP ACK message in an embodiment of this disclosure.
[0048] Figure 5 This diagram illustrates the structure of a DHCP offer message in an embodiment of this disclosure.
[0049] Figure 6 This illustration shows a flowchart of yet another device registration and management method according to an embodiment of the present disclosure;
[0050] Figure 7This diagram illustrates a network topology according to an embodiment of the present disclosure.
[0051] Figure 8 This diagram illustrates the configuration of the options field in a DHCP ACK message according to an embodiment of this disclosure.
[0052] Figure 9 This diagram illustrates the configuration of the options field in a DHCP offer message according to an embodiment of this disclosure.
[0053] Figure 10 This diagram illustrates a device registration and management system according to an embodiment of the present disclosure.
[0054] Figure 11 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown. Detailed Implementation
[0055] The exemplary implementation will now be described more fully with reference to the accompanying drawings.
[0056] It should be noted that the example implementation can be implemented in many forms and should not be construed as being limited to the examples set forth herein.
[0057] PON access devices (such as home gateways and enterprise gateways) are the mainstream devices for home and enterprise users to access the Internet. Telecommunication operators usually manage PON access devices by using an Integrated Terminal Management System (ITMS) deployed at the regional (e.g., province) level to perform services configuration and activation, device monitoring, fault diagnosis and other management operations.
[0058] In some embodiments, telecommunications operators can use the ITMS+ (Integrated Terminal Management System+) platform to perform management operations such as service configuration and activation, equipment monitoring, and fault diagnosis on PON access terminal equipment.
[0059] PON access terminal devices typically connect to the same local area network as the provincial ITMS+ platform through an independent management channel to achieve interoperability. When a terminal device is first installed, it usually obtains a management IP address via DHCP (Dynamic Host Configuration Protocol) to achieve IP reachability with the ITMS+ platform. Then, it registers with the ITMS+ platform's ACS (Automatic Configuration Server). Upon successful registration, it is managed by the ITMS+ platform.
[0060] As described in the background section, PON access terminal devices obtain the URL (Uniform Resource Locator) address of the ITMS+ platform ACS, and the relevant technologies use the following methods to obtain it:
[0061] (1) The equipment is pre-configured, that is, when the terminal equipment is supplied to the provincial company of the operator, the URL address of the provincial ITMS+ platform ACS is already pre-configured.
[0062] (2) Manual configuration, which means manually configuring the terminal device by logging into the device's management page during on-site installation.
[0063] The inventors discovered that if the devices are pre-configured, the URLs of the ITMS+ platform ACS vary from province to province, requiring each terminal device to have a different pre-configured ITMS+ platform ACS URL. This affects terminal compatibility and consequently, terminal deployment efficiency. Manual input, on the other hand, undoubtedly increases the complexity of device configuration and installation workload.
[0064] To improve the method of obtaining the ITMS+ platform ACS service URL during the registration and management process of PON access terminal devices, this disclosure proposes a method to automatically obtain the ACS service URL through DHCP messages and complete device registration and management. This method avoids the impact of device pre-configuration on terminal versatility and also reduces the configuration complexity of device pre-configuration and manual input methods.
[0065] For ease of understanding, the relevant technologies and terms involved in this disclosure are explained below:
[0066] DHCP is typically used in large local area network environments. Its main function is to centrally manage and allocate IP addresses, enabling hosts in the network environment to dynamically obtain information such as IP addresses, gateway addresses, and DNS server addresses, and improving address utilization.
[0067] DHCP has three ports. UDP67 and UDP68 are the normal DHCP service ports, serving as the DHCP server and DHCP client service ports, respectively. Port 546 is used for DHCPv6 clients, not DHCPv4, and is for DHCP failover service.
[0068] The DHCP protocol uses a client / server model, where the dynamic allocation of host addresses is driven by the network host. The DHCP server only sends the relevant address configuration information to the network host when it receives a request for an address from the host, thus enabling dynamic configuration of the network host's address information.
[0069] DHCP has three mechanisms for assigning IP addresses:
[0070] 1) Automatic Allocation: The DHCP server assigns a permanent IP address to the host. Once the DHCP client successfully leases an IP address from the DHCP server for the first time, it can use that address permanently.
[0071] 2) Dynamic Allocation: The DHCP server assigns a time-limited IP address to a host. When the time expires or the host explicitly relinquishes the address, the address can be used by other hosts.
[0072] 3) Manual Allocation: The client's IP address is assigned by the network administrator, and the DHCP server simply tells the client host the assigned IP address.
[0073] Of the three address allocation methods, only dynamic allocation allows the reuse of addresses that the client no longer needs.
[0074] DHCP messages are based on the BOOTP (Bootstrap Protocol) message format, which requires devices to have BOOTP relay agent functionality and be able to interact with BOOTP clients and DHCP servers. The BOOTP relay agent functionality eliminates the need to deploy a DHCP server on every physical network. RFC 951 and RFC 1542 provide detailed descriptions of the BOOTP protocol.
[0075] The following detailed description of this exemplary implementation method is provided in conjunction with the accompanying drawings and embodiments.
[0076] First, this disclosure provides a device registration and management method, which can be executed by a PON access device.
[0077] It should be noted that, in the embodiments of this disclosure, "device" includes, but is not limited to, mobile phones, tablets, laptops, vehicle-mounted communication devices, drones, communication modules on drones, remote-controlled aircraft, aircraft, small aircraft, vehicles, RSUs, wireless sensors, internet cards, IoT terminals, RFID terminals, NB-IoT terminals, MTC (Machine Type Communication) terminals, eMTC (enhanced MTC) terminals, data cards, internet cards, vehicle-mounted communication devices, low-cost mobile phones, low-cost tablets, and other wireless communication devices.
[0078] Figure 1 This diagram illustrates a flowchart of a device registration and management method according to an embodiment of the present disclosure, such as... Figure 1 As shown, the device registration and management method provided in this embodiment includes the following steps:
[0079] S102, Obtain the Uniform Resource Locator URL address of the Automatic Configuration Server (ACS) from the DHCP message message of the Dynamic Host Configuration Protocol (DHCP) server;
[0080] S104, complete device registration and management via the ACS URL address.
[0081] In the internet environment, URLs typically have the following format:
[0082] <protocol>: / / <host domain name or IP address>:<port number> / <path>
[0083] Similarly, the URL of the ACS service for PON access terminal equipment deployed on the ITMS+ platform in each province is also the same.
[0084] In some embodiments, such as Figure 2 As shown, the process of obtaining the URL address of the ACS in S102 may include the following steps:
[0085] S1021, Obtain the IP address, port number and service path of the terminal integrated management system from the DHCP message message of the Dynamic Host Configuration Protocol (DHCP) server;
[0086] S1022 generates the Uniform Resource Locator (URL) address of the Automatic Configuration Server (ACS) based on the IP address, port number, and service path of the terminal integrated management system.
[0087] In some embodiments, a DHCP request is initiated when the PON access device comes online for the first time. The process of obtaining information in S1021 can specifically be that the information is obtained from the DHCP message packets exchanged between the PON access device and the DHCP server during their interaction.
[0088] The DHCP protocol uses UDP (User Datagram Protocol) as the transport protocol. The host sends a request message to port 67 of the DHCP server, and the DHCP server responds with an answer message to port 68 of the host.
[0089] Figure 3 This illustrates the interaction process between the device and the DHCP server in related technologies, such as... Figure 3 As shown, the interaction process includes the following steps:
[0090] S301, the device acts as a DHCP Client and broadcasts DHCP Discover messages.
[0091] A DHCP Client initiates a DHCP Discover message within a local area network (LAN) in order to discover a DHCP Server that can provide it with an IP address.
[0092] S302. After receiving the Discover packet, the available DHCP server sends a DHCPOffer message to the DHCP Client.
[0093] Once a usable DHCP server receives a Discover packet, it responds to the DHCP Client by sending a DHCP Offer message, indicating that it can provide an IP address.
[0094] S303 After receiving the DHCP Offer message, the DHCP Client sends a DHCP Request message to request the allocation of an IP address.
[0095] The DHCP Client will select one of the DHCP Offer messages to process.
[0096] The DHCP Client will send a broadcast DHCP Request message, which will include the IP address of the selected DHCP Server and the required IP address in the options field.
[0097] S304, the DHCP server sends a DHCP ACK message to acknowledge receipt.
[0098] When a DHCP server receives a DHCP Request message, it checks if the IP address in the options field is the same as its own address. If they are different, the DHCP server does nothing but clear the corresponding IP address allocation record; if they are the same, the DHCP server responds to the DHCP Client with a DHCP ACK message and adds the IP address lease information to the options field.
[0099] After receiving the DHCP ACK message, the DHCP client checks whether the IP address assigned by the DHCP server is usable. If it is usable, the DHCP client successfully obtains an IP address and automatically initiates the renewal process based on the lease period. If the DHCP client finds that the assigned IP address is already in use, it sends a DHCP Decline message to the DHCP server, notifying the DHCP server to disable the IP address, and then the DHCP client begins the process of requesting a new address.
[0100] After successfully obtaining an IP address, a DHCP client can release its IP address at any time by sending a DHCP Release message. Upon receiving the DHCP Release message, the DHCP server will reclaim the corresponding IP address and reallocate it.
[0101] Combination Figure 3 In some embodiments, the interaction process between the device shown and the DHCP server can be implemented as follows:
[0102] Receive DHCP offer message packets sent by the DHCP server;
[0103] Extract the port number and service path from the DHCP offer message;
[0104] Send a DHCP request message to the DHCP server so that the DHCP server will reply with a DHCP ACK message;
[0105] Extract the IP address of the terminal integrated management system from the DHCP ACK message.
[0106] In summary, the IP address, port number, and service path information of the terminal integrated management system in this disclosure can be obtained from DHCP offer message packets and DHCP ACK message packets. Accordingly, in order for the device to obtain this information from the above messages, a DHCP server in the management domain of the PON access terminal device can be configured.
[0107] In some embodiments, the device registration and management method provided in this disclosure may further include the following steps:
[0108] Set the first preset field type of the DHCP offer message message of the DHCP server to the first preset value;
[0109] Set the value of the second preset field in the DHCP offer message of the DHCP server to the port number and service path.
[0110] Accordingly, extracting the port number and service path from the DHCP offer message can be done by extracting the port number and service path from the target DHCP offer message, where the first preset field type of the target DHCP offer message is a first preset value.
[0111] Sending a DHCP request message to a DHCP server can be done by sending a DHCPrequest message to the target DHCP server, where the DHCP server is the one that sent the target DHCP offer message.
[0112] In some embodiments, the first preset field is the options field of the DHCP offer message.
[0113] In some embodiments, the first preset value is Option 18, and the second preset field is value.
[0114] In embodiments of this disclosure, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0115] It should be noted that a PON access device, acting as a DHCP client, can receive DHCP offer messages from multiple DHCP servers. The DHCP client will select one of these DHCP offer messages to process. In related technologies, the DHCP client generally processes the first DHCP offer message received. However, in this disclosure, the PON access device, acting as a DHCP client, can select the DHCP offer message with the options field set to Option 18 for processing.
[0116] In some embodiments, this disclosure may also set the third preset field type of the DHCP ACK message of the DHCP server to the second preset value; and set the value of the fourth preset field of the DHCP ACK message of the DHCP server to the IP address of the terminal integrated management system.
[0117] As an example, the third preset field is the options field, the second preset value is Option 6, and the fourth preset field is value.
[0118] In one embodiment, it is assumed that the ACS service URL of a certain province's ITMS+ platform is https: / / 10.0.0.199:8080 / acs-server / regist.
[0119] When a PON access terminal in the province goes online for the first time, it will initiate registration to the above URL address. However, registration requires that the device knows this URL address.
[0120] In this disclosure, the DHCP server in the management domain of the PON access terminal equipment can be configured first. For example... Figure 4 As shown, the options field type of the DHCP ACK message packet of the DHCP server is set to Option 6, and the DNS address is set to the IP address of the ITMS+ platform.
[0121] Set the `options` field type of the DHCP offer message to Option 18, and set the `value` to the port number of the URL address plus the service path, such as... Figure 5 As shown, for the URL in this example disclosure, the value should be set to "8080 / acs-server / regist".
[0122] In one embodiment, the registration process after the terminal device goes online for the first time is as follows: Figure 6 As shown, it includes the following steps:
[0123] S601, device online;
[0124] When a PON access device comes online for the first time, it will initiate a DHCP request as a DHCP Client. After initiating the DHCP request, it may receive DHCP offer message messages from one or more DHCP servers.
[0125] S602, DHCP discover;
[0126] S603, DHCP offer;
[0127] S604, read the value of option 18 and store it;
[0128] The terminal device selects the DHCP offer message with the Option 18 field as its DHCP server, and extracts and temporarily stores the value of the Option 18 field in the message.
[0129] S605, DHCP request;
[0130] S606, DHCP ACK;
[0131] S607, Obtain the terminal IP address;
[0132] S608, read the value of option 6 and store it;
[0133] Then, the terminal device sends a DHCP request message to the DHCP server. The DHCP server replies with a DHCP ACK message containing the IP address of the ITMS+ platform. Upon receiving this message, the terminal device not only needs to extract the IP address assigned to it by the DHCP server from the message, but also needs to extract the IP address of the ITMS+ platform carried in the option 6 field from the Options field of the message and store it temporarily.
[0134] S609, Generate ACS URL;
[0135] S610 initiates registration with ITMS+;
[0136] The terminal device combines the IP address of the ITMS+ platform obtained from the DHCP message with the "port number + service path" to generate the URL address of the ITMS+ platform's ACS service. Then, the terminal device can initiate registration using this URL address to complete device management.
[0137] In one embodiment, such as Figure 7 As shown, the ITMS+ platform, DHCP server, and OLT are all located in the device management LAN (10.0.0.0 / 8). The IP address of the ITMS+ platform is 10.0.0.199, and the URL address of the ACS service is https: / / 10.0.0.199:8080 / acs-server / regist.
[0138] like Figure 8 As shown, the DHCP server sets the options field of the DHCP ACK message to option 6 and the DNS address to the ITMS+ platform address 10.0.0.199.
[0139] like Figure 9 As shown, the options field of the DHCP offer message is set to option 18 and its value is "8080 / acs-server / regist".
[0140] Then, as mentioned above... Figure 6The process shown allows terminal devices to complete the device registration and management process.
[0141] This embodiment applies the configuration of the DHCP server to the management scenario of PON access terminal equipment. By pre-setting the relevant information of the ITMS+ management platform ACS service URL in the DHCP message, the PON access terminal, as a DHCP client, obtains the ACS service URL address of the ITMS+ management platform during the message interaction with the DHCP server, thus optimizing the management process of existing network equipment.
[0142] In reality, the number of PON access terminal devices has reached hundreds of millions. Optimizing the methods in the production and maintenance processes of terminal devices will bring about significant savings in labor costs and workload. The improved device registration method proposed in this disclosure reduces the workload of device configuration for equipment manufacturers and improves the versatility of devices, while also reducing the workload and complexity of device installation and maintenance.
[0143] Furthermore, although the steps of the method in this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result.
[0144] In some embodiments, certain steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be broken down into multiple steps for execution.
[0145] Based on the same inventive concept, this disclosure also provides a device registration and management apparatus, as described in the following embodiments. Since the principle by which this apparatus solves the problem is similar to that of the method embodiments described above, the implementation of this apparatus embodiment can refer to the implementation of the method embodiments described above, and repeated details will not be repeated.
[0146] Figure 10 This disclosure illustrates a device registration and management device, applied to PON access devices, such as... Figure 10 As shown, the device registration and management device 1000 includes:
[0147] Address acquisition module 1002 is used to obtain the Uniform Resource Locator URL address of the Automatic Configuration Server (ACS) from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server.
[0148] The registration and management module 1004 is used to complete device registration and management via the URL address of the ACS.
[0149] In some embodiments, the address acquisition module 1002 includes:
[0150] The information acquisition unit is used to obtain the IP address, port number and service path of the terminal integrated management system from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server.
[0151] The address generation unit is used to generate the unified resource location URL address of the Automatic Configuration Server (ACS) based on the IP address, port number, and service path of the terminal integrated management system.
[0152] In some embodiments, the information acquisition unit performs the following:
[0153] Receive DHCP offer message packets sent by the DHCP server;
[0154] Extract the port number and service path from the DHCP offer message;
[0155] Send a DHCP request message to the DHCP server so that the DHCP server will reply with a DHCP ACK message;
[0156] Extract the IP address of the terminal integrated management system from the DHCP ACK message.
[0157] In some embodiments, the device registration and management device 1000 may further include:
[0158] The first setting module is used to set the first preset field type of the DHCP offer message message of the DHCP server to the first preset value;
[0159] The second setting module is used to set the value of the second preset field of the DHCP offer message message of the DHCP server to the port number and service path;
[0160] Accordingly, the information acquisition unit can extract the port number and service path from the DHCP offer message, which can be done by extracting the port number and service path from the target DHCP offer message, wherein the first preset field type of the target DHCP offer message is a first preset value.
[0161] In some embodiments, sending a DHCP request message to a DHCP server may be sending a DHCP request message to a target DHCP server, where the DHCP server is the DHCP server that sent the target DHCP offer message.
[0162] In some embodiments, the first preset field is the options field of the DHCP offer message.
[0163] In some embodiments, the first preset value is Option 18, and the second preset field is value.
[0164] In some embodiments, the device registration and management device 1000 may further include:
[0165] The third setting module is used to set the third preset field type of the DHCP ACK message packet of the DHCP server to the second preset value;
[0166] The fourth setting module is used to set the value of the fourth preset field of the DHCP ACK message packet of the DHCP server to the IP address of the terminal integrated management system.
[0167] In some embodiments, the third preset field is the options field, the second preset value is Option 6, and the fourth preset field is value.
[0168] In some embodiments, the device registration and management device 1000 may further include:
[0169] The DHCP request module is used to initiate a DHCP request when a PON access device comes online for the first time.
[0170] The concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to define the order of functions performed by these devices, modules or units or their interdependencies.
[0171] Regarding the device registration and management device in the above embodiments, the specific methods by which each module performs its operation have been described in detail in the embodiments related to the device registration and management method, and will not be elaborated here.
[0172] It should be noted that although several modules or units of the device used for action execution are mentioned in the detailed description above, this division is not mandatory.
[0173] In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0174] Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0175] The following reference Figure 11 This describes the electronic device provided in the embodiments of this disclosure. Figure 11 The electronic device 1100 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0176] Figure 11 This diagram illustrates the architecture of an electronic device 1100 provided in an embodiment of the present invention. Figure 11 As shown, the electronic device 1100 includes, but is not limited to, at least one processor 1110 and at least one memory 1120.
[0177] Memory 1120 is used to store instructions.
[0178] In some embodiments, memory 1120 may include a readable medium in the form of volatile storage cells, such as random access memory (RAM) 11201 and / or cache memory 11202, and may further include read-only memory (ROM) 11203.
[0179] In some embodiments, the memory 1120 may also include a program / utility 11204 having a set (at least one) of program modules 11205, such program modules 11205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0180] In some embodiments, memory 1120 may store an operating system. This operating system may be a real-time operating system (RTX), such as Linux, UNIX, Windows, or OS X.
[0181] In some embodiments, the memory 1120 may also store data.
[0182] As an example, processor 1110 can read data stored in memory 1120, which may be stored at the same memory address as the instruction, or the data may be stored at a different memory address than the instruction.
[0183] Processor 1110 is configured to invoke instructions stored in memory 1120 to implement the steps described in the "Exemplary Methods" section above, according to various exemplary embodiments of this disclosure. For example, processor 1110 may execute the following steps of the above method embodiments:
[0184] Obtain the Uniform Resource Locator (URL) address of the Automatic Configuration Server (ACS) from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server;
[0185] Device registration and management can be completed using the ACS URL address.
[0186] It should be noted that the processor 1110 described above can be a general-purpose processor or a special-purpose processor. The processor 1110 may include one or more processing cores, and the processor 1110 executes various functional applications and data processing by running instructions.
[0187] In some embodiments, processor 1110 may include a central processing unit (CPU) and / or a baseband processor.
[0188] In some embodiments, the processor 1110 may determine an instruction based on the priority identifier and / or function category information carried in each control instruction.
[0189] In this disclosure, the processor 1110 and the memory 1120 can be configured separately or integrated together.
[0190] As an example, the processor 1110 and memory 1120 can be integrated on a single board or a system on chip (SOC).
[0191] like Figure 11 As shown, electronic device 1100 is embodied in the form of a general-purpose computing device. Electronic device 1100 may also include bus 1130.
[0192] Bus 1130 can represent one or more of several types of bus structures, including a memory bus or memory controller, peripheral bus, graphics acceleration port, processor, or a local bus using any of the various bus structures.
[0193] Electronic device 1100 can also communicate with one or more external devices 1140 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 1100, and / or with any device that enables electronic device 1100 to communicate with one or more other computing devices (e.g., router, modem, etc.). Such communication can be performed through input / output (I / O) interface 1150.
[0194] Furthermore, the electronic device 1100 can also communicate with one or more networks (such as local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via the network adapter 1160.
[0195] like Figure 11 As shown, network adapter 1160 communicates with other modules of electronic device 1100 via bus 1130.
[0196] It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0197] It is understood that the structures illustrated in the embodiments of this disclosure do not constitute a specific limitation on the electronic device 1100. In other embodiments of this disclosure, the electronic device 1100 may include... Figure 11 This may involve more or fewer components, or combining certain components, or splitting certain components, or different component arrangements. Figure 11 The components shown can be implemented in hardware, software, or a combination of both.
[0198] This disclosure also provides a computer-readable storage medium storing computer instructions thereon, which, when executed by a processor, implement the device registration and management method described in the above method embodiments.
[0199] In this embodiment of the disclosure, the computer-readable storage medium is a computer instruction that can be sent, propagated, or transmitted for use by or in conjunction with an instruction execution system, apparatus, or device.
[0200] As an example, a computer-readable storage medium is a non-volatile storage medium.
[0201] In some embodiments, more specific examples of computer-readable storage media in this disclosure may include, but are not limited to: electrical connections having one or more wires, portable computer disks, 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 devices, magnetic storage devices, USB flash drives, portable hard drives, or any suitable combination of the foregoing.
[0202] In this embodiment of the disclosure, the computer-readable storage medium may include data signals propagated in baseband or as part of a carrier wave, wherein computer instructions (readable program code) are carried.
[0203] The transmitted data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof.
[0204] Any readable medium other than a readable storage medium
[0205] In some examples, computational instructions contained on a computer-readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0206] This disclosure also provides a computer program product that stores instructions that, when executed by a computer, cause the computer to implement the device registration and management method described in the above method embodiments.
[0207] The aforementioned instructions can be program code. In practice, the program code can be written using any combination of one or more programming languages.
[0208] Programming languages include object-oriented programming languages—such as Java and C++—as well as conventional procedural programming languages—such as the "C" language or similar programming languages.
[0209] The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0210] In cases involving remote computing devices, the remote computing devices can be connected to user computing devices via any type of network, including local area networks (LANs) or wide area networks (WANs), or they can be connected to external computing devices (e.g., via the Internet using an Internet service provider).
[0211] This disclosure also provides a chip, including at least one processor and an interface;
[0212] An interface is used to provide program instructions or data to at least one processor;
[0213] At least one processor is used to execute program instructions to implement the device registration and management method described in the above method embodiments.
[0214] In some embodiments, the chip may further include a memory for storing program instructions and data, the memory being located within or outside the processor.
[0215] Those skilled in the art will understand that all or part of the steps of the above embodiments can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which can be collectively referred to as "circuit", "module" or "system".
[0216] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein.
[0217] This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.
Claims
1. A method for registering and managing equipment, characterized in that, Applied to PON access devices, the method includes: Obtain the Uniform Resource Locator (URL) address of the Automatic Configuration Server (ACS) from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server; Device registration and management can be completed via the ACS URL address; Obtaining the Uniform Resource Locator (URL) address of the Automatic Configuration Server (ACS) from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server includes: obtaining the IP address, port number, and service path of the Terminal Integrated Management System from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server; and generating the Uniform Resource Locator (URL) address of the Automatic Configuration Server (ACS) based on the IP address, port number, and service path of the Terminal Integrated Management System. The step of obtaining the IP address, port number, and service path of the terminal integrated management system from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server includes: receiving a DHCP offer message message sent by the DHCP server; extracting the port number and service path from the DHCP offer message message; sending a DHCP request message to the DHCP server to cause the DHCP server to reply with a DHCP ACK message message; and extracting the IP address of the terminal integrated management system from the DHCP ACK message message.
2. The method according to claim 1, characterized in that, The method further includes: Set the first preset field type of the DHCP offer message message of the DHCP server to the first preset value; Set the value of the second preset field in the DHCP offer message message of the DHCP server to the port number and service path; Extract the port number and service path from the DHCP offer message, including: Extract the port number and service path from the target DHCP offer message, wherein the first preset field type of the target DHCP offer message is a first preset value.
3. The method according to claim 2, characterized in that, Sending a DHCP request message to the DHCP server includes: Send a DHCP request message to the target DHCP server, wherein the DHCP server is the DHCP server that sent the target DHCP offer message.
4. The method according to claim 2, characterized in that, The first preset field is the options field of the DHCP offer message.
5. The method according to claim 4, characterized in that, The first preset value is Option 18, and the second preset field is value.
6. The method according to claim 2, characterized in that, The method further includes: Set the third preset field type of the DHCP ACK message packet of the DHCP server to the second preset value; Set the value of the fourth preset field of the DHCP ACK message from the DHCP server to the IP address of the terminal integrated management system.
7. The method according to claim 6, characterized in that, The third preset field is the options field, the second preset value is Option 6, and the fourth preset field is value.
8. The method according to claim 1, characterized in that, The method further includes: When a PON access device comes online for the first time, it initiates a DHCP request.
9. A device for registering and managing equipment, characterized in that, Applied to PON access equipment, the device includes: The address acquisition module is used to obtain the Uniform Resource Locator (URL) address of the Automatic Configuration Server (ACS) from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server. The registration and management module is used to complete device registration and management via the ACS URL address; The address acquisition module includes: The information acquisition unit is used to obtain the IP address, port number and service path of the terminal integrated management system from the DHCP message messages of the Dynamic Host Configuration Protocol (DHCP) server. The address generation unit is used to generate the unified resource location URL address of the automatic configuration server ACS based on the IP address, port number and service path of the terminal integrated management system. The information acquisition unit is configured to receive a DHCP offer message from a DHCP server; extract the port number and service path from the DHCP offer message; send a DHCP request message to the DHCP server to prompt the DHCP server to reply with a DHCP ACK message; and extract the IP address of the terminal integrated management system from the DHCP ACK message.
10. An electronic device, characterized in that, include: Memory, used to store instructions; A processor is configured to invoke instructions stored in the memory to implement the device registration and management method as described in any one of claims 1-8.
11. A computer-readable storage medium storing computer instructions thereon, characterized in that, When the computer instructions are executed by the processor, they implement the device registration and management method according to any one of claims 1-8.