CN111787308A - Mass concurrent simulation method based on GB28181 standard protocol video monitoring terminal - Google Patents

Mass concurrent simulation method based on GB28181 standard protocol video monitoring terminal Download PDF

Info

Publication number
CN111787308A
CN111787308A CN202010619695.7A CN202010619695A CN111787308A CN 111787308 A CN111787308 A CN 111787308A CN 202010619695 A CN202010619695 A CN 202010619695A CN 111787308 A CN111787308 A CN 111787308A
Authority
CN
China
Prior art keywords
data
video
standard protocol
equipment
simulation
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
Application number
CN202010619695.7A
Other languages
Chinese (zh)
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.)
Inspur Cloud Information Technology Co Ltd
Original Assignee
Inspur Cloud Information Technology 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 Inspur Cloud Information Technology Co Ltd filed Critical Inspur Cloud Information Technology Co Ltd
Priority to CN202010619695.7A priority Critical patent/CN111787308A/en
Publication of CN111787308A publication Critical patent/CN111787308A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Abstract

The invention provides a massive concurrent simulation method for a video monitoring terminal based on a GB28181 standard protocol, which specifically comprises the following steps: step 1: defining a mass data test rule scheme; step 2: establishing a connection relation between equipment and a tested system platform through SIP signaling interaction; and step 3: converting a GB28181 standard protocol video data format by using FFmpeg through Live555 pull video stream; and 4, step 4: collecting performance data change, equipment state and sending data statistics. The method includes the steps that massive data are generated by simulating a monitoring equipment terminal based on a GB28181 standard protocol, the idea of testing the limit processing capacity of a public safety video monitoring networking system by using a distributed packet data management method is adopted, a testing system is constructed by adopting a computer technology, a computer network technology, an FFmpeg technology and a distributed packet data management technology, and the method has the simulation processing capacity of the massive data.

Description

