A kind of miniaturization access PTN device and its configuration method, system
Technical field
This application involves network access technique field more particularly to a kind of miniaturization access PTN device and its configuration method,
System.
Background technology
With the development of the communication technology and business network agreement (IP, Internet Protocol), access side is to Netowrk tape
Wide requirement is continuously improved, and Fast Ethernet (FE, Fast are developed to from the original lower access technology of E1 equibands
Ethernet), gigabit Ethernet (GE, Gigabit Ethernet) contour bandwidth access, communication equipment is also from same step number
Font system (SDH, Synchronous Digital Hierarchy) is to Packet Transport Network (PTN, Packet Transport
Network), IP-based transmission net (TN, Transport Network) evolution, access device is from original opto-electronic conversion
Light cat (Modem) evolves to miniaturization access PTN device.
Existing miniaturization access PTN device carries out business configuration by webmaster, management, monitoring device state, checks that equipment is accused
It is alert etc..Currently, miniaturization PTN device is dispersed in each corner in city, miniaturization PTN device needs the engineer of profession to carry out
It is locally configured, professional needs to go around the completion of all devices point before engineering opening and is locally configured, time-consuming and laborious, and the later stage ties up
Shield is still cumbersome.
Prior art deficiency is:
The management of miniaturization access PTN device is locally configured before needing engineering opening, and cost is higher, and later maintenance
Also inconvenient.
Invention content
The embodiment of the present application proposes a kind of miniaturization access PTN device and its configuration method, system, to solve existing skill
The management of art miniaturization access PTN device is locally configured before needing engineering opening, and cost is higher and later maintenance is inconvenient
The technical issues of.
The embodiment of the present application provides a kind of miniaturization access PTN device configuration method, includes the following steps:
NM server sends the first management message;
Auxiliary configuration equipment is managed described first after message is packaged into the second management message with preset encapsulation mode and is sent out
It send to Metropolitan Area Network (MAN);The second management message is the message that VLAN marks are increased on the basis of the first management message;
Transmission device in Metropolitan Area Network (MAN) manages message transmission to miniaturization access PTN device by described second;
The miniaturization access PTN device is managed according to message format identification the second management message by described second
VLAN marks in message are configured to itself VLAN marks.
The embodiment of the present application provides a kind of miniaturization access PTN device configuration system, including:
NM server, for sending the first management message;
Auxiliary configuration equipment is packaged into the second management message for managing message by described first with preset encapsulation mode
After be sent to Metropolitan Area Network (MAN);The second management message is the report that VLAN marks are increased on the basis of the first management message
Text;
Transmission device in Metropolitan Area Network (MAN), for managing message transmission to miniaturization access PTN device by described second;
Miniaturization access PTN device, for according to message format identification the second management message, described second to be managed
VLAN marks in message are configured to itself VLAN marks.
The embodiment of the present application also provides a kind of auxiliary to configure equipment, and auxiliary configuration equipment one end connects network manager service
Device interface, the other end connect metropolitan area network interface, and the auxiliary configuration equipment includes:
Receiving module, for receiving the first management message;
Package module is packaged into the second management message for managing message by described first with preset encapsulation mode;Institute
It is the message that VLAN marks are increased on the basis of the first management message to state the second management message;
Sending module is sent to Metropolitan Area Network (MAN) for managing message by described second.
The embodiment of the present application also provides a kind of miniaturizations to access PTN device, including CPU, FPGA, SWITCH, wherein
SWITCH, for according to message format identification the second management message, message increase and port to be managed by described second
The interface docked with the FPGA is sent to after corresponding LSP label;
FPGA, the encapsulation mode for extracting message according to the message received and VLAN marks, and according to the encapsulation
Pattern and LSP label update corresponding register, and CPU is reported to interrupt;
CPU is used to respond the interruption by ISR, and configuring VLAN marks to the VLAN of itself identifies.
It has the beneficial effect that:
Due in the embodiment of the present application, being carried out by increasing the management message for assisting configuration equipment to send NM server
Routing and encapsulation increase VLAN marks, and after being transferred to miniaturization access PTN device, miniaturization access PTN device has self-study
Habit ability can identify the management message and learn the VLAN marks automatically.Therefore, it is provided using the embodiment of the present application
Technical solution, go to and be locally configured without professional, it is only necessary to will be provided with self-learning capability miniaturization access PTN device
After carrying out simple wiring, you can realize the purpose that miniaturization access PTN device is managed for configuration on webmaster, reduce people
Equipment, which is improved, while member and time cost opens efficiency.
Description of the drawings
The specific embodiment of the application is described below with reference to accompanying drawings, wherein:
Fig. 1 shows the connection diagram one of prior art miniaturization access PTN device;
Fig. 2 shows the connection diagrams two that prior art miniaturization accesses PTN device;
Fig. 3 shows the flow diagram that the embodiment of the present application miniaturization access PTN device configuration method is implemented;
Fig. 4 shows the analysis schematic diagram to existing network in the embodiment of the present application;
Fig. 5 shows modified network topology schematic diagram in the embodiment of the present application;
Fig. 6 shows the structural schematic diagram of the embodiment of the present application miniaturization access PTN device configuration system;
Fig. 7 shows the structural schematic diagram of auxiliary configuration equipment in the embodiment of the present application;
Fig. 8 shows the structural schematic diagram of the embodiment of the present application miniaturization access PTN device.
Specific implementation mode
In order to which the technical solution and advantage that make the application are more clearly understood, below in conjunction with attached drawing to the exemplary of the application
Embodiment is described in more detail, it is clear that and described embodiment is only a part of the embodiment of the application, rather than
The exhaustion of all embodiments.And in the absence of conflict, the feature in the embodiment and embodiment in this explanation can be mutual
It is combined.
Inventor notices during invention:
Currently, the management passage of the communication equipment of different manufacturers is different, the miniaturization that will be dispersed in metropolitan area network edge is needed
The management information of access PTN device is aggregated into the webmaster computer room of operator.
Fig. 1 shows the connection diagram one of prior art miniaturization access PTN device, as shown, each small-sized
Change access PTN device to connect with a port on Metropolitan Area Network (MAN) by physical port, business information and management information are divided into difference
Logic interfacing, in metropolitan area PTN network be typically use virtual LAN (VLAN, Virtual Local Area Network)
To distinguish different logic interfacing.Such as:The logic interfacing that VLAN ID are 4094 is distributed as management interface, other VLAN
ID is as business interface.
But the otherness of the otherness and the network planning due to each place, the VLAN of the logic interfacing for management
ID has different planning in different places.Therefore, it is necessary to minimize PTN device to support to carry out locally by local management interface
Access control, that is, before engineering opening, every miniaturization access PTN device will be by local interface, by the engineering of profession
Teacher's configuration management VLAN, management IP;It is linked into network again after configuration is complete, could be managed on webmaster and configures this and is small-sized
Change access PTN device.
Fig. 2 shows the connection diagrams two that prior art miniaturization accesses PTN device, as shown, miniaturization PTN
It is the channel access layer PTN network data communication network (DCN, Data Communication Network) between equipment, it is small
It is ethernet channel between type PTN device and Metropolitan Area Transmission Network PTN device, Metropolitan Area Transmission Network PTN device is fallen with webmaster computer room
It is pseudo-wire (PW, Pseudo wire) bearer path between ground PTN device, it can be with transmission network management business report between these channels
Text.
Management for miniaturization access PTN device needs to be locally configured before engineering opening, has the disadvantage that:
First, engineering opening is of high cost;
Second is that the engineering opening time is long, 3,4 ENGINEERING POINTs can only be configured daily under urban traffic conditions, service time is logical
Chang Yiyue calculates for unit;
Third, later maintenance is inconvenient.
Against the above deficiency, the embodiment of the present application proposes a kind of miniaturization access PTN device and its configuration method, is
System, is locally configured without professional, you can the automatic study for realizing management VLAN ID is illustrated below.
Fig. 3 shows the flow diagram that the embodiment of the present application miniaturization access PTN device configuration method is implemented, and such as schemes
Shown, the miniaturization access PTN device configuration method may include steps of:
Step 301, NM server send the first management message;
Step 302, auxiliary configuration equipment manage message by described first with preset encapsulation mode and are packaged into the second management
Metropolitan Area Network (MAN) is sent to after message;The second management message is to increase VLAN marks on the basis of the first management message
Message;
Transmission device in step 303, Metropolitan Area Network (MAN) manages message transmission to miniaturization access PTN device by described second;
Step 304, miniaturization access PTN device, will be described according to message format identification the second management message
VLAN marks in second management message are configured to itself VLAN marks.
In the embodiment of the present application, auxiliary configuration equipment, auxiliary configuration are increased between NM server and Metropolitan Area Network (MAN)
It, can be according to the needs of different scenes with different encapsulation after equipment receives the first management message of NM server transmission
Pattern is packaged the first management message, and the second management message after encapsulation can be on the basis of the first management message
On increase VLAN mark ID message, other labels may be also added according to the difference of encapsulation mode.
Miniaturization access PTN device after receiving message, can according to the encapsulation mode of message come identify whether for
Second management message (message format encapsulated using different encapsulation modes is different), to distinguish other service messages.It is identifying
Go out after the second management message, the VLAN ID in automatic study the second management message achieve the purpose that automatically configure VLAN ID.
In the embodiment of the present application, configuration equipment is assisted to route the management message that NM server is sent by increasing
And encapsulation, VLAN marks are increased, after being transferred to miniaturization access PTN device, miniaturization access PTN device has self study energy
Power can identify the management message and learn the VLAN marks automatically.The miniaturization provided using the embodiment of the present application
PTN device configuration method is accessed, goes to and is locally configured without professional, it is only necessary to which miniaturization access PTN device is subjected to object
Stream delivery, simple wiring, you can realize the purpose for carrying out VLAN configuration managements to miniaturization access PTN device on webmaster, drop
Low personnel and time cost, while improving equipment and opening efficiency.
In implementation, the method may further include:
The encapsulation mode that the miniaturization access PTN device manages message according to described second adjusts the Working mould of itself
Formula.
In the embodiment of the present application, miniaturization access PTN device, can also be according to the after identifying the second management message
The encapsulation mode of two management messages carrys out the operating mode of adjust automatically itself, achievees the purpose that automatically configure operating mode.That is,
After the encapsulation mode for receiving the second management message, to reach both sides' peer-to-peer communications, it is necessary to the operating mode for adjusting itself, with
So that the encapsulation mode of the message itself sent out is identical as the encapsulation mode for the message that other side sends out.
In specific implementation, the encapsulation mode that the encapsulation mode of the second management message is preserved with equipment itself can be compared,
Different if (or to change), adjust automatically itself operating mode, to adapt to the management passage of different application scene
Pattern.
The embodiment of the present application assists configuration equipment by management message that NM server is sent centainly to encapsulate by increasing
After pattern is packaged, miniaturization access PTN device can be according to the encapsulation mode adjust automatically itself of the management message
Operating mode, you can realize the purpose for carrying out operating mode configuration to miniaturization access PTN device on webmaster.
In implementation, the second management message described in the transmission device transparent transmission in the Metropolitan Area Network (MAN) is specifically as follows, and receives institute
After stating the second management message that auxiliary configuration equipment is sent, the second management message is encapsulated as third and manages message, it is described
It is to increase multiprotocol label switching (MPLS, Multi- on the basis of the second management message that third, which manages message,
Protocol Label Switch) label switched path (LSP, Label Switching Path) and PW labels message;?
Third management message is descapsulated into the second management message when being sent to miniaturization access PTN device.
In general, the transmission of message be from an interface (being assumed to be interface A) of Metropolitan Area Network (MAN) be transferred to Metropolitan Area Network (MAN) another
Interface (is assumed to be interface B), and in order to ensure that message is accurately transferred to correct interface in Metropolitan Area Network (MAN), metropolitan area network equipment can be
A mouthfuls are packaged message, and write-in destination is two labels of interface B, i.e. LSP and PW to indicate.When message reaches interface B
When, metropolitan area network equipment removes the LSP encapsulated outside message and PW, in this way, from B mouthfuls of messages out and the A mouthfuls of messages entered
It is identical, such process is transparent transmission.
In the prior art during transparent transmission using plus VLAN and realize that transparent transmission, VLAN ID only have by the way of removing VLAN
12bit, and realized by the way of increasing MPLS LSP and PW label, removing MPLS LSP and PW labels in the embodiment of the present application
It passes, since the lable id of MPLS have 20bit, transparent transmission mode compared with prior art, the embodiment of the present application can be distinguished
More service groups.
In implementation, the auxiliary configuration equipment manages message by described first with preset encapsulation mode and is packaged into the second pipe
Message is managed, is specifically as follows:After auxiliary configuration equipment manages message increase VLAN marks by described first, to manage communication port
(MCC, Management Communication Channel) standard packaging format is packaged into the second management message.
The case where being same plant equipment for access PTN device and convergence PTN device, management passage can be able to be mark
The accurate channels MCC, it can be to manage message first that miniaturization, which accesses management message on the interface that PTN device is docked with Metropolitan Area Network (MAN),
On the basis of increase VLAN marks, again outer envelope label 13, ACH, MEL VER (Maintenance Entity
Group Level version) etc. labels (MCC standard packagings) message, wherein VLAN mark can be used for distinguish protocol stack
Logic interfacing.
The access side device of same producer is directly docked with convergence side apparatus, and the forwarding of Metropolitan Area Network (MAN) is not present, therefore, same
It is executed by Routing Protocol in management passage between plant equipment, the forwarding of the management message in transmission process is forwarded according to IP
, that is, auxiliary configuration equipment to the forwarding for managing message is forwarded on different vlan sub-interfaces by the Routing Protocol of equipment room,
Then the standard packaging format and VLAN of MCC are encapsulated again according to vlan sub-interface.
In implementation, the auxiliary configuration equipment manages message by described first with preset encapsulation mode and is packaged into the second pipe
Message is managed, is specifically as follows:Auxiliary configuration equipment manages described first after message increases VLAN marks and is further added by MPLS outer layers
VLAN (that is, MVLAN) is identified and MCC encapsulation, forms the second management message;Transmission device in Metropolitan Area Network (MAN) is by described second
Message transmission is managed to miniaturization access PTN device, is specifically as follows:Transmission device in Metropolitan Area Network (MAN) is identified according to MVLAN will
The second management message transmission to miniaturization accesses PTN device.
The case where across metropolitan area network construction for miniaturization access PTN device, management passage retains and adds outside MCC encapsulation format
One layer of VLAN, UNI docking modes may be used in business, overlay modes may be used in management passage.Under this scene, auxiliary
Routing forwarding can be carried out by ospf protocol by configuring between equipment and miniaturization access PTN, outer layer adds the encapsulation of MCC.
Transmitting message is distinguished according to VLAN in Metropolitan Area Network (MAN), and MVLAN belongs to VLAN, and the transmission device in Metropolitan Area Network (MAN) is exactly
Carry out transmitting message according to this VLAN ID.
In implementation, the auxiliary configuration equipment manages message by described first with preset encapsulation mode and is packaged into the second pipe
Message is managed, is specifically as follows:The auxiliary configuration equipment is according to pair between pre-stored purpose IP address and VLAN marks
Relation table is answered, determines the corresponding VLAN marks of the first management message, and manage message by described first and increase the VLAN
Mark forms the second management message.
The case where across metropolitan area network construction for miniaturization access PTN device, when management passage is UNI patterns, auxiliary configuration
Can not be by routing forwarding between equipment and miniaturization access PTN device, but the correspondence of IP address and VLAN can be passed through
Relation list is forwarded.For example IP is that the miniaturization of 192.168.1.2 accesses the management passage (Metropolitan Area Network (MAN) where PTN device
The tunnels PW) the MVLAN of logic interfacing be 23, the corresponding of a 192.168.1.2 and VLAN 23 is done inside X equipment and is closed
It is table, then plus VLAN 23 when receiving the message forwarding item of this purpose IP address.
Auxiliary configuration equipment to the forwarding for managing message is forwarded according to the correspondence of the IP and VLAN of configuration, metropolitan area
Metropolitan Area Network (MAN) transmission device in net is to carry out transfer management message to miniaturization access PTN according to VLAN.
In implementation, the method may further include:
The auxiliary configuration equipment by the second management message before being sent to Metropolitan Area Network (MAN), for the second management report
Text addition overhead messages, and the overhead messages are managed into message with described second and are sent to Metropolitan Area Network (MAN) together;Wherein, described auxiliary
Help the identification field that message includes different from service message.
In order to further distinguish message and general service message, the embodiment of the present application can also be matched by auxiliary to be installed
Standby to send overhead messages, since general business message only has one layer of message, the message that identifies for needs is by auxiliary with installing
It is necessary to manage two kinds of message and Added Management message after standby increase overhead messages, so as to distinguish other messages.Its
It is secondary, can also include the identification field (such as 0x6666) different from service message in overhead messages, come whereby the message with
Other messages distinguish.Identification field is the TYPE type fields of ether network packet, for example, since service message will not be used
0x6666 values, therefore 0x6666 may be used to identify.
For the ease of the implementation of the application, it is described in detail below with a specific example.
Inventor first analyzes the message format of each node of existing network, and Fig. 4 shows the application reality
The analysis schematic diagram to existing network in example is applied, as shown, this five nodes of A, B, C, D, E are described below respectively:
A:The interface of management server and Metropolitan Area Network (MAN), this interface of Metropolitan Area Network (MAN) and the network interface of PC are the interfaces of equity,
The message format of transmission is two layers of ether network packet, specific as follows shown:
DMAC |
SMAC |
TYPE |
PAYLOAD |
CRC |
B:Node message format in Metropolitan Area Network (MAN) in transmission process is to increase MPLS LSP on the basis of A nodes
With PW etc., tubing envelopes message format is as follows:
C:There are three types of access ways, respectively customer network interface for the docking of the access node of Metropolitan Area Network (MAN) and miniaturization PTN
(UNI, User Network Interface) docking, Network-Network interface (NNI, Network-Network Interface)
Docking, OVERLAY docking, are described as follows:
More common, the C under UNI docking modes that can be seen that the first UNI docking mode from three kinds of access ways above
The message format of node is as follows:
DMAC |
SMAC |
VLAN |
TYPE |
PAYLOAD |
CRC |
As can be seen that the message of C nodes and the difference of A nodes are above, a vlan domain is increased, for distinguishing industry
Business and management logic interfacing.
D:For the node before miniaturization access PTN device internal control CPU, this node is to introduce automatic study
The dummy node for managing VLAN and accessing, message format are identical as C nodes.
E:For CPU management IP protocol stack entrance in miniaturization access PTN device, learn pipe automatically also for introducing
The dummy node managed VLAN and be arranged.
By analysis above, it can be found that having no idea to realize the automatic study for managing VLAN under existing structure.Cause
This, the embodiment of the present application is modified existing network topology.
Fig. 5 shows modified network topology schematic diagram in the embodiment of the present application, as shown, being repaiied to existing network
It is to increase an equipment between management server in machine room and Metropolitan Area Network (MAN) to change, to realize the function of automatic study and configuration of IP.
Wherein, the message of A nodes with modification before it is identical, the message of B node be increased on the basis of A ' and C LSP with
PW, to realize that the transparent transmission of A nodes and C nodes (and is needed from A nodes to C nodes in existing scheme plus VLAN operations, saved from C
Point needs VLAN to operate to A nodes).Message reason of changes between A ' and C is, from A ' to E, the equipment on side is all point
It is miniaturization access PTN, for the message both sides on network management path, as long as accomplishing that the encapsulation of equity and decapsulation can be real
Existing intercommunication, can also increasing some instruction signalings, (existing scheme cannot achieve the reason learnt automatically for learning automatically
It is the signaling that can not increase study).
According to realization method, the application scenarios of miniaturization access PTN device can be divided into the following two kinds:
The first scene, miniaturization access PTN device and the equipment that convergence PTN device is same producer, between the two
Management passage can be the channels MCC of standard, the management message lattice on interface that miniaturization access PTN device is docked with Metropolitan Area Network (MAN)
Formula can be:
Wherein, M_DMAC is the MAC Address outside MPLS, and label13, ACH, MEL VER are MCC standard packagings, from DMAC
It is CPU management message to be processed backward, Software Protocol Stack can be entered, VLAN is used to distinguish the logic interfacing of protocol stack.
Application scenarios in second of scene, that is, the modified topological diagram of the embodiment of the present application (Fig. 5), small-sized PTN
Across metropolitan area network construction application, meanwhile, management passage also retains the encapsulation format of MCC, and outside adds last layer VLAN, this mode industry
Business uses UNI docking modes, management passage to use overlay modes.
Under this topology, the message format of each node can be as follows:
The management message A come out from NM server is route by the equipment (auxiliary configuration equipment) between A and A '
And encapsulation, it is deformed into A ' messages;C points are transparent to by MVLAN by Metropolitan Area Network (MAN), become D after minimizing PTN inter-process, most
CPU management is given on end.Response message is then corresponding reverse process.
It, can be by open most short between auxiliary configuration equipment and miniaturization access PTN device under this application scenarios
Heat source (OSPF, Open Shortest Path First) agreement carries out routing forwarding, and outer layer adds the encapsulation of MCC.?
There are multiple logic routing interfaces on the interface of auxiliary configuration equipment docked with Metropolitan Area Network (MAN), is distinguished by VLAN.
The shortcomings that this scheme, is that the logic interfacing number of OSPF is more, is got over to transmitting the impact of logic CPU of OSPF
Greatly.
The third scene still uses the topological diagram of Fig. 5, but management passage is no longer OVERPLAY patterns, but UNI moulds
Formula.
The message format of each node can be as follows:
It is by network management configuration IP and VLAN between auxiliary configuration equipment and miniaturization access PTN device under this scene
Correspondence forwarding list, rather than pass through routing forwarding.For example, the pipe where the miniaturization access PTN that IP is 192.168.1.2
Manage channel (tunnels PW of Metropolitan Area Network (MAN)) logic interfacing MVLAN be 23, auxiliary configuration equipment inside by 192.168.1.2 with
VLAN 23 makees corresponding relation list, plus VLAN 23 when receiving the message forwarding item of this destination IP.It is corresponding in forwarding list
Target entry number can be 4096, can cover all VLAN values.
By above-mentioned analysis, in three kinds of application scenarios, miniaturization accesses the management that PTN device service logic interface receives
The format of channel message is different, and comparison is as follows:
The header information that message is managed in three kinds of application scenarios of upper table pair is described in detail, and mainly has following several
Point:
From message whether encapsulation MPLS divides, can be divided into two major classes:MPLS classes, L2 classes;Wherein MPLS classes again can be with
It is divided into 0X8847 outer layers band MVLAN and outer layer without two kinds of situations of MVLAN.
An overhead messages are added in the third scene furthermore it is possible to see, because of the message in the first two scene
All it is service message, has significant difference (GAL labels 13, and only one layer of message), according to this significant difference in PTN device
This message can accurately be put forward with IFP in exchange chip, and distributes a specific action.
Wherein, IFP full name are Ingress Field Processor, it is a kind of based on three-state content addressing memory
The index that matching result can be exported after (TCAM, Ternary Content Addressable Memory) matching, according to this
Index can search corresponding forwarding behavior, and execute this forwarding behavior.In specific implementation, IFP can be exchanged in equipment
A module in chip.
But the message of third scene cannot but be distinguished with general service, therefore increase a kind of overhead messages
(being sent out by auxiliary configuration equipment).0x6666 messages also can be by exchanging IFP resources it and other messages in this message
It is distinguished.
Specific action after message distinguishes is to increase by a strip label in the packet outer layer of proposition, and message is sent out
It is sent to the interface docked with FPGA, the label of outer layer addition can be as follows:
Wherein, LSP can select no label, standard to provide that the label from 1 to 15 can be according to the difference of port
Specific use producer customized label.It is selected in the embodiment of the present application as follows:
Interface |
P1 |
P2 |
P3 |
P4 |
LSP |
2 |
3 |
4 |
5 |
Meanwhile according to exchange chip VLAN forward rules, that is, the message for the UNTAG that port receives can add it is privately owned
VLAN (PVLAN, Private VLAN), therefore, the message that FPGA is received can be following format:
Wherein, thickened portion is the content newly increased after distribution acts in upper table, and italicized item is then the VLAN put forward,
Namely the VLAN of the management passage for the Metropolitan Area Network (MAN) to be learnt.PVLAN is not have to plant equipment docking during scene 1 is applied
The case where MVLAN.
Therefore, the mechanism of study Metropolitan Area Network (MAN) management passage VLAN can be as follows automatically:
First, the operating mode that miniaturization access PTN device powers on acquiescence management passage is scene 1, i.e. MPLS encapsulation
UNTAG patterns;
Second, miniaturization accesses after the completion of PTN device power-up initializing, and corresponding IFP actions are established in each port;
Third, field programmable gate array (FPGA, Field-Programmable Gate Array) is according to the report received
The encapsulation mode of text extraction message:MPLS encapsulates TAG patterns, MPLS encapsulation UNTAG patterns, L2 encapsulation, and by the encapsulation of study
Pattern updates corresponding register respectively according to LSP (2/3/4/5), specifically can be as follows:
Meanwhile increasing a MCC bit in interrupt status position, indicate that interruption source is the variation of the channels MCC.In this way when small-sized
Change after access PTN receives the variation of the channels MCC, automatic learning management VLAN ID and operating mode simultaneously report CPU to interrupt, and CPU is held
Working condition on each port of row interrupt service routine (ISR, interrupt service routine) reading, and and
The operating mode of the management passage preserved in miniaturization access PTN device compares.In case of variation, then corresponding ports are adjusted
On operating mode be adapted to the management passage patterns of various application scenarios.
The embodiment of the present application increases auxiliary configuration equipment, using the machine of the automatic learning management VLAN of equipment internal logic
System distributes specific action to special packet using the special byte of management message, reports the pattern of CPU management to come from by interrupting
Dynamic learning management channel achievees the effect that learn configuration automatically, eliminates professional and visits and configuration and hurry back and forth, reduces equipment
The cost opened, and only need that all miniaturizations can be accessed PTN device progress business configuration in core computer room webmaster room
The operations such as management, shorten engineering time.
Based on same inventive concept, the embodiment of the present application also provides a kind of miniaturization access PTN devices to configure system, by
Similar to a kind of miniaturization access principle of PTN device configuration method in the implementation of these equipment, overlaps will not be repeated, under
Face illustrates.
Fig. 6 shows the structural schematic diagram of the embodiment of the present application miniaturization access PTN device configuration system, as schemed institute
Show, the miniaturization access PTN device configuration system may include:
NM server 601, for sending the first management message;
Auxiliary configuration equipment 602 is packaged into the second management for managing message by described first with preset encapsulation mode
Metropolitan Area Network (MAN) is sent to after message;The second management message is to increase VLAN marks on the basis of the first management message
Message;
Transmission device 603 in Metropolitan Area Network (MAN), for managing message transmission to miniaturization access PTN device by described second;
Miniaturization access PTN device 604, for managing message according to message format identification described second, by described second
VLAN marks in management message are configured to itself VLAN marks.
In implementation, the miniaturization access PTN device can be further used for the encapsulation for managing message according to described second
The operating mode of mode adjustment itself.
In implementation, the transmission device in the Metropolitan Area Network (MAN) specifically can be used for receiving what the auxiliary configuration equipment was sent
After second management message, manages message by described second and be encapsulated as third management message, the third management message is described
Increase the message of MPLS LSP and PW on the basis of second management message;According to the destination IP address, described second is managed
Message transmission to miniaturization accesses PTN device;When being sent to miniaturization access PTN device by third management message deblocking
Dress is the second management message.
In implementation, after the auxiliary configuration equipment specifically can be used for managing message increase VLAN marks by described first,
It is packaged into the second management message with MCC standard packaging formats, is sent to Metropolitan Area Network (MAN).
In implementation, the auxiliary configuration equipment, which specifically can be used for managing message by described first, to be increased after VLAN is identified again
Increase MVLAN marks and MCC encapsulation, Metropolitan Area Network (MAN) is sent to after forming the second management message;Transmission in the Metropolitan Area Network (MAN) is set
The standby logic routing interface being specifically used for by being distinguished by VLAN marks manages message transmission according to MVLAN marks by described second
PTN device is accessed to miniaturization.
In implementation, the auxiliary configuration equipment specifically can be used for being identified according to pre-stored purpose IP address and VLAN
Between mapping table, determine the first management message corresponding VLAN mark, and described first will manage message increase
The VLAN is identified to form the second management message after be sent to Metropolitan Area Network (MAN).
In implementation, the auxiliary configuration equipment can be further used for the second management message being sent to Metropolitan Area Network (MAN)
Before, it is the second management message addition overhead messages, and the overhead messages and the second management message one are concurrent
It send to Metropolitan Area Network (MAN);Wherein, the overhead messages include the identification field different from service message.
Based on same inventive concept, a kind of auxiliary configuration equipment, the auxiliary configuration are additionally provided in the embodiment of the present application
Equipment one end connects NM server interface, the other end connects metropolitan area network interface, and Fig. 7 shows that auxiliary is matched in the embodiment of the present application
Standby structural schematic diagram is installed, as shown, auxiliary configuration equipment may include:
Receiving module 701, for receiving the first management message;
Package module 702 is packaged into the second management message for managing message by described first with preset encapsulation mode;
The second management message is the message that VLAN marks are increased on the basis of the first management message;
Sending module 703 is sent to Metropolitan Area Network (MAN) for managing message by described second.
In implementation, after the package module specifically can be used for managing message increase VLAN marks by described first, with MCC
Standard packaging format is packaged into the second management message.
In implementation, the package module, which specifically can be used for managing described first after message increases VLAN marks, to be further added by
MVLAN is identified and MCC encapsulation, forms the second management message.
In implementation, the auxiliary configuration equipment may further include:Multiple logic routing interfaces are located at and connect with Metropolitan Area Network (MAN)
The one end connect, the multiple logic routing interface are distinguished by VLAN marks.
In implementation, the package module specifically can be used for according between pre-stored purpose IP address and VLAN marks
Mapping table, determine the first management message corresponding VLAN mark, and will be described in the first management message increase
VLAN identifies to form the second management message.
In implementation, the package module can be further used for adding overhead messages for the second management message, described
Overhead messages include the identification field different from service message;The sending module is specifically used for the overhead messages and institute
It states the second management message and is sent to Metropolitan Area Network (MAN) together.
Based on same inventive concept, the embodiment of the present application also provides a kind of miniaturizations to access PTN device, and Fig. 8 is shown
The embodiment of the present application miniaturization accesses the structural schematic diagram of PTN device, as shown, miniaturization access PTN device can
To include CPU, FPGA, SWITCH, wherein
SWITCH, the second management message, manages message by described second and increases LSP label corresponding with port for identification
It is sent to the interface docked with the FPGA afterwards;
FPGA, the encapsulation mode for extracting the message according to the message received and VLAN marks, and according to described
Encapsulation mode and LSP label update corresponding register, and CPU is reported to interrupt;
CPU is used to respond the interruption by ISR, and configuring VLAN marks to the VLAN of itself identifies.
In implementation, the CPU can be further used for reading the working condition on each port and with pre-stored pipe
The operating mode in reason channel compares, and then adjusts the operating mode on corresponding ports if there is a change.
In implementation, the FPGA reports CPU to interrupt using the MCC bits in interrupt status position, the MCC bits table
Show that interruption source changes for the channels MCC.
For convenience of description, each section of apparatus described above is divided into various modules with function or unit describes respectively.
Certainly, each module or the function of unit can be realized in same or multiple softwares or hardware when implementing the application.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the application range.