CN105024883A - Method and system for testing OTT (Over the Top) server connection performance - Google Patents

Method and system for testing OTT (Over the Top) server connection performance Download PDF

Info

Publication number
CN105024883A
CN105024883A CN201510449468.3A CN201510449468A CN105024883A CN 105024883 A CN105024883 A CN 105024883A CN 201510449468 A CN201510449468 A CN 201510449468A CN 105024883 A CN105024883 A CN 105024883A
Authority
CN
China
Prior art keywords
ott server
ott
test
notification message
testing
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
CN201510449468.3A
Other languages
Chinese (zh)
Other versions
CN105024883B (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.)
Shenyang Tongfang Multimedia Technology Co Ltd
Original Assignee
Shenyang Tongfang Multimedia 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 Shenyang Tongfang Multimedia Technology Co Ltd filed Critical Shenyang Tongfang Multimedia Technology Co Ltd
Priority to CN201510449468.3A priority Critical patent/CN105024883B/en
Publication of CN105024883A publication Critical patent/CN105024883A/en
Application granted granted Critical
Publication of CN105024883B publication Critical patent/CN105024883B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method and system for testing the OTT (Over the Top) server connection performance. The method for testing the OTT server connection performance comprises the following steps that: a testing system sends a media data request to an OTT server; the testing system receives a notification message carrying a session message sent by the OTT server, and obtains a testing result of the OTT server connection performance by means of judgment on the notification message; and after completion of testing of all OTT servers to be tested, the testing system displays testing result information. The system for testing the OTT server connection performance comprises a media data request unit, a notification message receiving unit, a control unit and a display unit. Through adoption of the method and system for testing the OTT server connection performance, the connection performance of the OTT servers can be tested in batches; the testing efficiency is high; the testing difficulty is lowered; and the time and testing result are visual.

Description

A kind of method of testing of OTT server connectivity energy and system
Technical field
The present invention relates to communication technical field, specifically provide method of testing and the system of a kind of OTT server connectivity energy.
Background technology
OTT(Over The Top, on Internet upper strata) refer to the service relying on Internet to provide business, namely user obtains service by broadband access network.At present, OTT order program service has become the main body of network traffics.
Along with the growth of OTT order program service quantity, prior art reduces by traffic grooming the pressure that flow produces bearer network.Current OTT application is main based on the form of the big data quantity services such as audio frequency and video, cause the Internet resources required when OTT application connects comparatively greatly and the testing time longer.
Therefore, how existing technology is improved, to realize the display directly perceived to OTT server test result, reduce difficulty of test and time simultaneously, improve testing efficiency and become people's problem demanding prompt solution.
Summary of the invention
Given this, the object of the present invention is to provide method of testing and the system of a kind of OTT server connectivity energy, at least to solve the switching performance that cannot realize batch testing OTT server, and testing efficiency is low, the problems such as difficulty of test is large and the testing time is long, and test result is not directly perceived.
For solving the problem, the technical scheme that the present invention adopts is: the method for testing providing a kind of OTT server connectivity energy, for testing multiple OTT server, wherein, described method of testing comprises the steps:
Test macro sends media data request to described OTT server;
Test macro receives the notification message carrying session information that described OTT server sends, and by obtaining the test result of described OTT server connectivity energy to the judgement of described notification message;
After completing the test to all OTT servers to be measured, test macro shows described test result information.
Wherein, described test macro also comprised the steps: before described OTT server sends media data request step
Detect described test macro and whether be in test mode, when described test macro is in test mode, test macro sends media data request to OTT server.
Wherein, the step that described test macro sends media data request to described OTT server specifically comprises the steps:
Read OTT server list to be measured;
By list, connection request is initiated to OTT server to be measured;
Upgrade the state of OTT server in described OTT server list to be measured having sent request, send media data request until complete to all OTT servers to be measured.
Wherein, described test macro receives the notification message carrying session information that described OTT server sends, and is specifically comprised the steps: by the step of the test result judgement of described notification message being obtained to described OTT server connectivity energy
Test macro receives the notification message carrying session information that described OTT server sends;
Judge that whether the connect hours of described test macro and described OTT server is overtime;
Judge that described OTT server passes the correctness of notification message back;
The test result of corresponding OTT server is upgraded, until complete the renewal of the test result to all OTT servers according to result of determination.
Wherein, upgrade the test result of corresponding OTT server according to result of determination, until complete, the step of updating of the test result of all OTT servers is specifically comprised the steps:
Upgrading the test result of corresponding OTT server according to result of determination, upgrading the test mode mark whether completing test for identifying described OTT server simultaneously;
The test mode mark of the OTT server to be measured whether detection is all upgrades all, when the test mode of all OTT servers to be measured upgrades all, namely completes the renewal of the test result to all OTT servers.
Another technical solution used in the present invention is: the test macro providing a kind of OTT server connectivity energy, and be connected with at least one OTT server, for testing the switching performance of described OTT server, wherein, described test macro comprises:
Media data request unit, for sending media data request information to described OTT server;
Notification message receiving element, for receiving the notification message that described OTT server feedback is returned, wherein, described notification message carries the session information corresponding with the media data request information that described OTT server receives;
Control unit, for receiving the notification message that described notification message receiving element sends, and by obtaining the test result to described OTT server connectivity energy to the judgement of described notification message;
Display unit, for showing the test result information of described control unit.
Wherein, the test macro of described OTT server connectivity energy also comprises state detection unit 5, whether test mode is in for detecting described switching performance test macro, when described test macro is in test mode, described media data request unit sends media data request information to described OTT server.
Wherein, described media data request unit comprises:
OTT server list memory cell to be measured, for storing OTT server list to be measured, wherein, comprises the flag representing each OTT server to be measured and whether tested in described list;
Media data request master unit, connection request is initiated to each OTT server to be measured according to the list information stored in described OTT server list memory cell to be measured, and often send request to an OTT server, upgrade the flag of corresponding OTT server in described OTT server list memory cell to be measured immediately.
Wherein, described control unit comprises:
Connect hours identifying unit, whether overtime for judging the connect hours of described test macro and described OTT server, wherein, if the connect hours exceedes the preset value of system, judge the connect hours time-out of described test macro and described OTT server;
Notification message correctness identifying unit, for judging that described OTT server passes the correctness of notification message back, wherein, the content of judgement comprises the judgement of the correctness to message format and message data.
Processing unit, draws the test result of described OTT server according to the result of determination of described connect hours identifying unit and notification message correctness identifying unit.
Wherein, described control unit also comprises test mode identifying unit, for determining whether that the test mode mark of all OTT servers upgrades all, if, described display unit shows described test result information, wherein, whether described test mode mark and OTT server one_to_one corresponding, complete test for identifying described OTT server.
The method of testing of OTT server connectivity energy provided by the invention and system, by sending media data request information to OTT server to be measured, the notification message carrying conversation message will be sent to this test macro after OTT server receives described request information, after test macro receives described notification message, described notification message is judged, and the test result of described OTT server connectivity energy is obtained according to result of determination, show described test result information eventually through display unit.
The method of testing of OTT server connectivity energy provided by the invention and system, by embedding this test macro in OTT device, apply this method of testing simultaneously, can the switching performance of batch testing OTT server, and testing efficiency is high, reduce difficulty of test and time, test result intuitively shows.
Accompanying drawing explanation
Below in conjunction with drawings and the embodiments, the present invention is further detailed explanation:
Fig. 1 is the flow chart of the method for testing of OTT server connectivity energy;
Fig. 2 is that test macro sends the flow chart of media data request to OTT server;
Fig. 3 is that test macro receives and judges the flow chart of notification message;
Fig. 4 is the structure chart of the test macro of OTT server connectivity energy;
Fig. 5 is the structure chart of media data request unit;
Fig. 6 is the structural representation of control unit.
Embodiment
Below in conjunction with specific embodiment, the present invention is further explained, but does not limit to the present invention.
As shown in Figure 1, the invention provides the method for testing of a kind of OTT server connectivity energy, for testing multiple OTT server, wherein, described method of testing comprises the steps:
S101: test macro sends media data request to described OTT server;
S201: test macro receives the notification message carrying session information that described OTT server sends, and by obtaining the test result of described OTT server connectivity energy to the judgement of described notification message;
S301: after completing the test to all OTT servers to be measured, test macro shows described test result information.
This method of testing is by sending media data request information to OTT server to be measured, the notification message carrying conversation message will be sent to this test macro after OTT server receives described request information, after test macro receives described notification message, described notification message is judged, and the test result of described OTT server connectivity energy is obtained according to result of determination, show described test result information eventually through display unit.
Wherein, in order to improve the operability of described method of testing, as the improvement of technical scheme, described test macro also comprised the steps: before OTT server sends media data request step
Detect described test macro and whether be in test mode, wherein, when described test macro is in test mode, test macro sends media data request to OTT server, and wherein, the change of test mode can manual operation.
Wherein, as shown in Figure 2, the step that described test macro sends media data request to described OTT server specifically comprises the steps:
S111: read OTT server list to be measured;
S112: connection request is initiated to OTT server to be measured by list;
S113: upgrade the state of OTT server in described OTT server list to be measured having sent request, send media data request until complete to all OTT servers to be measured.
As shown in Figure 2, initiate connection request to each OTT server to be measured to send successively, after often initiating connection request to an OTT server, upgrade the state of this OTT server in OTT server list to be measured simultaneously, namely this state shows whether initiate connection request to this OTT server, in addition, after often upgrading the state of corresponding OTT server in OTT server list to be measured, all once judge, judge whether all to send solicited message to all OTT servers to be measured, if so, terminate to send media data request; If not then repeated execution of steps S111 ~ S113, sends media data request until complete to all OTT servers to be measured.
Wherein, as shown in Figure 3, described test macro receives the notification message carrying session information that described OTT server sends, and is specifically comprised the steps: by the step of the test result judgement of described notification message being obtained to described OTT server connectivity energy
S211: test macro receives the notification message carrying session information that described OTT server sends;
S212: judge that whether the connect hours of described test macro and described OTT server is overtime;
S213: judge that described OTT server passes the correctness of notification message back;
S214: the test result upgrading corresponding OTT server according to result of determination, until the renewal completing the test result to all OTT servers.
As shown in Figure 3, the judgement of the notification message that each OTT server sends is carried out successively, often complete the judgement to an OTT server, just upgrade the test result of this OTT server, judged whether the judgement to all OTT servers simultaneously, if do not completed, then repeat step S211 ~ S214, until complete the judgement to all OTT servers, wherein, to described OTT server pass back notification message judge specifically comprise: determine the message whether notification message sends as described OTT server, determine described notification message format and data whether correct etc.
Wherein, upgrade the test result of corresponding OTT server according to result of determination, until the step completing the renewal of the test result to all OTT servers specifically comprises the steps:
Upgrading the test result of corresponding OTT server according to result of determination, upgrading the test mode mark whether completing test for identifying described OTT server simultaneously;
The test mode mark of the OTT server to be measured whether detection is all upgrades all, when the test mode mark of all OTT servers to be measured upgrades all, namely completes the test to all OTT servers.
Another technical solution used in the present invention is: the test macro providing a kind of OTT server connectivity energy, and be connected with at least one OTT server, for testing the switching performance of described OTT server, wherein, as shown in Figure 4, described test macro comprises:
Media data request unit 1, for sending media data request information to described OTT server;
Notification message receiving element 2, for receiving the notification message that described OTT server feedback is returned, wherein, described notification message carries the session information corresponding with the media data request information that described OTT server receives;
Control unit 3, for receiving the notification message that described notification message receiving element 2 sends, and by obtaining the test result to described OTT server connectivity energy to the judgement of described notification message;
Display unit 4, for showing the test result information of described control unit 3.
The test macro of this OTT server connectivity energy, media data request information is sent to OTT server to be measured by not carrying request of data unit, after OTT server receives described request information, the notification message receiving element to this test macro is sent the notification message carrying conversation message, after notification message receiving element receives described notification message, identifying unit judges described notification message, and the test result of described OTT server connectivity energy is obtained according to result of determination, show described test result information eventually through display unit.
Wherein, can action row in order to what improve described test macro, as the improvement of technical scheme, the test macro of described OTT server connectivity energy also comprises state detection unit 5(as shown in Figure 4), whether be in test mode for detecting described switching performance test macro, when described test macro is in test mode, described media data request unit 1 sends media data request information to described OTT server, wherein, the change of test mode can manual operation.
Wherein, as shown in Figure 5, described media data request unit 1 comprises:
OTT server list memory cell 11 to be measured, for storing OTT server list to be measured, wherein, comprises the flag representing each OTT server to be measured and whether tested in described list;
Media data request master unit 12, connection request is initiated to each OTT server to be measured according to the list information stored in described OTT server list memory cell 11 to be measured, and often send request to an OTT server, upgrade the flag of corresponding OTT server in described OTT server list memory cell 11 to be measured immediately.
Wherein, described media data request master unit also completes the monitoring to the flag corresponding with each OTT server to be measured, when detecting that the flag of all OTT servers upgrades all, then terminate to initiate connection request to OTT server to be measured, otherwise, continuation is initiated connection request according to the list information stored in described OTT server list memory cell to be measured to OTT server to be measured.
Wherein, as shown in Figure 6, described control unit 3 comprises:
Connect hours identifying unit 31, whether overtime for judging the connect hours of described test macro and described OTT server, wherein, if the connect hours exceedes the preset value of system, judge the connect hours time-out of described test macro and described OTT server;
Notification message correctness identifying unit 32, for judging that described OTT server passes the correctness of notification message back, wherein, the content of judgement comprises the judgement of the correctness to message format and message data.
Processing unit 33, draws the test result of described OTT server according to the result of determination of described connect hours identifying unit 31 and notification message correctness identifying unit 32.
Wherein, as shown in Figure 6, described control unit 3 also comprises test mode identifying unit 34, for determining whether that the test mode mark of all OTT servers upgrades all, if so, described display unit 4 shows described test result information, wherein, whether described test mode mark and OTT server one_to_one corresponding, complete test for identifying described OTT server.
The specific embodiment of the present invention carries out writing according to the mode of going forward one by one, and highlight the difference of each embodiment, its similar portion can cross-reference.
By reference to the accompanying drawings embodiments of the present invention are elaborated above, but the present invention is not limited to above-mentioned execution mode, in the ken that those of ordinary skill in the art possess, various change can also be made under the prerequisite not departing from present inventive concept.

