CN104104592A - Message processing method, device and system - Google Patents

Message processing method, device and system Download PDF

Info

Publication number
CN104104592A
CN104104592A CN201310127384.9A CN201310127384A CN104104592A CN 104104592 A CN104104592 A CN 104104592A CN 201310127384 A CN201310127384 A CN 201310127384A CN 104104592 A CN104104592 A CN 104104592A
Authority
CN
China
Prior art keywords
protocol massages
threshold value
capacity threshold
forwarding capacity
control point
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
Application number
CN201310127384.9A
Other languages
Chinese (zh)
Other versions
CN104104592B (en
Inventor
丁汉城
韩志冲
宋俊骏
张冀明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310127384.9A priority Critical patent/CN104104592B/en
Publication of CN104104592A publication Critical patent/CN104104592A/en
Application granted granted Critical
Publication of CN104104592B publication Critical patent/CN104104592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a message processing method, a device and a system. The method comprises the following steps: a data plane of a business board where a control point resides receives protocol messages; if the quantity of the protocol messages to be currently processed is greater than a first forwarding capacity threshold value and is less than a preset second forwarding capacity threshold value, the protocol messages with the quantity exceeding the first forwarding capacity threshold value in the protocol messages to be currently processed are transmitted to a data plane of a business board where an upper-level control point resides; and if the quantity of the protocol messages to be currently processed is greater than the second forwarding capacity threshold value, the protocol messages with the quantity being equal to the difference between the second forwarding capacity threshold value and the first forwarding capacity threshold value in the protocol messages to be currently processed are transmitted to the data plane of the business board where the upper-level control point resides, and the protocol messages with the quantity exceeding the second forwarding capacity threshold value are abandoned.

Description

Message processing method, Apparatus and system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of message processing method, Apparatus and system.
Background technology
Complicated data communications equipment adopts distributed system architecture conventionally, generally includes a master control borad and multiple business board in distributed system architecture; Each board comprises control plane and datum plane.
In existing protocol massages processing procedure, in whole system framework, be set to control point for each protocol massages business board, the datum plane of this place, control point business board is delivered to upper-layer service plate to the protocol massages receiving on whether according to the disposal ability of the control plane of place, control point business board and is judged, datum plane to deliver to the control plane of this place, control point business board on interior protocol massages, abandons control plane disposal ability scope by the protocol massages exceeding beyond control plane disposal ability scope.Control plane, to after receiving protocol massages and processing, will be delivered to upper-layer service plate or master control borad on protocol massages.
Adopt existing message processing method, the limited processing ability of the control plane of business board the protocol massages quantity of above sending, also just limited the disposal ability of equipment; Although the disposal ability of the control plane of master control borad is much larger than the disposal ability of the control plane of business board under normal circumstances, but the resource of the control plane of master control borad is not fully utilized, and business board quantity is fewer, the wasting of resources of the control plane of master control borad is more; The disposal ability waste of control plane and the low contradiction of disposed of in its entirety ability of equipment of master control borad are so just caused.
Summary of the invention
In view of this, the invention provides a kind of message processing method, Apparatus and system, can improve and on protocol massages, send quantity, thereby the resource of the control plane of master control borad is fully used, effectively improve the disposal ability of whole system.
In first aspect, the invention provides a kind of message processing method, the method is applied to distributed system architecture, and the method comprises:
The datum plane of the business board at place, control point receives protocol massages;
If the quantity of current pending protocol massages is less than the first forwarding capacity threshold value, the control plane of place, described control point business board will be delivered on described current pending protocol massages;
If the quantity of current pending protocol massages is greater than described the first forwarding capacity threshold value and is less than the second forwarding capacity threshold value, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of described the first forwarding capacity threshold value the control plane of place, described control point business board, exceeds the datum plane of delivering to place, control point, upper strata business board on the protocol massages of described the first forwarding capacity threshold value;
If the quantity of current pending protocol massages is greater than described the second forwarding capacity threshold value, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of described the first forwarding capacity threshold value the control plane of place, described control point business board, quantity equals to deliver on the protocol massages of difference of described the second forwarding capacity threshold value and described the first forwarding capacity threshold value the datum plane of place, control point, upper strata business board, and the protocol massages that exceeds described the second forwarding capacity threshold value abandons.
In the first mode in the cards of first aspect, after the datum plane of place, described control point business board receives protocol massages, described method also comprises: the datum plane of place, described control point business board is that the protocol massages receiving from system in described protocol massages arranges priority; And place, the described control point higher set priority of level is higher.
In conjunction with the first mode in the cards of first aspect or first aspect, in the second mode in the cards of first aspect, in described current pending protocol massages, quantity is that the priority of protocol massages of described the first forwarding capacity threshold value is the highest, and the protocol massages priority that exceeds described the second forwarding capacity threshold value is minimum.
In conjunction with the first mode in the cards of first aspect or first aspect or the second of first aspect possibility implementation, in the third mode in the cards of first aspect, described the first forwarding capacity threshold value and described the second forwarding capacity threshold value preset; Wherein,
Described the first forwarding capacity threshold value is the heap(ed) capacity that place, the described control point a certain moment of business board can retransmission protocol message;
Described the second forwarding capacity threshold value is that the max-forwards capacity sum of all business boards in system and the product of convergence ratio deduct the first forwarding capacity threshold value; Wherein, convergence ratio is the probability of burst service simultaneously on all business boards in system.
In second aspect, the invention provides a kind of message process device, this device is for realizing the datum plane of place, control point business board, and this device comprises:
Receiving element, for receiving protocol massages;
On send unit, if be less than the first forwarding capacity threshold value for the quantity of current pending protocol massages, will on described current pending protocol massages, deliver to the control plane of place, described control point business board; If the quantity of current pending protocol massages is greater than described the first forwarding capacity threshold value and is less than the second forwarding capacity threshold value, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of described the first forwarding capacity threshold value the control plane of place, described control point business board, exceeds the datum plane of delivering to place, control point, upper strata business board on the protocol massages of described the first forwarding capacity threshold value; If the quantity of current pending protocol massages is greater than described the second forwarding capacity threshold value, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of described the first forwarding capacity threshold value the control plane of place, described control point business board, quantity equals to deliver on the protocol massages of difference of described the second forwarding capacity threshold value and described the first forwarding capacity threshold value the datum plane of place, control point, upper strata business board, and the protocol massages that exceeds described the second forwarding capacity threshold value abandons.
In the first mode in the cards of second aspect, described device also comprises: setting unit, is used to the protocol massages receiving from system in described protocol massages that priority is set; And place, the described control point higher set priority of level is higher.
In conjunction with the first mode in the cards of second aspect or first aspect, in the second mode in the cards of second aspect, in described current pending protocol massages, quantity is that the priority of protocol massages of described the first forwarding capacity threshold value is the highest, and the protocol massages priority that exceeds described the second forwarding capacity threshold value is minimum.
In conjunction with the first mode in the cards of second aspect or second aspect or the second of second aspect possibility implementation, in the third mode in the cards of second aspect, described the first forwarding capacity threshold value and described the second forwarding capacity threshold value preset; Wherein,
Described the first forwarding capacity threshold value is the heap(ed) capacity that place, the described control point a certain moment of business board can retransmission protocol message;
Described the second forwarding capacity threshold value is that the max-forwards capacity sum of all business boards in system and the product of convergence ratio deduct the first forwarding capacity threshold value; Wherein, convergence ratio is the probability of burst service simultaneously on all business boards in system.
In the third aspect, the invention provides a kind of message handling system, this system is distributed system architecture, comprises master control borad and at least one layer service plate, wherein each layer service plate comprises one or more business boards, and described business board comprises above-mentioned arbitrary message process device.
Pass through such scheme, in the time that the disposal ability of the control plane of place, control point business board is not enough, the datum plane of place, control point business board can exceed to be delivered to control point, upper strata on the protocol massages of control plane disposal ability of place, control point business board and processes, to reduce the quantity that abandons protocol massages, improve the quantity of accessible protocol massages, and then can effectively improve the resource utilization of the control plane of master control borad, improve the disposal ability of whole system.
Brief description of the drawings
The schematic flow sheet of a kind of message processing method that Fig. 1 provides for the embodiment of the present invention;
A kind of distributed system architecture schematic diagram that Fig. 2 provides for the embodiment of the present invention;
The structural representation of a kind of message process device that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the another kind of message process device that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of business board that Fig. 5 provides for the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
The applied data communications equipment of message processing method provided by the invention adopts distributed system architecture, and this distributed system architecture comprises a master control borad that is positioned at the superiors, one or more layers business board.In every layer service plate, can comprise one or more business boards, master control borad and business board all comprise control plane and datum plane, control plane is conventionally by processor, for example central processing unit (central processing unit, be called for short CPU), network processing unit (network processor, be called for short NP) carrying, datum plane is carried by forwarding chip conventionally, and the forwarding chip on master control borad is called again switching network chip conventionally.And for every kind of protocol massages, one group of control point is set in the whole distributed system of data communications equipment.For a kind of protocol massages, every layer arranges a control point at the most, wherein the control point of the superiors on master control borad, the control point of other layer can any one business board in every layer service plate on.
For example, in the time adopting two-layer distributed system architecture, the superiors are a master control borad, and lower floor is made up of multiple business boards, and for a certain protocol massages, a business board in the multiple business boards of the superiors' master control borad and lower floor is set to control point.In the time of the distributed structure/architecture that adopts three layers, the superiors are a master control borad, middle level is made up of multiple business boards, lower floor is also made up of multiple business boards, for a certain protocol massages, by the superiors' master control borad, a business board in the multiple business boards of business board and/or lower floor in the multiple business boards in middle level is set to control point.
By multiple control points are set in whole system, if the quantity at the current pending protocol massages at a certain control point is greater than predefined protocol massages forwarding capacity, can on the protocol massages of predefined protocol massages forwarding capacity, deliver to control point, upper strata and process exceeding, improve the quantity of accessible protocol massages, and then can effectively improve the resource utilization of the control plane of master control borad, improve the disposal ability of whole system.
Referring to Fig. 1, the schematic flow sheet of a kind of message processing method providing for the embodiment of the present invention.The executive agent of this message processing method is the datum plane of place, control point business board.As shown in Figure 1, this message processing method comprises:
110, receive protocol massages.
This protocol massages can comprise: the protocol massages receiving from system and/or, the protocol massages sending on the datum plane of place, lower floor control point business board.
Datum plane, after receiving protocol massages, need to determine whether the quantity of the pending protocol massages of current time exceedes the first forwarding capacity threshold value; If the quantity of the pending protocol massages of described current time exceeds described the first forwarding capacity threshold value, also need the quantity that judges the pending protocol massages of described current time whether to exceed the second forwarding capacity threshold value.Described the first forwarding capacity threshold value and described the second forwarding capacity threshold value can preset, and also can adjust in real time according to network condition.Wherein,
The a certain moment that described the first forwarding capacity threshold value is this place, control point business board can retransmission protocol message heap(ed) capacity.
Described the second forwarding capacity threshold value is that the max-forwards capacity sum of all business boards in system and the product of convergence ratio deduct the first forwarding capacity threshold value.Specifically can represent with following formula:
The max-forwards capacity sum × convergence ratio-the first forwarding capacity threshold value of all business boards in second forwarding capacity threshold value=system;
Wherein, convergence ratio is the probability of while burst service on all business boards.
120, if the quantity of current pending protocol massages is less than the first forwarding capacity threshold value, will on described current pending protocol massages, deliver to the control plane of this place, control point business board.
Due to, the quantity of current pending protocol massages is not more than the first forwarding capacity threshold value, the disposal ability of the control plane of this place, control point business board is enough to process current all pending protocol massages, therefore the control plane of delivering to this place, control point business board on current all pending protocol massages is carried out to respective handling.
130, if when the quantity of current pending protocol massages is greater than the first forwarding capacity threshold value and is less than the second forwarding capacity threshold value, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of the first forwarding capacity threshold value the control plane of place, control point business board, exceeds the datum plane of delivering to place, the datum plane control point business board of place, control point, upper strata business board on the protocol massages of the first forwarding capacity threshold value.
Due to, the quantity of current pending protocol massages is greater than the first forwarding capacity threshold value, but is less than the second forwarding capacity threshold value, and the disposal ability of the control plane of this place, control point business board is not enough to process current all clear texts.Therefore, in the present embodiment, current pending protocol massages can be divided into and can forward part and these two parts of transfer part, the protocol massages quantity that can forward part equals the first forwarding capacity threshold value, using remainder as transfer part, exceed the protocol massages of the first forwarding capacity threshold value.Datum plane, by delivering to the datum plane of place, control point, upper strata business board on the protocol massages of transfer part, is processed by control point, upper strata.Can forward the control plane of delivering to this place, control point business board on protocol massages partly, carry out respective handling by the control plane of this place, control point business board.
140, if the quantity of current pending protocol massages is greater than the second forwarding capacity threshold value, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of the first forwarding capacity threshold value the control plane of this place, control point business board, quantity equals to deliver on the protocol massages of difference of the second forwarding capacity threshold value and the first forwarding capacity threshold value the datum plane of place, control point, upper strata business board, and the protocol massages that exceeds the second forwarding capacity threshold value abandons.
When the quantity of current pending protocol massages is greater than the second forwarding capacity threshold value, the disposal ability of the control plane of this place, control point business board is not enough to process current all pending protocol massages, and the protocol massages that exceeds part can only abandon.
In the present embodiment, current pending protocol massages can be divided into and can forward part, transfer part and abandon this three part of part, the protocol massages quantity that can forward part equals the first forwarding capacity threshold value, the protocol massages total amount of transfer part equals the difference of the second forwarding capacity threshold value and the first forwarding capacity threshold value, remainder, also exceed the protocol massages of the second forwarding capacity threshold value for abandoning part.Can forward the control plane of delivering to this place, control point business board on protocol massages partly, carry out respective handling by the control plane of this place, control point business board; On the protocol massages of transfer part, deliver to the datum plane of place, control point, upper strata business board, processed by control point, upper strata; The protocol massages that abandons part directly abandons.
The protocol massages that the datum plane of place, control point business board receives may be the protocol massages receiving from system; Also may be the capacity of the pending protocol massages received of the datum plane of place, lower floor control point business board while being greater than the first forwarding capacity threshold value, the protocol massages sending on the datum plane by place, lower floor control point business board; Also may both comprise the protocol massages receiving from system, also comprise the protocol massages sending on the datum plane of place, lower floor control point business board.
Alternatively, the datum plane of place, control point business board is receiving after protocol massages, and this message processing method can also comprise:
The datum plane of place, control point business board, for the protocol massages receiving from system in described protocol massages arranges priority; Concrete, the datum plane of place, different layers control point business board, for the protocol massages receiving from system arranges different priority; The level at control point is higher, and the datum plane of this place, control point business board is that the priority that arranges of the protocol massages that receives from system is higher.The protocol massages that the datum plane of each like this layer of place, control point business board can priority treatment respectively receives outward since system.
On the datum plane of place, control point business board is preferential by protocol massages high current pending protocol massages medium priority, deliver to the control plane of this place, control point business board.Concrete, in the time that current pending protocol massages quantity is not more than the first forwarding capacity threshold value, will on protocol massages, deliver to the control plane of this place, control point business board according to priority order from high to low.Be greater than the first forwarding capacity threshold value in current pending protocol massages quantity, but while being less than the second forwarding capacity threshold value, can forward the priority of protocol massages partly higher than the priority of the protocol massages of transfer part, and the protocol massages that can forward part is according to the control plane of delivering to this place, control point business board in priority order from high to low.In the time that current pending protocol massages quantity is greater than the second forwarding capacity threshold value, can forward the priority of protocol massages partly higher than the priority of the protocol massages of transfer part, the priority of the protocol massages of transfer part is higher than the priority that abandons protocol massages partly, and the protocol massages that can forward part is according to the control plane of delivering to this place, control point business board in priority order from high to low.
For instance, data communications equipment as shown in Figure 2 adopts two-layer distributed system architecture, and the superiors are a master control borad, and lower floor is made up of multiple business boards.And be set to control point 1 for a business board in a certain protocol massages lower floor, master control borad is set to control point 2.This data communications equipment adopts committed access rate (committed access rate, be called for short CAR) technology, provide protocol massages speed limit processing capacity by two token buckets, suppose that lower floor's business board is 12, convergence ratio is 50%, committed information rate (the committed information rate of each business board, be called for short CIR), the first forwarding capacity threshold value is 128Kb/s(bps), peak information rate (peak information rate, be called for short PIR), the second forwarding capacity threshold value is 128Kb/s × 12 × 50%-128Kb/s=640Kb/s.
On the business board at 1 place, control point, forwarding chip receives after protocol massages, first according to the first forwarding capacity threshold value and the second forwarding capacity threshold value that arrange, current pending protocol massages is dyeed.In this example, current pending protocol massages is all protocol massages that forwarding chip receives each second.
Concrete, the protocol massages quantity receiving when forwarding chip is per second is no more than 128Kb, and all protocol massages that receive are colored as green.
The protocol massages quantity receiving when forwarding chip is per second exceedes 128Kb, but do not exceed 640Kb, the protocol massages receiving per second forwarding chip is divided into two parts, the quantity of Part I protocol massages is 128Kb, be green by the dyeing of Part I protocol massages, remaining protocol massages is Part II protocol massages, and the quantity that is also Part II protocol massages is the poor of the forwarding chip protocol massages quantity receiving per second and 128Kb, is yellow by the dyeing of Part II protocol massages.
The protocol massages quantity receiving when forwarding chip is per second has exceeded 640Kb, the protocol massages receiving per second forwarding chip is divided into three parts, the quantity of Part I protocol massages is 128Kb, be green by the dyeing of Part I protocol massages, the quantity of Part II protocol massages is the poor of 640Kb and 128Kb, be 512Kb, be yellow by the dyeing of Part II protocol massages, remaining protocol massages, also the quantity that is Part III protocol massages is the poor of the forwarding chip protocol massages quantity receiving per second and 640Kb, be redness by the dyeing of Part III protocol massages.
After dyeing, forwarding chip is processed the CPU dyeing as delivering to control point 1 place business board on green protocol massages, dyeing is processed for the forwarding chip of delivering to control point 2 place business boards on yellow protocol massages, dyeing is abandoned for red protocol massages.
Can be found out by this example, prior art only arranges a control point in whole system, it is per second can retransmission protocol message capacity be only 128Kb, and utilize the embodiment of the present invention that distributed system and protocol message processing method are provided, it is per second forwards that to learn protocol massages capacity be 640Kb, above send the quantity of protocol massages to be significantly improved.And the quantity of business board is more, its can on the protocol massages quantity sent more.
Therefore, the message processing method that utilizes the embodiment of the present invention to provide, in the time that the disposal ability of the control plane of place, control point business board is not enough, the datum plane of place, control point business board can be delivered to control point, upper strata on the protocol massages of disposal ability of control plane of place, control point business board and processes exceeding, reduce the quantity that abandons protocol massages, improve the quantity of accessible protocol massages, and then can effectively improve the resource utilization of the control plane of master control borad, improve the disposal ability of whole system.
Referring to Fig. 3, the structural representation of a kind of message process device providing for the embodiment of the present invention.This message process device is realized the datum plane of the business board at place, control point, in order to realize the message processing method as shown in Fig. 1 of the present invention.As shown in Figure 3, this message process device comprises: receiving element 310, above send unit 320.
Receiving element 310 is for receiving protocol massages.
This protocol massages can comprise: the protocol massages receiving from system and/or, the protocol massages sending on the datum plane of place, lower floor control point business board.
If on while sending unit 320 to be less than the first forwarding capacity threshold value for the quantity of current pending protocol massages, will on described current pending protocol massages, deliver to the control plane of this message process device place business board.
Described the first forwarding capacity threshold value is the heap(ed) capacity that a certain moment of place, control point business board can retransmission protocol message.
Due to, the quantity of current pending protocol massages is not more than the first forwarding capacity threshold value, the disposal ability of the control plane of this message process device place business board is enough to process current all pending protocol massages, send unit 320 that the control plane of delivering to this message process device place business board on current all pending protocol massages is carried out to respective handling on therefore.
If on while sending unit 320 be also greater than the first forwarding capacity threshold value and be less than the second forwarding capacity threshold value for the quantity of current pending protocol massages, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of the first forwarding capacity threshold value the control plane of this message process device place business board, exceeds the datum plane of delivering to place, control point, upper strata business board on the protocol massages of the first forwarding capacity threshold value.
Described the second forwarding capacity threshold value is that the max-forwards capacity sum of all business boards in system and the product of convergence ratio deduct the first forwarding capacity threshold value.Specifically can represent with following formula:
The max-forwards capacity sum × convergence ratio-the first forwarding capacity threshold value of all business boards in second forwarding capacity threshold value=system;
Wherein, convergence ratio is the probability of while burst service on all business boards.
Described the first forwarding capacity threshold value and described the second forwarding capacity threshold value can preset, and also can adjust in real time according to network condition.
Due to, the quantity of current pending protocol massages is greater than the first forwarding capacity threshold value, but is less than the second forwarding capacity threshold value, and the disposal ability of the control plane of this message process device place business board is not enough to process current all clear texts.Therefore, in the present embodiment, current pending protocol massages can be divided into and can forward part and these two parts of transfer part, the protocol massages quantity that can forward part equals the first forwarding capacity threshold value, using remainder as transfer part, exceed the protocol massages of the first forwarding capacity threshold value.On send the datum plane of delivering to place, control point, upper strata business board on the protocol massages of 320Jiang transfer part, unit, processed by control point, upper strata.On send unit 320 can forward part protocol massages on deliver to the control plane of this message process device place business board, carry out respective handling by the control plane of this message process device place business board.
If on while sending unit 320 to be also greater than the second forwarding capacity threshold value for the quantity of current pending protocol massages, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of the first forwarding capacity threshold value the control plane of this message process device place business board, quantity equals to deliver on the protocol massages of difference of the second forwarding capacity threshold value and the first forwarding capacity threshold value the datum plane of place, control point, upper strata business board, and the protocol massages that exceeds the second forwarding capacity threshold value abandons.
When the quantity of current pending protocol massages is greater than the second forwarding capacity threshold value, the disposal ability of the control plane of this message process device place business board is not enough to process current all pending protocol massages, and the protocol massages that exceeds part can only abandon.
In the present embodiment, current pending protocol massages can be divided into and can forward part, transfer part and abandon this three part of part, the protocol massages quantity that can forward part equals the first forwarding capacity threshold value, the protocol massages total amount of transfer part equals the difference of the second forwarding capacity threshold value and the first forwarding capacity threshold value, remainder, also exceed the protocol massages of the second forwarding capacity threshold value for abandoning part.On send unit 320 can forward part protocol massages on deliver to the control plane of this message process device place business board, carry out respective handling by the control plane of this message process device place business board; On the protocol massages of transfer part, deliver to the datum plane of place, control point, upper strata business board, processed by control point, upper strata; The protocol massages that abandons part directly abandons.
In addition, the protocol massages that receiving element 310 receives may be the protocol massages receiving from system; Also may be the capacity of the pending protocol massages that receives of the receiving element of the message process device of place, lower floor control point business board while being greater than the first forwarding capacity threshold value, by sending the protocol massages sending on unit on the message process device of place, lower floor control point business board; Also may both comprise the protocol massages receiving from system, also comprise the protocol massages sending on the datum plane of place, lower floor control point business board.
Alternatively, as shown in Figure 4, this message process device can also comprise: setting unit 330; This setting unit 330 is used to the protocol massages receiving from system in described protocol massages that priority is set; Concrete, different layers message process device is that the protocol massages receiving from system arranges different priority, and the level at control point, message process device place is higher, and this message process device is that the priority of protocol massages setting is higher.The protocol massages that each like this layer message process device can priority treatment respectively receives outward since system.
Further, above send unit 320 to deliver to the control plane of this message process device place business board on protocol massages high current pending protocol massages medium priority is preferential.Concrete, in the time that current pending protocol massages quantity is not more than the first forwarding capacity threshold value, above send unit 320 will on protocol massages, to deliver to the control plane of this message process device place business board according to priority order from high to low.Be greater than the first forwarding capacity threshold value in current pending protocol massages quantity, but while being less than the second forwarding capacity threshold value, can forward the priority of protocol massages partly higher than the priority of the protocol massages of transfer part, above send unit 320 can forward protocol massages partly according to the control plane of delivering to this message process device place business board in priority order from high to low.In the time that current pending protocol massages quantity is greater than the second forwarding capacity threshold value, can forward the priority of protocol massages partly higher than the priority of the protocol massages of transfer part, the priority of the protocol massages of transfer part, higher than the priority that abandons protocol massages partly, above send unit 320 can forward protocol massages partly according to the control plane of delivering to this message process device place business board in priority order from high to low.
Therefore, the message process device that utilizes the embodiment of the present invention to provide, in the time that the disposal ability of the control plane of message process device place business board is not enough, message process device can be delivered to control point, upper strata on the protocol massages of disposal ability of control plane of its place business board and processes exceeding, to reduce the quantity that abandons protocol massages, improve the quantity of accessible protocol massages, and then can effectively improve the resource utilization of the control plane of master control borad, improve the disposal ability of whole system.
Referring to Fig. 5, the structural representation of a kind of business board providing for the embodiment of the present invention.This business board comprises: forwarding chip 510, processor 520, communication interface 530 and bus 540.Forwarding chip 510, processor 520, communication interface 530 interconnects by bus 540;
Above-mentioned processor 520 can be general processor, comprises central processing unit (Central Processing Unit is called for short CPU), network processing unit (Network Processor is called for short NP) etc.; Can also be digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), ready-made programmable gate array (FPGA) etc.
Described communication interface 530 comprises the interface of communicating by letter between forwarding chip 510 and processor 520, also comprise described business board and master control borad or with other business boards, or with the interface of other communication between devices.
Forwarding chip 510 is for receiving protocol massages; If the quantity of current pending protocol massages is less than the first forwarding capacity threshold value, the processor 520 of described business board will be delivered on described current pending protocol massages; If the quantity of current pending protocol massages is greater than described the first forwarding capacity threshold value and is less than the second forwarding capacity threshold value, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of described the first forwarding capacity threshold value the processor 520 of described business board, exceeds forwarding chip or the switching network chip of on the protocol massages of described the first forwarding capacity threshold value, delivering to place, control point, upper strata business board; If the quantity of current pending protocol massages is greater than described the second forwarding capacity threshold value, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of described the first forwarding capacity threshold value the processor 520 of described business board, quantity equals to deliver on the protocol massages of difference of described the second forwarding capacity threshold value and described the first forwarding capacity threshold value forwarding chip or the switching network chip of place, control point, upper strata business board, and the protocol massages that exceeds described the second forwarding capacity threshold value abandons.
Alternatively, forwarding chip 510 is receiving after protocol massages, this forwarding chip 510 also for: the message receiving from system for described protocol massages arranges priority; And this business board place level is higher, forwarding chip 510 is that the priority of the described protocol massages setting receiving from system is higher.Wherein, quantity is that the priority of protocol massages of described the first forwarding capacity threshold value is the highest, and the protocol massages priority that exceeds described the second forwarding capacity threshold value is minimum.
Processor 520 is for the treatment of the protocol massages sending on forwarding chip 510, and on deliver to the processor at control point, upper strata.
The business board that utilizes the embodiment of the present invention to provide, in the time of the transfer capability deficiency of this business board, the forwarding chip of this business board can will exceed the business board processing of delivering to place, control point, upper strata on the protocol massages of this business board transfer capability, to reduce the quantity that abandons protocol massages, improve the quantity of accessible protocol massages, and then can effectively improve the resource utilization of the control plane of master control borad, improve the disposal ability of whole system.
In addition, the present invention also provides a kind of message handling system, and this system is distributed system architecture, and this distributed system architecture comprises a master control borad that is positioned at the superiors, one or more layers business board, can comprise one or more business boards as shown in Figure 5 in every layer service plate; Further, in business board, can comprise the message process device as shown in Fig. 3 of the present invention or Fig. 4.Master control borad and business board all comprise control plane and datum plane, and control plane is conventionally by processor, and for example CPU, NP carry, and datum plane is carried by forwarding chip conventionally, and the forwarding chip on master control borad is called again switching network chip conventionally.And for every kind of protocol massages, one group of control point is set in the whole distributed system of data communications equipment.For a kind of protocol massages, every layer arranges a control point at the most; Wherein the control point of the superiors is on master control borad, the control point of other layer can any one business board in every layer service plate on.
For example, in the time adopting two-layer distributed system architecture, the superiors are a master control borad, and lower floor is made up of multiple business boards as shown in Figure 5,, for a certain protocol massages, a business board in the multiple business boards of the superiors' master control borad and lower floor is set to control point.In the time of the distributed structure/architecture that adopts three layers, the superiors are a master control borad, middle level is made up of multiple business boards as shown in Figure 5, lower floor is made up of multiple business boards, for a certain protocol massages, by the superiors' master control borad, a business board in the multiple business boards of business board and/or lower floor in the multiple business boards in middle level is set to control point.
The message handling system of utilizing the embodiment of the present invention to provide, in the time that the disposal ability of the processor of place, some control points business board is not enough, the forwarding chip of place, control point business board can be delivered to control point, upper strata on the protocol massages of disposal ability of processor of this business board and processes exceeding, to reduce the quantity that abandons protocol massages, improve the quantity of accessible protocol massages, and then can effectively improve the resource utilization of the processor of master control borad, improve the disposal ability of whole system.
Professional should further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function with distinct methods to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only the specific embodiment of the present invention; the protection range being not intended to limit the present invention; all within principle of the present invention, any amendment of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (9)

