WO2012171414A1 - Terminal and method for processing overflow of link status database of terminal - Google Patents

Terminal and method for processing overflow of link status database of terminal Download PDF

Info

Publication number
WO2012171414A1
WO2012171414A1 PCT/CN2012/074309 CN2012074309W WO2012171414A1 WO 2012171414 A1 WO2012171414 A1 WO 2012171414A1 CN 2012074309 W CN2012074309 W CN 2012074309W WO 2012171414 A1 WO2012171414 A1 WO 2012171414A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
link state
database
broadcast
external link
Prior art date
Application number
PCT/CN2012/074309
Other languages
French (fr)
Chinese (zh)
Inventor
顾剑
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012171414A1 publication Critical patent/WO2012171414A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/12Mobility data transfer between location registers or mobility servers

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method for processing a terminal and terminal link state database overflow. Background technique
  • SGSN Servvicng Gprs Support Node, Service Support Node
  • GGSN Gateway Gprs Support Node
  • OSPF Open Shortest Path First
  • the SGSN and the GGSN can be interconnected by direct connection. This networking method has the following characteristics:
  • All OSPF interfaces configured in the SGSN are connected to only GGSN devices.
  • the default egress of the SGSN route always points to the GGSN, that is, the GGSN acts as the upstream router of the SGSN.
  • the GGSN functions as a gateway device and needs to integrate the mobile phone address pool routes that are connected to all SGSN devices.
  • the SGSN device has a small link state database relative to the GGSN device.
  • the GGSN device advertises a large number of link states to the SGSN and exceeds the maximum capacity of the SGSN device link state database, the connection between the SGSN and the GGSN device will be disconnected.
  • the SGSN device cannot learn the route advertised by the GGSN, and the mobile phone user connected to the SGSN device cannot run normal data services. Summary of the invention
  • the main purpose of the present invention is to provide a method for processing a link state database overflow of a terminal and a terminal, so that the terminal can perform normal learning of the route and ensure normal operation of the data service connected to the terminal.
  • the present invention provides a method for processing a link state database overflow of a terminal, including: when the link state database of the terminal overflows, disconnecting the terminal from other terminals; controlling the terminal to re-establish connection with other terminals, The received summary of the external link status broadcast of other terminals is stored in the database added by the terminal.
  • the storing the summary of the received external link state broadcast of the other terminal into the database added by the terminal is:
  • the method further includes :
  • the method further includes:
  • the link state broadcast generated by the terminal and the non-link state broadcast generated by other terminals are stored in the link state database.
  • the method further includes:
  • the method further includes:
  • the terminal is controlled to disconnect from other terminals, so that the terminal subsequently establishes a connection with other terminals by using the existing open shortest path priority protocol.
  • the invention further provides a terminal, comprising:
  • a first disconnecting module configured to disconnect the terminal from other terminals when the link state database of the terminal overflows
  • the first control module is configured to control the terminal to re-establish a connection with other terminals, and store the received summary of the external link state broadcast of the other terminal into the database added by the terminal.
  • the first control module stores the received summary of the external link state broadcast of the other terminal in the database added by the terminal to: determine whether the database has a summary corresponding to the received external link state broadcast. And determining whether the received external link state broadcast is an aging external link state broadcast; and when the corresponding digest does not exist in the database, and the received external link state broadcast is not an aging external link state broadcast A summary of the received external link state broadcasts is stored in the database.
  • the first control module is further configured to: when a corresponding digest exists in the database, and the received external link status broadcast is an aging external link status broadcast, the corresponding digest in the database is delete.
  • the terminal further includes:
  • the second control module is configured to store the link state broadcast generated by the terminal, and the non-link state broadcast generated by the other terminal, into the link state database.
  • the terminal further includes:
  • the generating module is configured to generate a default route to the designated router, so that the outgoing message of the terminal is forwarded by the designated router.
  • the terminal further includes:
  • a determining module configured to determine whether the link state database of the terminal can also accommodate the link state broadcast corresponding to the digest
  • a second disconnecting module when the link state database is capable of accommodating the link state broadcast, controlling the terminal to disconnect from other terminals, so that the terminal subsequently establishes a connection with other terminals by using an existing open shortest path priority protocol.
  • the method for processing the link state database overflow of the terminal and the terminal provided by the present invention controls the terminal to re-establish connection with other terminals by overflowing the link state database of the terminal, and broadcasts the received external link status of other terminals.
  • the summary is stored in the database added to the terminal, which effectively prevents the link state database from overflowing after the terminal establishes a connection with other terminals, ensuring normal learning of the terminal routing, thereby ensuring that the terminal is attached to the terminal.
  • the data service on it is running normally.
  • FIG. 1 is a flow chart showing an embodiment of a method for processing a link state database overflow of a terminal of the present invention
  • FIG. 2 is another flow chart of an embodiment of a method for processing a link state database overflow of a terminal of the present invention
  • FIG. 3 is a schematic structural view of an embodiment of a terminal of the present invention.
  • FIG. 4 is another schematic structural diagram of a terminal embodiment of the present invention.
  • FIG. 5 is another schematic structural diagram of a terminal embodiment of the present invention
  • FIG. 6 is another schematic structural diagram of a terminal embodiment of the present invention. detailed description
  • the basic idea of the present invention is: when the link state database of the terminal overflows, disconnect the terminal from other terminals; control the terminal to re-establish connection with other terminals, and broadcast the received external link status of other terminals. Stored in the database added to the terminal.
  • an embodiment of a method for processing a link state database overflow of a terminal of the present invention includes the following steps:
  • Step S101 When the link state database of the terminal overflows, disconnect the terminal from other terminals.
  • Step S102 Control the terminal to re-establish a connection with other terminals, and store the received summary of the external link state broadcast of the other terminal in the database added by the terminal.
  • the storing the summary of the received external link state broadcast of the other terminal to the database added by the terminal specifically includes the following steps. :
  • Step S201 Determine whether there is a digest corresponding to the received external link status broadcast in the database, and determine whether the received external link status broadcast is an aging external link status broadcast.
  • Step S202 When the corresponding digest does not exist in the database, and the received external link status broadcast is not an aging external link status broadcast, the received summary of the external link status broadcast is stored in the database.
  • each digest corresponds to an external link state broadcast, that is, a digest uniquely identifies an external link state broadcast.
  • the summary of the external link state broadcast requires less memory than the corresponding external link state broadcast. Therefore An additional database can store the summary of the external link status broadcast sent by other devices, which can save the memory resources of the terminal.
  • the summary of the external link state broadcast of the other terminal is stored in the added database, and the link state generated by the terminal is broadcasted, and the non-link state generated by other terminals is generated. Broadcast, stored in the original link state database. After the connection between the terminal and other terminals is effectively prevented, the link state database overflow occurs, which ensures the normal learning of the terminal route, thereby ensuring the normal operation of the data service attached to the terminal.
  • the step S201 further includes the following processing: when the corresponding digest exists in the database, and the received external link status broadcasts as an aging external chain.
  • the road status broadcast deletes the corresponding digest in the database.
  • the controlling the terminal to re-establish the connection with the other terminal further includes the following processes: broadcasting the link status generated by the terminal, and generating by other terminals The non-link state broadcast is stored in the link state database.
  • the summary of the external link state broadcast of the other terminal is stored in the database added by the terminal, and the non-external link state broadcast of the other terminal is generated by the terminal.
  • the link state broadcast is stored in the link state database of the terminal, which greatly saves the memory space of the link state database of the terminal, effectively prevents the link state database overflow phenomenon of the terminal, and can ensure the routing of the terminal. Normal learning, so that the data service connected to the terminal can be operated normally.
  • the method further includes the following steps: generating a default route to the designated router, so that the outgoing message of the terminal passes the Specifies the router to forward.
  • the step S102 further includes the following processing: determining whether the link state database of the terminal can further accommodate the chain corresponding to the digest The road state broadcast; and when the link state database can also accommodate the link state broadcast, control the terminal to disconnect from other terminals, so that the terminal subsequently establishes a connection with other terminals by using the existing open shortest path priority protocol. .
  • the foregoing determining whether the link state data of the terminal can also accommodate the link state broadcast corresponding to the digest is periodically determined. That is, when the remaining capacity of the link state database cannot accommodate the link state broadcast, after the set time period, it is determined whether the link state database of the terminal can still accommodate the link state broadcast corresponding to the digest. Until the link state database remaining capacity can accommodate the link state broadcast.
  • an overflow flag is set for the terminal.
  • the overflow flag is deleted, and the overflow recovery flag is set.
  • the operation of generating a default route to the designated router and determining whether the link state database of the terminal can also accommodate the link state broadcast corresponding to the digest Operation there is no certain order. That is, the two can be carried out at the same time; the former can be the first, the latter can be followed; or the former can be followed by the latter first.
  • a terminal 100 of the present invention is provided.
  • the terminal 100 includes: a first disconnecting module 120 and a first control module 120.
  • the first disconnecting module 110 is configured to disconnect the terminal 100 from other terminals when the link state database of the terminal 100 overflows.
  • the first control module 120 is configured to control the terminal 100 to re-establish a connection with other terminals, and store the received summary of the external link state broadcast of the other terminal in the database added by the terminal 100.
  • the first control module 120 is specifically configured to determine whether a digest corresponding to the received external link state broadcast exists in the database, and determine the received external link status. Whether the broadcast is an aging external link state broadcast; and when the corresponding digest does not exist in the database, and the received external link state broadcast is not an aging external link state broadcast, the received external link state broadcast is received
  • the summary is stored in the database.
  • each digest corresponds to an external link state broadcast, that is, a digest uniquely identifies an external link state broadcast.
  • the summary of the external link state broadcast requires less memory than the corresponding external link state broadcast. Therefore, the memory resources of the terminal 100 can be saved by storing an abstract of the external link state broadcast sent by other devices through an added database.
  • the summary of the external link state broadcast of the other terminal is stored in the added database, and the link state broadcast generated by the terminal 100 and the non-link state broadcast generated by the other terminal are stored in the link state database. in.
  • the link state database overflow phenomenon is effectively prevented after the terminal 100 establishes a connection with the other terminal, and the normal learning of the terminal 100 is ensured, thereby ensuring the normal operation of the data service connected to the terminal 100.
  • the first control module 120 is further configured to: when a corresponding digest exists in the database, and the received external link status broadcast is an aging external link status broadcast, Delete the corresponding digest in the database. Further, referring to FIG. 4, in the foregoing embodiment of the terminal 100, the terminal 100 further includes: a second control module 130.
  • the second control module 130 is configured to store the link state broadcast generated by the local terminal 100 and the non-link state broadcast generated by other terminals into the link state database.
  • the summary of the external link state broadcast of the other terminal is stored in the database added by the terminal 100, and the non-external link state broadcast information of the other terminal and the link state generated by the local terminal 100 are broadcasted and stored.
  • the link state database of the terminal 100 greatly saves the memory space of the link state database of the terminal 100, effectively preventing the link state database overflow phenomenon of the terminal 100, and ensuring the routing of the terminal 100. Normal learning, so that the data service connected to the terminal can be operated normally.
  • the terminal 100 further includes: a generating module 140.
  • the generating module 140 is configured to generate a default route to the designated router, so that the outgoing packet of the terminal 100 is forwarded by the designated router.
  • the terminal 100 further includes: a determining module 150 and a second disconnecting module 160.
  • the determining module 150 is configured to determine whether the link state database of the terminal 100 can also accommodate the link state broadcast corresponding to the digest.
  • the second disconnecting module 160 is configured to control the local terminal 100 to disconnect from other terminals when the link state database can also accommodate the link state broadcast, so that the terminal 100 can be preferentially followed by the existing open shortest path.
  • the protocol establishes a connection with other terminals.
  • the foregoing determining whether the link state data of the terminal 100 can also accommodate the link state broadcast corresponding to the digest is periodically determined. That is, when the remaining capacity of the link state database cannot accommodate the link state broadcast, after the set time period, it is determined whether the link state database of the terminal 100 can still accommodate the link state broadcast corresponding to the digest. Until the link The state database remaining capacity can accommodate the link state broadcast.
  • an overflow flag is set for the terminal 100.
  • the link state database is further capable of accommodating the link state broadcast, deleting the overflow flag, and setting the overflow recovery flag, and determining whether the overflow recovery flag is successfully set after the set time, if the setting is successful, controlling the terminal 100 Disconnected from other terminals. If the setting fails, the overflow flag is retained, and waits for the next time period to judge whether the link state data of the terminal 100 can still accommodate the link state broadcast corresponding to the digest.
  • the generating module 140 performs an operation and determination module 150 that generates a default route to the designated router, and determines whether the link state database of the terminal can also accommodate the link state broadcast corresponding to the digest. Operation, there is no certain order of precedence. That is, the two can be carried out at the same time; the former can be the first, the latter can be followed; or the former can be followed by the latter.
  • the terminal 100 embodiment of the present invention effectively prevents the link state database from overflowing after the terminal 100 establishes a connection with other terminals, and ensures normal learning of the route of the terminal 100, thereby ensuring that the connection is performed.
  • the data service on the terminal 100 operates normally.
  • the local terminal 100 may be a service support node, and other terminals may be gateway support nodes.

Abstract

Disclosed are a terminal and a method for processing overflow of a link status database of a terminal. The method comprises: when a link status database of a current terminal overflows, breaking connections between the current terminal and other terminals; controlling the current terminal to reestablish connections with the other terminals, and storing digests of received external link status broadcast of the other terminals in an added database of the current terminal. In the terminal and the method for processing overflow of a link status database of a terminal provided by the present invention, when a link status database of the current terminal overflows, the current terminal is controlled to reestablish connections with the other terminals, and digests of received external link status broadcast of the other terminals are stored in an added database of the current terminal, thereby effectively avoiding a phenomenon that the link status database overflows after a current terminal and other terminals establish connections, ensuring normal learning of a terminal route, and ensuring normal running of a data service hooked on the terminal.

Description

终端和终端链路状态数据库溢出的处理方法 技术领域  Terminal and terminal link state database overflow processing method
本发明涉及网络通信技术领域, 尤其是涉及一种终端和终端链路状态 数据库溢出的处理方法。 背景技术  The present invention relates to the field of network communication technologies, and in particular, to a method for processing a terminal and terminal link state database overflow. Background technique
随着移动网络数据业务的开通和 3G ( 3rd-generation, 第三代移动通信 技术) 网络的建设, 手机上网变得越来越普及。 为了满足手机上网的需求, 网络中的 SGSN ( Servicng Gprs Support Node, 服务支持节点)和 GGSN ( Gateway Gprs Support Node, 网关支持节点)需要存在大量的路由。 若采 用静态路由的配置方式,其操作繁瑣且后续维护不便。一般采用 OSPF( Open Shortest Path First, 开放式最短路径优先)协议作为动态路由协议进行路由 配置。 SGSN和 GGSN之间可以采用直连的方式进行互联。 这种组网方式 有以下特点:  With the opening of mobile network data services and the construction of 3G (3rd-generation, third-generation mobile communication technology) networks, mobile Internet access has become more and more popular. In order to meet the needs of mobile Internet access, SGSN (Servvicng Gprs Support Node, Service Support Node) and GGSN (Gateway Gprs Support Node) need to have a large number of routes. If the configuration of static routes is adopted, the operation is cumbersome and subsequent maintenance is inconvenient. Generally, the OSPF (Open Shortest Path First) protocol is used as the dynamic routing protocol for routing configuration. The SGSN and the GGSN can be interconnected by direct connection. This networking method has the following characteristics:
1、 SGSN所有配置的 OSPF接口只与 GGSN设备相连。  1. All OSPF interfaces configured in the SGSN are connected to only GGSN devices.
2、 SGSN路由的默认出口永远指向 GGSN, 即 GGSN作为 SGSN的上 游路由器。  2. The default egress of the SGSN route always points to the GGSN, that is, the GGSN acts as the upstream router of the SGSN.
对于这种组网方式, GGSN作为网关设备, 需要整合所有 SGSN设备 下挂接的手机地址池路由。 SGSN设备相对 GGSN设备来说, 链路状态数 据库小, 当 GGSN设备通告了大量的链路状态广播给 SGSN,超过了 SGSN 设备链路状态数据库最大容量, 则 SGSN和 GGSN设备间的连接将断开, 使得 SGSN设备无法学习到 GGSN通告的路由, 导致挂接在 SGSN设备下 的手机用户无法运行正常的数据业务。 发明内容 For this type of networking, the GGSN functions as a gateway device and needs to integrate the mobile phone address pool routes that are connected to all SGSN devices. The SGSN device has a small link state database relative to the GGSN device. When the GGSN device advertises a large number of link states to the SGSN and exceeds the maximum capacity of the SGSN device link state database, the connection between the SGSN and the GGSN device will be disconnected. The SGSN device cannot learn the route advertised by the GGSN, and the mobile phone user connected to the SGSN device cannot run normal data services. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种终端和终端的链路状态数 据库溢出的处理方法, 使终端能够进行路由的正常学习, 保证挂接在终端 上的数据业务正常运行。  In view of the above, the main purpose of the present invention is to provide a method for processing a link state database overflow of a terminal and a terminal, so that the terminal can perform normal learning of the route and ensure normal operation of the data service connected to the terminal.
本发明提出一种终端的链路状态数据库溢出的处理方法, 包括: 在本终端的链路状态数据库溢出时, 断开本终端与其他终端的连接; 控制本终端与其他终端重新建立连接, 将接收的其他终端外部链路状 态广播的摘要存储至本终端增设的数据库中。  The present invention provides a method for processing a link state database overflow of a terminal, including: when the link state database of the terminal overflows, disconnecting the terminal from other terminals; controlling the terminal to re-establish connection with other terminals, The received summary of the external link status broadcast of other terminals is stored in the database added by the terminal.
优选地, 所述将接收的其他终端的外部链路状态广播的摘要存储至本 终端增设的数据库中为:  Preferably, the storing the summary of the received external link state broadcast of the other terminal into the database added by the terminal is:
判断所述数据库中是否存在与所接收的外部链路状态广播对应的摘 要, 以及判断所接收的外部链路状态广播是否为老化的外部链路状态广播; 当所述数据库中不存在对应的摘要, 且所接收的外部链路状态广播不 是老化的外部链路状态广播时, 将接收的外部链路状态广播的摘要存储至 所述数据库中。  Determining whether there is a digest corresponding to the received external link status broadcast in the database, and determining whether the received external link status broadcast is an aging external link status broadcast; when there is no corresponding digest in the database And when the received external link state broadcast is not an aging external link state broadcast, a summary of the received external link state broadcast is stored into the database.
优选地, 所述判断所述数据库中是否存在与所接收的外部链路状态广 播对应的摘要, 以及判断所接收的外部链路状态广播是否为老化的外部链 路状态广播之后, 该方法还包括:  Preferably, after the determining whether there is a digest corresponding to the received external link status broadcast in the database, and determining whether the received external link status broadcast is an aging external link status broadcast, the method further includes :
当所述数据库中存在对应的摘要, 且所接收的外部链路状态广播为老 化的外部链路状态广播时, 将所述数据库中对应的摘要删除。  When a corresponding digest exists in the database, and the received external link status broadcast is an aging external link status broadcast, the corresponding digest in the database is deleted.
优选地, 所述控制本终端与其他终端重新建立连接之后, 该方法还包 括:  Preferably, after the controlling the terminal re-establishes the connection with the other terminal, the method further includes:
将本终端产生的链路状态广播, 以及其他终端产生的非链路状态广播, 存储至所述链路状态数据库中。  The link state broadcast generated by the terminal and the non-link state broadcast generated by other terminals are stored in the link state database.
优选地, 所述将接收的其他终端外部链路状态广播的摘要存储至本终 端增设的数据库中之后, 该方法还包括: Preferably, the storing the received summary of the external link status broadcast of the other terminal to the end After the database is added, the method further includes:
生成指向指定路由器的默认路由, 使本终端的外发报文通过所述指定 路由器转发。  Generates a default route to the specified router, so that the outgoing packets of the local terminal are forwarded through the specified router.
优选地, 所述将接收的其他终端外部链路状态广播的摘要存储至本终 端增设的数据库中之后, 该方法还包括:  Preferably, after the storing the received summary of the external link state broadcast of the terminal to the database added by the terminal, the method further includes:
判断本终端的链路状态数据库是否还能容纳所述摘要对应的链路状态 广播;  Determining whether the link state database of the terminal can also accommodate the link state broadcast corresponding to the digest;
当链路状态数据库还能容纳所述链路状态广播时, 控制本终端与其他 终端断开连接, 使本终端后续以现有的开放式最短路径优先协议与其他终 端建立连接。  When the link state database can also accommodate the link state broadcast, the terminal is controlled to disconnect from other terminals, so that the terminal subsequently establishes a connection with other terminals by using the existing open shortest path priority protocol.
本发明另提出一种终端, 包括:  The invention further provides a terminal, comprising:
第一断开模块, 用于在本终端的链路状态数据库溢出时, 断开本终端 与其他终端的连接;  a first disconnecting module, configured to disconnect the terminal from other terminals when the link state database of the terminal overflows;
第一控制模块, 用于控制本终端与其他终端重新建立连接, 将接收的 其他终端外部链路状态广播的摘要存储至本终端增设的数据库中。  The first control module is configured to control the terminal to re-establish a connection with other terminals, and store the received summary of the external link state broadcast of the other terminal into the database added by the terminal.
优选地, 所述第一控制模块将接收的其他终端外部链路状态广播的摘 要存储至本终端增设的数据库中为: 判断所述数据库中是否存在与所接收 的外部链路状态广播对应的摘要, 以及判断所接收的外部链路状态广播是 否为老化的外部链路状态广播; 以及当所述数据库中不存在对应的摘要, 且所接收的外部链路状态广播不是老化的外部链路状态广播时, 将接收的 外部链路状态广播的摘要存储至所述数据库中。  Preferably, the first control module stores the received summary of the external link state broadcast of the other terminal in the database added by the terminal to: determine whether the database has a summary corresponding to the received external link state broadcast. And determining whether the received external link state broadcast is an aging external link state broadcast; and when the corresponding digest does not exist in the database, and the received external link state broadcast is not an aging external link state broadcast A summary of the received external link state broadcasts is stored in the database.
优选地, 所述第一控制模块, 还用于当所述数据库中存在对应的摘要, 且所接收的外部链路状态广播为老化的外部链路状态广播时, 将所述数据 库中对应的摘要删除。  Preferably, the first control module is further configured to: when a corresponding digest exists in the database, and the received external link status broadcast is an aging external link status broadcast, the corresponding digest in the database is delete.
优选地, 所述的终端, 还包括: 第二控制模块, 用于将本终端产生的链路状态广播, 以及其他终端产 生的非链路状态广播, 存储至所述链路状态数据库中。 Preferably, the terminal further includes: The second control module is configured to store the link state broadcast generated by the terminal, and the non-link state broadcast generated by the other terminal, into the link state database.
优选地, 所述的终端, 还包括:  Preferably, the terminal further includes:
生成模块, 用于生成指向指定路由器的默认路由, 使本终端的外发报 文通过所述指定路由器转发。  The generating module is configured to generate a default route to the designated router, so that the outgoing message of the terminal is forwarded by the designated router.
优选地, 所述的终端, 还包括:  Preferably, the terminal further includes:
判断模块, 用于判断本终端的链路状态数据库是否还能容纳所述摘要 对应的链路状态广播;  a determining module, configured to determine whether the link state database of the terminal can also accommodate the link state broadcast corresponding to the digest;
第二断开模块, 当链路状态数据库能够容纳所述链路状态广播时, 控 制本终端与其他终端断开连接, 使本终端后续以现有的开放式最短路径优 先协议与其他终端建立连接。  a second disconnecting module, when the link state database is capable of accommodating the link state broadcast, controlling the terminal to disconnect from other terminals, so that the terminal subsequently establishes a connection with other terminals by using an existing open shortest path priority protocol. .
本发明所提供的终端和终端的链路状态数据库溢出的处理方法, 通过 因本终端的链路状态数据库溢出, 控制本终端与其他终端重新建立连接, 并将接收的其他终端外部链路状态广播的摘要存储至本终端增设的数据库 中的方式, 有效地防止了本终端与其他终端建立连接后, 链路状态数据库 溢出现象的发生, 保证了终端路由的正常学习, 从而保证了挂接在终端上 的数据业务正常运行。 附图说明  The method for processing the link state database overflow of the terminal and the terminal provided by the present invention controls the terminal to re-establish connection with other terminals by overflowing the link state database of the terminal, and broadcasts the received external link status of other terminals. The summary is stored in the database added to the terminal, which effectively prevents the link state database from overflowing after the terminal establishes a connection with other terminals, ensuring normal learning of the terminal routing, thereby ensuring that the terminal is attached to the terminal. The data service on it is running normally. DRAWINGS
图 1是本发明的终端的链路状态数据库溢出的处理方法一实施例的流 程图;  1 is a flow chart showing an embodiment of a method for processing a link state database overflow of a terminal of the present invention;
图 2是本发明的终端的链路状态数据库溢出的处理方法实施例的另一 流程图;  2 is another flow chart of an embodiment of a method for processing a link state database overflow of a terminal of the present invention;
图 3是本发明的终端一实施例的结构示意图;  3 is a schematic structural view of an embodiment of a terminal of the present invention;
图 4是本发明的终端实施例的另一结构示意图;  4 is another schematic structural diagram of a terminal embodiment of the present invention;
图 5是本发明的终端实施例的另一结构示意图; 图 6是本发明的终端实施例的另一结构示意图。 具体实施方式 FIG. 5 is another schematic structural diagram of a terminal embodiment of the present invention; FIG. FIG. 6 is another schematic structural diagram of a terminal embodiment of the present invention. detailed description
本发明的基本思想是: 在本终端的链路状态数据库溢出时, 断开本终 端与其他终端的连接; 控制本终端与其他终端重新建立连接, 将接收的其 他终端外部链路状态广播的摘要存储至本终端增设的数据库中。  The basic idea of the present invention is: when the link state database of the terminal overflows, disconnect the terminal from other terminals; control the terminal to re-establish connection with other terminals, and broadcast the received external link status of other terminals. Stored in the database added to the terminal.
应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于 限定本发明。  It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
参见图 1 ,提出本发明的终端的链路状态数据库溢出的处理方法一实施 例, 该方法包括以下步驟:  Referring to FIG. 1, an embodiment of a method for processing a link state database overflow of a terminal of the present invention is provided. The method includes the following steps:
步驟 S101、 在本终端的链路状态数据库溢出时, 断开本终端与其他终 端的连接。  Step S101: When the link state database of the terminal overflows, disconnect the terminal from other terminals.
步驟 S102、 控制本终端与其他终端重新建立连接, 将接收的其他终端 外部链路状态广播的摘要, 存储至本终端增设的数据库中。  Step S102: Control the terminal to re-establish a connection with other terminals, and store the received summary of the external link state broadcast of the other terminal in the database added by the terminal.
进一步地, 参见图 2, 上述终端的链路状态数据库溢出的处理方法实施 例中, 所述将接收的其他终端的外部链路状态广播的摘要, 存储至本终端 增设的数据库中具体包括以下步驟:  Further, referring to FIG. 2, in the foregoing method for processing the link state database overflow of the terminal, the storing the summary of the received external link state broadcast of the other terminal to the database added by the terminal specifically includes the following steps. :
步驟 S201、 判断所述数据库中是否存在与所接收的外部链路状态广播 对应的摘要, 以及判断所接收的外部链路状态广播是否为老化的外部链路 状态广播。  Step S201: Determine whether there is a digest corresponding to the received external link status broadcast in the database, and determine whether the received external link status broadcast is an aging external link status broadcast.
步驟 S202、 当所述数据库中不存在对应的摘要, 且所接收的外部链路 状态广播不是老化的外部链路状态广播, 则将接收的外部链路状态广播的 摘要存储至所述数据库中。  Step S202: When the corresponding digest does not exist in the database, and the received external link status broadcast is not an aging external link status broadcast, the received summary of the external link status broadcast is stored in the database.
以上所述的外部链路状态广播的摘要中, 每个摘要对应一个外部链路 状态广播, 即一个摘要唯一标识一个外部链路状态广播。 其中, 外部链路 状态广播的摘要所需内存比对应的外部链路状态广播所需内存小。 因此通 过一个增设的数据库储存其他设备发送的外部链路状态广播的摘要, 可以 节约终端的内存资源。 In the summary of the external link state broadcast described above, each digest corresponds to an external link state broadcast, that is, a digest uniquely identifies an external link state broadcast. The summary of the external link state broadcast requires less memory than the corresponding external link state broadcast. Therefore An additional database can store the summary of the external link status broadcast sent by other devices, which can save the memory resources of the terminal.
上述终端的链路状态数据库溢出的处理方法实施例中, 将其他终端外 部链路状态广播的摘要存储至增设的数据库, 将本终端产生的链路状态广 播, 以及其他终端产生的非链路状态广播, 存储至原有的链路状态数据库 中。 有效地防止了本终端与其他终端建立连接后, 链路状态数据库溢出现 象的发生, 保证了终端路由的正常学习, 从而保证了挂接在终端上的数据 业务正常运行。  In the embodiment of the method for processing the link state database overflow of the terminal, the summary of the external link state broadcast of the other terminal is stored in the added database, and the link state generated by the terminal is broadcasted, and the non-link state generated by other terminals is generated. Broadcast, stored in the original link state database. After the connection between the terminal and other terminals is effectively prevented, the link state database overflow occurs, which ensures the normal learning of the terminal route, thereby ensuring the normal operation of the data service attached to the terminal.
进一步地, 上述终端的链路状态数据库溢出的处理方法实施例中, 步 驟 S201之后还包括如下处理: 当所述数据库中存在对应的摘要, 且所接收 的外部链路状态广播为老化的外部链路状态广播, 则将所述数据库中对应 的摘要删除。  Further, in the foregoing method for processing the link state database overflow of the terminal, the step S201 further includes the following processing: when the corresponding digest exists in the database, and the received external link status broadcasts as an aging external chain. The road status broadcast deletes the corresponding digest in the database.
进一步地, 上述终端的链路状态数据库溢出的处理方法实施例中, 所 述控制本终端与其他终端重新建立连接之后还包括如下处理: 将本终端产 生的链路状态广播, 以及其他终端产生的非链路状态广播, 存储至所述链 路状态数据库中。  Further, in the embodiment of the method for processing the link state database overflow of the terminal, the controlling the terminal to re-establish the connection with the other terminal further includes the following processes: broadcasting the link status generated by the terminal, and generating by other terminals The non-link state broadcast is stored in the link state database.
上述终端的链路状态数据库溢出的处理方法实施例中, 将其他终端的 外部链路状态广播的摘要存储至本终端增设的数据库, 而将其他终端的非 外部链路状态广播和本终端产生的链路状态广播存储至本终端的链路状态 数据库, 大大地节约了本终端的链路状态数据库的内存空间, 有效地防止 了本终端的链路状态数据库溢出现象的发生, 可以保证本终端路由的正常 学习, 从而可以保证挂接在本终端下的数据业务可以正常运行。  In the embodiment of the method for processing the link state database overflow of the terminal, the summary of the external link state broadcast of the other terminal is stored in the database added by the terminal, and the non-external link state broadcast of the other terminal is generated by the terminal. The link state broadcast is stored in the link state database of the terminal, which greatly saves the memory space of the link state database of the terminal, effectively prevents the link state database overflow phenomenon of the terminal, and can ensure the routing of the terminal. Normal learning, so that the data service connected to the terminal can be operated normally.
进一步地, 上述链路状态数据库溢出的处理方法实施例中, 其特征在 于,所述步驟 S102之后还包括如下处理:生成指向指定路由器的默认路由, 以使本终端的外发报文通过所述指定路由器转发。 进一步地, 上述终端的链路状态数据库溢出的处理方法实施例中, 其 特征在于, 所述步驟 S102之后还包括如下处理: 判断本终端的链路状态数 据库是否还能容纳所述摘要对应的链路状态广播; 以及当链路状态数据库 还能容纳所述链路状态广播, 则控制本终端与其他终端断开连接, 使本终 端后续以现有的开放式最短路径优先协议与其他终端建立连接。 Further, in the foregoing method for processing the link state database overflow, the method further includes the following steps: generating a default route to the designated router, so that the outgoing message of the terminal passes the Specifies the router to forward. Further, in the embodiment of the method for processing the link state database overflow of the terminal, the step S102 further includes the following processing: determining whether the link state database of the terminal can further accommodate the chain corresponding to the digest The road state broadcast; and when the link state database can also accommodate the link state broadcast, control the terminal to disconnect from other terminals, so that the terminal subsequently establishes a connection with other terminals by using the existing open shortest path priority protocol. .
其中, 上述判断本终端的链路状态数据是否还能容纳所述摘要对应的 链路状态广播是周期性判断的。 即当链路状态数据库剩余容量无法容纳所 述链路状态广播时, 则在设定的时间周期后, 重新判断本终端的链路状态 数据库是否还能容纳所述摘要对应的链路状态广播, 直到当链路状态数据 库剩余容量能够容纳所述链路状态广播为止。  The foregoing determining whether the link state data of the terminal can also accommodate the link state broadcast corresponding to the digest is periodically determined. That is, when the remaining capacity of the link state database cannot accommodate the link state broadcast, after the set time period, it is determined whether the link state database of the terminal can still accommodate the link state broadcast corresponding to the digest. Until the link state database remaining capacity can accommodate the link state broadcast.
另外上述终端的链路状态数据库溢出的处理方法实施例中, 在本终端 的链路状态数据库溢出时, 为本终端设置溢出标志。 同时, 当链路状态数 据库还能够容纳所述链路状态广播, 删除溢出标志, 并设置溢出恢复标志。 同时在设定时间后判断溢出恢复标志是否设置成功, 若设置成功, 则控制 本终端与其他终端断开连接。 若设置失败, 则保留溢出标志, 并等待下一 判断本终端的链路状态数据是否还能容纳所述摘要对应的链路状态广播的 时间周期到来。  In the embodiment of the method for processing the link state database overflow of the terminal, when the link state database of the terminal overflows, an overflow flag is set for the terminal. At the same time, when the link state database is also able to accommodate the link state broadcast, the overflow flag is deleted, and the overflow recovery flag is set. At the same time, it is judged whether the overflow recovery flag is set successfully after the set time. If the setting is successful, the terminal is controlled to disconnect from other terminals. If the setting fails, the overflow flag is reserved, and waits for the next time period for judging whether the link state data of the terminal can still accommodate the link state broadcast corresponding to the digest.
其中, 在上述终端的链路状态数据库溢出的处理方法实施例中, 生成 指向指定路由器的默认路由的操作和判断本终端的链路状态数据库是否还 能容纳所述摘要对应的链路状态广播的操作, 没有确定的先后顺序。 即二 者可以同时进行; 也可以前者在先, 后者在后; 或前者在后, 后者在先。  In the embodiment of the method for processing the link state database overflow of the terminal, the operation of generating a default route to the designated router and determining whether the link state database of the terminal can also accommodate the link state broadcast corresponding to the digest Operation, there is no certain order. That is, the two can be carried out at the same time; the former can be the first, the latter can be followed; or the former can be followed by the latter first.
由上可知, 本发明的终端的链路状态数据库溢出的处理方法实施例, 有效地防止了本终端与其他终端建立连接后, 链路状态数据库溢出现象的 发生, 保证了终端路由的正常学习, 从而保证了挂接在终端上的数据业务 正常运行。 参见图 3, 提出本发明的终端 100—实施例, 终端 100包括: 第一断开 模块 120和第一控制模块 120。 It can be seen that the method for processing the link state database overflow of the terminal of the present invention effectively prevents the link state database from overflowing after the terminal establishes a connection with other terminals, thereby ensuring normal learning of the terminal route. Therefore, the data service connected to the terminal is guaranteed to operate normally. Referring to FIG. 3, a terminal 100 of the present invention is provided. The terminal 100 includes: a first disconnecting module 120 and a first control module 120.
所述第一断开模块 110, 用于在本终端 100的链路状态数据库溢出时, 断开本终端 100与其他终端的连接。  The first disconnecting module 110 is configured to disconnect the terminal 100 from other terminals when the link state database of the terminal 100 overflows.
所述第一控制模块 120,用于控制本终端 100与其他终端重新建立连接, 将接收的其他终端外部链路状态广播的摘要, 存储至本终端 100增设的数 据库中。  The first control module 120 is configured to control the terminal 100 to re-establish a connection with other terminals, and store the received summary of the external link state broadcast of the other terminal in the database added by the terminal 100.
进一步地, 上述终端 100实施例中, 所述第一控制模块 120, 具体用于 判断所述数据库中是否存在与所接收的外部链路状态广播对应的摘要, 以 及判断所接收的外部链路状态广播是否为老化的外部链路状态广播; 以及 当所述数据库中不存在对应的摘要, 且所接收的外部链路状态广播不是老 化的外部链路状态广播, 则将接收的外部链路状态广播的摘要存储至所述 数据库中。 以上所述的外部链路状态广播的摘要中, 每个摘要对应一个外 部链路状态广播, 即一个摘要唯一标识一个外部链路状态广播。 其中, 外 部链路状态广播的摘要所需内存比对应的外部链路状态广播所需内存小。 因此通过一个增设的数据库储存其他设备发送的外部链路状态广播的摘 要, 可以节约终端 100的内存资源。  Further, in the foregoing embodiment of the terminal 100, the first control module 120 is specifically configured to determine whether a digest corresponding to the received external link state broadcast exists in the database, and determine the received external link status. Whether the broadcast is an aging external link state broadcast; and when the corresponding digest does not exist in the database, and the received external link state broadcast is not an aging external link state broadcast, the received external link state broadcast is received The summary is stored in the database. In the summary of the external link state broadcast described above, each digest corresponds to an external link state broadcast, that is, a digest uniquely identifies an external link state broadcast. The summary of the external link state broadcast requires less memory than the corresponding external link state broadcast. Therefore, the memory resources of the terminal 100 can be saved by storing an abstract of the external link state broadcast sent by other devices through an added database.
上述终端 100 实施例中, 将其他终端外部链路状态广播的摘要存储至 增设的数据库, 将本终端 100产生的链路状态广播, 以及其他终端产生的 非链路状态广播存储至链路状态数据库中。 有效地防止了本终端 100与其 他终端建立连接后, 链路状态数据库溢出现象的发生, 保证了终端 100路 由的正常学习, 从而保证了挂接在终端 100上的数据业务正常运行。  In the foregoing embodiment of the terminal 100, the summary of the external link state broadcast of the other terminal is stored in the added database, and the link state broadcast generated by the terminal 100 and the non-link state broadcast generated by the other terminal are stored in the link state database. in. The link state database overflow phenomenon is effectively prevented after the terminal 100 establishes a connection with the other terminal, and the normal learning of the terminal 100 is ensured, thereby ensuring the normal operation of the data service connected to the terminal 100.
进一步地, 上述终端 100实施例中, 所述第一控制模块 120, 还用于当 所述数据库中存在对应的摘要, 且所接收的外部链路状态广播为老化的外 部链路状态广播, 则将所述数据库中对应的摘要删除。 进一步地, 参见图 4, 上述终端 100实施例中, 终端 100还包括: 第二 控制模块 130。 Further, in the foregoing embodiment of the terminal 100, the first control module 120 is further configured to: when a corresponding digest exists in the database, and the received external link status broadcast is an aging external link status broadcast, Delete the corresponding digest in the database. Further, referring to FIG. 4, in the foregoing embodiment of the terminal 100, the terminal 100 further includes: a second control module 130.
所述第二控制模块 130, 用于将本终端 100产生的链路状态广播, 以及 其他终端产生的非链路状态广播, 存储至所述链路状态数据库中。  The second control module 130 is configured to store the link state broadcast generated by the local terminal 100 and the non-link state broadcast generated by other terminals into the link state database.
上述终端 100 实施例中, 将其他终端的外部链路状态广播的摘要存储 至本终端 100增设的数据库, 而将其他终端的非外部链路状态广播信息和 本终端 100产生的链路状态广播存储至本终端 100的链路状态数据库, 大 大地节约了本终端 100的链路状态数据库的内存空间, 有效地防止了本终 端 100的链路状态数据库溢出现象的发生, 可以保证本终端 100路由的正 常学习, 从而可以保证挂接在本终端下的数据业务可以正常运行。  In the foregoing embodiment of the terminal 100, the summary of the external link state broadcast of the other terminal is stored in the database added by the terminal 100, and the non-external link state broadcast information of the other terminal and the link state generated by the local terminal 100 are broadcasted and stored. The link state database of the terminal 100 greatly saves the memory space of the link state database of the terminal 100, effectively preventing the link state database overflow phenomenon of the terminal 100, and ensuring the routing of the terminal 100. Normal learning, so that the data service connected to the terminal can be operated normally.
进一步地, 参见图 5, 上述终端 100实施例中, 终端 100还包括: 生成 模块 140。  Further, referring to FIG. 5, in the foregoing embodiment of the terminal 100, the terminal 100 further includes: a generating module 140.
所述生成模块 140, 用于生成指向指定路由器的默认路由, 以使本终端 100的外发报文通过所述指定路由器转发。  The generating module 140 is configured to generate a default route to the designated router, so that the outgoing packet of the terminal 100 is forwarded by the designated router.
进一步地, 参见图 6, 上述终端 100实施例中, 终端 100还包括: 判断 模块 150和第二断开模块 160。  Further, referring to FIG. 6, in the foregoing embodiment of the terminal 100, the terminal 100 further includes: a determining module 150 and a second disconnecting module 160.
判断模块 150,用于判断本终端 100的链路状态数据库是否还能容纳所 述摘要对应的链路状态广播。  The determining module 150 is configured to determine whether the link state database of the terminal 100 can also accommodate the link state broadcast corresponding to the digest.
第二断开模块 160,用于当链路状态数据库还能容纳所述链路状态广播 时, 控制本终端 100与其他终端断开连接, 使本终端 100后续以现有的开 放式最短路径优先协议与其他终端建立连接。  The second disconnecting module 160 is configured to control the local terminal 100 to disconnect from other terminals when the link state database can also accommodate the link state broadcast, so that the terminal 100 can be preferentially followed by the existing open shortest path. The protocol establishes a connection with other terminals.
其中, 上述判断本终端 100 的链路状态数据是否还能容纳所述摘要对 应的链路状态广播是周期性判断的。 即当链路状态数据库剩余容量无法容 纳所述链路状态广播时, 则在设定的时间周期后, 重新判断本终端 100的 链路状态数据库是否还能容纳所述摘要对应的链路状态广播, 直到当链路 状态数据库剩余容量能够容纳所述链路状态广播为止。 The foregoing determining whether the link state data of the terminal 100 can also accommodate the link state broadcast corresponding to the digest is periodically determined. That is, when the remaining capacity of the link state database cannot accommodate the link state broadcast, after the set time period, it is determined whether the link state database of the terminal 100 can still accommodate the link state broadcast corresponding to the digest. Until the link The state database remaining capacity can accommodate the link state broadcast.
另外上述终端 100实施例中, 在本终端 100的链路状态数据库溢出时, 为本终端 100设置溢出标志。 同时, 当链路状态数据库还能够容纳所述链 路状态广播, 删除溢出标志, 并设置溢出恢复标志, 同时在设定时间后判 断溢出恢复标志是否设置成功, 若设置成功, 则控制本终端 100与其他终 端断开连接。 若设置失败, 则保留溢出标志, 并等待下一判断本终端 100 的链路状态数据是否还能容纳所述摘要对应的链路状态广播的时间周期到 来。  In addition, in the above embodiment of the terminal 100, when the link state database of the terminal 100 overflows, an overflow flag is set for the terminal 100. Meanwhile, when the link state database is further capable of accommodating the link state broadcast, deleting the overflow flag, and setting the overflow recovery flag, and determining whether the overflow recovery flag is successfully set after the set time, if the setting is successful, controlling the terminal 100 Disconnected from other terminals. If the setting fails, the overflow flag is retained, and waits for the next time period to judge whether the link state data of the terminal 100 can still accommodate the link state broadcast corresponding to the digest.
其中, 在上述终端 100实施例中, 生成模块 140执行生成指向指定路 由器的默认路由的操作和判断模块 150执行判断本终端的链路状态数据库 是否还能容纳所述摘要对应的链路状态广播的操作, 是没有确定的先后顺 序。 即二者可以同时进行; 也可以前者在先, 后者在后; 或前者在后, 后 者在先。  In the foregoing embodiment of the terminal 100, the generating module 140 performs an operation and determination module 150 that generates a default route to the designated router, and determines whether the link state database of the terminal can also accommodate the link state broadcast corresponding to the digest. Operation, there is no certain order of precedence. That is, the two can be carried out at the same time; the former can be the first, the latter can be followed; or the former can be followed by the latter.
由上可知, 本发明的终端 100实施例, 有效地防止了本终端 100与其 他终端建立连接后, 链路状态数据库溢出现象的发生, 保证了终端 100路 由的正常学习, 从而保证了挂接在终端 100上的数据业务正常运行。  It can be seen from the above that the terminal 100 embodiment of the present invention effectively prevents the link state database from overflowing after the terminal 100 establishes a connection with other terminals, and ensures normal learning of the route of the terminal 100, thereby ensuring that the connection is performed. The data service on the terminal 100 operates normally.
上述实施例中, 所述的本终端 100可以是服务支持节点, 其他终端可 以是网关支持节点。  In the foregoing embodiment, the local terminal 100 may be a service support node, and other terminals may be gateway support nodes.
应当理解的是, 以上仅为本发明的优选实施例, 不能因此限制本发明 的专利范围, 凡是利用本发明说明书及附图内容所作的等效结构或等效流 程变换, 或直接或间接运用在其他相关的技术领域, 均同理包括在本发明 的专利保护范围内。  It should be understood that the above is only a preferred embodiment of the present invention, and thus the scope of the invention is not limited thereby, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are used directly or indirectly. Other related technical fields are equally included in the scope of patent protection of the present invention.

