CN104869066A - Dynamic connection updating method and device - Google Patents
Dynamic connection updating method and device Download PDFInfo
- Publication number
- CN104869066A CN104869066A CN201410060611.5A CN201410060611A CN104869066A CN 104869066 A CN104869066 A CN 104869066A CN 201410060611 A CN201410060611 A CN 201410060611A CN 104869066 A CN104869066 A CN 104869066A
- Authority
- CN
- China
- Prior art keywords
- neighbor information
- information
- website
- neighbor
- connection
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a dynamic connection updating method and device. The method comprises the steps of: when a site receives a first neighbor updating message, automatically discovering neighbor information according to first neighbor information carried by the first neighbor updating message, and carrying out updating on the neighbor information according to the discovered neighbor information; and when the site receives a connection updating request, updating connection information. According to the invention, the automatic updating of the neighbor information and the connection information is realized, and the risk of long-time business interruption caused by inexistence of the connection information for a relatively long time is avoided.
Description
Technical field
The present invention relates to intelligent switched optical network (ASON, the Automatic SwitchedOptical Network) technology of the communications field, espespecially a kind of method and apparatus dynamically updating connection.
Background technology
At present, ASON develops comparative maturity, in engineering use procedure, client may transform network, namely deposit between sites in the connected situation, the link at website place connects interpolation or deletes relay, causes the information such as original neighbor information (comprising neighbor site information and delivery port information), link information, resource information to there occurs change, now, need to upgrade the information of associated stations.Connect due to original link existing, directly cannot revise the information of website, and new connection will be set up need the information deletion of the associated stations of former connection.
The existing method connected that upgrades is: the information of manually deleting all websites on link, then add or delete website, network condition after finally environmentally changing again, reconfigure neighbor information, link information, the information such as resource information, outstanding message inundation is (namely at ospf (OSPF, Open Shortest Path First) in agreement, when Link State changes, receive the node of information with broadcast mode forwarding data bag, and to all-router send information) complete after, according to the network topology after planning, routing policy is reconfigured by management plane, finally the connection of all deletions is re-established.
Existing method needs to delete existing a large amount of connection, may cause there is not link information in a long time, thus there is the risk of professional chief time interruption; And need to rely on manual mode to upgrade to connect, consuming time longer.
Summary of the invention
In order to solve the problem, the present invention proposes a kind of method and apparatus dynamically updating connection, automatically can upgrade connection.
In order to achieve the above object, the present invention proposes a kind of method and apparatus dynamically updating connection, when link changes, automatically can upgrade neighbor information and link information, and can avoid there is not link information in a long time, thus there is the risk of professional chief time interruption.
The present invention proposes a kind of method dynamically updating connection, comprising:
When website receives first neighbours' updating message, the first neighbor information according to carrying in first neighbours' updating message finds automatically to neighbor information, carries out the renewal of neighbor information according to the neighbor information found;
When website receives connection update request, carry out the renewal of link information.
Preferably, described neighbor information comprises neighbor site information and delivery port information.
Preferably, the renewal that the described neighbor information according to finding carries out neighbor information comprises:
When described website detects self without former neighbor information, preserve the neighbor information of described discovery, and the neighbor information of described discovery is carried out information inundation.
Preferably, when described website detects and self has former neighbor information, the method also comprises: judge that whether the neighbor information of described discovery is consistent with the former neighbor information of self;
When described website detects the neighbor information of described discovery and described former neighbor information is inconsistent, the method also comprises: described website deletes described former neighbor information, website to the neighbours' update request sending described discovery sends second neighbours' updating message, and described second neighbours' updating message comprises the second neighbor information; Otherwise terminate the step of carrying out the renewal of neighbor information.
Preferably, described when website receives connection update request, the renewal carrying out link information comprises:
Receive from newly-increased website or the connection update request of adjacent sites of deleting website;
Send to connect to the website sending described connection update request and upgrade response, and calculate the new routing iinformation connected; New connection is set up according to described routing iinformation; Former connection is deleted according to described routing iinformation.
The invention allows for a kind of device dynamically updating connection, at least comprise:
Neighbours' detection module, for receiving first neighbours' updating message; Receive and connect update request;
Automatic discovery module, for automatically finding neighbor information according to the neighbor information of carrying in first neighbours' updating message;
Link Resource Manager module, for carrying out the renewal of neighbor information according to the neighbor information found;
Link control module, for carrying out the renewal of link information.
Preferably, described Link Resource Manager module, specifically for:
Detect that self is without former neighbor information, preserves the neighbor information of described discovery, and the neighbor information of described discovery is carried out information inundation.
Preferably, described Link Resource Manager module, also for:
Detect self there is former neighbor information; Detect that neighbor information and the described former neighbor information of described discovery are inconsistent, delete described former neighbor information, the website to the neighbours' update request sending described discovery sends second neighbours' updating message, and described second neighbours' updating message comprises the second neighbor information; Otherwise terminate the step of carrying out the renewal of neighbor information.
Preferably, also comprise:
Path calculation module, for calculating the new routing iinformation connected;
Described link control module, specifically for:
Receive from newly-increased website or the connection update request of adjacent sites of deleting website; Send to connect to the website sending described connection update request and upgrade response; New connection is set up according to described routing iinformation; Former connection is deleted according to described routing iinformation.
Compared with prior art, the present invention includes: when website receives first neighbours' updating message, according to carry in first neighbours' updating message the first neighbor information neighbor information is found automatically, carry out the renewal of neighbor information according to the neighbor information found; When website receives connection update request, carry out the renewal of link information.Pass through the solution of the present invention, when link changes, the website carrying out neighbor information renewal is needed to receive first neighbours' updating message, then the renewal of neighbor information is carried out, and when receiving connection update request, carrying out the renewal of link information, thus achieving the automatic renewal of neighbor information and link information, and avoid and there is not link information in a long time, thus there is the risk that the professional chief time interrupts.
Accompanying drawing explanation
Be described the accompanying drawing in the embodiment of the present invention below, the accompanying drawing in embodiment is for a further understanding of the present invention, is used from explanation the present invention, does not form limiting the scope of the invention with specification one.
Fig. 1 is the method flow diagram that the present invention dynamically updates connection;
Fig. 2 is the apparatus structure composition schematic diagram that the present invention dynamically updates connection.
Embodiment
For the ease of the understanding of those skilled in the art, below in conjunction with accompanying drawing, the invention will be further described, can not be used for limiting the scope of the invention.
See Fig. 1, the present invention proposes a kind of method dynamically updating connection, be applied to when (as increased new site or delete existing website between two websites) is transformed to network, neighbor information (comprising neighbor site information and transmit port information) and link information is caused to change, by method of the present invention, automatically the neighbor information with new site or adjacent two websites of deleted website can be upgraded, the link information of all websites be connected with website place.
The method comprises:
Step 100, when website receives first neighbours' updating message, the first neighbor information according to carrying in first neighbours' updating message finds automatically to neighbor information, carries out the renewal of neighbor information according to the neighbor information found.
In this step, neighbor information comprises neighbor site information and delivery port information.
In this step, when increasing a new site between two websites, new site needs to carry out context initialization, after context initialization completes, sending for notifying that adjacent sites carries out first neighbours' updating message of neighbor information renewal to adjacent sites, wherein can carry site information and the delivery port information of new site self.
After new site carries out context initialization, start and automatically find agreement, i.e. LMP Link Manager Protocol (LMP, Link Management Protocol), namely each website timing down hop website sends acknowledge message, acknowledge message comprises site information (as IP address), control IP, the type of message etc. of this website, after down hop website receives the confirmation message, carries out neighbor information renewal.
Between deletion two websites during already present website, delete the neighbor site of website according to when automatically finding that agreement cannot find to delete website, the neighbor information of self can be sent in a broadcast manner, when another neighbor site of deletion website receives this neighbor information, another neighbor site carries out neighbor information renewal.
In this step, website carries out the conventional techniques means automatically finding to belong to those skilled in the art, and the protection range be not intended to limit the present invention, repeats no more here.
In this step, the renewal carrying out neighbor information according to the neighbor information found comprises:
When detecting self without former neighbor information, preserve the neighbor information found, and the neighbor information of discovery is carried out information inundation; Detect when self having former neighbor information, judge that whether the neighbor information found is consistent with the former neighbor information of self; When neighbor information and former neighbor information that discovery detected are inconsistent, delete former neighbor information, preserve the neighbor information found, and the neighbor information of discovery is carried out information inundation, and second neighbours' updating message of neighbor information renewal is carried out to the website sending the neighbours' update request the found website sent for notifying to send the neighbours' update request found, second neighbours' updating message comprises the second neighbor information; When detecting that the neighbor information of discovery is consistent with former neighbor information, terminate the step of carrying out the renewal of neighbor information.
Wherein, the neighbor information of discovery comprises site information and the delivery port information of the website sending the neighbours' update request found; Second neighbor information comprises site information and the delivery port information of the website of transmission second neighbours updating message.
Site information refers to site identity and website Internet protocol (IP, the InternetProtocol) address of website control plane, and transmit port information refers to the link transfer capability between the control plane of adjacent sites.
Step 101, when website receive connect update request time, carry out the renewal of link information.
In this step, after neighbor information has upgraded, the adjacent sites of newly-increased website or deletion website sends to initial station point and connects update request; After initial station point receives and connects update request, the website to transmission connection update request sends to connect to upgrade and replys, and the new routing iinformation connected of calculating; Initial station point sets up new connection according to routing iinformation; After new connection establishment completes, initial station point deletes former connection according to routing iinformation.
Wherein, calculate the new routing iinformation connected to comprise:
According to the information after inundation, generate new the whole network route topological information, prior art can be adopted generate, be not intended to limit the scope of the invention, repeat no more here.
Routing iinformation during former connection establishment is searched in new the whole network route topological information; In the routing iinformation found, add route restriction, if increase new site between two websites, then add the route restriction of new site, the routing iinformation of the new connection namely calculated comprises new site; If delete already present website between two websites, then add the route restriction deleting website, the routing iinformation of the new connection namely calculated does not comprise deletion website; Calculate the new routing iinformation connected according to the route restriction added, prior art can be adopted calculate, be not intended to limit the scope of the invention, repeat no more here.
Wherein, initial station point is set up according to routing iinformation and is comprised new connection:
The new label resources connected of initial station point application, and intersection information corresponding to label resources is set; According to routing iinformation to downstream website transmit path (Path) signaling.
After applying label resource, initial station point is to its own protocol stack application Tunnel Identifier (Tunnel ID), by protocol stack arrangement TE management information bank (MIB, Management Information Base) show information, wherein main table is multiprotocol label switching (MPLS, Multi-Protocol Switching) tunnel table (mpls Tunnel Table), comprise the basic definition of connection, parameter and state etc., then initiate the request of connecting.
The intersection information arranging label resources corresponding comprises: judge that whether the label resources of applying for is consistent with the label resources of former connection, if unanimously, retain former intersection information constant, otherwise receives the intersection information that the new connection issued is put in initial station.
After downstream website receives Path signaling, the label resources that application for execution newly connects, and intersection information corresponding to label resources is set; Send the step of Path signaling to downstream website according to routing iinformation, until tail website completes the new label resources connected of application, and after the step of intersection information corresponding to label resources is set, whether the intersection information of tail website inspection self is arranged successfully, and according to routing iinformation upstream website transmission Resv signaling, Resv signaling comprises check result, if check result is for arranging successfully, then connection establishment success, otherwise connection establishment is unsuccessful; After upstream stations receives Resv signaling, perform and check whether the intersection information of self is arranged successfully, and according to routing iinformation upstream website send the step of Resv signaling, until whether the intersection information that inspection self put in initial station arranges successful step, new connection establishment completes.In said process, if connection establishment is unsuccessful, initial station point can initiate the request of connecting again; If connection establishment is all unsuccessful in preset times, then abandon connection establishment process.
Wherein, initial station point is deleted former connection according to routing iinformation and is comprised:
Initial station point issues Path signaling according to routing iinformation to downstream website, downstream website continues to perform the step issuing Path signaling according to routing iinformation to downstream website, until after tail website receives Path signaling, judge whether there is Merger between former label resources and the label resources of application, if exist, then intersection information remains unchanged, otherwise discharges the label resources of former connection, deletes intersection information; Tail website is according to routing iinformation upstream website transmission Resv signaling, after upstream stations receives Resv signaling, continue to perform release and judge whether there is Merger between former label resources and the label resources of application, if exist, then intersection information remains unchanged, otherwise the label resources of former connection, delete the step of intersection information, until initial station has been put judge whether there is Merger between former label resources and the label resources of application, if exist, then intersection information remains unchanged, otherwise discharges the label resources of former connection, deletes the step of intersection information.
The present invention is when link changes, the website carrying out neighbor information renewal is needed to receive first neighbours' updating message, then the renewal of neighbor information is carried out, and when receiving connection update request, carry out the renewal of link information, thus achieve the automatic renewal of neighbor information and link information, and avoid and there is not link information in a long time, thus there is the risk that the professional chief time interrupts.
See Fig. 2, the invention allows for a kind of device dynamically updating connection, at least comprise:
Neighbours' detection module, for receiving first neighbours' updating message; Receive and connect update request;
Automatic discovery module, for automatically finding neighbor information according to the neighbor information of carrying in first neighbours' updating message;
Link Resource Manager module, for carrying out the renewal of neighbor information according to the neighbor information found;
Link control module, for carrying out the renewal of link information.
In device of the present invention, Link Resource Manager module, specifically for:
Detect that self is without former neighbor information, preserve the neighbor information found, and the neighbor information of discovery is carried out information inundation.
In device of the present invention, Link Resource Manager module, also for:
Detect self there is former neighbor information; Detect that neighbor information and the former neighbor information of discovery are inconsistent, delete former neighbor information, send second neighbours' updating message to the website sending the neighbours' update request found, second neighbours' updating message comprises the second neighbor information; Otherwise terminate the step of carrying out the renewal of neighbor information.
In device of the present invention, also comprise:
Path calculation module, for calculating the new routing iinformation connected;
Link control module, specifically for:
Receive from newly-increased website or the connection update request of adjacent sites of deleting website; Connection renewal response is sent to sending the website connecting update request; New connection is set up according to routing iinformation; Former connection is deleted according to routing iinformation.
It should be noted that; above-described embodiment is only understand for the ease of those skilled in the art; be not limited to protection scope of the present invention; under the prerequisite not departing from inventive concept of the present invention, any apparent replacement and improvement etc. that those skilled in the art make the present invention are all within protection scope of the present invention.
Claims (9)
1. dynamically update a method for connection, it is characterized in that, comprising:
When website receives first neighbours' updating message, the first neighbor information according to carrying in first neighbours' updating message finds automatically to neighbor information, carries out the renewal of neighbor information according to the neighbor information found;
When website receives connection update request, carry out the renewal of link information.
2. method according to claim 1, is characterized in that, described neighbor information comprises neighbor site information and delivery port information.
3. method according to claim 1, is characterized in that, the renewal that the described neighbor information according to finding carries out neighbor information comprises:
When described website detects self without former neighbor information, preserve the neighbor information of described discovery, and the neighbor information of described discovery is carried out information inundation.
4. method according to claim 3, is characterized in that, when described website detects and self has former neighbor information, the method also comprises: judge that whether the neighbor information of described discovery is consistent with the former neighbor information of self;
When described website detects the neighbor information of described discovery and described former neighbor information is inconsistent, the method also comprises: described website deletes described former neighbor information, website to the neighbours' update request sending described discovery sends second neighbours' updating message, and described second neighbours' updating message comprises the second neighbor information; Otherwise terminate the step of carrying out the renewal of neighbor information.
5. method according to claim 1, is characterized in that, described when website receives connection update request, the renewal carrying out link information comprises:
Receive from newly-increased website or the connection update request of adjacent sites of deleting website;
Send to connect to the website sending described connection update request and upgrade response, and calculate the new routing iinformation connected; New connection is set up according to described routing iinformation; Former connection is deleted according to described routing iinformation.
6. dynamically update a device for connection, it is characterized in that, at least comprise:
Neighbours' detection module, for receiving first neighbours' updating message; Receive and connect update request;
Automatic discovery module, for automatically finding neighbor information according to the neighbor information of carrying in first neighbours' updating message;
Link Resource Manager module, for carrying out the renewal of neighbor information according to the neighbor information found;
Link control module, for carrying out the renewal of link information.
7. device according to claim 6, is characterized in that, described Link Resource Manager module, specifically for:
Detect that self is without former neighbor information, preserves the neighbor information of described discovery, and the neighbor information of described discovery is carried out information inundation.
8. device according to claim 7, is characterized in that, described Link Resource Manager module, also for:
Detect self there is former neighbor information; Detect that neighbor information and the described former neighbor information of described discovery are inconsistent, delete described former neighbor information, the website to the neighbours' update request sending described discovery sends second neighbours' updating message, and described second neighbours' updating message comprises the second neighbor information; Otherwise terminate the step of carrying out the renewal of neighbor information.
9. device according to claim 6, is characterized in that, also comprises:
Path calculation module, for calculating the new routing iinformation connected;
Described link control module, specifically for:
Receive from newly-increased website or the connection update request of adjacent sites of deleting website; Send to connect to the website sending described connection update request and upgrade response; New connection is set up according to described routing iinformation; Former connection is deleted according to described routing iinformation.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410060611.5A CN104869066A (en) | 2014-02-21 | 2014-02-21 | Dynamic connection updating method and device |
PCT/CN2014/083644 WO2015123969A1 (en) | 2014-02-21 | 2014-08-04 | Method and apparatus for dynamically updating connection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410060611.5A CN104869066A (en) | 2014-02-21 | 2014-02-21 | Dynamic connection updating method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104869066A true CN104869066A (en) | 2015-08-26 |
Family
ID=53877600
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410060611.5A Pending CN104869066A (en) | 2014-02-21 | 2014-02-21 | Dynamic connection updating method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104869066A (en) |
WO (1) | WO2015123969A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109905345A (en) * | 2017-12-07 | 2019-06-18 | 华为技术有限公司 | Communication means, communication device and communication equipment |
CN110087252A (en) * | 2019-05-30 | 2019-08-02 | 深圳市中航比特通讯技术有限公司 | A kind of communication network service dynamic change technology |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1622547A (en) * | 2003-11-28 | 2005-06-01 | 华为技术有限公司 | Link management method |
CN1764320A (en) * | 2004-10-19 | 2006-04-26 | 北京邮电大学 | Controlling method for realizing automatic discovery of resource information based on automatic switched optical network |
CN102238056A (en) * | 2010-04-30 | 2011-11-09 | 中兴通讯股份有限公司 | Automatic ring network protection topology structure discovery method and device |
CN101176280B (en) * | 2006-04-12 | 2012-06-13 | 中兴通讯股份有限公司 | Automatic discovering method for automatic exchange optical network controlling entity topology |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123609B (en) * | 2007-09-10 | 2010-06-30 | 北京航空航天大学 | Self-adapted search method for resource level |
CN103166849B (en) * | 2013-03-06 | 2016-02-17 | 杭州华三通信技术有限公司 | The method of the interconnected network routing convergence of IPSec VPN and routing device |
-
2014
- 2014-02-21 CN CN201410060611.5A patent/CN104869066A/en active Pending
- 2014-08-04 WO PCT/CN2014/083644 patent/WO2015123969A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1622547A (en) * | 2003-11-28 | 2005-06-01 | 华为技术有限公司 | Link management method |
CN1764320A (en) * | 2004-10-19 | 2006-04-26 | 北京邮电大学 | Controlling method for realizing automatic discovery of resource information based on automatic switched optical network |
CN101176280B (en) * | 2006-04-12 | 2012-06-13 | 中兴通讯股份有限公司 | Automatic discovering method for automatic exchange optical network controlling entity topology |
CN102238056A (en) * | 2010-04-30 | 2011-11-09 | 中兴通讯股份有限公司 | Automatic ring network protection topology structure discovery method and device |
Non-Patent Citations (1)
Title |
---|
CAIXIA CHI,等: ""Automatic neighbor discovery protocol for optical networks"", 《PROCEEDINGS VOLUME 4584, OPTICAL NETWORK DESIGN AND MANAGEMENT》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109905345A (en) * | 2017-12-07 | 2019-06-18 | 华为技术有限公司 | Communication means, communication device and communication equipment |
CN109905345B (en) * | 2017-12-07 | 2021-02-09 | 华为技术有限公司 | Communication method, communication device and communication equipment |
CN110087252A (en) * | 2019-05-30 | 2019-08-02 | 深圳市中航比特通讯技术有限公司 | A kind of communication network service dynamic change technology |
Also Published As
Publication number | Publication date |
---|---|
WO2015123969A1 (en) | 2015-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109156040B (en) | Communication control method and related network element | |
US10587494B2 (en) | Network control method and apparatus | |
JP6027688B2 (en) | Method and apparatus for automatic label assignment in ring network protection | |
CN104869057A (en) | OpeFlow switch graceful restart processing method, device and OpeFlow controller | |
CN105162704A (en) | Multicast replication method and device in Overlay network | |
CN106487558A (en) | A kind of method and apparatus realizing the scalable appearance of access device | |
CN103152272A (en) | Method and equipment for maintaining border gateway protocol (BGP) neighborship | |
WO2011091696A1 (en) | Method, device and system for establishing connection between neighbouring base stations | |
CN107645394B (en) | Switch configuration method in SDN network | |
CN104283802A (en) | Neighbor discovery method and device | |
CN105471725A (en) | Routing method and routing device for traversing autonomous system | |
CN101132642B (en) | Method for establishing LSP tunnel in NGN based on MPLS-TE | |
CN102857418A (en) | VPN (virtual private network)-based fast re-route (FRR) switch method and VPN-based fast re-route switch equipment | |
CN104038427A (en) | Router renewing method and device | |
CN104869066A (en) | Dynamic connection updating method and device | |
CN111327524B (en) | Flow forwarding method and system, SDN controller and computer readable storage medium | |
JP6042838B2 (en) | Management system, management server, and management method | |
US11095514B2 (en) | System and method for propagating anima network objective changes | |
CN106878173B (en) | Route sending method and device | |
US11490178B2 (en) | Method for establishing service path, network device, and system | |
CN104270307A (en) | Establishing method and device for BGP neighborhood | |
WO2017162172A1 (en) | Method and device for adjusting restart-recovery time | |
CN104104603A (en) | Method and system for establishing data transmission links | |
CN106470159B (en) | Tunnel convergence method and device | |
WO2017041469A1 (en) | Method and apparatus for communicating with irregular domain of dcn in ptn device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150826 |