CN109672929A - A kind of detection method and equipment of video traffic message - Google Patents

A kind of detection method and equipment of video traffic message Download PDF

Info

Publication number
CN109672929A
CN109672929A CN201811530909.2A CN201811530909A CN109672929A CN 109672929 A CN109672929 A CN 109672929A CN 201811530909 A CN201811530909 A CN 201811530909A CN 109672929 A CN109672929 A CN 109672929A
Authority
CN
China
Prior art keywords
message
video
video traffic
business
traffic message
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.)
Granted
Application number
CN201811530909.2A
Other languages
Chinese (zh)
Other versions
CN109672929B (en
Inventor
徐博华
王泽林
杨艳松
刘畅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201811530909.2A priority Critical patent/CN109672929B/en
Publication of CN109672929A publication Critical patent/CN109672929A/en
Application granted granted Critical
Publication of CN109672929B publication Critical patent/CN109672929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/64Addressing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present invention provides the detection method and equipment of a kind of video traffic message, is related to network technique field, while can be improved measurement accuracy, additionally it is possible to cope with the detection of video traffic message in different scenes.This method comprises: service source end equipment is by the scheduled field of the IP header of the Sequence number maps of the RTP of the video traffic message of intended service to video traffic message;Video traffic message is sent into apparatus for network node in the form of data flow, so that data flow is sent to terminal device by apparatus for network node;Apparatus for network node receives data flow, obtains business video message in a stream;The IP header of parsing business video message obtains the source address and destination address of business video message;Determine Business Stream belonging to business video message;According to the sequence of the RTP sequence number in Business Stream in video traffic message IP header, when determining that the quantity for the RTP sequence number continuously lost is greater than M, determine that transmission fault occurs for Business Stream.

Description

A kind of detection method and equipment of video traffic message
Technical field
The embodiment of the present invention is related to network technique field more particularly to a kind of detection method of video traffic message and sets It is standby.
Background technique
With 4G mobile Internet, the fast development of the network communications approach such as family's 1000M light broadband, the increasing of network bandwidth The prosperity of network video service is brought greatly, and the resolution ratio of video content develops from SD, high definition to fine definition such as blue light, 4K. With the development of 5G technology, 8K, AR/VR video also will be popularized gradually.However, big bandwidth video class business is universal to operator The bearing capacity of network also results in challenge.Video traffic is very sensitive to Network Packet Loss, and Network Packet Loss will cause video content Shake, phenomena such as Hua Ping, blank screen, Caton, seriously affect user experience.Structure is complicated for carrier network, video traffic message From program source to subscriber household is eventually entered into, it need to successively pass through video headend business platform, bearer network, access network and family Network, packet loss is possible to any device node in a network and chain road occurs, and therefore, operator needs on-premise network detection system Network quality is monitored.
However the problems such as there are scenes to be limited for existing measurement means, and precision is insufficient.Existing measuring technique is divided into direct measurement Two class of technology and indirect measuring technology.Network direct measuring is based on true service message and measures, and common technique has EMDI/MDI, IPNICE, Bao Shouheng, Y.1731, IPFPM etc..EMDI needs the network equipment to reach application layer to the parsing of message, Device resource is expended, the security risk to user information is existed simultaneously;The statistics of IPNICE deposits error between two points < 5%; Packet conservation only supports unicast scheme not support multicast scheme;Y.1731 the measurement for only supporting double layer network, does not support three-layer network; IPFPM can only support the scene of point-to-point.Indirect measuring technology calculates detection messages packet loss feelings by insertion probe messages Condition, carrys out indirect analog business packet loss, and common measuring technique has Ping, NQA, TWAMP/OWAMP etc..The limitation of indirect measuring technology Being test object not is actual services message, there is a problem of that detection messages are low with business difference path, measurement accuracy, cannot The performance condition of true reflection business.In addition, probe messages can also occupy the bandwidth of actual services stream.
Summary of the invention
The embodiment of the present invention provides the detection method and equipment of a kind of video traffic message, can be improved measurement accuracy Simultaneously, additionally it is possible to cope with the detection of video traffic message in different scenes.
In a first aspect, provide a kind of detection method of video traffic message, service source end equipment is by the video of intended service The Sequence number maps of the RTP of service message to the video traffic message IP header scheduled field;The business source is set It is standby that the video traffic message is sent into the apparatus for network node in the form of data flow, so that the apparatus for network node will The data flow is sent to terminal device;The apparatus for network node receives data flow, and the industry is obtained in the data flow Business video message;The apparatus for network node parses the IP header of the business video message, obtains the business video message Source address and destination address;The apparatus for network node is determined according to the source address and destination address of the business video message Business Stream belonging to the business video message;The apparatus for network node is in scheduled measurement period, according to the business The sequence of RTP sequence number in stream in video traffic message IP header determines that the quantity for the RTP sequence number continuously lost is greater than M When, determine that transmission fault occurs for the Business Stream, wherein M is that maximum packet loss retransmits number threshold value.
In above scheme, the scheduled field due to service source end equipment in the IP header of video traffic message is mapped with RTP Sequence number, therefore each apparatus for network node in network is when detecting video traffic message, can direct basis Business Stream belonging to service message is resolved to the sequence number of the RTP of each business video message, and such apparatus for network node determines It can determine whether Business Stream is sent out directly according to the sequence number for the RTP for including in the IP header of business video message in Business Stream Raw transmission fault, the limitation of scene of point-to-point can only be supported by avoiding certain direct measurings in the prior art, simultaneously Measurement accuracy is improved without using probe messages, while being not take up extra bandwidth.
Second aspect provides a kind of service source end equipment, comprising:
Processing module, for by the Sequence number maps of the RTP of the video traffic message of intended service to the video traffic The scheduled field of the IP header of message;Sending module, the video traffic message for generating the processing module is with number The apparatus for network node is sent according to the form of stream, is set so that the data flow is sent to terminal by the apparatus for network node It is standby.
The third aspect provides a kind of apparatus for network node, comprising: receiving module flows for receiving data, in the data The business video message is obtained in stream, includes the video traffic message of intended service in the data flow, wherein the video The Sequence number maps of the RTP of service message to the video traffic message IP header scheduled field;Parsing module, for solving The IP header for analysing the business video message that the receiving module obtains, obtains the source address and mesh of the business video message Address;Processing module, the source address and destination address of the business video message for being obtained according to the parsing module Determine Business Stream belonging to the business video message;The processing module is also used in scheduled measurement period, according to institute The sequence of the RTP sequence number in Business Stream in video traffic message IP header is stated, determines the quantity for the RTP sequence number continuously lost When greater than M, determine that transmission fault occurs for the Business Stream, wherein M is that maximum packet loss retransmits number threshold value.
Fourth aspect provides a kind of service source end equipment, including communication interface, processor, memory, bus;It is described to deposit Reservoir is for storing computer executed instructions, and the processor is connect with the memory by the bus, when the business When source equipment is run, the processor executes the computer executed instructions of the memory storage, so that the business source Equipment executes the detection method such as above-mentioned video traffic message.
5th aspect, provides a kind of apparatus for network node, including communication interface, processor, memory, bus;It is described to deposit Reservoir is for storing computer executed instructions, and the processor is connect with the memory by the bus, when the network When node device is run, the processor executes the computer executed instructions of the memory storage, so that the network node Equipment executes the detection method such as above-mentioned video traffic message.
6th aspect provides a kind of computer storage medium, including instruction, when described instruction is run on computers, So that the computer executes the detection method such as above-mentioned video traffic message.
7th aspect, provides a kind of computer program product, the computer program product includes instruction code, the finger Enable code for executing the detection method such as above-mentioned video traffic message.
It is to be appreciated that any service source end equipment of above-mentioned offer, apparatus for network node, computer storage medium or Computer program product is used to execute the corresponding method of first aspect presented above, and therefore, institute is attainable beneficial Effect can refer to the beneficial effect of corresponding scheme in the method and following detailed description of first aspect above, herein not It repeats again.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of IPTV bearer network configuration diagram that the embodiment of the present invention provides;
Fig. 2 is the encapsulation schematic diagram under a kind of PPPoE scene that the embodiment of the present invention provides to video traffic message;
Fig. 3 is the encapsulation schematic diagram under a kind of IpoE scene that the embodiment of the present invention provides to video traffic message;
Fig. 4 is a kind of detection method schematic diagram for video traffic message that the embodiment of the present invention provides;
Fig. 5 is mapping mode of the sequence number for the RTP that the embodiment of the present invention provides into the IP header of IPv4 message;
Fig. 6 is mapping mode of the sequence number for the RTP that the embodiment of the present invention provides into the IP header of Ipv6 message;
Fig. 7 is a kind of structural schematic diagram for service source end equipment that the embodiment of the present invention provides;
Fig. 8 is a kind of structural schematic diagram for service source end equipment that another embodiment of the present invention provides;
Fig. 9 is a kind of structural schematic diagram for apparatus for network node that the embodiment of the present invention provides;
Figure 10 is a kind of structural schematic diagram for apparatus for network node that another embodiment of the present invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Currently, multi-hop need to be passed through during the data flow of video class business flows to terminal device from business source equipment The forwarding of apparatus for network node and the carrying of equipment room multiterminal link.By taking operator's self-operation IPTV service as an example, the industry of data flow Source equipment of being engaged in is in province center IPTV platform, and shown in the IPTV bearer network configuration diagram provided such as Fig. 1, data flow needs successive By Integrated access interchanger LSW (loadblance switch, load-equalizing switch), metropolitan area network core router CR (core router, core router), Metropolitan Area Network (MAN) broad access network gate BNG (broadband network gateway, broadband Network gateway), two layers of convergence switch), (optical line terminal, optical link are whole for access net optical line terminal OLT End), home gateway ONU (optical network unit, optical network unit), eventually arrive at IPTV set top box STB (set- Top-box, i.e. terminal device).It is attached in physical layer by optical fiber between each apparatus for network node.When data flow is in service source When end equipment generates, need to encapsulation Jing Guo multi-layer protocol, including application layer, transport layer, IP layers etc., after becoming IP data packet, by The mode that service source end equipment sends data flow according to purpose IP address into network is transmitted.
In the prior art, in service source end equipment, RTP (real-time transport protocol, real-time Transmission Agreement) agreement need to provide the sequence number of RTP when being packaged to video traffic message, and packet sequence, which is recombinated, for message recipient goes forward side by side Row packet loss detection.Wherein Fig. 2 provides PPPoE (point-to-point protocol over ethernet, on Ethernet Point-to-point protocol) under scene to the encapsulation schematic diagram of video traffic message.Wherein, header includes 14 bits (bytes) Ethernet header, the PPPoE header of 8 bits, the IP header of 20 bits, the UDP header of 8 bits, 8 bits RTP header, with And several 188 bits of length be used to carry video data video bag (vidio packet, such as can be MPEG2 TS, Data are transmitted in moving picture experts group2 transport stream, Motion Picture Experts Group 2) and most Check bit CRC (cyclic redundancy check, cyclic redundancy check) afterwards.Fig. 3 provides IpoE (internet Protocol over ethernet, the network protocol on Ethernet) under scene to the encapsulation schematic diagram of video traffic message.Its In, header includes the ethernet header of 14 bits (bytes), the IP header of 20 bits, the UDP header of 8 bits, 8 bits RTP header and several 188 bits of length are used to carry video bag (the vidio packet, such as can be of video data Number is transmitted in MPEG2 TS, moving picture experts group2 transport stream, Motion Picture Experts Group 2 According to) and last check bit CRC (cyclic redundancy check, cyclic redundancy check).Under PPPoE scene, The serial number bit of RTP is in the 53rd, 54 two continuous byte;Under IPoE scene, the serial number bit of RTP is in the 45th, 46 liang In a continuous byte.Simultaneously as Real-time Transport Protocol is located at the transport layer in network protocol stack, and data flow is in network transmission Apparatus for network node is only resolved to IP layers to the video traffic message in data flow in the process, thus according to purpose IP address to report Text is forwarded.Since Real-time Transport Protocol is encapsulated in the inside of IP header, forwarded is not only resulted in the further parsing of message Efficiency decline, while there is also the security risks of leakage privacy of user data.In conclusion apparatus for network node can not be directly sharp Packet loss detection is carried out to video traffic message with the sequence number in Real-time Transport Protocol.And the prior art provide direct measuring and There are application scenarios to be limited for indirect measuring technology, and the problem of low measurement accuracy.
To solve the problem above-mentioned, embodiments herein provides a kind of detection method of video traffic message, referring to Fig. 4 It is shown, include the following steps:
101, service source end equipment is by the Sequence number maps of the RTP of the video traffic message of intended service to video traffic report The scheduled field of the IP header of text.
Wherein the intended service can be video class business, such as: IPTV (BTV), IPTV (VOD), self-operation OTT, interconnection Net four seed types such as OTT video.The network carrying scheme and tunneling different from that every kind of business uses.It is carried with operator Video traffic for, BTV business is packaged service message in streaming media application layer using RTP/RTCP/RTSP agreement, Transport layer is encapsulated using udp protocol, and network carrying mode is multicast.VOD business uses HDP/HLS/DASH/HSS in application layer Agreement is packaged, and transport layer is encapsulated using Transmission Control Protocol, and network carrying mode is unicast.Self-operation OTT video traffic application layer is adopted With HDP/HLS/DASH/HSS protocol encapsulation, transport layer is encapsulated using Transmission Control Protocol, and network carrying mode is unicast.Internet OTT Video traffic application layer uses HLS/DASH/HSS protocol encapsulation, and transport layer is encapsulated using Transmission Control Protocol, and network carrying mode is single It broadcasts.
In general, having the sequence of RTP of the 16bit for identifying message transmitted by sender in the stem of RTP (RTP grouping) Number, one message of every transmission, the sequence number adds 1.The sequence number can be used for business recipient to the packet loss of message and out-of-order progress Detection.However since Real-time Transport Protocol is located at the transport layer of ICP/IP protocol stack, apparatus for network node is only resolved to the parsing of message IP layers, which is not perceived.And in a step 101, for video traffic message (such as IPv4 message and IPv6 message) By the Sequence number maps of RTP to IP header, to enable apparatus for network node according to the sequence number of the RTP of IP header to video Service message carries out packet loss and out-of-order statistics, to achieve the purpose that Network Fault Detection.Video traffic message is IPV4 message, Then scheduled field includes the option Option Field of IPV4 message.Video traffic message is IPV6 message, then scheduled field includes The extension header of IPV6 message.
Specifically, in service source end equipment, for IPv4 message, using the option Option Field in IPv4 heading, Carry out mapping and filling of the sequence number of RTP into IP header.Mapping side of the sequence number of RTP into the IP header of IPv4 message For formula as shown in figure 5, the option option of IPv4 heading is the option of IP header, length is the integral multiple of 32bit, preceding 8bit For code field, comprising 1bit copy to identify whether grouping copies to all groupings, 2bit class to mark Know the purpose classification of option option, number field of the 5bit to record option option.Intermediate 8bit is to identify The length (length) of option option, remaining 5 number of the option Option Field of IP header are available at present, respectively 26,27,28,29,31.In invention, number 31 is defined to identify option Option Field for recording the sequence of RTP Number.16bit for storing the sequence number of RTP afterwards, thus by the Sequence number maps of RTP into IP header.Wherein, in Fig. 5 also Show the following mark in RTP header, V (version, version number): 2 bits, for indicating RTP version number;Agreement is initial Version is that version number specified in 0, RFC3550 is 2.P (padding, additional information): 1 bit, if the position is set, Additional additional information is contained at the end packet, the last byte of additional information indicates the length of additional information Degree (including the byte itself).It is the data block because some encryption mechanisms need regular length why the field, which exists, or Person in a underlying protocol data cell in order to transmit multiple RTP packets.X (extension, extension): if 1 bit The position is set, then there are an extended heads behind fixed head.CC (CSRC count, contributing source Count, contributing information source count): 4 bits, there are how many a CSRC identifiers after fixing head.M (marker): 1 bit, The function of this depends on the definition of profile.Profile can change the length of this, but to keep marker and Payload type total length is constant (coming to 8 bit).PT (payload type, PT Payload Type): 7 bits, label The type of information entrained by RTP packet.Sequence number:16 bits, sequence number.timestamp:32 Bits, timestamp.Reflect the sampling time of first character section in packet entrained by RTP packet.SSRC indentifier (Synchronization source indentifier): 32 bits, synchronous source identifier.In a RTP session (session) each data flow should have a different SSRC therebetween.CSRC indentifier list:0 to 15 Items, 32 bits each, identifies contributing source identifier.It includes fixed part and variable for being also shown in IP header in Fig. 5 Part, wherein variable part includes the sequence number of code, length and RTP as described above.Fixed part includes such as subscript Know: version (version) and identify the version of IP agreement, current IP agreement version number is 4, and IP next generation protocol version number is 6.IHL (IP header length, header length), the length of IP header.TOS (type of service, service type). Total length: the total length of IP packet.The sum of length and the length of data portion of header.It identifies (identification): only Each divided data report that one mark host is sent.One message of usual every transmission, its value add one.When IP packet length is more than MTU (maximum transmission unit) Shi Bixu fragment of transmission network, the value of this identification field are copied to all data fragmentations In identification field, these fragments are reformulated originally when reaching final destination according to the content of identification field Data.Indicate (flag): totally 3.R, DF, MF tri-.Current only rear two are effectively, and DF: not fragment is indicated for 1, for 0 table Show fragment.MF: indicating " more pieces " for 1, indicates that this is last a piece of for 0.Piece is displaced (flagment offset): one's duty Piece bits of offset relatively the first in original data message.TTL (time to live, life span), IP packet allows to lead to The maximum quantity for the router crossed.Every to pass through a router, TTL subtracts 1, and when for 0, router abandons the datagram.TTL Field is that the initial value recommended by one 8 bit field of transmitting terminal initial setting up is specified by distributing number RFC, current value 64. TTL is often set as maximum value 255 when sending icmp echo reply.Agreement (protocol), it is indicated that the data that IP packet carries That agreement is used, which process (different agreement will be sent in datagram so that the IP layer of destination host can know that There is special different process processing).It is similar with port numbers, protocol number is used herein, and the protocol number of TCP is the protocol number of 6, UDP It is 17.The protocol number that the protocol number of ICMP is 1, IGMP is 2.Stem verification and (header checksum): the head IP is calculated Verification and the integrality of inspection IP header.Source address identifies the source equipment of IP datagram.Destination address: mark IP datagram Destination address.
In addition, in service source end equipment, for IPv6 message, extension header (part in such as Fig. 6 in dashed box) can be defined To carry the sequence number of RTP.Referring to shown in Fig. 6, extension header protocol number is identified using undefined 252, and is carried Option option, option option type format are set as 0x1D (00011101).When IPv6 message is there are when multiple extension header, The extension header of the sequence number of newly-increased carrying RTP should be located at before upper-layer protocol stem, as shown in fig. 6, being located at before UDP, example Such as next header=17 (PDU), wherein Hdr Ext Len=0, header length zero.The sequence number of RTP occupies 32bit Position, preceding 16bit bearer service source equipment is by the value of the prolate-headed sequence number of RTP Sequence number maps to IP header, rear 16bit Position completion 0.
102, video traffic message is sent apparatus for network node by service source end equipment in the form of data flow, so as to network Data flow is sent to terminal device by node device.
103, apparatus for network node receives data flow, obtains business video message in a stream.
104, apparatus for network node parses the IP header of the business video message, obtains the source address of business video message And destination address.
105, apparatus for network node determines business video message institute according to the source address and destination address of business video message The Business Stream of category.
106, in scheduled measurement period, according to the RTP sequence number in Business Stream in video traffic message IP header Sequence when determining that the quantity for the RTP sequence number continuously lost is greater than M, determines that transmission fault occurs for Business Stream, and wherein M is maximum Packet loss retransmits number threshold value.
If being unsatisfactory for the condition in above-mentioned 106, then it is assumed that transmission fault does not occur for Business Stream.In this way, when network node is set When standby (such as router) receives upstream equipment and be forwarded to the business video message data packet of the node, according to the source of IP header Address and destination address binary group are attempted to obtain to identify the IP header in business video message data packet according to IP header Sequence number of the business video message data packet in the RTP of IP header.When the business video message data packet is in the RTP of IP header Sequence number occurrence sequence number discontinuous (missing) the case where when, be judged as that packet loss occur in upstream network device or link, if In measurement period, continual data package dropout number Nt >=M, M are that the maximum packet loss of ARQ prescribed by standard retransmits number threshold value, are determined as industry Transmission fault occurs for business stream, such as can be the upstream equipment of apparatus for network node or link breaks down.If in IP network Apparatus for network node disposes multiple monitoring points, then can reach the purpose of network failure demarcation, if each network node of IP network Equipment, which is all disposed, becomes monitoring point, then equipment and link level can be accurate to by delimiting range.
Finally, apparatus for network node is according to the destination address down hop device forwards data flow, if next-hop device is Another apparatus for network node then repeats step 202-206 in another apparatus for network node, until by stream compression It is sent to terminal device, received business video message by terminal device and is decapsulated.
In above scheme, the scheduled field due to service source end equipment in the IP header of video traffic message is mapped with RTP Sequence number, therefore each apparatus for network node in network is when detecting video traffic message, can direct basis Business Stream belonging to service message is resolved to the sequence number of the RTP of each business video message, and such apparatus for network node determines It can determine whether Business Stream is sent out directly according to the sequence number for the RTP for including in the IP header of business video message in Business Stream Raw transmission fault, the limitation of scene of point-to-point can only be supported by avoiding certain direct measurings in the prior art, simultaneously Measurement accuracy is improved without using probe messages, while being not take up extra bandwidth.
Referring to shown in Fig. 7, a kind of service source end equipment is provided, comprising:
Processing module 71, for by the Sequence number maps of the RTP of the video traffic message of intended service to the video industry The scheduled field of the IP header of business message;
Sending module 72, the video traffic message for generating the processing module 71 are sent out in the form of data flow The apparatus for network node is sent, so that the data flow is sent to terminal device by the apparatus for network node.
Optionally, the video traffic message is IPV4 message, then the scheduled field includes the IPV4 message Option Option Field.The video traffic message is IPV6 message, then the scheduled field includes the expansion of the IPV6 message Open up head.
Wherein, all related contents for each step that above method embodiment is related to can quote corresponding function module Function description, effect details are not described herein.
Using integrated module, service source end equipment includes: storage unit, processing unit and interface list Member.Processing unit is for carrying out control management to the movement of service source end equipment, for example, processing unit is for supporting business source Equipment executes the process 101 in Fig. 4;Interface unit is used to support the information exchange of service source end equipment and other equipment, for example, Interface unit is for supporting service source end equipment to execute the process 102 in Fig. 4.Storage unit is used for storage service source equipment Program code and data.
Wherein, using processing unit as processor, storage unit is memory, and interface unit is for communication interface.Wherein, Referring to fig. 8, including communication interface 801, processor 802, memory 803 and bus 804, communication connects service source end equipment Mouth 801, processor 802 are connected by bus 804 with memory 803.
Processor 802 can be a general central processor (Central Processing Unit, CPU), micro process Device, application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC) or one or more A integrated circuit executed for controlling application scheme program.
Memory 803 can be read-only memory (Read-Only Memory, ROM) or can store static information and instruction Other kinds of static storage device, random access memory (Random Access Memory, RAM) or letter can be stored The other kinds of dynamic memory of breath and instruction, is also possible to Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-only Memory, EEPROM), CD-ROM (Compact Disc Read- Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, optical disc, digital universal Optical disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store to have referring to Enable or data structure form desired program code and can by any other medium of computer access, but not limited to this. Memory, which can be, to be individually present, and is connected by bus with processor.Memory can also be integrated with processor.
Wherein, memory 803 is used to store the application code for executing application scheme, and is controlled by processor 802 System executes.Communication interface 801 is used to carry out information exchange with other equipment, such as service source end equipment is supported to execute step 102. Processor 802 is for executing the application code stored in memory 803, to realize business source in the embodiment of the present application The method that equipment executes, such as step 101.
Referring to shown in Fig. 9, a kind of apparatus for network node is provided, comprising:
Receiving module 91, flows for receiving data, and the business video message is obtained in the data flow;The data It include the video traffic message of intended service in stream, wherein the Sequence number maps of the RTP of the video traffic message are to the view The scheduled field of the IP header of frequency service message;
Parsing module 92 is obtained for parsing the IP header for the business video message that the receiving module 91 obtains The source address and destination address of the business video message;
Processing module 93, the source address and purpose of the business video message for being obtained according to the parsing module 92 Address determines Business Stream belonging to the business video message;
The processing module 93, is also used in scheduled measurement period, according to video traffic message in the Business Stream The sequence of RTP sequence number in IP header determines the Business Stream when determining that the quantity for the RTP sequence number continuously lost is greater than M Transmission fault occurs, wherein M is that maximum packet loss retransmits number threshold value.
Wherein, all related contents for each step that above method embodiment is related to can quote corresponding function module Function description, effect details are not described herein.
Using integrated module, apparatus for network node includes: storage unit, processing unit and interface list Member.Processing unit is for carrying out control management to the movement of apparatus for network node, for example, processing unit is for supporting network node Equipment executes the process 204-206 in Fig. 4;Interface unit is used to support the information exchange of apparatus for network node and other equipment, For example, interface unit is for supporting apparatus for network node to execute the process 103 in Fig. 4.Storage unit, for storing network node The program code and data of equipment.
Wherein, using processing unit as processor, storage unit is memory, and interface unit is for communication interface.Wherein, Apparatus for network node referring to fig. 10, including communication interface 1001, processor 1002, memory 1003 and bus 1004, Communication interface 1001, processor 1002 are connected by bus 1004 with memory 1003.
Processor 1002 can be a general central processor (Central Processing Unit, CPU), micro- place Manage device, application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC) or one or Multiple integrated circuits executed for controlling application scheme program.
Memory 1003 can be read-only memory (Read-Only Memory, ROM) or can store static information and refer to The other kinds of static storage device enabled, random access memory (Random Access Memory, RAM) or can store The other kinds of dynamic memory of information and instruction, is also possible to Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, light Dish, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carry or Store have instruction or data structure form desired program code and can by any other medium of computer access, but It is without being limited thereto.Memory, which can be, to be individually present, and is connected by bus with processor.Memory can also be integrated with processor Together.
Wherein, memory 1003 be used for store execution application scheme application code, and by processor 1002 Control executes.Communication interface 1001 is used to carry out information exchange with other equipment, such as apparatus for network node is supported to execute step 103.Processor 1002 is for executing the application code stored in memory 1003, to realize institute in the embodiment of the present application The method for stating apparatus for network node execution, such as step 104-106.
In addition, a kind of calculating storage media (or medium) is also provided, including carrying out in above-described embodiment when executed The instruction for the method operation that service source end equipment or apparatus for network node execute.In addition, a kind of computer program product is also provided, Media (or medium) is stored including above-mentioned calculating.
Wherein, all related contents for each step that above method embodiment is related to can quote corresponding function module Function description, effect details are not described herein.
It should be understood that in various embodiments of the present invention, magnitude of the sequence numbers of the above procedures are not meant to execute suitable Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention Process constitutes any restriction.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it can be with It realizes by another way.For example, apparatus embodiments described above are merely indicative, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of equipment or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (full name in English: read-only memory, English letter Claim: ROM), random access memory (full name in English: random access memory, English abbreviation: RAM), magnetic disk or light The various media that can store program code such as disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (11)