Claims (10)

1. a method of testing for OTT server connectivity energy, for testing multiple OTT server, is characterized in that, comprise the steps:
Test macro sends media data request to described OTT server;
Test macro receives the notification message carrying session information that described OTT server sends, and by obtaining the test result of described OTT server connectivity energy to the judgement of described notification message;
After completing the test to all OTT servers to be measured, test macro shows described test result information.
2., according to the method for testing of OTT server connectivity energy described in claim 1, it is characterized in that, described test macro also comprised the steps: before described OTT server sends media data request step
Detect described test macro and whether be in test mode, when described test macro is in test mode, test macro sends media data request to OTT server.
3., according to the method for testing of OTT server connectivity energy described in claim 1, it is characterized in that: the step that described test macro sends media data request to described OTT server specifically comprises the steps:
Read OTT server list to be measured;
By list, connection request is initiated to OTT server to be measured;
Upgrade the state of OTT server in described OTT server list to be measured having sent request, send media data request until complete to all OTT servers to be measured.
4. according to the method for testing of OTT server connectivity energy described in claim 1, it is characterized in that: described test macro receives the notification message carrying session information that described OTT server sends, and specifically comprised the steps: by the step of the test result judgement of described notification message being obtained to described OTT server connectivity energy
Test macro receives the notification message carrying session information that described OTT server sends;
Judge that whether the connect hours of described test macro and described OTT server is overtime;
Judge that described OTT server passes the correctness of notification message back;
The test result of corresponding OTT server is upgraded, until complete the renewal of the test result to all OTT servers according to result of determination.
5. according to the method for testing of OTT server connectivity energy described in claim 4, it is characterized in that: the test result upgrading corresponding OTT server according to result of determination, until the step completing the renewal of the test result to all OTT servers specifically comprises the steps:
Upgrading the test result of corresponding OTT server according to result of determination, upgrading the test mode mark whether completing test for identifying described OTT server simultaneously;
The test mode mark of the OTT server to be measured whether detection is all upgrades all, when the test mode mark of all OTT servers to be measured upgrades all, namely completes the renewal of the test result to all OTT servers.
6. a test macro for OTT server connectivity energy, is connected with at least one OTT server, for testing the switching performance of described OTT server, it is characterized in that, comprise:
Media data request unit (1), for sending media data request information to described OTT server;
Notification message receiving element (2), for receiving the notification message that described OTT server feedback is returned, wherein, described notification message carries the session information corresponding with the media data request information that described OTT server receives;
Control unit (3), for receiving the notification message that described notification message receiving element (2) is sent, and by obtaining the test result to described OTT server connectivity energy to the judgement of described notification message;
Display unit (4), for showing the test result information of described control unit (3).
7. according to the test macro of OTT server connectivity energy described in claim 5, it is characterized in that: also comprise state detection unit (5), whether test mode is in for detecting described switching performance test macro, when described test macro is in test mode, described media data request unit (1) sends media data request information to described OTT server.
8., according to the test macro of OTT server connectivity energy described in claim 5, it is characterized in that, described media data request unit (1) comprising:
OTT server list memory cell (11) to be measured, for storing OTT server list to be measured, wherein, comprises the flag whether each OTT server to be measured has been tested in described list;
Media data request master unit (12), connection request is initiated to each OTT server to be measured according to the list information stored in described OTT server list memory cell (11) to be measured, and often send request to an OTT server, upgrade the flag of corresponding OTT server in described OTT server list memory cell (11) to be measured immediately.
9., according to the test macro of OTT server connectivity energy described in claim 5, it is characterized in that, described control unit (3) comprising:
Connect hours identifying unit (31), whether overtime for judging the connect hours of described test macro and described OTT server, wherein, if the connect hours detected exceedes the preset value of system, the connect hours time-out of described test macro and described OTT server is judged;
Notification message correctness identifying unit (32), for judging that described OTT server passes the correctness of notification message back, wherein, the content of judgement comprises the judgement of the correctness to message format and message data;
Processing unit (33), draws the test result of described OTT server according to the result of determination of described connect hours identifying unit (31) and notification message correctness identifying unit (32).
10. according to the test macro of OTT server connectivity energy described in claim 9, it is characterized in that: described control unit (3) also comprises test mode identifying unit (34), for determining whether that the test mode mark of all OTT servers upgrades all, if, described display unit (4) shows described test result information, wherein, whether described test mode mark and OTT server one_to_one corresponding, complete test for identifying described OTT server.
CN201510449468.3A 2015-07-27 2015-07-27 A kind of test method and system of OTT server connectivities energy Expired - Fee Related CN105024883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510449468.3A CN105024883B (en) 2015-07-27 2015-07-27 A kind of test method and system of OTT server connectivities energy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510449468.3A CN105024883B (en) 2015-07-27 2015-07-27 A kind of test method and system of OTT server connectivities energy

Publications (2)

Publication Number Publication Date
CN105024883A true CN105024883A (en) 2015-11-04
CN105024883B CN105024883B (en) 2018-07-13

Family

ID=54414608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510449468.3A Expired - Fee Related CN105024883B (en) 2015-07-27 2015-07-27 A kind of test method and system of OTT server connectivities energy

Country Status (1)

Country Link
CN (1) CN105024883B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108199923A (en) * 2018-01-23 2018-06-22 平安普惠企业管理有限公司 Server test method, device, computer equipment and readable storage medium storing program for executing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867499A (en) * 2010-03-30 2010-10-20 福建新大陆通信科技股份有限公司 Method for testing quality of set top box port and writing in MAC address
US20130057639A1 (en) * 2011-02-28 2013-03-07 Vivox, Inc. System & Method for Real-Time Video Communications
CN203167158U (en) * 2013-03-07 2013-08-28 江苏下一代广电网物联网研究中心有限公司 Set top box remote testing system
CN104639976A (en) * 2015-03-17 2015-05-20 浪潮软件集团有限公司 Method for synchronizing programs of set top box and mobile terminal, set top box and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867499A (en) * 2010-03-30 2010-10-20 福建新大陆通信科技股份有限公司 Method for testing quality of set top box port and writing in MAC address
US20130057639A1 (en) * 2011-02-28 2013-03-07 Vivox, Inc. System & Method for Real-Time Video Communications
CN203167158U (en) * 2013-03-07 2013-08-28 江苏下一代广电网物联网研究中心有限公司 Set top box remote testing system
CN104639976A (en) * 2015-03-17 2015-05-20 浪潮软件集团有限公司 Method for synchronizing programs of set top box and mobile terminal, set top box and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王涛等: "OTT机顶盒复合视频指标测量与研究", 《有线电视技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108199923A (en) * 2018-01-23 2018-06-22 平安普惠企业管理有限公司 Server test method, device, computer equipment and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN105024883B (en) 2018-07-13

Similar Documents

Publication Publication Date Title
CN107766190B (en) Interface testing method and device, computer equipment and storage medium
BRPI0610776A2 (en) Methods and Equipment for Determining Multimedia Performance Aspects of a Wireless Device
CN104424089A (en) Terminal testing method and device
CN110493028A (en) A kind of clustered deploy(ment) method, system, device and computer readable storage medium
CN105912340A (en) Primary device, remote control and overhead upgrading method of remote control
CN105607994A (en) Mobile terminal software testing method and system
CN101621812A (en) Method and system for realizing restoration updating of mobile terminal
CN105354042A (en) Application installation processing method and apparatus
CN106571942B (en) Configuration data updating method, client and server
CN108469959B (en) Firmware upgrading method and device of monitoring equipment
CN105471678A (en) Method and system for detecting networking failure reason of household appliance and mobile terminal
CN113407393A (en) Chip verification method, terminal device, verification platform and storage medium
CN113965904B (en) Device registration method, device and storage medium
CN108011871A (en) A kind of remote assistance processing method and equipment
CN115001967A (en) Data acquisition method and device, electronic equipment and storage medium
CN108540344B (en) Router upgrading test method and system
CN105024883A (en) Method and system for testing OTT (Over the Top) server connection performance
CN110941252A (en) Vehicle-mounted equipment testing method and system
CN106598793B (en) Test system and test method based on BIOS serial port log data
CN110554929A (en) Data verification method and device, computer equipment and storage medium
CN111817878A (en) Networking method and device of intelligent equipment and cloud server
CN113613239B (en) Network mode switching method, network mode switching device, medium, and electronic device
CN113595824B (en) Method for testing distribution network reliability of Wi-Fi Internet of things equipment and readable storage medium
CN102209149B (en) Wireless communication equipment and information clearing method
CN113593139A (en) Express delivery cabinet information interaction method and device

Legal Events

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

Granted publication date: 20180713

Termination date: 20210727

CF01 Termination of patent right due to non-payment of annual fee