CN110635969B - High concurrency test method for streaming media direct memory system - Google Patents

High concurrency test method for streaming media direct memory system Download PDF

Info

Publication number
CN110635969B
CN110635969B CN201910940903.0A CN201910940903A CN110635969B CN 110635969 B CN110635969 B CN 110635969B CN 201910940903 A CN201910940903 A CN 201910940903A CN 110635969 B CN110635969 B CN 110635969B
Authority
CN
China
Prior art keywords
streaming media
video
media
memory system
direct memory
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.)
Active
Application number
CN201910940903.0A
Other languages
Chinese (zh)
Other versions
CN110635969A (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.)
Inspur Software Co Ltd
Original Assignee
Inspur Software 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 Software Co Ltd filed Critical Inspur Software Co Ltd
Priority to CN201910940903.0A priority Critical patent/CN110635969B/en
Publication of CN110635969A publication Critical patent/CN110635969A/en
Application granted granted Critical
Publication of CN110635969B publication Critical patent/CN110635969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a high concurrency test method of a streaming media direct memory system, and belongs to the technical field of media stream memory test. The high concurrency test method of the streaming media direct memory system adopts the streaming media distribution technology and the asynchronous architecture technology to construct the streaming media amplifier, converts a single-path video into a plurality of paths of video streams, uses the media storage service to start the streaming storage, and stores a large number of video streams to the local, thereby simulating the video stream output of a large number of devices. The high concurrency test method of the streaming media direct memory system can meet the test requirements of the streaming media direct memory system with high connection number, large data volume and high performance, has strong expandability and universality, and has good popularization and application values.

Description

High concurrency test method for streaming media direct memory system
Technical Field
The invention relates to the technical field of media stream storage testing, and particularly provides a high concurrency testing method for a stream media direct storage system.
Background
The performance test scheme of the current streaming media direct memory system has defects of different degrees, and needs to be further improved:
(1) for the high performance test of the streaming media direct memory system, if the actual media streaming equipment 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;
(2) the simple media stream simulation method is difficult to meet the test of a high-connection-number, large-data-volume and high-performance streaming media direct memory system, and cannot stably provide concurrent service;
(3) the factors of poor universality and expandability, complex operation, uncontrollable test flow and the like also hinder the performance test of the streaming media direct memory system.
Disclosure of Invention
The technical task of the present invention is to provide a high concurrent testing method for a streaming media direct memory system, which can meet the testing requirements of the streaming media direct memory system with high connection number, large data volume and high performance, and has strong expandability and universality.
In order to achieve the purpose, the invention provides the following technical scheme:
a high concurrency test method for a streaming media direct memory system is characterized in that a streaming media amplifier group is constructed by adopting a streaming media distribution technology and an asynchronous architecture technology, a single-channel video is converted into a plurality of channels of video streams, the streaming storage is started by using a media storage service, and a large number of video streams are stored locally, so that the video stream output of a large number of devices is simulated.
The high concurrency test method of the streaming media direct memory system constructs the streaming media amplifier based on the streaming media distribution technology and the asynchronous architecture technology, realizes a method for simulating thousands of devices to provide media streams for an external system at low cost, can meet the test of the streaming media direct memory system with high connection number, large data volume and high performance, and has strong expandability and universality.
Preferably, the high concurrency test method of the streaming media direct memory system specifically comprises the following steps:
s1, the media forwarding service pulls the video stream through Live555 to construct a stream media amplifier group;
s2, the media storage service pulls a large number of video streams through the stream media amplifier group;
and S3, the media storage service starts streaming storage to save the video stream to the local.
Preferably, the high concurrency test method for the streaming media direct memory system further comprises the following steps:
and S4, collecting performance data and optimizing the program.
Preferably, step S1 includes the following steps:
1) interface addresses of a media forwarding service and a media storage service, and switch and path number global variables are defined;
2) reading a local video file, and pulling the video file into a small number of video streams through Live 555;
3) the video stream pulled from Live555 is distributed into a large number of video streams by a streaming media distribution technology, and the construction of a streaming media amplifier is completed;
4) a plurality of streaming media amplifiers are constructed into a set of streaming media amplifiers.
Preferably, the local video file is read, and when the video file is pulled to be a small number of videos through Live555, corresponding JSON data packets are sent to the media forwarding service according to the corresponding video code streams selected by the participants and the number of video input and output paths, so that the video stream is pulled through Live 555.
Preferably, in step S2, the media storage service pulls a large number of video streams obtained by the streaming media distribution technology through the streaming media amplifier group interface, and streams each video stream into the streaming media storage service channel to start the streaming media storage service.
Preferably, in step S3, a large number of video streams obtained by the media storage service through streaming by the set of streaming media amplifiers are stored on the local storage disk, so as to simulate each video stream as a video stream generated by the device, and the generated high concurrency data volume is stored as test data in thousands of videos simultaneously.
Preferably, in step S4, CPU, memory and I/O throughput of video storage are collected, effects of the streaming media direct memory system in high concurrency are detected, program optimization is performed according to corresponding data, and then performance data collection and loop operation are performed.
The transmission protocol used in the present invention includes RTSP streaming media transmission protocol, HTTP protocol and NFS protocol. The Live555 server transmits the video file to the media forwarding service through the RTSP streaming media transmission protocol, completes streaming media distribution, and divides the video into multiple paths of video streams. The media forwarding service is transferred to the media storage service through the RTSP streaming media transport protocol and is stored in the local storage disk through the NFS protocol, and then the storage of the video stream can be completed.
Compared with the prior art, the high concurrency test method of the streaming media direct memory system has the following outstanding beneficial effects:
(1) the cost is saved, and a high concurrency scene is simulated. Through the stream media amplifier, the media forwarding service and the media storage service, the scenes of video streams generated by thousands of devices are simulated at low cost, the videos are stored, and a large number of video streams with high concurrency and direct storage are simulated, so that a program is tested, and the robustness of the program to the high concurrency scenes can be tested;
(2) and calling the API, and controlling the test flow. Calling a plurality of packaged APIs, and controlling the execution sequence of the program by changing the calling sequence to realize flow controllability;
(3) the http protocol-based remote native call control flow method is simple and efficient. A method for submitting a corresponding json packet to a live555 server through a post method to pull a video stream is adopted, and the customized high-concurrency scene simulation can be completed only by building a live555 service and calling related technologies such as MSS, MTS, streaming media distribution and asynchronous framework;
(4) the data flow is stabilized by a plurality of streaming media amplifiers. The stream media amplifier group is constructed, the synchronization of the video stream data peak value is avoided, the stability of the flow change during data input is ensured, the data flow is more stable, and the method has good popularization and application values.
Drawings
FIG. 1 is a flow chart of a high concurrency testing method for a streaming media direct memory system according to the present invention;
fig. 2 is a schematic diagram of a streaming media amplifier constructed in the high concurrent testing method of the streaming media direct memory system according to the present invention;
fig. 3 is a schematic diagram of a set of stream media amplifiers constructed in the high concurrency test method for the stream media direct memory system according to the present invention.
Detailed Description
The high concurrency test method of the streaming media direct memory system according to the present invention will be described in detail with reference to the accompanying drawings and embodiments.
Examples
The high concurrency test method of the streaming media direct memory system adopts the streaming media distribution technology and the asynchronous architecture technology to construct a streaming media amplifier group, converts a single-channel video into a plurality of channels of video streams, starts the stream storage by using the media storage service, and stores a large number of video streams to the local, thereby simulating the video stream output of a large number of devices.
As shown in fig. 1, the method for testing high concurrency of a streaming media direct memory system specifically includes the following steps:
s1, the media forwarding service pulls the video stream through Live555 to construct a stream media amplifier group.
As shown in fig. 2 and 3, this step includes the following processes:
1) interface addresses of the media forwarding service and the media storage service, and global variables of the switch and the path number are defined.
2) And reading the local video file, and pulling the video file into a small number of video streams through Live 555.
Reading a local video file, and when the video file is pulled to be a small number of videos through Live555, sending a corresponding JSON data packet to a media forwarding service according to the corresponding video code stream selected by the access participant and the number of video input and output paths so as to pull the video stream through Live 555.
3) And the video stream pulled from Live555 is distributed into a large number of video streams by a streaming media distribution technology, so that the construction of a streaming media amplifier group is completed.
4) A plurality of streaming media amplifiers are constructed into a set of streaming media amplifiers.
S2, the media storage service pulls a large number of video streams through the streaming media storage service.
The media storage service pulls a large number of video streams obtained by the streaming media distribution technology through a streaming media amplifier group interface, puts each video stream into a media storage service channel, and starts the streaming media storage service.
And S3, the streaming media storage service starts streaming storage to save the video stream to the local.
The media storage service stores a large number of video streams obtained by pulling the streams through the stream media amplifier group to a local storage disk, so that each path of video is simulated to be the video stream generated by the equipment, thousands of paths of videos are stored simultaneously, and the generated high concurrent data volume is used as test data.
And S4, collecting performance data and optimizing the program.
The CPU, the memory and the I/O throughput of video storage are collected, the effect of a streaming media direct storage system in high concurrency is detected, program optimization is carried out according to corresponding data, and then performance data collection and cyclic operation are carried out.
The high concurrency test method of the streaming media direct memory system constructs the streaming media amplifier based on the streaming media distribution technology and the asynchronous architecture technology, realizes a method for simulating thousands of devices to provide media streams for an external system at low cost, can meet the test of the streaming media direct memory system with high connection number, large data volume and high performance, and has strong expandability and universality.
The above-described embodiments are merely preferred embodiments of the present invention, and general changes and substitutions by those skilled in the art within the technical scope of the present invention are included in the protection scope of the present invention.

