Method and system for inquiring access link topology of IP (Internet Protocol) set top box in FTTH (Fiber To The Home) access mode
By acquiring and parsing the link information log file of the DHCP server, the access link topology of IP set-top boxes in FTTH access mode is generated, which solves the problem that maintenance personnel need to manually query multiple devices and realizes efficient fault location and maintenance management.
Patent Information
- Application Number
- CN202511355791.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-22
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2045-09-22
AI Technical Summary
In FTTH access mode, when an IP set-top box fails, operation and maintenance personnel need to manually query the information of multiple network devices, resulting in a large workload and low efficiency, and prone to misjudgment or delays.
By obtaining the link information log file of the DHCP server, parsing the relay agent information options, and generating the link topology information of the IP set-top box, including optical network units, optical line terminals, and PON port numbers, a method and system for querying the access link topology of an IP set-top box in FTTH access mode is provided.
It improves the accuracy and efficiency of network management, enables rapid location of faults, reduces troubleshooting time, and achieves efficient operation and maintenance.
Smart Images

Figure CN120834992A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication technology, and more particularly, to a method and system for querying IP set-top box access link topology in FTTH access mode. BACKGROUND
[0002] With the vigorous promotion of FTTH (Fiber To The Home) services of broadcast operators, digital television services gradually evolve towards full IP. The access terminal of user home television services also changes from the original 4K set-top box with built-in CM access of broadcast coaxial to the mode of IP set-top box under the hanging of ONU (Optical Network Unit) in fiber access.
[0003] The traditional 4K set-top box can simultaneously carry broadband and television services. When the television service fails, the network side fault can be directly checked through the MAC information of the built-in CM. However, in the FTTH access mode, when a single fault occurs, especially when a regional fault occurs, it is not possible to quickly carry out network side fault checking like the 4K set-top box. The operation and maintenance personnel need to log in to multiple network devices (such as ONU, PON, OLT, BRAS, etc.) for comparison and query to form a complete IP set-top box access link topology diagram, which increases the difficulty and time of fault checking. In addition, since the fault checking relies on multiple different devices and systems, any device failure or data inconsistency at any link may cause delay or misjudgment in the troubleshooting process.
[0004] Therefore, there is a need for a new solution. SUMMARY
[0005] The present application aims to solve the problem of large operation and maintenance workload and low efficiency caused by the need for operation and maintenance personnel to manually query and integrate information from different devices (PON, OLT, BRAS, etc.) to form a complete IP set-top box access link topology diagram in FTTH access mode, and provides a method and system for querying IP set-top box access link topology in FTTH access mode.
[0006] According to an aspect of the present application, a method for querying IP set-top box access link topology in FTTH access mode is provided, comprising the following steps: acquire and store a link information log file of a DHCP server, wherein the link information log file comprises a relay agent information option, a link establishment time, a link end time and identification information of an IP set top box, the link information log file is formed by the DHCP server according to a DHCP message sent by the IP set top box to the DHCP server, the relay agent information option is configured by a DHCP relay device and inserted in the DHCP message, and the relay agent information option comprises optical network unit information to which the IP set top box is bound, a FTTH optical line terminal to which the IP set top box belongs and a PON port number; query the link information log file according to the identification information of the IP set top box to obtain the relay agent information option to which the IP set top box is bound when a fault occurs; and analyze the relay agent information option to obtain link topology information passed through by the IP set top box when the fault occurs.
[0007] In the method for querying IP set top box access link topology in a FTTH access mode provided by the application, the link information log file of the DHCP server is acquired through an API interface.
[0008] In the method for querying IP set top box access link topology in a FTTH access mode provided by the application, the identification information of the IP set top box comprises an IP address, a MAC address and a gateway address, and the step of querying the link information log file according to the identification information of the IP set top box to obtain the relay agent information option to which the IP set top box is bound when a fault occurs comprises: query the link information log file according to the IP address, the MAC address and / or the gateway address of the IP set top box to obtain a plurality of link information log records associated with the IP set top box; obtain the relay agent information option to which the IP set top box is bound when a fault occurs according to a fault time of the IP set top box, a link establishment time and / or a link end time of the plurality of link information log records.
[0009] In the method for querying IP set top box access link topology in a FTTH access mode provided by the application, the step of analyzing the relay agent information option to obtain link topology information passed through by the IP set top box when a fault occurs comprises: analyze the relay agent information option to obtain optical network unit information to which the IP set top box is bound when a fault occurs, a FTTH optical line terminal to which the IP set top box belongs and a PON port number; acquire BRAS information accessed by the optical line terminal to form link topology information comprising optical network unit information, a corresponding optical line terminal, a PON port number and BRAS information.
[0010] According to another aspect of the present application, there is also provided a system for querying an IP set-top box access link topology in an FTTH access mode, comprising: a log file acquisition module configured to acquire and store a link information log file of a DHCP server, wherein the link information log file comprises a relay agent information option, a link establishment time, a link end time and identification information of an IP set-top box, the link information log file is formed by the DHCP server according to a DHCP message sent by the IP set-top box to the DHCP server, the relay agent information option is configured by a DHCP relay device and inserted in the DHCP message, and the relay agent information option comprises optical network unit information to which the IP set-top box is bound, a FTTH optical line terminal to which the IP set-top box belongs and a PON port number; a querying module configured to query the link information log file according to the identification information of the IP set-top box to obtain the relay agent information option to which the IP set-top box is bound when a fault occurs; and a link topology information generation module configured to parse the relay agent information option to obtain link topology information passed by the IP set-top box when a fault occurs.
[0011] In the system for querying an IP set-top box access link topology in an FTTH access mode provided by the present application, the log file acquisition module is connected to the DHCP server through an API interface.
[0012] In the system for querying an IP set-top box access link topology in an FTTH access mode provided by the present application, the identification information of the IP set-top box comprises an IP address, a MAC address and a gateway address, and the querying module comprises: a log querying unit configured to query the link information log file according to the IP address, the MAC address and / or the gateway address of the IP set-top box to obtain a plurality of link information log records associated with the IP set-top box; a screening unit configured to obtain the relay agent information option to which the IP set-top box is bound when a fault occurs according to a time when the IP set-top box occurs a fault, a link establishment time and / or a link end time of the plurality of link information log records.
[0013] In the system for querying an IP set-top box access link topology in an FTTH access mode provided by the present application, the link topology information generation module comprises: a parsing unit configured to parse the relay agent information option to obtain optical network unit information to which the IP set-top box that occurs a fault is bound, a FTTH optical line terminal to which the IP set-top box belongs and a PON port number; An information generating unit is configured to acquire BRAS information accessed by the optical line terminal, and to generate link topology information including optical network unit information, the optical line terminal, a PON port number, and the BRAS information.
[0014] The method and system for querying the access link topology of the IP set top box in the FTTH access mode have the following beneficial effects: the method for querying the access link topology of the IP set top box in the FTTH access mode inserts the access link information into the DHCP message through the relay agent information, stores the link information of the IP set top box in each access to the DHCP server by generating a link information log file, and provides detailed link data for the network management system; when a fault occurs, the relay agent information at the time of the fault is obtained by querying the link information log file; then, the complete link topology is generated by analyzing the relay agent information, which helps the administrator to accurately track the location of the fault; thus, the network manager can accurately and timely record the link information of the equipment, and quickly obtain the related link topology information when the equipment fails; this not only improves the accuracy and efficiency of network management, but also quickly locates the problem and reduces the solution time in troubleshooting. BRIEF DESCRIPTION OF DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description only are the embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative labor based on the provided drawings: Figure 1 The figure is a flowchart of the method for querying the access link topology of the IP set top box in the FTTH access mode provided by an embodiment of the present application. DETAILED DESCRIPTION
[0016] In order to facilitate the understanding of the present application, the following will comprehensively describe the present application with reference to the related drawings. The drawings show typical embodiments of the present application. However, the present application can be realized in many different forms, and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.
[0017] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used in the specification of the present application are only for the purpose of describing the specific embodiments, and are not intended to limit the present application.
[0018] Figure 1Fig. 1 is a flowchart of a method for querying an IP set-top box access link topology in an FTTH access mode according to an embodiment of the present application. As shown in Fig. 1, the method comprises the following steps: Figure 1 As shown in Fig. 1, the method for querying an IP set-top box access link topology in an FTTH access mode according to the present application comprises the following steps: Step S1, obtaining and storing a link information log file of a DHCP server; Specifically, in an embodiment of the present application, the link information log file comprises a relay agent information option, a link establishment time, a link end time and identification information of an IP set-top box. The link information log file is formed by the DHCP server according to a DHCP message sent by the IP set-top box to the DHCP server. The relay agent information option is configured by a DHCP relay device and inserted in the DHCP message. The relay agent information option comprises optical network unit information to which the IP set-top box is bound, an FTTH optical line terminal to which the IP set-top box belongs and a PON port number.
[0019] In the embodiment, the device and topology information in the network are transmitted and recorded by inserting the DHCP relay agent information option in the DHCP message sent by the IP set-top box to the DHCP server, and the information is synchronously obtained and stored through an API interface, so as to provide a basis for subsequent link management and troubleshooting. Specifically, when the IP set-top box is online in the network, it needs to request an IP address from the DHCP server. In this process, the FTTH optical line terminal device as the DHCP relay device is configured to enable the RAIO function. The FTTH optical line terminal device is configured to enable the RAIO function, which allows it to insert the DHCP relay agent information option into the DHCP Discover / Request message. Through the message, the DHCP relay device reports the link information such as the optical network unit, the PON port and the optical line terminal to the DHCP server, so as to provide detailed information for subsequent network management. When the IP set-top box requests an IP address, the DHCP relay agent information option is configured by the DHCP relay device and inserted in the DHCP message sent by the IP set-top box to the DHCP server, so as to transmit the link information from the IP set-top box to the DHCP server through the DHCP message. The DHCP server generates a link information log file according to the information, records the network topology from the IP set-top box to the DHCP server and related data (for example, the link end time and the identification information of the IP set-top box) of the IP set-top box. In order to obtain and synchronize the log information in real time, the present application is connected to the DHCP server through an API interface, automatically tracks the changes of the log file and automatically synchronously stores the latest link information.
[0020] In the embodiment, in the process of requesting an IP address from a DHCP server when an IP set-top box is online, a DHCP relay device inserts a relay agent information option in a DHCP Discover / Request message to report the topology information of the link through which the IP set-top box passes, thereby realizing accurate recording and synchronization of network device and link information.
[0021] In step S2, the link information log file is queried according to the identification information of the IP set-top box to obtain the relay agent information option bound by the IP set-top box when a fault occurs. Specifically, in an embodiment of the application, the identification information of the IP set-top box includes an IP address, a MAC address and a gateway address. By manually inputting or batch importing the IP address, the MAC address and / or the gateway address of the IP set-top box, the link information log file of the IP set-top box at different time periods can be obtained, and the link information log file when a fault occurs can be obtained by filtering according to the time when the fault occurs, and then the relay agent information option bound by the IP set-top box when a fault occurs can be obtained. Therefore, step S2 includes: querying the link information log file according to the IP address, the MAC address and / or the gateway address of the IP set-top box to obtain a plurality of link information log records associated with the IP set-top box; and obtaining the relay agent information option bound by the IP set-top box when a fault occurs according to the time when the fault occurs, the link establishment time and / or the link end time of the plurality of link information log records.
[0022] In the embodiment, when the IP set-top box has a fault, the relay agent information option bound by the device when the fault occurs is obtained by querying the link information log file, thereby helping the administrator to locate the faulty device and the link position where the fault occurs.
[0023] In step S3, the relay agent information option is parsed to obtain the link topology information through which the IP set-top box passes when a fault occurs.
[0024] Specifically, in an embodiment of the present application, a sub-attribute Circuit-id of a relay agent information option (DHCP-Option 82) records link information such as an optical network unit to which an IP set-top box belongs, a PON port, an optical line terminal, and the like. By analyzing the Circuit-id, an administrator can obtain full-link topology information from an optical network unit to an FTTH optical line terminal to a PON port. These information, in combination with other related data (such as BRAS configuration) in the network, can draw a complete link path of the device. Taking a certain IP set-top box in a current network of a broadcasting station as an example, the Circuit-id of the DHCP-Option 82 of the IP set-top box is recorded as: 485754431937D9A0 27-CTC-2-A-YOUXIANSHUNIU01-HW5800X7 xpon 0 / 1 / 1, which is analyzed as that the terminal (IP set-top box) is online on an optical network unit ONU (SN: 485754431937D9A0) device, and the FTTH optical line terminal OLT to which the IP set-top box belongs is 27-CTC-2-A-YOUXIANSHUNU01-HW5800X7, and the PON port number is 0 / 1 / 1. In combination with BRAS information accessed by the FTTH optical line terminal in the current network, a complete and real topology of the IP set-top box access link can be obtained. Therefore, step S3 comprises: analyzing the relay agent information option to obtain optical network unit information, an FTTH optical line terminal to which the IP set-top box belongs, and a PON port number bound to the IP set-top box; and obtaining BRAS information accessed by the optical line terminal to form link topology information comprising the optical network unit information, the FTTH optical line terminal, the PON port number, and the BRAS information.
[0025] In the embodiment, by the Circuit-id in the relay agent information option, an administrator can accurately track link information of a device, understand a connection path of the device and network device configuration, and locate a possible fault point in the network. In this way, the administrator can reduce troubleshooting time and improve network management efficiency.
[0026] The application provides a method for inquiring into an IP set top box access link topology in an FTTH access mode, inserts link information into a DHCP message through relay agent information, stores link information of the IP set top box in accessing a DHCP server each time, and provides detailed link data for a network management system; when a fault occurs, the relay agent information at the time of the fault is obtained by inquiring into a link information log file; then, a complete link topology is generated by analyzing the relay agent information, so as to help an administrator to accurately track a fault position; thus, the network manager can accurately and timely record the link information of the equipment, and quickly obtain relevant link topology information when the equipment fails; this not only improves the accuracy and efficiency of network management, but also quickly locates problems and reduces the solution time in troubleshooting.
[0027] Correspondingly, the application also provides a system for inquiring into an IP set top box access link topology in an FTTH access mode, which comprises: a log file acquisition module, which is used for acquiring and storing a link information log file of a DHCP server, wherein the link information log file comprises a relay agent information option, link establishment time, link end time and identification information of an IP set top box, the link information log file is formed by the DHCP server according to a DHCP message sent by the IP set top box to the DHCP server, the relay agent information option is configured by a DHCP relay device and inserted into the DHCP message, and the relay agent information option comprises optical network unit information bound by the IP set top box, a FTTH optical line terminal and a PON port number; a query module, which is used for querying the link information log file according to the identification information of the IP set top box, and obtaining the relay agent information option bound by the IP set top box when a fault occurs; and a link topology information generation module, which is used for analyzing the relay agent information option, and obtaining link topology information passed by the IP set top box when a fault occurs.
[0028] Further, in an embodiment of the application, the log file acquisition module is connected to the DHCP server through an API interface.
[0029] Further, in an embodiment of the application, the identification information of the IP set top box comprises an IP address, a MAC address and a gateway address, and the query module comprises: a log query unit, which is used for querying the link information log file according to the IP address, the MAC address and / or the gateway address of the IP set top box, and obtaining a plurality of link information log records associated with the IP set top box; and a screening unit, which is used for obtaining the relay agent information option bound by the IP set top box when a fault occurs according to a fault time of the IP set top box, link establishment time and / or link end time of the plurality of link information log records.
[0030] Further, in an embodiment of the present application, the link topology information generating module comprises: an analyzing unit, configured to analyze the relay agent information option to obtain the optical network unit information to which the IP set top box is bound, the FTTH optical line terminal to which the optical network unit belongs, and the PON port number; and an information generating unit, configured to obtain BRAS information to which the optical line terminal is connected, and to generate link topology information comprising the optical network unit information, the optical line terminal, the PON port number, and the BRAS information.
[0031] The embodiment of the present application also provides a device for querying IP set top box access link topology in FTTH access mode, which can comprise: a memory, configured to store a computer program; a processor, configured to execute the computer program stored in the memory to realize the following steps: obtaining and storing a link information log file of a DHCP server, wherein the link information log file comprises a relay agent information option, link establishment time, link end time, and identification information of an IP set top box, the link information log file is formed by the DHCP server according to a DHCP message sent by the IP set top box to the DHCP server, the relay agent information option is configured by a DHCP relay device and inserted in the DHCP message, and the relay agent information option comprises optical network unit information to which the IP set top box is bound, an FTTH optical line terminal to which the optical network unit belongs, and a PON port number; querying the link information log file according to the identification information of the IP set top box to obtain the relay agent information option to which the IP set top box is bound when the IP set top box fails; and analyzing the relay agent information option to obtain link topology information passed through by the IP set top box when the IP set top box fails.
[0032] The embodiment of the present application also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the following steps: Acquire and store a link information log file of a DHCP server, wherein the link information log file comprises a relay agent information option, a link establishment time, a link end time and identification information of an IP set top box, the link information log file is formed by the DHCP server according to a DHCP message sent by the IP set top box to the DHCP server, the relay agent information option is configured by a DHCP relay device and inserted in the DHCP message, and the relay agent information option comprises optical network unit information to which the IP set top box is bound, an FTTH optical line terminal to which the IP set top box belongs and a PON port number; query the link information log file according to the identification information of the IP set top box to obtain the relay agent information option to which the IP set top box is bound when a fault occurs; and analyze the relay agent information option to obtain link topology information passed through by the IP set top box when the fault occurs.
[0033] The computer readable storage medium can include a U disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes.
[0034] In the description provided herein, a large number of specific details are explained. However, it can be understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of the present description.
[0035] Similarly, it is to be understood that the embodiments of the present application can be over-simplified, and that the individual features of the application sometimes are grouped together in a single embodiment, figure or description of related art for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the individual aspects of the application. The methods of this disclosure, however, should not necessarily be construed as reflecting an intention that the application requires a greater scope than is reflected by the claims set forth below and equally limiting herein. On the contrary, according to the claims below and the entire specification, at least one embodiment of the present application is intended to cover alterations and modifications of the single embodiments set forth herein, except insofar as they depart from the fair scope of the claims set forth below. Thus, each claim is hereby incorporated into the detailed description of the application as conditions or steps that are necessary to carry out the application.
[0036] Those skilled in the art will appreciate that the modules in the apparatuses in the embodiments can be adapted and placed in one or more apparatuses other than the embodiments. The modules or units or components in the embodiments can be combined into one module or unit or component, and furthermore can be split into multiple sub-modules or sub-units or sub-components. Any combination of all the features disclosed in the specification (including the accompanying claims, abstract and drawings), and any method or process or device of any combination of the features disclosed in the specification (including the accompanying claims, abstract and drawings) can be taken, except that at least some of such features and / or processes or units are mutually exclusive, unless explicitly stated otherwise. Each feature disclosed in the specification (including the accompanying claims, abstract and drawings) can be replaced by alternative features providing the same, equivalent, or similar functionality unless stated explicitly otherwise.
[0037] Furthermore, those skilled in the art will appreciate that different embodiments of the application can be implemented in a different manner than some embodiments include certain features but not others. For example, in the claims below any one of the claimed embodiments can be used in any combination.
[0038] The various component embodiments of the application can be implemented in hardware, or as software modules running in one or more processors, or in combinations thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all of the functionality of some or all of the components in accordance with embodiments of the application. The application can also be implemented as a program of instructions for performing part or all of the methods described herein, e.g., a computer program and a computer program product. Such program implementing the application can be stored on a computer readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, or provided on a carrier signal, or in any other form.
[0039] It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of both hardware and software, and any combination thereof. In a unitary claim, several devices or means can be listed, comprising means which can be implemented by one and the same hardware item. The use of the word "a" or "an" does not exclude the presence of a plurality of such elements, nor does it imply that a single element is to be used.
Claims
1. A method for querying an IP set-top box access link topology in FTTH access mode, characterized in that, The method comprises: acquiring and storing a link information log file from a DHCP server, wherein the link information log file comprises a relay agent information option, a link establishment time, a link end time and identification information of an IP set top box, the link information log file is formed by the DHCP server according to a DHCP message sent by the IP set top box to the DHCP server, the relay agent information option is configured by a DHCP relay device and inserted in the DHCP message, and the relay agent information option comprises optical network unit information to which the IP set top box is bound, a FTTH optical line terminal to which the IP set top box belongs and a PON port number; querying the link information log file according to the identification information of the IP set top box to obtain the relay agent information option to which the IP set top box is bound when a fault occurs; and analyzing the relay agent information option to obtain link topology information passed through by the IP set top box when the fault occurs. The link information log file of the DHCP server is acquired through an API interface.
2. The method for querying the topology of the access link of the IP set-top box in the FTTH access mode according to claim 1, characterized in that, The identification information of the IP set top box comprises an IP address, a MAC address and a gateway address, and the step of querying the link information log file according to the identification information of the IP set top box to obtain the relay agent information option to which the IP set top box is bound when a fault occurs comprises:
3. The method for querying the FTTH access mode under the IP set top box access link topology according to claim 1, characterized in that, querying the link information log file according to the IP address, the MAC address and / or the gateway address of the IP set top box to obtain a plurality of link information log records associated with the IP set top box; obtaining the relay agent information option to which the IP set top box is bound when a fault occurs according to a time when the IP set top box occurs the fault, the link establishment time and / or the link end time of the plurality of link information log records. The step of analyzing the relay agent information option to obtain link topology information passed through by the IP set top box when the fault occurs comprises:
4. The method for querying the FTTH access mode under the IP set top box access link topology according to claim 1, characterized in that, analyzing the relay agent information option to obtain optical network unit information to which the IP set top box is bound when the fault occurs, a FTTH optical line terminal to which the IP set top box belongs and a PON port number; acquiring BRAS information accessed by the optical line terminal to form link topology information comprising the optical network unit information, the optical line terminal, the PON port number and the BRAS information. The method comprises:
5. A system for querying the topology of the access link of an IP set-top box in FTTH access mode, connected to a DHCP server, characterized in that, a log file acquisition module, configured to acquire and store a link information log file of a DHCP server, wherein the link information log file comprises a relay agent information option, a link establishment time, a link end time and identification information of an IP set top box, the link information log file is formed by the DHCP server according to a DHCP message sent by the IP set top box to the DHCP server, the relay agent information option is configured by a DHCP relay device and inserted in the DHCP message, and the relay agent information option comprises optical network unit information to which the IP set top box is bound, a FTTH optical line terminal to which the IP set top box belongs and a PON port number; The query module is configured to query the link information log file according to the identification information of the IP set-top box, and obtain the relay agent information option bound by the IP set-top box when the IP set-top box fails. The link topology information generation module is configured to analyze the relay agent information option, and obtain the link topology information passed by the IP set-top box when the IP set-top box fails.
6. The system for querying the FTTH access mode under the IP set top box access link topology according to claim 5, characterized in that, The log file acquisition module is connected to the DHCP server through an API interface.
7. The system for querying the FTTH access mode under the IP set top box access link topology according to claim 5, characterized in that, The identification information of the IP set-top box includes an IP address, a MAC address and a gateway address, and the query module includes: A log query unit is configured to query the link information log file according to the IP address, the MAC address and / or the gateway address of the IP set-top box, and obtain a plurality of link information log records associated with the IP set-top box; A screening unit is configured to obtain the relay agent information option bound by the IP set-top box when the IP set-top box fails according to the time when the IP set-top box fails, the link establishment time and / or the link end time of the plurality of link information log records.
8. The system for querying the FTTH access mode under the IP set top box access link topology according to claim 5, characterized in that, The link topology information generation module includes: An analysis unit is configured to analyze the relay agent information option, and obtain the optical network unit information bound by the IP set-top box when the IP set-top box fails, the FTTH optical line terminal to which the optical network unit belongs and the PON port number; An information generation unit is configured to acquire BRAS information accessed by the optical line terminal, and generate link topology information including the optical network unit information, the optical line terminal to which the optical network unit belongs, the PON port number and the BRAS information.
9. An apparatus for querying an IP set-top box access link topology in an FTTH access mode, characterized in that, The computer program is executed by the processor to implement the steps of the method for querying the IP set-top box access link topology in the FTTH access mode according to any one of claims 1 to 4.
10. A computer readable storage medium having stored therein a computer program, characterized in that: The computer program is executed by the processor to implement the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Dynamic host configuration protocol (DHCP) message transmitting method and device
CN104468467A
Method for configuring a DHCP server using DHCP option 82
US20090279454A1