Summary of the invention
The invention provides a kind of communication message processing method and system, to solve the problem.
The invention provides a kind of communication message processing method.Said method comprises the following steps: communication party carries out data flow communication by communication party's management server and Correspondent Node management server and Correspondent Node, if communication party monitors to arrive at a station flow exceed default threshold value thresholding, then communication party adds up the data traffic from each Correspondent Node respectively, and according to ordering strategy, the data traffic from each Correspondent Node is sorted, and the Correspondent Node that needs to carry out communication process is determined according to ranking results and comparison strategy, simultaneously, communication party triggers emergency processing server and collects Correspondent Node bandwidth related information, formulate data flow con-trol strategy, and by data flow con-trol policy distribution to Correspondent Node management server, Correspondent Node management server performs data flow control policy, to control the transmission of Correspondent Node data flow.Communication party is sent to communication party's management server by needing the Correspondent Node information of carrying out communication process, and the urgency traffic data flow communication of those Correspondent Nodes is dispensed to emergency processing server by communication party's management server.If communication direction Correspondent Node sends urgency traffic data flow request again, then communication task is dispensed to emergency processing server by communication party's management server.
The present invention also provides a kind of communication information treatment system, comprises communication party, communication party's management server, Correspondent Node, Correspondent Node management server and emergency processing server.Emergency processing server connects communication party, communication party's management server, Correspondent Node and Correspondent Node management server.Communication party connects communication party's management server, and Correspondent Node connects Correspondent Node management server, and communication party's management server connects Correspondent Node management server.Wherein, communication party carries out data flow communication by communication party's management server and Correspondent Node management server and Correspondent Node, if communication party monitors to arrive at a station flow exceed default threshold value thresholding, then communication party adds up the data traffic from each Correspondent Node respectively, and according to ordering strategy, the data traffic from each Correspondent Node is sorted, and the Correspondent Node that needs to carry out communication process is determined according to ranking results and comparison strategy, simultaneously, communication party triggers emergency processing server and collects Correspondent Node bandwidth related information, formulate data flow con-trol strategy, and by data flow con-trol policy distribution to Correspondent Node management server, Correspondent Node management server performs data flow control policy, to control the transmission of Correspondent Node data flow.Communication party is sent to communication party's management server by needing the Correspondent Node information of carrying out communication process, and the urgency traffic data flow communication of those Correspondent Nodes is dispensed to emergency processing server by communication party's management server.If communication direction Correspondent Node sends urgency traffic data flow request again, then communication task is dispensed to emergency processing server by communication party's management server.
Compared to prior art, according to communication message processing method provided by the invention and system, if communication party monitors to arrive at a station flow exceed default threshold value thresholding, then communication party sorts to the data traffic from each Correspondent Node according to ordering strategy, and the Correspondent Node that needs to carry out communication process is determined according to ranking results and comparison strategy, simultaneously, communication party triggers emergency processing server and collects Correspondent Node bandwidth related information, formulate data flow con-trol strategy, and by data flow con-trol policy distribution to Correspondent Node management server, data flow control policy is performed by Correspondent Node management server, to control the transmission of Correspondent Node data flow.Communication party's management server is dispensed to emergency processing server by needing the urgency traffic data flow communication of the Correspondent Node carrying out communication process.So, the control of correspondent flow is realized.Meanwhile, realize sending covenant of works bundle to Correspondent Node, the real flow that arrives at a station that effectively restriction is local.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Figure 1 shows that the flow chart of the communication message processing method that preferred embodiment according to the present invention provides.As shown in Figure 1, the communication message processing method that preferred embodiment of the present invention provides comprises step 101 ~ 103.
In step 101, communication party carries out data flow communication by communication party's management server and Correspondent Node management server and Correspondent Node, if described communication party monitors to arrive at a station flow exceed default threshold value thresholding, then described communication party adds up the data traffic from each Correspondent Node respectively, and according to ordering strategy, the data traffic from each Correspondent Node is sorted, and the Correspondent Node that needs to carry out communication process is determined according to ranking results and comparison strategy, simultaneously, described communication party triggers emergency processing server and collects Correspondent Node bandwidth related information, formulate data flow con-trol strategy, and by described data flow con-trol policy distribution to described Correspondent Node management server, described Correspondent Node management server performs described data flow con-trol strategy, to control the transmission of Correspondent Node data flow.
In the present embodiment, described ordering strategy is: according to data traffic order arrangement from big to small; Or, the data traffic of its correspondence is arranged in order according to the priority height of Correspondent Node.But the present invention does not limit this.
In the present embodiment, carry out data flow communication for communication party A by communication party's management server and Correspondent Node management server and Correspondent Node D, Correspondent Node E, Correspondent Node F and Correspondent Node G.Wherein, when Correspondent Node D, E, F, G send data flow respectively to communication party A, all carry self identification information, so, facilitate communication party A to carry out traffic statistics.In addition, described data flow comprises urgency traffic data flow and non-emergent business data flow.Wherein, urgency traffic data flow such as comprises data inquiry request or response, Data Update request or response, data removal request or corresponding; Non-emergent business data flow such as comprises link detection message.In this, Correspondent Node D such as comprises urgency traffic data flow and non-emergent business data flow to the data flow that communication party A sends; Correspondent Node E such as comprises urgency traffic data flow and non-emergent business data flow to the data flow that communication party A sends; Correspondent Node F such as comprises urgency traffic data flow and non-emergent business data flow to the data flow that communication party A sends; The data flow that Correspondent Node G sends to communication party A such as comprises non-emergent business data flow.
In this, if a certain moment, communication party A monitors to arrive at a station and flows exceed default threshold value thresholding (such as, being M), then communication party A adds up the data traffic from Correspondent Node D, E, F, G respectively, and sorts according to the data traffic of ordering strategy to Correspondent Node D, E, F, G.Wherein, the data traffic from Correspondent Node D is such as M1, and the data traffic from Correspondent Node E is such as M2, and the data traffic from Correspondent Node F is such as M3, and the data traffic from Correspondent Node G is such as M4.In this, ordering strategy is such as: according to data traffic order arrangement from big to small.So, ranking results is such as: M1>M3>M2>M4.
Now, then determine the Correspondent Node that needs to carry out communication process according to ranking results and comparison strategy.Wherein, described comparison strategy is: first-class value and threshold value thresholding in comparative sorting result, if described first-class value is more than or equal to threshold value thresholding, then the Correspondent Node that in ranking results, whole flow value is corresponding is the Correspondent Node needing to carry out communication process; If described first-class value is less than threshold value thresholding, then first-class value and second value sum and threshold value thresholding, if be more than or equal to threshold value thresholding, then second value and Correspondent Node corresponding to subsequent flows value are the Correspondent Node needing to carry out communication process, if be less than threshold value thresholding, then first-class value, second value and the 3rd flow value sum and threshold value thresholding, repeats said process, until determine the Correspondent Node needing to carry out communication process.
Specifically, with reference to as above example obtain ranking results (namely, M1>M3>M2>M4), first first-class value (being such as M1) and threshold value thresholding (being such as M) in comparative sorting result, if M>M1, then continue first-class value and second value sum (being such as M1+M3) and threshold value thresholding (M), if M>M1+M3, then continue first-class value, second value and the 3rd flow value sum (being such as M1+M3+M2) and threshold value thresholding (M), if M<M1+M3+M2, then determine that the Correspondent Node needing to carry out communication process is: Correspondent Node E and Correspondent Node G according to comparison strategy.In addition, if M>M1+M3+M2, then first-class value, second value, the 3rd flow value and the 4th flow value (being such as M1+M3+M2+M4) and threshold value thresholding M is continued, until determine the Correspondent Node needing to carry out processing.In addition, if M1>M, then determine to need the Correspondent Node carrying out processing be: Correspondent Node D, Correspondent Node E, Correspondent Node F, Correspondent Node G.
Simultaneously, in the present embodiment, communication party triggers emergency processing server and collects Correspondent Node bandwidth related information, formulate data flow con-trol strategy, and by described data flow con-trol policy distribution to described Correspondent Node management server, described Correspondent Node management server performs described data flow con-trol strategy, to control the transmission of Correspondent Node data flow.Wherein, described data flow con-trol strategy is: determine corresponding transmission time interval according to the idle bandwidth proportion of Correspondent Node and the bandwidth time table of comparisons.In this, the bandwidth time table of comparisons is such as shown in table 1.But the present invention does not limit this.In practical application, can arrange as required.
Idle bandwidth specific gravity range |
Transmission time interval |
0~30% |
A secondary data is sent every 3 seconds |
30~60% |
A secondary data is sent every 2 seconds |
More than 60% |
A secondary data is sent every 1 second |
Table 1
Specifically, when communication party monitor arrive at a station flow exceed default threshold value thresholding time, communication party triggers emergency processing server and collects Correspondent Node bandwidth related information, formulates data flow con-trol strategy.Now, emergency processing server adds up current bandwidth use amount and the total amount of bandwidth of each Correspondent Node respectively, thus obtain the idle bandwidth proportion (total amount of bandwidth of idle bandwidth proportion=(total amount of bandwidth-single Correspondent Node current bandwidth use amount of single Correspondent Node)/single Correspondent Node) of each Correspondent Node, then determine the transmission time interval of each Correspondent Node according to the idle bandwidth proportion of each Correspondent Node and the bandwidth time table of comparisons.In this, the information that emergency processing server is determined is such as follows: the transmission time interval of Correspondent Node D is for sending a secondary data every 2 seconds, the transmission time interval of Correspondent Node E is sent a secondary data every 2 seconds, the transmission time interval of Correspondent Node F is sent a secondary data every 1 second, and the transmission time interval of Correspondent Node G is sent a secondary data every 3 seconds.The above-mentioned information determined is issued to Correspondent Node management server by emergency processing server, is performed according to above-mentioned information by Correspondent Node management server.So, Correspondent Node management server controls the data flow of Correspondent Node D, Correspondent Node E, Correspondent Node F and Correspondent Node G according to the above-mentioned information determined.So, achieve and covenant of works bundle is sent to Correspondent Node, the flow thus arrive at a station in real effectively restriction this locality.
In step 102, described communication party is sent to communication party's management server by needing the Correspondent Node information of carrying out communication process, and the urgency traffic data flow communication of those Correspondent Nodes is dispensed to emergency processing server by described communication party's management server.
In this, still for step 101, if determine that the Correspondent Node needing to carry out communication process is Correspondent Node E and Correspondent Node G according to ranking results and comparison strategy, then the information of Correspondent Node E and Correspondent Node G is sent to communication party's management server by communication party A.Wherein, because Correspondent Node E such as comprises urgency traffic data flow and non-emergent business data flow to the data flow that communication party A sends, the data flow that Correspondent Node G sends to communication party A such as comprises non-emergent business data flow, therefore, Correspondent Node E and Correspondent Node G normally can send non-emergent business data flow to communication party A.For the urgency traffic data flow that Correspondent Node E sends to communication party A, after the urgency traffic data flow of communication party's management server received communication opposite end E, mark and the IP address of the communication party A carried in urgency traffic data flow is replaced with the mark of emergency processing server and IP address, and by the urgency traffic data flow after process to emergency processing server.So, the emergent distribution of urgency traffic data flow communication task is realized.
In step 103, if described communication direction Correspondent Node sends urgency traffic data flow request again, then communication task is dispensed to described emergency processing server by described communication party's management server.
Specifically, if described communication direction Correspondent Node sends urgency traffic data flow request again, then described communication task is dispensed to the process of described emergency processing server and is by described communication party's management server: after described communication party's management server receives the urgency traffic data flow request that described communication party sends, the described communication party carried in described urgency traffic data flow request mark and IP address are replaced with described emergency processing server identification and IP address and the urgency traffic data flow request after process is sent to described Correspondent Node by Correspondent Node management server, described Correspondent Node is by Correspondent Node management server and communication party's management server or directly by described Correspondent Node management server, the response of urgency traffic data flow is sent to described emergency processing server.
In addition, in the present embodiment, if communication party monitors the flow that arrives at a station lower than threshold value thresholding and exceedes Preset Time, then described communication party notifies described emergency processing server by described communication party's management server or directly notifies that urgency traffic data flow that described emergency processing server will receive is to described communication party.
Specifically, if communication party monitors the flow that arrives at a station lower than threshold value thresholding and exceedes Preset Time, then communication party notifies communication party's management server, and communication party's management server reinforms emergency processing server by the urgency traffic data flow that receives to communication party.Wherein, carry mark and the IP address information of communication party in the message that communication party's management server sends to emergency processing server, the mark of communication party and IP address information can be added in urgency traffic data flow by emergency processing server.Or if communication party monitors the flow that arrives at a station lower than threshold value thresholding and exceedes Preset Time, then communication party directly notifies emergency processing server by the urgency traffic data flow that receives to communication party.Wherein, mark and the IP address information of communication party is carried in the message that communication direction emergency processing server sends, make emergency processing server can be added in urgency traffic data flow by the mark of communication party and IP address information or emergency processing server has prestored communication party IP address, then can not carry IP address information in the message that communication direction emergency processing server sends.
Figure 2 shows that the schematic diagram of the communication information treatment system that preferred embodiment according to the present invention provides.As shown in Figure 2, the communication information treatment system that preferred embodiment of the present invention provides comprises communication party A ~ C, communication party's management server 10, Correspondent Node D ~ G, Correspondent Node management server 12 and emergency processing server 14.Emergency processing server 14 connects communication party A ~ C, communication party's management server 10, Correspondent Node D ~ G and Correspondent Node management server 12.Communication party A ~ C connects communication party's management server 10, Correspondent Node D ~ G and connects Correspondent Node management server 12, and communication party's management server 10 connects Correspondent Node management server 12.
In the present embodiment, communication party (such as, communication party A) by communication party's management server 10 and Correspondent Node management server 12 and Correspondent Node (such as, Correspondent Node D ~ G) carry out data flow communication, if communication party A monitors to arrive at a station flow exceed default threshold value thresholding, then communication party A adds up the data traffic from each Correspondent Node D ~ G respectively, and according to ordering strategy, the data traffic from each Correspondent Node D ~ G is sorted, and the Correspondent Node that needs to carry out communication process is determined according to ranking results and comparison strategy, simultaneously, communication party A triggers emergency processing server 14 and collects Correspondent Node D ~ G bandwidth related information, formulate data flow con-trol strategy, and by data flow con-trol policy distribution to Correspondent Node management server 12, Correspondent Node management server 12 performs data flow control policy, to control the transmission of Correspondent Node D ~ G data flow.Communication party A is sent to communication party's management server 10 by needing the Correspondent Node information of carrying out communication process, and the urgency traffic data flow communication of those Correspondent Nodes is dispensed to emergency processing server 14 by communication party's management server 10.If communication party A sends urgency traffic data flow request again to Correspondent Node, then communication task is dispensed to emergency processing server 14 by communication party's management server 10.About the specific operation process of said system with described in said method, therefore repeat no more in this.
In sum, the communication message processing method provided according to present pre-ferred embodiments and system, if communication party monitors to arrive at a station flow exceed default threshold value thresholding, then communication party sorts to the data traffic from each Correspondent Node according to ordering strategy, and the Correspondent Node that needs to carry out communication process is determined according to ranking results and comparison strategy, simultaneously, communication party triggers emergency processing server and formulates data flow con-trol strategy, and by data flow con-trol policy distribution to Correspondent Node management server, data flow control policy is performed by Correspondent Node management server, to control the transmission of Correspondent Node data flow.Communication party's management server is dispensed to emergency processing server by needing the urgency traffic data flow communication of the Correspondent Node carrying out communication process.So, the control of correspondent flow is realized.Meanwhile, realize sending covenant of works bundle to Correspondent Node, the real flow that arrives at a station that effectively restriction is local.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.