CN108632072A - A kind of method and device of PTN interlayers protection - Google Patents
A kind of method and device of PTN interlayers protection Download PDFInfo
- Publication number
- CN108632072A CN108632072A CN201710184323.4A CN201710184323A CN108632072A CN 108632072 A CN108632072 A CN 108632072A CN 201710184323 A CN201710184323 A CN 201710184323A CN 108632072 A CN108632072 A CN 108632072A
- Authority
- CN
- China
- Prior art keywords
- layer
- alarm
- client
- service layer
- pretection switch
- 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.)
- Withdrawn
Links
Classifications
-
- 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
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- 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/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- 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/0681—Configuration of triggering conditions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of method of PTN interlayers protection, including:Client layer detects alarm, checks that the local service layer that whether has recorded alerts;The client layer such as has recorded service layer's alarm, then continues the timing of preset lag time;As do not recorded service layer's alarm, preset lag time is reset, the pretection switch of this layer is started.The embodiment of the present invention also provides a kind of device of PTN interlayers protection; after the scheme of the embodiment of the present invention enables multilayer protection in PTN network; when either client layer or service layer's failure or both sides are detected simultaneously by failure; every layer can trigger and quickly switch, and business can fast quick-recovery.
Description
Technical field
The present invention relates to network communication technology fields, and in particular to a kind of Packet Transport Network (Packet Transport
Network, abbreviation PTN) interlayer protection method and device.
Background technology
It is higher and higher for the reliability requirement of client traffic with the extensive use of PTN network, major operator for
The requirement of protection is also increasingly paid attention to.PTN device has stratification, can be divided into circuit layer (T-MPLS from top to bottom
(Transport Profile for Multi-Protocol Label Switching, multiprotocol label switching transport frame)
Channel, abbreviation TMC), passage layers (T-MPLS Path, abbreviation TMP) and section layer (T-MPLS Section, abbreviation TMS), visitor
Family layer service (Ethernet, IP (Internet Protocol, Internet Protocol), TDM (Time Division
Multiple, time division multiplexing) or other), physical layer can be any physical medium.TMC and TMP may be respectively referred to as pseudo-wire again
Layer (PW) and tunnel layer, every layer can carry out corresponding protection, these protections include the protection of section layer, the protection of tunnel layer with
And the protection of pseudo-wire layer, these protections can also be applied in combination with individualism, if then when these protections are shared identical
Physical link and can trigger simultaneously respectively when switch, how to avoid the conflict of protectionThe relevant technologies are usually logical
It crosses and causes unnecessary service damage in client layer setting lag time to avoid frequently switching.All such as this two layers of tunnel and pseudo-wire
It is configured with protection, then a lag time just is set in work pseudo-wire, if tunnel and pseudo-wire have been detected simultaneously by failure,
Because being provided with lag time in pseudo-wire, action is not had in pseudo-wire, and tunnel can be switched immediately, end is switched in tunnel
Afterwards, the failure of possible business just disappears, at this point, there is no need to pseudo-wires to switch again.But if only pseudo-wire detects
Failure, because being provided with lag time in pseudo-wire, pseudo-wire is also to switch immediately, it is necessary to until lag time is 0
When, it can just start and switch, thus extend the break period of business in a disguised form.
Know that lag time can well solve interlayer switches collision problem from the description above, but if failure itself
Just only in client layer, and when service layer is that there is no problem, due to the lag time of client layer setting, then client layer is switched
It cannot start immediately, increase the time of business recovery on the whole.
Invention content
The embodiment of the present invention provides a kind of method and device of Packet Transport Network interlayer protection, is quickly switched with triggering.
A kind of method of PTN interlayers protection, including:
Client layer detects alarm, checks that the local service layer that whether has recorded alerts;
The client layer such as has recorded service layer's alarm, then continues the timing of preset lag time;As do not recorded service
Layer alarm, preset lag time is reset, the pretection switch of this layer is started.
Optionally, before the client layer such as has recorded service layer's alarm, further include:
The service layer such as detects alarm, starts the pretection switch of this layer, and send alarm notification to the client layer
Message;
The client layer is to record service layer's alarm after receiving the alarm notification message.
Optionally, the service layer detects alarm, after the pretection switch for starting this layer, further includes:
The service layer is by client layer described in pretection switch result notice.
Optionally, the client layer such as has recorded service layer's alarm, then continues the process of the timing of preset lag time
In, including:
Success notification is switched by client layer service layer as received, then removes the service layer's alarm recorded before,
The preset lag time is reset, this alarming processing terminates;Mistake is switched by client layer service layer as received
Notice is lost, then removes the service layer's alarm recorded before, the preset lag time is reset, the protection for starting this layer is fallen
It changes.
A kind of device of PTN interlayers protection, including:Client layer module and service layer's module, wherein
The client layer module checks that the local service layer that whether has recorded alerts, such as records after detecting alarm
Service layer's alarm, then continue the timing of preset lag time;As do not recorded service layer's alarm, then by preset lag time
It resets, starts the pretection switch of this layer.
Optionally, service layer's module starts the pretection switch of this layer for such as detecting alarm, and to the visitor
Family layer sends alarm notification message;
The client layer module is the alarm that the service layer is recorded after receiving the alarm notification message.
Optionally, service layer's module, is additionally operable to after starting the pretection switch of this layer, by pretection switch result notice institute
State client layer.
Optionally, the client layer module such as has recorded service layer's alarm, then continues the timing of preset lag time
Include in the process:As received, success notification is switched by service layer, then removes the service layer's alarm recorded before, will be described pre-
If lag time reset, this alarming processing terminates;Failure notification is switched by client layer service layer as received, then
The service layer's alarm recorded before is removed, the preset lag time is reset, the pretection switch of this layer is started.
A kind of device of PTN interlayers protection, including memory and processor, wherein
The memory is stored with after client layer detects alarm, checks local whether has recorded service layer's alarm;Institute
It states client layer and such as has recorded service layer's alarm, then continue the timing of preset lag time;As do not recorded service layer's alarm, then will
Preset lag time is reset, and starts the pretection switch of this layer;
The processor, the instruction for executing the memory storage.
Optionally, the memory is also stored with following instruction:The client layer such as has recorded before service layer's alarm
Further include:The service layer such as detects alarm, starts the pretection switch of this layer, and send alarm notification to the client layer and disappear
Breath;The client layer is to record service layer's alarm after receiving the alarm notification message.
Optionally, the memory is also stored with following instruction:The service layer detects alarm, starts this layer
After pretection switch, further include:The service layer is by client layer described in pretection switch result notice.
Optionally, the memory is also stored with following instruction:The client layer such as has recorded service layer's alarm, then
During the timing for continuing preset lag time, including:Switching for client layer service layer as received successfully is led to
Know, then removes the service layer's alarm recorded before, the preset lag time is reset, this alarming processing terminates;It is described
Failure notification is switched by client layer service layer as received, then removes the service layer's alarm recorded before, will be described preset
Lag time is reset, and starts the pretection switch of this layer.
A kind of method of PTN interlayers protection, including:
After service layer detects alarm, start the pretection switch of this layer, and alarm notification message is sent to the client layer;
The client layer records the alarm of the service layer after receiving the alarm notification message;
By client layer described in pretection switch result notice, it is logical that the client layer receives pretection switch result for the service layer
After knowing, the alarm record of the service layer is removed, whether alarm is detected according to the pretection switch result and the client layer
Decide whether to carry out this layer switches processing.
Optionally, whether the client layer detects that alarm determines to be according to the pretection switch result and the client layer
It is no carry out this layer processing of switching include:
If the pretection switch is the result is that switch success, and alarm is not detected in the client layer, then the service layer
Protection path establishes binding relationship with the work pseudo-wire of client layer automatically, the pretection switch without this layer;Otherwise the client
Layer resets preset lag time, starts the pretection switch of this layer.
A kind of device of PTN interlayers protection, including:Client layer module and service layer's module, wherein
Service layer's module starts the pretection switch of this layer, and send to the client layer after detecting alarm
Alarm notification message;By client layer module described in pretection switch result notice;
The client layer module, for after receiving the alarm notification message, recording the alarm of the service layer;It connects
After receiving pretection switch result notice, the alarm record of the service layer is removed, according to the pretection switch result and the visitor
Whether family layer detects that alarm decided whether to carry out this layer switches processing.
Optionally, whether the client layer module detects alarm according to the pretection switch result and the client layer
Decide whether that the processing of switching for carrying out this layer includes:If the pretection switch is the result is that switch success, and the client layer is not examined
Alarm is measured, then the protection path of the service layer establishes binding relationship with the work pseudo-wire of client layer automatically, without this layer
Pretection switch;Otherwise the client layer resets preset lag time, starts the pretection switch of this layer.
A kind of device of PTN interlayers protection, including memory and processor, wherein
The memory is stored with to give an order:After service layer detects alarm, start the pretection switch of this layer, and to
The client layer sends alarm notification message;The client layer records the service after receiving the alarm notification message
The alarm of layer;Client layer described in pretection switch result notice, the client layer are received pretection switch result by the service layer
After notice, the alarm record of the service layer is removed, whether announcement is detected according to the pretection switch result and the client layer
It is alert decide whether to carry out this layer switch processing;
The processor, the instruction for executing the memory storage.
To sum up, the embodiment of the present invention provides a kind of method and device of Packet Transport Network interlayer protection, is opened in PTN network
After being protected with multilayer, when either client layer or service layer's failure or both sides are detected simultaneously by failure, often
Layer, which can trigger, quickly to be switched, the fast quick-recovery of business energy, and concrete implementation is to combine the application of lag time and alarm breeding
Come realize each layer quickly switch, meet the common index of pretection switch 50ms.
Description of the drawings
Fig. 1 is the flow chart for the method that a kind of PTN interlayers of the embodiment of the present invention one are protected.
Fig. 2 is the flow chart for the method that a kind of PTN interlayers of the embodiment of the present invention two are protected.
Fig. 3 is the flow chart for the method that a kind of PTN interlayers of the embodiment of the present invention three are protected.
Fig. 4 enables the network diagram of protection for the PTN tunnel layers and pseudo-wire layer of the embodiment of the present invention.
Fig. 5 is the network diagram after the work tunnel failure of the embodiment of the present invention five.
Fig. 6 is the network diagram after the work pseudo-lines fault of the embodiment of the present invention six.
The work tunnel and the network diagram after protection path all failures that Fig. 7 is the embodiment of the present invention seven.
Fig. 8 is the schematic diagram for the device that a kind of PTN interlayers of the embodiment of the present invention eight are protected.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature mutually can arbitrarily combine.
The embodiment of the present invention needs four primary conditions:
The protected mode of oneself has been respectively configured in service layer and client layer;
Service layer and client layer are separately turned on the OAM (Operation And Maintenance, operation and maintenance) of this layer
Detection;
Alarm breeding function is opened in service layer:Alarm is detected, need to just be bred to client layer, be switched and have failed,
It is also required to breed to client layer;
In client layer setting lag time (ranging from 0~10s, step-length 100ms).
Embodiment one
Fig. 1 is the flow chart for the method that a kind of PTN interlayers of the embodiment of the present invention are protected, as shown in Figure 1, the present embodiment
Method includes:
After step 11, client layer detect alarm, check that the local service layer that whether has recorded alerts;
Step 12, the client layer such as have recorded service layer's alarm, then continue the timing of preset lag time;As do not remembered
Service layer's alarm is recorded, then preset lag time is reset, starts the pretection switch of this layer.
If the method for the present embodiment can solve failure inherently only in client layer, and when service layer is that there is no problem
It waits, due to the lag time of client layer setting, then client layer switches the problem of cannot starting immediately, accelerates business recovery
Time.
Embodiment two
Fig. 2 is the flow chart for the method that a kind of PTN interlayers of the embodiment of the present invention are protected, as shown in Fig. 2, the present embodiment
Method includes:
After step 21, service layer detect alarm, start the pretection switch of this layer, and send alarm to the client layer and lead to
Know message;The client layer records the alarm of the service layer after receiving the alarm notification message;
By client layer described in pretection switch result notice, the client layer receives protection and falls for step 22, the service layer
After changing result notice, the alarm record of the service layer is removed, whether is examined according to the pretection switch result and the client layer
Measure that alarm decides whether to carry out this layer switches processing.
Wherein, whether the client layer detects that alarm decides whether according to the pretection switch result and the client layer
The processing of switching for carrying out this layer includes:
If the pretection switch is the result is that switch success, and alarm is not detected in the client layer, then the service layer
Protection path establishes binding relationship with the work pseudo-wire of client layer automatically, the pretection switch without this layer;
If the pretection switch is the result is that switch success, and the client layer detects alarm, then the client layer will be pre-
If lag time reset, start the pretection switch of this layer;
Such as the pretection switch the result is that switching unsuccessfully, and alarm is not detected in the client layer, then the client layer will
Preset lag time is reset, and starts the pretection switch of this layer;
If the pretection switch is the result is that switch unsuccessfully, and the client layer detects alarm, then the client layer will be pre-
If lag time reset, start the pretection switch of this layer.
In the present embodiment, after service layer detects alarm and pretection switch, client layer is all notified in time, such client layer is just
It can start immediately and switch, without waiting until that lag time timing terminates to carry out switching processing again, accelerate the time of business recovery.
Embodiment three
As shown in figure 3, a kind of method of PTN interlayers protection of the present embodiment includes the following steps:
If step 101, service layer detect alarm, service layer starts the pretection switch of oneself this layer immediately, and
By the alarm detected alert breed by way of simultaneously notify to client layer, go to step 102;
Step 102, client layer only record the alarm of service layer's notice, go to step 103;
If success is switched by step 103, service layer, client layer alarm is notified to disappear, client layer removing records before
Service layer alerts, this alarming processing terminates;If service layer switches unsuccessfully, 104 are gone to step.
Step 104, service layer can notify the pretection switch of client layer oneself to have failed by way of alerting and breeding, visitor
After family layer receives the message, the service layer's alarm recorded before, while the lag time clear 0 that oneself is arranged are removed, and at once
Start the pretection switch of this layer, the coordination that interlayer is switched terminates.
The breeding of TPOAM refers to service layer and a kind of relationship that client layer is established, when there is alarm in service layer, with this
The client layer that service layer establishes breeding relationship will perceive, this client layer will inhibit this layer of other alarm, until service
The alarm of layer is eliminated.The breeding relationship of TPOAM has following several:Port is to section layer, section layer to tunnel layer, tunnel layer to pseudo-wire
Layer, is transmitted by OAM message.
Step 105 detects alarm if it is client layer, goes to step 106;
Whether step 106, client layer inspection locally have the alarm of record service layer, if had recorded, client layer is not necessarily to
Processing (because service layer can first be switched at this time);If the local alarm without recording service layer, client layer will be arranged
Lag time clear 0, start the pretection switch of this layer at once, the coordination that interlayer is switched terminates.
The method of the present embodiment, in the PTN system protected with stratification, when by using alarm breeding and sluggishness
Between, it breaks down or when both sides are detected simultaneously by failure no matter reaching client layer or service layer, it can immediately quickly
The purpose switched.Concrete implementation can realize quickly switching for each layer in conjunction with the application of lag time and alarm breeding, full
Foot protection switches the common index of 50ms.
In following embodiment, using tunnel as service layer, for pseudo-wire is as client layer, but this programme be not limited to tunnel and
The interlayer of pseudo-wire is protected, but supports that all interlayer protections with service layer and client layer relationship are (as section layer is made in PTN network
For service layer, tunnel is as client layer etc.).
In Fig. 4, business arrives PE2 from PE (Provider Edge, service provider edge devices) 1, while enabling tunnel
Road 1:1 protection and pseudo-wire 1:1 protection (lag time of pseudo-wire protection group is set as 100ms), at this point, service layer is tunnel, visitor
Family layer is pseudo-wire, wherein the paths work tunnel Tunnel_W are PE1---->P1---->The path PE2, protection path Tunnel_P
For PE1---->P2---->PE2;The paths pseudo-wire PW_W work as PE1---->P1---->The path PE2, protection pseudo-wire PW_P is
PE1---->The tunnel of PE2, carrying protection pseudo-wire are Tunnel_S.
Before failure, business uses work tunnel Tunnel_W and work pseudo-wire PW_W (dotted line in Fig. 4).
Example IV
In the present embodiment, work tunnel detects that alarm, work pseudo-wire do not detect alarm, include the following steps:
Step 201, work tunnel Tunnel_W notify work pseudo-wire PW_W that " Tunnel testing has arrived announcement by alerting to breed
It is alert ", the work pseudo-wire PW_W Startup hysteresis times start timing, and work pseudo-wire PW_W records alarm.
Step 202, work tunnel Tunnel_W are immediately switched to protection path Tunnel_P, switch success, and work pseudo-wire
Automatic and protection path Tunnel_P is established binding relationship by PW_W, and the walked path of business is shown in dotted line in Fig. 6.
Step 203, work tunnel Tunnel_W notice work pseudo-wires PW_W " tunnel alarm disappears ", work pseudo-wire PW_W will
Alarm identifier is removed, and the lag time clear 0 of setting, flow terminates.
Embodiment five
In the present embodiment, work tunnel and protection path all detect alarm, and work pseudo-wire does not detect alarm, wraps
Include following steps:
Step 301, work tunnel Tunnel_W notify work pseudo-wire PW_W that " Tunnel testing has arrived announcement by alerting to breed
It is alert ", the work pseudo-wire PW_W Startup hysteresis times start timing, and work pseudo-wire PW_W records alarm.
Step 302, work tunnel Tunnel_W are immediately switched to protection path Tunnel_P.
Step 303, work tunnel Tunnel_W are switched unsuccessfully (because protection path is also faulty at this time), are bred by alerting
Notify work pseudo-wire PW_W " work tunnel is switched unsuccessfully ".
Step 304, work pseudo-wire PW_W remove " Tunnel testing has arrived alarm " of local record, and when by the sluggishness of setting
Between clear 0, start switching for oneself at once, will work pseudo-wire PW_W be switched to protection PW_P on, the walked path of business be Fig. 5 in void
Shown in line.
Whether step 305 succeeds regardless of work pseudo-wire PW_W is switched, and the process of interlayer protection has all terminated, if work
Pseudo-wire PW_W switches success, then business is protected in time, if work pseudo-wire PW_W is switched unsuccessfully, traffic failure.
Embodiment six
In the present embodiment, work tunnel does not detect that alarm, work pseudo-wire detect alarm, include the following steps:
Step 401, work pseudo-wire PW_W detect that alarm, work pseudo-wire PW_W check that oneself does not locally have " Tunnel testing
Arrived alarm " record, immediately by the lag time clear 0 that oneself is arranged, start it is local switches, work pseudo-wire PW_W is switched to
Protect pseudo-wire PW_P.
If step 402, work pseudo-wire PW_W switch success, the path of business is PE1--->Void in PE2, i.e. Fig. 6
Line, at this point, the pseudo-wire of bearer service is PW_P, tunnel is Tunnel_S.
Embodiment seven
In the present embodiment, work tunnel and work pseudo-wire have been detected simultaneously by alarm, include the following steps:
Step 501, work tunnel Tunnel_W notify work pseudo-wire PW_W that " Tunnel testing has arrived announcement by alerting to breed
It is alert ", the work pseudo-wire PW_W Startup hysteresis times start timing, and work pseudo-wire PW_W records alarm.
Step 502, work tunnel Tunnel_W are immediately switched to protection path Tunnel_P, if switching success, turn step
Rapid 503;If switched unsuccessfully, 504 are gone to step.
Automatic and protection path Tunnel_P is established binding relationship, the walked path of business by step 503, work pseudo-wire PW_W
Shown in dotted line in Fig. 5, meanwhile, work tunnel Tunnel_W notice work pseudo-wires PW_W " tunnel alarm disappears ", work pseudo-wire
PW_W removes alarm identifier, and the lag time clear 0 of setting, flow terminates
Step 504, work tunnel Tunnel_W are switched unsuccessfully, and notice work pseudo-wire PW_W " work tunnels are bred by alerting
Switch unsuccessfully in road ", then go to step 505.
Step 505, work pseudo-wire PW_W remove " Tunnel testing has arrived alarm " of local record, and when by the sluggishness of setting
Between clear 0, start switching for oneself at once, will work pseudo-wire PW_W be switched to protection PW_P on, service path PE1-->PE2,
As shown in phantom in Figure 7.
Whether step 506 succeeds regardless of work pseudo-wire PW_W is switched, and the process of interlayer protection has all terminated, if work
Pseudo-wire PW_W switches success, then business is protected in time, if work pseudo-wire PW_W is switched unsuccessfully, traffic failure.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored with computer executable instructions,
The computer executable instructions are performed the method for realizing the PTN interlayers protection.
Embodiment eight
Fig. 8 is the schematic diagram for the device that a kind of PTN interlayers of the embodiment of the present invention are protected, as shown in figure 8, the present embodiment
Device may include:Client layer module and service layer's module, wherein
The client layer module checks that the local service layer that whether has recorded alerts, such as records after detecting alarm
Service layer's alarm, then continue the timing of preset lag time;As do not recorded service layer's alarm, then by preset lag time
It resets, starts the pretection switch of this layer.
In one embodiment, service layer's module starts the pretection switch of this layer for such as detecting alarm, and to
The client layer sends alarm notification message;
The client layer module is to record service layer's alarm after receiving the alarm notification message.
In one embodiment, service layer's module, is additionally operable to after starting the pretection switch of this layer, by pretection switch result
Notify the client layer.
In one embodiment, the client layer module such as has recorded service layer's alarm, then continues preset lag time
Include during timing:As received, success notification is switched by service layer, then removes the service layer's alarm recorded before, will
The preset lag time is reset, this alarming processing terminates;Client layer service layer as received switches unsuccessfully
Notice then removes the service layer's alarm recorded before, the preset lag time is reset, the pretection switch of this layer is started.
The present embodiment also provides a kind of device of PTN interlayers protection, including memory and processor, wherein
The memory is stored with after client layer detects alarm, checks local whether has recorded service layer's alarm;Institute
It states client layer and such as has recorded service layer's alarm, then continue the timing of preset lag time;As do not recorded service layer's alarm, then will
Preset lag time is reset, and starts the pretection switch of this layer;
The processor, the instruction for executing the memory storage.
In one embodiment, the memory is also stored with following instruction:The client layer such as has recorded service layer's announcement
Further include before alert:The service layer such as detects alarm, starts the pretection switch of this layer, and send and alert to the client layer
Notification message;The client layer is to record service layer's alarm after receiving the alarm notification message.
In one embodiment, the memory is also stored with following instruction:The service layer detects alarm, starts
After this layer of pretection switch, further include:The service layer is by client layer described in pretection switch result notice.
In one embodiment, the memory is also stored with following instruction:The client layer such as has recorded service layer's announcement
It is alert, then during the timing for continuing preset lag time, including:Client layer service layer as received switches into
Work(notifies, then removes the service layer's alarm recorded before, the preset lag time is reset, this alarming processing terminates;
Failure notification is switched by client layer service layer as received, then removes the service layer's alarm recorded before, will be described pre-
If lag time reset, start the pretection switch of this layer.
Embodiment nine
A kind of device of the PTN interlayers protection of the present embodiment, and embodiment Aug. 1st sample, including:Client layer module and service
Layer module, wherein
Service layer's module starts the pretection switch of this layer, and send to the client layer after detecting alarm
Alarm notification message;By client layer module described in pretection switch result notice;
The client layer module, for after receiving the alarm notification message, recording the alarm of the service layer;It connects
After receiving pretection switch result notice, the alarm record of the service layer is removed, according to the pretection switch result and the visitor
Whether family layer detects that alarm decided whether to carry out this layer switches processing.
In one embodiment, whether the client layer module detects according to the pretection switch result and the client layer
Decide whether that the processing of switching for carrying out this layer includes to alarm:Such as the pretection switch the result is that switching success, and the client
Layer alarm is not detected, then the protection path of the service layer establishes binding relationship with the work pseudo-wire of client layer automatically, not into
The pretection switch of this layer of row;Otherwise the client layer resets preset lag time, starts the pretection switch of this layer.
The present embodiment also provides a kind of device of PTN interlayers protection, including memory and processor, wherein
The memory is stored with to give an order:After service layer detects alarm, start the pretection switch of this layer, and to
The client layer sends alarm notification message;The client layer records the service after receiving the alarm notification message
The alarm of layer;Client layer described in pretection switch result notice, the client layer are received pretection switch result by the service layer
After notice, the alarm record of the service layer is removed, whether announcement is detected according to the pretection switch result and the client layer
It is alert decide whether to carry out this layer switch processing;
The processor, the instruction for executing the memory storage.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program
Related hardware is completed, and described program can be stored in computer readable storage medium, such as read-only memory, disk or CD
Deng.Optionally, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly
Ground, the form that hardware may be used in each module/unit in above-described embodiment are realized, the shape of software function module can also be used
Formula is realized.The present invention is not limited to the combinations of the hardware and software of any particular form.
It these are only the preferred embodiment of the present invention, certainly, the invention may also have other embodiments, without departing substantially from this
In the case of spirit and its essence, those skilled in the art make various corresponding changes in accordance with the present invention
And deformation, but these corresponding change and deformations should all belong to the protection domain of appended claims of the invention.
Claims (17)
1. a kind of method of PTN interlayers protection, including:
Client layer detects alarm, checks that the local service layer that whether has recorded alerts;
The client layer such as has recorded service layer's alarm, then continues the timing of preset lag time;As do not recorded service layer's announcement
It is alert, preset lag time is reset, the pretection switch of this layer is started.
2. the method as described in claim 1, it is characterised in that:Before the client layer such as has recorded service layer's alarm, also wrap
It includes:
The service layer such as detects alarm, starts the pretection switch of this layer, and send alarm notification message to the client layer;
The client layer is to record service layer's alarm after receiving the alarm notification message.
3. method as claimed in claim 2, it is characterised in that:The service layer detects alarm, and the protection for starting this layer is fallen
After changing, further include:
The service layer is by client layer described in pretection switch result notice.
4. method as claimed in claim 3, it is characterised in that:The client layer such as has recorded service layer's alarm, then continues pre-
If lag time timing during, including:
Success notification is switched by client layer service layer as received, then the service layer's alarm recorded before is removed, by institute
It states preset lag time to reset, this alarming processing terminates;Switching for client layer service layer as received unsuccessfully is led to
Know, then removes the service layer's alarm recorded before, the preset lag time is reset, the pretection switch of this layer is started.
5. a kind of device of PTN interlayers protection, which is characterized in that including:Client layer module and service layer's module, wherein
The client layer module checks that the local service layer that whether has recorded alerts, such as has recorded clothes after detecting alarm
Business layer alarm, then continue the timing of preset lag time;It is as do not recorded service layer's alarm, then preset lag time is clear
Zero, start the pretection switch of this layer.
6. device as claimed in claim 5, it is characterised in that:
Service layer's module starts the pretection switch of this layer, and send and alert to the client layer for such as detecting alarm
Notification message;
The client layer module is the alarm that the service layer is recorded after receiving the alarm notification message.
7. device as claimed in claim 6, it is characterised in that:
Service layer's module, is additionally operable to after starting the pretection switch of this layer, by client layer described in pretection switch result notice.
8. device as claimed in claim 7, it is characterised in that:
The client layer module such as has recorded service layer's alarm, then includes during the timing for continuing preset lag time:
As received, success notification is switched by service layer, then removes the service layer's alarm recorded before, will the preset sluggishness when
Between reset, this alarming processing terminates;Failure notification is switched by client layer service layer as received, then remembers before removing
The service layer of record alerts, and the preset lag time is reset, the pretection switch of this layer is started.
9. a kind of device of PTN interlayers protection, including memory and processor, which is characterized in that
The memory is stored with after client layer detects alarm, checks local whether has recorded service layer's alarm;The visitor
Family layer such as has recorded service layer's alarm, then continues the timing of preset lag time;As do not recorded service layer's alarm, then will preset
Lag time reset, start the pretection switch of this layer;
The processor, the instruction for executing the memory storage.
10. device as claimed in claim 9, it is characterised in that:
The memory is also stored with following instruction:The client layer such as has recorded service layer's alarm:It is described
Service layer such as detects alarm, starts the pretection switch of this layer, and send alarm notification message to the client layer;The client
Layer is to record service layer's alarm after receiving the alarm notification message.
11. device as claimed in claim 10, it is characterised in that:
The memory is also stored with following instruction:The service layer detects alarm, after the pretection switch for starting this layer,
Further include:The service layer is by client layer described in pretection switch result notice.
12. device as claimed in claim 11, it is characterised in that:
The memory is also stored with following instruction:The client layer such as has recorded service layer's alarm, then it is preset slow to continue
During the timing of stagnant time, including:Success notification is switched by client layer service layer as received, then before removing
The service layer of record alerts, and the preset lag time is reset, this alarming processing terminates;The client layer such as receives
Failure notification is switched by service layer of institute, then removes the service layer's alarm recorded before, the preset lag time is reset, is opened
Move the pretection switch of this layer.
13. a kind of method of PTN interlayers protection, including:
After service layer detects alarm, start the pretection switch of this layer, and alarm notification message is sent to the client layer;It is described
Client layer records the alarm of the service layer after receiving the alarm notification message;
Client layer described in pretection switch result notice, the client layer are received pretection switch result notice by the service layer
Afterwards, whether the alarm record for removing the service layer, detect that alarm is determined according to the pretection switch result and the client layer
Whether carry out this layer calmly switches processing.
14. method as claimed in claim 13, it is characterised in that:The client layer is according to the pretection switch result and described
Whether client layer detects that alarm decides whether that the processing of switching for carrying out this layer includes:
Such as the pretection switch the result is that switching success, and alarm is not detected in the client layer, then the protection of the service layer
Binding relationship is established in tunnel with the work pseudo-wire of client layer automatically, the pretection switch without this layer;Otherwise the client layer will
Preset lag time is reset, and starts the pretection switch of this layer.
15. a kind of device of PTN interlayers protection, which is characterized in that including:Client layer module and service layer's module, wherein
Service layer's module starts the pretection switch of this layer, and send and alert to the client layer after detecting alarm
Notification message;By client layer module described in pretection switch result notice;
The client layer module, for after receiving the alarm notification message, recording the alarm of the service layer;It receives
After pretection switch result notice, the alarm record of the service layer is removed, according to the pretection switch result and the client layer
Whether detect that alarm decided whether to carry out this layer switches processing.
16. device as claimed in claim 15, it is characterised in that:
Whether the client layer module detects that alarm decides whether to carry out according to the pretection switch result and the client layer
This layer of processing of switching includes:If the pretection switch is the result is that switch success, and alarm is not detected in the client layer, then institute
The protection path for stating service layer establishes binding relationship with the work pseudo-wire of client layer automatically, the pretection switch without this layer;It is no
Then the client layer resets preset lag time, starts the pretection switch of this layer.
17. a kind of device of PTN interlayers protection, including memory and processor, which is characterized in that
The memory is stored with to give an order:After service layer detects alarm, start the pretection switch of this layer, and to described
Client layer sends alarm notification message;The client layer records the service layer after receiving the alarm notification message
Alarm;Client layer described in pretection switch result notice, the client layer are received pretection switch result notice by the service layer
Afterwards, whether the alarm record for removing the service layer, detect that alarm is determined according to the pretection switch result and the client layer
Whether carry out this layer calmly switches processing;
The processor, the instruction for executing the memory storage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710184323.4A CN108632072A (en) | 2017-03-24 | 2017-03-24 | A kind of method and device of PTN interlayers protection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710184323.4A CN108632072A (en) | 2017-03-24 | 2017-03-24 | A kind of method and device of PTN interlayers protection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108632072A true CN108632072A (en) | 2018-10-09 |
Family
ID=63706823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710184323.4A Withdrawn CN108632072A (en) | 2017-03-24 | 2017-03-24 | A kind of method and device of PTN interlayers protection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108632072A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112003715A (en) * | 2019-05-27 | 2020-11-27 | 烽火通信科技股份有限公司 | End-to-end service alarm state monitoring method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499820A (en) * | 2008-02-01 | 2009-08-05 | 华为技术有限公司 | Protection method for service transmission and network appliance |
CN101621497A (en) * | 2008-06-30 | 2010-01-06 | 华为技术有限公司 | Method and system for service protection in multiple layers of networks |
US20110320857A1 (en) * | 2010-06-23 | 2011-12-29 | Electronics And Telecommunications Research Institute | Bottom-up multilayer network recovery method based on root-cause analysis |
WO2017028586A1 (en) * | 2015-08-19 | 2017-02-23 | ***通信集团公司 | Service message multicast method and device |
-
2017
- 2017-03-24 CN CN201710184323.4A patent/CN108632072A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499820A (en) * | 2008-02-01 | 2009-08-05 | 华为技术有限公司 | Protection method for service transmission and network appliance |
CN101621497A (en) * | 2008-06-30 | 2010-01-06 | 华为技术有限公司 | Method and system for service protection in multiple layers of networks |
US20110320857A1 (en) * | 2010-06-23 | 2011-12-29 | Electronics And Telecommunications Research Institute | Bottom-up multilayer network recovery method based on root-cause analysis |
WO2017028586A1 (en) * | 2015-08-19 | 2017-02-23 | ***通信集团公司 | Service message multicast method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112003715A (en) * | 2019-05-27 | 2020-11-27 | 烽火通信科技股份有限公司 | End-to-end service alarm state monitoring method and system |
CN112003715B (en) * | 2019-05-27 | 2022-09-13 | 烽火通信科技股份有限公司 | End-to-end service alarm state monitoring method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7773877B2 (en) | Method for handling channel failures in an automatically switched optical network | |
US9521055B2 (en) | Network connectivity management | |
JP5426770B2 (en) | Method and apparatus in a telecommunications network | |
CN101345663B (en) | Heartbeat detection method and heartbeat detection apparatus | |
US9270485B2 (en) | Method for ethernet ring protection | |
EP2528272A1 (en) | Dual-attached protection switching method based on vpls and system thereof | |
CA2568219A1 (en) | Method and devices for implementing group protection in mpls network | |
CN101695036B (en) | Method and device for detecting IRF links | |
US8804485B2 (en) | Method and apparatus for coordinating fault recovery techniques among domains | |
PT1793530E (en) | A protection switching method of a multi-protocol label switching network | |
CN101789879B (en) | Dynamic maintenance method and device for related link circuits | |
CN100461706C (en) | Method for recovering sponsor media accessing control address and operation businesss edge apparatus | |
EP2866394A1 (en) | Method and device for sending inter-domain fault information | |
EP2613477B1 (en) | Method for triggering route switching and service provider-end provider edge device | |
CN106685682A (en) | Fault processing method, network device and system | |
WO2015109734A1 (en) | Pseudo wire protection method, device and node | |
US9013985B2 (en) | Protection of a bidirectional label switched path | |
CN108632072A (en) | A kind of method and device of PTN interlayers protection | |
CN105515970B (en) | A kind of method and apparatus being used for transmission message | |
CN107431655B (en) | Method and apparatus for fault propagation in segment protection | |
JP5012485B2 (en) | Redundancy method and switch device | |
EP2892180A1 (en) | Service traffic protection method and apparatus | |
CN101138256A (en) | Cooperative method for protection recovery between layered network in automatic exchange optical network | |
CN108259325B (en) | Route maintenance method and route equipment | |
CN107040392B (en) | Pseudo wire dual-homing protection management method and communication equipment |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20181009 |
|
WW01 | Invention patent application withdrawn after publication |