CN101674492A - Method and device for testing performance of stream media server - Google Patents

Method and device for testing performance of stream media server Download PDF

Info

Publication number
CN101674492A
CN101674492A CN200810141875A CN200810141875A CN101674492A CN 101674492 A CN101674492 A CN 101674492A CN 200810141875 A CN200810141875 A CN 200810141875A CN 200810141875 A CN200810141875 A CN 200810141875A CN 101674492 A CN101674492 A CN 101674492A
Authority
CN
China
Prior art keywords
media server
streaming media
test case
performance
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200810141875A
Other languages
Chinese (zh)
Other versions
CN101674492B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008101418758A priority Critical patent/CN101674492B/en
Publication of CN101674492A publication Critical patent/CN101674492A/en
Application granted granted Critical
Publication of CN101674492B publication Critical patent/CN101674492B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method and a device for testing the performance of a stream media server. The method comprises the following steps of: 1, constructing a test environment and first and second test cases; 2, testing the performance of the stream media server by the first test case to obtain the maximum number of concurrent users of the stream media server under the first test case; 3, testing the performance of the stream media server by the second test case to obtain the maximum number of concurrent users of the stream media server under the second test case; and 4, comparing the numbers obtained at the first step two and the third step, and picking up the smaller number to be the maximum number of concurrent users of the stream media server. The device comprises a media signaling unit, a media data receive unit, a media data analysis unit and a VCR interactive unit. In the method and the device, the packet-sending ability of the stream media server and the magnetic disk I/Oability of the storage subsystem are comprehensively considered, so that the performance indexes of the stream media server are shown more exactly.

Description

A kind of testing performance of stream media server method and device
Technical field
The present invention relates to the testing performance of stream media server field, relate in particular to a kind of testing performance of stream media server method and device.
Background technology
The IPTV business has obtained development fast in recent years, and domestic and overseas operators has all been disposed Commercial deployment in succession, and IPTV is progressively entering into each family.So, the assessment of IPTV system also seems by for important, is the most important thing certainly as the streaming media server that carries the IPTV basic service.
The testing performance of stream media server index mainly contains maximum concurrent flow amount, bandwidth fluctuation, packet loss and average response time etc., and wherein maximum concurrent flow amount is pay close attention to maximum.Maximum concurrent flow amount be meant that streaming media server can support effectively, online maximum user number of normally watching program simultaneously.
The thinking of the maximum concurrent number test of existing streaming media server mainly is, utilize the testing apparatus analog set top to send order request to streaming media server, the passive receiving media stream of testing apparatus, then video flowing is assessed, obtained online maximum user number of normally watching program simultaneously.What in fact influence the maximum concurrent number of streaming media server not only comprises the ability that it is given out a contract for a project, and comprises the magnetic disc i/o ability that its storage subsystem provides.For current most of streaming media servers, the network bandwidth of high speed development has not been the key factor of decision performance, but the I/O ability of its storage subsystem becomes the performance bottleneck of streaming media server gradually.
Therefore, only considering that there is defective in the streaming media server maximum concurrent flow amount of Streaming Media that draws under the ability situation of giving out a contract for a project, the good concurrent ability of reaction stream medium, can there be very big risk in the commercialization configuration that draws thus, needs to propose a kind of new testing performance of stream media server method.
Summary of the invention
Technical problem to be solved by this invention is, a kind of testing performance of stream media server method is provided, and provide a kind of testing performance of stream media server device of realizing described method, the present invention overcomes prior art is only considered its ability of giving out a contract for a project when the testing stream media server performance problem and defective, taken all factors into consideration the give out a contract for a project magnetic disc i/o ability of ability and storage subsystem of streaming media server.
A kind of testing performance of stream media server method said method comprising the steps of:
Step 1: make up the streaming media server test environment according to test request; And on performance testing device, set up first test case and second test case;
Step 2: described performance testing device analog set top carries out performance test with first test case to described streaming media server, according to the criterion of prior regulation, obtains the maximum concurrent user's number of streaming media server under first test case;
Step 3: described performance testing device analog set top carries out performance test with second test case to described streaming media server, according to the criterion of prior regulation, obtains the maximum concurrent user's number of streaming media server under second test case;
Step 4: the maximum concurrent user's number of the streaming media server that more described step 2 and described step 3 obtain, getting wherein, the smaller is the maximum concurrent user's number of described streaming media server.
Described streaming media server test environment is single streaming media server or streaming media server cluster.
Described first test case of setting up on performance testing device comprises:
Steps A: dispose number of users suitable under this test case;
Step B: the usefulness that disposes under this test case is visited same code rate, unequally loaded content file on the described streaming media server in the normal play mode per family;
Described second test case of setting up on performance testing device comprises:
Step a: dispose number of users suitable under this test case;
Step b: a part of user who disposes under this test case visits same code rate, unequally loaded content file on the described streaming media server in the normal play mode; The remainder user visits same code rate, unequally loaded content file on the described streaming media server in the trick play mode.
Described prior specified standard is:
In described performance test, visit described content file with an actual set-top box, if program request is unsuccessful or image is not smooth; Perhaps the program request time-delay that obtains of performance testing device test greater than program request time-delay threshold value or packet loss greater than the packet loss threshold value, then show the streaming media server overload, reduce the number of users in the test case, continue test, up to described streaming media server underloading, the number of users when then this is tested is the maximum concurrent user's number of described streaming media server; Otherwise, show the streaming media server underloading, increase the number of users in the test case, continue test, up to described streaming media server overload, the number of users when once testing before then is the maximum concurrent user's number of described streaming media server.
The described trick play mode of step b comprises a kind of in fast-forward play mode and the fast reverse play mode at least.
A kind of testing performance of stream media server device comprises:
Medium signaling unit: be used for analog set top and carry out the medium Signalling exchange with streaming media server, send the signaling request, the replying of receiving stream media server to streaming media server;
Media data receiving element: be used to receive media data from streaming media server;
Media data analyzing unit: be used for the media data that analyzing medium Data Receiving unit sends, obtain program request time-delay and packet loss;
And VCR (F.F. during video playback, rewind down, time-out, broadcast, shut-down operation) interactive unit: be used to store the VCR sequence of operation that needs carry out with streaming media server and the time interval between each VCR operation; And when carrying out, test sends the VCR operation to streaming media server by described medium signaling unit.
Prior art is compared, and the present invention has taken all factors into consideration the magnetic disc i/o ability of the give out a contract for a project ability and the storage subsystem of streaming media server, performance index that can more real reaction stream media server.
Description of drawings
Fig. 1 is the method for the invention flow chart;
Fig. 2 is the theory diagram of device of the present invention;
Fig. 3 is the mutual schematic diagram of device of the present invention and streaming media server.
Embodiment
The present invention is described in further detail below in conjunction with the drawings and specific embodiments:
Fig. 1 is the method for the invention flow chart, specifically may further comprise the steps:
Step S101: make up the streaming media server test environment according to test request; And on performance testing device, set up first test case and second test case;
Described first test case of setting up comprises: dispose number of users suitable under this test case; And the usefulness that disposes under this test case is visited same code rate, unequally loaded content file on the described streaming media server in the normal play mode per family;
Described second test case of setting up comprises: dispose number of users suitable under this test case; And a part of user who disposes under this test case visits same code rate, unequally loaded content file on the described streaming media server in the normal play mode; The remainder user visits same code rate, unequally loaded content file on the described streaming media server in the trick play mode; Described trick play mode comprises a kind of in fast-forward play mode and the fast reverse play mode at least.
In the present embodiment, the code check of described content file is 1.5Mbps, in described second test case, 90% user adopts the normal play mode, all the other users of 10% adopt 8 times of fast fast-forward play modes, adopting such ratio is for better modelling customer behavior pattern, also has more behavior patterns near actual user's model certainly, illustrates no longer one by one here.
Step S102: described performance testing device analog set top carries out performance test with first test case to described streaming media server, according to the criterion of prior regulation, obtains the maximum concurrent user's number of streaming media server under first test case;
Step S103: described performance testing device analog set top carries out performance test with second test case to described streaming media server, according to the criterion of prior regulation, obtains the maximum concurrent user's number of streaming media server under second test case;
The described prior specified standard of described step S102 and described step S103 is:
In described performance test, visit described content file with an actual set-top box, if program request is unsuccessful or image is not smooth; Perhaps the program request time-delay that obtains of performance testing device test greater than program request time-delay threshold value or packet loss greater than the packet loss threshold value, then show the streaming media server overload, reduce the number of users in the test case, continue test, up to described streaming media server underloading, the number of users when then this is tested is the maximum concurrent user's number of described streaming media server; Otherwise, show the streaming media server underloading, increase the number of users in the test case, continue test, up to described streaming media server overload, the number of users when once testing before then is the maximum concurrent user's number of described streaming media server.In the present embodiment, described program request time-delay threshold value is 2 seconds, and described packet loss threshold value is 0.5%.
Step S104: the maximum concurrent user's number of the streaming media server that more described step S102 and described step S103 obtain, getting wherein, the smaller is the maximum concurrent user's number of described streaming media server.
Fig. 2 is the theory diagram of testing performance of stream media server device of the present invention, and described device comprises: medium signaling unit, media data receiving element, media data analyzing unit and VCR interactive unit, wherein,
Described medium signaling unit is used for analog set top and carries out the medium Signalling exchange with streaming media server, sends the signaling request to streaming media server, the replying of receiving stream media server;
Described media data receiving element is used for after streaming media server is agreed the signaling request of medium signaling unit transmission, from the continuous receiving media data of streaming media server;
Described media data analyzing unit is used for the media data that analyzing medium Data Receiving unit sends, and obtains program request time-delay and packet loss etc.;
Described VCR interactive unit is used to store the VCR sequence of operation that needs carry out with streaming media server and the time interval between each VCR operation, when media data receiving element during at receiving media data, the VCR interactive unit sends VCR operation, the behavior pattern of analog subscriber by the medium signaling unit to streaming media server.
As shown in Figure 3, be the mutual schematic diagram of device of the present invention and streaming media server, the course of work is as follows:
A number of users same number analog set top that disposes in generation of testing performance of stream media server device and the test case, each analog set top is communicated by letter with streaming media server by the network equipment, analog set top carries out Signalling exchange by the medium signaling unit with streaming media server, after streaming media server is agreed the playing request of analog set top, streaming media server is to the media data receiving element media data of analog set top, the media data that media data analyzing unit computational analysis media data receiving element passes over obtains program request time-delay and user's packet loss etc.When analog set top in the receiving media data process, the VCR sequence of operation and VCR operating time that the medium signaling unit is being stored according to the VCR interactive unit send the certain user behavior pattern of VCR operation requests simulation to streaming media server at interval, the request of streaming media server response simulation set-top box, and according to request transmission media data, the media data receiving element receives behind the media data again to the transmission of media data analyzing unit, obtains program request time-delay and user's packet loss by the computational analysis of media data analyzing unit.
Need to prove that if do not store the VCR sequence of operation in the VCR interactive unit, then simulation is passive receiving media data user behavior pattern; If stored the VCR sequence of operation in the VCR interactive unit, then initiatively follow streaming media server mutual according to certain user behavior pattern.
Above embodiment just helps to understand the present invention; under the situation that does not deviate from spirit of the present invention and essence, various corresponding change that those of ordinary skill in the art make according to the present invention and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (6)

1, a kind of testing performance of stream media server method is characterized in that, comprising:
Step 1: make up the streaming media server test environment according to test request; And on performance testing device, set up first test case and second test case;
Step 2: described performance testing device analog set top carries out performance test with first test case to described streaming media server, according to the criterion of prior regulation, obtains the maximum concurrent user's number of streaming media server under first test case;
Step 3: described performance testing device analog set top carries out performance test with second test case to described streaming media server, according to the criterion of prior regulation, obtains the maximum concurrent user's number of streaming media server under second test case;
Step 4: the maximum concurrent user's number of the streaming media server that more described step 2 and described step 3 obtain, getting wherein, the smaller is the maximum concurrent user's number of described streaming media server.
2, testing performance of stream media server method as claimed in claim 1 is characterized in that, described streaming media server test environment is single streaming media server or streaming media server cluster.
3, testing performance of stream media server method as claimed in claim 1 is characterized in that, described first test case of setting up on performance testing device comprises:
Steps A: dispose number of users suitable under this test case;
Step B: the usefulness that disposes under this test case is visited same code rate, unequally loaded content file on the described streaming media server in the normal play mode per family;
Described second test case of setting up on performance testing device comprises:
Step a: dispose number of users suitable under this test case;
Step b: a part of user who disposes under this test case visits same code rate, unequally loaded content file on the described streaming media server in the normal play mode; The remainder user visits same code rate, unequally loaded content file on the described streaming media server in the trick play mode.
4, as claim 1 or 3 described testing performance of stream media server methods, it is characterized in that described prior specified standard is:
In described performance test, visit described content file with an actual set-top box, if program request is unsuccessful or image is not smooth; And the program request that performance testing device test obtains time-delay greater than program request time-delay threshold value or packet loss greater than the packet loss threshold value, then show the streaming media server overload, reduce the number of users in the test case, continue test, up to described streaming media server underloading, the number of users when then this is tested is the maximum concurrent user's number of described streaming media server; Otherwise, show the streaming media server underloading, increase the number of users in the test case, continue test, up to described streaming media server overload, the number of users when once testing before then is the maximum concurrent user's number of described streaming media server.
5, testing performance of stream media server method as claimed in claim 3 is characterized in that, the described trick play mode of step b comprises a kind of in fast-forward play mode and the fast reverse play mode at least.
6, a kind of testing performance of stream media server device is characterized in that, comprising:
Medium signaling unit: be used for analog set top and carry out the medium Signalling exchange with streaming media server, send the signaling request, the replying of receiving stream media server to streaming media server;
Media data receiving element: be used to receive media data from streaming media server;
Media data analyzing unit: be used for the media data that analyzing medium Data Receiving unit sends, obtain program request time-delay and packet loss;
And VCR interactive unit: be used to store the VCR sequence of operation that needs carry out with streaming media server and the time interval between each VCR operation; And when carrying out, test sends the VCR operation to streaming media server by described medium signaling unit.
CN2008101418758A 2008-09-09 2008-09-09 Method and device for testing performance of stream media server Expired - Fee Related CN101674492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101418758A CN101674492B (en) 2008-09-09 2008-09-09 Method and device for testing performance of stream media server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101418758A CN101674492B (en) 2008-09-09 2008-09-09 Method and device for testing performance of stream media server