Mass concurrent simulation method based on GB28181 standard protocol video monitoring terminal
Technical Field
The invention relates to the technical field of information, in particular to a massive concurrent simulation method for a video monitoring terminal based on a GB28181 standard protocol.
Background
With the rapid development of the domestic security market, more and more areas implement the construction of the public safety video monitoring networking system platform, the work of automatically testing the public safety video monitoring networking system platform is one of important processes for ensuring the engineering construction quality, and in the face of the current testing scheme of a large number of system platforms to be tested, if an actual media stream device is adopted, the demand is too large and the cost is higher; if the system is tested in the existing actual system environment, the system stability and the user experience effect are influenced, and the feasibility is low. The simple video monitoring terminal simulation method is difficult to meet the test of high connection number, large data volume and high performance, and simultaneously cannot stably provide concurrent service. Meanwhile, the factors of poor universality and expandability, complex operation, undefined test flow and the like are all obstacles to performance test.
Disclosure of Invention
The technical task of the invention is to solve the defects of the prior art and provide a massive concurrency simulation method based on a GB28181 standard protocol video monitoring terminal so as to complete high concurrency test of a public safety video monitoring networking system.
The innovation points of the technical scheme of the invention are as follows:
(1) simulating massive GB28181 protocol equipment scene
The method generates mass data by simulating a monitoring equipment terminal based on a GB28181 standard protocol, applies a distributed packet data management method to test the ultimate processing capacity of the public safety video monitoring networking system, adopts a computer technology, a computer network technology, an FFmpeg technology and a distributed packet data management technology to construct a test system, and has the simulation processing capacity of the mass data.
(2) Can flexibly control the testing process
The method can flexibly configure the communication parameters, the simulation data and the like of the analog equipment terminal. The system can monitor the state of the terminal, an SIP signaling packet and count real-time video data transmission data in real time, the human-computer interface supports the functions of establishing communication, starting, suspending and stopping data interaction and the like, supports the control requirements of all analog terminals and a single analog terminal, and supports the flexible control requirements of equipment control, video on demand and the like. The number of the devices which can be flexibly simulated is multiplied or reduced, and the tests with different pressure requirements are met.
(3) Visual display test flow and result
And displaying the SIP signaling packet of the online condition of the equipment terminal in a large number of reports, diagrams and other modes, and counting multi-dimensional data such as real-time video data transmission data.
(4) Distributed packet data management mode
The distributed groups of the simulation terminals are automatically grouped through the customized rule, the stability of data flow is guaranteed, and the influence on a test result caused by the data peak possibly occurring in the distributed group of a single simulation terminal is avoided. Meanwhile, each analog terminal is distributed to divide and decompose a plurality of video streams, so that the stability of data flow is guaranteed, and a large amount of data is guaranteed to meet the test requirement.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a massive concurrent simulation method based on a GB28181 standard protocol video monitoring terminal is characterized in that massive data are generated by simulating a monitoring equipment terminal based on the GB28181 standard protocol, a distributed packet data management method is used for testing the ultimate processing capacity of a public safety video monitoring networking system, a computer technology, a computer network technology, an FFmpeg technology and a distributed packet data management technology are used for constructing a testing system, and the testing system has the simulation processing capacity of the massive data.
Optionally, the method comprises the following steps:
step 1: defining a mass data test rule scheme;
step 2: establishing a connection relation between equipment and a tested system platform through SIP signaling interaction;
and step 3: converting a GB28181 standard protocol video data format by using FFmpeg through Live555 pull video stream;
and 4, step 4: collecting performance data change, equipment state and sending data statistics.
Optionally, the step 1 specifically includes the following steps:
step 1.1, defining basic configuration information of the simulation monitoring terminal;
step 1.2, defining a device channel distributed grouping rule and a change rule of analog devices and channel numbers, carrying out data simulation by the system according to a sawtooth wave or other mathematical models, wherein the data change period can be configured within 1-30000 seconds;
step 1.3, system communication configuration adopts a single IP and multi-port mode for configuration, simulated terminal communication IPs on the same test server all adopt the IP of the test server, different simulated terminals adopt different port numbers, the port numbers are automatically configured according to an increasing rule, and the terminal-by-terminal configuration is not needed;
and step 1.4, automatically generating national standard codes of corresponding equipment according to an ID unified coding rule in a GB28181 standard protocol.
Optionally, the basic configuration information of the analog monitoring terminal in step 1.1 includes a starting IP address, an address mask, channel information, an analog number, a user name, a password, and national standard coding information.
Optionally, the step 2 specifically includes the following steps:
the system interacts with a tested platform based on a TCP/IP protocol, and establishes or disconnects the connection between equipment and the tested platform through SIP signaling interaction by using a GB28181 standard protocol so as to simulate the test.
Optionally, step 3 specifically includes the following steps: the system pulls a video stream through Live555, and video data is distributed in an analog mode by using an FFmpeg conversion GB28181 standard protocol video data format; video resources are recorded in advance, video resource files are streamed into an RTP video stream in a GB2818 format through an ffmpeg technology, the RTP video stream is pushed to an established SIP user terminal, and the generation flow of the GB28181 video resources is realized.
Optionally, step 4 specifically includes the following steps:
step 4.1, the system can carry out data acquisition and display of performance data acquisition change, equipment state and sent data statistics;
step 4.2, the system can monitor data such as CPU, memory and I/O throughput of the test server in real time during interaction and collect and display the data;
and 4.3, the system can record the test result and the problem position each time and the analysis conclusion of the tester, and can automatically and intelligently generate the conclusion according to the result of the analysis record when the test rule scheme is executed at the later stage, so that the tester can analyze the result.
Optionally, the method is implemented based on:
1) simulating the simulation processing capacity of more than 100 ten thousand equipment terminals and 1000 ten thousand equipment channels accessed to a public safety video monitoring networking system platform;
2) simulating the basic capabilities of conventional SIP signaling interaction, equipment control commands, real-time video on demand and equipment alarm;
3) flexibly configuring communication parameters, simulation data and pressure data of a simulation equipment terminal;
4) and monitoring the state of the terminal, the SIP signaling packet and counting the transmission data of the real-time video data in real time.
Compared with the prior art, the massive concurrent simulation method of the video monitoring terminal based on the GB28181 standard protocol has the following beneficial effects:
1. the cost and the test time of the test equipment are saved, and the difficulty in testing the public safety video monitoring networking system is reduced.
2. After the measurement setting of a single simulation terminal is completed, the configuration can be easily expanded to a mass terminal to generate mass data, a pressure test environment is quickly established, and the test of related performance is carried out.
3. And a test conclusion can be automatically and intelligently generated for each test scheme, so that the result can be conveniently analyzed by a tester.
4. The software adopts a distributed packet data management technology and a multithreading technology, and the requirements on efficiency and indexes are ensured.
5. The software adopts a single-computer hardware structure, is simple in structure, easy to build and maintain, ensures the operation reliability and stability of the system, and effectively ensures the development of scientific research work.
6. The system supports the operation of multiple operating system platforms, the functional interface of the human-computer interaction interface module is completely designed according to the Windows style, and the system accords with the operating habits of users and is easy to use.
Drawings
In order to more clearly describe the working principle of the massive concurrent simulation method of the video monitoring terminal based on the GB28181 standard protocol, the following schematic diagram is attached for further explanation.
Fig. 1 is a flow chart of a massive concurrent simulation method of a video monitoring terminal based on a GB28181 standard protocol according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to fig. 1 in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in figure 1, the method for simulating the mass concurrency of the video monitoring terminal based on the GB28181 standard protocol generates mass data by simulating the monitoring equipment terminal based on the GB28181 standard protocol, applies a distributed packet data management method to test the ultimate processing capacity of a public safety video monitoring networking system, adopts a computer technology, a computer network technology, an FFmpeg technology and a distributed packet data management technology to construct a test system, and has the simulation processing capacity of the mass data.
The method comprises the following steps:
step 1: scheme for defining mass data test rule
Step 1.1, defining basic configuration information of the simulation monitoring terminal, such as information of a starting IP address, an address mask, channel information, simulation quantity, a user name, a password, national standard codes and the like;
step 1.2, defining a device channel distributed grouping rule and a change rule of analog devices and channel numbers, carrying out data simulation by the system according to a sawtooth wave or other mathematical models, wherein the data change period can be configured within 1-30000 seconds;
step 1.3, system communication configuration adopts a single IP and multi-port mode for configuration, simulated terminal communication IPs on the same test server all adopt the IP of the test server, different simulated terminals adopt different port numbers, the port numbers are automatically configured according to an increasing rule, and the terminal-by-terminal configuration is not needed;
and step 1.4, automatically generating national standard codes of corresponding equipment according to an ID unified coding rule in a GB28181 standard protocol.
Step 2: establishing connection relation between equipment and tested system platform through SIP signaling interaction
The system interacts with a tested platform based on a TCP/IP protocol, and establishes or disconnects the connection between equipment and the tested platform through SIP signaling interaction by using a GB28181 standard protocol so as to simulate the test.
And step 3: video data format is converted into GB28181 standard protocol video data format by using FFmpeg through Live555 pull video stream
The system pulls a video stream through Live555, and video data is distributed in an analog mode by using an FFmpeg conversion GB28181 standard protocol video data format; video resources are recorded in advance, video resource files are streamed into an RTP video stream in a GB2818 format through an ffmpeg technology, the RTP video stream is pushed to an established SIP user terminal, and the generation flow of the GB28181 video resources is realized.
And 4, step 4: collecting performance data changes, device status, sending data statistics
Step 4.1, the system can carry out data acquisition and display of performance data acquisition change, equipment state and sent data statistics;
step 4.2, the system can monitor data such as CPU, memory and I/O throughput of the test server in real time during interaction and collect and display the data;
and 4.3, the system can record the test result and the problem position each time and the analysis conclusion of the tester, and can automatically and intelligently generate the conclusion according to the result of the analysis record when the test rule scheme is executed at the later stage, so that the tester can analyze the result.
The method is realized as follows:
1) simulating the simulation processing capacity of more than 100 ten thousand equipment terminals and 1000 ten thousand equipment channels accessed to a public safety video monitoring networking system platform;
2) simulating the basic capabilities of conventional SIP signaling interaction, equipment control commands, real-time video on demand and equipment alarm;
3) flexibly configuring communication parameters, simulation data and pressure data of a simulation equipment terminal;
4) and monitoring the state of the terminal, the SIP signaling packet and counting the transmission data of the real-time video data in real time.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (8)

1. A massive concurrent simulation method based on a GB28181 standard protocol video monitoring terminal is characterized in that the method generates massive data by simulating a monitoring device terminal based on the GB28181 standard protocol, applies a distributed packet data management method to test the ultimate processing capacity of a public safety video monitoring networking system, adopts a computer technology, a computer network technology, an FFmpeg technology and a distributed packet data management technology to construct a test system, and has the simulation processing capacity of the massive data.
2. The massive concurrent simulation method for the video monitoring terminal based on the GB28181 standard protocol according to claim 1, which is characterized by comprising the following steps:
step 1: defining a mass data test rule scheme;
step 2: establishing a connection relation between equipment and a tested system platform through SIP signaling interaction;
and step 3: converting a GB28181 standard protocol video data format by using FFmpeg through Live555 pull video stream;
and 4, step 4: collecting performance data change, equipment state and sending data statistics.
3. The massive concurrent simulation method for the video monitoring terminal based on the GB28181 standard protocol according to claim 2, wherein the step 1 specifically comprises the following steps:
step 1.1, defining basic configuration information of the simulation monitoring terminal;
step 1.2, defining a device channel distributed grouping rule and a change rule of analog devices and channel numbers, carrying out data simulation by the system according to a sawtooth wave or other mathematical models, wherein the data change period can be configured within 1-30000 seconds;
step 1.3, system communication configuration adopts a single IP and multi-port mode for configuration, simulated terminal communication IPs on the same test server all adopt the IP of the test server, different simulated terminals adopt different port numbers, the port numbers are automatically configured according to an increasing rule, and the terminal-by-terminal configuration is not needed;
and step 1.4, automatically generating national standard codes of corresponding equipment according to an ID unified coding rule in a GB28181 standard protocol.
4. The massive concurrent simulation method for the video monitoring terminal based on the GB28181 standard protocol according to claim 3, wherein the basic configuration information of the simulation monitoring terminal in the step 1.1 comprises a starting IP address, an address mask, channel information, simulation quantity, a user name, a password and national standard coding information.
5. The massive concurrent simulation method for the video monitoring terminal based on the GB28181 standard protocol according to claim 2, wherein the step 2 specifically comprises the following steps:
the system interacts with a tested platform based on a TCP/IP protocol, and establishes or disconnects the connection between equipment and the tested platform through SIP signaling interaction by using a GB28181 standard protocol so as to simulate the test.
6. The massive concurrent simulation method for the video monitoring terminal based on the GB28181 standard protocol according to claim 2, wherein the step 3 specifically comprises the following steps: the system pulls a video stream through Live555, and video data is distributed in an analog mode by using an FFmpeg conversion GB28181 standard protocol video data format; video resources are recorded in advance, video resource files are streamed into an RTP video stream in a GB2818 format through an ffmpeg technology, the RTP video stream is pushed to an established SIP user terminal, and the generation flow of the GB28181 video resources is realized.
7. The massive concurrent simulation method for the video monitoring terminal based on the GB28181 standard protocol according to claim 2, wherein the step 4 specifically comprises the following steps:
step 4.1, the system can carry out data acquisition and display of performance data acquisition change, equipment state and sent data statistics;
step 4.2, the system can monitor data such as CPU, memory and I/O throughput of the test server in real time during interaction and collect and display the data;
and 4.3, the system can record the test result and the problem position each time and the analysis conclusion of the tester, and can automatically and intelligently generate the conclusion according to the result of the analysis record when the test rule scheme is executed at the later stage, so that the tester can analyze the result.
8. The massive concurrent simulation method for the video monitoring terminal based on the GB28181 standard protocol according to claim 2, which is implemented based on the method:
1) simulating the simulation processing capacity of more than 100 ten thousand equipment terminals and 1000 ten thousand equipment channels accessed to a public safety video monitoring networking system platform;
2) simulating the basic capabilities of conventional SIP signaling interaction, equipment control commands, real-time video on demand and equipment alarm;
3) flexibly configuring communication parameters, simulation data and pressure data of a simulation equipment terminal;
4) and monitoring the state of the terminal, the SIP signaling packet and counting the transmission data of the real-time video data in real time.
CN202010619695.7A 2020-07-01 2020-07-01 Mass concurrent simulation method based on GB28181 standard protocol video monitoring terminal Pending CN111787308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010619695.7A CN111787308A (en) 2020-07-01 2020-07-01 Mass concurrent simulation method based on GB28181 standard protocol video monitoring terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010619695.7A CN111787308A (en) 2020-07-01 2020-07-01 Mass concurrent simulation method based on GB28181 standard protocol video monitoring terminal

Publications (1)

Publication Number Publication Date
CN111787308A true CN111787308A (en) 2020-10-16

Family

ID=72761319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010619695.7A Pending CN111787308A (en) 2020-07-01 2020-07-01 Mass concurrent simulation method based on GB28181 standard protocol video monitoring terminal

Country Status (1)

Country Link
CN (1) CN111787308A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113890868A (en) * 2021-09-23 2022-01-04 恒睿(重庆)人工智能技术研究院有限公司 Signaling interaction simulation method and device and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130096904A1 (en) * 2011-10-14 2013-04-18 T-Mobile USA, Inc Quality of User Experience Testing for Video Transmissions
CN103686147A (en) * 2013-12-03 2014-03-26 浙江宇视科技有限公司 Method and device for testing cloning of video monitoring simulation terminals
CN104185018A (en) * 2013-06-20 2014-12-03 四川电力科学研究院 Network camera simulating device for testing a video monitoring system and testing method
CN110536132A (en) * 2019-08-30 2019-12-03 重庆紫光华山智安科技有限公司 IPC analogy method, IPC simulation softward system and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130096904A1 (en) * 2011-10-14 2013-04-18 T-Mobile USA, Inc Quality of User Experience Testing for Video Transmissions
CN104185018A (en) * 2013-06-20 2014-12-03 四川电力科学研究院 Network camera simulating device for testing a video monitoring system and testing method
CN103686147A (en) * 2013-12-03 2014-03-26 浙江宇视科技有限公司 Method and device for testing cloning of video monitoring simulation terminals
CN110536132A (en) * 2019-08-30 2019-12-03 重庆紫光华山智安科技有限公司 IPC analogy method, IPC simulation softward system and server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113890868A (en) * 2021-09-23 2022-01-04 恒睿(重庆)人工智能技术研究院有限公司 Signaling interaction simulation method and device and computer storage medium