1. a kind of detection method of video traffic message, which is characterized in that
Service source end equipment is by the Sequence number maps of the RTP of the video traffic message of intended service to the video traffic message The scheduled field of IP header;
The video traffic message is sent the apparatus for network node by the service source end equipment in the form of data flow, so as to The data flow is sent to terminal device by the apparatus for network node;
The apparatus for network node receives data flow, and the business video message is obtained in the data flow;
The apparatus for network node parses the IP header of the business video message, obtains the source address of the business video message And destination address;
The apparatus for network node determines the business video report according to the source address and destination address of the business video message Business Stream belonging to text;
The apparatus for network node is in scheduled measurement period, according in the Business Stream in video traffic message IP header The sequence of RTP sequence number when determining that the quantity for the RTP sequence number continuously lost is greater than M, determines that transmission event occurs for the Business Stream Barrier, wherein M is that maximum packet loss retransmits number threshold value.
2. the detection method of video traffic message according to claim 1, which is characterized in that
The video traffic message is IPV4 message, then the scheduled field includes the option option word of the IPV4 message Section.
3. the detection method of video traffic message according to claim 1, which is characterized in that
The video traffic message is IPV6 message, then the scheduled field includes the extension header of the IPV6 message.
4. a kind of service source end equipment characterized by comprising
Processing module, for by the Sequence number maps of the RTP of the video traffic message of intended service to the video traffic message IP header scheduled field;
Sending module, the video traffic message for generating the processing module send the net in the form of data flow Network node device, so that the data flow is sent to terminal device by the apparatus for network node.
5. service source end equipment according to claim 4, which is characterized in that
The video traffic message is IPV4 message, then the scheduled field includes the option option word of the IPV4 message Section.
6. service source end equipment according to claim 4, which is characterized in that
The video traffic message is IPV6 message, then the scheduled field includes the extension header of the IPV6 message.
7. a kind of apparatus for network node, comprising:
Receiving module flows for receiving data, and the business video message is obtained in the data flow;It is wrapped in the data flow Video traffic message containing intended service, wherein the Sequence number maps of the RTP of the video traffic message are to the video traffic The scheduled field of the IP header of message;
Parsing module obtains the business for parsing the IP header for the business video message that the receiving module obtains The source address and destination address of video message;
Processing module, the source address and destination address of the business video message for being obtained according to the parsing module determine Business Stream belonging to the business video message;
The processing module is also used in scheduled measurement period, according to video traffic message IP header in the Business Stream In the sequence of RTP sequence number determine that the Business Stream passes when determining that the quantity of RTP sequence number continuously lost is greater than M Defeated failure, wherein M is that maximum packet loss retransmits number threshold value.
8. a kind of service source end equipment, which is characterized in that including communication interface, processor, memory, bus;The memory For storing computer executed instructions, the processor is connect with the memory by the bus, when the business source When equipment is run, the processor executes the computer executed instructions of the memory storage, so that the service source end equipment Execute the detection method of video traffic message as described in any one of claims 1-3.
9. a kind of apparatus for network node, which is characterized in that including communication interface, processor, memory, bus;The memory For storing computer executed instructions, the processor is connect with the memory by the bus, when the network node When equipment is run, the processor executes the computer executed instructions of the memory storage, so that the apparatus for network node Execute the detection method of video traffic message as described in any one of claims 1-3.
10. a kind of computer storage medium, including instruction, which is characterized in that when described instruction is run on computers, so that The computer executes the detection method of video traffic message as described in any one of claims 1-3.
11. a kind of computer program product, which is characterized in that the computer program product includes instruction code, described instruction Code is used to execute the detection method of video traffic message as described in any one of claims 1-3.
CN201811530909.2A 2018-12-14 2018-12-14 Method and device for detecting video service message Active CN109672929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811530909.2A CN109672929B (en) 2018-12-14 2018-12-14 Method and device for detecting video service message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811530909.2A CN109672929B (en) 2018-12-14 2018-12-14 Method and device for detecting video service message

Publications (2)

Publication Number Publication Date
CN109672929A true CN109672929A (en) 2019-04-23
CN109672929B CN109672929B (en) 2021-04-27

Family

ID=66144370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811530909.2A Active CN109672929B (en) 2018-12-14 2018-12-14 Method and device for detecting video service message

Country Status (1)

Country Link
CN (1) CN109672929B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113179171A (en) * 2020-01-24 2021-07-27 华为技术有限公司 Fault detection method, device and system
CN113748645A (en) * 2020-04-30 2021-12-03 新华三技术有限公司 Data flow analysis
CN114422397A (en) * 2021-12-27 2022-04-29 中国电信股份有限公司 Streaming media channel monitoring method and device, electronic equipment and readable storage medium
CN114866848A (en) * 2022-04-02 2022-08-05 北京广播电视台 IP video main and standby data filtering system and filtering method
CN114979092A (en) * 2022-05-13 2022-08-30 深圳智慧林网络科技有限公司 Data transmission method, device, equipment and medium based on RTP
CN114979093A (en) * 2022-05-13 2022-08-30 深圳智慧林网络科技有限公司 Data transmission method, device, equipment and medium based on RTP

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1311590A (en) * 2000-03-03 2001-09-05 株式会社Ntt杜可莫 Method and device for compacting masthead transmission data package
US20040114576A1 (en) * 2001-08-29 2004-06-17 Tomoaki Itoh Date transmission/reception method
CN1567915A (en) * 2003-07-02 2005-01-19 明基电通股份有限公司 A method for settled transmission of wireless TCP/IP message header
CN1700674A (en) * 2004-05-17 2005-11-23 松下电器产业株式会社 Packet generation method, communication method, packet processing method and data structure
CN102572531A (en) * 2012-02-21 2012-07-11 德科仕通信(上海)有限公司 Method and system for delimiting packet loss faults of internet protocol television (IPTV) network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1311590A (en) * 2000-03-03 2001-09-05 株式会社Ntt杜可莫 Method and device for compacting masthead transmission data package
US20040114576A1 (en) * 2001-08-29 2004-06-17 Tomoaki Itoh Date transmission/reception method
CN1567915A (en) * 2003-07-02 2005-01-19 明基电通股份有限公司 A method for settled transmission of wireless TCP/IP message header
CN1700674A (en) * 2004-05-17 2005-11-23 松下电器产业株式会社 Packet generation method, communication method, packet processing method and data structure
CN102572531A (en) * 2012-02-21 2012-07-11 德科仕通信(上海)有限公司 Method and system for delimiting packet loss faults of internet protocol television (IPTV) network

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113179171A (en) * 2020-01-24 2021-07-27 华为技术有限公司 Fault detection method, device and system
CN113179171B (en) * 2020-01-24 2023-04-18 华为技术有限公司 Fault detection method, device and system
CN113748645A (en) * 2020-04-30 2021-12-03 新华三技术有限公司 Data flow analysis
CN113748645B (en) * 2020-04-30 2023-07-25 新华三技术有限公司 Data stream analysis
CN114422397A (en) * 2021-12-27 2022-04-29 中国电信股份有限公司 Streaming media channel monitoring method and device, electronic equipment and readable storage medium
CN114866848A (en) * 2022-04-02 2022-08-05 北京广播电视台 IP video main and standby data filtering system and filtering method
CN114979092A (en) * 2022-05-13 2022-08-30 深圳智慧林网络科技有限公司 Data transmission method, device, equipment and medium based on RTP
CN114979093A (en) * 2022-05-13 2022-08-30 深圳智慧林网络科技有限公司 Data transmission method, device, equipment and medium based on RTP
CN114979093B (en) * 2022-05-13 2024-03-29 深圳智慧林网络科技有限公司 RTP-based data transmission method, device, equipment and medium
CN114979092B (en) * 2022-05-13 2024-04-02 深圳智慧林网络科技有限公司 RTP-based data transmission method, device, equipment and medium

Also Published As

Publication number Publication date
CN109672929B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN109672929A (en) A kind of detection method and equipment of video traffic message
US11128567B2 (en) Application wire
US11381625B2 (en) Apparatus and method for transmitting multimedia data in hybrid network
CN1312887C (en) Method of processing data pack in third layer of communicating appts.
US9215093B2 (en) Encoding packets for transport over SDN networks
US8085674B2 (en) Priority trace in data networks
WO2021109610A1 (en) Transmission quality test method and apparatus, system, and storage medium
US9509582B2 (en) Traceroute—delay diagnostic command
CN108882008B (en) A kind of method and apparatus of data conversion
US20210211937A1 (en) Data Transmission Method, Apparatus, and System
JP2023516180A (en) Packet processing method and apparatus, network device and storage medium
US20120163165A1 (en) Apparatus and method for packet transport service based on multi protocol label switching-transport profile (mpls-tp) network
CN107493238A (en) A kind of method for controlling network congestion, equipment and system
CN109450875B (en) MAC layer packaging method and device
US20150036510A1 (en) Method and device for measuring ethernet performance
WO2021088813A1 (en) Packet encapsulating method and apparatus, and packet decapsulating method and apparatus
WO2014101002A1 (en) Ip data package transmitting method and label switching router
CN105391592A (en) Packet transport network service detecting and measuring method, device and system
US20220210036A1 (en) Network Measurement System And Method, Device, And Storage Medium
CN109905729A (en) The method and apparatus for sending multi-medium data package using cross-layer optimizing
US20090210770A1 (en) Method, system and computer program product for end to end error checking in ethernet
US20230318970A1 (en) Packet Processing Method and Apparatus
CN110224887B (en) Method and device for automatically identifying Ethernet Y.1564 test frame
Perez IP, Ethernet and MPLS Networks: Resource and Fault Management
WO2023206165A1 (en) Multicast data message sending method and apparatus, and device and storage medium

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
GR01 Patent grant
GR01 Patent grant