Publications (2)

Publication Number Publication Date
CN101674492A true CN101674492A (en) 2010-03-17
CN101674492B CN101674492B (en) 2011-09-21

Family

ID=42021438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101418758A Expired - Fee Related CN101674492B (en) 2008-09-09 2008-09-09 Method and device for testing performance of stream media server

Country Status (1)

Country Link
CN (1) CN101674492B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075385A (en) * 2010-12-28 2011-05-25 云海创想信息技术(北京)有限公司 Disk array distributed test method
CN102521119A (en) * 2011-11-15 2012-06-27 浪潮电子信息产业股份有限公司 Method for rapidly detecting cluster parallel efficiency
CN104079445A (en) * 2013-03-29 2014-10-01 英业达科技有限公司 Distributed type pressure testing system and method
CN104093038A (en) * 2014-07-10 2014-10-08 腾讯科技(深圳)有限公司 Testing and monitoring method and device for real-time streaming media recognition service
CN104618192A (en) * 2015-02-12 2015-05-13 网神信息技术(北京)股份有限公司 Testing method and device of audit device of database
CN107734360A (en) * 2017-09-15 2018-02-23 深圳英飞拓科技股份有限公司 The control method and device of streaming media server
CN108141455A (en) * 2015-10-16 2018-06-08 高通股份有限公司 For the time limit signaling of the stream transmission of media data
WO2018119579A1 (en) * 2016-12-26 2018-07-05 深圳中兴力维技术有限公司 Method and device for testing performance of streaming media server
CN110519789A (en) * 2019-08-02 2019-11-29 京信通信系统(中国)有限公司 Method for testing performance, device, computer equipment and storage medium
CN110691233A (en) * 2019-09-03 2020-01-14 中国联合网络通信集团有限公司 Method and device for evaluating concurrency performance of video forwarding server
CN112367540A (en) * 2020-11-13 2021-02-12 广州易方信息科技股份有限公司 Method and device for monitoring live broadcast push stream number on line and computer equipment
CN113271474A (en) * 2021-05-25 2021-08-17 北京飞讯数码科技有限公司 Method, device, equipment and storage medium for testing streaming media server
CN114706667A (en) * 2022-03-24 2022-07-05 慧之安信息技术股份有限公司 Streaming media forwarding method based on heterogeneous computation

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1302640C (en) * 2003-05-12 2007-02-28 华为技术有限公司 Method for testing AAA server characteristics and apparatus thereof
CN100561952C (en) * 2006-11-16 2009-11-18 中兴通讯股份有限公司 A kind of network throughput testing approach based on file transfer protocol (FTP)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075385A (en) * 2010-12-28 2011-05-25 云海创想信息技术(北京)有限公司 Disk array distributed test method
CN102521119A (en) * 2011-11-15 2012-06-27 浪潮电子信息产业股份有限公司 Method for rapidly detecting cluster parallel efficiency
CN104079445A (en) * 2013-03-29 2014-10-01 英业达科技有限公司 Distributed type pressure testing system and method
CN104093038A (en) * 2014-07-10 2014-10-08 腾讯科技(深圳)有限公司 Testing and monitoring method and device for real-time streaming media recognition service
CN104093038B (en) * 2014-07-10 2015-09-16 腾讯科技(深圳)有限公司 For test and method for supervising and the device of real time flow medium identification service
US9667508B2 (en) 2014-07-10 2017-05-30 Tencent Technology (Shenzhen) Company Limited Method and system for testing and monitoring a real-time streaming media recognition service provider
CN104618192A (en) * 2015-02-12 2015-05-13 网神信息技术(北京)股份有限公司 Testing method and device of audit device of database
CN108141455A (en) * 2015-10-16 2018-06-08 高通股份有限公司 For the time limit signaling of the stream transmission of media data
CN108141455B (en) * 2015-10-16 2021-08-20 高通股份有限公司 Deadline signaling for streaming of media data
WO2018119579A1 (en) * 2016-12-26 2018-07-05 深圳中兴力维技术有限公司 Method and device for testing performance of streaming media server
CN107734360A (en) * 2017-09-15 2018-02-23 深圳英飞拓科技股份有限公司 The control method and device of streaming media server
CN107734360B (en) * 2017-09-15 2020-04-21 深圳英飞拓科技股份有限公司 Control method and device of streaming media server
CN110519789A (en) * 2019-08-02 2019-11-29 京信通信系统(中国)有限公司 Method for testing performance, device, computer equipment and storage medium
CN110519789B (en) * 2019-08-02 2023-11-28 京信网络系统股份有限公司 Performance detection method, device, computer equipment and storage medium
CN110691233A (en) * 2019-09-03 2020-01-14 中国联合网络通信集团有限公司 Method and device for evaluating concurrency performance of video forwarding server
CN110691233B (en) * 2019-09-03 2021-03-12 中国联合网络通信集团有限公司 Method and device for evaluating concurrency performance of video forwarding server
CN112367540A (en) * 2020-11-13 2021-02-12 广州易方信息科技股份有限公司 Method and device for monitoring live broadcast push stream number on line and computer equipment
CN113271474A (en) * 2021-05-25 2021-08-17 北京飞讯数码科技有限公司 Method, device, equipment and storage medium for testing streaming media server
CN114706667A (en) * 2022-03-24 2022-07-05 慧之安信息技术股份有限公司 Streaming media forwarding method based on heterogeneous computation

Also Published As

Publication number Publication date
CN101674492B (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN101674492B (en) Method and device for testing performance of stream media server
US10708351B1 (en) System and method for managing media content
US9479562B2 (en) Measuring user quality of experience for a streaming media service
CN102523529B (en) Method for continuously playing videos of multi-terminal equipment and video server
Chen et al. Video browsing-a study of user behavior in online vod services
Krishnappa et al. Optimizing the video transcoding workflow in content delivery networks
CN101080001B (en) Device for realizing balance of media content in network TV system and its method
CN103686237A (en) Method and system for recommending video resource
US20120311618A1 (en) Asynchronous interaction at specific points in content
US10368118B2 (en) System and apparatus for managing video content recordings
CN105354042B (en) Using the processing method and processing device of installation
CN100561955C (en) The parameter collecting method and the system that are used for the quality of service monitoring of IPTV business
CN103974139B (en) Method and device for detecting network faults of terminal and system
CN104581388A (en) Playing state processing method, device and system
CN110324580A (en) A kind of monitor video playback method and device based on view networking
CN106488161A (en) Electronic equipment screen video data obtains system, method and apparatus
Zhang et al. Short video streaming with data wastage awareness
CN101884197A (en) Method and apparatus for controlling quality of service in universal plug and play network
CN102368721A (en) Performance testing system and method for MS (Media Server) clustered system
CN103179440A (en) Value-added business time-shifted television system for 3G users
JP6611271B2 (en) Video quality control apparatus, bit rate selection method, and program
US10049158B1 (en) Analyzing user behavior relative to media content
Bouraqia et al. Solving startup-delay-QoE dilemma for video streaming services in 5G networks
CN101938634A (en) Method and device for bandwidth control of set top boxes in IPTV (Internet Protocol Television) system
EP3017377B1 (en) System and method for delivering content in a content delivery network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110921

Termination date: 20150909

EXPY Termination of patent right or utility model