Claims (5)

1. A high concurrency test method of a streaming media direct memory system is characterized by comprising the following steps: the method adopts a streaming media distribution technology and an asynchronous architecture technology to construct a streaming media amplifier group, converts a single-channel video into a plurality of channels of video streams, starts stream storage by using a media storage service, and stores a large number of video streams to the local, thereby realizing the output of the video streams of a large number of devices, and the method specifically comprises the following steps:
s1, the media forwarding service pulls the video stream through Live555 to construct a stream media amplifier group, which specifically includes the following procedures:
1) interface addresses, switch and path number global variables of a media forwarding service and a media storage service are defined;
2) reading a local video file, and pulling the video file into a small number of video streams through Live 555;
3) the video stream pulled from Live555 is distributed into a large number of video streams by a streaming media distribution technology, and the construction of a streaming media amplifier is completed;
4) constructing a plurality of streaming media amplifiers into a streaming media amplifier group;
s2, the media storage service pulls a large number of video streams through the stream media amplifier group;
s3, the media storage service starts stream storage and saves the video stream to the local;
and S4, collecting performance data and optimizing the program.
2. The high concurrency test method for the streaming media direct memory system according to claim 1, wherein: and reading the local video file, and when the video file is pulled to be a small number of videos through Live555, sending a corresponding JSON data packet to a media forwarding service according to the corresponding video code stream and the video input and output path number selected by the user, so as to pull the video stream through Live 555.
3. The method for testing high concurrency of the streaming media direct memory system according to claim 2, wherein: in step S2, the media storage service pulls a large number of video streams obtained by the streaming media distribution technique through the streaming media amplifier group interface, and streams each video stream into a streaming media storage service channel to start the streaming media storage service.
4. The high concurrency test method for the streaming media direct memory system according to claim 3, wherein: in step S3, a large number of video streams obtained by the media storage service through streaming through the set of streaming media amplifiers are stored in the local storage disk, so as to simulate each video path as a video stream generated by the device, and store thousands of video paths simultaneously, and the generated high concurrency data volume is used as test data.
5. The high concurrency test method for the streaming media direct memory system according to claim 4, wherein: in step S4, CPU, memory and I/O throughput of video storage are collected, effects of the streaming media direct memory system in high concurrency are detected, program optimization is performed according to corresponding data, and then performance data collection and loop operation are performed.
CN201910940903.0A 2019-09-30 2019-09-30 High concurrency test method for streaming media direct memory system Active CN110635969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910940903.0A CN110635969B (en) 2019-09-30 2019-09-30 High concurrency test method for streaming media direct memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910940903.0A CN110635969B (en) 2019-09-30 2019-09-30 High concurrency test method for streaming media direct memory system

Publications (2)

Publication Number Publication Date
CN110635969A CN110635969A (en) 2019-12-31
CN110635969B true CN110635969B (en) 2022-09-13

Family

ID=68974815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910940903.0A Active CN110635969B (en) 2019-09-30 2019-09-30 High concurrency test method for streaming media direct memory system

Country Status (1)