Claims

权利要求书 Claim
1、 一种终端的链路状态数据库溢出的处理方法, 其特征在于, 该方法 包括:  A method for processing a link state database overflow of a terminal, the method comprising:
在本终端的链路状态数据库溢出时, 断开本终端与其他终端的连接; 控制本终端与其他终端重新建立连接, 将接收的其他终端外部链路状 态广播的摘要存储至本终端增设的数据库中。  When the link state database of the terminal overflows, disconnect the terminal from other terminals; control the terminal to re-establish connection with other terminals, and store the received summary of the external link status broadcast of other terminals to the database added by the terminal. in.
2、 根据权利要求 1所述的终端的链路状态数据库溢出的处理方法, 其 特征在于, 所述将接收的其他终端的外部链路状态广播的摘要存储至本终 端增设的数据库中为:  2. The method for processing a link state database overflow of a terminal according to claim 1, wherein the storing the summary of the received external link state broadcast of the other terminal to the database added by the terminal is:
判断所述数据库中是否存在与所接收的外部链路状态广播对应的摘 要, 以及判断所接收的外部链路状态广播是否为老化的外部链路状态广播; 当所述数据库中不存在对应的摘要, 且所接收的外部链路状态广播不 是老化的外部链路状态广播时, 将接收的外部链路状态广播的摘要存储至 所述数据库中。  Determining whether there is a digest corresponding to the received external link status broadcast in the database, and determining whether the received external link status broadcast is an aging external link status broadcast; when there is no corresponding digest in the database And when the received external link state broadcast is not an aging external link state broadcast, a summary of the received external link state broadcast is stored into the database.
3、 根据权利要求 2所述的终端的链路状态数据库溢出的处理方法, 其 特征在于, 所述判断所述数据库中是否存在与所接收的外部链路状态广播 对应的摘要, 以及判断所接收的外部链路状态广播是否为老化的外部链路 状态广播之后, 该方法还包括:  The method for processing a link state database overflow of a terminal according to claim 2, wherein the determining whether there is a digest corresponding to the received external link state broadcast in the database, and determining the received After the external link state broadcast is broadcasted for the aging external link state, the method further includes:
当所述数据库中存在对应的摘要, 且所接收的外部链路状态广播为老 化的外部链路状态广播时, 将所述数据库中对应的摘要删除。  When a corresponding digest exists in the database, and the received external link status broadcast is an aging external link status broadcast, the corresponding digest in the database is deleted.
4、 根据权利要求 1至 3任一项所述的终端的链路状态数据库溢出的处 理方法, 其特征在于, 所述控制本终端与其他终端重新建立连接之后, 该 方法还包括:  The method for processing the link state database overflow of the terminal according to any one of claims 1 to 3, wherein after the controlling the terminal re-establishes the connection with the other terminal, the method further includes:
将本终端产生的链路状态广播, 以及其他终端产生的非链路状态广播, 存储至所述链路状态数据库中。 The link state broadcast generated by the terminal and the non-link state broadcast generated by other terminals are stored in the link state database.
5、 根据权利要求 4所述的终端的链路状态数据库溢出的处理方法, 其 特征在于, 所述将接收的其他终端外部链路状态广播的摘要存储至本终端 增设的数据库中之后, 该方法还包括: The method for processing a link state database overflow of a terminal according to claim 4, wherein after the received summary of the received external link state broadcast of the terminal is stored in a database added by the terminal, the method Also includes:
生成指向指定路由器的默认路由, 使本终端的外发报文通过所述指定 路由器转发。  Generates a default route to the specified router, so that the outgoing packets of the local terminal are forwarded through the specified router.
6、 根据权利要求 4所述的终端的链路状态数据库溢出的处理方法, 其 特征在于, 所述将接收的其他终端外部链路状态广播的摘要存储至本终端 增设的数据库中之后, 该方法还包括:  The method for processing a link state database overflow of a terminal according to claim 4, wherein after the received summary of the received external link state broadcast of the terminal is stored in a database added by the terminal, the method Also includes:
判断本终端的链路状态数据库是否还能容纳所述摘要对应的链路状态 广播;  Determining whether the link state database of the terminal can also accommodate the link state broadcast corresponding to the digest;
当链路状态数据库还能容纳所述链路状态广播时, 控制本终端与其他 终端断开连接, 使本终端后续以现有的开放式最短路径优先协议与其他终 端建立连接。  When the link state database can also accommodate the link state broadcast, the terminal is controlled to disconnect from other terminals, so that the terminal subsequently establishes a connection with other terminals by using the existing open shortest path priority protocol.
7、 一种终端, 其特征在于, 该终端包括:  A terminal, characterized in that the terminal comprises:
第一断开模块, 用于在本终端的链路状态数据库溢出时, 断开本终端 与其他终端的连接;  a first disconnecting module, configured to disconnect the terminal from other terminals when the link state database of the terminal overflows;
第一控制模块, 用于控制本终端与其他终端重新建立连接, 将接收的 其他终端外部链路状态广播的摘要存储至本终端增设的数据库中。  The first control module is configured to control the terminal to re-establish a connection with other terminals, and store the received summary of the external link state broadcast of the other terminal into the database added by the terminal.
8、 根据权利要求 7所述的终端, 其特征在于,  8. The terminal of claim 7, wherein:
所述第一控制模块将接收的其他终端外部链路状态广播的摘要存储至 本终端增设的数据库中为: 判断所述数据库中是否存在与所接收的外部链 路状态广播对应的摘要, 以及判断所接收的外部链路状态广播是否为老化 的外部链路状态广播; 当所述数据库中不存在对应的摘要, 且所接收的外 部链路状态广播不是老化的外部链路状态广播时, 将接收的外部链路状态 广播的摘要存储至所述数据库中。 The first control module stores the received summary of the external link state broadcast of the other terminal in the database added by the terminal to: determine whether there is a digest corresponding to the received external link status broadcast in the database, and determine Whether the received external link state broadcast is an aging external link state broadcast; when the corresponding digest does not exist in the database, and the received external link state broadcast is not an aging external link state broadcast, it will be received A summary of the external link state broadcast is stored in the database.
9、 根据权利要求 8所述的终端, 其特征在于, 9. The terminal of claim 8 wherein:
所述第一控制模块, 还用于当所述数据库中存在对应的摘要, 且所接 收的外部链路状态广播为老化的外部链路状态广播时, 将所述数据库中对 应的摘要删除。  The first control module is further configured to: when a corresponding digest exists in the database, and the received external link status broadcast is an aging external link status broadcast, delete the corresponding digest in the database.
10、 根据权利要求 7至 9任一项所述的终端, 其特征在于, 该终端还 包括:  The terminal according to any one of claims 7 to 9, wherein the terminal further comprises:
第二控制模块, 用于将本终端产生的链路状态广播, 以及其他终端产 生的非链路状态广播, 存储至所述链路状态数据库中。  And a second control module, configured to broadcast the link state broadcast generated by the terminal, and the non-link state broadcast generated by the other terminal, into the link state database.
11、 根据权利要求 10所述的终端, 其特征在于, 该终端还包括: 生成模块, 用于生成指向指定路由器的默认路由, 使本终端的外发报 文通过所述指定路由器转发。  The terminal according to claim 10, wherein the terminal further comprises: a generating module, configured to generate a default route to the designated router, so that the outgoing message of the terminal is forwarded by the designated router.
12、 根据权利要求 10所述的终端, 其特征在于, 该终端还包括: 判断模块, 用于判断本终端的链路状态数据库是否还能容纳所述摘要 对应的链路状态广播;  The terminal according to claim 10, wherein the terminal further comprises: a determining module, configured to determine whether the link state database of the terminal can also accommodate the link state broadcast corresponding to the digest;
第二断开模块, 当链路状态数据库能够容纳所述链路状态广播时, 控 制本终端与其他终端断开连接, 使本终端后续以现有的开放式最短路径优 先协议与其他终端建立连接。  a second disconnecting module, when the link state database is capable of accommodating the link state broadcast, controlling the terminal to disconnect from other terminals, so that the terminal subsequently establishes a connection with other terminals by using an existing open shortest path priority protocol. .
PCT/CN2012/074309 2011-06-14 2012-04-18 Terminal and method for processing overflow of link status database of terminal WO2012171414A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110159267.1A CN102223623B (en) 2011-06-14 2011-06-14 Terminal and processing method for overflowing of terminal link state database
CN201110159267.1 2011-06-14

