Summary of the invention
The invention provides a kind of flow control methods, Apparatus and system, solve the technical problem for the ununified effective analysis and control method such as current P2P application, VoIP application, shared verification.
The object of the invention is to be achieved through the following technical solutions:
A kind of flow control methods, comprising:
Receive data message, and carry out protocol conversion;
Application layer protocol is filtered, to filter out application layer protocol message;
Described application layer protocol message is copied, and be sent to application processing server carry out analyzing and processing;
Receive the analysis processing result that application processing server sends, and according to described analysis processing result, network traffics are controlled.
A kind of volume control device, described device comprises:
Receiver module, for receiving data message, and carries out protocol conversion;
Filtering module, for filtering application layer protocol, to filter out application layer protocol message;
Copy forwarding module, for copying described application layer protocol message, and be sent to application processing server carry out analyzing and processing;
Control module, for receiving the analysis processing result that application processing server sends, and controls network traffics according to described analysis processing result.
A kind of flow control system, described system comprises volume control device and at least one application processing server, wherein,
Described volume control device, for receiving data message, and carries out protocol conversion; Application layer protocol is filtered, to filter out application layer protocol message; Described application layer protocol message is copied, and be sent to application processing server carry out analyzing and processing; Receive the analysis processing result that application processing server sends, and according to described analysis processing result, network traffics are controlled;
Described application processing server, for receiving the application layer protocol message that described volume control device sends; Analyze the feature of described application layer protocol message, and send analysis processing result to described volume control device.
By a kind of flow control methods provided by the invention, Apparatus and system, by receiving data message, and carry out protocol conversion, application layer protocol is filtered, described application layer protocol message is copied, and be sent to application processing server and carry out analyzing and processing, receive the analysis processing result that application processing server sends, and according to described analysis processing result, network traffics to be controlled.Reduce the resource consumption to backend application processing server, improve the efficiency of flow analysis and control.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
As shown in Figure 1, for the network topology structure schematic diagram provided in the embodiment of the present invention, wherein, local network is crossed router 110, flow-control equipment 120 and router one 30 and is accessed Internet, application processing server 110 is the Processing Cluster of multiple application server, a kind of flow control methods is introduced in detail below in conjunction with this scene structure figure, as follows:
As shown in Figure 2, be the flow chart of a kind of flow control methods that the embodiment of the present invention provides, comprise:
Step 201, reception data message, and carry out protocol conversion;
Step 202, application layer protocol to be filtered, to filter out application layer protocol message;
Step 203, described application layer protocol message to be copied, and be sent to application processing server and carry out analyzing and processing;
The analysis processing result that step 204, reception application processing server send, and according to described analysis processing result, network traffics are controlled.
Flow-control equipment 120 is except responsible protocol conversion, also be responsible for the feature identifying various application, and add up characteristic message and the bag number and the flow that do not have characteristic message, feature message repeating carries out labor only to application processing server 110 by flow-control equipment 120, analysis result is notified flow-control equipment 120 by application processing server 110, so that flow-control equipment 120 statistics does not have the flow of characteristic stream.In practical application, the ratio accounting for whole message because feature message is actual is little, and application application processing server can be competent at completely.Therefore technical scheme provided by the invention, saved the resources such as equipment, rack, IP address and the network port, and the whole flow of this method process, and ensure that accuracy and speed.
A kind of flow control methods provided by the invention, by receiving data message, and carry out protocol conversion, application layer protocol is filtered, described application layer protocol message is copied, and be sent to application processing server and carry out analyzing and processing, receive the analysis processing result that application processing server sends, and according to described analysis processing result, network traffics to be controlled.Reduce the resource consumption to backend application processing server, improve the efficiency of flow analysis and control.
Wherein, described application processing server carries out analyzing and processing, comprises shared verification detection, flow analysis and control, VOIP Monitoring and Controlling and information pushing.(1) shared verification detects the comprehensive multiple monitoring method assistance telecommunications relevant departments that adopt and detects which user uses same account number shared verification, especially detects black Internet bar, runs off to avoid telecommunications charges.And can the disabled user detected be blocked, warn, the processing mode such as process afterwards; (2) flow analysis and control, such as, can analyze the characteristic also impact of assessment on network of P2P flow, to realize the detection and control ability to P2P agreement.(3) VOIP Monitoring and Controlling can detect the situation using VoIP communication in TCP/IP network automatically; and effectively can block unlawful VoIP communication or reduce VoIP speech quality; to hit illegal operation VoIP call, effectively protect the communication resource of telecom operators.(4) information pushing, when user browses Web, as long as meet the pushing condition of " setting ", inserts (propelling movement) content, as advertisement, questionnaire, service propaganda, expense of urging notify automatically.
Backbone network is transmitted by SDH at present, the data of the upper transmission of SDH are POS (Packet over SDH) form, namely be that IP packet transmits by adopting peer-peer protocol PPP (Point to Point Protocol), need that POS data message is converted to IP packet to analyze, therefore, step 201 specifically can comprise: receive POS data message, and described POS data message is converted to IP datagram literary composition.
In order to the protocol characteristic storehouse of the application layer protocol message that upgrades in time, before described application layer protocol message being copied in step 203, can comprise: by needs identify application layer protocol message feature be updated to protocol characteristic storehouse.
The embodiment of the present invention is in application process, need to control network traffics in conjunction with prefabricated strategy for analysis processing result, therefore, network traffics are controlled according to described analysis processing result in step 204, can comprise: according to described analysis processing result and default flow control policy, network flow is controlled.
The embodiment of the present invention additionally provides a kind of volume control device, and as shown in Figure 3, described device comprises:
Receiver module 310, for receiving data message, and carries out protocol conversion;
Filtering module 320, for filtering application layer protocol, to filter out application layer protocol message;
Copy forwarding module 330, for copying described application layer protocol message, and be sent to application processing server carry out analyzing and processing;
Control module 340, for receiving the analysis processing result that application processing server sends, and controls network traffics according to described analysis processing result.
Wherein, described receiver module 310, comprising:
Receiving element 311, for receiving POS data message;
Conversion unit of protocol 312, is converted to IP datagram literary composition for the described POS data message received by described receiving element.
Described device also comprises:
Protocol characteristic storehouse 350, for copying before forwarding module copies described application layer protocol message described, carries out renewals preservation by needing the feature of the application layer protocol message identified.
The volume control device that the embodiment of the present invention provides will need the flow of explication de texte process to be copied into many parts and be transmitted to different application processing servers to realize corresponding function.In practical application, each module can adopt ASIC, FPGA and CAM to realize, and the disposal ability of these chips is powerful, can greatly promote disposal ability and efficiency.
The embodiment of the present invention further provides a kind of flow control system, and described system comprises volume control device 410 and at least one application processing server 420, wherein,
Described volume control device 410, for receiving data message, and carries out protocol conversion; Application layer protocol is filtered, to filter out application layer protocol message; Described application layer protocol message is copied, and be sent to application processing server carry out analyzing and processing; Receive the analysis processing result that application processing server sends, and according to described analysis processing result, network traffics are controlled;
Described application processing server 420, for receiving the application layer protocol message that described volume control device 410 sends; Analyze the feature of described application layer protocol message, and send analysis processing result to described volume control device.
Wherein, the analyzing and processing function of described application processing server 420, comprising: shared verification detection, flow analysis and control, VOIP Monitoring and Controlling and information pushing.
In practical application, it is hardware-accelerated that front end (volume control device 410) can adopt ASIC, FPGA and CAM to realize, and rear end (application processing server 420) adopts pci bus multi-core CPU disposable plates to accelerate.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required hardware platform by software and realize, can certainly all be implemented by hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Above to invention has been detailed introduction, applying specific case herein and setting forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.