Similar Documents

Publication Publication Date Title
US7099438B2 (en) Multi-protocol, multi-interface communications device testing system
CN102143507B (en) Method and system for monitoring service quality, and analytical method and system therefor
CN107294808B (en) Interface test method, device and system
CN105376335B (en) Collected data uploading method and device
US6901442B1 (en) Methods, system and computer program products for dynamic filtering of network performance test results
CN108600049B (en) Method and device for measuring performance of TCP connection of data center network and storage medium
CN104022902A (en) Method and system of monitoring server cluster
CN107704387A (en) For the method, apparatus of system early warning, electronic equipment and computer-readable medium
CN107094086A (en) A kind of information acquisition method and device
CN106535240B (en) Mobile APP centralized performance analysis method based on cloud platform
CN111930614B (en) Automatic testing method, device, equipment and medium
CN107168844B (en) Performance monitoring method and device
CN113542029A (en) Service stability testing method, system and tool of network equipment
CN107992403A (en) IO performance test methods, device, equipment and computer-readable recording medium
CN111800624A (en) Integrated testing method for multi-video-protocol communication of intelligent video monitoring platform
CN105786693A (en) Self-testing execution system and method as well as mobile terminal
CN111787308A (en) Mass concurrent simulation method based on GB28181 standard protocol video monitoring terminal
CN110912751A (en) Network equipment topological graph generation method and related device
CN111027197A (en) Simulation analysis system and method for power equipment
CN108696371B (en) Network fault determination method and system
Xi et al. Statistical analysis and modeling of Internet VoIP traffic for network engineering
CN109189661B (en) Performance test method of industrial real-time database
CN111817865A (en) Method for monitoring network management equipment and monitoring system
CN111158979A (en) Service dial testing method, system, device and storage medium
CN116016468A (en) Session problem diagnosis method, device, medium and electronic equipment

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20201016

WD01 Invention patent application deemed withdrawn after publication