Publications (1)

Publication Number Publication Date
WO2012171414A1 true WO2012171414A1 (en) 2012-12-20

Family

ID=44780023

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/074309 WO2012171414A1 (en) 2011-06-14 2012-04-18 Terminal and method for processing overflow of link status database of terminal

Country Status (2)

Country Link
CN (1) CN102223623B (en)
WO (1) WO2012171414A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218206A (en) * 2018-09-04 2019-01-15 杭州迪普科技股份有限公司 A kind of method and apparatus limiting Link State Notification quantity

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223623B (en) * 2011-06-14 2017-02-15 中兴通讯股份有限公司 Terminal and processing method for overflowing of terminal link state database

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5086428A (en) * 1989-06-09 1992-02-04 Digital Equipment Corporation Reliable broadcast of information in a wide area network
CN101739301A (en) * 2009-12-09 2010-06-16 南京联创科技集团股份有限公司 Method of interprocess mass data transmission under Unix environment
CN101800694A (en) * 2009-09-16 2010-08-11 福建星网锐捷网络有限公司 Resource warning processing method and routing switching equipment
CN102223623A (en) * 2011-06-14 2011-10-19 中兴通讯股份有限公司 Terminal and processing method for overflowing of terminal link state database

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100749848B1 (en) * 2005-11-11 2007-08-16 한국전자통신연구원 Apparatus and method for channel scanning in portable internet system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5086428A (en) * 1989-06-09 1992-02-04 Digital Equipment Corporation Reliable broadcast of information in a wide area network
CN101800694A (en) * 2009-09-16 2010-08-11 福建星网锐捷网络有限公司 Resource warning processing method and routing switching equipment
CN101739301A (en) * 2009-12-09 2010-06-16 南京联创科技集团股份有限公司 Method of interprocess mass data transmission under Unix environment
CN102223623A (en) * 2011-06-14 2011-10-19 中兴通讯股份有限公司 Terminal and processing method for overflowing of terminal link state database

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HE, XUEFEI, REALIZATION OF CONTROL ON LINK-STATE DATABASE OVERFLOW OF OSPFV3 PROTOCOL, 23 September 2005 (2005-09-23), pages 22 - 27 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218206A (en) * 2018-09-04 2019-01-15 杭州迪普科技股份有限公司 A kind of method and apparatus limiting Link State Notification quantity
CN109218206B (en) * 2018-09-04 2021-03-23 杭州迪普科技股份有限公司 Method and device for limiting link state advertisement quantity

