Summary of the invention
The present invention provides a kind of communication processing method and system, to solve the problems referred to above.
The present invention provides a kind of communication processing method.Said method comprises the following steps: communication party manages server by communication party and Correspondent Node management server carries out data flow communication with Correspondent Node, if communication party monitors the flow that arrives at a station exceedes default threshold value thresholding, then communication party is sent to emergency processing server by communication party or communication party's triggered communication square tube reason server from the data traffic of each Correspondent Node, emergency processing server adds up communication party's data traffic from each Correspondent Node respectively, and according to ordering strategy, the data traffic from each Correspondent Node is ranked up, and the Correspondent Node needing to communicate process is determined according to ranking results and comparison strategy, simultaneously, communication party manages server triggers Correspondent Node management server by communication party and establishs and enforces data flow con-trol strategy, control the transmission of Correspondent Node data stream;Emergency processing server manages server by needing the Correspondent Node information communicating process to send to communication party, and communication party manages server and distributes the urgency traffic data flow communication of those Correspondent Nodes to emergency processing server;If communication direction Correspondent Node sends urgency traffic data flow request again, then communication party manages server by communication task distribution to emergency processing server.
The present invention also provides for a kind of communication processing system, manages server, Correspondent Node, Correspondent Node management server and emergency processing server including communication party, communication party.Emergency processing server connection communication party, communication party manage server, Correspondent Node and Correspondent Node management server, communication party connects communication party and manages server, Correspondent Node connects Correspondent Node management server, and communication party manages server and connects Correspondent Node management server.Wherein, communication party manages server by communication party and Correspondent Node management server carries out data flow communication with Correspondent Node, if communication party monitors the flow that arrives at a station exceedes default threshold value thresholding, then communication party is sent to emergency processing server by communication party or communication party's triggered communication square tube reason server from the data traffic of each Correspondent Node, emergency processing server adds up communication party's data traffic from each Correspondent Node respectively, and according to ordering strategy, the data traffic from each Correspondent Node is ranked up, and the Correspondent Node needing to communicate process is determined according to ranking results and comparison strategy, simultaneously, communication party manages server triggers Correspondent Node management server by communication party and establishs and enforces data flow con-trol strategy, control the transmission of Correspondent Node data stream.Emergency processing server manages server by needing the Correspondent Node information communicating process to send to communication party, and communication party manages server and distributes the urgency traffic data flow communication of those Correspondent Nodes to emergency processing server.If communication direction Correspondent Node sends urgency traffic data flow request again, then communication party manages server by communication task distribution to emergency processing server.
Compared to prior art, according to communication processing method provided by the invention and system, if communication party monitors the flow that arrives at a station exceedes default threshold value thresholding, then communication party is sent to emergency processing server by communication party or communication party's triggered communication square tube reason server from the data traffic of each Correspondent Node;Data traffic from each Correspondent Node is ranked up by emergency processing server according to ordering strategy, and the Correspondent Node needing to communicate process is determined according to ranking results and comparison strategy, simultaneously, communication party manages server triggers Correspondent Node management server by communication party and establishs and enforces data flow con-trol strategy, controls the transmission of Correspondent Node data stream.Communication party manages server and distributes the urgency traffic data flow communication needing to communicate the Correspondent Node of process to emergency processing server.So, it is achieved the control of correspondent flow.Simultaneously, it is achieved Correspondent Node is sent covenant of works bundle, the real flow that arrives at a station that effectively restriction is local.
Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments.It should be noted that when not conflicting, the embodiment in the application and the feature in embodiment can be mutually combined.
Fig. 1 show the flow chart of the communication processing method provided according to presently preferred embodiments of the present invention.As it is shown in figure 1, the communication processing method that presently preferred embodiments of the present invention provides includes step 101~103.
In step 101, communication party manages server by communication party and Correspondent Node management server carries out data flow communication with Correspondent Node, if described communication party monitors the flow that arrives at a station exceedes default threshold value thresholding, then communication party is sent to emergency processing server by communication party or communication party's triggered communication square tube reason server from the data traffic of each Correspondent Node, emergency processing server adds up the described communication party data traffic from each Correspondent Node respectively, and according to ordering strategy, the data traffic from each Correspondent Node is ranked up, and the Correspondent Node needing to communicate process is determined according to ranking results and comparison strategy, simultaneously, described communication party manages server triggers Correspondent Node management server by communication party and establishs and enforces data flow con-trol strategy, control the transmission of Correspondent Node data stream.
In the present embodiment, described ordering strategy is: according to data traffic from big to small order arrangement;Or, the data traffic of its correspondence it is arranged in order according to the priority height of Correspondent Node.But, this is not limited by the present invention.
In the present embodiment, manage server for communication party A by communication party and Correspondent Node management server and Correspondent Node D, Correspondent Node E, Correspondent Node F and Correspondent Node G carry out data flow communication.Wherein, when Correspondent Node D, E, F, G are respectively to communication party A transmission data stream, all carry self identification information, so, facilitate communication party A to carry out traffic statistics.Additionally, described data stream packets draws together urgency traffic data stream and non-emergent business data flow.Wherein, urgency traffic data stream such as includes data inquiry request or response, data are more newly requested or responds, data deletion is asked or corresponding;Non-emergent business data flow such as includes link detection message.In this, Correspondent Node D such as includes urgency traffic data stream and non-emergent business data flow to the communication party A data stream sent;Correspondent Node E such as includes urgency traffic data stream and non-emergent business data flow to the communication party A data stream sent;Correspondent Node F such as includes urgency traffic data stream and non-emergent business data flow to the communication party A data stream sent;Correspondent Node G such as includes non-emergent business data flow to the communication party A data stream sent.
In this, if a certain moment, communication party A monitors the flow that arrives at a station and exceedes default threshold value thresholding (such as, for M), then communication party A is sent to emergency processing server by communication party A or communication party's A triggered communication square tube reason server from the data traffic of each Correspondent Node D, E, F, G.Emergency processing server adds up the communication party A data traffic from Correspondent Node D, E, F, G respectively, and according to ordering strategy, the data traffic of Correspondent Node D, E, F, G is ranked up.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 from big to small order arrangement.So, ranking results is such as: M1 > M3 > M2 > M4.
Now, the Correspondent Node needing to communicate process is determined further 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 values are corresponding is the Correspondent Node needing to communicate process;If described first-class value is less than threshold value thresholding, then compare first-class value and second value sum and threshold value thresholding, if 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 communicate process, if less than threshold value thresholding, then comparing first-class value, second value and the 3rd flow value sum and threshold value thresholding, repeating said process, until determining the Correspondent Node needing to communicate process.
Specifically, the ranking results that reference as above example obtains is (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 (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 is<M1+M3+M2, then determine according to comparison strategy that the Correspondent Node needing to communicate process is: Correspondent Node E and Correspondent Node G.If additionally, M > M1+M3+M2, then continue first-class value, second value, the 3rd flow value and the 4th flow value (such as M1+M3+M2+M4) and threshold value thresholding M, until determining the Correspondent Node needing to carry out processing.If it addition, M1 > M, it is determined that the Correspondent Node that needs carry out processing is: Correspondent Node D, Correspondent Node E, Correspondent Node F, Correspondent Node G.
Meanwhile, in the present embodiment, communication party manages server triggers Correspondent Node management server by communication party and establishs and enforces data flow con-trol strategy, controls the transmission of Correspondent Node data stream.Wherein, described data flow con-trol strategy is: determine corresponding transmission time interval according to the idle bandwidth proportion of Correspondent Node and bandwidth time synopsis.In this, bandwidth time synopsis is such as shown in table 1.But, this is not limited by the present invention.In practical application, can be configured 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 the flow that arrives at a station exceed default threshold value thresholding time, communication party by communication party manage server triggers Correspondent Node management server.Now, Correspondent Node management server is added up the current bandwidth of each Correspondent Node respectively and is made consumption and total amount of bandwidth, thus obtaining the idle bandwidth proportion (total amount of bandwidth of idle bandwidth proportion=(total amount of bandwidth of single Correspondent Node-single Correspondent Node current bandwidth makes consumption)/single Correspondent Node) of each Correspondent Node, determine the transmission time interval of each Correspondent Node further according to the idle bandwidth proportion of each Correspondent Node and bandwidth time synopsis.In this, the information that Correspondent Node management 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.So, the data stream that Correspondent Node management server controls Correspondent Node D, Correspondent Node E, Correspondent Node F and Correspondent Node G according to the above-mentioned information determined sends.So, it is achieved that Correspondent Node is sent covenant of works bundle, the flow thus arriving at a station in real effectively restriction this locality.
In step 102, described emergency processing server manages server by needing the Correspondent Node information communicating process to send to communication party, and described communication party manages server and distributes the urgency traffic data flow communication of those Correspondent Nodes to emergency processing server.
In this, still for step 101, if determining according to ranking results and comparison strategy, the Correspondent Node needing to communicate process is Correspondent Node E and Correspondent Node G, then the information transmission of Correspondent Node E and Correspondent Node G is managed server to communication party by emergency processing server.Wherein, owing to Correspondent Node E such as includes urgency traffic data stream and non-emergent business data flow to the communication party A data stream sent, Correspondent Node G such as includes non-emergent business data flow to the communication party A data stream sent, therefore, Correspondent Node E and Correspondent Node G normally can send non-emergent business data flow to communication party A.For Correspondent Node E to the communication party A urgency traffic data stream sent, after communication party manages the urgency traffic data stream that server receives Correspondent Node E, replace mark and the IP address of the communication party A carried in urgency traffic data stream with the mark of emergency processing server and IP address, and the urgency traffic data stream after processing is sent to emergency processing server.So, it is achieved the emergent distribution of urgency traffic data flow communication task.
In step 103, if described communication direction Correspondent Node sends urgency traffic data flow request again, then described communication party manages server by communication task distribution to described emergency processing server.
Specifically, if described communication direction Correspondent Node sends urgency traffic data flow request again, then described communication party manages server and by the distribution of described communication task to the process of described emergency processing server is: described communication party manages after 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 processing is sent to described Correspondent Node by Correspondent Node management server;Described Correspondent Node manages server by Correspondent Node and communication party manages server or manages server by urgency traffic data stream response transmission to described emergency processing server either directly through described Correspondent Node.
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 manages server by described communication party and notifies described emergency processing server or directly notify that the urgency traffic data stream that described emergency processing server will receive sends to described communication party.
Specifically, if communication party monitors the flow that arrives at a station and lower than threshold value thresholding and exceedes Preset Time, then communication party notifies that communication party manages server, and communication party manages server and reinforms emergency processing server by the urgency traffic data stream transmission of reception to communication party.Wherein, communication party manages the mark and the IP address information that carry communication party in the message that server sends to emergency processing server so that the mark of communication party and IP address information can be added in urgency traffic data stream by emergency processing server.Or, if communication party monitors the flow that arrives at a station and lower than threshold value thresholding and exceedes Preset Time, then communication party directly notifies that the urgency traffic data stream received is sent to communication party by emergency processing server.Wherein, the message that communication direction emergency processing server sends carries mark and the IP address information of communication party, make emergency processing server can be added in urgency traffic data stream by the mark of communication party and IP address information or emergency processing server has prestored communication party IP address, then the message that communication direction emergency processing server sends can not carry IP address information.
Fig. 2 show the schematic diagram of the communication processing system provided according to presently preferred embodiments of the present invention.As in figure 2 it is shown, the communication processing system that presently preferred embodiments of the present invention provides includes communication party A~C, communication party manages server 10, Correspondent Node D~G, Correspondent Node manage server 12 and emergency processing server 14.Wherein, emergency processing server 14 connects communication party A~C, communication party manages server 10, Correspondent Node D~G and Correspondent Node management server 12.Communication party A~C connects communication party and manages server 10, and Correspondent Node D~G connects Correspondent Node management server 12, and communication party manages server 10 and connects Correspondent Node management server 12.
In the present embodiment, communication party is (such as, communication party A) manage server 10 and Correspondent Node management server 12 with Correspondent Node (such as by communication party, Correspondent Node D~G) carry out data flow communication, if communication party A monitors the flow that arrives at a station and exceedes default threshold value thresholding, communication party A is sent to emergency processing server 14 by communication party A or communication party's A triggered communication square tube reason server 10 from the data traffic of each Correspondent Node D~G.Emergency processing server 14 adds up the communication party A data traffic from each Correspondent Node D~G respectively, and according to ordering strategy, the data traffic from each Correspondent Node D~G is ranked up, and the Correspondent Node needing to communicate process is determined according to ranking results and comparison strategy, simultaneously, communication party A manages server 10 triggered communication opposite end management server 12 by communication party and establishs and enforces data flow con-trol strategy, controls the transmission of Correspondent Node D~G data stream.Emergency processing server 14 manages server 10 by needing the Correspondent Node information communicating process to send to communication party, and communication party manages server 10 and distributes the urgency traffic data flow communication of those Correspondent Nodes to emergency processing server 14.If communication party A again sends urgency traffic data flow request to Correspondent Node, then communication party manages server 10 by communication task distribution to emergency processing server 14.About the specific operation process of said system with described in said method, therefore repeat no more in this.
In sum, the communication processing method provided according to present pre-ferred embodiments and system, if communication party monitors the flow that arrives at a station exceedes default threshold value thresholding, communication party is sent to emergency processing server by communication party or communication party's triggered communication square tube reason server from the data traffic of each Correspondent Node, data traffic from each Correspondent Node is ranked up by emergency processing server according to ordering strategy, and the Correspondent Node needing to communicate process is determined according to ranking results and comparison strategy, simultaneously, communication party manages server triggers Correspondent Node management server by communication party and establishs and enforces data flow con-trol strategy, control the transmission of Correspondent Node data stream.Communication party manages server and distributes the urgency traffic data flow communication needing to communicate the Correspondent Node of process to emergency processing server.So, it is achieved the control of correspondent flow.Simultaneously, it is achieved Correspondent Node is sent covenant of works bundle, 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.All within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.