CN1852180A - Multi-media service system performance testing method - Google Patents

Multi-media service system performance testing method Download PDF

Info

Publication number
CN1852180A
CN1852180A CN 200510120804 CN200510120804A CN1852180A CN 1852180 A CN1852180 A CN 1852180A CN 200510120804 CN200510120804 CN 200510120804 CN 200510120804 A CN200510120804 A CN 200510120804A CN 1852180 A CN1852180 A CN 1852180A
Authority
CN
China
Prior art keywords
media
rtsp
service system
request
media service
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
CN 200510120804
Other languages
Chinese (zh)
Other versions
CN100514919C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101208046A priority Critical patent/CN100514919C/en
Publication of CN1852180A publication Critical patent/CN1852180A/en
Application granted granted Critical
Publication of CN100514919C publication Critical patent/CN100514919C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

In order to make pressure test possible to measure performance and quality of media server for responding requests of clients in overall and precisely, the method executes following procedures: first, setting up RTSP URL list requested by test tools, and number of client end for requesting each URL; next, setting up operation sequence for carrying out RTSP request by test tool; then, based on parameters set up in previous steps, test tool sends out RTSP request; making statistics of RTSP, and relevant data of media transmission in real time, and displaying them on control interface; final, carrying out statistics process for tested result by using test tool so as to form test report. In the invention, parameters can be included in URL character string of RTSP request; redirection function is supported; based on RTP protocol or other media transmission protocol, quality of media data stream can be analyzed.

Description

A kind of multi-media service system performance testing method
Technical field
The present invention relates to the network test technology, more particularly, relate to a kind of multi-media service system performance testing method.
Background technology
For ease of the understanding to this patent, first brief introduction is involved host-host protocol in this patent once.
1, RTSP (Real Time Streaming Protocol, real-time stream media protocol), it is a kind of network transmission protocol, is used to transmit the information data with real-time property, generally is applied to the session control of media-on-demand etc.
2, RTP (Real-time Transport Protocol, RTP), it is used for real time datas such as transmitting multimedia data.In the datagram of this agreement, comprise the information of datagram, as sequence number, timestamp etc., be used for the statistics transmission quality.
3, RTCP (RTP Control Protocl, RTP Control Protocol), it is used to transmit the information of Real-time Transport Protocol transmission data, is used to add up the quality of RTP transfer of data.
On architecture, RTP/RTCP is used for concrete media data transmission, and RTSP is a session control protocol, is used to control the media data transmission.At present, the existing part of industry is towards the pressure test instrument of Streaming Media, and these testing tools generally are the instruments according to the RTSP design of protocol, use the RTSP agreement to carry out session control, and uses the RTP/RTCP agreement to carry out the media data transmission.These testing tools can be used for simulant-client media service system is carried out some simple tests.But, in these testing tools, do not allow to be provided with the request URL (abbreviation of Uniform Resource Locator of parameter, it is the method for expressing that is used to specify the information position on the service routine of Internet) character string, promptly do not support as rtsp: // 192.168.10.10/path/filename.mp4? param1=parval1﹠amp; The form that param2=parval2 is such.Comprised such as information such as parameters for authentication in the incidental parameter of this request URL character string, be real user when asking media server must have.But existing testing tool only supports not have the request URL character string of parameter, and so, many functions that need parameter normally to move can't be tested.
Simultaneously, in real world applications, provide the system of multimedia service to be generally distributed system; After the user asked media service system, the information that the request scheduling parts of system will provide according to client as IP address etc., was dispatched to media server nearest on the topological structure with the user and provides service for the user; So say to a certain extent, the performance of request scheduling parts becomes the critical component that influences the whole system performance; To the pressure test of these request scheduling parts, require testing tool to support redirection function, but existing testing tool is not supported redirection function.
On the other hand, the simple operations that existing testing tool can only analog subscriber, as begin broadcast, time-out, broadcast etc.But in the application of reality, user's operation also comprises location, F.F., rewind down etc.If the user's that testing tool can simulate operation can not be set neatly, the pressure influence of can't the simulates real real user operation of media server being brought.
In addition, current testing tool is general only to send request to media server, adds up its response speed and flow then.This tittle sign the ability of a media server processes client requests.Yet these testing tools are not analyzed the media data that is obtained, and can't obtain the statistics of media data transmission quality under a large number of users.
Summary of the invention
At the above-mentioned defective of prior art, the technical problem to be solved in the present invention is how to make the pressure test of carrying out at media service system can weigh the performance and the quality of the request of media service system customer in response more comprehensively, more accurately.
For solving the problems of the technologies described above, technical scheme of the present invention is: a kind of multi-media service system performance testing method is provided, comprising following steps:
(S1) the RTSP url list of testing tool request is set, and the simulant-client number of every request URL character string in should tabulation;
(S2) testing tool is set and carries out RTSP requested operation sequence;
(S3) testing tool sends RTSP according to the parameter that is provided with in described step (S1) and (S2) in and asks, the related data of real-time statistics RTSP and media delivery, and be shown in and control on the interface.
Among the present invention, further comprising the steps of: (S4) testing tool carries out statistical disposition to test result, forms test report.
In the step (S1) of the method for the invention, in the RTSP request URL character string of test, allow to include parameter; Request wherein also allows once to test a plurality of media files or direct broadcast band.
In the step (S2) of the method for the invention, the described sequence of operation is preferably formed the operating process when watching multimedia programming with the simulates real real user by multiple RTSP request.
In the step (S2) of the method for the invention, can after every RTSP request, be provided with the time of an analog subscriber thinking, this time can be a fixed value or the random value of a limited range.
In the step (S3) of the method for the invention, described testing tool can be by receiving response or the RTSP redirect instruction from media server, request is redirected to another media service system of media service system appointment, to carry out the media session operation.
In the step (S3) of the method for the invention, described testing tool can be analyzed the quality of media data flow based on media transmission protocol after obtaining media data.Comprise shake, packet loss, out of order etc. statistical analysis.
In method of the present invention, can adopt media delivery mode or RTSP interleave media delivery mode or other media transmission protocols based on UDP (abbreviation of User Datagram Protocol, i.e. User Datagram Protoco (UDP)).
By such scheme as can be known, the invention provides a kind of more flexible comprehensive method of testing, make testing tool more press close to the operation of real user, and the feasible pressure test of carrying out at media server can be weighed the performance and the quality of the request of media server customer in response more comprehensively, more accurately.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the schematic diagram that concerns between testing tool among the present invention and the media service system.
Embodiment
By aforementioned content as can be known, the present invention is to provide a kind of multi-media service system performance testing method, be mainly used in to media service system and send a large amount of RTSP requests, the simulation a large number of users uses the pressure test of media service system.To introduce its concrete steps in detail below.Testing tool among the present invention and the relation between the media service system as can be seen from the figure, comprise media server and request scheduling parts as shown in Figure 1 in the media service system; Testing tool can send the RTSP request to the request scheduling parts, the request scheduling parts are according to the information of client, testing tool is dispatched on the media server, and testing tool receives the RTSP response that the request scheduling parts are returned, and obtains the schedule information of request scheduling parts; On the other hand, testing tool can send the RTSP request to media server according to the schedule information that the request scheduling parts return, and accepts the media data of media server passback.Testing tool among the present invention is equivalent to the client under the actual user mode.
1, the RTSP url list of testing tool request is set, and the simulant-client number that is somebody's turn to do every request URL character string in the tabulation.
Wherein, the request URL character string has defined the path of the media program in the client-requested media server of a testing tool simulation.And in the whole process of client terminal playing multimedia file, need often carry out operations such as F.F., rewind down, time-out, these operations all are by finishing alternately between client and the media server, and these RTSP that just comprise that alternately user end to server is initiated ask and the RTSP of media server response responds.By a plurality of request URL character strings, can form a series of media path tabulations that supply the client-requested of testing tool simulation, just form the RTSP url list.
Why the simulant-client number of every request URL character string is set, be because every request URL character string here all represent can be by a program of client-requested in media server.In the multimedia system of reality was used, different users liked different programs, so need set the simulant-client number of request in different request URL character string back.When test result analysis, at server rather than at content, so, can analyze for different programs as long as the response parameter of Analysis server is just passable.
In this step, allow in the RTSP request URL character string of test, to comprise parameter.Comprise such as information such as parameters for authentication in its parameter, be real user when asking media server must have.As rtsp: // 192.168.1.1/path/filename.mp4? param1=paramval1﹠amp; Param1=paramval1﹠amp among the param2=paramval2; Param2=paramval2; And allow once to test a plurality of media files or direct broadcast band.For testing tool, do not need to pay close attention to whether have parameter in the request URL character string, only need in the request URL character string, obtain the IP address of media server or machine name, the port numbers of request, media data transmission manner (TCP or UDP) is just passable.Then, testing tool uses the above-mentioned connection parameter that obtains from the request URL character string to ask media server, and sends the RTSP request in the ASCII character mode, and parsing RTSP is receiveed the response and got final product.The feasibility that has parameter in the request URL character string has been described here, if promptly added the parameter of RTSP request in URL, the 3rd step of back then illustrates how to send the RTSP request.
2, testing tool is set and carries out RTSP requested operation sequence.
In this step, the sequence of operation of being made up of a plurality of RTSP requests can be set, the operating process when watching multimedia programming in testing tool with the simulates real real user.And after every operation, being set the time of an analog subscriber thinking, this time can be got the random number acquisition in the time range by a setting, also can be set to fixed value.When the solicit operation sequence of design test instrument, at first design a structure and describe the operation that the user carries out, the time of operating incidental parameter and analog subscriber thinking, the multiple of for example F.F., F.F. and think time, position of for example locating again, locating and think time etc.The structure of describing these operations is formed a chained list or other can describe the RTSP solicit operation sequence that testing tool will be carried out at test process as the data structure of describing a sequence.Testing tool is in the process of carrying out pressure test, and with the node content that reads successively in the chained list, operation and the think time described according to node content send the RTSP solicit operation to media service system.
3, testing tool sends the RTSP request according to set parameter in aforementioned two steps, the related data of real-time statistics RTSP and media delivery, and be presented in real time on the control interface.
Here parameter comprises the IP address of media server or machine name, the port numbers of request, media data transmission means (TCP or UDP), in this step, testing tool can be by the receiving media server 3XX (these codings are by the RFC2326 definition of definition RTSP, be generally 302) number response or RTSPRedirect (being redirected) instruction, request is redirected to another media service system of media service system appointment, to carry out the media session operation.This function is to realize by the RTSP response data information that the analyzing medium server returns.When testing tool uses DESCRIBE (description) method to ask the access request scheduler, the information that the request scheduling parts will provide according to testing tool, as IP address etc., provide media services with the request scheduling of a testing tool closer media server to the topological structure.At this moment, medium request scheduling parts will be changed to 3XX with code in returning to the RTSP request-reply message of testing tool, as 302, and, in this message, comprise the request URL character string of the purpose media server of notice testing tool next step request.
Testing tool is analyzed message after receiving that RTSP is receiveed the response, if redirect message, will be according to target URL request media server listed in the message.
In addition, in this step, after being supported in testing tool and receiving media data, the quality of media data flow is analyzed based on media transmission protocol.Comprise shake, packet loss, out of order etc. statistical analysis.And support based on the RTP media delivery mode of UDP and media delivery mode and other media stream protocols of RTSP interleave.
Testing tool determines that according to the parameter that RTSP is provided with media data transmits in which way, for example for Transport:RTP/AVP/TCP; Unicast; Mode=" PLAY "; Interleaved=2-3, then testing tool will from and media server between obtain media data the tcp data stream that transmits.
Because the general media data all are packaged into specific media data packet and transmit, so can by these media data packet are carried out based on the analysis of the transmission parameter that media transmission protocol provided with obtain media data the media server data send and network transmission process in objective parameter, as shake, packet loss, out of order etc.By these parameters, can measure the quality that the media data business is transmitted in current network conditions.
4, behind the EOT, after testing tool carries out statistical disposition with test result, form test report.
As seen, the invention provides a kind of more flexible comprehensive method of testing, make testing tool more press close to the operation of real user, use this method of testing, performance that can test media service system integral body is used the entire system performance of multioperation request Polymera etc. with the performance of the performance of authentication and accounting system synergistic working, medium request scheduling system works, real simulation multi-user as media server.Thereby the feasible pressure test of carrying out at media server can be weighed the performance and the quality of the request of media server customer in response more comprehensively, more accurately.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1, a kind of multi-media service system performance testing method is characterized in that, may further comprise the steps:
(S1) the RTSP url list of testing tool request is set, and the simulant-client number of every request URL character string in should tabulation;
(S2) testing tool is set and carries out RTSP requested operation sequence;
(S3) testing tool sends RTSP according to the parameter that is provided with in described step (S1) and (S2) in and asks, the related data of real-time statistics RTSP and media delivery, and be shown in and control on the interface.
2, multi-media service system performance testing method according to claim 1 is characterized in that, wherein also comprises:
(S4) testing tool carries out statistical disposition to test result, forms test report.
3, multi-media service system performance testing method according to claim 1 and 2 is characterized in that, in the described step (S1), allows to include parameter in the RTSP request URL character string of test.
4, multi-media service system performance testing method according to claim 1 and 2 is characterized in that, in the described step (S2), the described sequence of operation is made up of multiple RTSP request.
5, multi-media service system performance testing method according to claim 4, it is characterized in that, in the described step (S2), after every RTSP request, be provided with the time of an analog subscriber thinking, this time is a fixed value or the random value of a limited range.
6, multi-media service system performance testing method according to claim 1 and 2, it is characterized in that, in the described step (S3), described testing tool is by receiving response or the RTSP reorientation method from media server, request is redirected to another media service system of media service system appointment, to carry out the media session operation.
7, multi-media service system performance testing method according to claim 1 and 2 is characterized in that, in the described step (S3), described testing tool is analyzed the quality of media data flow based on media transmission protocol after obtaining media data.
8, multi-media service system performance testing method according to claim 7 is characterized in that, described quality analysis to media data flow comprises shake, packet loss, out of order statistical analysis.
9, multi-media service system performance testing method according to claim 1 and 2 is characterized in that, wherein can adopt based on media delivery mode or the RTSP interleave media delivery mode of UDP and come transmission of media data.
CNB2005101208046A 2005-12-12 2005-12-12 Multi-media service system performance testing method Expired - Fee Related CN100514919C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101208046A CN100514919C (en) 2005-12-12 2005-12-12 Multi-media service system performance testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101208046A CN100514919C (en) 2005-12-12 2005-12-12 Multi-media service system performance testing method

Publications (2)

Publication Number Publication Date
CN1852180A true CN1852180A (en) 2006-10-25
CN100514919C CN100514919C (en) 2009-07-15

Family

ID=37133650

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101208046A Expired - Fee Related CN100514919C (en) 2005-12-12 2005-12-12 Multi-media service system performance testing method

Country Status (1)

Country Link
CN (1) CN100514919C (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207506B (en) * 2006-12-18 2010-05-19 中兴通讯股份有限公司 Wireless flow media key parameter statistics and method for improving transmission thereof
CN101848116A (en) * 2010-04-21 2010-09-29 中国海洋大学 Simple and quick automatic pressure test method of Web server
CN101286904B (en) * 2008-06-16 2011-01-19 中兴通讯股份有限公司 Testing device and method for concurrent load of flow media server
CN101656640B (en) * 2009-09-16 2011-12-07 中兴通讯股份有限公司 Method and equipment for determining testing data
CN101150763B (en) * 2007-10-18 2012-06-06 中兴通讯股份有限公司 A terminal and method for testing real time service transmission performance of WiMAX network
CN102624586A (en) * 2012-03-23 2012-08-01 武汉恒亿电子科技发展有限公司 Method and device for testing multimedia management system
CN103259691A (en) * 2012-02-17 2013-08-21 中国移动通信集团浙江有限公司 Method and device of testing of transmission quality of webpage video file
CN103731229A (en) * 2013-12-18 2014-04-16 广州启辰电子科技有限公司 Method for shielding wireless signal
CN106470133A (en) * 2015-08-20 2017-03-01 阿里巴巴集团控股有限公司 System pressure method of testing and device
CN106575248A (en) * 2014-05-18 2017-04-19 周凯 Performance testing system and method
CN107454384A (en) * 2017-07-27 2017-12-08 网宿科技股份有限公司 A kind of live performance test methods and device
CN108512715A (en) * 2017-02-28 2018-09-07 菜鸟智能物流控股有限公司 Load pressure test method of service link and related device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207506B (en) * 2006-12-18 2010-05-19 中兴通讯股份有限公司 Wireless flow media key parameter statistics and method for improving transmission thereof
CN101150763B (en) * 2007-10-18 2012-06-06 中兴通讯股份有限公司 A terminal and method for testing real time service transmission performance of WiMAX network
CN101286904B (en) * 2008-06-16 2011-01-19 中兴通讯股份有限公司 Testing device and method for concurrent load of flow media server
CN101656640B (en) * 2009-09-16 2011-12-07 中兴通讯股份有限公司 Method and equipment for determining testing data
CN101848116A (en) * 2010-04-21 2010-09-29 中国海洋大学 Simple and quick automatic pressure test method of Web server
CN103259691A (en) * 2012-02-17 2013-08-21 中国移动通信集团浙江有限公司 Method and device of testing of transmission quality of webpage video file
CN102624586A (en) * 2012-03-23 2012-08-01 武汉恒亿电子科技发展有限公司 Method and device for testing multimedia management system
CN103731229A (en) * 2013-12-18 2014-04-16 广州启辰电子科技有限公司 Method for shielding wireless signal
CN106575248A (en) * 2014-05-18 2017-04-19 周凯 Performance testing system and method
CN106470133A (en) * 2015-08-20 2017-03-01 阿里巴巴集团控股有限公司 System pressure method of testing and device
CN108512715A (en) * 2017-02-28 2018-09-07 菜鸟智能物流控股有限公司 Load pressure test method of service link and related device
CN108512715B (en) * 2017-02-28 2021-11-02 菜鸟智能物流控股有限公司 Load pressure test method of service link and related device
CN107454384A (en) * 2017-07-27 2017-12-08 网宿科技股份有限公司 A kind of live performance test methods and device

Also Published As

Publication number Publication date
CN100514919C (en) 2009-07-15

Similar Documents

Publication Publication Date Title
CN100514919C (en) Multi-media service system performance testing method
US8396962B2 (en) Game grammar-based packet capture and analysis apparatus and method for conducting game test
US7647418B2 (en) Real-time streaming media measurement system and method
JP5542872B2 (en) Managing media container files
US20080198742A1 (en) Method and system for testing stateful network communications devices
JP2009512280A (en) RTP egress streaming apparatus and method using complementary instruction file
CN110557689B (en) Video playing method and device
CN101079868A (en) TV advertisement network download method
Zarifis et al. Modeling HTTP/2 speed from HTTP/1 traces
CN102130797B (en) Network testing method and device
CN102868938B (en) A kind of method and apparatus for being used to obtain segmented video files in network
CN102223262B (en) Evaluation platform and method of quality of experience of video based on QoS
CN112653921B (en) Application program network behavior data analysis method, computer device and storage medium
EP2384564A1 (en) Method and devices for service rating
CN101322098A (en) Grid computing system for testing application program capacity of server
CN111294257B (en) Method, device and system for automatic pressure test of application server
US20110026410A1 (en) System and Method for Comparing Packet Traces for Failed and Successful Communications
US11785107B2 (en) Measurement of internet media consumption
CN107104997A (en) A kind of reorientation method, terminal and system
CN1728657A (en) Load simulator and simulation system for stream media service
CN106412661B (en) Method and system for collecting network video playing information of smart television
CN105335470B (en) User login information shows method and apparatus
Lee et al. Performance evaluation technique of the RTSP based streaming server
CN103780701B (en) Browser monitoring method and device
CN107623847A (en) The video quality evaluation method and device of a kind of video traffic

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090715

Termination date: 20121212