Also Published As

Publication number Publication date
CN102223623B (en) 2017-02-15
CN102223623A (en) 2011-10-19

Similar Documents

Publication Publication Date Title
KR101596541B1 (en) An address resolution optimization procedure to effect a gradual cutover from a provider bridge network to a vpls or provider backbone bridging network
US9622276B2 (en) Method and device for determining to establish multi-protocol label switching traffic engineering tunnel
US9634928B2 (en) Mesh network of simple nodes with centralized control
JP4050702B2 (en) Method and system for multicasting message selecting mobile recipients
US6728215B1 (en) System and method for placing wireless calls on an internet protocol based local area network based upon quality of service conditions
US9276898B2 (en) Method and device for link fault detecting and recovering based on ARP interaction
WO2008037187A1 (en) A method and device for processing the border gateway protocol routes
US20110317559A1 (en) Notifying a Controller of a Change to a Packet Forwarding Configuration of a Network Element Over a Communication Channel
US7333827B2 (en) Restricted dissemination of topology information in a communication network
WO2015123962A1 (en) Processing method and device for graceful restart of open flow switch, and open flow controller
WO2010145305A1 (en) Charging system and method
US9668160B2 (en) Topology discovery based on SCTP/X2 snooping
TW201134151A (en) RSVP-TE graceful restart under fast re-route conditions
WO2012142884A1 (en) Method and apparatus for network load information, user location information and policy processing
US20150341443A1 (en) Method for keeping application online, always-online controller, and device
WO2011079695A1 (en) Method, apparatus and system for controlling network traffic switch
US9294986B2 (en) Topology discovery based on explicit signaling
EP3297245B1 (en) Method, apparatus and system for collecting access control list
WO2022021818A1 (en) Method and device for processing data message, storage medium, and electronic device
JP5816960B2 (en) Communications system
CN102271080B (en) Method for preventing BGP (Border Gateway Protocol) session from being disconnected in the event of changing service, and applicable system thereof
WO2013086858A1 (en) Method and device for recovering customer service
WO2012171414A1 (en) Terminal and method for processing overflow of link status database of terminal
CN106211255B (en) A kind of combined optimization method of Wireless ad hoc networks layer and MAC layer
CN100391164C (en) Internal storage warning processing method and route of converting without discontinuous

Legal Events

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

Ref document number: 12800801

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12800801

Country of ref document: EP

Kind code of ref document: A1