Country Link
CN (1) CN110635969B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112153410B (en) * 2020-09-30 2022-02-22 郑州信大捷安信息技术股份有限公司 High-concurrency testing method and system for streaming media service

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001055913A1 (en) * 2000-01-28 2001-08-02 Williams Communications, Llc Method of utilizing a single uniform resource locator for resources with multiple formats
WO2001056266A2 (en) * 2000-01-28 2001-08-02 Ibeam Broadcasting Corporation Method and apparatus for encoder-based distribution of live video and other streaming content
WO2001055912A1 (en) * 2000-01-28 2001-08-02 Ibeam Broadcasting Corporation Method and apparatus for client-side authentication and stream selection in a content distribution system
WO2003058518A2 (en) * 2002-01-07 2003-07-17 Stephen James Crampton Method and apparatus for an avatar user interface system
US7657644B1 (en) * 2002-05-10 2010-02-02 Netapp, Inc. Methods and apparatus for streaming media multicast
CN103000228A (en) * 2011-09-08 2013-03-27 上海宝信软件股份有限公司 Storage device test method and system
CN105872856A (en) * 2016-03-21 2016-08-17 乐视云计算有限公司 Method and system for distributing stream media files
CN107395456A (en) * 2017-07-18 2017-11-24 郑州云海信息技术有限公司 Distributed file system stream directly deposits method of testing and platform
WO2018059076A1 (en) * 2016-09-27 2018-04-05 华为技术有限公司 Memory recovery method and apparatus
US10200428B1 (en) * 2016-03-30 2019-02-05 Amazon Technologies, Inc. Unicast routing of a media stream to subscribers

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8489065B2 (en) * 2011-05-03 2013-07-16 Robert M Green Mobile device controller application for any security system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001055913A1 (en) * 2000-01-28 2001-08-02 Williams Communications, Llc Method of utilizing a single uniform resource locator for resources with multiple formats
WO2001056266A2 (en) * 2000-01-28 2001-08-02 Ibeam Broadcasting Corporation Method and apparatus for encoder-based distribution of live video and other streaming content
WO2001055912A1 (en) * 2000-01-28 2001-08-02 Ibeam Broadcasting Corporation Method and apparatus for client-side authentication and stream selection in a content distribution system
WO2003058518A2 (en) * 2002-01-07 2003-07-17 Stephen James Crampton Method and apparatus for an avatar user interface system
US7657644B1 (en) * 2002-05-10 2010-02-02 Netapp, Inc. Methods and apparatus for streaming media multicast
CN103000228A (en) * 2011-09-08 2013-03-27 上海宝信软件股份有限公司 Storage device test method and system
CN105872856A (en) * 2016-03-21 2016-08-17 乐视云计算有限公司 Method and system for distributing stream media files
US10200428B1 (en) * 2016-03-30 2019-02-05 Amazon Technologies, Inc. Unicast routing of a media stream to subscribers
WO2018059076A1 (en) * 2016-09-27 2018-04-05 华为技术有限公司 Memory recovery method and apparatus
CN107395456A (en) * 2017-07-18 2017-11-24 郑州云海信息技术有限公司 Distributed file system stream directly deposits method of testing and platform

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Efficient Data Migration to Conserve Energy in Streaming Media Storage Systems;Yunpeng Chai等;《IEEE Transactions on Parallel and Distributed Systems ( Volume: 23, Issue: 11, Nov. 2012)》;20120214;全文 *
一种IPTV***的整体结构设计;付媛媛;《甘肃科技》;20070815(第08期);第3.2节 *
基于P2P网络的视频点播***设计;万川龙等;《计算机技术与发展》;20090610(第06期);全文 *
流媒体网络中数据质量测试与分析;耿红燕;《万方硕士论文数据库》;20101222;全文 *

Also Published As

Publication number Publication date
CN110635969A (en) 2019-12-31

Similar Documents

Publication Publication Date Title
US11019119B2 (en) Web-based live broadcast
US7669206B2 (en) Dynamic redirection of streaming media between computing devices
CN103491179B (en) Multi-screen interaction method and system based on Web
CN105306413B (en) A kind of information issuing method and system, depending on networked server and issue terminal
US20130311581A1 (en) Transmission of command execution messages for providing a shared experience to both internal, at-venue participants, and external, networked participants
JP2017521922A (en) Video remote commentary synchronization method and system, and terminal device
CN102377823A (en) Method and system for realizing interactive sharing among multiple screens and multiple users by sliding screens
CN109299013A (en) A kind of automatic test approach and device
US20150106730A1 (en) Framework for screen content sharing system with generalized screen descriptions
CN111723558A (en) Document display method and device, electronic equipment and storage medium
US20160080274A1 (en) Multi-protocol control in a hybrid broadcast production environment
CN112839238B (en) Screen projection playing method and device and storage medium
CN110635969B (en) High concurrency test method for streaming media direct memory system
CN106209824A (en) The cloud edit methods of data, system and the client of cloud editor
CN103684925A (en) Performance test method based on simulation terminal
CN109862307B (en) Video conference initiating method and device
CN102368721A (en) Performance testing system and method for MS (Media Server) clustered system
JP2014131143A (en) Transmitter, transmitting method and program
CN104506661A (en) Automatic production method for remotely-configured usage scenario-based power consumption
CN105847709A (en) Cloud program directing station and multi-channel video stitching method
CN108337556B (en) Method and device for playing audio-video file
CN108833983A (en) Played data acquisition methods, device, equipment and storage medium
CN102647621B (en) Video synchronous playback device and method
CN105047210B (en) A kind of the striding equipment synchronous method and device of shuffle playlist
CN106575423A (en) System for cloud streaming-based broadcast-associated service, client apparatus for broadcast-associated service, trigger content provision server and method utilizing same

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
TA01 Transfer of patent application right

Effective date of registration: 20220824

Address after: 271000 Langchao science and Technology Park, 527 Dongyue street, Tai'an City, Shandong Province

Applicant after: INSPUR SOFTWARE Co.,Ltd.

Address before: 250100 Ji'nan hi tech Zone No. 2877, Shandong Province

Applicant before: INSPUR GROUP Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant