WO2017075743A1 - Topology discovery method for hfc network, network device, and network system - Google Patents

Topology discovery method for hfc network, network device, and network system Download PDF

Info

Publication number
WO2017075743A1
WO2017075743A1 PCT/CN2015/093567 CN2015093567W WO2017075743A1 WO 2017075743 A1 WO2017075743 A1 WO 2017075743A1 CN 2015093567 W CN2015093567 W CN 2015093567W WO 2017075743 A1 WO2017075743 A1 WO 2017075743A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
uplink signal
network element
uplink
network device
Prior art date
Application number
PCT/CN2015/093567
Other languages
French (fr)
Chinese (zh)
Inventor
张小龙
沈承虎
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/093567 priority Critical patent/WO2017075743A1/en
Priority to CN201580080954.0A priority patent/CN107683584B/en
Publication of WO2017075743A1 publication Critical patent/WO2017075743A1/en

Links

Images

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, network device, and network system for discovering HFC network topology.
  • Hybrid Fiber-Coaxial (HFC) network technology is an economical and practical integrated digital service broadband network access technology.
  • the HFC usually consists of three parts: the optical fiber trunk line, the coaxial cable branch line and the user wiring network.
  • the program signal from the cable TV station first becomes the optical signal transmitted on the trunk line, and after the user area is converted into the electric signal, it is distributed.
  • the device is distributed to the user via a coaxial cable.
  • FIG. 1 is a schematic diagram of a typical HFC network.
  • the HFC network includes the following devices and devices: a network management system, a Cable Modem Terminal System (CMTS), an optical station, and a cable. Cable Modem (CM), Set Top Box (STB) on the user side, and Personal Computer (PC). It can be seen that the CMTS is located on the metropolitan area network side, also known as the head end, and the CM is located at the user end.
  • CMTS Cable Modem Terminal System
  • STB Set Top Box
  • PC Personal Computer
  • Topology discovery is to use some techniques to obtain the existence information of the network nodes and the connection relationship information between them, and draw the entire network topology diagram based on this. Relative to the HFC network, it is to obtain the topological relationship between the CMTS and all CM lines. With the topology map of the HFC network, network operation and maintenance and troubleshooting can be greatly facilitated. Network administrators can quickly locate faulty nodes based on the topology map.
  • the topology discovery of the HFC network is mainly to add an intelligent modem module to the network element (amplifier/branch/distributor), and the intelligent modem module sends a test signal to the CMTS (or topology server) on the CM. Demodulation is performed, and the identification information of the local network element is added to the test signal. In this way, the test signals arrive at the CMTS and all the network elements are recorded (for example: A-B-C-).
  • the topology server analyzes the test information sent by all CMs to obtain the topology of the HFC network.
  • this method requires all intelligent modem modules to demodulate the uplink bursts, which is equivalent to the function of the CMTS.
  • the modules are complex, expensive, difficult to implement, and also require CM tools.
  • the ability to send test signals can be detected. Otherwise, only the topology relationship between NEs can be detected. It is impossible to know which network element the CM is in.
  • the invention provides a method, a network device and a network system for discovering an HFC network topology, which can quickly and accurately obtain the topology of the HFC network.
  • an embodiment of the present invention provides a method for discovering a topology of an HFC network, where the method includes: receiving, by the network device, a MAP message broadcasted by the CMTS, and parsing the MAP message to obtain an uplink time corresponding to the network element in the HFC network, where The uplink time indicates the time interval for the network element to send the uplink signal to the coaxial cable access device CMTS, and then monitors the uplink signal of the network element at the uplink time of the network element to confirm whether the uplink signal of the network element passes.
  • the network device obtains an uplink signal detection result, and then the network device sends an uplink signal detection result to the server, where the uplink signal detection result indicates a connection relationship between the network device and the network element, and is used by the server to pass It is analyzed to obtain the topology of the HFC network.
  • the network device in the HFC network can analyze the MAP message broadcasted by the CMTS to obtain the uplink time of the network element in the HFC network, and monitor the uplink signal at each uplink time to pass the uplink signal through the network.
  • the device determines whether the corresponding network element is downstream of the network device, and sends the uplink signal detection result to the server, so that the server can analyze the uplink signal detection result to obtain the topology of the HFC network. Therefore, in the embodiment of the present invention, the topology relationship between the NEs in the HFC network can be quickly and accurately detected without the need for the uplink burst packet demodulation and the capability of the CM to transmit the test signal. .
  • the network device monitors an uplink signal of the network element in an uplink time of the network element, and determines whether the uplink signal of the network element passes the network device.
  • the specific manner of obtaining the uplink signal detection result is: determining whether the uplink signal of the corresponding network element is detected in the uplink time of a certain network element, and if it is detected, the uplink signal detection result records that the uplink signal of the network element passes through the network device; If not detected, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
  • the network device can obtain which network elements in the HFC network are located downstream of the node (the network device) and which network devices are not located downstream of the node (the network device), thereby improving the achievability of the solution.
  • the specific manner of the network device determining whether the uplink signal of the network element is detected in the uplink time of the network element may be The uplink signal of the corresponding network element is detected by monitoring the amplitude of the signal of the radio frequency RF port in the uplink time of the network element. If the amplitude strength is greater than the preset threshold, it is determined that the uplink signal of the corresponding network element is detected.
  • the determining, by the network device, whether the uplink signal of the network element is detected in the uplink time of the network element may be specifically Perform spectrum analysis on the uplink time of the network element to determine whether the uplink signal of the network element is detected.
  • the network device can detect the uplink signal of the network element in the uplink time of a certain network element by using the foregoing two methods, thereby improving the achievability of the solution.
  • the network device parses the MAP message
  • the specific manner of obtaining the uplink time corresponding to the network element in the HFC network is to parse the MAP message to obtain a MAP information unit structure table, where the MAP information unit structure table includes the identifier of the network element in the HFC network and the corresponding uplink time.
  • an embodiment of the present invention provides a method for discovering a topology of an HFC network, where the server receives multiple uplink signal detection results sent by multiple network devices, where multiple network devices include a first network device, The uplink signal detection result of the network device indicates whether the uplink signal sent by the network element in the HFC network passes through the first network device (that is, the uplink signal result of the network device indicates whether the uplink signal result of the network element in the HFC network passes the Network device); After that, the server performs statistical analysis on multiple uplink signal detection results to obtain the topology of the HFC network.
  • the server in the HFC network can analyze the topology of the HFC network according to the detection results of multiple uplink signals sent by multiple network devices in the HFC, so that the uplink burst packet demodulation is not required, and the CM is not needed.
  • the topology relationship between the NEs in the HFC network is quickly and accurately detected, thereby completing topology discovery.
  • the server performs statistical analysis on multiple uplink signal detection results to obtain a topology of the HFC network in a specific manner: combining multiple uplink signal detection results To construct an adjacency matrix formed by network elements in the HFC network, and then The elementary transformation of the adjacency matrix is performed to obtain the simplest adjacency matrix, which represents the direct connection relationship of each network element. Therefore, the server can obtain the topology of the HFC network according to the simplest adjacency matrix. In this way, the server can obtain the connection relationship of each network element in the intuitive HFC network by means of matrix elementary transformation, thereby quickly obtaining the topology diagram of the HFC network.
  • an embodiment of the present invention provides a network device, including a receiving unit, configured to receive an allocation mapping MAP message broadcasted by a coaxial cable access device CMTS, and a parsing unit configured to parse the MAP message to obtain an HFC.
  • the uplink time corresponding to the network element in the network indicates the time interval for the network element to send the uplink signal to the coaxial cable office access device CMTS
  • the monitoring unit is configured to monitor the network element during the uplink time of the network element, and confirm Whether the uplink signal of the network element passes through the network device to obtain an uplink signal detection result
  • the sending unit is configured to send the uplink signal detection result to the server, and the uplink signal detection result indicates a connection relationship between the network device and the network element, and is used for the server pair.
  • the uplink signal detection result is analyzed to obtain the topology of the HFC network.
  • the monitoring unit is configured to determine whether an uplink signal of the network element is detected during an uplink time of the network element, and if the monitoring is performed, the uplink signal detection result The uplink signal of the recording network element passes through the network device. If not detected, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
  • the monitoring unit is configured to monitor, by using an uplink device, an amplitude of the signal of the radio frequency RF port. Determining whether the uplink signal of the network element is detected. If the amplitude strength is greater than the preset threshold, determining that the uplink signal of the network element is detected, the uplink signal detection result records that the uplink signal of the network element passes through the network device, and if the amplitude is lighter than the preset The threshold value determines that the uplink signal of the network element is not detected, and the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
  • the monitoring unit is configured to perform spectrum analysis on an uplink time of the network element to determine whether the network element is detected. If the uplink signal is detected, the uplink signal detection result records that the uplink signal of the network element passes through the network device. If not detected, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
  • the parsing unit is specifically configured to be used
  • the MAP message is parsed to obtain a MAP information unit structure table, and the MAP information unit structure table includes the identifier of the network element in the HFC network and the corresponding uplink time.
  • an embodiment of the present invention provides a network device, where the network device includes a receiver, a processor, and a transmitter, where the receiver is configured to perform the steps performed by the receiving unit in the third aspect, and the processor is configured to: Performing the parsing unit of the third aspect and the steps performed by the monitoring unit, the transmitter is configured to perform the steps performed by the transmitting unit of the third aspect.
  • an embodiment of the present invention provides a server, where the server includes a receiver and a processor, where the receiver is configured to receive multiple uplink signal detection results sent by multiple network devices, where multiple network devices are included.
  • the first network device the uplink signal detection result of the first network device indicates whether the uplink signal sent by the network element in the HFC network passes the first network device, and the processor is configured to perform statistical analysis on the detection result of the multiple uplink signals to obtain the HFC.
  • the topology of the network is configured to perform statistical analysis on the detection result of the multiple uplink signals to obtain the HFC.
  • the processor is specifically configured to perform the steps in the first possible implementation manner of the second aspect: combining the multiple uplink signal detection results
  • the adjacency matrix formed by the network elements in the HFC network is constructed, and the adjacency adjacency matrix is obtained by elementary transformation of the adjacency matrix, and then the topology of the HFC network is obtained according to the simplest adjacency matrix.
  • an embodiment of the present invention provides an HFC network system, including a server and at least one network device, where the network device is configured to perform the method steps in the foregoing first aspect, where the server is configured to perform the method in the foregoing second aspect. step.
  • the network device may exist as an entity independent of other network devices in the existing HFC network, or may be integrated with other network devices in the existing HFC network.
  • the present invention also provides a computer storage medium storing a program that performs some or all of the steps of the HFC network topology discovery method of the first aspect above.
  • the network device in the HFC network has the capability of parsing the MAP message broadcasted by the CMTS, and after obtaining the uplink time of each network element in the HFC network, the uplink of each network element is performed at the uplink time of each network element.
  • the signal is monitored to determine whether the corresponding network element is downstream of the network device by whether the uplink signal passes through the network device, so that the server can analyze the uplink signal detection result to obtain the topology of the HFC network. Therefore, the topology relationship among network elements in the HFC network can be quickly and accurately detected.
  • FIG. 1 is a schematic diagram of an HFC network according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for discovering a topology of an HFC network according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a partial network of the HFC network shown in FIG. 1 according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a MAP message according to an embodiment of the present invention.
  • FIG. 5 is a MAP message unit structure table corresponding to the HFC local network diagram shown in FIG. 3 according to an embodiment of the present invention
  • FIG. 6 is an uplink signal detection result monitored by T2 in the HFC local network diagram shown in FIG. 3 according to an embodiment of the present invention
  • FIG. 7 is a simplified table of the uplink signal detection result of FIG. 6 according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of a server side in an HFC network topology discovery method according to an embodiment of the present invention.
  • FIG. 9 is an adjacency matrix obtained by the server on the basis of the schematic diagram of the HFC network shown in FIG. 3 according to an embodiment of the present invention.
  • FIG. 10 is a simplified connection matrix obtained by a server according to the adjacency matrix of FIG. 9 according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of functional modules of a network device according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of hardware of a network device according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of hardware of a server according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of an HFC network system according to an embodiment of the present invention.
  • the terms “comprises” and “comprises” and “the” and “the” are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or modules is not necessarily limited to Those steps or modules, but may include other steps or modules not explicitly listed or inherent to such processes, methods, products or devices, the division of the modules presented herein is merely a logical division. There may be additional divisions in the implementation of the actual application, for example, multiple modules may be combined or integrated into another system, or some features may be ignored, or not executed, and the displayed or discussed mutual coupling.
  • the direct coupling or the communication connection may be through some interfaces, and the indirect coupling or communication connection between the modules may be electrical or the like, which is not limited herein.
  • the module or the sub-module described as the separate component may or may not be physically separated, may not be a physical module, or may not be divided into a plurality of circuit modules, and may select a part thereof according to actual needs or All modules are used to achieve the objectives of the embodiments of the present invention.
  • the embodiment of the invention provides a method, a network device, a server and a network system for discovering an HFC network topology, which can quickly and accurately obtain the topology of the HFC network. The details are described below.
  • FIG. 2 is a flowchart of an embodiment of a method for discovering a topology of an HFC network according to the present invention.
  • the method in this embodiment may be implemented by a topology discovery intelligent module embedded in the network device in FIG. 1, or may be inserted into an HFC.
  • a separate network device in the network (independent of each network device in Figure 1) is completed.
  • FIG. 3 is a schematic diagram of a certain local network of the HFC network shown in FIG. 1, and a total of five CMs are shown in the figure. 5 other network devices, specifically including an amplifier A1, two branchers T1 and T2, and two distributors S1 and S2.
  • the top five network devices are embedded with a topology discovery intelligent module, and the five network devices are The network topology discovery method in the embodiment of the present invention is completed.
  • the method of this embodiment includes:
  • the network device receives a distribution map (MAP) message of the CMTS broadcast.
  • MAP distribution map
  • CM and other network settings in the HFC uplink transmission system based on the Data-over-Cable Service Interface Specification (DOCSIS)
  • DOCSIS Data-over-Cable Service Interface Specification
  • the CMTS periodically broadcasts MAP messages to all CMs and other network devices according to the uplink bandwidth requests of each CM and other network devices.
  • the MAP message specifies that different CMs and other network devices use different time slots for uplink transmission in sequence. Only one network element (the network element refers to the CM and other network devices in the HFC network) is allowed to be used in a certain time slot.
  • the CM or other network device selects its own time slot for uplink data transmission.
  • MAP 4 is a structure of a MAP information unit, in which a service flow identifier (SID) corresponds to a different CM or other network device; an Interval Usage Code (IUC) is a different time slot type; Offset is a time slot. The starting offset (in microslots).
  • SID service flow identifier
  • IUC Interval Usage Code
  • Offset is a time slot. The starting offset (in microslots).
  • the MAP message unit specifies that the CM or other network device corresponding to the SIDi must transmit uplink data within the time interval of Offseti and Offset(i+1).
  • the CMTS will broadcast MAP messages to these 10 devices in the downlink. After receiving the MAP message, the CM and other network devices will send the uplink data in the uplink time specified by the MAP message.
  • the network device parses the MAP message to obtain an uplink time of the network element in the HFC network.
  • the network device After receiving the MAP message broadcasted by the CMTS, the network device parses the MAP message to obtain a MAP message unit structure table as shown in FIG. 4 and a correspondence between the SID in the MAP message unit structure and each network element (CM and other network devices). Relationship, the MAP message unit structure table includes the uplink time of each network element, that is, the time interval between Offseti and Offset(i+1).
  • the specific analysis method is prior art, and will not be described in detail herein.
  • the MAP message unit structure, the SID, and the corresponding relationship of the network elements obtained by the network device after parsing the MAP message are as shown in FIG. 5.
  • the SID corresponding to CM1 is SID 1
  • the interval usage code is IUC1
  • the offset from the uplink time is Offset1
  • IUC1 the interval usage code
  • IUC offset from the uplink time
  • the network device monitors an uplink signal of the network element in an uplink time of the network element, and determines whether an uplink signal of the network element passes the network device to obtain an uplink signal detection result.
  • the network device monitors whether there is a service signal from the downstream uplink channel at the local node to obtain an uplink signal detection result.
  • the network device monitors whether there is a service signal from the downstream uplink channel at the local node in each time interval in the MAP message, and if the service signal is detected in the time interval, the time interval is indicated.
  • the network element (CM or other network device) corresponding to the SID is located downstream of the network device, and the service signal sent by the uplink element of the network element can reach the CMTS through the network device, and the network device records the uplink signal detection result into the table.
  • the tag 1 indicates that the service signal is received at the time interval, and the network element corresponding to the corresponding SID is located downstream of the network device, and the tag 0 indicates that no service signal is received at the time interval, and the network element corresponding to the corresponding SID is not located in the network. Downstream of the device.
  • the network device T2 monitors the uplink channel service signal passing through the node, that is, the uplink signal detection result is as shown in FIG. 6.
  • the SID corresponding to T2 is SID9, and the node detects the signal sent by the device whose SID is SID1, SID2, SID3, SID4, SID6, SID7 in the corresponding time interval in the MAP message, that is, CM1, CM2, CM3, CM4, S1 are detected.
  • the signals sent by S2 indicate that CM1, CM2, CM3, CM4, S1, and S2 are located downstream of the T2 node; no corresponding uplink signals are detected at the time intervals corresponding to SID5, SID8, and SID10, indicating that CM5, T1, and A1 are not located. Downstream of the T2 node.
  • the method for determining whether the network device has a signal during monitoring may include the following two types:
  • the first type the amplitude of the signal of the radio frequency (RF) port is monitored at the uplink time of each network element to determine whether the uplink signal of the corresponding network element is detected. If the amplitude strength is greater than the threshold, it is determined that the network element is monitored. The uplink signal, conversely, if the amplitude strength is less than the threshold, it is determined that the uplink signal of the network element is not detected.
  • RF radio frequency
  • the second type is to perform spectrum analysis on the uplink time of the network element to determine whether the uplink signal of the corresponding network element is detected.
  • the network device sends the uplink signal detection result to the server.
  • the network device After obtaining the uplink signal detection result, the network device sends the uplink signal detection result to the server, and may also collect the uplink signal detection result of step 203 in a period of time, and then send the statistics result to the server to ensure uplink. The accuracy of the signal detection results.
  • the network device adds the identifier of the node when sending the uplink signal detection result, so that the server distinguishes the network device that sends the detection result of each uplink signal, and performs topology discovery. It should be noted that, when the network device sends the uplink signal detection result, the identifier of the local node does not have to be marked. The identifier of the network device corresponding to the currently sent uplink signal detection result may be obtained by the server itself.
  • the server collects the uplink signal detection result sent by all network devices and performs statistical analysis to obtain the topology relationship of each network element in the HFC network.
  • the network device in the HFC network receives the allocation mapping MAP message of the CMTS broadcast, and parses the MAP message to obtain the uplink time of the network element in the HFC network; after that, the network device is in the uplink of the network element.
  • the uplink signal is monitored to obtain an uplink signal detection result, and the uplink signal detection result indicates whether the uplink signal of the network element passes through the network device; after that, the network device sends the uplink signal detection result to the server, so that the server uplinks the uplink signal.
  • the signal detection results are analyzed to obtain the topology of the HFC network.
  • the uplink cell burst demodulation is not required, and the capability of the CM to transmit the test signal is not required, and the network elements in the HFC network can be quickly and accurately detected.
  • Topological relationships for topology discovery are not required, and the network elements in the HFC network can be quickly and accurately detected.
  • the following is a detailed analysis of the HFC network topology relationship from the server side to the server based on the uplink signal detection result sent by each network device.
  • the server in the embodiment of the present invention specifically refers to a topology server.
  • a flowchart of an embodiment of the HFC network topology discovery method of the present invention includes:
  • the server receives multiple uplink signal detection results sent by multiple network devices.
  • the uplink signal detection result is sent to the server at the uplink time interval allocated by the MAP message to the network device, and the server collects multiple network device transmissions.
  • the uplink signal detection result of a network device indicates which nodes in the HFC network are located downstream of the network device.
  • the server performs statistical analysis on multiple uplink signal detection results to obtain an extension of the HFC network. Plop the structure.
  • the server After collecting the uplink signal detection results sent by multiple network devices, the server performs statistical analysis on the detection results of the uplink signals, and then obtains the topology of the HFC network.
  • the adjacency matrix may be used to perform statistical analysis on multiple uplink signal detection results. The details are described below.
  • the adjacency matrix is a matrix formed by combining statistical result vectors sent by all network devices. Any element of the matrix indicates whether the uplink service of the SID corresponding to the matrix row needs to pass through the network element corresponding to the matrix column to reach the CMTS, that is, It is said that the network device corresponding to the SID of the matrix row is under the network device corresponding to the array. Any column of the matrix indicates which network devices exist downstream of the network device corresponding to the column. So the adjacency matrix illustrates the topology of the HFC network.
  • the adjacency matrix available to the server is shown in FIG. 9.
  • the uplink data of CM1 must pass S1, T1, T2, and A1 when it reaches the CMTS; for the first column, CM1 and CM2 are downstream of S1.
  • the HFC network is a tree or a star structure, there is a set inclusion and inclusion relationship between the network elements.
  • For adjacency matrices there is an inclusion and inclusion relationship of the column vectors.
  • the adjacency matrix can be subjected to elementary column transformation, and the linear relationship between the column vectors (ie, the inclusion relationship) is eliminated, and the column-equivalent adjacency matrix of the column-independent column is obtained.
  • the column's minimally adjacency matrix ultimately expresses the directly connected relationship between the devices, so there is no cross-device inclusion relationship.
  • Figure 10 is a column-simplified adjacency matrix obtained from the matrix of Figure 9. As shown in Figure 10, CM1 and CM2 are directly connected to S1; CM5 and T2 are directly connected to T1.
  • the above is a description of the HFC network topology discovery method.
  • the network device in the embodiment of the present invention is introduced from the perspective of the function module implementation.
  • an embodiment of the present invention provides a network device 11, which includes:
  • the receiving unit 1101 is configured to receive an allocation mapping MAP message broadcast by the coaxial cable central office access device CMTS;
  • the parsing unit 1102 is configured to parse the MAP message received by the receiving unit 1101 to obtain an uplink time corresponding to the network element in the HFC network, where the uplink time indicates a time interval for the network element to send an uplink signal to the coaxial cable central office access device CMTS. ;
  • the monitoring unit 1103 is configured to monitor each network element in the uplink time of each network element parsed by the parsing unit 1102, and confirm whether the uplink signal of each network element passes the network device 11 to obtain an uplink signal detection result, and the uplink signal detection is performed.
  • the result indicates a connection relationship between the network device and each network element;
  • the sending unit 1104 is configured to send the uplink signal detection result monitored by the monitoring unit 1103 to the server, where the server analyzes the uplink signal detection result to obtain a topology of the HFC network.
  • the monitoring unit 1103 is specifically configured to determine whether the uplink signal of the network element is detected during the uplink time of the network element, and if the monitoring is performed, the uplink signal detection result records the uplink signal of the network element through the network device, if If not detected, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
  • the monitoring unit 1103 is configured to monitor, by using an amplitude of the signal of the radio frequency RF port, an uplink signal of the radio frequency RF port to detect whether the uplink signal of the network element is detected, and if the amplitude strength is greater than a preset threshold, After the uplink signal of the network element is detected, the uplink signal detection result records that the uplink signal of the network element passes through the network device, and if the amplitude is less than the preset threshold, it is determined that the uplink signal of the network element is not detected, and the uplink signal detection result record is recorded. The uplink signal of the network element does not pass through the network device.
  • the monitoring unit 1103 is configured to perform spectrum analysis on the uplink time of the network element to determine whether the uplink signal of the network element is detected. If the uplink signal is detected, the uplink signal detection result records the uplink signal of the network element. After the network device is not detected, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
  • the parsing unit 1102 is specifically configured to parse the MAP message.
  • the MAP information unit structure table, the MAP information unit structure table includes the identifier of the network element in the HFC network and the corresponding uplink time.
  • the receiving unit 1101 of the network device 11 of the HFC network receives the allocation mapping MAP message of the CMTS broadcast, and then the parsing unit 1102 parses the MAP message to obtain the uplink time of the network element in the HFC network;
  • the monitoring unit 1103 monitors the uplink signal at the uplink time of each network element to obtain an uplink signal detection result, where the uplink signal detection result indicates whether the uplink signal of the network element passes the network device; after that, the sending unit 1104 detects the uplink signal.
  • the result is sent to the server, so that the server analyzes the uplink signal detection result to obtain the topology of the HFC network.
  • the network device 11 can quickly and accurately detect the topological relationship among the network elements in the HFC network, without requiring the uplink burst packet demodulation and the capability of the CM to send the test signal. Implement topology discovery.
  • the network device in the embodiment of the present invention is introduced from the perspective of hardware structure.
  • FIG. 12 is a schematic diagram of a network device according to an embodiment of the present invention.
  • the network device 12 is located in an HFC network, and may be an independent network device or an HFC network as shown in FIG. 2 .
  • the amplifier A1, the splitter T1, the splitter T2, the splitter S1 or the splitter S2 are implemented in these HFC network devices by embedding the topology discovery intelligent module to implement the functions of the network device in the embodiment of the present invention.
  • the network device 12 includes at least one network interface or other communication interface, at least one receiver 1201, at least one transmitter 1203, and at least one processor 1202 to implement connection communication between the devices through at least one network interface
  • the communication connection between the network device and at least one other network element in the HFC network may be implemented by wired or wireless, and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
  • the network device may further include a read only memory or a random access memory, and provide instructions and data to the processor 1202.
  • the memory may also include a portion of the memory, which may include a high speed random access memory (RAM), or Also included is a non-volatile memory.
  • the memory stores the following elements, executable modules or data structures, or a subset of them, or their extended set:
  • Operation instructions include various operation instructions for implementing various operations.
  • Operating system Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
  • the receiver 1201 is configured to perform the step performed by the receiving unit 1101, that is, receive the allocation mapping MAP message of the CMTS broadcast;
  • the processor 1202 is configured to execute the steps performed by the parsing unit 1102 and the monitoring unit 1103, and details are not described herein.
  • the transmitter 1203 is configured to execute the step performed by the sending unit 1103, and send an uplink signal detection result indicating a connection relationship between the network device and each network element to the server, and send the uplink signal detection result to the server, where the uplink signal detection is detected by the server.
  • the results were analyzed to obtain the topology of the HFC network.
  • the receiver 1201 of the network device 12 of the HFC network receives the allocation mapping MAP message of the CMTS broadcast, and the processor 1202 parses the MAP message to obtain the uplink time of the network element in the HFC network;
  • the processor 1202 monitors the uplink signal in the uplink time of each network element to obtain an uplink signal detection result, where the uplink signal detection result indicates whether the uplink signal of the network element passes the network device; after that, the transmitter 1203 detects the uplink signal.
  • Send to the server so that the server analyzes the uplink signal detection result to obtain the topology of the HFC network.
  • the network device 12 can quickly and accurately detect the topological relationship among the network elements in the HFC network, without requiring the uplink burst packet demodulation and the capability of the CM to send the test signal. Implement topology discovery.
  • the server 13 in the embodiment of the present invention will be described below with reference to FIG.
  • the server 13 includes at least one network interface or other communication interface, at least one receiver 1301, and at least one processor 1302 to implement connection communication between the devices, by at least A network interface (which may be wired or wireless) implements a communication connection between the network device and at least one other network element in the HFC network, and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
  • a network interface (which may be wired or wireless) implements a communication connection between the network device and at least one other network element in the HFC network, and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
  • the receiver 1301 is configured to receive a plurality of uplink signal detection results sent by the network device as shown in FIG. 11, where the plurality of network devices include the first network device, and the uplink signal detection result of the first network device indicates the HFC. Whether the uplink signal sent by the network element in the network passes through the first network device, that is, the uplink signal detection result of one of the network devices indicates whether the uplink signal sent by the network element in the HFC network passes through the network device.
  • the processor 1302 is configured to perform statistical analysis on multiple uplink signal detection results to obtain a topology of the HFC network.
  • the processor 1302 is further configured to perform the following steps:
  • the processor 1302 is specifically configured to combine multiple uplink signal detection results to construct an adjacency matrix formed by network elements in the HFC network, perform elementary transformation on the adjacency matrix to obtain a simplest adjacency matrix, and obtain the simplest adjacency matrix according to the simplest adjacency matrix.
  • the topology of the HFC network is specifically configured to combine multiple uplink signal detection results to construct an adjacency matrix formed by network elements in the HFC network, perform elementary transformation on the adjacency matrix to obtain a simplest adjacency matrix, and obtain the simplest adjacency matrix according to the simplest adjacency matrix.
  • the server 13 may include other components, such as a memory, for storing the operation instructions, data structures, and various basic services performed by the processor 1302 in addition to the above receiver 1301 and the processor 1302. System program in the operating system.
  • the memory can include read only memory and random access memory.
  • the processor 1302 performs statistical analysis on the uplink signal results to obtain a topology diagram of the HFC network, thereby combining the network devices.
  • the fast and accurate detection of the topological relationship among the NEs in the HFC network is implemented to achieve the HFC network topology discovery.
  • the present invention also provides a computer storage medium storing a program, the program including some or all of the steps of the network device performing a HFC network topology discovery.
  • an embodiment of the present invention further provides an HFC network system, including a server 1402 and at least one network device 1401, wherein the network device 1401 performs the method steps performed by the network device in the foregoing embodiment shown in FIG. 2,
  • the server 1402 performs the method steps performed by the server in the aforementioned embodiment shown in FIG.
  • the network device 1401 may be integrated with other network devices in the existing HFC network, and the network architecture diagram integrated may be as shown in FIG. 3; An entity that is independent of other network devices in the existing HFC network exists. This is not limited here.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), A variety of media that can store program code, such as random access memory (RAM), disk, or optical disk.

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a topology discovery method for an HFC network, a network device, and an HFC network system, for use in quickly and accurately obtaining a topological structure of an HFC network. The method in the embodiments of the present invention comprises: a network device in an HFC network receives an MAP message broadcasted by a CMTS and parses the MAP message to obtain an uplink time of network elements in the HFC network; the network device then monitors uplink signals at the uplink time of the various network elements, and determines whether the uplink signals of the various network elements pass the network device, so as to obtain an uplink signal detection result, wherein the uplink signal detection result indicates the connection relation between the network device and the various network elements; and the network device then sends the uplink signal detection result to a server, such that the server analyzes the uplink signal detection result to obtain the topological structure of the HFC network. Therefore, the embodiments of the present invention can quickly and accurately detect a topological structure of network elements in an HFC network without uplink burst packet demodulation and a CM having a test signal transmission capability.