1. a message processing method, is applied to distributed system architecture, it is characterized in that, described method comprises:
The datum plane of the business board at place, control point receives protocol massages;
If the quantity of current pending protocol massages is less than the first forwarding capacity threshold value, the control plane of place, described control point business board will be delivered on described current pending protocol massages;
If the quantity of current pending protocol massages is greater than described the first forwarding capacity threshold value and is less than the second forwarding capacity threshold value, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of described the first forwarding capacity threshold value the control plane of place, described control point business board, exceeds the datum plane of delivering to place, control point, upper strata business board on the protocol massages of described the first forwarding capacity threshold value;
If the quantity of current pending protocol massages is greater than described the second forwarding capacity threshold value, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of described the first forwarding capacity threshold value the control plane of place, described control point business board, quantity equals to deliver on the protocol massages of difference of described the second forwarding capacity threshold value and described the first forwarding capacity threshold value the datum plane of place, control point, upper strata business board, and the protocol massages that exceeds described the second forwarding capacity threshold value abandons.
2. method according to claim 1, is characterized in that, after the datum plane of place, described control point business board receives protocol massages, described method also comprises:
The datum plane of place, described control point business board is that the protocol massages receiving from system in described protocol massages arranges priority; And place, described control point level is higher, and set priority is higher.
3. method according to claim 1 and 2, it is characterized in that, in described current pending protocol massages, quantity is that the priority of protocol massages of described the first forwarding capacity threshold value is the highest, and the protocol massages priority that exceeds described the second forwarding capacity threshold value is minimum.
4. according to the method described in claims 1 to 3 any one, it is characterized in that, described the first forwarding capacity threshold value and described the second forwarding capacity threshold value preset; Wherein,
Described the first forwarding capacity threshold value is the heap(ed) capacity that place, the described control point a certain moment of business board can retransmission protocol message;
Described the second forwarding capacity threshold value is that the max-forwards capacity sum of all business boards in system and the product of convergence ratio deduct the first forwarding capacity threshold value; Wherein, convergence ratio is the probability of burst service simultaneously on all business boards in system.
5. a message process device, for realizing the datum plane of place, control point business board, is characterized in that, described device comprises:
Receiving element, for receiving protocol massages;
On send unit, if be less than the first forwarding capacity threshold value for the quantity of current pending protocol massages, will on described current pending protocol massages, deliver to the control plane of place, described control point business board; If the quantity of current pending protocol massages is greater than described the first forwarding capacity threshold value and is less than the second forwarding capacity threshold value, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of described the first forwarding capacity threshold value the control plane of place, described control point business board, exceeds the datum plane of delivering to place, control point, upper strata business board on the protocol massages of described the first forwarding capacity threshold value; If the quantity of current pending protocol massages is greater than described the second forwarding capacity threshold value, by in described current pending protocol massages, quantity equals to deliver on the protocol massages of described the first forwarding capacity threshold value the control plane of place, described control point business board, quantity equals to deliver on the protocol massages of difference of described the second forwarding capacity threshold value and described the first forwarding capacity threshold value the datum plane of place, control point, upper strata business board, and the protocol massages that exceeds described the second forwarding capacity threshold value abandons.
6. device according to claim 5, is characterized in that, described device also comprises:
Setting unit, is used to the protocol massages receiving from system in described protocol massages that priority is set;
And place, the described control point higher set priority of level is higher.
7. according to the device described in claim 5 or 6, it is characterized in that, in described current pending protocol massages, quantity is that the priority of protocol massages of described the first forwarding capacity threshold value is the highest, and the protocol massages priority that exceeds described the second forwarding capacity threshold value is minimum.
8. according to the method described in claim 5 to 7 any one, it is characterized in that, described the first forwarding capacity threshold value and described the second forwarding capacity threshold value preset; Wherein,
Described the first forwarding capacity threshold value is the heap(ed) capacity that place, the described control point a certain moment of business board can retransmission protocol message;
Described the second forwarding capacity threshold value is that the max-forwards capacity sum of all business boards in system and the product of convergence ratio deduct the first forwarding capacity threshold value; Wherein, convergence ratio is the probability of burst service simultaneously on all business boards in system.
9. a message handling system, is characterized in that, described system is distributed system architecture, comprises master control borad and at least one layer service plate; Wherein business board comprises as the message process device as described in arbitrary in claim 5-8.
CN201310127384.9A 2013-04-12 2013-04-12 Message processing method, apparatus and system Active CN104104592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310127384.9A CN104104592B (en) 2013-04-12 2013-04-12 Message processing method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310127384.9A CN104104592B (en) 2013-04-12 2013-04-12 Message processing method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104104592A true CN104104592A (en) 2014-10-15
CN104104592B CN104104592B (en) 2017-09-12

