CN106850640A - RTP business recognition methods and system based on sequence number - Google Patents
RTP business recognition methods and system based on sequence number Download PDFInfo
- Publication number
- CN106850640A CN106850640A CN201710080542.8A CN201710080542A CN106850640A CN 106850640 A CN106850640 A CN 106850640A CN 201710080542 A CN201710080542 A CN 201710080542A CN 106850640 A CN106850640 A CN 106850640A
- Authority
- CN
- China
- Prior art keywords
- rtp
- message
- messages
- sequence number
- threshold value
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/6437—Real-time Transport Protocol [RTP]
Abstract
The present invention is applied to RTP business identification technologies field, there is provided a kind of RTP business recognition methods based on sequence number, methods described includes:Obtain RTP message numbers;The monitoring continuous RTP messages number of adjacent message sequence number;Judge whether the RTP messages number reaches the first threshold value;If the RTP messages number reaches the first threshold value, determine whether whether the continuous RTP messages number of adjacent message sequence number reaches the second threshold value;If the continuous RTP messages number of adjacent message sequence number reaches the second threshold value, it is determined that corresponding service message is RTP service messages.The present invention also correspondingly provides a kind of RTP business identifying systems based on sequence number.Whereby, the present invention can improve the accuracy of identification of RPT service messages.
Description
Technical field
The present invention relates to RTP business identification technologies field, more particularly to a kind of RTP business recognition methods based on sequence number
And system.
Background technology
The transmission of Media Stream in network, major part is carried with RTP (RTP), media channel where rtp streaming
Set up and dynamically generated by related signaling protocol by communicating pair, in order to be carried out to the medium stream information transmitted in network
Effectively manage and control, it is desirable to be able to effectively identify the medium stream information transmitted in network, i.e., identify RTP in a network
Media Stream.
Due to RTP passages be by the mutually coordinated foundation of various signaling protocols, therefore, it is conventional at present for recognizing network
The technic relization scheme of middle RTP Media Streams is related all signaling data bags in detection IP network, and by signaling data bag
Row parsing, so as to extract the RTP channel address of dynamic negotiation, then monitors described RTP passages, to realize network
In RTP Media Streams identification.But because many signalings are proprietary protocol so that tester cannot parse all of signaling number
According to bag, the possibility of missing inspection is very big.And for for real-time Transmission provides temporal information and stream is synchronous end to end, not guaranteeing that
Service quality, and because Internet is transmitted based on packet, so the packet that receiving terminal is received often has postponing and random
Sequence (stream transmission is built on UDP).
In summary, prior art there will naturally be inconvenience and defect in actual use, it is therefore necessary to be improved.
The content of the invention
For above-mentioned defect, it is an object of the invention to provide a kind of RTP business recognition methods based on sequence number and
System, its accuracy of identification that can improve RTP business.
To achieve these goals, the present invention provides a kind of RTP business recognition methods based on sequence number, methods described bag
Include:
Obtain RTP message numbers;
The monitoring continuous RTP messages number of adjacent message sequence number;
Judge whether the RTP messages number reaches the first threshold value;
If the RTP messages number reaches the first threshold value, the continuous RTP messages of adjacent message sequence number are determined whether
Whether number reaches the second threshold value;
If the continuous RTP messages number of adjacent message sequence number reaches the second threshold value, it is determined that service message is accordingly
RTP service messages.
RTP business recognition methods based on sequence number of the invention, wrap before the acquisition RTP messages number step
Include:
First threshold value of RTP message numbers is set;And
Second threshold value of the continuous RTP messages number of adjacent message sequence number is set.
RTP business recognition methods based on sequence number of the invention, the first threshold value of the RTP messages number is specific
For:The quantity of the RTP messages reaches the half of message total.
RTP business recognition methods based on sequence number of the invention, the acquisition RTP messages number step includes:
Determine that RTP messages in network transmission are different from the characteristic information of other service messages;
RTP messages are recognized according to the characteristic information.
RTP business recognition methods based on sequence number of the invention, the characteristic information is included in the following
Any one:
The front two of the first character section of message is 10;
The 3rd of the first character section of message is 0;
The 4th of the first character section of message is 0.
The present invention provides a kind of RTP business identifying systems based on sequence number accordingly, and the system includes:
Receive message module, for obtaining RTP message numbers;
Monitoring modular, for monitoring the continuous RTP messages number of adjacent message sequence number;
First judge module, for judging whether the RTP messages number reaches the first threshold value, if then transferring to second to sentence
Disconnected resume module;
Second judge module, for judging whether the continuous RTP messages number of adjacent message sequence number reaches the second threshold value,
If so, then transferring to business matching module to process;
Business matching module, for determining that corresponding service message is RTP service messages.
RTP business identifying systems of the invention, the system also includes:Thresholding setup module, for setting RTP reports
First threshold value of literary number;And
Second threshold value of the continuous RTP messages number of adjacent message sequence number is set.
RTP business identifying systems of the invention, the first threshold value of the RTP messages number is specially:The RTP reports
The quantity of text reaches the half of message total.
RTP business identifying systems of the invention, the Receive message module, including:
Feature extraction unit, for determining that RTP messages in network transmission are different from the characteristic information of other service messages;
Feature identification unit, for recognizing RTP messages according to the characteristic information.
RTP business identifying systems of the invention, the characteristic information includes any one of the following:
The front two of the first character section of message is 10;
The 3rd of the first character section of message is 0;
The 4th of the first character section of message is 0.
The present invention provides a kind of RTP business recognition methods based on sequence number, and methods described includes:Obtain RTP message numbers;
The monitoring continuous RTP messages number of adjacent message sequence number;Judge whether the RTP messages number reaches the first threshold value;If described
RTP message numbers reach the first threshold value, then determine whether whether the continuous RTP messages number of adjacent message sequence number reaches second
Threshold value;If the continuous RTP messages number of adjacent message sequence number reaches the second threshold value, it is determined that service message is accordingly
RTP service messages.Whereby, the present invention can improve the accuracy of identification of RPT service messages.
Brief description of the drawings
Fig. 1 is RTP business identifying systems structural representation of the invention;
Fig. 2 is currently preferred RTP business identifying systems structural representation;
Fig. 3 is RTP business recognition methods flow chart of the invention.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Referring to Fig. 1, the invention provides a kind of RTP business identifying systems based on sequence number, the system includes:Message is obtained
Modulus block 10, monitoring modular 20, the first judge module 30, the second judge module 40 and business matching module 50, wherein:
Receive message module 10 is used to obtain RTP message numbers.
In the transmitting procedure identification process of the media stream data for RTP, Receive message module 10 is not only obtained and met
The message amount of Real-time Transport Protocol, it also obtains other message amounts, with the message total for being transmitted.
Monitoring modular 20 is used to monitor the continuous RTP messages number of adjacent message sequence number.
Each data message to that should have a sequence number, and the data message sequence number that includes of Media Stream be it is continuous,
If there is continuous RTP type of messages in these continuous messages, RTP message numbers are recorded.
First judge module 30 is used to judge whether the RTP messages number reaches the first threshold value, if then transferring to second
Judge module 40 is processed.
First threshold value of RTP messages number of the present invention is specially:The quantity of the RTP messages reaches message total
Half.Based on the message structure of most of Streaming Medias, the data message of half is such as had more than for RTP messages, then business tendency
In RTP business.
Second judge module 40 is used to judge whether the continuous RTP messages number of adjacent message sequence number reaches the second thresholding
Value, if so, then transferring to business matching module 50 to process.The RTP message flow thresholdings that the second described threshold value sequence number is continuously reached.
Business matching module 50 is used to determine that corresponding service message is RTP service messages.
By RTP message amounts and the dual setting of sequence number so that the identification to RTP service messages is more accurate.
Certainly, behaviour can be set by preset thresholding setup module for above-mentioned first threshold value and the second threshold value
Make.
In a preferred embodiment of the present invention, with reference to Fig. 2, Receive message module 10 includes feature extraction unit 11 and feature
Recognition unit 12, wherein:
Feature extraction unit 11 is used to determine that RTP messages in network transmission to be different from the characteristic information of other service messages.
Feature identification unit 12 is used to recognize RTP messages according to the characteristic information.
In specifically, every kind of protocol massages are all different from the recognizable characteristic information of other agreements with it, pass through
Set this feature information to be contrasted, the message classification for detecting can be got with accurate.Such as, RTP messages have such as
Lower characteristic information:
The front two of the first character section of message is 10;
The 3rd of the first character section of message is 0;
The 4th of the first character section of message is 0.
The present invention can be recognized and judge by detecting any of the above-described characteristic information of contrast to RTP messages.
Referring to Fig. 3, the invention provides a kind of RTP business recognition methods based on sequence number, the method can be by such as
System 100 shown in Fig. 1 realizes that methods described includes:
Step S301, obtains RTP message numbers.
In the transmitting procedure identification process of the media stream data for RTP, Receive message module 10 is not only obtained and met
The message amount of Real-time Transport Protocol, it also obtains other message amounts, with the message total for being transmitted.
Step S302, monitors the continuous RTP messages number of adjacent message sequence number.
Each data message to that should have a sequence number, and the data message sequence number that includes of Media Stream be it is continuous,
If there is continuous RTP type of messages in these continuous messages, RTP message numbers are recorded.
Step S303, judges whether the RTP messages number reaches the first threshold value, if then performing step S304.
First threshold value of RTP messages number of the present invention is specially:The quantity of the RTP messages reaches message total
Half.Based on the message structure of most of Streaming Medias, the data message of half is such as had more than for RTP messages, then business tendency
In RTP business.
Step S304, judges whether the continuous RTP messages number of adjacent message sequence number reaches the second threshold value, if so, then
Perform step S305.The second described threshold value is the RTP message flow thresholdings that sequence number is continuously reached.
Step S305, it is determined that corresponding service message is RTP service messages.
By RTP message amounts and the dual setting of sequence number so that the identification to RTP service messages is more accurate.
Certainly, can be set by preset thresholding before step S301 for above-mentioned first threshold value and the second threshold value
Put module and operation is set.
In addition, step S301 may particularly include following steps report:
Determine that RTP messages in network transmission are different from the characteristic information of other service messages.
RTP messages are recognized according to the characteristic information.
In specifically, every kind of protocol massages are all different from the recognizable characteristic information of other agreements with it, pass through
Set this feature information to be contrasted, the message classification for detecting can be got with accurate.Such as, RTP messages have such as
Lower characteristic information:
The front two of the first character section of message is 10;
The 3rd of the first character section of message is 0;
The 4th of the first character section of message is 0.
The present invention can be recognized and judge by detecting any of the above-described characteristic information of contrast to RTP messages
In sum, the present invention provides a kind of RTP business recognition methods based on sequence number, and methods described includes:Obtain
RTP message numbers;The monitoring continuous RTP messages number of adjacent message sequence number;Judge whether the RTP messages number reaches the first thresholding
Value;If the RTP messages number reaches the first threshold value, determine whether that the continuous RTP messages number of adjacent message sequence number is
It is no to reach the second threshold value;If the continuous RTP messages number of adjacent message sequence number reaches the second threshold value, it is determined that corresponding industry
Business message is RTP service messages.Whereby, the present invention can improve the accuracy of identification of RPT service messages.
Certainly, the present invention can also have other various embodiments, ripe in the case of without departing substantially from spirit of the invention and its essence
Know those skilled in the art and work as and various corresponding changes and deformation, but these corresponding changes and change can be made according to the present invention
Shape should all belong to the protection domain of appended claims of the invention.
Claims (10)
1. a kind of RTP business recognition methods based on sequence number, it is characterised in that methods described includes:
Obtain RTP message numbers;
The monitoring continuous RTP messages number of adjacent message sequence number;
Judge whether the RTP messages number reaches the first threshold value;
If the RTP messages number reaches the first threshold value, determine whether that the continuous RTP messages number of adjacent message sequence number is
It is no to reach the second threshold value;
If the continuous RTP messages number of adjacent message sequence number reaches the second threshold value, it is determined that corresponding service message is RTP industry
Business message.
2. RTP business recognition methods based on sequence number according to claim 1, it is characterised in that the acquisition RTP reports
Include before literary number step:
First threshold value of RTP message numbers is set;And
Second threshold value of the continuous RTP messages number of adjacent message sequence number is set.
3. RTP business recognition methods based on sequence number according to claim 1 and 2, it is characterised in that the RTP reports
First threshold value of literary number is specially:The quantity of the RTP messages reaches the half of message total.
4. RTP business recognition methods based on sequence number according to claim 1, it is characterised in that the acquisition RTP reports
Literary number step includes:
Determine that RTP messages in network transmission are different from the characteristic information of other service messages;
RTP messages are recognized according to the characteristic information.
5. RTP business recognition methods based on sequence number according to claim 4, it is characterised in that the characteristic information
Including any one of the following:
The front two of the first character section of message is 10;
The 3rd of the first character section of message is 0;
The 4th of the first character section of message is 0.
6. a kind of RTP business identifying systems based on sequence number, it is characterised in that the system includes:
Receive message module, for obtaining RTP message numbers;
Monitoring modular, for monitoring the continuous RTP messages number of adjacent message sequence number;
First judge module, for judging whether the RTP messages number reaches the first threshold value, if then transferring to the second judgement mould
Block treatment;
Second judge module, for judging whether the continuous RTP messages number of adjacent message sequence number reaches the second threshold value, if
It is then to transfer to business matching module to process;
Business matching module, for determining that corresponding service message is RTP service messages.
7. RTP business identifying systems according to claim 6, it is characterised in that the system also includes:Thresholding sets mould
Block, the first threshold value for setting RTP message numbers;And
Second threshold value of the continuous RTP messages number of adjacent message sequence number is set.
8. RTP business identifying systems according to claim 6 or 7, it is characterised in that first of the RTP messages number
Limit value is specially:The quantity of the RTP messages reaches the half of message total.
9. RTP business identifying systems according to claim 6, it is characterised in that the Receive message module, including:
Feature extraction unit, for determining that RTP messages in network transmission are different from the characteristic information of other service messages;
Feature identification unit, for recognizing RTP messages according to the characteristic information.
10. RTP business identifying systems according to claim 6, it is characterised in that the characteristic information includes the following
Any one of:
The front two of the first character section of message is 10;
The 3rd of the first character section of message is 0;
The 4th of the first character section of message is 0.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710080542.8A CN106850640A (en) | 2017-02-15 | 2017-02-15 | RTP business recognition methods and system based on sequence number |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710080542.8A CN106850640A (en) | 2017-02-15 | 2017-02-15 | RTP business recognition methods and system based on sequence number |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106850640A true CN106850640A (en) | 2017-06-13 |
Family
ID=59129054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710080542.8A Pending CN106850640A (en) | 2017-02-15 | 2017-02-15 | RTP business recognition methods and system based on sequence number |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106850640A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1842033A (en) * | 2005-03-30 | 2006-10-04 | 华为技术有限公司 | Method for monitoring frame loss rate in multi protocol label exchange network |
CN1885856A (en) * | 2005-06-20 | 2006-12-27 | 华为技术有限公司 | Realization method for recognizing RTP media stream in network |
CN101030835A (en) * | 2007-02-09 | 2007-09-05 | 华为技术有限公司 | Apparatus and method for obtaining detection characteristics |
CN101159746A (en) * | 2007-11-08 | 2008-04-09 | 中兴通讯股份有限公司 | Self-adaptive method and system |
CN101488835A (en) * | 2009-02-13 | 2009-07-22 | 华为技术有限公司 | Link detection method, apparatus and communication system |
CN102025564A (en) * | 2010-11-30 | 2011-04-20 | 东南大学 | Method for deducing stream length of sample transmission control protocol (TCP) stream based on TCP message sequence number |
CN102137282A (en) * | 2010-12-15 | 2011-07-27 | 华为技术有限公司 | Method, device, nodes and system for detecting faulted link |
CN102546117A (en) * | 2012-02-20 | 2012-07-04 | 瑞斯康达科技发展股份有限公司 | Frame loss measuring method, frame loss measuring device and frame loss measuring system |
CN103297400A (en) * | 2012-03-01 | 2013-09-11 | 中兴通讯股份有限公司 | Security alliance management method and system based on bidirectional forwarding detection protocol |
CN105429822A (en) * | 2015-11-30 | 2016-03-23 | 东南大学 | Software defined network based method for measuring link packet loss at each hop on peer-to-peer path |
US9319721B2 (en) * | 2011-10-13 | 2016-04-19 | Electronics And Telecommunications Research Institute | Method of configuring and transmitting an MMT transport packet |
-
2017
- 2017-02-15 CN CN201710080542.8A patent/CN106850640A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1842033A (en) * | 2005-03-30 | 2006-10-04 | 华为技术有限公司 | Method for monitoring frame loss rate in multi protocol label exchange network |
CN100583784C (en) * | 2005-03-30 | 2010-01-20 | 华为技术有限公司 | Method for monitoring frame loss rate in multi protocol label exchange network |
CN1885856A (en) * | 2005-06-20 | 2006-12-27 | 华为技术有限公司 | Realization method for recognizing RTP media stream in network |
CN101030835A (en) * | 2007-02-09 | 2007-09-05 | 华为技术有限公司 | Apparatus and method for obtaining detection characteristics |
CN101159746A (en) * | 2007-11-08 | 2008-04-09 | 中兴通讯股份有限公司 | Self-adaptive method and system |
CN101488835A (en) * | 2009-02-13 | 2009-07-22 | 华为技术有限公司 | Link detection method, apparatus and communication system |
CN102025564A (en) * | 2010-11-30 | 2011-04-20 | 东南大学 | Method for deducing stream length of sample transmission control protocol (TCP) stream based on TCP message sequence number |
CN102137282A (en) * | 2010-12-15 | 2011-07-27 | 华为技术有限公司 | Method, device, nodes and system for detecting faulted link |
US9319721B2 (en) * | 2011-10-13 | 2016-04-19 | Electronics And Telecommunications Research Institute | Method of configuring and transmitting an MMT transport packet |
CN102546117A (en) * | 2012-02-20 | 2012-07-04 | 瑞斯康达科技发展股份有限公司 | Frame loss measuring method, frame loss measuring device and frame loss measuring system |
CN103297400A (en) * | 2012-03-01 | 2013-09-11 | 中兴通讯股份有限公司 | Security alliance management method and system based on bidirectional forwarding detection protocol |
CN105429822A (en) * | 2015-11-30 | 2016-03-23 | 东南大学 | Software defined network based method for measuring link packet loss at each hop on peer-to-peer path |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101437032B (en) | System for monitoring VOIP voice quality based on SIP protocol and detection method thereof | |
JP5051252B2 (en) | Network failure detection system | |
US7062680B2 (en) | Expert system for protocols analysis | |
EP2892194B1 (en) | Media stream transmission method and device | |
CN101605067B (en) | Network behaviour active analyzing and diagnosing method | |
CN102056004B (en) | Video quality evaluation method, equipment and system | |
CN109039775A (en) | Quality of service monitoring method, apparatus and system | |
CN104469829B (en) | A kind of speech quality detection method and device | |
CN101953139A (en) | DHCP initialization responsive to network layer connectivity | |
CN112601072A (en) | Method and device for evaluating video service quality | |
CN100514966C (en) | Realization method for recognizing RTP media stream in network | |
CN105681389B (en) | A kind of recognition methods and device based on Skype different function communication stream | |
CN105897664A (en) | Detection method and device of malicious access to network resource, and communication gateway | |
US7792041B2 (en) | Transmission quality measurement apparatus, transmission quality measurement method, and transmission quality measurement system | |
EP3491784B1 (en) | Estimation of losses in a video stream | |
US20080037440A1 (en) | Detecting voice over internet protocol traffic | |
CN112449252B (en) | Method and device for maintaining video streaming system, wireless network bridge equipment and storage medium | |
CN100505756C (en) | Method for recognizing RTP media stream in network | |
CN101321097A (en) | Tencent network living broadcast business recognition method based on payload depth detection | |
KR20090024332A (en) | System and method for measuring qos metrics for sip/rtp voip traffic | |
CN106850640A (en) | RTP business recognition methods and system based on sequence number | |
JP7105838B2 (en) | Video quality evaluation method and device | |
CN107770473A (en) | A kind of audio, video data transfer control method and device | |
US20110058481A1 (en) | Device and method for generating statistical information for voip traffic analysis and abnormal voip detection | |
CN110113347A (en) | A method of detection industry control network application layer protocol message length is abnormal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170613 |
|
RJ01 | Rejection of invention patent application after publication |