Background technology
From the birth of the last century 70's internet so far, internet experienced snafu development, and form mutual
The various network equipments of networking, its implementation also experienced huge change, for example as the nucleus equipment of internet ---
Router, multiple developing stage are just experienced, wherein first generation router is to plug polylith NIC on computers
To realize, be connected between polylith interface card and the processor of computer by internal bus, processor is responsible for all issued transactions,
It is real on one processor due to various functions all being concentrated including equipment control, procotol processing, data forwarding etc.
It is existing, therefore forward efficiency is relatively low.Modern medium-and-large-sized router all uses distributed structure/architecture substantially, be the characteristics of this framework by
The routing forwarding task higher to performance requirement realized by special board, and at the procotol slightly lower to performance requirement
The tasks such as reason, plant maintenance are also realized using special board, because procotol processing and plant maintenance etc. belong to for number
According to control and equipment the control in itself of forwarding behavior, so referred to as control plane (Control Plane), and data forwarding
Flow is that the information obtained according to control plane carries out simple and quick forwarding, therefore referred to as datum plane (Data
Plane), so it is that control plane separates with datum plane that this distributed structure/architecture, which is also referred to as, used by modern router
Framework.
In fact, due to control plane and the reasonability of datum plane separation architecture, in the network equipment in modern times, except road
Outside device, other network equipments, such as the catenet equipment such as core net, access network in interchanger, or communication network
All use this framework.Such as, it is specified that two data transmission interfaces, one be called basic interface in the ATCA specifications of standard
(Base Interface), one is called Fabric Interface (Fabric Interface).Basic interface provides base in ATCA cabinets
This IP transmission, Fabric Interface is the high speed data transmission interface in ATCA cabinets, and the two coffrets correspond respectively to control
Plane processed and datum plane.
Generally it is made up of in distributed network equipment the different veneer of polylith, these veneers undertake task not according to it
With three major types are divided into, the first kind is control plane veneer (Control Plane Board, referred to as CPB), and the second class is data
Plane veneer (Data Plane Board, referred to as DPB), the 3rd class are responsible for data exchange between device interior difference veneer
Power board.For example in 3G core nets or access net system equipment, control plane veneer includes:Special disposal Routing Protocol
Routing Protocol process plate (Route Process Board), exclusively carry out the signaling processing plate (Signal of signaling processing
Process Board), and it is responsible for master control process plate (the Operation and Maintain of system operation maintenance specially
Process Board) etc.;Datum plane veneer includes:It is responsible for the interface board of message access specially, is responsible for specially handling 3G subscription
User plane protocol process plate of face agreement etc.;Power board includes control plane power board and datum plane power board, is each responsible for
The exchange of control plane message and the exchange of datum plane message.Fig. 1 is a framework of typical distributed network equipment
Schematic diagram, the two control plane veneers (signaling processing plate A and signaling processing plate B) for forming the equipment and two are depicted in figure
Datum plane veneer (interface board A and interface board B), and (control plane power board and datum plane exchange two power boards
Plate), and the connection of each piece of veneer in equipment is illustrated with hollow four-headed arrow, illustrate different reports with hollow unidirectional arrow
Flow direction of the text in device interior.
In order to obtain higher datum plane performance, datum plane veneer is usually using special processor, for example uses
Network processing unit or the polycaryon processor with network acceleration characteristic.By taking the veneer using network processing unit as an example, at network
The micro engine of reason device is responsible for completing the high speed forward processing of data;And general-purpose processor core that network processing unit is internally integrated or
The plug-in general processor of person, then complete the loading of network processor micro-engine execute instruction, the configuration of various forwarding rules, property
Can statistics collection and the task such as report.Therefore, the responsibility that is undertaken according to each several part inside datum plane veneer is drawn
Point, datum plane veneer can have been divided to two component units:One be network processing unit micro engine, they are responsible for message
Fast-forwarding processing, the unit that we will be responsible for this part of functions is referred to as datum plane processing unit (Data Plane
Process Unit, referred to as DPPU);Another is the general-purpose processor core that network processing unit is internally integrated or plug-in
General processor, due to they to complete micro engine instruction loading, forwarding rule configuration, performance statistic collection with
The task such as report, be required for control plane single plate interactive, belong to the processing of control plane, therefore we will be responsible for this part
The unit of function is referred to as control plane processing unit (Control Plane Process Unit, referred to as CPPU).
In distributed network equipment, interface board is a kind of typical datum plane veneer, and interface board is responsible for connecing for message
Receive, and forward the packet to corresponding process plate.Because device interior control plane separates with datum plane, therefore some equipment
Interface board with two kinds of difference in functionalitys, control plane interface board and data plane interface plate, wherein the former and device interior control
Plane power board processed is connected, and is responsible for receiving the message of control plane, and the datum plane power board of the latter and device interior specially
It is connected, is responsible for receiving the message of datum plane specially.In view of the convenience and cost factor of networking, current many equipment are
Through realizing control plane and datum plane common network mouth function, i.e. control plane interface board closes with datum plane interface board function
One, the message received is distributed to different veneers and handled by the interface board needs after unification, if the purpose list of message
Plate is datum plane veneer, then message is directly sent to datum plane power board by the DPPU of interface board, is exchanged by datum plane
Plate represents MESSAGE EXCHANGE to purpose veneer, the in Fig. 1 handling process of this message with the dotted line of arrow.If the mesh of message
Veneer be control plane veneer, then because the DPPU of interface board is not connected, it is necessary to first pass through with control plane power board
Plate internal channel gives message the CPPU of this plate, then message is sent into control plane power board by the CPPU of this plate, then by it
By MESSAGE EXCHANGE to purpose veneer;If control plane veneer needs to send a message to device external, it can only pass through
Message is first sent to the CPPU of interface board by control plane power board, and the CPPU of interface board will be reported by the data channel in plate
Text issues its DPPU, then message is sent into device external by DPPU, and the handling process of both messages is with the arrow in Fig. 1
Solid line represents.For the ease of understanding and the contrast with the present invention, Fig. 2 gives when receiving different messages outside interface board slave unit
Handling process.
In order to ensure between different control plane veneers and the CPPU of control plane veneer and datum plane veneer between lead to
The reliability of letter, it is reliable usually using RUDP (RUDP), TIPC (transparent interprocess communication) etc. in system
Transport layer communication protocol, and the data that will be transmitted are packaged into message between different boards, therefore put down in control plane veneer and data
Can all there is a message between different boards processing unit on the CPPU of face veneer, be responsible for receiving and sending message between different boards.This machine manufacture
Data communication into control plane is larger for system resource occupancy, and due to the reasons such as cost and power consumption, datum plane
The CPPU of veneer performance is weaker, when datum plane veneer needs on send control plane veneer message amount it is more when, easily
Cause its CPPU load heavier, cause the generation that its response speed is slack-off, message delay is big, even loses situations such as message.
In fact such message is mainly handled by control plane veneer, and the CPPU of interface board is only responsible for the transfer of message, also
It is to say that it is a simple communication port, as a simple communication port, transfer control plane message provides to it
The consumption in source is obviously excessive;On the other hand, control plane veneer is received by the message between different boards processing unit run thereon in itself
The message that the veneer distribution of hair datum plane comes, it is also bigger to the expense of its resource;3rd, the CPPU connections control of datum plane
The bandwidth of the passage of plane power board processed is limited, and control plane veneer is given when datum plane veneer needs to distribute more message
When, the valuable bandwidth of the communication port of its CPPU connection control plane power board can be taken, influences the transmitting-receiving of critical message.
For the above mentioned problem in correlation technique, effective solution is not yet proposed at present.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that do not conflicting
In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
Fig. 3 is the flow chart for the method for carrying out message interaction in the network equipment according to the embodiment of the present invention between veneer.Such as
Shown in Fig. 3, this method includes:
Step S302, that establishes between the datum plane processing unit of interface board and control plane power board direct connects
First communication port;
Step S304, connect by the first communication port between datum plane processing unit and control plane power board
Message interaction between oralia and control plane veneer.
Above-described embodiment between datum plane processing unit and control plane power board by increasing directly connect the newly
One communication port, so as to be entered between datum plane processing unit and control plane power board using above-mentioned first communication port
Row message interaction, can solve interface board to control plane veneer distribute message when existing CPPU response speeds it is slower, network
The less stable of equipment, and to CPPU performance requirement it is higher the problems such as so that the interface board of the network equipment
CPPU has faster response speed;Enable control plane veneer that there is higher process performance;So that control plane with
Communication between datum plane is relatively reliable.
, can when above-mentioned datum plane processing unit carries out message interaction with control plane power board by the first communication port
, can also be according to the message of the control plane processing unit of interface board to carry out message interaction according to default packet sending and receiving rule
Transmitting-receiving rule carries out message interaction, specifically, logical by first between datum plane processing unit and control plane power board
Believe that passage carries out the message interaction between interface board and control plane veneer, including:It is flat with control by datum plane processing unit
The first communication port between the power board of face, enter line interface according to the packet sending and receiving rule of the control plane processing unit of interface board
Message interaction between plate and control plane veneer.By above-mentioned processing procedure, it flexibly can select or set message interaction regular.
Interface board is carried out above by the first communication port between datum plane processing unit and control plane power board
With the message interaction between control plane veneer, including at least one of processing procedure:
(1) datum plane processing unit receives the message come from outside the network equipment, and according to message content and divides
Hair rule determines to carry out the control plane veneer of message interaction with it;Datum plane processing unit is logical by the first communication by message
Road is distributed to the control plane veneer of determination;
(2) datum plane processing unit receives the message for coming from control plane veneer by the first communication port, and will
Message is forwarded to outside the network equipment.
Because the DPPU of interface board has interface to be connected on control plane power board, and control plane power board is with owning
The CPPU of interface board is connected, and therefore, datum plane processing unit can also be exchanged by the first communication port via control plane
Message is sent to control plane processing unit by plate.Wherein, the control plane processing unit can be this interface board or other connect
Oralia.
Above-mentioned control plane processing unit can also be monitored to the first communication port, when detecting the first communication port
When abnormal, the second communication port that control plane veneer is established via control plane processing unit by control plane power board with
Datum plane processing unit carries out message interaction.From the above, it can be seen that when the first communication port occurs abnormal, use
The communication of second communication port is two-way.First communication port and the second communication port can other side each other backup path.
A kind of network equipment is additionally provided in the present embodiment, and the equipment is used to realize above-described embodiment and the side of being preferable to carry out
Formula, repeating no more for explanation was carried out, the module being related in the equipment had been illustrated below.Following examples are retouched
The equipment stated can be realized by software and hardware cooperation, sometimes for improving stability, can also be realized with pure hardware.
Fig. 4 is the structured flowchart according to the network equipment of the embodiment of the present invention.As shown in figure 4, the network equipment includes:Control plane list
Plate 40, control plane power board 42 and interface board 44.Interface board 44 includes:At control plane processing unit 440, datum plane
Unit 442 is managed,
The first communication port directly connected is provided between datum plane processing unit 442 and control plane power board 42
46, for carrying out the message interaction between datum plane processing unit 442 and control plane veneer 40.
Preferably, interface board 44 passes through the first communication according to the packet sending and receiving rule that control plane processing unit 440 is set
Passage 46 carries out the message interaction between interface board 44 and control plane veneer 40.
Preferably, datum plane processing unit 442, the message outside the network equipment is come from for reception, and according to report
Literary content and distribution rules determine to carry out the control plane veneer 40 of message interaction with it;Datum plane processing unit 442, use
In the control plane veneer 40 that message is distributed to determination by the first communication port 46;
Preferably, datum plane processing unit 442, control plane list is come from for being received by the first communication port 46
The message of plate 40, and forward the packet to the network equipment.
In a preferred embodiment of invention, as shown in figure 5, datum plane processing unit 442, for passing through first
Message is sent to control plane processing unit 440 by communication port 46 via control plane power board 42.
In a preferred embodiment of invention, as shown in figure 5, control plane processing unit 440, for detecting
When first communication port 46 is abnormal, notice control plane veneer 40 is handled single by control plane power board 42 via control plane
The second communication port 50 that member 440 is established carries out message interaction with datum plane processing unit 442.
Illustrated with reference to preferred embodiment, preferred embodiment below combines above-mentioned embodiment and its preferred reality
Apply mode.
Preferred embodiment 1
The present embodiment is related to the method for the common network mouth of control plane and datum plane in distributed network equipment, and control
The communication means of plane and datum plane.
When the purpose of this preferred embodiment is for above-mentioned control plane and datum plane common network mouth, interface board is to control
Plane veneer distributes the defects of message mechanism, proposes a kind of control plane message distribution mechanisms of high efficient and reliable so that distributed
The CPPU of the interface board of the network equipment has faster response speed;Enable control plane veneer that there is higher treatability
Energy;So that the communication between control plane and datum plane is relatively reliable.
To reach above-mentioned purpose, the technical scheme that the present embodiment uses includes herein below:
On interface board, DPPU except have an interface (equivalent to second communication port) connection datum plane power board it
Outside, then a newly-increased interface is connected to control plane power board (equivalent to the first communication port), passes through the DPPU of the interface board
Data exchange directly can be carried out by control plane power board with control plane veneer.Due to what is exchanged between control plane veneer
Data are all packaged into message, and this interface increased newly on the DPPU of interface board does not do message encapsulation and message decapsulation etc.
Reason, therefore the passage is referred to as RAW passages.
The CPPU of interface board is in addition to the distribution rules of datum plane message are synchronized to message receive distribution module, also
Need the distribution rules of control plane message being synchronized to message reception distribution module.
The message of docking oralia receives Dispatching Unit and transformed, the message synchronously to be come according to message content and CPPU
Distribution rules, for the message of datum plane, corresponding interface board can be directly distributed to by DPPU, for the report of control plane
Text, corresponding control plane process plate can be distributed to by connecting the interface of control plane web plate on DPPU.
The datum plane processing unit of interface board when receiving the message outside network element, according to message content and
Distribution rules sort to message, if the message of datum plane, then carry out datum plane respective handling, if control
The message of plane, then determine need which block control plane process plate be distributed to according to message content and distribution rules.
The receiving module of control plane veneer is transformed, can be according to the source address information of the message received
And/or type of message information, the message for being directly from interface board DPPU is distinguished, and can believe according to the destination address of message
Breath, corresponding processing module in plate is distributed to by message.
It is directly by control plane power board that message is first when control plane veneer needs to send message to the outside of network element
The DPPU of corresponding interface plate is first sent to, and carries required information is further processed in messages.
The DPPU needs of interface board are properly received and handled control plane veneer and directly sent by control plane power board
Message, and according to the information carried in message, message is further processed, then message is sent to outside network element.
Interface monitorings of the CPPU of interface board to connection control plane power board on the DPPU of this plate, if interface appearance is different
Often, then the passage of this plate control plane and datum plane is switched back into original mode, that is, needs to be sent to control plane veneer
Message be sent to the CPPU of this plate on first, then by CPPU by message between different boards mode by message be sent to corresponding to control plane list
Plate, need to be handed down to the message of this plate for control plane veneer, then first pass through the CPPU that message between different boards is sent to this plate, then by
CPPU forwards the message to DPPU by plate internal channel, and message is sent to network element by DPPU.
Because the DPPU of interface board has interface to be connected on control plane power board, and control plane power board is with owning
The CPPU of interface board is connected, therefore the DPPU of interface board can also be by being connected control with the CPPU of any one piece of interface board on DPPU
The interface of plane power board processed sends message.
Preferred embodiment 2
The present embodiment is related to interface board and signaling processing plate, is divided into the handling process that message enters equipment from interface board, with
And message is dealt into the handling process outside equipment from signaling processing plate, 4 flows are all included on two kinds of veneers, it is specific as follows:
Fig. 6 is the Message processing flow chart that interface board receives direction in the present embodiment, as shown in fig. 6, the flow includes:
Step S602, the DPPU slave units of interface board receive a message outside.
Step S604, the DPPU of interface board believe according to the protocol type of message, destination address, transport layer destination slogan etc.
Breath judges whether the message is a control plane message.If control plane message, then carried out into step S606 next
The processing of step, otherwise illustrate that this message is a datum plane message, it is necessary to carry out the processing of next step into step S608.
Step S606, judge whether RAW passages (equivalent to the first communication port) are normal, if RAW passages are normal, enter
Enter step S616, the message is sent from RAW passages, otherwise into step 610, by the CPPU of the message up sending to this plate, from biography
System passage sends the message.
Message is sent to purpose datum plane veneer by step S608, DPPU by datum plane passage.Message is carried out
The forward process of datum plane, according to the information such as the destination address of message and user's mark, find needs and continued to this
The interface board that message is handled, and the message is sent to corresponding interface board from datum plane power board, go to step S622.
Step S610, the DPPU of interface board give message the CPPU of this plate from the internal data path of veneer.
Step S612, the CPPU of interface board receive the message from this plate DPPU from the internal data path of veneer, and
Its final control plane veneer to be reached is obtained according to message information and forwarding rule, then message is packaged between plate
Message format.
Step S614, the CPPU of interface board gives packaged message between different boards to transport layer protocol processing, and eventually passes through
Message between different boards is issued purpose control plane veneer by control plane passage, goes to step S622.
Step S616, the DPPU of interface board inquire about the control plane message that CPPU synchronously gets off according to the destination address of message
Forwarding rule, show which block control plane veneer the message is sent on by needs, and obtain the address of the control plane veneer
Information.
Step S618, the DPPU of interface board, will according to the address information for the control plane veneer found in step S616
The message of transmission is packaged into RAW channel formats, so that control plane veneer can distinguish RAW passage messages.
Packaged message is sent to purpose control plane veneer by step S620, the DPPU of interface board by RAW passages,
The step that circulates S622.
Step S622, terminate.
Fig. 7 is the Message processing flow that signaling processing plate receives direction in the present embodiment, as shown in fig. 7, the flow includes:
Step S702, signaling processing plate receive a message.
Step S704, signaling processing plate judge whether the message is RAW passages according to the information such as form, source address of message
(equivalent to the first communication port) message.If RAW passage messages, then step S706 is gone to, carry out the place of RAW passage messages
Reason;Otherwise, step S710 is gone to, carries out the handling process of message packet between common plate.
Step S706, signaling processing plate peel off the related encapsulation of RAW passages, original report are recovered from RAW passage messages
Text.
Step S708, signaling processing plate are given the message to corresponding module and handled, turn step according to the content of message
Rapid S714.
Step S710, signaling processing plate are transmitted the processing of layer protocol to the message, and from message between recovery ejecting plate
Message.
Step S712, signaling processing plate is according to message purpose entrained in the message between different boards recovered in step S710
The information such as ground, give message to corresponding processing module and handled, go to step S714.
Step S714, terminate.
Fig. 8 is the Message processing flow of signaling processing plate sending direction in the present embodiment, as shown in figure 8, the flow includes:
Step S802, signaling processing plate produce a message, it is necessary to be sent to outside equipment.
Step S804, according to the content of message, obtain message needs to be sent out from which external interface signaling processing plate
This message, and obtain interface board where the interface.
Step S806, the RAW passages of interface board where signaling processing plate judges transmission interface are (logical equivalent to the first communication
Road) whether can use.If RAW passages can use, S808 is gone to step, message is sent to by interface board by RAW passages;Otherwise,
S812 is gone to step, message is sent to by interface board by message between different boards.
Step S808, signaling processing plate obtain the information of the RAW passages of interface board, i.e., control plane is connected on DPPU and is exchanged
The address information of the internal interface of plate, message is packaged into RAW passage message formats.
The message of packaged RAW channel formats is sent to interface board by step S810, signaling processing plate by RAW passages
DPPU, go to step S816.
Step S812, signaling processing plate obtain the control plane channel information of interface board, i.e. CPPU associated address information,
Message is packaged into message between different boards form.
Message between different boards packaged in step 630 is sent to by step S814, signaling processing plate by control plane passage
The CPPU of interface board.
Step S816, terminate.
It should be noted that being the description of several critical workflows of the present embodiment above, handled in embodiment with signaling
Illustrate control plane veneer exemplified by plate, but the present invention can apply any control plane veneer, it can also be used to switching board, accordingly
Ground, modification of the present invention for interface board, it can also be used to other datum plane veneers, put down with improving internal control plane with data
The communication efficiency in face.
Preferred embodiment 3
After Fig. 9 shows the use present invention, the intercommunication Organization Chart of distributed network equipment.With scheme shown in Fig. 1
Compare, more a four-headed arrows, the i.e. DPPU of interface board and control between the DPPU and control plane power board of interface board
A data channel is added between plane veneer, because control plane switching board is connected with all control plane veneers,
Therefore after using the present invention, the DPPU of interface board can directly be communicated with all control plane veneers, and without
Cross the CPPU of interface board.
Compared to Figure 1, it is also newly-increased in Fig. 9 in addition to newly-increased connection between a DPPU and control plane power board
Two thicker solid lines with the arrow, one is to receive Dispatching Unit with interface board A message to start, to signaling processing plate A
As a result;One is started with signaling processing plate B, and the packet sending unit to interface board B terminates.Handled from interface board A to signaling
Plate A heavy line with the arrow represents the RAW passages that interface board A is sent by the RAW passages in the present invention to signaling processing plate A
Message, and the heavy line with the arrow from signaling processing plate B to interface board A represents that signaling processing plate B is led to by the RAW of embodiment
The RAW passage messages that road is sent to interface board A.
As can be seen from the above description, the present invention realizes following technique effect:
The invention has the advantages that:Avoid control plane message flow it is larger when, handle control plane message
For the occupancy of the CPPU of interface board resource, faster response speed is made it have, while it is no longer turned into system and controls
The bottleneck of plane performance, and therefore effectively improve the performance of system control plane;Because new DPPU connections control plane exchanges
There is backup between the data channel of plate and traditional control plane passage, therefore the control of distributed network equipment can be effectively improved
The stability of plane processed;Further, since the DPPU of interface board directly sends message by RAW passages to control plane veneer, because
In CPPU this system to(for) interface board performance requirement reduces, and in some cases, can use the lower processor of price
As CPPU, so as to reduce equipment cost.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed
Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored
Performed in the storage device by computing device, and in some cases, can be with different from shown in order execution herein
The step of going out or describing, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or
Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.