Description

一种HFC网络拓扑发现的方法、网络设备及网络系统Method, network device and network system for HFC network topology discovery 技术领域Technical field
本发明涉及通信领域,尤其涉及的是一种HFC网络拓扑发现的方法、网络设备及网络系统。The present invention relates to the field of communications, and in particular, to a method, network device, and network system for discovering HFC network topology.
背景技术Background technique
混合光纤同轴电缆(Hybrid Fiber-Coaxial,HFC)网络技术,是一种经济实用的综合数字服务宽带网接入技术。HFC通常由光纤干线、同轴电缆支线和用户配线网络三部分组成,从有线电视台出来的节目信号先变成光信号在干线上传输,到用户区域后把光信号转换成电信号,经分配器分配后通过同轴电缆送到用户。Hybrid Fiber-Coaxial (HFC) network technology is an economical and practical integrated digital service broadband network access technology. The HFC usually consists of three parts: the optical fiber trunk line, the coaxial cable branch line and the user wiring network. The program signal from the cable TV station first becomes the optical signal transmitted on the trunk line, and after the user area is converted into the electric signal, it is distributed. The device is distributed to the user via a coaxial cable.
图1为一个典型的HFC网络的示意图,如图1所示,HFC网络包括以下设备和器件:网络管理系统、同轴电缆局端接入设备(Cable Modem Terminal System,CMTS)、光站、电缆调制解调器(Cable Modem,CM)、用户侧的机顶盒(Set Top Box,STB)和个人电脑(Personal Computer,PC)等。可以看出,CMTS位于城域网侧,也称为头端,CM位于用户端。FIG. 1 is a schematic diagram of a typical HFC network. As shown in FIG. 1 , the HFC network includes the following devices and devices: a network management system, a Cable Modem Terminal System (CMTS), an optical station, and a cable. Cable Modem (CM), Set Top Box (STB) on the user side, and Personal Computer (PC). It can be seen that the CMTS is located on the metropolitan area network side, also known as the head end, and the CM is located at the user end.
拓扑发现是使用某些技术获取网络节点的存在信息和它们之间的连接关系信息,并在此基础上绘制出整个网络拓扑图。相对于HFC网络来说,就是要获得CMTS与所有CM之间线路的拓扑关系。有了HFC网络的拓扑图,可对网络运维、故障排查带来极大的方便,网络管理人员在拓扑图的基础上对故障节点进行快速定位。Topology discovery is to use some techniques to obtain the existence information of the network nodes and the connection relationship information between them, and draw the entire network topology diagram based on this. Relative to the HFC network, it is to obtain the topological relationship between the CMTS and all CM lines. With the topology map of the HFC network, network operation and maintenance and troubleshooting can be greatly facilitated. Network administrators can quickly locate faulty nodes based on the topology map.
当前对HFC网络进行拓扑发现,主要是在网元(放大器/分支器/分配器)中添加智能调制解调模块,智能调制解调模块会对CM上发给CMTS(或拓扑服务器)的测试信号进行解调,并且在测试信号添加本地网元的标示信息。这样测试信号到达CMTS经过了哪些网元便全被记录下来(例如:A-B-C-…)。拓扑服务器分析所有CM发过来的测试信息,便可获得HFC网络的拓扑结构。Currently, the topology discovery of the HFC network is mainly to add an intelligent modem module to the network element (amplifier/branch/distributor), and the intelligent modem module sends a test signal to the CMTS (or topology server) on the CM. Demodulation is performed, and the identification information of the local network element is added to the test signal. In this way, the test signals arrive at the CMTS and all the network elements are recorded (for example: A-B-C-...). The topology server analyzes the test information sent by all CMs to obtain the topology of the HFC network.
但是这种方法要求所有智能调制解调模块能对上行的突发包括进行解调,相当于CMTS的功能,模块复杂,价格昂贵,难于实现,同时还要求CM具 备上发测试信号的能力,不然只能探测到网元间的拓扑关系,无法知道CM处于哪个网元下。However, this method requires all intelligent modem modules to demodulate the uplink bursts, which is equivalent to the function of the CMTS. The modules are complex, expensive, difficult to implement, and also require CM tools. The ability to send test signals can be detected. Otherwise, only the topology relationship between NEs can be detected. It is impossible to know which network element the CM is in.
发明内容Summary of the invention
本发明提供了一种HFC网络拓扑发现的方法、网络设备及网络系统,能够快速准确地获得HFC网络的拓扑结构。The invention provides a method, a network device and a network system for discovering an HFC network topology, which can quickly and accurately obtain the topology of the HFC network.
第一方面,本发明实施例提供了一种HFC网络拓扑发现的方法,该方法包括:网络设备接收CMTS广播的MAP消息,对MAP消息进行解析获得HFC网络中的网元对应的上行时间,该上行时间指示网元向同轴电缆局端接入设备CMTS发送上行信号的时间间隔,之后,再在网元的上行时间对网元的上行信号进行监测,确认所述网元的上行信号是否经过所述网络设备以获得上行信号检测结果,之后,该网络设备将上行信号检测结果发送至服务器,该上行信号检测结果指示所述网络设备与所述网元之间的连接关系,用于服务器通过对其进行分析获得HFC网络的拓扑结构。In a first aspect, an embodiment of the present invention provides a method for discovering a topology of an HFC network, where the method includes: receiving, by the network device, a MAP message broadcasted by the CMTS, and parsing the MAP message to obtain an uplink time corresponding to the network element in the HFC network, where The uplink time indicates the time interval for the network element to send the uplink signal to the coaxial cable access device CMTS, and then monitors the uplink signal of the network element at the uplink time of the network element to confirm whether the uplink signal of the network element passes. The network device obtains an uplink signal detection result, and then the network device sends an uplink signal detection result to the server, where the uplink signal detection result indicates a connection relationship between the network device and the network element, and is used by the server to pass It is analyzed to obtain the topology of the HFC network.
本发明实施例中,通过HFC网络中的网络设备能够对CMTS广播的MAP消息进行解析获得HFC网络中网元的上行时间,在各上行时间对上行信号进行监测,以通过上行信号是否经过该网络设备来确定相应网元是否处于该网络设备的下游,通过上行信号检测结果发送至服务器,使得服务器可以依据该上行信号检测结果进行分析获得HFC网络的拓扑结构。因此,本发明实施例可以在不需要对上行突发包解调以及不需要CM具备发送测试信号的能力的情况下,快速准确地探测HFC网络中各网元间的拓扑关系,从而完成拓扑发现。In the embodiment of the present invention, the network device in the HFC network can analyze the MAP message broadcasted by the CMTS to obtain the uplink time of the network element in the HFC network, and monitor the uplink signal at each uplink time to pass the uplink signal through the network. The device determines whether the corresponding network element is downstream of the network device, and sends the uplink signal detection result to the server, so that the server can analyze the uplink signal detection result to obtain the topology of the HFC network. Therefore, in the embodiment of the present invention, the topology relationship between the NEs in the HFC network can be quickly and accurately detected without the need for the uplink burst packet demodulation and the capability of the CM to transmit the test signal. .
结合第一方面,在第一方面的第一种可能的实现方式中,网络设备在网元的上行时间对网元的上行信号进行监测,确认所述网元的上行信号是否经过所述网络设备以获得上行信号检测结果的具体方式为:判断在某网元的上行时间是否监测到相应网元的上行信号,若监测到,则上行信号检测结果记录该网元的上行信号经过该网络设备;若未监测到,则上行信号检测结果记录该网元的上行信号不经过该网络设备。如此,网络设备可以通过此方法获得HFC网络中哪些网元位于该节点(该网络设备)的下游,哪些网络设备不位于该节点(该网络设备)的下游,从而提高了方案的可实现性。 With reference to the first aspect, in a first possible implementation manner of the first aspect, the network device monitors an uplink signal of the network element in an uplink time of the network element, and determines whether the uplink signal of the network element passes the network device. The specific manner of obtaining the uplink signal detection result is: determining whether the uplink signal of the corresponding network element is detected in the uplink time of a certain network element, and if it is detected, the uplink signal detection result records that the uplink signal of the network element passes through the network device; If not detected, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device. In this way, the network device can obtain which network elements in the HFC network are located downstream of the node (the network device) and which network devices are not located downstream of the node (the network device), thereby improving the achievability of the solution.
结合第第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,网络设备判断在网元的上行时间是否监测到网元的上行信号的具体方式可以为通过在网元的上行时间监测射频RF口的信号的幅度强度以判断是否监测到相应网元的上行信号,如果幅度强度大于预设阈值,则确定有监测到相应网元的上行信号。With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the specific manner of the network device determining whether the uplink signal of the network element is detected in the uplink time of the network element may be The uplink signal of the corresponding network element is detected by monitoring the amplitude of the signal of the radio frequency RF port in the uplink time of the network element. If the amplitude strength is greater than the preset threshold, it is determined that the uplink signal of the corresponding network element is detected.
结合第第一方面的第一种可能的实现方式,在第一方面的第三种可能的实现方式中,网络设备判断是否在网元的上行时间监测到网元的上行信号具体还可以是通过在网元的上行时间进行频谱分析以判断是否监测到网元的上行信号。With reference to the first possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the determining, by the network device, whether the uplink signal of the network element is detected in the uplink time of the network element may be specifically Perform spectrum analysis on the uplink time of the network element to determine whether the uplink signal of the network element is detected.
如此,网络设备可以通过以上两种方式在某网元的上行时间检测该网元的上行信号,提高了方案的可实现性。In this way, the network device can detect the uplink signal of the network element in the uplink time of a certain network element by using the foregoing two methods, thereby improving the achievability of the solution.
结合第一方面,第一方面的第一种可能的实现方式至第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,网络设备对MAP消息进行解析获得HFC网络中的网元对应的上行时间的具体方式是对MAP消息进行解析获得MAP信息单元结构表,MAP信息单元结构表中包含HFC网络中的网元的标识及对应的上行时间。With reference to the first aspect, the first possible implementation of the first aspect to the third possible implementation of the first aspect, in a fourth possible implementation manner of the first aspect, the network device parses the MAP message The specific manner of obtaining the uplink time corresponding to the network element in the HFC network is to parse the MAP message to obtain a MAP information unit structure table, where the MAP information unit structure table includes the identifier of the network element in the HFC network and the corresponding uplink time.
第二方面,本发明实施例提供了一种HFC网络拓扑发现的方法,该方法为:服务器接收多个网络设备发送的多个上行信号检测结果,多个网络设备中包括第一网络设备,第一网络设备的上行信号检测结果指示HFC网络中的网元发送的上行信号是否经过第一网络设备(即:某个网络设备的上行信号结果指示HFC网络中的网元的上行信号结果是否经过该网络设备);之后,服务器对多个上行信号检测结果进行统计分析获得HFC网络的拓扑结构。In a second aspect, an embodiment of the present invention provides a method for discovering a topology of an HFC network, where the server receives multiple uplink signal detection results sent by multiple network devices, where multiple network devices include a first network device, The uplink signal detection result of the network device indicates whether the uplink signal sent by the network element in the HFC network passes through the first network device (that is, the uplink signal result of the network device indicates whether the uplink signal result of the network element in the HFC network passes the Network device); After that, the server performs statistical analysis on multiple uplink signal detection results to obtain the topology of the HFC network.
因此,HFC网络中的服务器能够根据HFC中的多个网络设备发送的多个上行信号检测结果分析得到HFC网络中的拓扑结构,从而可以在不需要对上行突发包解调,以及不需要CM具备发送测试信号的能力的情况下,快速准确地探测HFC网络中各网元间的拓扑关系,从而完成拓扑发现。Therefore, the server in the HFC network can analyze the topology of the HFC network according to the detection results of multiple uplink signals sent by multiple network devices in the HFC, so that the uplink burst packet demodulation is not required, and the CM is not needed. With the ability to transmit test signals, the topology relationship between the NEs in the HFC network is quickly and accurately detected, thereby completing topology discovery.
结合第二方面,在第二方面的第一种可能的实现方式中,服务器对多个上行信号检测结果进行统计分析获得HFC网络的拓扑结构的具体方式为:对多个上行信号检测结果进行合并以构造HFC网络中的网元形成的邻接矩阵,再 对邻接矩阵进行初等变换获得最简形邻接矩阵,该最简形邻接矩阵表示各网元简的直接连接关系,因此,服务器可以根据最简形邻接矩阵获得HFC网络的拓扑结构。如此,服务器可以通过矩阵初等变换的方式来获得直观的HFC网络中各网元的连接关系,从而快速地获得HFC网络的拓扑结构图。With reference to the second aspect, in a first possible implementation manner of the second aspect, the server performs statistical analysis on multiple uplink signal detection results to obtain a topology of the HFC network in a specific manner: combining multiple uplink signal detection results To construct an adjacency matrix formed by network elements in the HFC network, and then The elementary transformation of the adjacency matrix is performed to obtain the simplest adjacency matrix, which represents the direct connection relationship of each network element. Therefore, the server can obtain the topology of the HFC network according to the simplest adjacency matrix. In this way, the server can obtain the connection relationship of each network element in the intuitive HFC network by means of matrix elementary transformation, thereby quickly obtaining the topology diagram of the HFC network.
第三方面,本发明实施例提供了一种网络设备,包括接收单元,用于接收同轴电缆局端接入设备CMTS广播的分配映射MAP消息;解析单元,用于对MAP消息进行解析获得HFC网络中的网元对应的上行时间,上行时间指示网元向同轴电缆局端接入设备CMTS发送上行信号的时间间隔;监测单元,用于在网元的上行时间对网元进行监测,确认网元的上行信号是否经过网络设备以获得上行信号检测结果;发送单元,用于将上行信号检测结果发送至服务器,上行信号检测结果指示网络设备与网元之间的连接关系,用于服务器对上行信号检测结果进行分析获得HFC网络的拓扑结构。In a third aspect, an embodiment of the present invention provides a network device, including a receiving unit, configured to receive an allocation mapping MAP message broadcasted by a coaxial cable access device CMTS, and a parsing unit configured to parse the MAP message to obtain an HFC. The uplink time corresponding to the network element in the network, the uplink time indicates the time interval for the network element to send the uplink signal to the coaxial cable office access device CMTS, and the monitoring unit is configured to monitor the network element during the uplink time of the network element, and confirm Whether the uplink signal of the network element passes through the network device to obtain an uplink signal detection result; the sending unit is configured to send the uplink signal detection result to the server, and the uplink signal detection result indicates a connection relationship between the network device and the network element, and is used for the server pair. The uplink signal detection result is analyzed to obtain the topology of the HFC network.
结合第三方面,在第三方面的第一种可能的实现方式中,监测单元,具体用于判断在网元的上行时间是否监测到网元的上行信号,若监测到,则上行信号检测结果记录网元的上行信号经过网络设备,若未监测到,则上行信号检测结果记录网元的上行信号不经过网络设备。With reference to the third aspect, in a first possible implementation manner of the third aspect, the monitoring unit is configured to determine whether an uplink signal of the network element is detected during an uplink time of the network element, and if the monitoring is performed, the uplink signal detection result The uplink signal of the recording network element passes through the network device. If not detected, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
结合第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,监测单元,具体用于通过在网元的上行时间监测射频RF口的信号的幅度强度以判断是否监测到网元的上行信号,如果幅度强度大于预设阈值,则确定监测到网元的上行信号,则上行信号检测结果记录网元的上行信号经过网络设备,若幅度轻度小于预设阈值,则确定未检测到网元的上行信号,则上行信号检测结果记录网元的上行信号不经过网络设备。With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the monitoring unit is configured to monitor, by using an uplink device, an amplitude of the signal of the radio frequency RF port. Determining whether the uplink signal of the network element is detected. If the amplitude strength is greater than the preset threshold, determining that the uplink signal of the network element is detected, the uplink signal detection result records that the uplink signal of the network element passes through the network device, and if the amplitude is lighter than the preset The threshold value determines that the uplink signal of the network element is not detected, and the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
结合第三方面的第一种可能的实现方式,在第三方面的第三种可能的实现方式中,监测单元,具体用于通过在网元的上行时间进行频谱分析以判断是否监测到网元的上行信号,若监测到,则上行信号检测结果记录网元的上行信号经过网络设备,若未监测到,则上行信号检测结果记录网元的上行信号不经过网络设备。With reference to the first possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the monitoring unit is configured to perform spectrum analysis on an uplink time of the network element to determine whether the network element is detected. If the uplink signal is detected, the uplink signal detection result records that the uplink signal of the network element passes through the network device. If not detected, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
结合第三方面,第三方面的第一种可能的实现方式至第三方面的第三种可能的实现方式,在第三方面的第四种可能的实现方式中,解析单元,具体用于 对MAP消息进行解析获得MAP信息单元结构表,MAP信息单元结构表包含HFC网络中的网元的标识及对应的上行时间。With reference to the third aspect, the first possible implementation of the third aspect to the third possible implementation of the third aspect, in a fourth possible implementation of the third aspect, the parsing unit is specifically configured to be used The MAP message is parsed to obtain a MAP information unit structure table, and the MAP information unit structure table includes the identifier of the network element in the HFC network and the corresponding uplink time.
第四方面,本发明实施例提供了一种网络设备,该网络设备包括接收器,处理器,发射器,其中接收器用于执行第三方面中的接收单元所执行的步骤,处理器,用于执行第三方面的解析单元以及监测单元所执行的步骤,发射器,用于执行第三方面的发送单元所执行的步骤。In a fourth aspect, an embodiment of the present invention provides a network device, where the network device includes a receiver, a processor, and a transmitter, where the receiver is configured to perform the steps performed by the receiving unit in the third aspect, and the processor is configured to: Performing the parsing unit of the third aspect and the steps performed by the monitoring unit, the transmitter is configured to perform the steps performed by the transmitting unit of the third aspect.
第五方面,本发明实施例提供了一种服务器,该服务器包括接收器和处理器,其中,接收器,用于接收多个网络设备发送的多个上行信号检测结果,多个网络设备中包括第一网络设备,第一网络设备的上行信号检测结果指示HFC网络中的网元发送的上行信号是否经过第一网络设备;处理器,用于对多个上行信号检测结果进行统计分析以获得HFC网络的拓扑结构。In a fifth aspect, an embodiment of the present invention provides a server, where the server includes a receiver and a processor, where the receiver is configured to receive multiple uplink signal detection results sent by multiple network devices, where multiple network devices are included. The first network device, the uplink signal detection result of the first network device indicates whether the uplink signal sent by the network element in the HFC network passes the first network device, and the processor is configured to perform statistical analysis on the detection result of the multiple uplink signals to obtain the HFC. The topology of the network.
结合第五方面,在第五方面的第一种可能的实现方式中,处理器,具体用于执行第二方面的第一种可能的实现方式中的步骤:对多个上行信号检测结果进行合并以构造HFC网络中的网元形成的邻接矩阵,对邻接矩阵进行初等变换获得最简形邻接矩阵,再根据最简形邻接矩阵获得HFC网络的拓扑结构。With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the processor is specifically configured to perform the steps in the first possible implementation manner of the second aspect: combining the multiple uplink signal detection results The adjacency matrix formed by the network elements in the HFC network is constructed, and the adjacency adjacency matrix is obtained by elementary transformation of the adjacency matrix, and then the topology of the HFC network is obtained according to the simplest adjacency matrix.
第六方面,本发明实施例提供了一种HFC网络系统,包括服务器和至少一个网络设备,其中网络设备用于执行前述第一方面中的方法步骤,服务器用于执行前述第二方面中的方法步骤。其中,网络设备可以以独立于现有HFC网络中的其他网络设备的实体存在,也可以是与现有HFC网络中的其他网络设备集成一体。In a sixth aspect, an embodiment of the present invention provides an HFC network system, including a server and at least one network device, where the network device is configured to perform the method steps in the foregoing first aspect, where the server is configured to perform the method in the foregoing second aspect. step. The network device may exist as an entity independent of other network devices in the existing HFC network, or may be integrated with other network devices in the existing HFC network.
第七方面,本发明还提供一种计算机存储介质,该介质存储有程序,该程序执行上述第一方面的一种HFC网络拓扑发现的方法中的部分或者全部步骤。In a seventh aspect, the present invention also provides a computer storage medium storing a program that performs some or all of the steps of the HFC network topology discovery method of the first aspect above.
从以上技术方案可以看出,本发明实施例的方案具有如下有益效果:It can be seen from the above technical solutions that the solution of the embodiment of the present invention has the following beneficial effects:
本发明实施例中,HFC网络中的网络设备具备对CMTS广播的MAP消息进行解析的能力,在获得HFC网络中各网元的上行时间后,在各网元的上行时间对各网元的上行信号进行监测,以通过上行信号是否经过该网络设备来确定相应网元是否处于该网络设备的下游,从而服务器可以依据该上行信号检测结果进行分析获得HFC网络的拓扑结构。从而可快速准确地探测HFC网络中各网元间的拓扑关系。 In the embodiment of the present invention, the network device in the HFC network has the capability of parsing the MAP message broadcasted by the CMTS, and after obtaining the uplink time of each network element in the HFC network, the uplink of each network element is performed at the uplink time of each network element. The signal is monitored to determine whether the corresponding network element is downstream of the network device by whether the uplink signal passes through the network device, so that the server can analyze the uplink signal detection result to obtain the topology of the HFC network. Therefore, the topology relationship among network elements in the HFC network can be quickly and accurately detected.
附图说明DRAWINGS
图1为本发明实施例中HFC网络的一种示意图;FIG. 1 is a schematic diagram of an HFC network according to an embodiment of the present invention; FIG.
图2为本发明实施例中的HFC网络拓扑发现方法中的一种流程图;2 is a flowchart of a method for discovering a topology of an HFC network according to an embodiment of the present invention;
图3为本发明实施例中图1所示的HFC网络的一种局部网络示意图;3 is a schematic diagram of a partial network of the HFC network shown in FIG. 1 according to an embodiment of the present invention;
图4为本发明实施例中的MAP消息结构示意图;4 is a schematic structural diagram of a MAP message according to an embodiment of the present invention;
图5为本发明实施例中图3所示的HFC局部网络示意图对应的MAP消息单元结构表;5 is a MAP message unit structure table corresponding to the HFC local network diagram shown in FIG. 3 according to an embodiment of the present invention;
图6为本发明实施例中图3所示的HFC局部网络示意图中的T2监测到的上行信号检测结果;6 is an uplink signal detection result monitored by T2 in the HFC local network diagram shown in FIG. 3 according to an embodiment of the present invention;
图7为本发明实施例中在图6的上行信号检测结果基础上的简化表;FIG. 7 is a simplified table of the uplink signal detection result of FIG. 6 according to an embodiment of the present invention; FIG.
图8为本发明实施例中的HFC网络拓扑发现方法中服务器侧的一种流程图;FIG. 8 is a flowchart of a server side in an HFC network topology discovery method according to an embodiment of the present invention;
图9为本发明实施例中服务器在图3所示的HFC网络示意图的基础上获得的邻接矩阵;9 is an adjacency matrix obtained by the server on the basis of the schematic diagram of the HFC network shown in FIG. 3 according to an embodiment of the present invention;
图10为本发明实施例中服务器根据图9的邻接矩阵获得的最简形连接矩阵;10 is a simplified connection matrix obtained by a server according to the adjacency matrix of FIG. 9 according to an embodiment of the present invention;
图11为本发明实施例中的网络设备的功能模块结构示意图;11 is a schematic structural diagram of functional modules of a network device according to an embodiment of the present invention;
图12为本发明实施例中的网络设备的硬件结构示意图;FIG. 12 is a schematic structural diagram of hardware of a network device according to an embodiment of the present invention;
图13为本发明实施例中的服务器的硬件结构示意图;FIG. 13 is a schematic structural diagram of hardware of a server according to an embodiment of the present invention;
图14为本发明实施例中的HFC网络系统示意图。FIG. 14 is a schematic diagram of an HFC network system according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments, based on All other embodiments obtained by those skilled in the art without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使 用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块,本文中所出现的模块的划分,仅仅是一种逻辑上的划分,实际应用中实现时可以有另外的划分方式,例如多个模块可以结合成或集成在另一个系统中,或一些特征可以忽略,或不执行,另外,所显示的或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块之间的间接耦合或通信连接可以是电性或其他类似的形式,本文中均不作限定。并且,作为分离部件说明的模块或子模块可以是也可以不是物理上的分离,可以是也可以不是物理模块,或者可以分不到多个电路模块中,可以根据实际的需要选择其中的部分或全部模块来实现本发明实施例方案的目的。The terms "first", "second" and the like in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It should be understood that this makes The data used may be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than what is illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or modules is not necessarily limited to Those steps or modules, but may include other steps or modules not explicitly listed or inherent to such processes, methods, products or devices, the division of the modules presented herein is merely a logical division. There may be additional divisions in the implementation of the actual application, for example, multiple modules may be combined or integrated into another system, or some features may be ignored, or not executed, and the displayed or discussed mutual coupling. The direct coupling or the communication connection may be through some interfaces, and the indirect coupling or communication connection between the modules may be electrical or the like, which is not limited herein. Moreover, the module or the sub-module described as the separate component may or may not be physically separated, may not be a physical module, or may not be divided into a plurality of circuit modules, and may select a part thereof according to actual needs or All modules are used to achieve the objectives of the embodiments of the present invention.
本发明实施例提供了一种HFC网络拓扑发现的方法、网络设备、服务器及网络系统,能够快速准确地获得HFC网络的拓扑结构。以下进行详细说明。The embodiment of the invention provides a method, a network device, a server and a network system for discovering an HFC network topology, which can quickly and accurately obtain the topology of the HFC network. The details are described below.
图2为本发明HFC网络拓扑发现方法实施例的一种流程图,本实施例的方法可以由内嵌在图1中的网络设备中的拓扑发现智能模块来完成,也可以是以插入到HFC网络中的一个独立的网络设备(独立于图1中的各网络设备)来完成。2 is a flowchart of an embodiment of a method for discovering a topology of an HFC network according to the present invention. The method in this embodiment may be implemented by a topology discovery intelligent module embedded in the network device in FIG. 1, or may be inserted into an HFC. A separate network device in the network (independent of each network device in Figure 1) is completed.
为了方便描述,下面的实施例以智能模块内嵌在各网络设备中为例进行说明,图3为图1所示的HFC网络的某一种局部网络的示意图,图中一共有5个CM,5个其他网络设备,具体包括一个放大器A1,二个分支器T1、T2以及两个分配器S1、S2,这5个网络设备中都内嵌有拓扑发现智能模块,由这5个网络设备来完成本发明实施例中的网络拓扑发现方法。For convenience of description, the following embodiments are described by taking an intelligent module embedded in each network device as an example. FIG. 3 is a schematic diagram of a certain local network of the HFC network shown in FIG. 1, and a total of five CMs are shown in the figure. 5 other network devices, specifically including an amplifier A1, two branchers T1 and T2, and two distributors S1 and S2. The top five network devices are embedded with a topology discovery intelligent module, and the five network devices are The network topology discovery method in the embodiment of the present invention is completed.
结合图2,本实施例的方法包括:With reference to Figure 2, the method of this embodiment includes:
201、网络设备接收CMTS广播的分配映射(MAP)消息;201. The network device receives a distribution map (MAP) message of the CMTS broadcast.
基于电缆数据业务接口规范(Data-over-Cable Service Interface Specification,DOCSIS)的HFC上行传输系统中,所有的CM和其他网络设 备都共用相同的上行信道,为了防止冲突,CMTS会周期性地根据各个CM和其他网络设备的上行带宽请求,下行广播MAP消息给所有CM和其他网络设备。MAP消息则规定了不同的CM和其他网络设备依次使用不同的时隙进行上行传输,某一时隙内只允许一个网元(网元指CM和HFC网络中的其他网络设备)使用。CM或其他网络设备接收到MAP消息后,选择属于自己的时隙进行上行数据的传输。All CM and other network settings in the HFC uplink transmission system based on the Data-over-Cable Service Interface Specification (DOCSIS) The devices all share the same uplink channel. To prevent collisions, the CMTS periodically broadcasts MAP messages to all CMs and other network devices according to the uplink bandwidth requests of each CM and other network devices. The MAP message specifies that different CMs and other network devices use different time slots for uplink transmission in sequence. Only one network element (the network element refers to the CM and other network devices in the HFC network) is allowed to be used in a certain time slot. After receiving the MAP message, the CM or other network device selects its own time slot for uplink data transmission.
图4为MAP信息单元的结构,其中业务流标识(service Identifier,SID)对应着不同的CM或其他网络设备;间隔使用码(Interval Usage Code,IUC)为不同的时隙类型;Offset为时隙开始的偏移量(以微时隙为单位)。MAP消息单元规定了SIDi对应的CM或其他网络设备必须在Offseti与Offset(i+1)的时间间隔内发送上行数据。4 is a structure of a MAP information unit, in which a service flow identifier (SID) corresponds to a different CM or other network device; an Interval Usage Code (IUC) is a different time slot type; Offset is a time slot. The starting offset (in microslots). The MAP message unit specifies that the CM or other network device corresponding to the SIDi must transmit uplink data within the time interval of Offseti and Offset(i+1).
具体的,在图3的HFC局部网络示意图中,由于这5个CM加上5个其他网络设备(放大器A1,二个分支器T1、T2以及两个分配器S1、S2)都有上行带宽请求,CMTS会给这10个设备下行广播MAP消息。CM和其他网络设备接收到MAP消息后,将会在MAP消息规定的上行时间发送上行数据。Specifically, in the HFC local network diagram of FIG. 3, since the five CMs plus five other network devices (amplifier A1, two branches T1, T2, and two allocators S1, S2) have uplink bandwidth requests The CMTS will broadcast MAP messages to these 10 devices in the downlink. After receiving the MAP message, the CM and other network devices will send the uplink data in the uplink time specified by the MAP message.
202、网络设备对MAP消息进行解析获得HFC网络中的网元的上行时间;202. The network device parses the MAP message to obtain an uplink time of the network element in the HFC network.
网络设备接收到CMTS广播的MAP消息后,对MAP消息进行解析,获得如图4所示的MAP消息单元结构表格以及MAP消息单元结构中的SID和各网元(CM和其他网络设备)的对应关系,MAP消息单元结构表中包含各网元的上行时间,即Offseti与Offset(i+1)的时间间隔。具体的解析方法为现有技术,此处不做详细赘述。After receiving the MAP message broadcasted by the CMTS, the network device parses the MAP message to obtain a MAP message unit structure table as shown in FIG. 4 and a correspondence between the SID in the MAP message unit structure and each network element (CM and other network devices). Relationship, the MAP message unit structure table includes the uplink time of each network element, that is, the time interval between Offseti and Offset(i+1). The specific analysis method is prior art, and will not be described in detail herein.
以图3为例,网络设备解析MAP消息后得到的MAP消息单元结构、SID和各网元的对应关系如图5所示。CM1对应的SID为SID 1,间隔使用码为IUC1,上行时间开始的偏移量为Offset1,其他CM2、CM3、CM4、CM5、S1、S2、T1、T2、A1相对应的SID、IUC和Offset如图所示,不做详细描述。As shown in FIG. 5, the MAP message unit structure, the SID, and the corresponding relationship of the network elements obtained by the network device after parsing the MAP message are as shown in FIG. 5. The SID corresponding to CM1 is SID 1, the interval usage code is IUC1, the offset from the uplink time is Offset1, and the other SID, IUC, and Offset corresponding to CM2, CM3, CM4, CM5, S1, S2, T1, T2, and A1. As shown in the figure, it will not be described in detail.
203、网络设备在网元的上行时间对网元的上行信号进行监测,确认所述网元的上行信号是否经过所述网络设备以获得上行信号检测结果;203. The network device monitors an uplink signal of the network element in an uplink time of the network element, and determines whether an uplink signal of the network element passes the network device to obtain an uplink signal detection result.
因为在MAP消息中的不同的时间时隔对应着不同的SID,只有该时间间隔 归属的SID对应的设备才能在这个时间间隔内发送上行业务信号。因此网络设备在MAP消息中的每个时间间隔,监测本节点处来自下游的上行信道是否存在业务信号获得上行信号检测结果。Because the different time intervals in the MAP message correspond to different SIDs, only the time interval The device corresponding to the home SID can send the uplink service signal during this time interval. Therefore, at each time interval in the MAP message, the network device monitors whether there is a service signal from the downstream uplink channel at the local node to obtain an uplink signal detection result.
在一种具体的实施方式中,网络设备在MAP消息中的每个时间间隔,监测本节点处来自下游的上行信道是否存在业务信号,如果监测到此时间间隔有业务信号,则说明该时间间隔的SID对应的网元(CM或其他网络设备)处于该网络设备的下游,该网元上行发送的业务信号要经过该网络设备才能上达到CMTS,该网络设备将上行信号检测结果记录到表格中,标记1表示在此时间间隔有接收到业务信号,相应SID对应的网元位于该网络设备的下游,标记0表示在此时间间隔没有接收到业务信号,相应SID对应的网元不位于该网络设备的下游。In a specific implementation manner, the network device monitors whether there is a service signal from the downstream uplink channel at the local node in each time interval in the MAP message, and if the service signal is detected in the time interval, the time interval is indicated. The network element (CM or other network device) corresponding to the SID is located downstream of the network device, and the service signal sent by the uplink element of the network element can reach the CMTS through the network device, and the network device records the uplink signal detection result into the table. The tag 1 indicates that the service signal is received at the time interval, and the network element corresponding to the corresponding SID is located downstream of the network device, and the tag 0 indicates that no service signal is received at the time interval, and the network element corresponding to the corresponding SID is not located in the network. Downstream of the device.
以图3所示的HFC局部网络为例进行说明,网络设备T2监测到经过本节点处的上行信道业务信号的情况,即上行信号检测结果如图6所示。Taking the HFC local network shown in FIG. 3 as an example, the network device T2 monitors the uplink channel service signal passing through the node, that is, the uplink signal detection result is as shown in FIG. 6.
T2对应的SID为SID9,该节点在MAP消息中的对应时间间隔监测到了SID为SID1、SID2、SID3、SID4、SID6、SID7的设备发送的信号,即监测到了CM1、CM2、CM3、CM4、S1、S2发送的信号,说明CM1、CM2、CM3、CM4、S1、S2位于T2节点的下游;在SID5、SID8、SID10对应的时间间隔没有监测到相应的上行信号,说明CM5、T1、A1不位于T2节点的下游。The SID corresponding to T2 is SID9, and the node detects the signal sent by the device whose SID is SID1, SID2, SID3, SID4, SID6, SID7 in the corresponding time interval in the MAP message, that is, CM1, CM2, CM3, CM4, S1 are detected. The signals sent by S2 indicate that CM1, CM2, CM3, CM4, S1, and S2 are located downstream of the T2 node; no corresponding uplink signals are detected at the time intervals corresponding to SID5, SID8, and SID10, indicating that CM5, T1, and A1 are not located. Downstream of the T2 node.
在图6的基础上,T2获得的上行信号检测结果简化表如图7所示。On the basis of FIG. 6, the simplified table of the uplink signal detection results obtained by T2 is as shown in FIG.
另外,在具体的实施方式中,网络设备在监测时判断有无信号的方法可以包括如下两种:In addition, in a specific implementation manner, the method for determining whether the network device has a signal during monitoring may include the following two types:
第一种:通过在各网元的上行时间监测射频(RF)口的信号的幅度强度以判断是否监测到相应网元的上行信号,如果幅度强度大于阈值,则确定监测到所述网元的上行信号,相反,如果幅度强度小于阈值,则确定没有检测到所述网元的上行信号。The first type: the amplitude of the signal of the radio frequency (RF) port is monitored at the uplink time of each network element to determine whether the uplink signal of the corresponding network element is detected. If the amplitude strength is greater than the threshold, it is determined that the network element is monitored. The uplink signal, conversely, if the amplitude strength is less than the threshold, it is determined that the uplink signal of the network element is not detected.
第二种:通过在网元的上行时间进行频谱分析以判断是否监测到相应网元的上行信号。The second type is to perform spectrum analysis on the uplink time of the network element to determine whether the uplink signal of the corresponding network element is detected.
204、网络设备将上行信号检测结果发送至服务器。 204. The network device sends the uplink signal detection result to the server.
网络设备在获得上行信号检测结果后,将该上行信号检测结果发送给服务器,也可以是将一段时间内的203步骤的上行信号检测结果进行统计,再将统计结果上行发送给服务器,以确保上行信号检测结果的准确性。After obtaining the uplink signal detection result, the network device sends the uplink signal detection result to the server, and may also collect the uplink signal detection result of step 203 in a period of time, and then send the statistics result to the server to ensure uplink. The accuracy of the signal detection results.
可选的,网络设备在发送上行信号检测结果时打上本节点的标识,以便于服务器区分发送各上行信号检测结果的网络设备,用于进行拓扑发现。需要说明的是,网络设备在发送上行信号检测结果时,不一定得打上本节点的标识,可以由服务器自身从其他途径获取当前发送的上行信号检测结果对应的网络设备的标识。Optionally, the network device adds the identifier of the node when sending the uplink signal detection result, so that the server distinguishes the network device that sends the detection result of each uplink signal, and performs topology discovery. It should be noted that, when the network device sends the uplink signal detection result, the identifier of the local node does not have to be marked. The identifier of the network device corresponding to the currently sent uplink signal detection result may be obtained by the server itself.
服务器收集所有网络设备发送的上行信号检测结果,并且进行统计分析,可获得HFC网络中各网元的拓扑关系。The server collects the uplink signal detection result sent by all network devices and performs statistical analysis to obtain the topology relationship of each network element in the HFC network.
本发明实施例中,在HFC网络的网络设备接收CMTS广播的分配映射MAP消息,并对该MAP消息进行解析,以获得HFC网络中的网元的上行时间;之后,网络设备在网元的上行时间对上行信号进行监测,以获得上行信号检测结果,该上行信号检测结果指示网元的上行信号是否经过该网络设备;之后,网络设备将上行信号检测结果发送至服务器,以使得服务器对该上行信号检测结果进行分析获得HFC网络的拓扑结构。本发明实施例中,通过在HFC网络中增加网络设备,在不需要上行突发包解调以及不需要CM具备发送测试信号的能力的情况下,可快速准确地探测HFC网络中各网元间的拓扑关系,从而进行拓扑发现。In the embodiment of the present invention, the network device in the HFC network receives the allocation mapping MAP message of the CMTS broadcast, and parses the MAP message to obtain the uplink time of the network element in the HFC network; after that, the network device is in the uplink of the network element. The uplink signal is monitored to obtain an uplink signal detection result, and the uplink signal detection result indicates whether the uplink signal of the network element passes through the network device; after that, the network device sends the uplink signal detection result to the server, so that the server uplinks the uplink signal. The signal detection results are analyzed to obtain the topology of the HFC network. In the embodiment of the present invention, by adding a network device in the HFC network, the uplink cell burst demodulation is not required, and the capability of the CM to transmit the test signal is not required, and the network elements in the HFC network can be quickly and accurately detected. Topological relationships for topology discovery.
下面从服务器侧对服务器根据各网络设备发送的上行信号检测结果进行统计分析得到HFC网络拓扑关系进行详细介绍。The following is a detailed analysis of the HFC network topology relationship from the server side to the server based on the uplink signal detection result sent by each network device.
本发明实施例中的服务器具体是指拓扑服务器。The server in the embodiment of the present invention specifically refers to a topology server.
结合图8,本发明HFC网络拓扑发现方法实施例的一种流程图包括:With reference to FIG. 8, a flowchart of an embodiment of the HFC network topology discovery method of the present invention includes:
801、服务器接收多个网络设备发送的多个上行信号检测结果;801. The server receives multiple uplink signal detection results sent by multiple network devices.
在HFC网络中的网络设备按照图2所述的流程得到上行信号检测结果后,在MAP消息分配给该网络设备的上行时间间隔,将上行信号检测结果发送给服务器,服务器收集多个网络设备发送的上行信号检测结果。其中,某网络设备的上行信号检测结果表示了该HFC网络中哪些节点位于该网络设备的下游。After the network device in the HFC network obtains the uplink signal detection result according to the process described in FIG. 2, the uplink signal detection result is sent to the server at the uplink time interval allocated by the MAP message to the network device, and the server collects multiple network device transmissions. Uplink signal detection result. The uplink signal detection result of a network device indicates which nodes in the HFC network are located downstream of the network device.
802、服务器对多个上行信号检测结果进行统计分析以获得HFC网络的拓 扑结构。802. The server performs statistical analysis on multiple uplink signal detection results to obtain an extension of the HFC network. Plop the structure.
服务器在收集到多个网络设备发送的上行信号检测结果后,对这些上行信号检测结果进行统计分析,然后获得HFC网络的拓扑结构。After collecting the uplink signal detection results sent by multiple network devices, the server performs statistical analysis on the detection results of the uplink signals, and then obtains the topology of the HFC network.
对上行信号检测结果进行统计分析的方法可以有多种,在一种具体的实施中,可以采用邻接矩阵对多个上行信号检测结果进行统计分析。以下进行详细说明。There are various methods for performing statistical analysis on the uplink signal detection result. In a specific implementation, the adjacency matrix may be used to perform statistical analysis on multiple uplink signal detection results. The details are described below.
邻接矩阵是将所有网络设备发送的统计结果向量合并在一起形成的矩阵,矩阵的任意一个元素都说明了矩阵行对应的SID的上行业务是否要经过矩阵列对应的网元才能到达CMTS,也就是说,矩阵行的SID对应的网络设备是否处于据阵列对应的网络设备之下。矩阵的任意一列说明了该列对应的网络设备下游存在哪些网络设备。所以说邻接矩阵说明了HFC网络的拓扑结构。The adjacency matrix is a matrix formed by combining statistical result vectors sent by all network devices. Any element of the matrix indicates whether the uplink service of the SID corresponding to the matrix row needs to pass through the network element corresponding to the matrix column to reach the CMTS, that is, It is said that the network device corresponding to the SID of the matrix row is under the network device corresponding to the array. Any column of the matrix indicates which network devices exist downstream of the network device corresponding to the column. So the adjacency matrix illustrates the topology of the HFC network.
以图3所示的HFC局部网络为例进行说明,服务器可获得的邻接矩阵为图9所示。以第一行为例,CM1的上行数据到达CMTS必须经过S1、T1、T2、A1;以第一列为例,S1的下游有CM1和CM2。Taking the HFC local network shown in FIG. 3 as an example, the adjacency matrix available to the server is shown in FIG. 9. In the first behavior example, the uplink data of CM1 must pass S1, T1, T2, and A1 when it reaches the CMTS; for the first column, CM1 and CM2 are downstream of S1.
由于HFC网络为树型或星型结构,各网元间存在集合的包含和被包含关系。对于邻接矩阵来说,存在列向量的包含和被包含关系。为了方便分析,可对邻接矩阵进行初等列变换,消除列向量间的线性关系(即包含关系),得到列向量无关的列最简形邻接矩阵。列最简形邻接矩阵最终表达了各个设备之间的直接相连的关系,则不存在跨设备的包含关系。Since the HFC network is a tree or a star structure, there is a set inclusion and inclusion relationship between the network elements. For adjacency matrices, there is an inclusion and inclusion relationship of the column vectors. In order to facilitate the analysis, the adjacency matrix can be subjected to elementary column transformation, and the linear relationship between the column vectors (ie, the inclusion relationship) is eliminated, and the column-equivalent adjacency matrix of the column-independent column is obtained. The column's minimally adjacency matrix ultimately expresses the directly connected relationship between the devices, so there is no cross-device inclusion relationship.
图10为根据图9矩阵求得的列最简形邻接矩阵。如图10所示,S1下直连有CM1和CM2;T1下直连有CM5和T2。Figure 10 is a column-simplified adjacency matrix obtained from the matrix of Figure 9. As shown in Figure 10, CM1 and CM2 are directly connected to S1; CM5 and T2 are directly connected to T1.
在对邻接矩阵进行拓扑发现时,可先分析HFC网络中除CM以外的网络设备间的拓扑关系,即主干线的拓扑结构;然后再探各CM和其他各网络设备拓扑关系。When performing topology discovery on the adjacency matrix, you can first analyze the topology relationship among network devices except the CM in the HFC network, that is, the topology of the backbone line; then explore the topological relationship between each CM and other network devices.
如图10,先看S1、S2、T1、T2、A1间构成的邻接方阵M2中各网络设备的直连关系。很明显,各网元间的连接关系为{S1,S2}∈T2∈T1∈A1;然后分析各CM与其他各网络设备间的邻接矩阵M1,很明显可得到CM跟其他各网络设备的直连关系为{CM1,CM2}∈S1,{CM3,CM4}∈S2,CM5∈T1。分 别得到了除CM外的各网络设备间,以及各网络设备与CM间的直连关系,便可得到整个HFC网络的拓扑结构,结果如图3所示。As shown in FIG. 10, first look at the direct connection relationship of each network device in the adjacent square matrix M2 formed between S1, S2, T1, T2, and A1. Obviously, the connection relationship between the network elements is {S1, S2} ∈ T2 ∈ T1 ∈ A1; then analyze the adjacency matrix M1 between each CM and other network devices, it is obvious that the CM and other network devices are straight. The relationship is {CM1, CM2} ∈ S1, {CM3, CM4} ∈ S2, CM5 ∈ T1. Minute Do not get the direct connection between the network devices except CM, and the network devices and CM, you can get the topology of the entire HFC network, the results shown in Figure 3.
上面是对HFC网络拓扑发现方法进行介绍,下面从功能模块实现角度对本发明实施例中的网络设备进行介绍。The above is a description of the HFC network topology discovery method. The network device in the embodiment of the present invention is introduced from the perspective of the function module implementation.
结合图11,本发明实施例提供了一种网络设备11,该网络设备11包括:With reference to Figure 11, an embodiment of the present invention provides a network device 11, which includes:
接收单元1101,用于接收同轴电缆局端接入设备CMTS广播的分配映射MAP消息;The receiving unit 1101 is configured to receive an allocation mapping MAP message broadcast by the coaxial cable central office access device CMTS;
解析单元1102,用于对接收单元1101接收的MAP消息进行解析获得HFC网络中的网元对应的上行时间,该上行时间指示网元向同轴电缆局端接入设备CMTS发送上行信号的时间间隔;The parsing unit 1102 is configured to parse the MAP message received by the receiving unit 1101 to obtain an uplink time corresponding to the network element in the HFC network, where the uplink time indicates a time interval for the network element to send an uplink signal to the coaxial cable central office access device CMTS. ;
监测单元1103,用于在解析单元1102解析出的各网元的上行时间对各网元进行监测,确认各网元的上行信号是否经过该网络设备11以获得上行信号检测结果,该上行信号检测结果指示网络设备与各网元之间的连接关系;The monitoring unit 1103 is configured to monitor each network element in the uplink time of each network element parsed by the parsing unit 1102, and confirm whether the uplink signal of each network element passes the network device 11 to obtain an uplink signal detection result, and the uplink signal detection is performed. The result indicates a connection relationship between the network device and each network element;
发送单元1104,用于将监测单元1103监测到的上行信号检测结果发送至服务器,用于服务器对上行信号检测结果进行分析获得HFC网络的拓扑结构。The sending unit 1104 is configured to send the uplink signal detection result monitored by the monitoring unit 1103 to the server, where the server analyzes the uplink signal detection result to obtain a topology of the HFC network.
在一些具体的实施中,监测单元1103,具体用于判断在网元的上行时间是否监测到网元的上行信号,若监测到,则上行信号检测结果记录网元的上行信号经过网络设备,若未监测到,则上行信号检测结果记录网元的上行信号不经过网络设备。In some specific implementations, the monitoring unit 1103 is specifically configured to determine whether the uplink signal of the network element is detected during the uplink time of the network element, and if the monitoring is performed, the uplink signal detection result records the uplink signal of the network element through the network device, if If not detected, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
在一些具体的实施中,监测单元1103,具体用于通过在网元的上行时间监测射频RF口的信号的幅度强度以判断是否监测到网元的上行信号,如果幅度强度大于预设阈值,则确定监测到网元的上行信号,则上行信号检测结果记录网元的上行信号经过网络设备,若幅度轻度小于预设阈值,则确定未检测到网元的上行信号,则上行信号检测结果记录网元的上行信号不经过网络设备。In some specific implementations, the monitoring unit 1103 is configured to monitor, by using an amplitude of the signal of the radio frequency RF port, an uplink signal of the radio frequency RF port to detect whether the uplink signal of the network element is detected, and if the amplitude strength is greater than a preset threshold, After the uplink signal of the network element is detected, the uplink signal detection result records that the uplink signal of the network element passes through the network device, and if the amplitude is less than the preset threshold, it is determined that the uplink signal of the network element is not detected, and the uplink signal detection result record is recorded. The uplink signal of the network element does not pass through the network device.
在一些具体的实施中,监测单元1103,具体用于通过在网元的上行时间进行频谱分析以判断是否监测到网元的上行信号,若监测到,则上行信号检测结果记录网元的上行信号经过网络设备,若未监测到,则上行信号检测结果记录网元的上行信号不经过网络设备。In some implementations, the monitoring unit 1103 is configured to perform spectrum analysis on the uplink time of the network element to determine whether the uplink signal of the network element is detected. If the uplink signal is detected, the uplink signal detection result records the uplink signal of the network element. After the network device is not detected, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
在一些具体的实施中,解析单元1102,具体用于对MAP消息进行解析获 得MAP信息单元结构表,MAP信息单元结构表包含HFC网络中的网元的标识及对应的上行时间。In some specific implementations, the parsing unit 1102 is specifically configured to parse the MAP message. The MAP information unit structure table, the MAP information unit structure table includes the identifier of the network element in the HFC network and the corresponding uplink time.
本发明实施例中网络设备11的各功能模块之间的交互过程可以参阅前述图2所示的实施例中的交互过程,具体此处不再赘述。For the process of the interaction between the functional modules of the network device 11 in the embodiment of the present invention, refer to the interaction process in the foregoing embodiment shown in FIG. 2, and details are not described herein again.
本发明实施例中,在HFC网络的网络设备11的接收单元1101接收CMTS广播的分配映射MAP消息,之后解析单元1102对该MAP消息进行解析,以获得HFC网络中的网元的上行时间;之后,监测单元1103在各网元的上行时间对上行信号进行监测,以获得上行信号检测结果,该上行信号检测结果指示网元的上行信号是否经过该网络设备;之后,发送单元1104将上行信号检测结果发送至服务器,以使得服务器对该上行信号检测结果进行分析获得HFC网络的拓扑结构。本发明实施例中,网络设备11使得在不需要上行突发包解调以及不需要CM具备发送测试信号的能力的情况下,可快速准确地探测HFC网络中各网元间的拓扑关系,从而实现拓扑发现。In the embodiment of the present invention, the receiving unit 1101 of the network device 11 of the HFC network receives the allocation mapping MAP message of the CMTS broadcast, and then the parsing unit 1102 parses the MAP message to obtain the uplink time of the network element in the HFC network; The monitoring unit 1103 monitors the uplink signal at the uplink time of each network element to obtain an uplink signal detection result, where the uplink signal detection result indicates whether the uplink signal of the network element passes the network device; after that, the sending unit 1104 detects the uplink signal. The result is sent to the server, so that the server analyzes the uplink signal detection result to obtain the topology of the HFC network. In the embodiment of the present invention, the network device 11 can quickly and accurately detect the topological relationship among the network elements in the HFC network, without requiring the uplink burst packet demodulation and the capability of the CM to send the test signal. Implement topology discovery.
下面从硬件结构角度对本发明实施例中的网络设备进行介绍。The network device in the embodiment of the present invention is introduced from the perspective of hardware structure.
图12为本发明实施例提供了一种网络设备的示意图,在实际应用中,该网络设备12位于HFC网络中,可以是一种独立的网络设备,也可以是如图2所示的HFC网络中的放大器A1、分支器T1、分支器T2、分配器S1或分配器S2,在这些HFC网络设备中通过嵌入拓扑发现智能模块来实现本发明实施例中的网络设备具备的功能。FIG. 12 is a schematic diagram of a network device according to an embodiment of the present invention. In an actual application, the network device 12 is located in an HFC network, and may be an independent network device or an HFC network as shown in FIG. 2 . The amplifier A1, the splitter T1, the splitter T2, the splitter S1 or the splitter S2 are implemented in these HFC network devices by embedding the topology discovery intelligent module to implement the functions of the network device in the embodiment of the present invention.
具体的,网络设备12包括至少一个网络接口或者其它通信接口、至少一个接收器1201、至少一个发射器1203、至少一个处理器1202,以实现这些装置之间的连接通信,通过至少一个网络接口(可以是有线或者无线)实现该网络设备与HFC网络中的至少一个其它网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。Specifically, the network device 12 includes at least one network interface or other communication interface, at least one receiver 1201, at least one transmitter 1203, and at least one processor 1202 to implement connection communication between the devices through at least one network interface ( The communication connection between the network device and at least one other network element in the HFC network may be implemented by wired or wireless, and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
另外,该网络设备还可以包括只读存储器或随机存取存储器,并向处理器1202提供指令和数据,存储器的一部分还可以包括可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory)。 In addition, the network device may further include a read only memory or a random access memory, and provide instructions and data to the processor 1202. The memory may also include a portion of the memory, which may include a high speed random access memory (RAM), or Also included is a non-volatile memory.
存储器存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:The memory stores the following elements, executable modules or data structures, or a subset of them, or their extended set:
操作指令:包括各种操作指令,用于实现各种操作。Operation instructions: include various operation instructions for implementing various operations.
操作系统:包括各种系统程序,用于实现各种基础业务以及处理基于硬件的任务。Operating system: Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
其中,接收器1201,用于执行接收单元1101所执行的步骤,即接收CMTS广播的分配映射MAP消息;The receiver 1201 is configured to perform the step performed by the receiving unit 1101, that is, receive the allocation mapping MAP message of the CMTS broadcast;
处理器1202,用于执行解析单元1102和监测单元1103执行的步骤,具体此处不做赘述。The processor 1202 is configured to execute the steps performed by the parsing unit 1102 and the monitoring unit 1103, and details are not described herein.
发射器1203,用于执行发送单元1103执行的步骤,将指示网络设备与各网元之间的连接关系的上行信号检测结果发送至服务器上行信号检测结果发送至服务器,由服务器对该上行信号检测结果进行分析获得HFC网络的拓扑结构。The transmitter 1203 is configured to execute the step performed by the sending unit 1103, and send an uplink signal detection result indicating a connection relationship between the network device and each network element to the server, and send the uplink signal detection result to the server, where the uplink signal detection is detected by the server. The results were analyzed to obtain the topology of the HFC network.
本发明实施例中网络设备12的接收器1201、处理器1202、发射器1203之间的信息交互过程同样可以参阅前述图2所示的实施例中的交互过程,具体此处不再赘述。For the information exchange process between the receiver 1201, the processor 1202, and the transmitter 1203 of the network device 12 in the embodiment of the present invention, refer to the interaction process in the foregoing embodiment shown in FIG. 2, and details are not described herein again.
本发明实施例中,在HFC网络的网络设备12的接收器1201接收CMTS广播的分配映射MAP消息,处理器1202对该MAP消息进行解析,以获得HFC网络中的网元的上行时间;之后,处理器1202在各网元的上行时间对上行信号进行监测,以获得上行信号检测结果,该上行信号检测结果指示网元的上行信号是否经过该网络设备;之后,发射器1203将上行信号检测结果发送至服务器,以使得服务器对该上行信号检测结果进行分析获得HFC网络的拓扑结构。本发明实施例中,网络设备12使得在不需要上行突发包解调以及不需要CM具备发送测试信号的能力的情况下,可快速准确地探测HFC网络中各网元间的拓扑关系,从而实现拓扑发现。In the embodiment of the present invention, the receiver 1201 of the network device 12 of the HFC network receives the allocation mapping MAP message of the CMTS broadcast, and the processor 1202 parses the MAP message to obtain the uplink time of the network element in the HFC network; The processor 1202 monitors the uplink signal in the uplink time of each network element to obtain an uplink signal detection result, where the uplink signal detection result indicates whether the uplink signal of the network element passes the network device; after that, the transmitter 1203 detects the uplink signal. Send to the server, so that the server analyzes the uplink signal detection result to obtain the topology of the HFC network. In the embodiment of the present invention, the network device 12 can quickly and accurately detect the topological relationship among the network elements in the HFC network, without requiring the uplink burst packet demodulation and the capability of the CM to send the test signal. Implement topology discovery.
下面结合图13介绍本发明实施例中的服务器13。The server 13 in the embodiment of the present invention will be described below with reference to FIG.
具体的,服务器13包括至少一个网络接口或者其它通信接口、至少一个接收器1301、至少一个处理器1302,以实现这些装置之间的连接通信,通过至少 一个网络接口(可以是有线或者无线)实现该网络设备与HFC网络中的至少一个其它网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。Specifically, the server 13 includes at least one network interface or other communication interface, at least one receiver 1301, and at least one processor 1302 to implement connection communication between the devices, by at least A network interface (which may be wired or wireless) implements a communication connection between the network device and at least one other network element in the HFC network, and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
其中,接收器1301,用于接收多个如图11所示的网络设备发送的多个上行信号检测结果,多个网络设备中包括第一网络设备,第一网络设备的上行信号检测结果指示HFC网络中的网元发送的上行信号是否经过第一网络设备,即其中的某个网络设备的上行信号检测结果表示HFC网络中的网元发送的上行信号是否经过该网络设备。The receiver 1301 is configured to receive a plurality of uplink signal detection results sent by the network device as shown in FIG. 11, where the plurality of network devices include the first network device, and the uplink signal detection result of the first network device indicates the HFC. Whether the uplink signal sent by the network element in the network passes through the first network device, that is, the uplink signal detection result of one of the network devices indicates whether the uplink signal sent by the network element in the HFC network passes through the network device.
处理器1302,用于对多个上行信号检测结果进行统计分析以获得HFC网络的拓扑结构。The processor 1302 is configured to perform statistical analysis on multiple uplink signal detection results to obtain a topology of the HFC network.
在一些具体的实施中,上述处理器1302还用于执行如下步骤:In some implementations, the processor 1302 is further configured to perform the following steps:
处理器1302,具体用于对多个上行信号检测结果进行合并以构造HFC网络中的网元形成的邻接矩阵,对邻接矩阵进行初等变换获得最简形邻接矩阵,再根据最简形邻接矩阵获得HFC网络的拓扑结构。The processor 1302 is specifically configured to combine multiple uplink signal detection results to construct an adjacency matrix formed by network elements in the HFC network, perform elementary transformation on the adjacency matrix to obtain a simplest adjacency matrix, and obtain the simplest adjacency matrix according to the simplest adjacency matrix. The topology of the HFC network.
与网络设备11类似,服务器13除了包括以上接收器1301、处理器1302以外,还可以包括其他的构件,如存储器,用于存储处理器1302执行的操作指令、数据结构以及实现各种基础业务的操作系统中的系统程序。该存储器可以包括只读存储器和随机存储器。Similar to the network device 11, the server 13 may include other components, such as a memory, for storing the operation instructions, data structures, and various basic services performed by the processor 1302 in addition to the above receiver 1301 and the processor 1302. System program in the operating system. The memory can include read only memory and random access memory.
本发明实施例中,服务器13的接收器1301接收到多个网络设备发送的上行信号检测结果后,处理器1302对这些上行信号结果进行统计分析以获得HFC网络的拓扑结构图,从而结合网络设备12一起快速准确地探测HFC网络中各网元间的拓扑关系,实现HFC网络拓扑发现。In the embodiment of the present invention, after the receiver 1301 of the server 13 receives the uplink signal detection result sent by the multiple network devices, the processor 1302 performs statistical analysis on the uplink signal results to obtain a topology diagram of the HFC network, thereby combining the network devices. The fast and accurate detection of the topological relationship among the NEs in the HFC network is implemented to achieve the HFC network topology discovery.
另外,本发明还提供一种计算机存储介质,该介质存储有程序,该程序执行时包括上述网络设备执行一种HFC网络拓扑发现的方法中的部分或者全部步骤。In addition, the present invention also provides a computer storage medium storing a program, the program including some or all of the steps of the network device performing a HFC network topology discovery.
另外,本发明实施例中还提供了一种HFC网络系统,包括和服务器1402和至少一个网络设备1401,其中网络设备1401执行前述图2所示的实施例中的网络设备所执行的方法步骤,服务器1402执行前述图8所示的实施例中的服务器所执行的方法步骤。其中,网络设备1401可以是与现有HFC网络中的其他网络设备集成一体,集成在一起的网络架构图可以如图3所示;还可以以 独立于现有HFC网络中的其他网络设备的实体存在。具体此处不做限定。In addition, an embodiment of the present invention further provides an HFC network system, including a server 1402 and at least one network device 1401, wherein the network device 1401 performs the method steps performed by the network device in the foregoing embodiment shown in FIG. 2, The server 1402 performs the method steps performed by the server in the aforementioned embodiment shown in FIG. The network device 1401 may be integrated with other network devices in the existing HFC network, and the network architecture diagram integrated may be as shown in FIG. 3; An entity that is independent of other network devices in the existing HFC network exists. This is not limited here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、 随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), A variety of media that can store program code, such as random access memory (RAM), disk, or optical disk.
本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The principles and embodiments of the present invention are described herein with reference to specific examples. The description of the above embodiments is only for the purpose of understanding the method of the present invention and the core idea thereof. Also, the present invention is based on the present invention. The present invention is not limited by the scope of the present invention.

