CN106375208A - Network path switching method and apparatus - Google Patents
Network path switching method and apparatus Download PDFInfo
- Publication number
- CN106375208A CN106375208A CN201510428335.8A CN201510428335A CN106375208A CN 106375208 A CN106375208 A CN 106375208A CN 201510428335 A CN201510428335 A CN 201510428335A CN 106375208 A CN106375208 A CN 106375208A
- Authority
- CN
- China
- Prior art keywords
- network path
- information
- veneer
- line
- detection information
- 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
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a network path switching method. When off-line information sent by a main control unit is received, an on-line single board obtains corresponding slot position information based on the off-line information; the on-line single board obtains bidirectional forwarding detection information corresponding to the slot position information; according to a preset mapping relationship between bidirectional forwarding detection information and a network path identifier, the on-line single board obtains a network path identifier corresponding to the determined bidirectional forwarding detection information; and the on-line single board switches a current network path of an off-line single board to a network path corresponding to the network path identifier. In addition, the invention also discloses a network path switching apparatus. Therefore, the network path switching speed can be increased.
Description
Technical field
The present invention relates to network communication field, more particularly, to a kind of network path switching method and apparatus.
Background technology
With the development of the network communications technology, typical l2vpn network (Layer 2 virtual private network) at present
Or it will usually dispose multi-level Protection path in l3vpn network (Layer3 Virtual Private Network), than
As pw layer (pseudo wire, edge router between point-to-point connection) Protection path, tunnel
Layer Protection path, link layer Protection path etc., when breaking down for network path, can be by network road
Footpath is switched in the Protection path of deployment.
Under normal circumstances, the connection that bfd (two-way converting detection) agreement carrys out quick detection network path can be disposed
Property, and existing detection mode is all that bfd is deployed on veneer, the bfd being sent by online veneer
Message realizes the connectedness that timing detects network path, and when detecting that network path abnormal, quickly
Be switched in Protection path, and when veneer is in off-line state, offline veneer cannot handover network path,
The network path of offline veneer can only be switched to by online veneer by master control, and master control belongs to top level control
Face, network path is in bottom forwarding surface, and the speed of master control controlling network path switching is slow, such as cannot expire
The performance of handoffs of sufficient carrier class 50ms.
Content of the invention
Present invention is primarily targeted at proposing a kind of network path switching method and apparatus it is intended to solve single
When plate is in off-line state, the slow technical problem of the switch speed of network path.
For achieving the above object, a kind of network path changing method that the present invention provides, described network path
Changing method comprises the following steps:
When receiving the information off-line of master control transmission, online veneer is based on described information off-line and obtains correspondence
Groove position information;
Described online veneer obtains the corresponding two-way converting detection information of described groove position information;
According to the mapping relations of default two-way converting detection information and network path mark, described online list
Plate obtains the two-way converting detection information corresponding network path mark determining;
It is right that described offline veneer current network path is switched to described network path mark by described online veneer
In the network path answered.
Preferably, when the described network path mark obtaining includes multiple, described online veneer will be described
Offline veneer current network path is switched to described network path and identifies the step bag in corresponding network path
Include:
Described online veneer determines that each network path identifies the priority of corresponding network path;
Described offline veneer current network path is switched to the high network path of priority by described online veneer
In.
Preferably, described when receiving the information off-line of master control transmission, online veneer is based on described offline
Before the step of acquisition of information corresponding groove position information, described network path changing method includes:
In initialization, triggering information off-line receives instruction to enter information off-line reception pattern to described terminal;
Or when the information off-line receiving user input receives instruction, described terminal enters information off-line
Reception pattern.
Preferably, described when receiving the information off-line of master control transmission, online veneer is based on described offline
Before the step of acquisition of information corresponding groove position information, described network path changing method includes:
Described online veneer receives the two-way of all veneers in its routing device being located that described master control sends
Forward detection information;
The described two-way converting detection information that described online veneer storage receives.
Preferably, described two-way converting detection information is by described master control in described two-way converting detection information more
Send to described online veneer when new.
Additionally, for achieving the above object, the present invention also proposes a kind of network path switching device, described net
Network path switching device includes:
Acquisition module, for when receiving the information off-line of master control transmission, being obtained based on described information off-line
Take corresponding groove position information;
Described acquisition module, is additionally operable to obtain the corresponding two-way converting detection information of described groove position information;
Described acquisition module, is additionally operable to according to default two-way converting detection information and network path mark
Mapping relations, obtain the two-way converting detection information corresponding network path mark determining;
Handover module, for being switched to described network path mark by described offline veneer current network path
In corresponding network path.
Preferably, when the described network path mark obtaining includes multiple, described handover module includes:
Determining unit, for determining the priority of each network path corresponding network path of mark;
Switch unit, for being switched to the high network road of priority by described offline veneer current network path
In footpath.
Preferably, described network path switching device also includes:
Pretreatment module, in initialization, triggering information off-line receives instruction to enter information off-line
Reception pattern;Or when the information off-line receiving user input receives instruction, enter information off-line and connect
Receipts pattern.
Preferably, described network path switching device also includes:
Receiver module, for receiving the double of all veneers in its routing device being located that described master control sends
To forwarding detection information;
Memory module, for storing the described two-way converting detection information receiving.
Preferably, described two-way converting detection information is by described master control in described two-way converting detection information more
Send to described receiver module when new.
Network path switching method and apparatus proposed by the present invention, online veneer is first according to the groove position letter obtaining
Breath, obtains the corresponding two-way converting detection information of described groove position information, is then examined according to described two-way converting
Measurement information obtains corresponding network path mark, and directly cuts the current network path of described offline veneer
The described network path changing to acquisition identifies in corresponding network path it is achieved that when veneer is offline, other
Online veneer can first obtain the groove position information of offline veneer, and will be single offline according to specific process operation
The network path that the current network path of plate is switched to acquisition identifies in corresponding network path, rather than
When veneer is offline, the network path of offline veneer can only be switched to by online veneer by master control, thus carrying
The high switch speed of network path.
Brief description
Fig. 1 is the schematic flow sheet of inventive network path switching method first embodiment;
Fig. 2 is the schematic flow sheet of inventive network path switching method second embodiment;
Fig. 3 is the schematic flow sheet of inventive network path switching method 3rd embodiment;
Fig. 4 is the schematic flow sheet of inventive network path switching method fourth embodiment;
Fig. 5 is the high-level schematic functional block diagram of inventive network path switching device first embodiment;
Fig. 6 is the high-level schematic functional block diagram of inventive network path switching device second embodiment;
Fig. 7 is the high-level schematic functional block diagram of inventive network path switching device 3rd embodiment.
Fig. 8 is the high-level schematic functional block diagram of inventive network path switching device fourth embodiment.
The realization of the object of the invention, functional characteristics and advantage will be done further in conjunction with the embodiments referring to the drawings
Explanation.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
The present invention provides a kind of network path changing method.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet of inventive network path switching method first embodiment.
The present embodiment proposes a kind of network path changing method, and described network path changing method includes:
Step s10, when receiving the information off-line of master control transmission, online veneer is based on described information off-line
Obtain corresponding groove position information;
In the present embodiment, described online veneer receives the mode of information off-line of master control transmission and includes institute
State the information off-line that online veneer receives master broadcast, be then based on described information off-line and obtain corresponding groove
Position information, or described online veneer receives master control and is sent to described online veneer predeterminated position (as online
The default receiving point of veneer) information off-line, be then based on described information off-line and obtain corresponding groove position letter
Breath.It is understood that the running status of master control each veneer of real-time detection can be preset in advance, when described
Master control detect veneer in place when, you can judge that described veneer is offline, then obtain the groove of offline veneer
Position information, and obtain other identification informations of described offline line card further, by the described groove position obtaining letter
Breath and described other identification information together as information off-line by the modes such as broadcast be sent to other each
Online veneer, when receiving, for described online veneer, the information off-line that master control sends, extracts corresponding groove position
Information.In the embodiment of the present invention, described online line card only receives what master control in same routing device sent
Information off-line.Described information off-line preferably includes offline veneer corresponding groove position information and described offline line
The identification information of card, two-way converting detection identifier etc..
Step s20, described online veneer obtains the corresponding two-way converting detection information of described groove position information;
In the present embodiment, each veneer can store the double of all veneers in same routing device
To forwarding detection information, according to above-described embodiment, two-way converting detection information comprises each veneer pair
The groove position information answered and two-way converting detection identifier, due to described groove position information and two-way converting inspection
All comprise the slot number of veneer in measurement information, then described online veneer when getting described groove position information,
Can be inquired about two-way with what the slot number of described groove position information mated according to default two-way converting detection information
Forward detection information, to obtain corresponding two-way converting detection information, described inquiry mode preferably described
Line veneer travels through each two-way converting detection information default, and that is, described online veneer is by described groove position information
Compare with default two-way converting detection information, in detection slot number and the described groove position receiving letter
During the two-way converting detection information of slot number coupling of breath, determine the two-way converting detection information of coupling and obtain
Take the two-way converting detection information of described coupling.
In the present embodiment, the groove position information of each veneer predeterminable corresponds to multiple two-way converting detection informations,
And each veneer corresponding groove position information is different, then the groove position information getting when described online veneer
When, then can be according to the corresponding two-way converting detection information of described groove position acquisition of information, if a groove position letter
Breath includes multiple two-way converting detection informations, then described online veneer can obtain corresponding multiple two-way converting
Detection information.Further, described online veneer also can receive the groove position information of different off-line veneer simultaneously,
And when getting different off-line veneer corresponding groove position information, also according to the detection of default two-way converting
Information, obtains the corresponding two-way converting detection information of groove position information of each different veneer.
Step s30, according to the mapping relations of default two-way converting detection information and network path mark, institute
State online veneer and obtain the two-way converting detection information corresponding network path mark determining;
In the present embodiment, closed according to the mapping of default two-way converting detection information and network path mark
System, described online veneer determines that the corresponding network path of described two-way converting detection information identifies, that is, described
Online veneer traverses network ID of trace route path, the network road mated with described two-way converting detection information when presence
When footpath mark and described network path mark are the corresponding network path marks of other online veneers, obtain
The mark of the network path of described determination, further, when the inspection of described groove position information corresponding two-way converting
When measurement information includes multiple two-way converting detection information, described online veneer obtains the detection of each two-way converting
The corresponding network path of information identifies, and the network path that is, described online veneer obtains includes a plurality of.
In the present embodiment, in advance corresponding two-way converting detection information is all deployed to each network path,
Different network paths, the different two-way converting detection information of correspondence, described network path preferably includes pw
Layer (pseudo-wire layer) network path, tunnel layer network path, link layer network path.Each bar network path
All comprise corresponding network path identification information, and described network path and described network path mark letter
Breath associated storage.Further, sometimes for the stable nesting that also can dispose multi-stage protection of business, than
As pw frr (the quick heavy-route of pseudo-wire layer) nesting te frr (the quick heavy-route of traffic engineering, one kind
Resist technology) that is to say, that exception in order to quick sensing network path, different levels can be directed to
The two-way converting detection information to dispose corresponding level for the Protection path, default to realize being quickly switched into
Network path.Meanwhile, the two-way converting detection information of described network path deployment is unique presence, that is,
One network path corresponds to a two-way converting detection information.The network path of described deployment includes: one
Each veneer in routing device all can dispose a network path or a plurality of network path, every network road
Footpath all can configure unique two-way converting detection information, and further, each in each routing device is single
The ectonexine of plate also can dispose internal layer network path and outer layer network path, and described internal layer network path is with outward
Main port information in veneer for the layer network path is the same, but the protection port of different levels is permissible
It is different, so the different two-way converting detection information of association can accomplish not cut by mistake, that is, receiving
During the groove position information determining, two-way converting detection information can be gone out according to groove position information retrieval, and according to described
Two-way converting detection information can determine that network path, without because the inside and outside layer network of same veneer
Path and cause to switch by mistake, improve the accuracy of switching.
Step s40, described offline veneer current network path is switched to described in acquisition described online veneer
Network path identifies in corresponding network path.
In the present embodiment, preferably described network path be described offline veneer protection network path or
The network path of backup, that is, two-way converting detection information corresponding network path mark default deploy primary
Path and backup path, in primary path fault, described online veneer is switched in backup path.
In the present embodiment, the embodiment of described step s40 includes:
1) mode one, when the corresponding two-way converting detection information of described groove position information be the inspection of two-way converting
During measurement information, now, described online veneer only gets network path mark, then, described
The described network path mark that described offline veneer current network path is switched to acquisition by line veneer is corresponding
In network path.
2) mode two, when the offline veneer corresponding groove position information that described online veneer gets include multiple
During the groove position information of offline veneer, now, according to the corresponding two-way converting detection information of described groove position information,
The network path mark that described online veneer obtains includes multiple network identities it is to be understood that each
Network identity corresponds to each two-way converting detection information, then described online veneer will be current for described offline veneer
The step that network path is switched in the described network path corresponding network path of mark of acquisition includes: institute
State online veneer and determine that each corresponding network path of two-way converting detection information identifies;Then, according to each
Individual network path mark, each offline veneer is switched to corresponding network path and identifies corresponding network road
In footpath.
3) mode three, when the corresponding two-way converting detection information of described groove position information be the inspection of multiple two-way convertings
During measurement information, such as in advance when veneer deploys a plurality of network path, from above-described embodiment, one
Groove position information corresponds to multiple two-way converting detection informations, and described a plurality of network path includes a plurality of same level
Network path, or different levels network path (as same veneer deployment internal layer network road
Footpath and outer layer network path) it is to be understood that when described network path includes multi-level network path
When, when such as including tunnel layer network path and link layer network path, preset not according to two network paths
Same two-way converting detection information, when receiving the groove position information of offline veneer, online veneer can pass through
Travel through default two-way converting detection information, identified according to the corresponding network path of two-way converting detection information,
Obtain the two-way converting detection information corresponding network path mark determining, and will be current for described offline veneer
Network path be switched to acquisition network path identify corresponding network path in.Traditional switching mode
In, when veneer is offline, online veneer passes through to obtain the network path mark of offline veneer, directly will be from
The network path that the current network path of line veneer is switched to acquisition identifies in corresponding network path, and this
Plant switching mode and there is a drawback, when the network path of offline veneer includes the network path of different levels
When, it is likely to result in the situation of network path all switchings of different levels, thus cause cutting of network path by mistake
Change.And in the present embodiment, according to the different two-way converting detection information of the network path configuration of different levels,
Online veneer, when receiving the groove position information of described offline veneer, is corresponded to by obtaining described groove position information
Two-way converting detection information when, you can determination is that the network path of which level switches over, thus carrying
The high accuracy of network path switching.
The network path changing method that the present embodiment proposes, the online veneer first groove position information according to acquisition,
Obtain the corresponding two-way converting detection information of described groove position information, then letter is detected according to described two-way converting
Breath obtains corresponding network path mark, and is directly switched to the current network path of described offline veneer
The described network path obtaining identifies in corresponding network switching path it is achieved that when veneer is offline, other
Online veneer can first obtain the groove position information of offline veneer, and will be single offline according to specific process operation
The network path that the current network path of plate is switched to acquisition identifies in corresponding network switching path, and not
It is when veneer is offline, the network path of offline veneer can only be switched to by online veneer by master control, from
And improve the switch speed of network path.
Further, in order to increase the intelligent of network path switching, this is proposed based on first embodiment
The second embodiment of bright network path changing method, in the present embodiment, with reference to Fig. 2, described in obtaining
When network path mark includes multiple, described step s40 includes:
Step s41, described online veneer determine each network path identify corresponding network path preferential
Level;
Step s42, it is high that described offline veneer current network path is switched to priority by described online veneer
In network path.
In the present embodiment, when the described network path mark obtaining includes multiple, represent offline veneer
The network path allowing hand over include multiple, that is, the Protection path of described offline veneer deployment include a plurality of,
Then described online veneer preferably compares the excellent of each network path corresponding network path of mark of each acquisition
First level, described priority includes the network load condition of network path or network path is default preferential
Level, when described online veneer determines the high network path of priority, then can will be current for described offline veneer
Network path is switched in the high network path of priority.
Further, in order to increase the intelligent of network path switching, this is proposed based on first embodiment
The 3rd embodiment of bright network path changing method, in the present embodiment, with reference to Fig. 3, described step s10
Before, described network path changing method includes:
Step s50, in initialization, triggering information off-line receives instruction to enter information off-line to described terminal
Reception pattern;Or receive user input information off-line receive instruction when, described terminal enter from
Line information reception mode.
In the present embodiment, preferably described online veneer is when receiving information off-line reception instruction, described
The online default receiving point of single board starting, and enter information off-line reception pattern;Or in initialization first
The default pattern receiving offline veneer, that is, in initialization, the reception instruction of triggering information off-line is offline to enter
Information reception mode.The mode of described default reception offline veneer corresponding information off-line reception pattern is preferred
Realized by way of software, that is, in initialization, first registration detects that offline veneer is believed offline to online veneer
The perception events of breath, such as configure a receiving point in veneer, and the receiving point of described configuration is only used for receiving
The information off-line that master control sends.It is understood that only receive master control send offline veneer corresponding from
Line information, can make online veneer quick response handoff procedure, improve the switch speed of network path.
Or in the information off-line instruction receiving user's triggering, described online veneer moves default receiving point,
And enter information off-line reception pattern.
Further, in order to increase the intelligent of network path switching, this is proposed based on first embodiment
The fourth embodiment of bright network path changing method, in the present embodiment, with reference to Fig. 4, described step s10
Before, described network path changing method includes:
Step s60, described online veneer receives all lists in its routing device being located that described master control sends
The two-way converting detection information of plate;
In the present embodiment, described online veneer receives master control based on each list in same routing device
Two-way converting between the veneer of plate and other routing device detects the two-way converting inspection that relation generates and sends
Measurement information.I.e. each veneer in routing device and other routing devices set up two-way converting inspection by master control
Survey relation, described master control is set up each veneer and is preferably passed through with other routing device two-way converting detection relations
The mode of three-way handshake sets up two-way converting detection relation, and described master control is two-way according to described foundation
Detection relation is forwarded to generate two-way converting detection information and be sent to online veneer.Further, described double
To forwarding detection information to preferably employ hash (Hash) way to manage configuration major-minor hash key assignments, that is,
By the major-minor hash key assignments of described two-way converting detection information be set to two-way converting detection identifier and
Veneer groove information, that is, user identifier and slot number information inquiry can be detected to right by two-way converting
The two-way converting detection information answered.
Step s70, the described two-way converting detection information that described online veneer storage receives.
In the present embodiment, when described online veneer receives the two-way converting detection information of master control transmission,
The two-way converting detection information receiving described in preservation, described storage location can each be single in routing device
The default memory space of plate, or default memory space in routing device.
Further, for improving the motility of network path switching, in the present embodiment, described two-way converting
Detection information is sent to described online veneer when described two-way converting detection information updates by described master control.
I.e. described master control detect veneer in each veneer in same routing device and other routing devices it
Between establish new two-way converting detection relation, detect that relation generates according to newly-established two-way converting new
Two-way converting detection information, and newly-generated two-way converting detection information is sent to online veneer, for
Online veneer stores described two-way converting detection information.
The present invention further provides a kind of network path switching device.
With reference to Fig. 5, Fig. 5 is the high-level schematic functional block diagram of inventive network path switching device preferred embodiment.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 5 is only
The exemplary plot of one preferred embodiment, network path switching shown in around Fig. 5 for the those skilled in the art
The functional module of device, can carry out the supplement of new functional module easily;The title of each functional module is certainly
Define title, be only used for assisting each program function block understanding this network path switching device, be not used in
Limit technical scheme, the core of technical solution of the present invention is, the function mould of each self-defined title
Block function to be reached.
The present embodiment proposes a kind of network path switching device, and described network path switching device includes:
Acquisition module 10, for when receiving the information off-line of master control transmission, based on described information off-line
Obtain corresponding groove position information;
In the present embodiment, described receive master control transmission information off-line mode include receive master control wide
The information off-line broadcast, then described acquisition module 10 be based on described information off-line and obtain corresponding groove position information,
Or receive master control and be sent to described acquisition module 10 predeterminated position (the default reception as acquisition module 10
Point) information off-line, then described acquisition module 10 be based on described information off-line and obtain corresponding groove position letter
Breath.It is understood that the running status of master control each veneer of real-time detection can be preset in advance, when described
Master control detect veneer in place when, you can judge that described veneer is offline, then obtain the groove of offline veneer
Position information, and obtain other identification informations of described offline line card further, by the described groove position obtaining letter
Breath and described other identification information together as information off-line by the modes such as broadcast be sent to other each
Acquisition module 10, when receiving, for described acquisition module 10, the information off-line that master control sends, extracts corresponding
Groove position information.In the embodiment of the present invention, described acquisition module 10 only receives master control in same routing device
The information off-line sending.Described information off-line preferably includes offline veneer corresponding groove position information and described
The identification information of offline line card, two-way converting detection identifier etc..
Described acquisition module 10, is additionally operable to obtain the corresponding two-way converting detection information of described groove position information;
In the present embodiment, each veneer can store the two-way of all veneers in same routing device
Forward detection information, according to above-described embodiment, two-way converting detection information comprises each veneer and corresponds to
Groove position information and two-way converting detection identifier, due to described groove position information and two-way converting detection
All comprise the slot number of veneer in information, then described acquisition module 10 when getting described groove position information,
Can be inquired about two-way with what the slot number of described groove position information mated according to default two-way converting detection information
Forward detection information, to obtain corresponding two-way converting detection information, described inquiry mode is preferably described to be obtained
Delivery block 10 travels through each two-way converting detection information default, and that is, described acquisition module 10 is by described groove
Position information is compared with default two-way converting detection information, in detection slot number and described receive
During the two-way converting detection information of slot number coupling of groove position information, determine the two-way converting detection letter of coupling
Cease and obtain the two-way converting detection information of described coupling.
In the present embodiment, the groove position information of each veneer predeterminable corresponds to multiple two-way converting detection informations,
And each veneer corresponding groove position information is different, then when the groove position that described acquisition module 10 gets is believed
During breath, then can be according to the corresponding two-way converting detection information of described groove position acquisition of information, if a groove position
Information includes multiple two-way converting detection informations, then described acquisition module 10 can obtain corresponding multiple two-way
Forward detection information.Further, described acquisition module 10 also can receive the groove of different off-line veneer simultaneously
Position information, and when getting different off-line veneer corresponding groove position information, also according to default two-way
Forward detection information, obtain the corresponding two-way converting detection information of groove position information of each different veneer.
Described acquisition module 10, is additionally operable to be identified with network path according to default two-way converting detection information
Mapping relations, obtain determine two-way converting detection information corresponding network path mark;
In the present embodiment, closed according to the mapping of default two-way converting detection information and network path mark
System, first determines that the corresponding network path of described two-way converting detection information identifies, i.e. described acquisition module 10
Traverses network ID of trace route path, when exist the network path that mates with described two-way converting detection information identify and
When described network path mark is the corresponding network path mark of other online veneers, obtain described determination
Network path mark, further, when the corresponding two-way converting detection information bag of described groove position information
When including multiple two-way converting detection information, described acquisition module 10 obtains each two-way converting detection information pair
The network path mark answered, the network path that is, described acquisition module 10 obtains includes a plurality of.
In the present embodiment, in advance corresponding two-way converting detection information is all deployed to each network path,
Different network paths, the different two-way converting detection information of correspondence, described network path preferably includes pw
(pseudo-wire layer) layer network path, tunnel layer network path, link layer network path.Each bar network path
All comprise corresponding network path identification information, and described network path and described network path mark letter
Breath associated storage.Further, sometimes for the stable nesting that also can dispose multi-stage protection of business, than
As pw frr (the quick heavy-route of pseudo-wire layer) nesting te frr (the quick heavy-route of traffic engineering, one kind
Resist technology) that is to say, that exception in order to quick sensing network path, different levels can be directed to
The two-way converting detection information to dispose corresponding level for the Protection path, default to realize being quickly switched into
Network path.Meanwhile, the two-way converting detection information of described network path deployment is unique presence, that is,
One network path corresponds to a two-way converting detection information.The network path of described deployment includes: one
Each veneer in routing device all can dispose a network path or a plurality of network path, every network road
Footpath all can configure unique two-way converting detection information, and further, each in each routing device is single
The ectonexine of plate also can dispose internal layer network path and outer layer network path, and described internal layer network path is with outward
Main port information in veneer for the layer network path is the same, but the protection port of different levels is permissible
It is different, so the different two-way converting detection information of association can accomplish not cut by mistake, that is, receiving
During the groove position information determining, two-way converting detection information can be gone out according to groove position information retrieval, and according to described
Two-way converting detection information can determine that network path, without because the inside and outside layer network of same veneer
Path and cause to switch by mistake, improve the accuracy of switching.
Handover module 20, for being switched to described network path mark by described offline veneer current network path
Know in corresponding network path.
In the present embodiment, preferably described network path be described offline veneer protection network path or
The network path of backup, that is, two-way converting detection information corresponding network path mark default deploy primary
Path and backup path, in primary path fault, described handover module 20 is switched in backup path.
In the present embodiment, described offline veneer current network path is switched to acquisition by described handover module 20
The embodiment that described network path mark is located in the corresponding network path of online veneer includes:
1) mode one, when the corresponding two-way converting detection information of described groove position information be the inspection of two-way converting
During measurement information, now, described acquisition module 10 only gets a network path mark, then, described
Described offline veneer current network path is switched to the described network path mark institute of acquisition by handover module 20
In corresponding network path.
2) mode two, the offline veneer corresponding groove position packet getting when described acquisition module 10
Include multiple offline veneers groove position information when, now, according to the corresponding two-way converting of described groove position information examine
Measurement information, the network path mark that described acquisition module 10 obtains include multiple network identities it is possible to understand that
, each network identity each two-way converting detection information of correspondence, then described handover module 20 will be described
The described network path that offline veneer current network path is switched to acquisition identifies bag in corresponding network path
Include: first determine that each corresponding network path of two-way converting detection information identifies;Then, described switching mould
Block 20 identifies according to each network path, each offline veneer is switched to corresponding network path mark right
In the network path answered.
3) mode three, when the corresponding two-way converting detection information of described groove position information be the inspection of multiple two-way convertings
During measurement information, such as in advance when veneer deploys a plurality of network path, from above-described embodiment, one
Groove position information corresponds to multiple two-way converting detection informations, and described a plurality of network path includes a plurality of same level
Network path, or different levels network path (as same veneer deployment internal layer network road
Footpath and outer layer network path) it is to be understood that when described network path includes multi-level network path
When, when such as including tunnel layer network path and link layer network path, preset not according to two network paths
Same two-way converting detection information, when described acquisition module 10 gets the groove position information of offline veneer,
Described acquisition module 10 can detect letter by traveling through default two-way converting detection information according to two-way converting
Cease corresponding network path mark, obtain the two-way converting detection information corresponding network path mark determining,
And network path current for described offline veneer is switched to the network path of acquisition by described handover module 20
Identify in corresponding network path.In traditional switching mode, when veneer is offline, described acquisition module
10 pass through to obtain the network path mark of offline veneer, and described handover module 20 directly will be current for offline veneer
Network path be switched to the network path of acquisition and identify in corresponding network path, and this switching mode
There is a drawback, when the network path of offline veneer includes the network path of different levels, Ke Nengzao
Become the situation of network path all switchings of different levels, thus causing the mistake of network path to switch.And this reality
Apply in example, according to the different two-way converting detection information of the network path configuration of different levels, described acquisition
Module 10 is when getting the groove position information of described offline veneer, corresponding by obtaining described groove position information
During two-way converting detection information, you can determination is that the network path of which level switches over, thus improving
The accuracy of network path switching.
The network path switching device that the present embodiment proposes, the online veneer first groove position information according to acquisition,
Obtain the corresponding two-way converting detection information of described groove position information, then letter is detected according to described two-way converting
Breath obtains corresponding network path mark, and is directly switched to the current network path of described offline veneer
The described network path obtaining identifies in corresponding network switching path it is achieved that when veneer is offline, other
Online veneer can first obtain the groove position information of offline veneer, and will be single offline according to specific process operation
The network path that the current network path of plate is switched to acquisition identifies in corresponding network switching path, and not
It is when veneer is offline, the network path of offline veneer can only be switched to by online veneer by master control, from
And improve the switch speed of network path.
Further, in order to increase the intelligent of network path switching, this is proposed based on first embodiment
The second embodiment of bright network path switching device, in the present embodiment, with reference to Fig. 6, described in obtaining
When network path mark includes multiple, described handover module 20 includes:
Determining unit 21, for determining the priority of each network path corresponding network path of mark;
Switch unit 22, for being switched to the high network of priority by described offline veneer current network path
In path.
In the present embodiment, when the described network path mark obtaining includes multiple, represent offline veneer
The network path allowing hand over include multiple, that is, the Protection path of described offline veneer deployment include a plurality of,
Then described determining unit 21 preferably compares each network path corresponding network path of mark of each acquisition
Priority, described priority includes the network load condition of network path or network path is default excellent
First level, when described determining unit 21 determines the high network path of priority, described switch unit 22 is then
Described offline veneer current network path can be switched in the high network path of priority.
Further, in order to increase the intelligent of network path switching, this is proposed based on first embodiment
The 3rd embodiment of bright network path switching device, in the present embodiment, with reference to Fig. 7, described network road
Footpath switching device also includes:
Pretreatment module 30, in initialization, triggering information off-line receives instruction to enter offline letter
Breath reception pattern;Or when the information off-line receiving user input receives instruction, enter information off-line
Reception pattern.
In the present embodiment, preferably when receiving information off-line reception instruction, start default receiving point,
And enter information off-line reception pattern;Or first preset the pattern receiving offline veneer in initialization, that is,
Described pretreatment module 30 triggering information off-line in initialization receives instruction and receives mould to enter information off-line
Formula.The described default mode receiving offline veneer corresponding information off-line reception pattern preferably passes through software
Mode is realized, and that is, in initialization, first registration detects offline veneer information off-line to described pretreatment module 30
Perception events, configure a receiving point such as in veneer, the receiving point of described configuration is only used for receiving master
The information off-line that control sends.It is understood that the offline veneer only receiving master control transmission is corresponding offline
Information, can improve the switch speed of network path with quick response handoff procedure.Or receiving
During the information off-line instruction of user's triggering, described pretreatment module 30 starts default receiving point, and enters
Information off-line reception pattern.
Further, in order to increase the motility of network path switching, this is proposed based on first embodiment
The fourth embodiment of bright network path switching device, in the present embodiment, with reference to Fig. 8, described network path
Switching device also includes:
Receiver module 40, for receiving all veneers in its routing device being located that described master control sends
Two-way converting detection information;
In the present embodiment, described receiver module 40 receives master control based on each in same routing device
Two-way converting between the veneer of veneer and other routing device detects the two-way converting that relation generates and sends
Detection information.I.e. each veneer in routing device and other routing devices set up two-way converting by master control
Detection relation, it is preferably logical with other routing device two-way converting detection relations that each veneer is set up in described master control
The mode crossing three-way handshake sets up two-way converting detection relation, and described master control is double according to described foundation
Generate two-way converting detection information and be sent to described receiver module 40 to forwarding detection relation.Further,
Described two-way converting detection information preferably employs hash (Hash) way to manage configuration major-minor hash key
Value, will described two-way converting detection information major-minor hash key assignments be set to two-way converting detection mark
Know symbol and veneer groove information, that is, by two-way converting, user can detect that identifier and slot number information are looked into
Ask corresponding two-way converting detection information.
Memory module 50, for storing the described two-way converting detection information receiving.
In the present embodiment, when described receiver module 40 receives the two-way converting detection information of master control transmission,
Described memory module 50 preserve described in the two-way converting detection information that receives, described memory module 50 deposits
Storage space put can in routing device the default memory space of each veneer, or default in routing device
Memory space.
Further, for improving the motility of network path switching, in the present embodiment, described two-way converting
Detection information is sent to described receiver module when described two-way converting detection information updates by described master control
40.I.e. in described master control each veneer in same routing device is detected and other routing devices
Establish new two-way converting detection relation between veneer, relation life is detected according to newly-established two-way converting
The two-way converting detection information of Cheng Xin, and newly-generated two-way converting detection information is sent to described reception
Module 40, so that described memory module 50 stores described two-way converting detection information.
It should be noted that herein, term " inclusion ", "comprising" or its any other variant
Be intended to comprising of nonexcludability so that include a series of process of key elements, method, article or
Person's system not only includes those key elements, but also includes the other key elements being not expressly set out, or also
Including for this process, method, article or the intrinsic key element of system.In the feelings not having more restrictions
Under condition, the key element that limited by sentence "including a ..." it is not excluded that include this key element process,
Also there is other identical element in method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-mentioned
Embodiment method can be realized by the mode of software plus necessary general hardware platform naturally it is also possible to lead to
Cross hardware, but the former is more preferably embodiment in many cases.Based on such understanding, the present invention's
Technical scheme substantially in other words prior art is contributed partly can in the form of software product body
Reveal to come, this computer software product is stored in a storage medium (as rom/ram, magnetic disc, light
Disk) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service
Device, air-conditioner, or network equipment etc.) execution each embodiment of the present invention described in method.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every
The equivalent structure made using description of the invention and accompanying drawing content or equivalent flow conversion, or directly or
Connect the technical field being used in other correlations, be included within the scope of the present invention.
Claims (10)
1. a kind of network path changing method it is characterised in that described network path changing method include with
Lower step:
When receiving the information off-line of master control transmission, online veneer is based on described information off-line and obtains correspondence
Groove position information;
Described online veneer obtains the corresponding two-way converting detection information of described groove position information;
According to the mapping relations of default two-way converting detection information and network path mark, described online list
Plate obtains the two-way converting detection information corresponding network path mark determining;
It is right that described offline veneer current network path is switched to described network path mark by described online veneer
In the network path answered.
2. network path changing method as claimed in claim 1 is it is characterised in that work as the described of acquisition
When network path mark includes multiple, described offline veneer current network path is switched by described online veneer
Identify the step in corresponding network path to described network path to include:
Described online veneer determines that each network path identifies the priority of corresponding network path;
Described offline veneer current network path is switched to the high network path of priority by described online veneer
In.
3. network path changing method as claimed in claim 1 or 2 is it is characterised in that described connecing
When receiving the information off-line that master control sends, online veneer is based on described information off-line and obtains corresponding groove position letter
Before the step of breath, described network path changing method includes:
In initialization, triggering information off-line receives instruction to enter information off-line reception pattern to described terminal;
Or when the information off-line receiving user input receives instruction, described terminal enters information off-line
Reception pattern.
4. network path changing method as claimed in claim 1 or 2 is it is characterised in that described connecing
When receiving the information off-line that master control sends, online veneer is based on described information off-line and obtains corresponding groove position letter
Before the step of breath, described network path changing method includes:
Described online veneer receives the two-way of all veneers in its routing device being located that described master control sends
Forward detection information;
The described two-way converting detection information that described online veneer storage receives.
5. network path changing method as claimed in claim 4 is it is characterised in that described two-way converting
Detection information is sent to described online veneer when described two-way converting detection information updates by described master control.
6. a kind of network path switching device is it is characterised in that described network path switching device includes:
Acquisition module, for when receiving the information off-line of master control transmission, being obtained based on described information off-line
Take corresponding groove position information;
Described acquisition module, is additionally operable to obtain the corresponding two-way converting detection information of described groove position information;
Described acquisition module, is additionally operable to according to default two-way converting detection information and network path mark
Mapping relations, obtain the two-way converting detection information corresponding network path mark determining;
Handover module, for being switched to described network path mark by described offline veneer current network path
In corresponding network path.
7. network path switching device as claimed in claim 6 is it is characterised in that work as the described of acquisition
When network path mark includes multiple, described handover module includes:
Determining unit, for determining the priority of each network path corresponding network path of mark;
Switch unit, for being switched to the high network road of priority by described offline veneer current network path
In footpath.
8. network path switching device as claimed in claims 6 or 7 is it is characterised in that described network
Path switching device also includes:
Pretreatment module, in initialization, triggering information off-line receives instruction to enter information off-line
Reception pattern;Or when the information off-line receiving user input receives instruction, enter information off-line and connect
Receipts pattern.
9. network path switching device as claimed in claims 6 or 7 is it is characterised in that described network
Path switching device also includes:
Receiver module, for receiving the double of all veneers in its routing device being located that described master control sends
To forwarding detection information;
Memory module, for storing the described two-way converting detection information receiving.
10. network path switching device as claimed in claim 9 is it is characterised in that described two-way turn
Send out detection information to be sent to described reception mould when described two-way converting detection information updates by described master control
Block.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510428335.8A CN106375208B (en) | 2015-07-20 | 2015-07-20 | Network path switching method and device |
PCT/CN2016/076424 WO2016177116A1 (en) | 2015-07-20 | 2016-03-15 | Network path switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510428335.8A CN106375208B (en) | 2015-07-20 | 2015-07-20 | Network path switching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106375208A true CN106375208A (en) | 2017-02-01 |
CN106375208B CN106375208B (en) | 2020-09-15 |
Family
ID=57218026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510428335.8A Active CN106375208B (en) | 2015-07-20 | 2015-07-20 | Network path switching method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106375208B (en) |
WO (1) | WO2016177116A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115954725A (en) * | 2023-02-22 | 2023-04-11 | 苏州埃博斯电气有限公司 | Automobile circuit connector with communication abnormity monitoring function |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070207591A1 (en) * | 2006-03-02 | 2007-09-06 | Rahman Reshad A | Technique for efficiently and dynamically maintaining bidirectional forwarding detection on a bundle of links |
CN102055673A (en) * | 2010-12-30 | 2011-05-11 | 上海顶竹通讯技术有限公司 | Multi-route network and route switching method |
CN102739535A (en) * | 2012-06-26 | 2012-10-17 | 中兴通讯股份有限公司 | Method and system for protecting offline of line card |
CN103036716A (en) * | 2012-12-12 | 2013-04-10 | 中兴通讯股份有限公司 | Method and system for link switchover |
CN103747442A (en) * | 2013-12-27 | 2014-04-23 | 上海华为技术有限公司 | Security key context distribution method, mobility management entity and base station |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079759B (en) * | 2007-07-24 | 2010-07-21 | 杭州华三通信技术有限公司 | Distributed bidirectional forwarding detection method and device |
US8254249B2 (en) * | 2009-08-06 | 2012-08-28 | Telefonaktiebolaget L M Ericsson (Publ) | Session resilience prioritization queuing mechanism to minimize and eliminate packet loss |
CN101860491B (en) * | 2010-06-23 | 2013-08-14 | 迈普通信技术股份有限公司 | Aggregation type link bidirectional forwarding detection method and device thereof |
-
2015
- 2015-07-20 CN CN201510428335.8A patent/CN106375208B/en active Active
-
2016
- 2016-03-15 WO PCT/CN2016/076424 patent/WO2016177116A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070207591A1 (en) * | 2006-03-02 | 2007-09-06 | Rahman Reshad A | Technique for efficiently and dynamically maintaining bidirectional forwarding detection on a bundle of links |
CN102055673A (en) * | 2010-12-30 | 2011-05-11 | 上海顶竹通讯技术有限公司 | Multi-route network and route switching method |
CN102739535A (en) * | 2012-06-26 | 2012-10-17 | 中兴通讯股份有限公司 | Method and system for protecting offline of line card |
CN103036716A (en) * | 2012-12-12 | 2013-04-10 | 中兴通讯股份有限公司 | Method and system for link switchover |
CN103747442A (en) * | 2013-12-27 | 2014-04-23 | 上海华为技术有限公司 | Security key context distribution method, mobility management entity and base station |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115954725A (en) * | 2023-02-22 | 2023-04-11 | 苏州埃博斯电气有限公司 | Automobile circuit connector with communication abnormity monitoring function |
CN115954725B (en) * | 2023-02-22 | 2023-09-26 | 苏州埃博斯电气有限公司 | Automobile circuit connector with communication abnormality monitoring function |
Also Published As
Publication number | Publication date |
---|---|
CN106375208B (en) | 2020-09-15 |
WO2016177116A1 (en) | 2016-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101582834B (en) | Updating method and system of forwarding table during service transmission of Ethernet | |
CN100512148C (en) | Convergence method and device based on VPLS dual home full connection network | |
CN106789629B (en) | Business fast convergent method and device | |
CN103581025B (en) | Method and system for processing routing information and equipment | |
CN101325584B (en) | Method for tracing route, MPLS network system and entry node thereof | |
CN105490884B (en) | A kind of VXLAN tunnel detection method and device | |
CN105871674B (en) | The guard method of ring protection link failure, equipment and system | |
CN101695036B (en) | Method and device for detecting IRF links | |
CN101227399B (en) | Message transmission method, system and forwarding node | |
CN100454875C (en) | Method and system for realizing dual attachment or multiple attachment of user network boundary device | |
CN103166852B (en) | The route tracing method of LSP and routing device in MPLS network | |
CN110113259A (en) | Path status notification method, path switching method, forwarding device and system | |
CN101860482B (en) | Two-layer virtual private network fast re-route method and device | |
CN100461739C (en) | RPR bidge redundancy protecting method and RPR bridge ring equipment | |
CN101771604B (en) | Routing detection method, system and intermediate routing device | |
CN103139075B (en) | A kind of message transmitting method and equipment | |
CN109218177A (en) | Overseas chain circuit detecting method and device, storage medium and computer equipment | |
CN104601394A (en) | Business chain connectivity detection method, device and system | |
CN101355486A (en) | Method, equipment and system for switching route | |
CN106559280A (en) | Bidirectional forwarding detection (BFD) method and device | |
CN102984014A (en) | Data transmission method and network system | |
CN102868569A (en) | Method, node and system for detecting performance of three-layer virtual private network | |
CN106301997A (en) | Gateway device response to network connectedness method and apparatus | |
CN105379201A (en) | Path switching method and device | |
CN105122889B (en) | Device and method for optimizing data path in the mobile communication network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200819 Address after: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68 Applicant after: Nanjing Zhongxing New Software Co.,Ltd. Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice Applicant before: ZTE Corp. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |