CN108366046A - A kind of emulation test method and its system of video surveillance platform - Google Patents
A kind of emulation test method and its system of video surveillance platform Download PDFInfo
- Publication number
- CN108366046A CN108366046A CN201810011342.1A CN201810011342A CN108366046A CN 108366046 A CN108366046 A CN 108366046A CN 201810011342 A CN201810011342 A CN 201810011342A CN 108366046 A CN108366046 A CN 108366046A
- Authority
- CN
- China
- Prior art keywords
- packet
- time
- real
- code stream
- video
- 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
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- 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
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/004—Diagnosis, testing or measuring for television systems or their details for digital television systems
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Computer Networks & Wireless Communication (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of emulation test methods and its system of video surveillance platform.The method includes:Packet capturing is carried out to monitor supervision platform real-time video code stream and is preserved, the absolute time-intervals between the data packet that system generates are obtained;In test environment, the data packet that packet capturing obtains is sent according to the time interval;The data packet is carried out parsing framing and decoded to play out, situation is played with analog video monitoring platform in real time.The present invention is capable of the broadcasting situation of accurate analog simulation actual field monitor video, avoid the problem of causing accurately simulate reproduction due to the problems such as network jitter, achieve the purpose that analog simulation video monitoring platform point plays situation in real time, it is convenient quickly to position and solve the problems, such as under the test environment, improve working efficiency.
Description
Technical field
The present invention relates to field of video monitoring, more particularly to the emulation test method of a kind of video surveillance platform and its it is
System.
Background technology
With the fast development of society, the upsurge of smart city is started, video monitoring is important component therein.
One complete video monitoring platform, including four parts:The acquisition of video, the coding of video, the decoding of video and video
Display.Wherein any one part goes wrong, it is possible to cause monitor video can not normal play.
Video can not normal play to normally behave as blank screen, the problems such as interim card, flower screen.Due in most cases, going out
The scene of existing problem does not have debugging enironment, and since the actual conditions of Video Applications are changeable, it cannot be guaranteed that scene every time
Situation can remove field adjustable, if the personnel of arrangement remove field adjustable, and must bring the waste of manpower and materials, and working efficiency
It is low, it cannot quickly position and solve the problems, such as.
Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly
State the emulation test method and its system of a kind of video surveillance platform of problem.
In a first aspect, the embodiment of the present invention provides a kind of emulation test method of video surveillance platform, including:
Packet capturing is carried out to monitor supervision platform real-time video code stream and is preserved, the absolute time between the data packet that system generates is obtained
Between be spaced;
In test environment, the data packet that packet capturing obtains is sent according to the time interval;
The data packet is carried out parsing framing and decoded to play out, shape is played with analog video monitoring platform in real time
Condition.
In one embodiment, packet capturing is carried out to monitor supervision platform real-time video code stream and preserved, including:
According to the transmission mode of the real-time code stream of monitor supervision platform video, using packet catcher to monitor supervision platform real-time video code stream
Crawl processing is carried out, the RTP data packets of corresponding format are saved as.
In one embodiment, according to the transmission mode of the real-time code stream of monitor supervision platform video, the data packet of crawl is carried out
Processing, saves as the RTP data packets of corresponding format, specifically includes:
When the real-time code stream of monitor supervision platform video is transmitted in a manner of UDP, monitor supervision platform is regarded in real time using packet catcher
Frequency code stream carries out crawl processing, saves as network UDP_RTP packets;Or
When the real-time code stream of monitor supervision platform video is transmitted in a manner of UDP, monitor supervision platform is regarded in real time using packet catcher
Frequency code stream carries out crawl processing, saves as local UDP_RTP packets;Or
When the real-time code stream of monitor supervision platform video is transmitted in a manner of TCP, monitor supervision platform is regarded in real time using packet catcher
Frequency code stream carries out crawl processing, saves as local TCP_RTP packets.
In one embodiment, crawl processing is carried out to monitor supervision platform real-time video code stream using packet catcher, it is specific to wrap
It includes:
Using wireshark tools, by the way that filter condition is arranged, to the corresponding real-time video code stream of the filter condition into
Row crawl.
In one embodiment, the emulation test method of above-mentioned video surveillance platform further includes:
It obtains the packet capturing absolute timestamp of generation when carrying out packet capturing to monitor supervision platform real-time video code stream and preserves;
When the RTP data packets are network UDP_RTP packets, further include:The packet capturing absolute timestamp is carried in institute
In the network information for stating UDP_RTP.
In one embodiment, the data packet obtained according to time interval transmission packet capturing, including:
When the RTP data packets are network UDP_RTP packets, obtain and grab from the network information of the network UDP_RTP
The absolute timestamp of packet sends the data that packet capturing obtains according to the time interval of the absolute timestamp by way of network
Packet;
It is exhausted according to the packet capturing preserved when the RTP data packets are local UDP_RTP packets or local TCP_RTP packets
To the time interval of timestamp, the data packet that packet capturing obtains is sent in a manner of reading file.
Second aspect, the embodiment of the present invention provide a kind of emulation test system of video surveillance platform, including:
Packet capturing module obtains the data that system generates for carrying out packet capturing to monitor supervision platform real-time video code stream and preserving
Absolute time-intervals between packet;
Packet capturing data transmission blocks, in test environment, being sent out according to the absolute time-intervals between data packet
Send the data packet pre-saved;
Framing module is parsed, the data packet for being sent to packet capturing data transmission blocks parses, and composition is complete
Picture frame;
Display module is decoded, broadcasting is decoded for the picture frame to the parsing framing module composition, is regarded with simulation
Frequency monitoring platform plays situation in real time.
In one embodiment, the packet capturing module is specifically used for the transmission side according to the real-time code stream of monitor supervision platform video
Formula carries out crawl processing to monitor supervision platform real-time video code stream using packet catcher, saves as the RTP data packets of corresponding format.
In one embodiment, the packet capturing module is specifically used in the real-time code stream of monitor supervision platform video with the side UDP
When formula is transmitted, crawl processing is carried out to monitor supervision platform real-time video code stream using packet catcher, saves as network UDP_RTP packets;
Or when the real-time code stream of monitor supervision platform video is transmitted in a manner of UDP, using packet catcher to monitor supervision platform real-time video code
Stream carries out crawl processing, saves as local UDP_RTP packets;Or it is transmitted in a manner of TCP in the real-time code stream of monitor supervision platform video
When, crawl processing is carried out to monitor supervision platform real-time video code stream using packet catcher, saves as local TCP_RTP packets.
In one embodiment, the parsing framing module is specifically used for the load code stream analyzing in the data packet
Out, complete picture frame is formed;
The decoding display module is specifically used for playing described group of good full picture frame decoding.
The advantageous effect of above-mentioned technical proposal provided in an embodiment of the present invention includes at least:
The emulation test method and its system of a kind of video surveillance platform provided by the invention are flat by capturing video monitoring
Platform real-time video code stream data packet, and the data packet of crawl is handled, it is sent with the time interval of system grabs data packet
Then the data packet of crawl parses the bit stream data packet received, extracts video codeword data stream therein, then by when
Between stab identical code stream block and form complete picture frame, finally full picture frame is decoded and plays out display.This hair
The bright broadcasting situation for capableing of accurate analog simulation actual field monitor video, avoids since the problems such as network jitter causes nothing
Method accurately simulates the problem of reproduction, achievees the purpose that analog simulation video monitoring platform point plays situation in real time, convenient to survey
It quickly positions and solves the problems, such as under test ring border, improve working efficiency.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by the explanations write
Specifically noted structure is realized and is obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of the emulation test method of video surveillance platform provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the emulation test method for the video surveillance platform that the embodiment of the present invention one provides;
Fig. 3 is the flow chart of the emulation test method of video surveillance platform provided by Embodiment 2 of the present invention;
Fig. 4 is the flow chart of the emulation test method for the video surveillance platform that the embodiment of the present invention three provides;
Fig. 5 is the flow chart of the emulation test method for the video surveillance platform that the embodiment of the present invention four provides.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
The emulation test method of a kind of video surveillance platform provided in an embodiment of the present invention, as shown in Figure 1, including:
S11, packet capturing is carried out to monitor supervision platform real-time video code stream and is preserved, it is exhausted between the data packet that acquisition system generates
To time interval;
S12, in test environment, send the obtained data packet of packet capturing according to above-mentioned absolute time-intervals;
S13, parsing framing is carried out to data packet and is decoded to play out, shape is played with analog video monitoring platform in real time
Condition.
In one embodiment, packet capturing is carried out to monitor supervision platform real-time video code stream in above-mentioned steps S11 and preserved, specifically
It is accomplished in the following manner:
According to the transmission mode of the real-time code stream of monitor supervision platform video, using packet catcher to monitor supervision platform real-time video code stream
Crawl processing is carried out, the RTP data packets of corresponding format are saved as.
For example, using wireshark tools or other packet catchers such as WinSock Expert, Flidder etc., this hair
Bright embodiment does not limit this.By the way that filter condition is arranged, the corresponding real-time video code stream of filter condition is captured.It crosses
Filter condition can be the information that source IP address and purpose IP address of video etc. can determine video flowing.
For example, packet catcher captures target video stream file packet using wireshark by setting filter condition,
The format of video stream file packet is, for example, file.cap, and file can be the video stream file packet title of crawl;
According to the transmission mode of the real-time code stream of monitor supervision platform video, the target file.cap video stream files packet of crawl can be with
For UDP packets and TCP packets;Specifically, there can be following three kinds of possible embodiments:
It is 1st kind, real-time to monitor supervision platform using packet catcher when the real-time code stream of monitor supervision platform video is transmitted in a manner of UDP
Video code flow carries out crawl processing, saves as network UDP_RTP packets;
It is 2nd kind, real-time to monitor supervision platform using packet catcher when the real-time code stream of monitor supervision platform video is transmitted in a manner of UDP
Video code flow carries out crawl processing, saves as local UDP_RTP packets;
It is 3rd kind, real-time to monitor supervision platform using packet catcher when the real-time code stream of monitor supervision platform video is transmitted in a manner of TCP
Video code flow carries out crawl processing, saves as local TCP_RTP packets.
The data format of the data packet generated using other packet catchers may be according to the real-time code stream of monitor supervision platform video
Format, packet catcher it is specific setting and it is different, it is above-mentioned only using UDP packets and TCP packets as example, not restriction packet capturing obtained by
The specific format and content of data packet.
Packet catcher wireshark preserves the RTP packets in video stream file packet file.pcap, the RTP packets of preservation
File format is rtpfile.dump either rtpfile.raw, and rtpfile is the RTP APMB package names preserved, due to
Rtp.dump APMB packages include network information, such as packet capturing timestamp etc., therefore referred to as network packet, and
Rtpfile.raw APMB packages do not include the network information, therefore are called local packet in embodiments of the present invention.
In order to realize in step S11, the absolute time-intervals between the data packet that acquisition system generates can be by following
Mode is realized:It obtains the packet capturing absolute timestamp of generation when carrying out packet capturing to monitor supervision platform real-time video code stream and preserves.
If the RTP data packets that packet capturing is preserved are network UDP_RTP packets, it is also necessary to carry packet capturing absolute timestamp
In the network information of UDP_RTP.In this way, when subsequently sending this kind of data packet, it can be directly according to the network information of data packet
Packet capturing absolute timestamp is obtained, obtains and sends packet capturing time interval, is also simultaneously transmission time interval.Local packet is not due to including
Above-mentioned absolute timestamp then needs in addition to record above-mentioned absolute time-intervals.
The sending method of network UDP_RTP packets is exactly and the local UDP_ simulating by way of communication network transmission
The transmission of RTP packets or local TCP_RTP packets is sent by way of directly reading.
The time interval of transmission data packet in above-mentioned S12 is exactly the time interval of packet capturing in step S11, can protect in this way
Card is realized the real-time video situation of the true video surveillance platform of accurate simulation, is avoided since network is trembled in test environment
The problems such as dynamic, causes the problem of can not accurately simulating reproduction, reaches analog simulation video monitoring platform point and plays situation in real time
Purpose.
The data packet that packet capturing obtains is sent according to the time interval in above-mentioned steps S12, can specifically pass through following steps
It is rapid to realize:
When RTP data packets are network UDP_RTP packets, the absolute of packet capturing is obtained from the network information of network UDP_RTP
Timestamp sends the data packet that packet capturing obtains according to the time interval of absolute timestamp by way of network;
When RTP data packets are local UDP_RTP packets or local TCP_RTP packets, according to the packet capturing absolute time preserved
Between the time interval stabbed, the data packet that packet capturing obtains is sent in a manner of reading file.
In above-mentioned steps S13, in test environment, the receiving terminal of data packet parses the load of RTP data packets, extraction
Go out video stream data wherein included, then (in the same video, different picture frames have according to the relative time stamp in video
Corresponding timestamp, i.e. relative time stab) code stream that stabs relative time having the same forms complete picture frame.
The emulation test method and its system of above-mentioned video surveillance platform provided by the invention are regarded by packet catcher crawl
Frequency monitor supervision platform real-time video code stream data packet, and the data packet of crawl is handled using packet catcher, to capture data
The time interval of packet sends the data packet of crawl, is then parsed to the bit stream data packet received, extracts video therein
Then the identical code stream block of timestamp is formed complete picture frame, full picture frame is finally sent into corresponding code by bit stream data
The decoder of stream type, and the output of decoder is played out into display.It can accurately analog simulation actual field supervise in this way
The broadcasting situation for controlling video, avoids the problem of causing accurately simulate reproduction due to the problems such as network jitter, can reach
Analog simulation video monitoring platform point plays the purpose of situation in real time, and convenient quickly positioning and solution are asked under the test environment
Topic improves working efficiency, it is convenient quickly to position and solve the problems, such as under the test environment, improve working efficiency.
It is illustrated below with several simple embodiments.
Embodiment one:
Fig. 2 shows the flow charts of the emulation test method of according to embodiments of the present invention one video monitoring platform.Such as Fig. 2 institutes
Show that this method includes mainly:
In step s 201, the data packet generated in the process using packet catcher crawl monitor supervision platform actual transmissions, and profit
The data packet of crawl is handled with packet catcher, saves as RTP data APMB packages.
That packet catcher is wireshark in the present embodiment one, by the way that filter condition is arranged, captures target video code stream
File.For example following filter conditions are set in the present embodiment one:Video transmission equipment source IP address is:10.74.193.186,
Target ip address is 10.72.8.226, and packet capturing file f ile.cap is UDP packets in the present embodiment.
In the present embodiment, the RTP data packets in the packet capturing file f ile.cap are protected by packet catcher wireshark
It leaves and, and the RTP data package file format suffix preserved is .dump formats, rtp.dump APMB packages include net
Network information, for example, packet capturing absolute timestamp etc..
In step S202, session connection is established in test environment, and RTP data packets are sent to receiving terminal.
It should be noted that in the present embodiment one, sends tool using RTP and be sent to the RTP data packets kept
Receiving terminal can be realized in the specific implementation by following step:
The RTP data packets kept are copied under the same catalogue where RTP sends tool executable file, and
The autoexec that a suffix is .bat is created under the catalogue, editor sends instruction, in the present embodiment, sends instruction for example
Can be:Rtpplay.exe-T-f 1016.dump 10.2.108.25/20000, wherein 1016.dump are the RTP numbers preserved
According to packet, 10.2.108.25 is the IP address for the computer for executing test function, and 20000 be port numbers.
After completing preparation, the autoexec is run, RTP data packets are sent to reception by RTP packet transmission tools
End.During transmission, RTP packet transmission tools are by obtaining the absolute timestamp generated during packet capturing, according to crawl
The interval of each RTP packet absolute timestamps sends RTP data packets.It ensure that the real-time video of accurate analog simulation monitor supervision platform
Broadcasting situation.
In step S203, the RTP packets received are carried out dissection process by receiving terminal, obtain the code stream loaded in RTP packets
Data, and carry out framing.
In step S204, obtained bit stream data is decoded, is shown, analog simulation scene broadcasting in real time situation.
Embodiment two:
Fig. 3 shows the flow chart of according to embodiments of the present invention two video monitoring platform point analog simulation test method.
This method includes mainly as shown in Figure 3:
In step S301, the data packet generated in the process using packet catcher crawl monitor supervision platform actual transmissions, and profit
The data packet of crawl is handled with packet catcher, saves as RTP data APMB packages.
It should be noted that packet catcher is wireshark in the present embodiment, passes through and filter condition is set, crawl
Target video ASCII stream file ASCII.For example filter condition is set in the present embodiment two:Video transmission equipment source IP address is:
10.74.193.186, target ip address 10.72.8.226, packet capturing file f ile.cap is UDP packets in the present embodiment.
In the present embodiment, the RTP data packets in the packet capturing file f ile.cap are protected by packet catcher wireshark
It leaves and, and the RTP data package file format suffix preserved is .raw formats, rtpfile.raw APMB packages do not include
The network information, therefore it is called local UDP_RTP packets.
In step s 302, using RTP packet sending modules, RTP data packets are sent to parsing framing module.
It should be noted that not including network information when packet capturing in the present embodiment, in the RTP data packets of preservation, directly
The form for reading file was connected, RTP packets are sent to receiving terminal.
In step S303, parsing framing module carries out dissection process to the RTP packets received, obtains loading in RTP packets
Bit stream data, and carry out framing.
In step s 304, obtained bit stream data be decoded, shown, analog simulation scene broadcasting in real time situation.
Embodiment three:
Fig. 4 shows the flow chart of according to embodiments of the present invention three video monitoring platform point analog simulation test method.
This method includes mainly as shown in Figure 4:
In step S401, the data packet generated in the process using packet catcher crawl monitor supervision platform actual transmissions, and profit
The data packet of crawl is handled with packet catcher, saves as RTP data APMB packages.
It should be noted that packet catcher described in the present embodiment is wireshark, by the way that filter condition is arranged,
Capture target video ASCII stream file ASCII.For example filter condition video transmission equipment source IP address is set in the present embodiment three and is:
10.74.193.186, target ip address 10.72.8.226, packet capturing file f ile.cap is TCP packets in the present embodiment.
In the present embodiment, under the RTP data packets in packet capturing file f ile.cap are preserved by packet catcher wireshark
Come, and the RTP data package file format suffix preserved is .raw formats, rtpfile.raw APMB packages do not include network
Information, therefore it is called local TCP_RTP packets.
In step S402, using RTP packet sending modules, RTP data packets are sent to parsing framing module.
It should be noted that not including network information when packet capturing in the present embodiment, in the RTP data packets of preservation, directly
The form for reading file was connected, RTP packets are sent to receiving terminal.
In step S403, the RTP packets received are carried out dissection process by parsing framing module, obtain loading in RTP packets
Bit stream data, and carry out framing.
In step s 404, obtained bit stream data be decoded, shown, analog simulation scene broadcasting in real time situation.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of emulation test system of video surveillance platform,
Since the principle of the solved problem of the system is similar to the emulation test method of aforementioned video monitoring platform, the reality of the system
The implementation that may refer to preceding method is applied, overlaps will not be repeated.
The emulation test system of a kind of video surveillance platform provided in an embodiment of the present invention, as shown in figure 5, including:
Packet capturing module 501 obtains the number that system generates for carrying out packet capturing to monitor supervision platform real-time video code stream and preserving
According to the absolute time-intervals between packet;
Packet capturing data transmission blocks 502 are used in test environment, according to the absolute time-intervals between above-mentioned data packet
Send the data packet pre-saved;
Framing module 503 is parsed, the data packet for being sent to packet capturing data transmission blocks parses, and composition is complete
Picture frame;
Display module 504 is decoded, broadcasting is decoded for the picture frame to the parsing framing module composition, with simulation
Video surveillance platform plays situation in real time.
In one embodiment, above-mentioned packet capturing module 501 is specifically used for the transmission according to the real-time code stream of monitor supervision platform video
Mode carries out crawl processing to monitor supervision platform real-time video code stream using packet catcher, saves as the RTP data of corresponding format
Packet.
In one embodiment, above-mentioned packet capturing module 501 is specifically used in the real-time code stream of monitor supervision platform video with the side UDP
When formula is transmitted, crawl processing is carried out to monitor supervision platform real-time video code stream using packet catcher, saves as network UDP_RTP packets;
Or when the real-time code stream of monitor supervision platform video is transmitted in a manner of UDP, using packet catcher to monitor supervision platform real-time video code stream into
Row crawl is handled, and saves as local UDP_RTP packets;Or when the real-time code stream of monitor supervision platform video is transmitted in a manner of TCP, using grabbing
Job contract tool carries out crawl processing to monitor supervision platform real-time video code stream, saves as local TCP_RTP packets.
In one embodiment, framing module 503 is parsed, specifically for the load code stream analyzing in data packet is come out,
Form complete picture frame;
Correspondingly, display module 504 is decoded, is played specifically for the full picture frame decoding that will have been organized.
The embodiment of the present invention also provides a kind of simulation testing device of video surveillance platform, including:
Processor;
Memory for storing processor executable command;
Wherein, processor is configured as:
Packet capturing is carried out to monitor supervision platform real-time video code stream and is preserved, the absolute time between the data packet that system generates is obtained
Between be spaced;
In test environment, the data packet that packet capturing obtains is sent according to the time interval;
Data packet is carried out parsing framing and decoded to play out, situation is played with analog video monitoring platform in real time.
About the emulation test system of the video surveillance platform in above-described embodiment, wherein modules execute the tool of operation
Body mode is described in detail in the embodiment of the method, and explanation will be not set forth in detail herein.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of emulation test method of video surveillance platform, which is characterized in that including:
Packet capturing is carried out to monitor supervision platform real-time video code stream and is preserved, between the absolute time between the data packet that acquisition system generates
Every;
In test environment, the data packet that packet capturing obtains is sent according to the time interval;
The data packet is carried out parsing framing and decoded to play out, situation is played with analog video monitoring platform in real time.
2. the method as described in claim 1, which is characterized in that packet capturing is carried out to monitor supervision platform real-time video code stream and is preserved,
Including:
According to the transmission mode of the real-time code stream of monitor supervision platform video, monitor supervision platform real-time video code stream is carried out using packet catcher
Crawl is handled, and saves as the RTP data packets of corresponding format.
3. method as claimed in claim 2, which is characterized in that right according to the transmission mode of the real-time code stream of monitor supervision platform video
The data packet of crawl is handled, and is saved as the RTP data packets of corresponding format, is specifically included:
When the real-time code stream of monitor supervision platform video is transmitted in a manner of UDP, using packet catcher to monitor supervision platform real-time video code
Stream carries out crawl processing, saves as network UDP_RTP packets;Or
When the real-time code stream of monitor supervision platform video is transmitted in a manner of UDP, using packet catcher to monitor supervision platform real-time video code
Stream carries out crawl processing, saves as local UDP_RTP packets;Or
When the real-time code stream of monitor supervision platform video is transmitted in a manner of TCP, using packet catcher to monitor supervision platform real-time video code
Stream carries out crawl processing, saves as local TCP_RTP packets.
4. method as claimed in claim 2 or claim 3, which is characterized in that using packet catcher to monitor supervision platform real-time video code stream
Crawl processing is carried out, is specifically included:
The corresponding real-time video code stream of the filter condition is grabbed by the way that filter condition is arranged using wireshark tools
It takes.
5. method as claimed in claim 3, which is characterized in that between the absolute time between the data packet that acquisition system generates
Every, including:
It obtains the packet capturing absolute timestamp of generation when carrying out packet capturing to monitor supervision platform real-time video code stream and preserves;
When the RTP data packets are network UDP_RTP packets, further include:The packet capturing absolute timestamp is carried described
In the network information of UDP_RTP.
6. method as claimed in claim 3, which is characterized in that described to send the data that packet capturing obtains according to the time interval
Packet, including:
When the RTP data packets are network UDP_RTP packets, packet capturing is obtained from the network information of the network UDP_RTP
Absolute timestamp sends the data packet that packet capturing obtains according to the time interval of the absolute timestamp by way of network;
When the RTP data packets are local UDP_RTP packets or local TCP_RTP packets, according to the packet capturing absolute time preserved
Between the time interval stabbed, the data packet that packet capturing obtains is sent in a manner of reading file.
7. a kind of emulation test system of video surveillance platform, which is characterized in that including:
Packet capturing module, for monitor supervision platform real-time video code stream packet capturing and preserve, obtain data packet that system generates it
Between absolute time-intervals;
Packet capturing data transmission blocks, in test environment, sending according to the absolute time-intervals between data packet and protecting in advance
The data packet deposited;
Framing module is parsed, parsing for the data packet for being sent to packet capturing data transmission blocks forms complete picture
Frame;
Display module is decoded, broadcasting is decoded for the picture frame to the parsing framing module composition, is supervised with analog video
It surveys platform and plays situation in real time.
8. system as claimed in claim 7, which is characterized in that the packet capturing module is specifically used for according to monitor supervision platform video
The transmission mode of real-time code stream, carries out crawl processing to monitor supervision platform real-time video code stream using packet catcher, saves as correspondence
The RTP data packets of format.
9. system as claimed in claim 8, which is characterized in that the packet capturing module, specifically for being regarded in the monitor supervision platform
When the real-time code stream of frequency is transmitted in a manner of UDP, crawl processing is carried out to monitor supervision platform real-time video code stream using packet catcher, is preserved
For network UDP_RTP packets;Or when the real-time code stream of monitor supervision platform video is transmitted in a manner of UDP, using packet catcher to prison
Control platform real-time video code stream carries out crawl processing, saves as local UDP_RTP packets;Or in the real-time code of monitor supervision platform video
When stream is transmitted in a manner of TCP, crawl processing is carried out to monitor supervision platform real-time video code stream using packet catcher, saves as local
TCP_RTP packets.
10. system as claimed in claim 7, which is characterized in that the parsing framing module is specifically used for the data packet
In load code stream analyzing come out, form complete picture frame;
The decoding display module is specifically used for playing described group of good full picture frame decoding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810011342.1A CN108366046A (en) | 2018-01-05 | 2018-01-05 | A kind of emulation test method and its system of video surveillance platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810011342.1A CN108366046A (en) | 2018-01-05 | 2018-01-05 | A kind of emulation test method and its system of video surveillance platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108366046A true CN108366046A (en) | 2018-08-03 |
Family
ID=63011083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810011342.1A Pending CN108366046A (en) | 2018-01-05 | 2018-01-05 | A kind of emulation test method and its system of video surveillance platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108366046A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109451348A (en) * | 2018-10-29 | 2019-03-08 | 视联动力信息技术股份有限公司 | A kind of video flow detection method and apparatus |
CN110139117A (en) * | 2019-05-17 | 2019-08-16 | 歌尔科技有限公司 | Live data method for pushing and device |
CN110536132A (en) * | 2019-08-30 | 2019-12-03 | 重庆紫光华山智安科技有限公司 | IPC analogy method, IPC simulation softward system and server |
CN111031279A (en) * | 2019-11-29 | 2020-04-17 | 武汉烽火众智数字技术有限责任公司 | Monitoring platform-based simulation front-end equipment point location construction method and system |
CN111953961A (en) * | 2020-06-30 | 2020-11-17 | 武汉烽火众智数字技术有限责任公司 | Method and device for analyzing video playing problems based on national standard |
CN111964577A (en) * | 2020-07-24 | 2020-11-20 | 中国航空工业集团公司济南特种结构研究所 | Technological method for recurrence of test point positions on surface of radar antenna housing |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1804455A1 (en) * | 2005-12-27 | 2007-07-04 | Siemens S.p.A. | Method and system to exchange videos in real-time taken by one's cellular handset during two-party voice calls |
CN101094410A (en) * | 2007-06-28 | 2007-12-26 | 西安联合信息技术股份有限公司 | Wireless video transmission system based on Brew platform |
CN101155097A (en) * | 2006-09-25 | 2008-04-02 | 中兴通讯股份有限公司 | Device and method for broadband stream media system access to mobile network |
CN101222296A (en) * | 2008-01-31 | 2008-07-16 | 上海交通大学 | Self-adapting transmission method and system in ascending honeycomb video communication |
CN105338341A (en) * | 2014-08-12 | 2016-02-17 | 杭州海康威视系统技术有限公司 | Method and device for reproducing real-time video code stream |
-
2018
- 2018-01-05 CN CN201810011342.1A patent/CN108366046A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1804455A1 (en) * | 2005-12-27 | 2007-07-04 | Siemens S.p.A. | Method and system to exchange videos in real-time taken by one's cellular handset during two-party voice calls |
CN101155097A (en) * | 2006-09-25 | 2008-04-02 | 中兴通讯股份有限公司 | Device and method for broadband stream media system access to mobile network |
CN101094410A (en) * | 2007-06-28 | 2007-12-26 | 西安联合信息技术股份有限公司 | Wireless video transmission system based on Brew platform |
CN101222296A (en) * | 2008-01-31 | 2008-07-16 | 上海交通大学 | Self-adapting transmission method and system in ascending honeycomb video communication |
CN105338341A (en) * | 2014-08-12 | 2016-02-17 | 杭州海康威视系统技术有限公司 | Method and device for reproducing real-time video code stream |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109451348A (en) * | 2018-10-29 | 2019-03-08 | 视联动力信息技术股份有限公司 | A kind of video flow detection method and apparatus |
CN110139117A (en) * | 2019-05-17 | 2019-08-16 | 歌尔科技有限公司 | Live data method for pushing and device |
CN110536132A (en) * | 2019-08-30 | 2019-12-03 | 重庆紫光华山智安科技有限公司 | IPC analogy method, IPC simulation softward system and server |
CN111031279A (en) * | 2019-11-29 | 2020-04-17 | 武汉烽火众智数字技术有限责任公司 | Monitoring platform-based simulation front-end equipment point location construction method and system |
CN111953961A (en) * | 2020-06-30 | 2020-11-17 | 武汉烽火众智数字技术有限责任公司 | Method and device for analyzing video playing problems based on national standard |
CN111964577A (en) * | 2020-07-24 | 2020-11-20 | 中国航空工业集团公司济南特种结构研究所 | Technological method for recurrence of test point positions on surface of radar antenna housing |
CN111964577B (en) * | 2020-07-24 | 2022-06-28 | 中国航空工业集团公司济南特种结构研究所 | Technological method for surface test point position recurrence of radar antenna housing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108366046A (en) | A kind of emulation test method and its system of video surveillance platform | |
US8737980B2 (en) | End to end application automatic testing | |
US20070081471A1 (en) | Apparatus and method for analyzing packet data streams | |
CN102546194B (en) | Display data processing method, system and server | |
US20110130205A1 (en) | Game grammar-based packet capture and analysis apparatus and method for conducting game test | |
CN103200190B (en) | A kind of cut-in method in kind towards QualNet network hardware-in-the-loop simulation | |
CN112491652B (en) | Network flow sample processing method and device for testing | |
US8738761B2 (en) | Method and system to capture and playback network activity | |
EP2299632B1 (en) | Traffic distribution control | |
CN113473472B (en) | Power network target range terminal access simulation and attack replay method and system | |
CN104125304A (en) | Session-level application auditing method and system | |
CN106454249A (en) | Device for simulating multipath high-definition real-time audio and video transmission and method thereof | |
CN103684925B (en) | A kind of performance test methods based on emulation terminal | |
CN113542029A (en) | Service stability testing method, system and tool of network equipment | |
CN103368783B (en) | Method, system and equipment for network communication process monitoring | |
CN103763551B (en) | Video testing method based on deep packet inspection | |
CN102970179B (en) | Test method and system for media players based on point-to-point data transmission | |
CN111538646B (en) | System and method for testing performance of spatial information network | |
CN107835449A (en) | Based on the real-time performance multiple terminals method that synchronously connection shields in Android platform | |
CN108551409B (en) | Method for remotely calling SIPP software to perform performance test | |
CN108235134A (en) | Picture analyzing method and device | |
CN116418567A (en) | Network protocol security test system | |
CN110971605B (en) | Method for acquiring pirated game server information by capturing data packet | |
Toll et al. | IoTreeplay: Synchronous Distributed Traffic Replay in IoT Environments | |
CN106059858A (en) | Network performance testing system and method |
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: 20180803 |
|
RJ01 | Rejection of invention patent application after publication |