Claims (16)

  1. 一种光缆同轴电缆混合网HFC网络拓扑发现的方法,其特征在于,包括:A method for discovering a topology of a cable coaxial cable hybrid network HFC network, characterized in that it comprises:
    网络设备接收同轴电缆局端接入设备CMTS广播的分配映射MAP消息;The network device receives the allocation mapping MAP message broadcasted by the coaxial cable central office access device CMTS;
    所述网络设备对所述MAP消息进行解析获得HFC网络中的网元对应的上行时间,所述上行时间指示所述网元向所述同轴电缆局端接入设备CMTS发送上行信号的时间间隔;The network device parses the MAP message to obtain an uplink time corresponding to the network element in the HFC network, and the uplink time indicates a time interval at which the network element sends an uplink signal to the coaxial cable central office access device CMTS. ;
    所述网络设备在所述网元的上行时间对所述网元进行监测,确认所述网元的上行信号是否经过所述网络设备以获得上行信号检测结果;The network device monitors the network element at an uplink time of the network element, and determines whether an uplink signal of the network element passes the network device to obtain an uplink signal detection result;
    所述网络设备将所述上行信号检测结果发送至服务器,所述上行信号检测结果指示所述网络设备与所述网元之间的连接关系,用于所述服务器对所述上行信号检测结果进行分析获得所述HFC网络的拓扑结构。The network device sends the uplink signal detection result to the server, where the uplink signal detection result indicates a connection relationship between the network device and the network element, and is used by the server to perform the uplink signal detection result. The topology of the HFC network is obtained by analysis.
  2. 根据权利要求1所述的方法,其特征在于,所述网络设备在所述网元的上行时间对所述网元的上行信号进行监测,确认所述网元的上行信号是否经过所述网络设备以获得上行信号检测结果包括:The method according to claim 1, wherein the network device monitors an uplink signal of the network element at an uplink time of the network element, and confirms whether an uplink signal of the network element passes through the network device. Obtaining the uplink signal detection results includes:
    所述网络设备判断在所述网元的上行时间是否监测到所述网元的上行信号;Determining, by the network device, whether an uplink signal of the network element is detected during an uplink time of the network element;
    若监测到,则所述上行信号检测结果记录所述网元的上行信号经过所述网络设备;If detected, the uplink signal detection result records that the uplink signal of the network element passes through the network device;
    若未监测到,则所述上行信号检测结果记录所述网元的上行信号不经过所述网络设备。If not detected, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
  3. 根据权利要求2所述的方法,其特征在于,所述网络设备判断在所述网元的上行时间是否监测到所述网元的上行信号包括:The method according to claim 2, wherein the determining, by the network device, whether the uplink signal of the network element is monitored during an uplink time of the network element comprises:
    所述网络设备通过在所述网元的上行时间监测射频RF口的信号的幅度强度以判断是否监测到所述网元的上行信号,如果所述幅度强度大于预设阈值,则确定监测到所述网元的上行信号。The network device detects whether the uplink signal of the network element is monitored by monitoring the amplitude of the signal of the radio frequency RF port in the uplink time of the network element, and if the amplitude strength is greater than a preset threshold, determining that the monitoring device is The uplink signal of the network element.
  4. 根据权利要求2所述的方法,其特征在于,所述网络设备判断是否在所述网元的上行时间监测到所述网元的上行信号包括:The method according to claim 2, wherein the determining, by the network device, whether the uplink signal of the network element is detected during an uplink time of the network element comprises:
    所述网络设备通过在所述网元的上行时间进行频谱分析以判断是否监测 到所述网元的上行信号。The network device performs spectrum analysis on an uplink time of the network element to determine whether to monitor The uplink signal to the network element.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述网络设备对所述MAP消息进行解析获得所述HFC网络中的网元对应的上行时间包括:The method according to any one of claims 1 to 4, wherein the network device parses the MAP message to obtain an uplink time corresponding to a network element in the HFC network, including:
    所述网络设备对所述MAP消息进行解析获得MAP信息单元结构表,所述MAP信息单元结构表包含所述HFC网络中的网元的标识及对应的上行时间。The network device parses the MAP message to obtain a MAP information unit structure table, where the MAP information unit structure table includes an identifier of the network element in the HFC network and a corresponding uplink time.
  6. 一种网络设备,其特征在于,包括:A network device, comprising:
    接收单元,用于接收同轴电缆局端接入设备CMTS广播的分配映射MAP消息;a receiving unit, configured to receive an allocation mapping MAP message broadcast by the coaxial cable central office access device CMTS;
    解析单元,用于对所述MAP消息进行解析获得HFC网络中的网元对应的上行时间,所述上行时间指示所述网元向所述同轴电缆局端接入设备CMTS发送上行信号的时间间隔;a parsing unit, configured to parse the MAP message to obtain an uplink time corresponding to a network element in the HFC network, where the uplink time indicates a time when the network element sends an uplink signal to the coaxial cable local end access device CMTS interval;
    监测单元,用于在所述网元的上行时间对所述网元进行监测,确认所述网元的上行信号是否经过所述网络设备以获得上行信号检测结果;a monitoring unit, configured to monitor the network element at an uplink time of the network element, to confirm whether an uplink signal of the network element passes the network device to obtain an uplink signal detection result;
    发送单元,用于将所述上行信号检测结果发送至服务器,所述上行信号检测结果指示所述网络设备与所述网元之间的连接关系,用于所述服务器对所述上行信号检测结果进行分析获得所述HFC网络的拓扑结构。a sending unit, configured to send the uplink signal detection result to the server, where the uplink signal detection result indicates a connection relationship between the network device and the network element, and is used by the server to detect the uplink signal An analysis is performed to obtain the topology of the HFC network.
  7. 根据权利要求6所述的网络设备,其特征在于:The network device according to claim 6, wherein:
    所述监测单元,具体用于判断在所述网元的上行时间是否监测到所述网元的上行信号,若监测到,则所述上行信号检测结果记录所述网元的上行信号经过所述网络设备,若未监测到,则所述上行信号检测结果记录所述网元的上行信号不经过所述网络设备。The monitoring unit is configured to determine whether an uplink signal of the network element is detected during an uplink time of the network element, and if the monitoring is performed, the uplink signal detection result records an uplink signal of the network element by using the If the network device does not detect, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
  8. 根据权利要求7所述的网络设备,其特征在于:The network device according to claim 7, wherein:
    所述监测单元,具体用于通过在所述网元的上行时间监测射频RF口的信号的幅度强度以判断是否监测到所述网元的上行信号,如果所述幅度强度大于预设阈值,则确定监测到所述网元的上行信号,则所述上行信号检测结果记录所述网元的上行信号经过所述网络设备,若所述幅度轻度小于预设阈值,则确定未检测到所述网元的上行信号,则所述上行信号检测结果记录所述网元的上 行信号不经过所述网络设备。The monitoring unit is configured to: determine, by monitoring an amplitude of a signal of the radio frequency RF port, in an uplink time of the network element, to determine whether an uplink signal of the network element is detected, if the amplitude strength is greater than a preset threshold, Determining that the uplink signal of the network element is detected, the uplink signal detection result records that the uplink signal of the network element passes through the network device, and if the amplitude is slightly less than a preset threshold, determining that the The uplink signal of the network element, the uplink signal detection result is recorded on the network element The line signal does not pass through the network device.
  9. 根据权利要求7所述的网络设备,其特征在于:The network device according to claim 7, wherein:
    所述监测单元,具体用于通过在所述网元的上行时间进行频谱分析以判断是否监测到所述网元的上行信号,若监测到,则所述上行信号检测结果记录所述网元的上行信号经过所述网络设备,若未监测到,则所述上行信号检测结果记录所述网元的上行信号不经过所述网络设备。The monitoring unit is configured to determine whether an uplink signal of the network element is detected by performing spectrum analysis on an uplink time of the network element. If the uplink signal is detected, the uplink signal detection result records the network element. The uplink signal passes through the network device, and if not detected, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
  10. 根据权利要求6至9中任一项所述的网络设备,其特征在于:A network device according to any one of claims 6 to 9, characterized in that:
    所述解析单元,具体用于对所述MAP消息进行解析获得MAP信息单元结构表,所述MAP信息单元结构表包含所述HFC网络中的网元的标识及对应的上行时间。The parsing unit is configured to parse the MAP message to obtain a MAP information unit structure table, where the MAP information unit structure table includes an identifier of the network element in the HFC network and a corresponding uplink time.
  11. 一种网络设备,其特征在于,包括:A network device, comprising:
    接收器,用于接收同轴电缆局端接入设备CMTS广播的分配映射MAP消息;a receiver, configured to receive an allocation mapping MAP message broadcast by the coaxial cable central office access device CMTS;
    处理器,用于对所述MAP消息进行解析获得HFC网络中的网元对应的上行时间,所述上行时间指示所述网元向所述同轴电缆局端接入设备CMTS发送上行信号的时间间隔;之后,在所述网元的上行时间对所述网元进行监测,确认所述网元的上行信号是否经过所述网络设备以获得上行信号检测结果;a processor, configured to parse the MAP message to obtain an uplink time corresponding to a network element in the HFC network, where the uplink time indicates a time when the network element sends an uplink signal to the coaxial cable central office access device CMTS The network element is monitored at the uplink time of the network element to check whether the uplink signal of the network element passes the network device to obtain an uplink signal detection result.
    发射器,用于将所述上行信号检测结果发送至服务器,所述上行信号检测结果指示所述网络设备与所述网元之间的连接关系,用于所述服务器对所述上行信号检测结果进行分析获得所述HFC网络的拓扑结构。a transmitter, configured to send the uplink signal detection result to a server, where the uplink signal detection result indicates a connection relationship between the network device and the network element, and is used by the server to detect the uplink signal An analysis is performed to obtain the topology of the HFC network.
  12. 根据权利要求11所述的网络设备,其特征在于:The network device according to claim 11, wherein:
    所述处理器,具体用于判断在所述网元的上行时间是否监测到所述网元的上行信号;若监测到,则所述上行信号检测结果记录所述网元的上行信号经过所述网络设备,若未监测到,则所述上行信号检测结果记录所述网元的上行信号不经过所述网络设备。The processor is configured to determine whether an uplink signal of the network element is detected during an uplink time of the network element; if the uplink signal is detected, the uplink signal of the network element is recorded by the uplink signal detection result. If the network device does not detect, the uplink signal detection result records that the uplink signal of the network element does not pass through the network device.
  13. 根据权利要求12所述的网络设备,其特征在于:A network device according to claim 12, wherein:
    所述处理器,具体用于通过在所述网元的上行时间监测射频RF口的信号的幅度强度以判断是否监测到所述网元的上行信号,如果所述幅度强度大于预设阈值,则确定监测到所述网元的上行信号。 The processor is configured to monitor, by using an amplitude of the signal of the radio frequency RF port, an uplink signal of the radio frequency RF port to determine whether the uplink signal of the network element is detected, and if the amplitude strength is greater than a preset threshold, It is determined that the uplink signal of the network element is monitored.
  14. 根据权利要求12所述的网络设备,其特征在于:A network device according to claim 12, wherein:
    所述处理器,具体用于通过在所述网元的上行时间进行频谱分析以判断是否监测到所述网元的上行信号。The processor is configured to perform spectrum analysis on an uplink time of the network element to determine whether an uplink signal of the network element is detected.
  15. 根据权利要求11至14中任一项所述的网络设备,其特征在于:A network device according to any one of claims 11 to 14, characterized in that:
    所述处理器,具体用于对所述MAP消息进行解析获得MAP信息单元结构表,所述MAP信息单元结构表包含所述HFC网络中的网元的标识及对应的上行时间。The processor is configured to parse the MAP message to obtain a MAP information unit structure table, where the MAP information unit structure table includes an identifier of the network element in the HFC network and a corresponding uplink time.
  16. 一种HFC网络系统,其特征在于,包括:An HFC network system, comprising:
    服务器和至少一个网络设备;a server and at least one network device;
    其中,所述网络设备,用于接收同轴电缆局端接入设备CMTS广播的分配映射MAP消息;对所述MAP消息进行解析获得HFC网络中的网元对应的上行时间,所述上行时间指示所述网元向所述同轴电缆局端接入设备CMTS发送上行信号的时间间隔;之后,在所述网元的上行时间对所述网元进行监测,确认所述网元的上行信号是否经过所述网络设备以获得上行信号检测结果;再将所述上行信号检测结果发送至所述服务器,所述上行信号检测结果指示所述网络设备与所述网元之间的连接关系;The network device is configured to receive an allocation mapping MAP message broadcasted by the coaxial cable access device CMTS, and parse the MAP message to obtain an uplink time corresponding to the network element in the HFC network, where the uplink time indication is The time interval at which the network element sends the uplink signal to the coaxial cable access device CMTS; after that, the network element is monitored at the uplink time of the network element, and whether the uplink signal of the network element is confirmed The network device is configured to obtain an uplink signal detection result, and the uplink signal detection result is sent to the server, where the uplink signal detection result indicates a connection relationship between the network device and the network element;
    所述服务器,用于接收多个所述网络设备发送的多个上行信号检测结果,所述多个网络设备中包括第一网络设备,所述第一网络设备的上行信号检测结果指示HFC网络中的网元发送的上行信号是否经过所述第一网络设备;之后,对所述多个上行信号检测结果进行统计分析以获得所述HFC网络的拓扑结构。 The server is configured to receive a plurality of uplink signal detection results sent by the multiple network devices, where the multiple network devices include a first network device, and an uplink signal detection result of the first network device indicates an HFC network Whether the uplink signal sent by the network element passes through the first network device; after that, statistical analysis is performed on the multiple uplink signal detection results to obtain a topology of the HFC network.
PCT/CN2015/093567 2015-11-02 2015-11-02 Topology discovery method for hfc network, network device, and network system WO2017075743A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/093567 WO2017075743A1 (en) 2015-11-02 2015-11-02 Topology discovery method for hfc network, network device, and network system
CN201580080954.0A CN107683584B (en) 2015-11-02 2015-11-02 HFC network topology discovery method, network equipment and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/093567 WO2017075743A1 (en) 2015-11-02 2015-11-02 Topology discovery method for hfc network, network device, and network system

Publications (1)

Publication Number Publication Date
WO2017075743A1 true WO2017075743A1 (en) 2017-05-11

Family

ID=58661461

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093567 WO2017075743A1 (en) 2015-11-02 2015-11-02 Topology discovery method for hfc network, network device, and network system

Country Status (2)

Country Link
CN (1) CN107683584B (en)
WO (1) WO2017075743A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324066A (en) * 2019-07-09 2019-10-11 北京市天元网络技术股份有限公司 A kind of hfc plant failure analysis methods and device based on CM pre-equalization values
CN112260859A (en) * 2020-10-09 2021-01-22 无锡路通视信网络股份有限公司 HFC network topology automatic acquisition method
CN113556170B (en) * 2021-07-01 2024-01-09 江苏省广电有线信息网络股份有限公司苏州分公司 Cable television network operation and maintenance method and system based on mean standard deviation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040203431A1 (en) * 2002-09-26 2004-10-14 Cooper Michael Jaimie Method and apparatus for determining the topology of a hybrid-fiber coaxial cable plant
CN102387037A (en) * 2011-10-18 2012-03-21 四川九州电子科技股份有限公司 Topology discovery method, device and system of broadcast television network equipment
CN103220105A (en) * 2011-12-30 2013-07-24 美国博通公司 Convergence layer bonding over multiple carriers
US20130322504A1 (en) * 2012-06-04 2013-12-05 Cisco Technology, Inc. System and method for discovering and verifying a hybrid fiber-coaxial topology in a cable network environment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8935739B1 (en) * 2010-01-22 2015-01-13 Gainespeed, Inc. Distributed CCAP cable modem termination system
CN103875240B (en) * 2013-09-30 2017-04-12 华为技术有限公司 Data transmission method, device, and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040203431A1 (en) * 2002-09-26 2004-10-14 Cooper Michael Jaimie Method and apparatus for determining the topology of a hybrid-fiber coaxial cable plant
CN102387037A (en) * 2011-10-18 2012-03-21 四川九州电子科技股份有限公司 Topology discovery method, device and system of broadcast television network equipment
CN103220105A (en) * 2011-12-30 2013-07-24 美国博通公司 Convergence layer bonding over multiple carriers
US20130322504A1 (en) * 2012-06-04 2013-12-05 Cisco Technology, Inc. System and method for discovering and verifying a hybrid fiber-coaxial topology in a cable network environment

Also Published As

Publication number Publication date
CN107683584B (en) 2020-01-21
CN107683584A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
US20180076910A1 (en) Interference discovery for cable modems
US9419862B2 (en) System and method for discovering and verifying a hybrid fiber-coaxial topology in a cable network environment
US6785292B1 (en) Method for detecting radio frequency impairments in a data-over-cable system
US20190089593A1 (en) Method And System For Service Group Management In A Cable Network
US9065731B2 (en) Ensure upstream channel quality measurement stability in an upstream channel bonding system using T4 timeout multiplier
US6704288B1 (en) Arrangement for discovering the topology of an HFC access network
CN110971445B (en) Network OAM method and device
US11595710B2 (en) Upstream sweep test with sweep server signaling
CN102710811B (en) Realize method and the switch of dhcp address safety distribution
CN109548019B (en) Network distribution method and system
KR101547679B1 (en) Method of collection of quality statistics and corresponding method of management of collection of quality statistics
US9497451B2 (en) Cable network data analytics system
US10630383B2 (en) CM, HFC network fault locating system, and fault detection method
WO2017075743A1 (en) Topology discovery method for hfc network, network device, and network system
CN102630377B (en) Method, apparatus and system for processing quality parameters of multicast streams
CN107846310A (en) Method is delimited in a kind of IPTV videos matter difference linkage testing based on customer resources tree
US20160248645A1 (en) Summary metrics for telemetry management of devices
CN106888424B (en) Acquisition method and acquisition device for media access control address and network camera
EP3032824B1 (en) Method for automatic tracking of hybrid fiber coaxial upstream service upgrades
KR102273169B1 (en) Supporting apparatus for iptv channel monitoring, and control method thereof
CN103595636A (en) A method, an apparatus and a system for obtaining maintenance entity group end point MAC addresses
CN102281157A (en) Loop circuit detecting and processing method of MOCA (Model-based Constructibility Analysis) system
CN116708762A (en) Fault processing method, device and storage medium
CN118158385A (en) Multicast test method for home intelligent gateway
CN117714807A (en) Playing method and device of network television service

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15907585

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15907585

Country of ref document: EP

Kind code of ref document: A1