Family

ID=51672404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310127384.9A Active CN104104592B (en) 2013-04-12 2013-04-12 Message processing method, apparatus and system

Country Status (1)

Country Link
CN (1) CN104104592B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018001373A1 (en) * 2016-06-30 2018-01-04 中兴通讯股份有限公司 Method and device for limiting transmission speed of messages
CN113794639A (en) * 2021-08-25 2021-12-14 新华三信息安全技术有限公司 Communication method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247421A (en) * 2008-03-28 2008-08-20 杭州华三通信技术有限公司 Self-adapting distribution method and system of NAT address pool under distributed structure
CN101262506A (en) * 2008-04-21 2008-09-10 杭州华三通信技术有限公司 Allocation method and system for network address conversion port resource under distributed architecture
CN101699817A (en) * 2009-11-04 2010-04-28 杭州华三通信技术有限公司 Method and device for controlling messages transmitted to CPU

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247421A (en) * 2008-03-28 2008-08-20 杭州华三通信技术有限公司 Self-adapting distribution method and system of NAT address pool under distributed structure
CN101262506A (en) * 2008-04-21 2008-09-10 杭州华三通信技术有限公司 Allocation method and system for network address conversion port resource under distributed architecture
CN101699817A (en) * 2009-11-04 2010-04-28 杭州华三通信技术有限公司 Method and device for controlling messages transmitted to CPU

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018001373A1 (en) * 2016-06-30 2018-01-04 中兴通讯股份有限公司 Method and device for limiting transmission speed of messages
CN107566293A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 A kind of method and device for message rate-limiting
CN113794639A (en) * 2021-08-25 2021-12-14 新华三信息安全技术有限公司 Communication method and device

Also Published As

Publication number Publication date
CN104104592B (en) 2017-09-12

Similar Documents

Publication Publication Date Title
CN104065759A (en) Method for improving utilization efficiency of NAT address pool resource and device thereof
CN106358239A (en) Data transmission method, transmitting equipment and receiving equipment
CN106332182A (en) Wireless access method and apparatus
CN108932182B (en) Message bus performance test method and system
CN104461727A (en) Memory module access method and device
CN107273214A (en) A kind of multinuclear controller resource access method and its device based on solid state hard disc
CN104811403A (en) Openflow-based group table processing method and device and group table configuration unit
CN101848158B (en) Load balance method and device for data channels and network exchange equipment
CN104104592A (en) Message processing method, device and system
CN102098196A (en) Data transmission method of blade server
CN102857436B (en) Flow transmission method and flow transmission equipment based on IRF (intelligent resilient framework) network
CN102281580B (en) M2M system and service processing method thereof
CN110351044A (en) A kind of transmission method, device and the network side equipment of access control information
CN103595649A (en) Method and system for achieving load balance
CN109787790A (en) Communication means, equipment and storage medium based on dual link management mouth
CN108933687A (en) A kind of power consumption control method and device
CN103747529B (en) Cell activation method and cell activation device
CN106209676A (en) The data processing method of cloud host computer systems based on many equipment and device
CN104468379B (en) Virtual Hadoop clustered nodes system of selection and device based on most short logical reach
CN107872479B (en) Cloud management platform and controller integration method and system and related modules
CN104320427A (en) Distributed group communication method for relay protection system multi-agent
CN103595631A (en) Method and device for setting up route
CN102281150B (en) Multi-module gateway and flow control method thereof
CN104883276B (en) OAM moving methods and system based on distributed structure/architecture
CN107465493A (en) The control method and device of carrier aggregation, base station

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant