CN109150566A - A kind of service path restoring method and device - Google Patents
A kind of service path restoring method and device Download PDFInfo
- Publication number
- CN109150566A CN109150566A CN201710466002.3A CN201710466002A CN109150566A CN 109150566 A CN109150566 A CN 109150566A CN 201710466002 A CN201710466002 A CN 201710466002A CN 109150566 A CN109150566 A CN 109150566A
- Authority
- CN
- China
- Prior art keywords
- address
- bras
- olt
- service path
- network
- 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.)
- Granted
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
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- 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
- H04L45/02—Topology update or discovery
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of service path restoring method and devices, are related to service path reduction technique field, and method includes: to find the bandwidth remote access server BRAS on set-top box service path according to set-top box public network IP address;VRF is forwarded using set-top box public network IP address and singlecast router virtual flow-line, obtains convergence switch outgoing interface corresponding with the BRAS on service path, the static tunnel for the Packet Transport Network PTN incoming interface connecting on service path with the convergence switch and service path glazing line terminal OLT and optical network unit ONU respectively.
Description
Technical field
The present invention relates to service path reduction technique field, in particular to a kind of service path restoring method and device.
Background technique
With the development of big video traffic, video traffic has become the basic business of operator, to its bearing requirements and
O&M requires to be increasingly urgent to.When big video user, which is experienced, to be reduced, how rapidly failure to be carried out delimiting positioning being current electricity
Believe one of the research topic of operator.
Service path reduction is the core for realizing intelligent trouble diagnosis in end-to-end fault location system from fixed network to bearer network
Center portion point, when the experience of some customer service reduces, and needs to carry out failure to the customer service to delimit positioning, it is necessary first to will
The fullpath that the business is passed through, which is depicted, to be come, and then checks paragraph by paragraph or one by one failure on path, to guarantee fault diagnosis
Effective development of process.
Since traditional service path reduction is static path reduction.I.e. in advance obtain operator money pipe information system,
Fixed network network management, the assets information for carrying network management, by the related information of static inquiry user and network element, network element and network element,
Piecewise restores each section of path.In the actual motion of network element, network element may break down and carry out masterslave switchover, and
Static path reduction inquiry is the assets prepared in advance, does not have to embody switching for current network, therefore this in assets
Static Inquiry assets cannot really reflect the path that current business is passed through in the case of kind.Secondly, working as the operation of real network
When equipment changes, in the assets information that the necessary Manual synchronization of modification information is relied on to path reduction, information biography is equally existed
The non-timely problem passed, and then the inaccuracy for causing static path to restore.
Summary of the invention
The technical issues of scheme provided according to embodiments of the present invention solves is customer service from fixed network access net to carrying
The service path of net restores inaccuracy.
A kind of service path restoring method provided according to embodiments of the present invention, comprising:
According to set-top box public network IP address, BRAS (the Broadband Remote on set-top box service path is found
Access Server, Broadband Remote Access Server);
Utilize set-top box public network IP address and singlecast router VRF (Virtual Routing Forwarding, virtual flow-line
Forwarding), obtain respectively convergence switch outgoing interface corresponding with the BRAS on service path, on service path with the convergence
The static tunnel and business of PTN (Packet Transport Network, Packet Transport Network) incoming interface of interchanger connection
OLT (Optical Line Terminal, optical line terminal) and ONU (Optical Network Unit, optical-fiber network on path
Unit).
Preferably, described according to set-top box public network IP address, the BRAS found on set-top box service path includes:
Set-top box service is obtained by inquiring the user network segment table being preset on BRAS according to set-top box public network IP address
BRAS on path.
Preferably, described to forward VRF using set-top box public network IP address and singlecast router virtual flow-line, business is obtained respectively
Convergence switch outgoing interface corresponding with the BRAS on path, the grouping connecting on service path with the convergence switch pass
It send the static tunnel for netting PTN incoming interface and service path glazing line terminal OLT and optical network unit ONU includes:
It is enterprising in the BRAS of the service path using set-top box public network IP address and singlecast router virtual flow-line forwarding VRF
Row route querying obtains message encapsulation purpose medium access control MAC (Media Access Control, medium access control)
Address, virtual LAN VLAN (Virtual Local Area Network, virtual LAN) and the BRAS MAC
Location;
The corresponding convergence switch of BRAS on the service path is obtained using the message encapsulation purpose MAC and VLAN
Thus outgoing interface finds the static tunnel for the PTN incoming interface connecting on service path with the convergence switch;
Using message encapsulation target MAC (Media Access Control) address, the MAC Address and VLAN of BRAS, obtain OLT on service path and its
The light net of OLT PON (Passive Optical Network, passive optical-fiber network) mouth, the upper united mouth OLT information and the OLT second line of a couplet
Network unit ONU and the upper united mouth ONU.
Preferably, described enterprising in the BRAS of the service path using set-top box public network IP address and singlecast router VRF
Row route querying, target MAC (Media Access Control) address, VLAN and the BRAS MAC Address for obtaining message encapsulation include:
According to set-top box public network IP address and preset this districts and cities singlecast router VRF, route querying is carried out on BRAS, is obtained
Take OLT downlink outgoing interface and next-hop ip address;
According to acquired next-hop ip address, by inquiring ARP (the Address Resolution being preset on BRAS
Protocol, address resolution protocol) table, obtain message encapsulation target MAC (Media Access Control) address and VLAN;
It is obtained under the OLT according to acquired OLT downlink outgoing interface by inquiring the interface mac address on BRAS
The corresponding BRAS MAC Address of row outgoing interface.
Preferably, described to obtain the correspondence of the BRAS on the service path using the message encapsulation purpose MAC and VLAN
Convergence switch outgoing interface, thus find the static state for the PTN incoming interface connecting on service path with the convergence switch
Tunnel includes:
Purpose MAC, VLAN is encapsulated according to the related information and the message of preset convergence switch and the port BRAS, is led to
It crosses inquiry and mac address table is set on convergence switch, obtain the corresponding convergence switch of the BRAS on the service path and go out
Interface;
According to the related information of preset PTN and convergence switch and the convergence switch outgoing interface, the PTN is obtained
IP address and PTN inbound port;
Utilize the business of the OTN inbound port and the VLAN port PTN that inquiry business accesses on PTN network management carrying
Tablet menu obtains the PTN and carries the pseudo-wire of the business and carry the static tunnel of the pseudo-wire.
Preferably, described using message encapsulation target MAC (Media Access Control) address, the MAC Address and VLAN of BRAS, obtain service path
On PON mouthfuls of OLT and its OLT, the upper united mouth OLT information and the OLT second line of a couplet the upper united mouth ONU and ONU include:
Using obtained static tunnel, PTN asset table is inquired on PTN network management, obtains the every of the static tunnel process
Port on one PTN node and node;
It according to acquired target MAC (Media Access Control) address and VLAN, is inquired, is obtained in preset OLT the whole network mac address table
PON mouthfuls of OLT and OLT;
According to acquired BRAS MAC Address and VLAN, is inquired, obtained in preset OLT the whole network mac address table
Take the upper united mouth OLT information;
According to obtained OLT, is inquired in the network topology table of preset OLT, ONU, obtain the ONU of the OLT second line of a couplet
And the upper united mouth of ONU.
A kind of service path reduction apparatus provided according to embodiments of the present invention, comprising:
BRAS module is obtained, for finding the BRAS on set-top box service path according to set-top box public network IP address;
Service path recovery module, for forwarding VRF using set-top box public network IP address and singlecast router virtual flow-line, point
Not Huo Qu convergence switch outgoing interface corresponding with the BRAS on service path, connect with the convergence switch on service path
The static tunnel and service path glazing line terminal OLT and optical network unit ONU of the Packet Transport Network PTN incoming interface connect.
Preferably, the acquisition BRAS module is specifically used for being preset at according to set-top box public network IP address by inquiry
User network segment table on BRAS obtains the BRAS on set-top box service path.
Preferably, the service path recovery module includes:
MAC Address unit is restored, for forwarding VRF in institute using set-top box public network IP address and singlecast router virtual flow-line
It states and carries out route querying on the BRAS of service path, obtain message and encapsulate purpose medium access control MAC Address, virtual LAN
VLAN and the BRAS MAC Address;
Static tunnel unit is restored, for obtaining the service path using the message encapsulation purpose MAC and VLAN
The corresponding convergence switch outgoing interface of BRAS, thus find the PTN connecting on service path with the convergence switch and enter
The static tunnel of interface;
OLT and OUN unit is restored, for the MAC Address and VLAN using message encapsulation target MAC (Media Access Control) address, BRAS, is obtained
The optical network unit of PON mouthfuls of OLT and its OLT passive optical-fiber network, the upper united mouth OLT information and the OLT second line of a couplet on to service path
The upper united mouth ONU and ONU.
Preferably, the reduction MAC Address unit includes:
OLT downlink outgoing interface and next-hop ip address unit are obtained, for according to set-top box public network IP address and preset
This districts and cities singlecast router VRF carries out route querying on BRAS, obtains OLT downlink outgoing interface and next-hop ip address;
The first MAC Address unit is obtained, for being preset on BRAS by inquiry according to acquired next-hop ip address
Address Resolution Protocol ARP table, obtain message encapsulation target MAC (Media Access Control) address and VLAN;
The second MAC Address unit is obtained, for according to acquired OLT downlink outgoing interface, by inquiring on BRAS
Interface mac address obtains the corresponding BRAS MAC Address of the OLT downlink outgoing interface.
The scheme provided according to embodiments of the present invention is carried out on the basis of static path reduction by query facility list item
Real time business path reduction, accuracy is higher, be greatly improved user malfunction delimit positioning system in malfunction elimination it is effective
Property.
Detailed description of the invention
Fig. 1 is a kind of flow chart of service path restoring method provided in an embodiment of the present invention;
Fig. 2 be a kind of service path reduction apparatus provided in an embodiment of the present invention schematic diagram '
Fig. 3 is reduction networking schematic diagram in path provided in an embodiment of the present invention;
Fig. 4 is the flow chart of path reduction provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing to a preferred embodiment of the present invention will be described in detail, it should be understood that described below is excellent
Select embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
Fig. 1 is a kind of flow chart of service path restoring method provided in an embodiment of the present invention, as shown in Figure 1, comprising:
Step S101: according to set-top box public network IP address, the BRAS on set-top box service path is found;
Step S102: VRF is forwarded using set-top box public network IP address and singlecast router virtual flow-line, obtains business road respectively
Convergence switch outgoing interface corresponding with the BRAS on diameter, the grouping transmission being connect on service path with the convergence switch
The static tunnel and service path glazing line terminal OLT and optical network unit ONU of net PTN incoming interface.
Wherein, described according to set-top box public network IP address, finding the BRAS on set-top box service path includes: according to machine top
Box public network IP address obtains the BRAS on set-top box service path by inquiring the user network segment table being preset on BRAS.
Wherein, described to forward VRF using set-top box public network IP address and singlecast router virtual flow-line, business road is obtained respectively
Convergence switch outgoing interface corresponding with the BRAS on diameter, the grouping transmission being connect on service path with the convergence switch
The static tunnel and service path glazing line terminal OLT and optical network unit ONU of net PTN incoming interface include: to utilize machine top
Box public network IP address and singlecast router virtual flow-line forwarding VRF carry out route querying on the BRAS of the service path, obtain
Message encapsulates purpose medium access control MAC Address, virtual LAN VLAN and the BRAS MAC Address;Utilize the report
Text encapsulation purpose MAC and VLAN obtain the corresponding convergence switch outgoing interface of the BRAS on the service path, thus find
The static tunnel for the PTN incoming interface being connect on service path with the convergence switch;Using message encapsulation target MAC (Media Access Control) address,
The MAC Address and VLAN of BRAS obtains PON mouthfuls of OLT and its OLT passive optical-fiber network on service path, OLT first line of a couplet message
Optical network unit ONU and the upper united mouth ONU of breath and the OLT second line of a couplet.
It is specific to say, it is described using set-top box public network IP address and singlecast router VRF on the BRAS of the service path
Route querying is carried out, target MAC (Media Access Control) address, VLAN and the BRAS MAC Address for obtaining message encapsulation include: according to machine top
Box public network IP address and preset this districts and cities singlecast router VRF carry out route querying on BRAS, obtain OLT downlink outgoing interface
And next-hop ip address;According to acquired next-hop ip address, by inquiring the Address Resolution Protocol ARP being preset on BRAS
Table obtains message encapsulation target MAC (Media Access Control) address and VLAN;According to acquired OLT downlink outgoing interface, by inquiring on BRAS
Interface mac address obtains the corresponding BRAS MAC Address of the OLT downlink outgoing interface.
It is specific to say, BRAS pairs obtained using the message encapsulation purpose MAC and VLAN on the service path
Thus the convergence switch outgoing interface answered finds the quiet of the PTN incoming interface connecting on service path with the convergence switch
State tunnel include: related information according to preset convergence switch and the port BRAS and message encapsulation purpose MAC,
Mac address table is arranged on convergence switch by inquiry in VLAN, and the corresponding convergence of BRAS obtained on the service path is handed over
It changes planes outgoing interface;According to the related information of preset PTN and convergence switch and the convergence switch outgoing interface, obtain described
PTN IP address and PTN inbound port;Utilize the OTN inbound port and the VLAN PTN that inquiry business accesses on PTN network management
The business list table of port carrying, obtains the PTN and carries the pseudo-wire of the business and carry the static tunnel of the pseudo-wire.
It is specific to say, it is described using message encapsulation target MAC (Media Access Control) address, the MAC Address and VLAN of BRAS, obtain business road
The upper united mouth ONU and ONU of PON mouthfuls of OLT and its OLT, the upper united mouth OLT information and the OLT second line of a couplet on diameter include: to utilize to obtain
PTN asset table is inquired in static tunnel on PTN network management, obtains each PTN node and node that the static tunnel passes through
On port;According to acquired target MAC (Media Access Control) address and VLAN, is inquired, obtained in preset OLT the whole network mac address table
Take PON mouthfuls of OLT and OLT;According to acquired BRAS MAC Address and VLAN, in preset OLT the whole network mac address table
It is inquired, obtains the upper united mouth OLT information;According to obtained OLT, looked into the network topology table of preset OLT, ONU
It askes, obtains the upper united mouth of the ONU and ONU of the OLT second line of a couplet.
Fig. 2 is a kind of schematic diagram of service path reduction apparatus provided in an embodiment of the present invention, as shown in Figure 2, comprising: obtain
BRAS module 201 is taken, for finding the BRAS on set-top box service path according to set-top box public network IP address;Service path is also
Former module 202 obtains service path for forwarding VRF using set-top box public network IP address and singlecast router virtual flow-line respectively
The Packet Transport Network being connect on upper convergence switch outgoing interface corresponding with the BRAS, service path with the convergence switch
The static tunnel and service path glazing line terminal OLT and optical network unit ONU of PTN incoming interface.
Wherein, the acquisition BRAS module 201 is specifically used for being preset at according to set-top box public network IP address by inquiry
User network segment table on BRAS obtains the BRAS on set-top box service path.
Wherein, the service path recovery module 202 includes: reducing medium access control MAC addresses unit, for utilizing
Set-top box public network IP address and singlecast router virtual flow-line forwarding VRF carry out route querying on the BRAS of the service path,
Obtain message encapsulation target MAC (Media Access Control) address, virtual LAN VLAN and the BRAS MAC Address;Static tunnel unit is restored,
Go out to connect for obtaining the corresponding convergence switch of BRAS on the service path using the message encapsulation purpose MAC and VLAN
Mouthful, thus find the static tunnel for the PTN incoming interface connecting on service path with the convergence switch;Restore OLT and OUN
Unit, for the MAC Address and VLAN using message encapsulation target MAC (Media Access Control) address, BRAS, obtain OLT on service path and
PON mouthfuls of its OLT passive optical-fiber network, the optical network unit ONU of the upper united mouth OLT information and the OLT second line of a couplet and the upper united mouth ONU.
Specific to say, the reduction MAC Address unit includes: to obtain OLT downlink outgoing interface and next-hop ip address list
Member, for carrying out route querying on BRAS, obtaining according to set-top box public network IP address and preset this districts and cities singlecast router VRF
Take OLT downlink outgoing interface and next-hop ip address;The first MAC Address subelement is obtained, for according to acquired next-hop IP
Address obtains message encapsulation target MAC (Media Access Control) address and VLAN by inquiring the Address Resolution Protocol ARP table being preset on BRAS;It obtains
The second MAC Address subelement is taken, for according to acquired OLT downlink outgoing interface, by the interface MAC that inquires on BRAS
Location obtains the corresponding BRAS MAC Address of the OLT downlink outgoing interface.
Wherein, the static tunnel unit of the reduction includes: to obtain convergence switch outgoing interface subelement, for according to preset
Convergence switch and the port BRAS related information and the message encapsulate purpose MAC, VLAN, by inquire setting converging
Mac address table on interchanger obtains the corresponding convergence switch outgoing interface of BRAS on the service path;Obtain static tunnel
Subelement obtains described for the related information and the convergence switch outgoing interface according to preset PTN and convergence switch
PTN IP address and PTN inbound port, and the inquiry business access on PTN network management using the OTN inbound port and the VLAN
The business list table of the port PTN carrying, obtains the PTN and carries the pseudo-wire of the business and carry the static tunnel of the pseudo-wire.
Wherein, the reduction OLT and OUN unit include: the first acquisition subelement, for utilizing obtained static tunnel,
PTN asset table is inquired on PTN network management, obtains the port on each PTN node and node that the static tunnel passes through;
Second obtains subelement, for according to acquired target MAC (Media Access Control) address and VLAN, in preset OLT the whole network mac address table into
Row inquiry, obtains OLT and OLT PON mouthfuls;Third obtains subelement, for according to acquired BRAS MAC Address and
VLAN is inquired in preset OLT the whole network mac address table, obtains the upper united mouth OLT information;4th obtains subelement, is used for
It according to obtained OLT, is inquired in the network topology table of preset OLT, ONU, obtains the ONU's and ONU of the OLT second line of a couplet
Upper united mouth.
Fig. 3 is reduction networking schematic diagram in path provided in an embodiment of the present invention, as shown in figure 3, path also origin node includes
The OLT and ONU of BRAS, AGS (Aggregation Switch, convergence switch), PTN and fixed network access net.Specifically,
Accessed routing information includes: the net of BRAS/SR (Service Router, full-service router) in the also origin node of path
First id, BRAS incoming interface, BRAS outgoing interface, convergence switch NE ID, convergence switch outgoing interface, PTN NE ID, PTN net
First two side interfaces, OLT ID, the upper united mouth OLT, OLT second line of a couplet mouth, ONU ID, the upper united mouth ONU, wherein PTN network element includes L2VPN
Whole PTN nodal information in (Layer 2Virtual Private Network, the second layer virtual private network) network.
Fig. 4 is the flow chart of path reduction provided in an embodiment of the present invention, as shown in figure 4, service path reduction step is such as
Under:
1, some customer service need to trigger failure delimit positioning, Transfer Parameters be the address user set-top box public network ip,
The source address ip, multicast address, wherein unicast service transmits source IP, and multicast service transmits multicast address, source ip.
2, according to the address set-top box public network ip, the user network segment table in BRAS/SR equipment is inquired, if the address ip is at certain
In the user network segment limit of BRAS/SR equipment, that is, find corresponding BRAS/SR.
3, route querying is carried out on BRAS/SR using the address set-top box public network ip, singlecast router VRF, obtain downlink and go out
Interface, next-hop ip address.
4, ARP table is inquired on BRAS/SR using the next-hop ip address that previous step obtains, obtain outlet message and encapsulate mesh
MAC, VLAN.The downlink outgoing interface obtained using previous step, the query interface MAC Address on BRAS/SR are obtained the downlink and gone out
The corresponding MAC Address of interface, i.e. source MAC.
5, using source ip, singlecast router VRF query routing on BRAS/SR, uplink incoming interface is obtained.
Using multicast address, source ip, Multicast Routing VRF query routing on BRAS/SR, multicast incoming interface, multicast are obtained
Outgoing interface list.
6, mac address table is inquired on convergence switch with purpose MAC, vlan that step 4 obtains, get outgoing interface.
7, the business list table of the bearer network device port carrying accessed using inbound port, VLAN inquiry business, is held
The pseudo-wire for carrying the business carries the static tunnel of the pseudo-wire.
8, using static tunnel obtained in the previous step, PTN asset table is inquired on PTN network management, obtains static state tunnel warp
The port on each PTN node and node crossed.
9, outlet purpose MAC, VLAN obtained using step 4 inquires OLT the whole network mac address table, obtains OLT and OLT
PON mouthfuls.
10, outlet source MAC, VLAN obtained using step 4 inquires OLT the whole network mac address table, obtains OLT first line of a couplet message
Breath.
11, the network topology table of the inquiry of OLT information OLT, ONU for being obtained according to step 9, obtain the OLT second line of a couplet ONU and
The upper united mouth of ONU.
By all of above step, the routing information got includes: network element id, BRAS incoming interface, the BRAS of BRAS/SR
Outgoing interface, convergence switch NE ID, convergence switch outgoing interface, two side interface of PTN network element id, PTN network element, OLT ID, OLT
Upper united mouth, OLT second line of a couplet mouth, ONU ID, the upper united mouth ONU, wherein PTN network element includes L2VPN (Layer 2Virtual Private
Network, the second layer virtual private network) whole PTN nodal information in network.
With specific real-time example, the present invention is described in detail below:
Path provided in an embodiment of the present invention restores specific real time steps:
Step 1: OLT is saved in OLT the whole network mac address table to fixed network network management reporting MAC address table clause, fixed network network management
In, as shown in table 1.
Table 1:OLT the whole network mac address table
MAC | VLAN | Port | Type |
0011.2233.4455 | 100 | 0/12/2 | PON mouthfuls |
0011.2233.4466 | 200 | 0/12/3 | Upper united mouth |
Following information is configured in the configuration information of path recovery module:
1, the port association information of PTN device and convergence switch, management IP, port, VLAN including PTN device;It converges
Management ip, downlink port, uplink port, the VLAN of poly- interchanger;
2, the port association information of convergence switch and BRAS, the management ip including convergence switch, downlink port, uplink
Port, VLAN;Management IP, downlink port, the downlink VLAN, uplink port of BRAS;
3, this districts and cities multicast VRF, singlecast router VRF.There is usually one multicast VRF, a singlecast routers for one districts and cities
VRF。
Step 2: path reduction, when the business for needing to restore is unicast service, the use of transmitting are initiated to some customer service
Family business information includes: the public network IP address of the user, service message source IP address;When reduction business is multicast service, transmitting
User service information include the public network IP address of the user, multicast service message multicast group address, multicast service message source IP
Address.
The query interface of user ip address pool is provided on BRAS/SR.It is inquired when path restores according to user's public network IP address
User network segment table on BRAS/SR determines the online BRAS/SR of user.Each BRAS, which can be arranged, distributes IP address to user
Range, for the same districts and cities, the IP address for distributing to user will not generally be repeated.The BRAS inquired at this time may be more than
One, because there are two mutually redundant networkings of BRAS.
Step 3: route querying interface is provided on BRAS/SR.According to the service message source address in user service information,
Judge whether the IP address is multicast address.For unicast service, the routing inquiry interface of the BRAS/SR is called, people is read out
This districts and cities singlecast router VRF of work configuration obtains downlink outgoing interface according to the set-top box address public network ip and routing VRF, next
Jump IP.For multicast service, since in real network operation, singlecast router outlet and multicast outlet major part are all consistent,
Therefore route querying acquisition downlink outgoing interface, next is equally carried out on BRAS/SR with set-top box public network IP, singlecast router VRF
Jump IP.In this step using the unicast VRF and multicast VRF of configuration districts and cities.
Step 4: BRAS/SR provides ARP query interface and source MAC query interface.Previous step is used when path restores
The next-hop ip address of acquisition inquires ARP table on BRAS/SR, obtains outlet message and encapsulates purpose MAC, VLAN.Use upper one
The downlink outgoing interface obtained is walked, the query interface MAC Address on BRAS/SR obtains the corresponding MAC Address of downlink outgoing interface,
That is source MAC.
Step 5: singlecast router query interface and Multicast Routing query interface are provided on BRAS/SR.If positioning is single
Business is broadcast, the singlecast router query interface on BRAS/SR is called, passing ginseng is source ip, singlecast router VRF, is returned the result as uplink
Incoming interface.If positioning is multicast service, with the Multicast Routing query interface on BRAS/SR, passing ginseng is multicast address, source
Ip, Multicast Routing VRF return the result as multicast incoming interface, multicast outgoing interface list.Step 3 can be verified in this step simultaneously
Whether the unicast outgoing interface of middle acquisition is in multicast outgoing interface list.
Step 6: according to configuration relation, the address AGSip connecting with BRAS is obtained.With purpose obtained in step 4
MAC, VLAN inquire mac address table on convergence switch, get outgoing interface.
Step 7: the port configuration relation of inquiry convergence switch and load bearing equipment is looked into according in the address ip and previous step
The outgoing interface ask obtains the address ip and the port information of the PTN device of convergence switch connection.Use inbound port, VLAN
The business list table that port carrying is inquired on carrying network management, obtains the pseudo-wire for carrying the business.It is identified further according to pseudo-wire
The corresponding relationship for inquiring pseudo-wire and tunnel, obtains the static tunnel for carrying the pseudo-wire.
Step 8: using static tunnel obtained in the previous step, the queries static tunnel routing table on carrying network management is obtained
The two sides port of the business is carried on each bearer network node and node that the static state tunnel passes through.
Step 9: outlet purpose MAC, VLAN obtained using the 4th step inquires OLT the whole network mac address table, obtains OLT
And PON mouthfuls of OLT.
Step 10: outlet source MAC, the VLAN obtained using the 4th step inquires OLT the whole network mac address table, obtains on OLT
Join message breath.
Step 11: the network topology table of OLT, ONU are inquired according to OLT information obtained in the previous step, obtains the OLT second line of a couplet
The upper united mouth of ONU and ONU.
The scheme provided according to embodiments of the present invention passes through table when several operations in real time access OLT, BRAS equipment
, the accuracy for going back original route is higher, while two fields of fixed network and bearer network are combined progress path reduction together, pole
Big improves the validity of customer service malfunction elimination.
Although describing the invention in detail above, but the invention is not restricted to this, those skilled in the art of the present technique
It can be carry out various modifications with principle according to the present invention.Therefore, all to be modified according to made by the principle of the invention, all it should be understood as
Fall into protection scope of the present invention.
Claims (10)
1. a kind of service path restoring method, comprising:
According to set-top box public network IP address, the bandwidth remote access server BRAS on set-top box service path is found;
Forward VRF using set-top box public network IP address and singlecast router virtual flow-line, obtain respectively on service path with it is described
The Packet Transport Network PTN connecting on the corresponding convergence switch outgoing interface of BRAS, service path with the convergence switch enters to connect
The static tunnel and service path glazing line terminal OLT and optical network unit ONU of mouth.
2. finding on set-top box service path according to the method described in claim 1, described according to set-top box public network IP address
BRAS includes:
Set-top box service path is obtained by inquiring the user network segment table being preset on BRAS according to set-top box public network IP address
On BRAS.
3. according to the method described in claim 1, described forwarded using set-top box public network IP address and singlecast router virtual flow-line
VRF, obtain respectively convergence switch outgoing interface corresponding with the BRAS on service path, on service path with convergence friendship
Change planes connection Packet Transport Network PTN incoming interface static tunnel and service path glazing line terminal OLT and optical-fiber network list
First ONU includes:
Forward VRF in the enterprising walking along the street of BRAS of the service path using set-top box public network IP address and singlecast router virtual flow-line
By searching, with obtaining message encapsulation purpose medium access control MAC Address, virtual LAN VLAN and the BRAS MAC
Location;
The corresponding convergence switch of BRAS on the service path is obtained using the message encapsulation purpose MAC and VLAN to go out to connect
Mouthful, thus find the static tunnel for the PTN incoming interface connecting on service path with the convergence switch;
Using message encapsulation target MAC (Media Access Control) address, the MAC Address and VLAN of BRAS, the OLT and its OLT on service path are obtained
PON mouthfuls of passive optical-fiber network, the optical network unit ONU of the upper united mouth OLT information and the OLT second line of a couplet and the upper united mouth ONU.
4. according to the method described in claim 3, described utilize set-top box public network IP address and singlecast router VRF in the business
Route querying is carried out on the BRAS in path, obtains target MAC (Media Access Control) address, VLAN and the BRAS MAC Address packet of message encapsulation
It includes:
According to set-top box public network IP address and preset this districts and cities singlecast router VRF, route querying is carried out on BRAS, is obtained
OLT downlink outgoing interface and next-hop ip address;
Message is obtained by inquiring the Address Resolution Protocol ARP table being preset on BRAS according to acquired next-hop ip address
Encapsulate target MAC (Media Access Control) address and VLAN;
It obtains the OLT downlink by inquiring the interface mac address on BRAS according to acquired OLT downlink outgoing interface and goes out
The corresponding BRAS MAC Address of interface.
5. according to the method described in claim 4, described obtain the business road using the message encapsulation purpose MAC and VLAN
Thus the corresponding convergence switch outgoing interface of BRAS on diameter finds and connect on service path with the convergence switch
The static tunnel of PTN incoming interface includes:
Purpose MAC, VLAN is encapsulated according to the related information and the message of preset convergence switch and the port BRAS, by looking into
It askes and mac address table is set on convergence switch, obtain the corresponding convergence switch outgoing interface of BRAS on the service path;
According to the related information of preset PTN and convergence switch and the convergence switch outgoing interface, the PTN IP is obtained
Address and PTN inbound port;
Utilize the business list of the OTN inbound port and the VLAN port PTN that inquiry business accesses on PTN network management carrying
Table obtains the PTN and carries the pseudo-wire of the business and carry the static tunnel of the pseudo-wire.
6. according to the method described in claim 5, it is described using message encapsulation target MAC (Media Access Control) address, BRAS MAC Address and
VLAN obtains the upper united mouth ONU and ONU of PON mouthfuls of OLT and its OLT on service path, the upper united mouth OLT information and the OLT second line of a couplet
Include:
Using obtained static tunnel, PTN asset table is inquired on PTN network management, obtains each passed through in the static tunnel
Port on PTN node and node;
It according to acquired target MAC (Media Access Control) address and VLAN, is inquired in preset OLT the whole network mac address table, obtains OLT
And PON mouthfuls of OLT;
It according to acquired BRAS MAC Address and VLAN, is inquired in preset OLT the whole network mac address table, obtains OLT
Upper united mouth information;
According to obtained OLT, inquired in the network topology table of preset OLT, ONU, obtain the OLT second line of a couplet ONU and
The upper united mouth of ONU.
7. a kind of service path reduction apparatus, comprising:
Bandwidth remote access server BRAS module is obtained, for finding set-top box service road according to set-top box public network IP address
BRAS on diameter;
Service path recovery module obtains respectively for forwarding VRF using set-top box public network IP address and singlecast router virtual flow-line
It takes convergence switch outgoing interface corresponding with the BRAS on service path, connect on service path with the convergence switch
The static tunnel and service path glazing line terminal OLT and optical network unit ONU of Packet Transport Network PTN incoming interface.
8. device according to claim 7, the acquisition BRAS module is specifically used for being led to according to set-top box public network IP address
The user network segment table that inquiry is preset on BRAS is crossed, the BRAS on set-top box service path is obtained.
9. device according to claim 7, the service path recovery module include:
Reducing medium access control MAC addresses unit, for being turned using set-top box public network IP address and singlecast router virtual flow-line
Hair VRF carries out route querying on the BRAS of the service path, obtains message and encapsulates target MAC (Media Access Control) address, virtual LAN
VLAN and the BRAS MAC Address;
Static tunnel unit is restored, for obtaining on the service path using the message encapsulation purpose MAC and VLAN
Thus the corresponding convergence switch outgoing interface of BRAS finds the PTN connecting on service path with the convergence switch and enters to connect
The static tunnel of mouth;
OLT and OUN unit is restored, for the MAC Address and VLAN using message encapsulation target MAC (Media Access Control) address, BRAS, obtains industry
Be engaged in path on PON mouthfuls of OLT and its OLT passive optical-fiber network, the upper united mouth OLT information and the OLT second line of a couplet optical network unit ONU and
The upper united mouth ONU.
10. device according to claim 9, the reduction MAC Address unit include:
OLT downlink outgoing interface and next-hop ip address subelement are obtained, for according to set-top box public network IP address and preset sheet
Districts and cities singlecast router VRF carries out route querying on BRAS, obtains OLT downlink outgoing interface and next-hop ip address;
The first MAC Address subelement is obtained, for being preset on BRAS by inquiry according to acquired next-hop ip address
Address Resolution Protocol ARP table obtains message encapsulation target MAC (Media Access Control) address and VLAN;
The second MAC Address subelement is obtained, for passing through inquiry connecing on BRAS according to acquired OLT downlink outgoing interface
Mouth MAC Address, obtains the corresponding BRAS MAC Address of the OLT downlink outgoing interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710466002.3A CN109150566B (en) | 2017-06-19 | 2017-06-19 | Service path restoration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710466002.3A CN109150566B (en) | 2017-06-19 | 2017-06-19 | Service path restoration method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109150566A true CN109150566A (en) | 2019-01-04 |
CN109150566B CN109150566B (en) | 2022-07-15 |
Family
ID=64804445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710466002.3A Active CN109150566B (en) | 2017-06-19 | 2017-06-19 | Service path restoration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109150566B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112543122A (en) * | 2020-12-10 | 2021-03-23 | 中盈优创资讯科技有限公司 | Automatic discovery and comparison method and device for IPRAN (internet protocol radio Access network) government and enterprise private line business |
CN112689143A (en) * | 2019-10-17 | 2021-04-20 | 中国移动通信集团浙江有限公司 | Fault management method, device and equipment |
CN113949688A (en) * | 2020-06-29 | 2022-01-18 | 中兴通讯股份有限公司 | MAC address acquisition method and method for restoring service path based on MAC address |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003005195A2 (en) * | 2001-07-03 | 2003-01-16 | Imagine Broadband Limited | Broadband communications |
CN1455563A (en) * | 2003-06-19 | 2003-11-12 | 北京港湾网络有限公司 | Method of distruting network protocol address of distributed wideband connecting-in authenticated node users |
WO2010028588A1 (en) * | 2008-09-10 | 2010-03-18 | 华为技术有限公司 | Method and system for multicast switch |
CN102082979A (en) * | 2011-01-28 | 2011-06-01 | 中兴通讯股份有限公司 | Method and device for realizing home gateway function in passive optical network (PON) |
CN102292953A (en) * | 2011-04-15 | 2011-12-21 | 华为技术有限公司 | Processing method, apparatus and system for restoring network service |
US20120084885A1 (en) * | 2000-04-26 | 2012-04-05 | Nickolai Alexandrov | Promoter, promoter control elements, and combinations, and uses thereof |
CN103139326A (en) * | 2013-03-06 | 2013-06-05 | 中国联合网络通信集团有限公司 | Method, device and system for tracing internet protocol (IP) |
CN103780711A (en) * | 2012-10-18 | 2014-05-07 | 中国电信股份有限公司 | Address assignment method and address assignment system for intelligent access type decision, and AAA system |
CN103916364A (en) * | 2012-12-28 | 2014-07-09 | 中国移动通信集团北京有限公司 | SLA level implement method and system for IMS service group customer |
CN104038362A (en) * | 2013-03-08 | 2014-09-10 | 中国移动通信集团广东有限公司 | Network system |
WO2015000173A1 (en) * | 2013-07-05 | 2015-01-08 | 华为技术有限公司 | Tunnel establishment method, label allocation method, device, and network system |
CN104821913A (en) * | 2015-05-05 | 2015-08-05 | 杭州华三通信技术有限公司 | Data message forwarding method and apparatus |
CN105376339A (en) * | 2014-08-29 | 2016-03-02 | 中国电信股份有限公司 | NAT 444 user tracing method, device, server and system |
-
2017
- 2017-06-19 CN CN201710466002.3A patent/CN109150566B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120084885A1 (en) * | 2000-04-26 | 2012-04-05 | Nickolai Alexandrov | Promoter, promoter control elements, and combinations, and uses thereof |
WO2003005195A2 (en) * | 2001-07-03 | 2003-01-16 | Imagine Broadband Limited | Broadband communications |
CN1455563A (en) * | 2003-06-19 | 2003-11-12 | 北京港湾网络有限公司 | Method of distruting network protocol address of distributed wideband connecting-in authenticated node users |
WO2010028588A1 (en) * | 2008-09-10 | 2010-03-18 | 华为技术有限公司 | Method and system for multicast switch |
CN102082979A (en) * | 2011-01-28 | 2011-06-01 | 中兴通讯股份有限公司 | Method and device for realizing home gateway function in passive optical network (PON) |
CN102292953A (en) * | 2011-04-15 | 2011-12-21 | 华为技术有限公司 | Processing method, apparatus and system for restoring network service |
CN103780711A (en) * | 2012-10-18 | 2014-05-07 | 中国电信股份有限公司 | Address assignment method and address assignment system for intelligent access type decision, and AAA system |
CN103916364A (en) * | 2012-12-28 | 2014-07-09 | 中国移动通信集团北京有限公司 | SLA level implement method and system for IMS service group customer |
CN103139326A (en) * | 2013-03-06 | 2013-06-05 | 中国联合网络通信集团有限公司 | Method, device and system for tracing internet protocol (IP) |
CN104038362A (en) * | 2013-03-08 | 2014-09-10 | 中国移动通信集团广东有限公司 | Network system |
WO2015000173A1 (en) * | 2013-07-05 | 2015-01-08 | 华为技术有限公司 | Tunnel establishment method, label allocation method, device, and network system |
CN105376339A (en) * | 2014-08-29 | 2016-03-02 | 中国电信股份有限公司 | NAT 444 user tracing method, device, server and system |
CN104821913A (en) * | 2015-05-05 | 2015-08-05 | 杭州华三通信技术有限公司 | Data message forwarding method and apparatus |
Non-Patent Citations (3)
Title |
---|
侯锋明等: "PTN在移动回传网络中的应用", 《电信快报》 * |
张勇东等: "PTN技术在邯郸广电城域网改造中的应用", 《光通信研究》 * |
王焕义等: "IP城域网BRAS双机热备份中的路由控制方法", 《电信科学》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112689143A (en) * | 2019-10-17 | 2021-04-20 | 中国移动通信集团浙江有限公司 | Fault management method, device and equipment |
CN113949688A (en) * | 2020-06-29 | 2022-01-18 | 中兴通讯股份有限公司 | MAC address acquisition method and method for restoring service path based on MAC address |
CN112543122A (en) * | 2020-12-10 | 2021-03-23 | 中盈优创资讯科技有限公司 | Automatic discovery and comparison method and device for IPRAN (internet protocol radio Access network) government and enterprise private line business |
Also Published As
Publication number | Publication date |
---|---|
CN109150566B (en) | 2022-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102035729B (en) | Multicast data forwarding method | |
CN101160902B (en) | Data forwarding method and switching arrangement | |
CN100563190C (en) | Realize the method and system of hierarchical virtual private switch service | |
CN101616014B (en) | Method for realizing cross-virtual private local area network multicast | |
CN102082979B (en) | Passive light network realizes method and the device of home gateway functionalities | |
CN100433730C (en) | Method and system of multicast and video-on-demand | |
CN102932254B (en) | Message forwarding method and device | |
CN105991432A (en) | Supplier rim router and method | |
CN103795631B (en) | Deploy the flow forwarding method and equipment in the network of Ethernet virtual link | |
CN104243270A (en) | Tunnel setup method and tunnel setup device | |
CN102932499B (en) | Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks | |
CN103873373A (en) | Multicast data message forwarding method and equipment | |
CN103546381A (en) | Method, device and system for creating bidirectional multicast distribution trees on basis of interior gateway protocol | |
CN105490957A (en) | Load sharing method and device | |
CN102185778A (en) | Method and device for transmitting data based on VLL (Virtual Lease Line) | |
CN108243123A (en) | Processing method, device, controller and the interchanger of broadcasting packet | |
CN104579981B (en) | A kind of multicast data packet forwarding method and apparatus | |
CN106411750B (en) | Data distributing method and system | |
CN109150566A (en) | A kind of service path restoring method and device | |
CN102333024B (en) | The retransmission method of the Frame of VPLS VPLS, equipment and system | |
CN116248587B (en) | High-flux satellite network multicast routing system and method based on software definition | |
CN104579704B (en) | The retransmission method and device of multicast data message | |
CN100484055C (en) | Method for implementing multicast spanning VLAN | |
US20150043329A1 (en) | Proactive Creation of Multicast State in an Overlay Transport Network to Achieve Fast Convergence on Failover | |
CN104468370B (en) | A kind of multicast data packet forwarding method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |