Summary of the invention
The invention provides a kind of information processing method and system, to solve the problem.
The invention provides a kind of information processing method.Said method comprises the following steps: communication party carries out data flow communication by netscape messaging server Netscape 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 establishs and enforces data flow con-trol strategy by netscape messaging server Netscape triggered communication opposite end management server, control the transmission of Correspondent Node data flow, communication party is sent to netscape messaging server Netscape by needing the Correspondent Node information of carrying out communication process, and netscape messaging server Netscape is responsible for the urgency traffic data flow communication processing those Correspondent Nodes, if communication direction Correspondent Node sends urgency traffic data flow request again, then netscape messaging server Netscape is responsible for processing communication task.Wherein, communication party is sent to netscape messaging server Netscape by needing the Correspondent Node information of carrying out communication process, and the netscape messaging server Netscape process of being responsible for the urgency traffic data flow communication processing those Correspondent Nodes for: the mark of netscape messaging server Netscape and IP address are replaced the mark of the communication party carried in urgency traffic data flow and IP address and to this urgency traffic data flow carry out local store or urgency traffic data flow described in netscape messaging server Netscape identification from Correspondent Node (carrying the information of Correspondent Node in described urgency traffic data flow), then netscape messaging server Netscape will not be forwarded to communication party and carry out this locality and store.
The present invention also provides a kind of information processing system, comprises communication party, netscape messaging server Netscape, Correspondent Node and Correspondent Node management server.Netscape messaging server Netscape connects communication party, Correspondent Node and Correspondent Node management server, and Correspondent Node connects Correspondent Node management server.Wherein, communication party carries out data flow communication by netscape messaging server Netscape 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 establishs and enforces data flow con-trol strategy by netscape messaging server Netscape triggered communication opposite end management server, controls the transmission of Correspondent Node data flow.Communication party is sent to netscape messaging server Netscape by needing the Correspondent Node information of carrying out communication process, and netscape messaging server Netscape is responsible for the urgency traffic data flow communication processing those Correspondent Nodes.If communication direction Correspondent Node sends urgency traffic data flow request again, then netscape messaging server Netscape is responsible for processing communication task.Wherein, communication party is sent to netscape messaging server Netscape by needing the Correspondent Node information of carrying out communication process, and the netscape messaging server Netscape process of being responsible for the urgency traffic data flow communication processing those Correspondent Nodes for: the mark of netscape messaging server Netscape and IP address are replaced the mark of the communication party carried in urgency traffic data flow and IP address and to this urgency traffic data flow carry out local store or urgency traffic data flow described in netscape messaging server Netscape identification from Correspondent Node (carrying the information of Correspondent Node in described urgency traffic data flow), then netscape messaging server Netscape will not be forwarded to communication party and carry out this locality and store.
Compared to prior art, according to information 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 establishs and enforces data flow con-trol strategy by netscape messaging server Netscape triggered communication opposite end management server, controls the transmission of Correspondent Node data flow.Netscape messaging server Netscape is responsible for processing the urgency traffic data flow communication needing 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 information processing method that preferred embodiment according to the present invention provides.As shown in Figure 1, the information 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 netscape messaging server Netscape 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 establishs and enforces data flow con-trol strategy by described netscape messaging server Netscape triggered communication opposite end management server, 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 netscape messaging server Netscape 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.
Meanwhile, in the present embodiment, communication party establishs and enforces data flow con-trol strategy by netscape messaging server Netscape triggered communication opposite end management server, controls 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 is by netscape messaging server Netscape triggered communication opposite end management server.Now, Correspondent Node management 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 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, 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 described netscape messaging server Netscape by needing the Correspondent Node information of carrying out communication process, and described netscape messaging server Netscape is responsible for the urgency traffic data flow communication processing those Correspondent Nodes.Wherein, described communication party is sent to described netscape messaging server Netscape by needing the Correspondent Node information of carrying out communication process, and the described netscape messaging server Netscape process of being responsible for the urgency traffic data flow communication processing those Correspondent Nodes for: the mark of netscape messaging server Netscape and IP address are replaced the mark of the communication party carried in urgency traffic data flow and IP address and to this urgency traffic data flow carry out local store or urgency traffic data flow described in netscape messaging server Netscape identification from Correspondent Node (carrying the information of Correspondent Node in described urgency traffic data flow), then described netscape messaging server Netscape will not be forwarded to described communication party and carry out this locality and store.
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 netscape messaging server Netscape 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, netscape messaging server Netscape is responsible for the urgency traffic data flow processing Correspondent Node E, specifically, the mark of netscape messaging server Netscape and IP address are replaced the mark of the communication party A carried in urgency traffic data flow and IP address and to this urgency traffic data flow carry out local store or urgency traffic data flow described in netscape messaging server Netscape identification from the information of carrying Correspondent Node E in urgency traffic data flow described in Correspondent Node E(), then described netscape messaging server Netscape will not be forwarded to communication party A and carry out this locality and store.So, the emergent allocation process 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 described netscape messaging server Netscape is responsible for processing communication task.
Specifically, if described communication direction Correspondent Node sends urgency traffic data flow request again, then described netscape messaging server Netscape is responsible for processing the process of described communication task and is: after described netscape messaging server Netscape receives the urgency traffic data flow request that described communication party sends, and described communication party's mark of carrying in described urgency traffic data flow request and IP address is replaced with described netscape messaging server Netscape mark and IP address and the urgency traffic data flow request after process is sent to described Correspondent Node by Correspondent Node management server; The response of urgency traffic data flow is sent to described netscape messaging server Netscape by Correspondent Node management server by 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 notifies that urgency traffic data flow that described netscape messaging server Netscape 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's announcement information 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 netscape messaging server Netscape sends, make netscape messaging server Netscape can be added in urgency traffic data flow by the mark of communication party and IP address information or netscape messaging server Netscape has prestored communication party IP address, then can not carry IP address information in the message that communication direction netscape messaging server Netscape sends.
Figure 2 shows that the schematic diagram of the information processing system that preferred embodiment according to the present invention provides.As shown in Figure 2, the information processing system that preferred embodiment of the present invention provides comprises communication party A ~ C, netscape messaging server Netscape 10, Correspondent Node D ~ G and Correspondent Node management server 12.Netscape messaging server Netscape 10 connects communication party A ~ C, Correspondent Node D ~ G and Correspondent Node management server 12, and Correspondent Node D ~ G connects Correspondent Node management server 12.
In the present embodiment, communication party (such as, communication party A) carries out data flow communication by netscape messaging server Netscape 10 and Correspondent Node management server 12 with Correspondent Node (such as, Correspondent Node D ~ G).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 establishs and enforces data flow con-trol strategy by netscape messaging server Netscape 10 triggered communication opposite end management server 12, controls the transmission of Correspondent Node D ~ G data flow.Communication party A is sent to netscape messaging server Netscape 10 by needing the Correspondent Node information of carrying out communication process, and netscape messaging server Netscape 10 is responsible for the urgency traffic data flow communication of those Correspondent Nodes of process.If communication party A sends urgency traffic data flow request again to Correspondent Node, then netscape messaging server Netscape 10 is responsible for process communication task.Wherein, communication party A is sent to netscape messaging server Netscape 10 by needing the Correspondent Node information of carrying out communication process, and the process that netscape messaging server Netscape 10 is responsible for the urgency traffic data flow communication of those Correspondent Nodes of process is: the mark of netscape messaging server Netscape 10 and IP address replaced the mark of the communication party carried in urgency traffic data flow and IP address and carry out local to store or netscape messaging server Netscape 10 identifies that described urgency traffic data flow is from Correspondent Node (carrying the information of Correspondent Node) in described urgency traffic data flow to this urgency traffic data flow, then netscape messaging server Netscape 10 will not be forwarded to communication party A and carry out this locality and store.About the specific operation process of said system with described in said method, therefore repeat no more in this.
In sum, the information 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 establishs and enforces data flow con-trol strategy by netscape messaging server Netscape triggered communication opposite end management server, controls the transmission of Correspondent Node data flow.Netscape messaging server Netscape is responsible for processing the urgency traffic data flow communication needing 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.