WO2007016827A1 - A method for detecting the network topology automatically and realizing the narrow band service and a network structure therefor - Google Patents

A method for detecting the network topology automatically and realizing the narrow band service and a network structure therefor Download PDF

Info

Publication number
WO2007016827A1
WO2007016827A1 PCT/CN2005/002159 CN2005002159W WO2007016827A1 WO 2007016827 A1 WO2007016827 A1 WO 2007016827A1 CN 2005002159 W CN2005002159 W CN 2005002159W WO 2007016827 A1 WO2007016827 A1 WO 2007016827A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
service
network
message packet
routing table
Prior art date
Application number
PCT/CN2005/002159
Other languages
French (fr)
Chinese (zh)
Inventor
Xiaowen Yu
Hui Deng
Xiaoyu Tian
Original Assignee
Zte Corporation
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 Zte Corporation filed Critical Zte Corporation
Publication of WO2007016827A1 publication Critical patent/WO2007016827A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Definitions

  • the present invention relates to a wired access technology in the field of communications, and in particular to an open adaptive networking technology involving a narrowband service of a wired access network.
  • the wired narrowband service access network is generally a star structure in terms of service topology. That is, an OLT (a central office access device of a narrowband access network) is connected to a plurality of ONUs (a remote access device of a narrowband access network) through a coaxial cable. Generally, each ONU takes tens to hundreds of users, communicates with the OLT through a fixed communication channel, and configures a downlink connection on the OLT to communicate with the ONU.
  • the OLT acts as the network element to accept the management of the network management. In the early days, the ONU narrowband service configuration cost was low. Therefore, although the number of users is small, the networking mode is relatively simple and economical, and the network hierarchy is relatively clear.
  • the ONU's configuration processing capability is improved, and the network element is separately managed as a network element, so that the status of the ONU is improved and gradually approaches the OLT.
  • a new flexible networking and resource management solution is needed to quickly adapt to this change and provide customers with customized services.
  • the traditional networking method obviously cannot provide the flexibility of this networking and the agility required by the business.
  • the technical problem to be solved by the present invention is to provide a method for automatically detecting a network topology, establishing a routing table, and implementing a narrowband service according to the method and a corresponding networking structure to implement flexible networking and users of access nodes of the access network.
  • Smooth network expansion adaptive networking technology so that users of each node can be based on the current In the networking situation, adaptively select different node routes to complete signaling interaction with the switch.
  • the present invention provides a method for automatically detecting a network topology, including the following steps: Configuring a node identification number of each access node in the network and a connection relationship between directly connected nodes according to the physical networking situation;
  • Each node sends a handshake message packet to its directly connected node, where the packet contains the source node identifier and the intermediate node identifier information;
  • each node After receiving the handshake message packet, each node reads the source node and the intermediate node identifier information, and compares it with the identifier of the node;
  • each node fills the node identifier number into the intermediate node identifier of the message packet, and forwards the modified node to the node directly connected thereto.
  • Each node determines the connection relationship between the nodes based on the received node identification in the handshake packet from all other nodes in the network.
  • the method further comprises the following steps:
  • the service node in each node broadcasts a service route setup message to other nodes, and the message includes the service node identification number;
  • Each node establishes a service node identification number in the message broadcast packet according to the received service route, and determines a service node in each node.
  • the method further comprises the following steps:
  • the network management system initiates the network topology data collection operation to any node in the network
  • the network topology map is displayed on the network management interface according to the connection relationship between the nodes determined by the node.
  • the method further comprises the following steps:
  • the network management system initiates the network topology data collection operation to any node in the network
  • the network topology of the service node is displayed on the network management interface according to the connection relationship between the nodes determined by the node and the determined service node identifier.
  • the present invention also provides a method for automatically establishing a network routing table, which generates and updates a routing table for each node in the network, including:
  • Each node sends a handshake message packet to its directly connected node, where the packet contains the source node identifier and the intermediate node identifier information;
  • each node After receiving the handshake message packet, each node reads the source node and the intermediate node identifier information, and compares it with the identifier of the node;
  • each node adds a record in the node routing table of the node, and the destination node identification number in the record is the received handshake packet.
  • the source node identification number, the next hop node identification number is the node identification number connected to the channel that received the message, and the local node identification number is filled into the intermediate node identifier of the message packet, and forwarded to the node directly connected thereto The modified package.
  • the method further comprises the following steps:
  • Establishing a service routing table for each node in the network includes the following steps:
  • each node After receiving the service routing setup message packet, each node determines whether the node has information corresponding to the service node. If not, the service information in the message packet is added to the service routing table of the local node. If yes, Then, the service information in the message packet is compared with the service node information stored in the node to update the service routing table of the node.
  • the present invention also provides a method for implementing a narrowband access network service, including the following steps:
  • the service node is found through the service routing table.
  • the node processes the service. Otherwise, the node is routed through the node routing table and sent to the next hop node for processing.
  • the present invention further provides a network structure for a narrowband access network that implements narrowband service access by using the method for automatically detecting a network topology according to the present invention, including:
  • a plurality of narrowband access network central office access devices connected to the switch, wherein the plurality of central office access devices establish a connection with each other; and A plurality of narrowband access network remote access devices connected to the central office access device, wherein the plurality of remote access devices establish a connection with each other.
  • the networking structure wherein one of the remote access devices is connected to one or more of the central office access devices.
  • the remote access device is directly connected to the switch through a V5 interface.
  • the invention applies the message propagation mechanism in the field of broadband data communication to the narrowband access network, and can automatically generate the network interconnection topology and the hierarchical structure according to the synchronization data of the network element; thereby greatly reducing the network data configuration and maintenance management.
  • the complexity makes the mesh networking of the narrowband service access network possible.
  • the implementation method of the invention is simple and easy to popularize, as long as the NRT (node routing table) message packet and the SRT (service routing table) message packet are simply standardized. Considering, it can provide open interconnection between different manufacturers' access networks, which facilitates resource optimization and equipment selection of operators; and the network structure is highly reliable. Due to the flexible networking form, it can be redundant from the perspective of network level. After the OLTs establish a connection relationship between the OLTs, the OLTs are not separately allocated, and the service relationship can be established, thereby enhancing the scalability of the application of the access network services in the entire network.
  • Figure 1 is a traditional star networking method
  • FIG. 5a The processing flow of the node that detects the off-hook is detected during the service process of the calling process of the secondary PST call.
  • Figure 5b The process of processing the off-hook message of the intermediate node in the process of the service process of the PSTN call as an example
  • Figure 5c The processing flow of the BCC allocation message received by the service node in the service processing process of the secondary PSTN call as an example
  • Figure 5d The processing flow of the non-service node in the service process of the example of the calling process of the secondary PSTN call;
  • Figure 6a shows a network connection topology relationship generated by node 7 in a topology generated by a node using a certain network as an example
  • Figure 6b takes a network as an example.
  • the network connection topology relationship diagram of the network layer is adjusted for the service node. The best way to implement the invention
  • the present invention performs global numbering on each access node (including the ONU and the OLT), and performs topology and resource configuration management on each access node, so that each access node can perform any form of networking on the service relationship according to the needs of the client. And it is easy to achieve smooth expansion of the network.
  • the present invention provides a simple, practical, and open networking method for the networking flexibility and service agility of the access network, which will have a significant impact on the networking of the narrowband service of the access network, and through the present invention. Interconnection of various types of access networks is made possible.
  • each optical network unit ONU (ONU 100, ONU 101...ONU 10 ⁇ ) forms a star network centered on the optical line terminal OLT100, and each OLT 100 is independent and has no connection; each ONU Only one OLT is connected, and the OLT 100 is connected to the switch LE 10 through the V5 interface.
  • FIG. 2 it is a schematic diagram of the access network networking capability after adopting the technology of the present invention. It can be seen from the figure that it differs from FIG. 1 in that: First, a connection can be established between optical line terminals OLT, and services can be opened between OLTs (such as between OLT 21 and OLT 22), so that the entire range can be The service is extended within the access network. Secondly, the ONU can connect not only multiple OLTs through the internal interface, but also can connect with other ONUs (such as ONU 201 and ONU 20n). It can even be configured to connect the V5 interface directly to the switch LE 20.
  • the first step is to uniformly number all the access nodes in the network and configure the node identification numbers of the access nodes.
  • the second step is to configure the connection relationship between the nodes, including the connection configuration of the communication channel between the nodes and the configuration of the voice channel resources. This step is mainly to establish a logical topology relationship between nodes and a basic NRT that is consistent with the physical network (but not related to the physical location).
  • Step 3 If the node is a service node, configure the service data of the node.
  • Business festival A point is a node configured with a narrowband service, such as a V5 interface PSTN service, an ISDN service, a DDN service, and a Z interface service. If the node needs to provide a V5 interface, configure the V5 interface on the node and allocate the user circuit to the V5 interface, that is, assign the V5 L3 address to the user circuit. It should be noted that the user circuit may be located at this node or it may be located at another node.
  • a narrowband service such as a V5 interface PSTN service, an ISDN service, a DDN service, and a Z interface service.
  • NRT is the basis of the routing logic independent of the service.
  • the principle is similar to the traditional Ethernet routing method.
  • Timing for example: Sending a Hello packet (handshake packet) in a 10-second period to establish and update the NRT of the entire network.
  • the format of the Hello packet used to create and update the NRT is as follows:
  • E- HELLO is the event number, used to notify the directly connected node, this message is a Hello message for maintaining NRT; the source node indicates that the message is from this node; the number of intermediate nodes n indicates from the source node to receive this message The number of nodes in the path between nodes; node 1... all the way to node n represents the node of the path.
  • step 301 when a node receives the message (step 301), the message is parsed, and a judgment is made to determine whether the message is a loop message (step 302):
  • the node is a source node in the message content, or is included in the intermediate node, it indicates that the message has been routed to the node, and the message is discarded and is not processed to avoid an infinite loop of message transmission, step 303.
  • the node If the node is neither the source node nor the intermediate node in the message content, it indicates that the node information message is received by the node for the first time, according to the source node in the Hello message and the channel that receives the message. Updating the local NRT table (step 304), and adding the node information to the Hello message, and forwarding to all directly connected nodes (step 305), the specific steps are as follows:
  • the destination node in the record is the source node in the Hello message, and the Next Hop is the node connected to the channel that received the message.
  • this Hello information message is forwarded, but the content of the message needs to be modified.
  • the number of intermediate nodes is increased by one, and the identification number of this node is filled to the end of the message.
  • each node can establish a basic NRT through this simple protocol.
  • This NRT lays the foundation for the establishment of the next SRT and the processing of the business call flow logic.
  • the NRT table can be accompanied by a record of the Next Hop state for each entry.
  • the status mainly identifies whether the Next Hop is available. For example, an abnormal communication between nodes causes the Next Hop to be unavailable. This state is refreshed by the channel detection logic timing detection.
  • the establishment of the SRT requires a Service Route Add message, which is broadcasted by the service node to the other nodes as the source.
  • E-SvcRouteAdd is the event number, indicating that it is a message to establish an SRT.
  • the service node is a service node number configured to be a V5 port.
  • the SLNs are the actual circuit identifier groups corresponding to the service users of the target node on the V5 port. The length of the information content of the corresponding SLNs. If there is no service user corresponding to the service node in the target node, the ⁇ len is empty.
  • the processing flow after the target node receives the message is as follows:
  • the receiving node determines whether the information corresponding to the service node already exists: if not, the service information is added to the local node and added to the SRT table; if yes, the information about the message structure and the service node information stored by the node Compare to update the SRT table.
  • the service node is recorded into a list containing service nodes. This list stores the identification numbers of all service nodes in the network, so that the network management system generates a topology map with the service nodes as the vertices.
  • the service change transmission and the timing transmission phase are adopted.
  • the combined method sends a Service Route Add message to ensure that the SRT table of each node is updated in time when the service changes; the timing sending mechanism ensures the correctness of the SRT table of each node. For the receiving node, it is always based on the recently received Service Route Add message. If the newly received one is consistent with the SRT, it will not be processed. Otherwise, the SRT will be updated based on the newly received one. At the same time, a simple aging algorithm is considered. If the ServiceRouteAdd message sent by the service node is not received within a certain period of time, the original SRT information of the service node is cleared to ensure that the service user can be updated. As shown in FIG. 4, the following steps can be summarized as follows: Step 401: The SRT update timer expires;
  • Step 402 Send a ServiceRouteAdd message to the service user node.
  • Step 403 receiving a ServiceRouteAdd message
  • Step 404 updating the SRT table according to the content of the message.
  • the number of idle channels of the new message is modified according to the occupancy of the session slot of the node and the adjacent node. If the number of idle channels of the node and the uplink node is greater than the number of idle channels in the original message, the number of idle channels in the new message remains unchanged in the original message, otherwise the number of idle channels is modified to The number of idle sessions between this node and this upstream node. As long as there is a record of the number of idle channels in the NRT, when the node receives the Hello packet, it fills in the field, and when the Next Hop is selected according to the node number of the SLN, it can be allocated in the service time slot. The route with the largest "number of idle channels" is selected to achieve a high connection rate.
  • topology management of the network is an important content.
  • the invention enables the network management system to accurately and quickly generate a topology map of the network device according to the actual networking situation, and reflect the communication state and resource usage information between the network nodes in real time in the topology map.
  • the method is: through the relay node information recorded in the Hello packet and the channel status recorded in the NRT table, the topology relationship of the network can be accurately generated, and a node can be established from any node according to the SRT service configuration.
  • Business nodes are top-level maps of vertices, making business management more intuitive and convenient.
  • the following describes the calling process of a PSTN call as an example.
  • the PSTN service is narrow. With the most typical business in the access network.
  • Figure 5a shows the processing flow after a node detects the off-hook action of the user circuit:
  • Step 5a01 An access node detects that a user circuit is off-hook, obtains a logical number SLN of the corresponding circuit, and triggers an off-hook message.
  • Step 5a02 find the SRT table and find the service node.
  • Step 5a03 determining whether the service node number and the own node number are the same;
  • Step 5a04 If the destination node is the same as the own node, hand the message to the corresponding V5 interface, send a call setup message Establish, and start interacting with the switch, otherwise go to the next step.
  • step 5a05 the path is searched according to the NRT and sent to the Next Hop node.
  • Figure 5b shows the processing flow of the off-hook message sent by the intermediate node (that is, the Next Hop node above) to the source node (the node where the user circuit is located).
  • Step 5b01 receiving an off-hook message of the neighboring node
  • Step 5b02 determining whether the service node number and the own node number are the same;
  • Step 5b03 if the same, then the message is handed over to the corresponding V5 interface, the call setup message Establish is initiated, and the switch is started to interact, otherwise proceeds to step 5c04;
  • step 5b04 the path is searched according to the NRT and sent to the Next Hop node.
  • FIG. 5c shows the processing flow of the service node receiving the BCC allocation message of the switch.
  • the processing steps are as follows: Step 5c01, the service node receives the BCC assignment session message that the switch responds.
  • Step 5c02 parsing the BCC allocation message, obtaining the V5 interface identifier, the link number LinkNo, the time slot V5Ts, and the V5 address allocated by the switching side. After receiving the message, the access node finds the V5 user according to the V5 interface number and the V5 L3 address. The corresponding user logical number SLN.
  • Step 5c03 the access node compares the node identification number in the SLN with its own node, and determines whether the user is the user of the node:
  • step 5c04 if it is the user of the node, the time slot is connected to the user port, and the PSTN call process of the access network user to the switch is completed.
  • Step 5c05 Find the corresponding Next Hop node according to the node identification number in the user logical number SLN in the NRT table; 'Assign the downlink time slot 11111 ⁇ 2 18 of the ⁇ to the user. Connect the switching network, and set the downlink time slot InnerTs. Connected to the uplink time slot. (The uplink time slot here means the switch. Matching time slot). The connection message is sent to Next Hop, and the message structure carries the user's logic circuit number SLN and the downlink time slot InnerTs allocated for Next Hop.
  • Figure 5d shows the processing flow of the non-service node receiving the connection message sent by the previous node, which is processed as follows:
  • step 5d01 the connected node receives the connection message sent by the connected node.
  • Step 5d02 parsing InnerTs and SLN.
  • Step 5d03 comparing the node identification number in the SLN with its own node, and determining whether the user is a local node user:
  • step 5d04 if it is the user of the node, the time slot is connected to the user port, and the PSTN call process of the access network user to the switch is completed.
  • Step 5d05 Find a corresponding Next Hop node according to the node identification number in the user logical number SLN in the NRT table; assign the user the downlink time slot InnerTs to Next Hop.
  • the switching network is connected, and the downlink time slot InnerTs and the uplink time slot are connected.
  • the upstream time slot here means: the time slot InnerTs field in the continuation message).
  • the connection message is sent to Next Hop, and the message structure carries the user's logical circuit number SLN and the downlink time slot InnerTs allocated for Next Hop.
  • the above is an implementation process of the Pstn service as an example to illustrate the implementation process of the present invention.
  • the implementation method for the ISDN service is similar to that of the PSTN.
  • the generation process of the network topology map is illustrated by an example.
  • the node 7 of the example is taken as an example to give an NRT table of the network.
  • the network management configuration data process is as follows:
  • node identification number for the 7 nodes First configure the node identification number for the 7 nodes, and the connection relationship between them: establish the connection between the following nodes: 4 and 3, 3 and 6, 6, and 7, 5 and 2, 2 No. 6 and No. 6, and No. 1. Secondly, the services are configured on nodes 4 and 5, and the V5 interface is connected to the switch.
  • the configuration process ends.
  • the process of generating the network topology is as follows: Receive a Hello packet from each node, which contains the active node identification number and the intermediate node identification number experienced by the packet, for this example.
  • the node information of all the Hello packets received by node 7 is as follows:
  • the Hello packet from node 1 is:
  • the Hello packet from node 4 is:
  • the Hello packet from node 6 is:
  • the network node topology information obtained by Node 7 from the above Hello packet is: From Node 1 - 1, 6, 7
  • the E-SvcRouteAdd message packet is broadcasted to all other nodes including node 7, so that node 7 knows that the service node is node 4 and node 5.
  • the network topology shown in Figure 6b is obtained.
  • the network management system initiates a network topology data collection operation to node 7, the network topology map can be displayed on the network management interface.
  • the following table shows the NRT table generated by Node 7 based on the Hello packets sent by the other 6 nodes:
  • Node 7 must send a message to other nodes, which must be sent through Node 6.
  • the node 7 receives the Service Route Add service route sent from nodes 4 and 5, it updates the SRT table. This completes the process of establishing NRT and SRT tables.
  • topology management of the network is an important content.
  • the invention enables the network management system to accurately and quickly generate a topology map of the network device according to the actual networking situation, and reflect the communication state and resource usage information between the network nodes in real time in the topology map.
  • the topology relationship of the network can be accurately generated, and a service node can be established from any node according to the SRT service configuration.
  • the topology of the vertices makes business management more intuitive and convenient.
  • the present invention applies the message propagation mechanism in the field of broadband data communication to a narrowband access network, and can automatically generate a network interconnection topology and a hierarchical structure according to the synchronization data of the network element; thereby greatly reducing the The complexity of network data configuration and maintenance management makes the mesh networking of the narrowband service access network possible.
  • the implementation method of the present invention is simple and easy to promote and use. As long as the NRT message packet and the SRT message packet are simply standardized, It can provide open interconnection between different manufacturers to access the network, which is convenient for operators to optimize resources and equipment selection; and the network structure is highly reliable.

Abstract

A method for detecting the network topology automatically and creating the routing list and realizing the narrow band service, first sets the identifier and the connection relation for each node, then sends the handshaking message packet. Each node judges and fills its identifier according to the message packet received, then forwards the message packet modified. Each node determines the connection relation of the nodes according to the handshaking message packet, and creates the routing list, when a node in the network triggers the service, it searches the service node from the service routing list, if the service destination node and its node are same, the said node processes the service, otherwise, it performs track searching from the node routing list, and sends it to the next hop node to process. The present invention could set up any form network required, and realize smooth network expansion, and create the topological graph nicely and quickly according to the actual network condition, thereby it makes the service management more visible and advantaged.

Description

自动探测网络拓扑结构并实现窄带业务的方法及组网结构 技术领域  Method and network structure for automatically detecting network topology and implementing narrowband service
本发明涉及通信领域的有线接入技术,具体地说,是涉及有线接入网窄带 业务的开放式自适应组网技术。 背景技术  The present invention relates to a wired access technology in the field of communications, and in particular to an open adaptive networking technology involving a narrowband service of a wired access network. Background technique
传统意义上的有线窄带业务接入网,从业务拓扑关系上讲,一般为星型结 构。即,一个 OLT (窄带接入网的局端接入设备)通过同轴电缆连接多个 ONU (窄带接入网的远端接入设备) 的组网结构。 一般每个 ONU带几十到几百个 用户不等, 通过一个固定的通讯通道与 OLT进行通讯, 同时, 在 OLT上配置 下行连接, 与 ONU进行消息通讯。 OLT作为网元接受网管的管理, 早期由于 ONU窄带业务配置成本较低, 所以, 尽管用户数较少, 这种组网方式还是比 较简单经济的, 网络层次结构也比较清楚。  In the traditional sense, the wired narrowband service access network is generally a star structure in terms of service topology. That is, an OLT (a central office access device of a narrowband access network) is connected to a plurality of ONUs (a remote access device of a narrowband access network) through a coaxial cable. Generally, each ONU takes tens to hundreds of users, communicates with the OLT through a fixed communication channel, and configures a downlink connection on the OLT to communicate with the ONU. The OLT acts as the network element to accept the management of the network management. In the early days, the ONU narrowband service configuration cost was low. Therefore, although the number of users is small, the networking mode is relatively simple and economical, and the network hierarchy is relatively clear.
但是, 随着宽窄带综合接入网业务的开展, ONU的配置处理能力得到提 高, 且单独作为网元接受网管的管理, 这样 ONU 的地位得到提升, 逐渐与 OLT接近。 另外, 由于客户为了取得竞争优势, 就会不时地进行业务变化和 重组, 这样就需要一种新的灵活组网和资源管理方案, 以快速适应这种变化, 并为客户提供所需的定制服务。而传统的组网方式显然不能够提供这种组网的 灵活性和业务所需的敏捷性。这些缺点又导致网络缺乏开放性,各接入网各自 为阵, 运营商无法将它们融合起来。  However, with the development of the broadband and narrowband integrated access network services, the ONU's configuration processing capability is improved, and the network element is separately managed as a network element, so that the status of the ONU is improved and gradually approaches the OLT. In addition, because customers will change their business and reorganize from time to time in order to gain a competitive advantage, a new flexible networking and resource management solution is needed to quickly adapt to this change and provide customers with customized services. . The traditional networking method obviously cannot provide the flexibility of this networking and the agility required by the business. These shortcomings have led to a lack of openness in the network, and each access network is a separate array, and operators cannot integrate them.
因此, 在宽窄带综合接入网业务不断发展的今天, 如何结合 ONU日益增 强的配置处理能力,提供一种因业务不断变化和重组也能及时为客户提供所需 的定制服务的灵活组网和资源管理方法,实现开放式的自适应组网方法,成为 亟待解决的问题。 发明公开  Therefore, in today's continuous development of wide and narrowband integrated access network services, how to combine ONU's increasingly enhanced configuration processing capabilities to provide a flexible networking and timely provision of customized services for customers due to continuous business changes and restructuring. The resource management method and the implementation of an open adaptive networking method have become an urgent problem to be solved. Invention disclosure
本发明所要解决的技术问题是提供一种自动探测网络拓扑结构、建立路由 表,并据此实现窄带业务的方法及相应的组网结构,来实现接入网各接入节点 灵活组网、用户平滑扩容的自适应组网技术,使各个节点的用户可根据当前的 组网情况, 自适应地选择不同的节点路由, 完成与交换机的信令交互。 The technical problem to be solved by the present invention is to provide a method for automatically detecting a network topology, establishing a routing table, and implementing a narrowband service according to the method and a corresponding networking structure to implement flexible networking and users of access nodes of the access network. Smooth network expansion adaptive networking technology, so that users of each node can be based on the current In the networking situation, adaptively select different node routes to complete signaling interaction with the switch.
本发明提供一种自动探测网络拓扑结构的方法, 包括如下步骤: 根据物理组网情况,配置网络中各接入节点的节点标识号以及各直接相连 节点之间的连接关系;  The present invention provides a method for automatically detecting a network topology, including the following steps: Configuring a node identification number of each access node in the network and a connection relationship between directly connected nodes according to the physical networking situation;
各节点向其直接相连节点发送握手消息包,该包中含有源节点标识以及中 间节点标识信息;  Each node sends a handshake message packet to its directly connected node, where the packet contains the source node identifier and the intermediate node identifier information;
各节点收到所述握手消息包后, 读取其中的源节点以及中间节点标识信 息, 并将其与本节点标识进行比对;  After receiving the handshake message packet, each node reads the source node and the intermediate node identifier information, and compares it with the identifier of the node;
如果本节点标识未包含在所述握手消息包中的源节点与中间节点中,则各 节点将本节点标识号填充至消息包的中间节点标识中,向与其直接相连的节点 转发该修改后的信息包;  If the node identifier is not included in the source node and the intermediate node in the handshake message packet, each node fills the node identifier number into the intermediate node identifier of the message packet, and forwards the modified node to the node directly connected thereto. Information package
各节点根据收到的来自于网络中所有其他节点的握手信息包中的节点标 识, 确定各节点之间的连接关系。  Each node determines the connection relationship between the nodes based on the received node identification in the handshake packet from all other nodes in the network.
优选的, 进一步包括如下步骤:  Preferably, the method further comprises the following steps:
各节点中的业务节点向其他节点广播业务路由建立消息,该消息包括该业 务节点标识号;  The service node in each node broadcasts a service route setup message to other nodes, and the message includes the service node identification number;
各节点根据收到的业务路由建立消息广播包中的业务节点标识号,确定各 节点中的业务节点。  Each node establishes a service node identification number in the message broadcast packet according to the received service route, and determines a service node in each node.
优选的, 还包括如下步骤:  Preferably, the method further comprises the following steps:
网管系统向网络中任一节点发起网络拓扑数据采集操作时,根据该节点确 定的各节点之间的连接关系, 在网管界面上显示出网络拓扑结构图。  When the network management system initiates the network topology data collection operation to any node in the network, the network topology map is displayed on the network management interface according to the connection relationship between the nodes determined by the node.
优选的, 还包括如下步骤:  Preferably, the method further comprises the following steps:
网管系统向网络中任一节点发起网络拓扑数据采集操作时,根据该节点确 定的各节点之间的连接关系以及确定的业务节点标识,在网管界面上显示出以 业务节点为顶点的网络拓扑结构图。  When the network management system initiates the network topology data collection operation to any node in the network, the network topology of the service node is displayed on the network management interface according to the connection relationship between the nodes determined by the node and the determined service node identifier. Figure.
本发明还提供一种自动建立网络路由表的方法,为网络中的各节点生成并 更新路由表, 包括:  The present invention also provides a method for automatically establishing a network routing table, which generates and updates a routing table for each node in the network, including:
为网络中的各节点建立各自的节点路由表,所述的节点路由表包含有目的 节点标识号与下一跳节点标识号信息, 包括如下步骤:  Establishing a node routing table for each node in the network, where the node routing table includes the destination node identification number and the next hop node identification number information, including the following steps:
根据物理组网情况,配置网络中各接入节点的节点标识号以及各直接相连 节点之间的连接关系; Configure the node identification numbers of each access node in the network and each directly connected according to the physical networking. The connection relationship between nodes;
各节点向其直接相连节点发送握手消息包,该包中含有源节点标识以及中 间节点标识信息;  Each node sends a handshake message packet to its directly connected node, where the packet contains the source node identifier and the intermediate node identifier information;
各节点收到所述握手消息包后, 读取其中的源节点以及中间节点标识信 息, 并将其与本节点标识进行比对;  After receiving the handshake message packet, each node reads the source node and the intermediate node identifier information, and compares it with the identifier of the node;
如果本节点标识未包含在所述握手消息包中的源节点与中间节点中,则各 节点在本节点的节点路由表中增加一条记录,记录中的目的节点标识号为收到 的握手信息包中的源节点标识号,下一跳节点标识号为收到该消息的通道所连 的节点标识号, 并将本节点标识号填充至消息包的中间节点标识中, 向与其直 接相连的节点转发该修改后的信息包。  If the node identifier is not included in the source node and the intermediate node in the handshake message packet, each node adds a record in the node routing table of the node, and the destination node identification number in the record is the received handshake packet. The source node identification number, the next hop node identification number is the node identification number connected to the channel that received the message, and the local node identification number is filled into the intermediate node identifier of the message packet, and forwarded to the node directly connected thereto The modified package.
优选的, 进一步包括如下步骤:  Preferably, the method further comprises the following steps:
为网络中的各节点建立业务路由表, 包括如下步骤:  Establishing a service routing table for each node in the network includes the following steps:
根据物理组网情况, 为各网络节点中的业务节点配置业务数据,所述业务 数据包括目标节点的业务用户所对应的实际电路标识群及其信息内容的长度; 由各业务节点向其他各节点广播包含有该业务节点标识号及其配置的业 务数据的业务路由建立消息包;  Configuring service data for the service nodes in each network node according to the physical networking situation, where the service data includes the actual circuit identification group corresponding to the service user of the target node and the length of the information content thereof; Broadcasting a service route setup message packet including the service node identification number and its configured service data;
各节点接收到所述业务路由建立消息包后,判断该节点是否已经存在业务 节点对应的信息,如果不存在,则将该消息包中的业务信息加入本节点的业务 路由表中,如果存在, 则将该消息包中的业务信息与本节点存储的业务节点信 息进行比较, 以更新本节点的业务路由表。  After receiving the service routing setup message packet, each node determines whether the node has information corresponding to the service node. If not, the service information in the message packet is added to the service routing table of the local node. If yes, Then, the service information in the message packet is compared with the service node information stored in the node to update the service routing table of the node.
本发明还提供一种窄带接入网业务实现方法, 包括如下步骤:  The present invention also provides a method for implementing a narrowband access network service, including the following steps:
为网络中的各节点建立节点路由表与业务路由表;  Establishing a node routing table and a service routing table for each node in the network;
网络中某节点触发业务时, 通过业务路由表查找到业务节点;  When a node in the network triggers a service, the service node is found through the service routing table.
如果业务目的节点与自身节点相同, 则由该节点处理业务, 否则, 通过节 点路由表进行寻径, 发送给下一跳节点处理。  If the service destination node is the same as its own node, the node processes the service. Otherwise, the node is routed through the node routing table and sent to the next hop node for processing.
本发明还提供一种利用本发明所述自动探测网络拓扑结构方法来实现窄 带业务接入的窄带接入网组网结构, 包括:  The present invention further provides a network structure for a narrowband access network that implements narrowband service access by using the method for automatically detecting a network topology according to the present invention, including:
交换机;  Switch
与交换机相连接的多个窄带接入网局端接入设备,所述多个局端接入设备 相互之间建立了连接; 及 与所述局端接入设备相连接的多个窄带接入网远端接入设备,所述多个远 端接入设备相互之间建立了连接。 a plurality of narrowband access network central office access devices connected to the switch, wherein the plurality of central office access devices establish a connection with each other; and A plurality of narrowband access network remote access devices connected to the central office access device, wherein the plurality of remote access devices establish a connection with each other.
进一步的, 所述的组网结构, 其中, 所述远端接入设备中的一个与一个或 多个所述局端接入设备相连。  Further, the networking structure, wherein one of the remote access devices is connected to one or more of the central office access devices.
进一步的, 所述的组网结构, 其中, 所述远端接入设备通过 V5接口与所 述交换机直接相连。  Further, in the networking structure, the remote access device is directly connected to the switch through a V5 interface.
与现有技术相比, 本发明的优点在于:  The advantages of the present invention over the prior art are:
本发明将宽带数据通讯领域中的消息传播机制运用到窄带接入网中,根据 网元的同步数据,可以自动生成网络互连拓扑和层次结构;从而极大地降低了 网络数据配置和维护管理的复杂性, 使得窄带业务接入网的网状组网成为可 能; 本发明实现方法简单, 很容易推广使用, 只要对 NRT (节点路由表) 消 息包以及 SRT (业务路由表)消息包的简单标准化进行考虑,可以提供不同厂 家接入网间的开放性互连,从而方便运营商的资源优化和设备选型;并且网络 结构可靠性高, 由于组网形式灵活, 可以从网络层次的角度进行冗余备份; 通 过在各 OLT之间建立连接关系, OLT之间不再各自独立划分, 可以建立业务 关系, 从而增强了接入网业务在全网内应用的扩展性。  The invention applies the message propagation mechanism in the field of broadband data communication to the narrowband access network, and can automatically generate the network interconnection topology and the hierarchical structure according to the synchronization data of the network element; thereby greatly reducing the network data configuration and maintenance management. The complexity makes the mesh networking of the narrowband service access network possible. The implementation method of the invention is simple and easy to popularize, as long as the NRT (node routing table) message packet and the SRT (service routing table) message packet are simply standardized. Considering, it can provide open interconnection between different manufacturers' access networks, which facilitates resource optimization and equipment selection of operators; and the network structure is highly reliable. Due to the flexible networking form, it can be redundant from the perspective of network level. After the OLTs establish a connection relationship between the OLTs, the OLTs are not separately allocated, and the service relationship can be established, thereby enhancing the scalability of the application of the access network services in the entire network.
本发明所要解决的技术问题、 技术方案要点及有益效果, 将结合实施例, 参照附图作进一步说明。 附图简要说明  The technical problems, the technical solutions, and the beneficial effects to be solved by the present invention will be further described with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
图 1是传统星型组网方式;  Figure 1 is a traditional star networking method;
图 2是本发明网状组网能力示意图;  2 is a schematic diagram of the mesh networking capability of the present invention;
图 3 NRT建立流程;  Figure 3 NRT establishment process;
图 4 SRT建立流程;  Figure 4 SRT establishment process;
图 5a—次 PST 呼叫的主叫流程为例的业务处理过程中 , 检测到摘机的 节点的处理流程;  Figure 5a—The processing flow of the node that detects the off-hook is detected during the service process of the calling process of the secondary PST call.
图 5b—次 PSTN呼叫的主叫流程为例的业务处理过程中, 中间节点对摘 机消息的处理流程;  Figure 5b - The process of processing the off-hook message of the intermediate node in the process of the service process of the PSTN call as an example;
图 5c—次 PSTN呼叫的主叫流程为例的业务处理过程中, 业务节点收到 交换机 BCC分配消息的处理流程; 图 5d—次 PSTN呼叫的主叫流程为例的业务处理过程中, 非业务节点的 处理流程; Figure 5c - The processing flow of the BCC allocation message received by the service node in the service processing process of the secondary PSTN call as an example; Figure 5d - The processing flow of the non-service node in the service process of the example of the calling process of the secondary PSTN call;
图 6a以某一网络为例, 由某一节点生成的拓扑结构中, 7号节点生成的 网络连接拓扑关系图;  Figure 6a shows a network connection topology relationship generated by node 7 in a topology generated by a node using a certain network as an example;
图 6b以某一网络为例, 由某一节点生成的拓扑结构中, 对业务节点调整 了网络层次后的网络连接拓扑关系图。 实现本发明的最佳方式  Figure 6b takes a network as an example. In the topology generated by a node, the network connection topology relationship diagram of the network layer is adjusted for the service node. The best way to implement the invention
本发明通过对各接入节点(包括 ONU和 OLT)进行全局编号, 同时对各 接入节点进行拓扑和资源配置管理,使得各接入节点可以按照客户需要在业务 关系上进行任意形式的组网,并且可以很容易实现网络的平滑扩容。本发明在 接入网的组网灵活性和业务敏捷性方面提供了一种简单、实用、具有开放性的 组网方法,对接入网窄带业务的组网将产生重大影响,并且通过本发明使得各 种类型接入网的互连互通成为可能。  The present invention performs global numbering on each access node (including the ONU and the OLT), and performs topology and resource configuration management on each access node, so that each access node can perform any form of networking on the service relationship according to the needs of the client. And it is easy to achieve smooth expansion of the network. The present invention provides a simple, practical, and open networking method for the networking flexibility and service agility of the access network, which will have a significant impact on the networking of the narrowband service of the access network, and through the present invention. Interconnection of various types of access networks is made possible.
如图 1所示, 为传统的接入网组网能力示意图。从图中可以看出, 各光网 络单元 ONU (ONU 100、 ONU 101...ONU 10η) 以光线路终端 OLT100为 中心组成星型网, 各 OLT 100之间各自独立, 没有联系; 每个 ONU只和一 个 OLT相连接, OLT 100通过 V5接口与交换机 LE 10相连。  As shown in Figure 1, it is a schematic diagram of the traditional access network networking capability. As can be seen from the figure, each optical network unit ONU (ONU 100, ONU 101...ONU 10η) forms a star network centered on the optical line terminal OLT100, and each OLT 100 is independent and has no connection; each ONU Only one OLT is connected, and the OLT 100 is connected to the switch LE 10 through the V5 interface.
如图 2所示,为采用本发明技术后的接入网组网能力示意图。从图中可以 看出, 它与图 1的区别在于: 首先, 光线路终端 OLT之间可以建立连接, 各 OLT之间 (如 OLT 21与 OLT 22之间)可以开通业务, 从而可以在全范围的 接入网内对业务进行扩展。其次, ONU通过内部接口不但可以连接多个 OLT, 而且可以和其它 ONU连接(如 ONU 201 与 ONU 20η之间可建立连接) , 甚 至还可以配置 V5接口直接和交换机 LE 20相连。  As shown in FIG. 2, it is a schematic diagram of the access network networking capability after adopting the technology of the present invention. It can be seen from the figure that it differs from FIG. 1 in that: First, a connection can be established between optical line terminals OLT, and services can be opened between OLTs (such as between OLT 21 and OLT 22), so that the entire range can be The service is extended within the access network. Secondly, the ONU can connect not only multiple OLTs through the internal interface, but also can connect with other ONUs (such as ONU 201 and ONU 20n). It can even be configured to connect the V5 interface directly to the switch LE 20.
首先, 来介绍一下基本配置过程。  First, let's introduce the basic configuration process.
第一步将网络中全部接入节点统一编号,配置各接入节点的节点标识号。 第二步配置节点之间的连接关系, 包括节点之间通讯通道的连接配置和 话路资源配置。这一步主要是建立起和物理组网一致的(但是和物理位置无关 ) 节点间逻辑拓扑关系以及基本的 NRT。  The first step is to uniformly number all the access nodes in the network and configure the node identification numbers of the access nodes. The second step is to configure the connection relationship between the nodes, including the connection configuration of the communication channel between the nodes and the configuration of the voice channel resources. This step is mainly to establish a logical topology relationship between nodes and a basic NRT that is consistent with the physical network (but not related to the physical location).
第三步如果本节点为业务节点, 则配置本节点的业务数据。 所谓业务节 点, 是指配置了窄带业务的节点, 比如: V5接口 PSTN业务、 ISDN业务、 DDN业务、 Z接口业务等。 如果本节点需要提供 V5接口, 则在本节点配置 V5接口, 同时为本 V5接口分配用户电路, 也就是给用户电路分配 V5 L3地 址。 应注意的是: 用户电路可能位于本节点, 也可能位于其他节点。 Step 3 If the node is a service node, configure the service data of the node. Business festival A point is a node configured with a narrowband service, such as a V5 interface PSTN service, an ISDN service, a DDN service, and a Z interface service. If the node needs to provide a V5 interface, configure the V5 interface on the node and allocate the user circuit to the V5 interface, that is, assign the V5 L3 address to the user circuit. It should be noted that the user circuit may be located at this node or it may be located at another node.
下面,我们介绍一下作为业务过程和 SRT自适应建立基础的 NRT的建立 过程。  Below, we introduce the process of establishing NRT as the basis for business process and SRT adaptive establishment.
NRT是和业务无关的寻径逻辑的基础, 其原理和传统的以太网寻径方式 类似,但是由于接入网组网结构的点到点特性以及物理拓扑的相对稳定性,我 们决定采用一种较为简化的基础寻径策略。 主要有如下特点:  NRT is the basis of the routing logic independent of the service. The principle is similar to the traditional Ethernet routing method. However, due to the point-to-point nature of the access network networking structure and the relative stability of the physical topology, we decided to adopt a kind of A more simplified basic path finding strategy. Mainly have the following characteristics:
采用定时, 比如: 以 10秒为周期, 发送 Hello包 (握手包)的方式, 来建立 和更新整个网络的 NRT。  Timing, for example: Sending a Hello packet (handshake packet) in a 10-second period to establish and update the NRT of the entire network.
对于在寻径过程中可能出现的环形路由情况,采取了一种相对简单但仍旧 有效的方法, 后面会对此进行介绍。  A relatively simple but still effective method for loop routing that may occur during pathfinding is described later.
首先, 用于建立和更新 NRT的 Hello包的格式如下: First, the format of the Hello packet used to create and update the NRT is as follows:
Figure imgf000008_0001
Figure imgf000008_0001
消息结构内容和处理流程说明如下:  The message structure content and processing flow are described as follows:
其中, E— HELLO为事件号, 用于通知直接相连的节点, 本消息为用于维 持 NRT的 Hello消息; 源节点表明消息是来源于此节点; 中间节点数 n表示 从源节点到接收此消息的节点之间途径的节点数; 节点 1...一直到节点 n表示 途径的节点。  E- HELLO is the event number, used to notify the directly connected node, this message is a Hello message for maintaining NRT; the source node indicates that the message is from this node; the number of intermediate nodes n indicates from the source node to receive this message The number of nodes in the path between nodes; node 1... all the way to node n represents the node of the path.
如图 3所示, 当某一节点收到此消息 (步骤 301) , 解析此消息, 进行判 断, 判断此消息是否循环消息 (步骤 302) :  As shown in FIG. 3, when a node receives the message (step 301), the message is parsed, and a judgment is made to determine whether the message is a loop message (step 302):
如果本节点为消息内容中的源节点,或者包含在中间节点中, 则表明此消 息已经途径本节点, 丢弃此消息不处理, 以避免消息发送死循环, 步骤 303。  If the node is a source node in the message content, or is included in the intermediate node, it indicates that the message has been routed to the node, and the message is discarded and is not processed to avoid an infinite loop of message transmission, step 303.
如果本节点既不是消息内容中的源节点,也不包含在中间节点中, 则表明 此节点信息消息为本节点第一次收到, 则根据 Hello消息中源节点以及接收到 该消息的通道, 更新本地 NRT表(步骤 304) , 及把本节点信息添加到 Hello 消息中, 并转发给所有直接相连的节点 (步骤 305) , 具体步骤如下:  If the node is neither the source node nor the intermediate node in the message content, it indicates that the node information message is received by the node for the first time, according to the source node in the Hello message and the channel that receives the message. Updating the local NRT table (step 304), and adding the node information to the Hello message, and forwarding to all directly connected nodes (step 305), the specific steps are as follows:
在本节点的 NRT中增加一条路由记录, 记录中的目的节点为 Hello消息 中的源节点, Next Hop (下一跳) 为收到该消息的通道所连的节点。  Add a route record to the NRT of the node. The destination node in the record is the source node in the Hello message, and the Next Hop is the node connected to the channel that received the message.
向与本节点直接相连的所有其他节点(接收到该 Hello消息通道所连的节 点除外)转发此 Hello信息消息, 不过消息内容需要做些修改, 首先中间节点 数加一, 并将本节点标识号填充到消息末尾。 To all other nodes directly connected to this node (received the section connected to the Hello message channel) Except for the point), this Hello information message is forwarded, but the content of the message needs to be modified. First, the number of intermediate nodes is increased by one, and the identification number of this node is filled to the end of the message.
每一节点收到此消息后, 重复前面两个步骤。  After each node receives this message, repeat the first two steps.
这样, 每个节点就能通过这个简单的协议建立起一张基本的 NRT来。 通 过这个 NRT为接下来的 SRT的建立和业务呼叫流程逻辑的处理打下了基础。  In this way, each node can establish a basic NRT through this simple protocol. This NRT lays the foundation for the establishment of the next SRT and the processing of the business call flow logic.
NRT表项的格式如下:
Figure imgf000009_0001
The format of an NRT entry is as follows:
Figure imgf000009_0001
NRT表中除了基本的路由条目外, 针对每个条目可以附带一个 Next Hop 状态的记录, 状态主要标识了该 Next Hop是否可用, 比如: 节点间的通信异 常就会导致该 Next Hop不可用。这个状态是由通道检测逻辑定时检测刷新的。  In addition to the basic routing entries, the NRT table can be accompanied by a record of the Next Hop state for each entry. The status mainly identifies whether the Next Hop is available. For example, an abnormal communication between nodes causes the Next Hop to be unavailable. This state is refreshed by the channel detection logic timing detection.
如果在 NRT中,再增加一项 Next Hop个数的记录(这个完全可以从 Hello 包中获得)就可以在选路时,选择中间节点最少的路由, 从而达成较小的呼叫 延迟。  If you add a Next Hop count record in the NRT (this can be obtained from the Hello packet), you can select the route with the least number of intermediate nodes when routing, thus achieving a smaller call delay.
接下来, 介绍一下 SRT的建立过程, SRT和业务路由选择有关。 SRT的 建立需要一个 Service Route Add (业务路由建立)消息, 该消息是由业务节点 为源头向其它各节点广播发送的。  Next, introduce the process of establishing the SRT, which is related to service routing. The establishment of the SRT requires a Service Route Add message, which is broadcasted by the service node to the other nodes as the source.
Service Route Add消息的结构如下: The structure of the Service Route Add message is as follows:
Figure imgf000009_0002
Figure imgf000009_0002
消息内容和相应的处理流程如下:  The message content and corresponding processing flow are as follows:
E— SvcRouteAdd为事件号, 表明是一条建立 SRT的消息, 业务节点为配 置为出 V5口的业务节点号, SLNs为在该 V5口上, 目标节点的业务用户所对 应的实际电路标识群, len为对应的 SLNs的信息内容的长度, 如果目标节点 中没有本业务节点对应的业务用户, 贝 ϋ len为空。 目标节点收到该消息后的处 理流程如下:  E-SvcRouteAdd is the event number, indicating that it is a message to establish an SRT. The service node is a service node number configured to be a V5 port. The SLNs are the actual circuit identifier groups corresponding to the service users of the target node on the V5 port. The length of the information content of the corresponding SLNs. If there is no service user corresponding to the service node in the target node, the ϋlen is empty. The processing flow after the target node receives the message is as follows:
首先, 接收节点判断是否已经存在业务节点对应的信息: 如果不存在, 则 将业务信息加入本节点, 并增加到 SRT表中; 如果存在, 则对消息结构的信 息和本节点存储的业务节点信息进行比较, 以便更新 SRT表。 将业务节点记 录进一个包含各业务节点的列表中,这个列表存储的是网络中的所有业务节点 的标识号, 以便网管系统生成以业务节点为顶点的拓扑图。 如图 4所示, 为了保证 SRT能够在业务配置变动时(比如: 更改 V5口的 配置)保持更新, 我们采取了一种简单的策略: 对于发送节点而言, 采用业务 变动发送和定时发送相结合的方法,发送 Service Route Add消息,当业务变动 时发送保证各节点的 SRT表得到及时更新; 定时发送机制保障了各节点 SRT 表的正确性。对于接收节点而言就是永远以最近收到的 Service Route Add消息 为准, 如果新收到的和 SRT中的一致, 就不作处理, 否则就以新收到的为准, 对 SRT进行更新。 同时在此考虑使用一个简单的老化算法, 如果一定时间内, 没有收到业务节点发来的 ServiceRouteAdd消息, 则清除原有的此业务节点的 SRT信息, 以保证业务用户得以更新。 如图 4所示, 可概括成如下步骤: 步骤 401, SRT更新定时器到时; First, the receiving node determines whether the information corresponding to the service node already exists: if not, the service information is added to the local node and added to the SRT table; if yes, the information about the message structure and the service node information stored by the node Compare to update the SRT table. The service node is recorded into a list containing service nodes. This list stores the identification numbers of all service nodes in the network, so that the network management system generates a topology map with the service nodes as the vertices. As shown in Figure 4, in order to ensure that the SRT can keep updating when the service configuration changes (for example, changing the configuration of the V5 port), we adopt a simple strategy: For the sending node, the service change transmission and the timing transmission phase are adopted. The combined method sends a Service Route Add message to ensure that the SRT table of each node is updated in time when the service changes; the timing sending mechanism ensures the correctness of the SRT table of each node. For the receiving node, it is always based on the recently received Service Route Add message. If the newly received one is consistent with the SRT, it will not be processed. Otherwise, the SRT will be updated based on the newly received one. At the same time, a simple aging algorithm is considered. If the ServiceRouteAdd message sent by the service node is not received within a certain period of time, the original SRT information of the service node is cleared to ensure that the service user can be updated. As shown in FIG. 4, the following steps can be summarized as follows: Step 401: The SRT update timer expires;
步骤 402, 发送 ServiceRouteAdd消息给业务用户节点;  Step 402: Send a ServiceRouteAdd message to the service user node.
步骤 403, 收到 ServiceRouteAdd消息;  Step 403, receiving a ServiceRouteAdd message;
步骤 404, 根据消息内容更新 SRT表。  Step 404, updating the SRT table according to the content of the message.
SRT表项的格式如下:  The format of an SRT entry is as follows:
SLN 所属业务节点  SLN service node
此外, 在 Hello包中, 只要在话路信息中填充一个 "空闲话路数", 根据 本节点和相邻节点的话路时隙占用情况,修改新消息的空闲话路数。如果本节 点与上行节点的空闲话路数大于原消息中的空闲话路数,则新消息中的空闲话 路数仍然保持原消息中的话路数不做修改,否则将空闲话路数修改为本节点与 此上行节点的空闲话路数。只要在 NRT中,再增加一项空闲话路个数的记录, 当节点收到 Hello包时,填充该字段,以后在根据 SLN的节点号选择 Next Hop 的时候, 就可以在业务时隙分配时选择总的"空闲话路数"最大的路由, 从而 达成高接通率。  In addition, in the Hello packet, as long as the "way number of idle channels" is filled in the session information, the number of idle channels of the new message is modified according to the occupancy of the session slot of the node and the adjacent node. If the number of idle channels of the node and the uplink node is greater than the number of idle channels in the original message, the number of idle channels in the new message remains unchanged in the original message, otherwise the number of idle channels is modified to The number of idle sessions between this node and this upstream node. As long as there is a record of the number of idle channels in the NRT, when the node receives the Hello packet, it fills in the field, and when the Next Hop is selected according to the node number of the SLN, it can be allocated in the service time slot. The route with the largest "number of idle channels" is selected to achieve a high connection rate.
对于能够灵活组网的网络系统来说, 网络的拓扑管理是一项重要的内容。 本发明使得在网络管理系统中,能够根据实际的组网情况准确、快速地生成网 络设备的拓扑图,并且在拓扑图中实时反映网络节点间通讯状态以及资源使用 信息。 方法是: 通过 Hello包中纪录的中继节点信息以及 NRT表中纪录的通 道状态, 可以准确地生成网络的拓扑关系, 并且可以根据 SRT业务配置情况, 从任何一个节点都可以建立起一张以业务节点为顶点的拓扑结构图,从而使得 业务管理变得更加直观和便利。  For network systems that can be flexibly networked, topology management of the network is an important content. The invention enables the network management system to accurately and quickly generate a topology map of the network device according to the actual networking situation, and reflect the communication state and resource usage information between the network nodes in real time in the topology map. The method is: through the relay node information recorded in the Hello packet and the channel status recorded in the NRT table, the topology relationship of the network can be accurately generated, and a node can be established from any node according to the SRT service configuration. Business nodes are top-level maps of vertices, making business management more intuitive and convenient.
下面以一次 PSTN呼叫的主叫流程为例进行说明, 其中, PSTN业务是窄 带接入网中最为典型的业务。 The following describes the calling process of a PSTN call as an example. The PSTN service is narrow. With the most typical business in the access network.
图 5a为某一节点检测到用户电路的摘机动作后的处理流程:  Figure 5a shows the processing flow after a node detects the off-hook action of the user circuit:
步骤 5a01, 某一接入节点检测到一用户电路摘机, 得到对应电路的逻辑 号 SLN, 并触发摘机消息。  Step 5a01: An access node detects that a user circuit is off-hook, obtains a logical number SLN of the corresponding circuit, and triggers an off-hook message.
步骤 5a02, 查找 SRT表, 找到业务节点。  Step 5a02, find the SRT table and find the service node.
步骤 5a03, 判断业务节点号和自身节点号是否相同;  Step 5a03, determining whether the service node number and the own node number are the same;
步骤 5a04, 如果目的节点和自身节点相同, 就把这个消息交给对应的 V5 接口, 发送呼叫建立消息 Establish, 开始和交换机进行交互, 否则转下一步。  Step 5a04: If the destination node is the same as the own node, hand the message to the corresponding V5 interface, send a call setup message Establish, and start interacting with the switch, otherwise go to the next step.
步骤 5a05, 根据 NRT进行寻径, 发送给 Next Hop节点。  In step 5a05, the path is searched according to the NRT and sent to the Next Hop node.
图 5b为中间节点(即上面的 Next Hop节点)收到源节点(此时为用户电 路所在的节点) 发来的摘机消息的处理流程。  Figure 5b shows the processing flow of the off-hook message sent by the intermediate node (that is, the Next Hop node above) to the source node (the node where the user circuit is located).
其处理流程和图 5a基本相同, 步骤如下:  The processing flow is basically the same as that in Figure 5a. The steps are as follows:
步骤 5b01, 收到相邻节点的摘机消息;  Step 5b01, receiving an off-hook message of the neighboring node;
步骤 5b02, 判断业务节点号和自身节点号是否相同;  Step 5b02, determining whether the service node number and the own node number are the same;
步骤 5b03, 如相同, 则就把这个消息交给对应的 V5接口, 发送呼叫建立 消息 Establish, 开始和交换机进行交互, 否则转入步骤 5c04;  Step 5b03, if the same, then the message is handed over to the corresponding V5 interface, the call setup message Establish is initiated, and the switch is started to interact, otherwise proceeds to step 5c04;
歩骤 5b04, 根据 NRT进行寻径, 发送给 Next Hop节点。  In step 5b04, the path is searched according to the NRT and sent to the Next Hop node.
图 5c为业务节点收到交换机 BCC分配消息的处理流程,其处理步骤如下: 步骤 5c01, 业务节点收到交换机回应的 BCC分配话路消息.  Figure 5c shows the processing flow of the service node receiving the BCC allocation message of the switch. The processing steps are as follows: Step 5c01, the service node receives the BCC assignment session message that the switch responds.
步骤 5c02, 解析 BCC分配消息, 获得 V5接口标识、 交换侧分配的链路 号 LinkNo、 时隙 V5Ts和 V5地址, 接入节点收到此消息后, 根据 V5接口号 和 V5 L3地址找到该 V5用户对应的用户逻辑号 SLN。  Step 5c02, parsing the BCC allocation message, obtaining the V5 interface identifier, the link number LinkNo, the time slot V5Ts, and the V5 address allocated by the switching side. After receiving the message, the access node finds the V5 user according to the V5 interface number and the V5 L3 address. The corresponding user logical number SLN.
步骤 5c03, 接入节点比较 SLN中的节点标识号和自己的节点,判断用户 是否为本节点用户:  Step 5c03, the access node compares the node identification number in the SLN with its own node, and determines whether the user is the user of the node:
步骤 5c04, 如果是本节点用户, 则将时隙接续到用户端口, 完成接入网 用户到交换机的 PSTN起呼过程。  In step 5c04, if it is the user of the node, the time slot is connected to the user port, and the PSTN call process of the access network user to the switch is completed.
如果非本节点用户, 则进入下一步。  If it is not a user of this node, go to the next step.
步骤 5c05,在 NRT表中根据用户逻辑号 SLN中的节点标识号找到对应的 Next Hop节点; '为该用户分配到 ^ 111(^的下行时隙1111½ 18。 接续交换网, 将下行时隙 InnerTs和上行时隙连接起来。 (此处的上行时隙含义为交换机分 配的时隙) 。 发送接续消息给 Next Hop, 消息结构中带上用户的逻辑电路号 SLN和为 Next Hop分配的下行时隙 InnerTs。 Step 5c05: Find the corresponding Next Hop node according to the node identification number in the user logical number SLN in the NRT table; 'Assign the downlink time slot 11111⁄2 18 of the ^^ to the user. Connect the switching network, and set the downlink time slot InnerTs. Connected to the uplink time slot. (The uplink time slot here means the switch. Matching time slot). The connection message is sent to Next Hop, and the message structure carries the user's logic circuit number SLN and the downlink time slot InnerTs allocated for Next Hop.
图 5d为非业务节点收到上一节点发来的接续消息的处理流程, 其处理如 下:  Figure 5d shows the processing flow of the non-service node receiving the connection message sent by the previous node, which is processed as follows:
步骤 5d01, 下连节点收到上连节点发来的接续消息后。  In step 5d01, the connected node receives the connection message sent by the connected node.
步骤 5d02, 解析其中的 InnerTs和 SLN。  Step 5d02, parsing InnerTs and SLN.
步骤 5d03, 比较 SLN中的节点标识号和自己的节点, 判断用户是否为本 节点用户:  Step 5d03, comparing the node identification number in the SLN with its own node, and determining whether the user is a local node user:
步骤 5d04, 如果是本节点用户, 则将时隙接续到用户端口, 完成接入网 用户到交换机的 PSTN起呼过程。  In step 5d04, if it is the user of the node, the time slot is connected to the user port, and the PSTN call process of the access network user to the switch is completed.
如果非本节点用户, 则进入下一步。  If it is not a user of this node, go to the next step.
步骤 5d05, 在 NRT表中根据用户逻辑号 SLN中的节点标识号找到对应 的 Next Hop节点; 为该用户分配到 Next Hop的下行时隙 InnerTs。 接续交换 网, 将下行时隙 InnerTs和上行时隙连接起来。 (此处的上行时隙含义为: 接 续消息中的时隙 InnerTs字段) 。 发送接续消息给 Next Hop, 消息结构中带上 用户的逻辑电路号 SLN和为 Next Hop分配的下行时隙 InnerTs。  Step 5d05: Find a corresponding Next Hop node according to the node identification number in the user logical number SLN in the NRT table; assign the user the downlink time slot InnerTs to Next Hop. The switching network is connected, and the downlink time slot InnerTs and the uplink time slot are connected. (The upstream time slot here means: the time slot InnerTs field in the continuation message). The connection message is sent to Next Hop, and the message structure carries the user's logical circuit number SLN and the downlink time slot InnerTs allocated for Next Hop.
根据上面的步骤, 我们可以看出, 无论接入网的组网方式有多复杂, 都能 顺利完成 Pstn呼叫业务。  According to the above steps, we can see that the Pstn call service can be successfully completed regardless of the complexity of the networking mode of the access network.
上面是以一次 Pstn业务的主叫流程为例说明本发明的实现过程, 对于 ISDN业务其实现方法与 PSTN类似; 而对于象 DDN这样更为简单的窄带业 务, 也是很容易实现的, 在此就不再重复了。  The above is an implementation process of the Pstn service as an example to illustrate the implementation process of the present invention. The implementation method for the ISDN service is similar to that of the PSTN. For a simpler narrowband service such as DDN, it is also easy to implement. No longer repeated.
如图 6a、图 6b所示,下面通过一个例子说明网络拓扑结构图的生成过程, 同时以该例中 7号节点为例, 给出该网络的 NRT表。  As shown in FIG. 6a and FIG. 6b, the generation process of the network topology map is illustrated by an example. At the same time, the node 7 of the example is taken as an example to give an NRT table of the network.
首先说明一下网络拓扑图的生成过程, 网管配置数据过程为:  First, the process of generating the network topology map is described. The network management configuration data process is as follows:
首先为 7个节点配置节点标识号, 以及它们之间的连接关系:在以下节点 间建立连接: 4号与 3号、 3号与 6号、 6号与 7号、 5号与 2号、 2号与 6号、 6号与 1号。 其次在 4号和 5号节点配置业务, 提供 V5接口和交换机相连。  First configure the node identification number for the 7 nodes, and the connection relationship between them: establish the connection between the following nodes: 4 and 3, 3 and 6, 6, and 7, 5 and 2, 2 No. 6 and No. 6, and No. 1. Secondly, the services are configured on nodes 4 and 5, and the V5 interface is connected to the switch.
配置过程结束。  The configuration process ends.
对于 7号节点而言, 其生成网络拓扑的过程如下: 收到各节点来的 Hello 信息包, 其中包含有源节点标识号、该包所经历的中间节点标识号, 针对本例 来说, 7号节点收到的所有 Hello包得到的经历的节点信息如下: 来自 1号节点的 Hello包为: For Node 7, the process of generating the network topology is as follows: Receive a Hello packet from each node, which contains the active node identification number and the intermediate node identification number experienced by the packet, for this example. For example, the node information of all the Hello packets received by node 7 is as follows: The Hello packet from node 1 is:
Figure imgf000013_0001
Figure imgf000013_0001
来自 4号节点的 Hello包为:  The Hello packet from node 4 is:
Figure imgf000013_0002
Figure imgf000013_0002
来自 6号节点的 Hello包为:
Figure imgf000013_0003
The Hello packet from node 6 is:
Figure imgf000013_0003
从而, 7号节点从以上 Hello包得到的网络节点拓扑信息为: 来自 1号节点- 1、 6、 7  Thus, the network node topology information obtained by Node 7 from the above Hello packet is: From Node 1 - 1, 6, 7
来自 2号节点: 2、 6、 7  From node 2: 2, 6, 7
来自 3号节点: 3、 6、 7  From node 3: 3, 6, 7
来自 4号节点: 4、 3、 6、 7  From node 4: 4, 3, 6, 7
来自 5号节点: 5、 2、 6、 7  From node 5: 5, 2, 6, 7
来自 6号节点: 6、 7 如此就可以得到图 6a所示的节点连接关系。 From node 6: 6, 7 Thus, the node connection relationship shown in Fig. 6a can be obtained.
同时, 由于 4号和 5号节点配置了业务, 向所有其它节点包括 7号节点广 播 E—SvcRouteAdd消息包, 从而 7号节点就获知业务节点为 4、 5号节点。 将 4、 5号节点网络层次提高, 就得到图 6b所示的网络拓扑图。 最后, 当网管系 统向 7号节点发起一个网络拓扑数据采集的操作,就可以在网管界面上显示出 网络拓扑结构图了。  At the same time, since nodes 4 and 5 are configured with traffic, the E-SvcRouteAdd message packet is broadcasted to all other nodes including node 7, so that node 7 knows that the service node is node 4 and node 5. By increasing the network level of nodes 4 and 5, the network topology shown in Figure 6b is obtained. Finally, when the network management system initiates a network topology data collection operation to node 7, the network topology map can be displayed on the network management interface.
下表为 7号节点根据其它 6各节点发来的 Hello包, 产生的 NRT表:  The following table shows the NRT table generated by Node 7 based on the Hello packets sent by the other 6 nodes:
Figure imgf000014_0001
Figure imgf000014_0001
由表中可知, 7号节点要发送消息给别的节点, 都必须通过 6号节点发 送。  As can be seen from the table, Node 7 must send a message to other nodes, which must be sent through Node 6.
最后,当 7号节点收到从 4号和 5号节点发来的 Service Route Add业务路 由增加包时对 SRT表进行更新。 从而完成了 NRT和 SRT表的建立过程。  Finally, when the node 7 receives the Service Route Add service route sent from nodes 4 and 5, it updates the SRT table. This completes the process of establishing NRT and SRT tables.
对于能够灵活组网的网络系统来说, 网络的拓扑管理是一项重要的内容。 本发明使得在网络管理系统中,能够根据实际的组网情况准确、快速地生成网 络设备的拓扑图,并且在拓扑图中实时反映网络节点间通讯状态以及资源使用 信息。 通过 Hello包中纪录的中继节点信息以及 NRT表中纪录的通道状态, 可以准确地生成网络的拓扑关系, 并且可以根据 SRT业务配置情况, 从任何 一个节点都可以建立起一张以业务节点为顶点的拓扑结构图,从而使得业务管 理变得更加直观和便利。  For network systems that can be flexibly networked, topology management of the network is an important content. The invention enables the network management system to accurately and quickly generate a topology map of the network device according to the actual networking situation, and reflect the communication state and resource usage information between the network nodes in real time in the topology map. Through the relay node information recorded in the Hello packet and the channel status recorded in the NRT table, the topology relationship of the network can be accurately generated, and a service node can be established from any node according to the SRT service configuration. The topology of the vertices makes business management more intuitive and convenient.
本发明所述的组网技术,并不仅仅限于说明书和实施方式中所列运用,它 完全可以被适用于各种适合本发明之领域,对于熟悉本领域的人员而言可容易 地实现另外的优点和进行修改,因此在不背离权利要求及等同范围所限定的一 般概念的精神和范围的情况下,本发明并不限于特定的细节、代表性的设备和 这里示出与描述的图示示例。 工业应用性 The networking technology of the present invention is not limited to the applications listed in the specification and the embodiments, and can be fully applied to various fields suitable for the present invention, and can be easily realized by those skilled in the art. The invention is not limited to the specific details, the representative device, and the illustrated examples shown and described herein, without departing from the spirit and scope of the general concept and the scope of the invention. . Industrial applicability
相较于现有技术,本发明将宽带数据通讯领域中的消息传播机制运用到窄 带接入网中, 根据网元的同步数据, 可以自动生成网络互连拓扑和层次结构; 从而极大地降低了网络数据配置和维护管理的复杂性,使得窄带业务接入网的 网状组网成为可能; 本发明实现方法简单, 很容易推广使用, 只要对 NRT消 息包以及 SRT消息包的简单标准化进行考虑, 可以提供不同厂家接入网间的 开放性互连,从而方便运营商的资源优化和设备选型;并且网络结构可靠性高, 由于组网形式灵活, 可以从网络层次的角度进行冗余备份; 通过在各 OLT之 间建立连接关系, OLT之间不再各自独立划分, 可以建立业务关系, 从而增 强了接入网业务在全网内应用的扩展性。  Compared with the prior art, the present invention applies the message propagation mechanism in the field of broadband data communication to a narrowband access network, and can automatically generate a network interconnection topology and a hierarchical structure according to the synchronization data of the network element; thereby greatly reducing the The complexity of network data configuration and maintenance management makes the mesh networking of the narrowband service access network possible. The implementation method of the present invention is simple and easy to promote and use. As long as the NRT message packet and the SRT message packet are simply standardized, It can provide open interconnection between different manufacturers to access the network, which is convenient for operators to optimize resources and equipment selection; and the network structure is highly reliable. Due to the flexible networking mode, redundant backup can be performed from the perspective of the network level; By establishing a connection relationship between the OLTs, the OLTs are not separately allocated independently, and a service relationship can be established, thereby enhancing the scalability of the application of the access network service in the entire network.

Claims

权利要求书 Claim
1、 一种自动探测网络拓扑结构的方法, 用于有线窄带业务接入网, 其特 征在于, 包括如下步骤: A method for automatically detecting a network topology, which is used for a wired narrowband service access network, and includes the following steps:
根据物理组网情况,配置网络中各接入节点的节点标识号以及各直接相连 节点之间的连接关系;  Configure the node identification number of each access node in the network and the connection relationship between each directly connected node according to the physical networking situation.
各节点向其直接相连节点发送握手消息包,该包中含有源节点标识以及中 间节点标识信息;  Each node sends a handshake message packet to its directly connected node, where the packet contains the source node identifier and the intermediate node identifier information;
各节点收到所述握手消息包后, 读取其中的源节点以及中间节点标识信 息, 并将其与本节点标识进行比对;  After receiving the handshake message packet, each node reads the source node and the intermediate node identifier information, and compares it with the identifier of the node;
如果本节点标识未包含在所述握手消息包中的源节点与中间节点中,则各 节点将本节点标识号填充至消息包的中间节点标识中,向与其直接相连的节点 转发该修改后的信息包;  If the node identifier is not included in the source node and the intermediate node in the handshake message packet, each node fills the node identifier number into the intermediate node identifier of the message packet, and forwards the modified node to the node directly connected thereto. Information package
各节点根据收到的来自于网络中所有其他节点的握手信息包中的节点标 识, 确定各节点之间的连接关系。  Each node determines the connection relationship between the nodes based on the received node identification in the handshake packet from all other nodes in the network.
2、 如权利要求 1所述的方法, 其特征在于, 进一步包括如下步骤: 各节点中的业务节点向其他节点广播业务路由建立消息,该消息包括该业 务节点标识号;  2. The method according to claim 1, further comprising the steps of: the service node in each node broadcasting a service route setup message to the other node, the message including the service node identification number;
各节点根据收到的业务路由建立消息广播包中的业务节点标识号,确定各 节点中的业务节点。  Each node establishes a service node identification number in the message broadcast packet according to the received service route, and determines a service node in each node.
3、 如权利要求 1所述的方法, 其特征在于, 所述的握手消息包中进一步 包括中间节点数量信息;所述比对步骤后,如果本节点标识未包含在所述握手 消息包中的源节点与中间节点中,则各节点将本节点标识号填充至消息包的中 间节点标识中,并将中间节点数量加 1后, 向与其直接相连的节点转发该修改 后的信息包。  The method according to claim 1, wherein the handshake message packet further includes intermediate node quantity information; after the comparing step, if the local node identifier is not included in the handshake message packet In the source node and the intermediate node, each node fills the node identification number into the intermediate node identifier of the message packet, and after adding the number of the intermediate node to 1, transfers the modified information packet to the node directly connected thereto.
4、 如权利要求 1所述的方法, 其特征在于, 还包括如下步骤- 网管系统向网络中任一节点发起网络拓扑数据采集操作时,根据该节点确 定的各节点之间的连接关系, 在网管界面上显示出网络拓扑结构图。  The method according to claim 1, further comprising the following steps: when the network management system initiates a network topology data collection operation to any node in the network, according to the connection relationship between the nodes determined by the node, The network topology diagram is displayed on the network management interface.
5、 如权利要求 2所述的方法, 其特征在于, 还包括如下步骤: 网管系统向网络中任一节点发起网络拓扑数据采集操作时,根据该节点确 定的各节点之间的连接关系以及确定的业务节点标识,在网管界面上显示出以 业务节点为顶点的网络拓扑结构图。 The method according to claim 2, further comprising the following steps: when the network management system initiates a network topology data collection operation to any node in the network, according to the node The connection relationship between the nodes and the determined service node identifiers are displayed on the network management interface, and the network topology diagram with the service nodes as the vertices is displayed.
6、 如权利要求 1所述的方法, 其特征在于, 所述比对步骤后, 如果本节 点标识包含在所述握手消息包中的源节点与中间节点中,则各节点将该收到的 握手消息包丢弃。  The method according to claim 1, wherein, after the comparing step, if the node identifier is included in the source node and the intermediate node in the handshake message packet, each node receives the received The handshake message packet is discarded.
7、 如权利要求 1所述的方法, 其特征在于, 所述的向与其直接相连的节 点转发该修改后的信息包步骤,是向除接收到该握手消息包通道所连的节点以 外的直接相连的节点转发。  7. The method according to claim 1, wherein the step of forwarding the modified information packet to a node directly connected thereto is directly to a node connected to the channel that receives the handshake message packet. Connected nodes are forwarded.
8、 一种自动建立网络路由表的方法, 为网络中的各节点生成并更新路由 表, 用于有线窄带业务接入网, 其特征在于, 包括:  8. A method for automatically establishing a network routing table, which generates and updates a routing table for each node in the network, and is used for a wired narrowband service access network, and is characterized by:
为网络中的各节点建立各自的节点路由表,所述的节点路由表包含有目的 节点标识号与下一跳节点标识号信息, 包括如下步骤:  Establishing a node routing table for each node in the network, where the node routing table includes the destination node identification number and the next hop node identification number information, including the following steps:
根据物理组网情况,配置网络中各接入节点的节点标识号以及各直接相连 节点之间的连接关系;  Configure the node identification number of each access node in the network and the connection relationship between each directly connected node according to the physical networking situation.
各节点向其直接相连节点发送握手消息包,该包中含有源节点标识以及中 间节点标识信息;  Each node sends a handshake message packet to its directly connected node, where the packet contains the source node identifier and the intermediate node identifier information;
各节点收到所述握手消息包后, 读取其中的源节点以及中间节点标识信 息, 并将其与本节点标识进行比对;  After receiving the handshake message packet, each node reads the source node and the intermediate node identifier information, and compares it with the identifier of the node;
如果本节点标识未包含在所述握手消息包中的源节点与中间节点中,则各 节点在本节点的节点路由表中增加一条记录,记录中的目的节点标识号为收到 的握手信息包中的源节点标识号,下一跳节点标识号为收到该消息的通道所连 的节点标识号,并将本节点标识号填充至消息包的中间节点标识中, 向与其直 接相连的节点转发该修改后的信息包。  If the node identifier is not included in the source node and the intermediate node in the handshake message packet, each node adds a record in the node routing table of the node, and the destination node identification number in the record is the received handshake packet. The source node identification number, the next hop node identification number is the node identification number connected to the channel that received the message, and the local node identification number is filled into the intermediate node identifier of the message packet, and forwarded to the node directly connected thereto The modified package.
9、如权利要求 8所述的方法, 其特征在于, 所述建立节点路由表步骤中, 比对步骤后, 如果本节点标识包含在所述握手消息包中的源节点与中间节点 中, 则各节点将该收到的握手消息包丢弃。  The method according to claim 8, wherein in the step of establishing a node routing table, after the comparing step, if the local node identifier is included in the source node and the intermediate node in the handshake message packet, Each node discards the received handshake message packet.
10、如权利要求 8所述的方法,其特征在于,所述建立节点路由表步骤中, 向与其直接相连的节点转发该修改后的信息包步骤,是向除接收到该握手消息 包通道所连的节点以外的直接相连的节点转发。  The method according to claim 8, wherein in the step of establishing a node routing table, the step of forwarding the modified information packet to a node directly connected thereto is to receive a channel of the handshake message packet Directly connected nodes other than connected nodes are forwarded.
11、如权利要求 8所述的方法,其特征在于,所述建立节点路由表步骤中, 进一步包括如下步骤: The method according to claim 8, wherein in the step of establishing a node routing table, Further includes the following steps:
各节点定时发送握手消息包, 以更新各节点的节点路由表。  Each node periodically sends a handshake message packet to update the node routing table of each node.
12、 如权利要求 8所述的方法, 其特征在于, 进一步包括如下步骤: 为网络中的各节点建立业务路由表, 包括如下步骤:  The method according to claim 8, further comprising the steps of: establishing a service routing table for each node in the network, comprising the following steps:
根据物理组网情况,为各网络节点中的业务节点配置业务数据,所述业务 数据包括目标节点的业务用户所对应的实际电路标识群及其信息内容的长度; 由各业务节点向其他各节点广播包含有该业务节点标识号及其配置的业 务数据的业务路由建立消息包;  Configuring service data for the service nodes in each network node according to the physical networking situation, where the service data includes the actual circuit identification group corresponding to the service user of the target node and the length of the information content thereof; Broadcasting a service route setup message packet including the service node identification number and its configured service data;
各节点接收到所述业务路由建立消息包后,判断该节点是否已经存在业务 节点对应的信息,如果不存在,则将该消息包中的业务信息加入本节点的业务 路由表中,如果存在,则将该消息包中的业务信息与本节点存储的业务节点信 息进行比较, 以更新本节点的业务路由表。  After receiving the service routing setup message packet, each node determines whether the node has information corresponding to the service node. If not, the service information in the message packet is added to the service routing table of the local node. If yes, Then, the service information in the message packet is compared with the service node information stored in the node to update the service routing table of the node.
13、 如权利要求 12所述的方法, 其特征在于, 所述建立业务路由表步骤 中, 广播业务路由建立消息包步骤, 是在业务发生变动时广播发送, 或 /和定 时广播发送。  The method according to claim 12, wherein in the step of establishing a service routing table, the step of the broadcast service route establishment message packet is broadcast transmission when the service changes, or/and a scheduled broadcast transmission.
14、 如权利要求 12所述的方法, 其特征在于, 所述建立业务路由表步骤 中, 进一步包括如下步骤:  The method according to claim 12, wherein the step of establishing a service routing table further comprises the following steps:
各节点如果在预定时间内没有收到某业务节点发来的业务路由建立消息 包, 则清除原有的该业务节点的业务路由表信息。  If the node does not receive the service route setup message packet sent by a service node within a predetermined time, the node clears the service routing table information of the service node.
15、如权利要求 8所述的方法, 其特征在于, 所述的节点路由表中进一步 包括一个下一跳节点状态记录,标识该下一跳是否可用, 由通道检测逻辑定时  The method according to claim 8, wherein the node routing table further includes a next hop node status record, indicating whether the next hop is available, and the channel detection logic timing
" 16,如权利要求 8所述的方法, 其特征在于,所述的握手消息包中进一步 包括中间节点数量信息;所述比对步骤后,如果本节点标识未包含在所述握手 消息包中的源节点与中间节点中,则各节点将本节点标识号填充至消息包的中 间节点标识中,并将中间节点数量加 1后, 向与其直接相连的节点转发该修改 后的信息包; ' ' The method of claim 8, wherein the handshake message packet further includes intermediate node quantity information; after the comparing step, if the local node identifier is not included in the handshake message packet In the source node and the intermediate node, each node fills the node identification number into the intermediate node identifier of the message packet, and after adding 1 to the number of intermediate nodes, forwards the modified information packet to the node directly connected thereto; '
所述的节点路由表中进一步包括一项下一跳个数的记录,从接收到的握手 消息包中的中间节点数量信息中获得。  The node routing table further includes a record of the number of next hops, which is obtained from the information of the number of intermediate nodes in the received handshake message packet.
17、如权利要求 8所述的方法, 其特征在于,所述的握手消息包中进一步 包括话路信息,其中填充有空闲话路数,所述节点路由表中进一步包括一项空 闲话路个数的记录,所述各节点收到握手消息包后,如果本节点与上行节点的 空闲话路数大于原消息中的空闲话路数,则保持该话路数并填充入节点路由表 中;否则将空闲话路数修改为本节点与此上行节点的空闲话路数,并填充入节 点路由表中。 17. The method of claim 8 wherein said handshake message packet further The voice channel information is filled with the number of idle voice channels, and the node routing table further includes a record of the number of idle voice channels. After the nodes receive the handshake message packet, if the node and the uplink node are empty, If the number of idle channels is greater than the number of idle channels in the original message, the number of voice channels is kept and filled in the routing table of the node; otherwise, the number of idle channels is modified to the number of idle channels of the node and the uplink node, and is filled in. In the node routing table.
18、 一种采用权利要求 12所述建立网络路由表方法的窄带接入网业务实 现方法, 其特征在于, 包括如下步骤:  18. A method for implementing a narrowband access network service using the method for establishing a network routing table according to claim 12, comprising the steps of:
为网络中的各节点建立节点路由表与业务路由表;  Establishing a node routing table and a service routing table for each node in the network;
网络中某节点触发业务时, 通过业务路由表査找到业务节点;  When a node in the network triggers a service, the service node is found through the service routing table.
如果业务目的节点与自身节点相同, 则由该节点处理业务, 否则, 通过节 点路由表进行寻径, 发送给下一跳节点处理。  If the service destination node is the same as its own node, the node processes the service. Otherwise, the node is routed through the node routing table and sent to the next hop node for processing.
19、一种利用权利要求 1所述的方法来实现窄带业务接入的窄带接入网组 网结构, 其特征在于, 包括:  A narrowband access network networking structure that utilizes the method of claim 1 to implement narrowband service access, and includes:
交换机;  Switch
与交换机相连接的多个窄带接入网局端接入设备,所述多个局端接入设备 相互之间建立了连接; 及  a plurality of narrowband access network central office access devices connected to the switch, wherein the plurality of central office access devices establish a connection with each other; and
与所述局端接入设备相连接的多个窄带接入网远端接入设备,所述多个远 端接入设备相互之间建立了连接。  A plurality of narrowband access network remote access devices connected to the central office access device, the plurality of remote access devices establishing a connection with each other.
20、 如权利要求 19所述的组网结构, 其特征在于, 所述远端接入设备中 的一个与一个或多个所述局端接入设备相连。  The networking structure of claim 19, wherein one of the remote access devices is connected to one or more of the central office access devices.
21、如权利要求 19或 20所述的组网结构, 其特征在于, 所述远端接入设 备通过 V5接口与所述交换机直接相连。  The networking structure of claim 19 or 20, wherein the remote access device is directly connected to the switch through a V5 interface.
PCT/CN2005/002159 2005-08-11 2005-12-13 A method for detecting the network topology automatically and realizing the narrow band service and a network structure therefor WO2007016827A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200510090059.5 2005-08-11
CNB2005100900595A CN100463446C (en) 2005-08-11 2005-08-11 Method of automatic detection topology, set-up route table and implementing narrow-band service

Publications (1)

Publication Number Publication Date
WO2007016827A1 true WO2007016827A1 (en) 2007-02-15

Family

ID=37722260

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2005/002159 WO2007016827A1 (en) 2005-08-11 2005-12-13 A method for detecting the network topology automatically and realizing the narrow band service and a network structure therefor

Country Status (2)

Country Link
CN (1) CN100463446C (en)
WO (1) WO2007016827A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2450897A (en) * 2007-07-11 2009-01-14 Tideway Systems Ltd Identifying network hosts running on a computer network
CN112887931A (en) * 2021-01-12 2021-06-01 中国人民解放军军事科学院国防科技创新研究院 Heterogeneous cluster multi-service networking method based on center node assistance

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340733B (en) * 2008-08-12 2011-01-26 中国移动通信集团江苏有限公司 Method for automatically generating optical service in communication line resource management system
WO2011079463A1 (en) * 2009-12-31 2011-07-07 Nokia Corporation Method and apparatuses for testing on-line services
CN102916900B (en) * 2012-10-09 2016-02-17 中国联合网络通信集团有限公司 Work flow forwarding method and device
CN102904827B (en) * 2012-10-09 2015-11-25 中国联合网络通信集团有限公司 Bypass flow local methodology and bypass networking structure
CN112134716B (en) * 2019-06-24 2023-05-16 中兴通讯股份有限公司 Method for determining fault position and controller
CN114244763B (en) * 2021-12-20 2023-11-17 中电福富信息科技有限公司 Dynamic network topology management method and system based on rule engine
CN115277864B (en) * 2022-07-27 2024-01-26 海通证券股份有限公司 Route determining method and device, computer readable storage medium and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020126625A1 (en) * 2001-03-12 2002-09-12 Ling-Zhong Liu Apparatus and method for automated fiber connection discovery and diagnostics
EP1370036A1 (en) * 2002-06-07 2003-12-10 Sony Precision Technology Inc. Data transferring method
CN1545268A (en) * 2003-11-27 2004-11-10 中兴通讯股份有限公司 A method and system for Ethernet interface node backup
US20050058151A1 (en) * 2003-06-30 2005-03-17 Chihsiang Yeh Method of interference management for interference/collision avoidance and spatial reuse enhancement

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1350391A2 (en) * 2000-09-22 2003-10-08 Narad Networks, Inc. Broadband system with intelligent network devices
JP4398263B2 (en) * 2004-01-13 2010-01-13 富士通株式会社 Route design method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020126625A1 (en) * 2001-03-12 2002-09-12 Ling-Zhong Liu Apparatus and method for automated fiber connection discovery and diagnostics
EP1370036A1 (en) * 2002-06-07 2003-12-10 Sony Precision Technology Inc. Data transferring method
US20050058151A1 (en) * 2003-06-30 2005-03-17 Chihsiang Yeh Method of interference management for interference/collision avoidance and spatial reuse enhancement
CN1545268A (en) * 2003-11-27 2004-11-10 中兴通讯股份有限公司 A method and system for Ethernet interface node backup

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2450897A (en) * 2007-07-11 2009-01-14 Tideway Systems Ltd Identifying network hosts running on a computer network
GB2450897B (en) * 2007-07-11 2009-09-23 Tideway Systems Ltd Identifying network hosts running on a computer network
CN112887931A (en) * 2021-01-12 2021-06-01 中国人民解放军军事科学院国防科技创新研究院 Heterogeneous cluster multi-service networking method based on center node assistance
CN112887931B (en) * 2021-01-12 2022-03-15 中国人民解放军军事科学院国防科技创新研究院 Heterogeneous cluster multi-service networking method based on center node assistance

Also Published As

Publication number Publication date
CN1913485A (en) 2007-02-14
CN100463446C (en) 2009-02-18

Similar Documents

Publication Publication Date Title
WO2007016827A1 (en) A method for detecting the network topology automatically and realizing the narrow band service and a network structure therefor
US9634928B2 (en) Mesh network of simple nodes with centralized control
US7433362B2 (en) System and method for SONET NSAP addressing
CN103873366B (en) There is central controlled converging network communication means and the network equipment
US7430205B2 (en) Packet transfer apparatus
CN104023006B (en) Multi-path transmission system and method based on application layer relaying
US5953312A (en) Method and apparatus for determining alternate routes in a network using a connection-oriented protocol
US7912038B2 (en) System and method for utilizing circuit switched and packet switched resources
JP4258698B2 (en) Broadcast system, broadcast method thereof, and broadcast program
CN101505227B (en) Method, device and system for implementing point to multi-point pseudowire
JP3760167B2 (en) Communication control device, communication network, and packet transfer control information updating method
US20140153576A1 (en) Sharing IP Network Resources
US8339985B2 (en) Method and system for announcing traffic engineering parameters of composite transport groups
JPH10200929A (en) Automatic learning of network path decision using random path
WO2021185043A1 (en) Forwarding path establishment method and apparatus, and computer-readable storage medium
CN101013948B (en) Forming equal cost multipath multicast distribution structures
WO2012055247A1 (en) Pseudo-wire routing diffusion method and device
US20030043427A1 (en) Method of fast circuit recovery using local restoration
CN109510769A (en) A kind of fusion route system being suitable for width combination network and its method
WO2009040333A2 (en) Data transmission network, method, network element and program
CN110430088B (en) Method for discovering neighbor nodes and automatically establishing connection in NDN (named data networking)
WO2011026355A1 (en) Method for a node accessing a home agent, home agent cluster system and service router
KR100668283B1 (en) Method and Apparatus for controlling connection between edges in a transport network based on Minimized Generalized Multi Protocol Label Switching mechanism
Shami et al. On the merits of flooding/parallel probing-based signaling algorithms for fast automatic setup and tear-down of paths in IP/MPLS-over-optical-networks I
Chen et al. QMNF: QoS multicast routing protocol using N-hop dominating flooding approach on programmable network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 05823169

Country of ref document: EP

Kind code of ref document: A1