CN105024883B - A kind of test method and system of OTT server connectivities energy - Google Patents

A kind of test method and system of OTT server connectivities energy Download PDF

Info

Publication number
CN105024883B
CN105024883B CN201510449468.3A CN201510449468A CN105024883B CN 105024883 B CN105024883 B CN 105024883B CN 201510449468 A CN201510449468 A CN 201510449468A CN 105024883 B CN105024883 B CN 105024883B
Authority
CN
China
Prior art keywords
ott
test
servers
notification message
ott servers
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.)
Expired - Fee Related
Application number
CN201510449468.3A
Other languages
Chinese (zh)
Other versions
CN105024883A (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 the test methods and system of a kind of OTT server connectivities energy, wherein the test method of the OTT server connectivities energy includes the following steps:Test system sends out media data request to the OTT servers;Test system receives the notification message for carrying session information that the OTT servers are sent out, and by obtaining the test result of the OTT server connectivities energy to the judgement of the notification message;After completing the test to all OTT servers to be measured, test system shows that the test result information, the test system of the OTT server connectivities energy include:Media data request unit, notification message receiving unit, control unit and display unit.The test method and system of OTT server connectivity energy, are capable of the switching performance of batch testing OTT servers, and testing efficiency is high, reduces difficulty of test and time and test result is intuitive.

Description

A kind of test method and system of OTT server connectivities energy
Technical field
The present invention relates to field of communication technology, specifically provide a kind of OTT server connectivities can test method and be System.
Background technology
OTT(Over The Top, on the upper layers Internet)Refer to the service that business is provided by Internet, that is, uses Family is obtained by broadband access network and is serviced.Currently, OTT order program services have become the main body of network flow.
Along with the growth of OTT order program service quantity, the prior art produces bearer network to reduce flow by traffic grooming Raw pressure.Current OTT applications mainly based on the service of the big data quantities such as audio and video in the form of, cause when OTT applications connect Required Internet resources are larger and the testing time is longer.
Therefore, how existing technology is improved, to realize the intuitive display to OTT server test results, together When reduce difficulty of test and time, improving testing efficiency becomes people's urgent problem to be solved.
Invention content
In consideration of it, the purpose of the present invention is to provide the test methods and system of a kind of OTT server connectivities energy, so that Few switching performance for solving to cannot achieve batch testing OTT servers, and testing efficiency is low, difficulty of test is big and the testing time The problems such as length, test result is not intuitive.
To solve the above problems, one aspect of the present invention is:There is provided a kind of OTT server connectivities can Test method, for testing multiple OTT servers, wherein the test method includes the following steps:
Test system sends out media data request to the OTT servers;
Test system receives the notification message for carrying session information that the OTT servers are sent out, and by described The judgement of notification message obtains the test result of the OTT server connectivities energy;
After completing the test to all OTT servers to be measured, test system shows the test result information.
Wherein, further include walking as follows before the test system sends out media data request step to the OTT servers Suddenly:
Detect whether the test system is in test mode, when the test system is in test mode, test system It unites and sends out media data request to OTT servers.
Wherein, the step of test system sends out media data request to the OTT servers specifically includes following step Suddenly:
Read OTT server lists to be measured;
Request is initiated the connection to OTT servers to be measured by list;
Update has been sent from the state of the OTT servers of request in the OTT server lists to be measured, until complete to All OTT servers to be measured send out media data request.
Wherein, what the test system received that the OTT servers send out carries the notification message of session information, and leads to It crosses the step of test result of the OTT server connectivities energy is obtained to the judgement of the notification message and specifically includes following step Suddenly:
Test system receives the notification message for carrying session information that the OTT servers are sent out;
Judge whether the test system and the Connection Time of the OTT servers are overtime;
Judge that the OTT servers pass the correctness of notification message back;
The test result of corresponding OTT servers is updated according to judgement result, until completing the test to all OTT servers As a result update.
Wherein, the test result of corresponding OTT servers is updated according to judgement result, until completing to all OTT servers The update step of test result specifically comprise the following steps:
The test result of corresponding OTT servers is updated according to judgement result, while being updated for identifying the OTT servers Whether the test mode of completion test identifies;
Detect whether that the test mode mark of all OTT servers to be measured has updated, when all OTT servers to be measured Test mode updated, that is, complete the update of the test result to all OTT servers.
Another technical solution used in the present invention is:There is provided a kind of OTT server connectivities can test system, and extremely Few OTT server connection, the switching performance for testing the OTT servers, wherein the test system includes:
Media data request unit, for sending media data request information to the OTT servers;
Notification message receiving unit, the notification message returned for receiving the OTT server feedbacks, wherein described logical Know the corresponding session information of message is carried with the OTT servers receive media data request information;
Control unit, the notification message sent for receiving the notification message receiving unit, and by described logical Know that the judgement of message obtains the test result to OTT server connectivities energy;
Display unit, the test result information for showing described control unit.
Wherein, the test system of the OTT server connectivities energy further includes state detection unit 5, described for detecting Switching performance tests whether system is in test mode, and when the test system is in test mode, the media data is asked Unit is asked to send media data request information to the OTT servers.
Wherein, the media data request unit includes:
OTT server lists storage unit to be measured, for storing OTT server lists to be measured, wherein wrapped in the list Containing the flag for representing each OTT servers to be measured and whether testing completion;
Media data request master unit, according to the list information stored in the OTT server lists storage unit to be measured Request is initiated the connection to each OTT servers to be measured, and often sends out request to an OTT server, is updated immediately described to be measured The flag of corresponding OTT servers in OTT server list storage units.
Wherein, described control unit includes:
Connection Time judging unit, for judging whether the test system and the Connection Time of the OTT servers surpass When, wherein if the Connection Time is more than the preset value of system, when judging connection of the test system with the OTT servers Between time-out;
Notification message correctness judging unit, for judging that the OTT servers pass the correctness of notification message back, In, the content of judgement includes the judgement to the correctness of message format and message data.
Processing unit is obtained according to the judgement result of the Connection Time judging unit and notification message correctness judging unit Go out the test result of the OTT servers.
Wherein, described control unit further includes test mode judging unit, the survey for determining whether all OTT servers Examination status indicator has updated, if so, the display unit shows the test result information, wherein the test mode mark Know and corresponded with OTT servers, for identifying whether the OTT servers are completed to test.
The test method and system of OTT server connectivities energy provided by the invention, by being sent to OTT servers to be measured Media data request information will send to the test system after OTT servers receive the solicited message and carry session The notification message of message judges the notification message after test system receives the notification message, and according to sentencing Determine result and obtain the test result of the OTT server connectivities energy, shows that the test result is believed eventually by display unit Breath.
The test method and system of OTT server connectivities energy provided by the invention pass through embedded survey in OTT device Test system, while the test method is applied, it is capable of the switching performance of batch testing OTT servers, and testing efficiency is high, reduces Difficulty of test and time, test result are intuitively shown.
Description of the drawings
Below in conjunction with the accompanying drawings and embodiment the present invention is described in further detail:
Fig. 1 is the flow chart of the test method of OTT server connectivity energy;
Fig. 2 is the flow chart that test system sends out media data request to OTT servers;
Fig. 3 is that test system receives and judge the flow chart of notification message;
Fig. 4 is the structure chart of the test system of OTT server connectivity energy;
Fig. 5 is the structure chart of media data request unit;
The structural schematic diagram of Fig. 6 units in order to control.
Specific implementation mode
The present invention is further explained below in conjunction with specific embodiment, but the not limitation present invention.
As shown in Figure 1, the present invention provides a kind of test method of OTT server connectivities energy, for being taken to multiple OTT Business device is tested, wherein the test method includes the following steps:
S101:Test system sends out media data request to the OTT servers;
S201:Test system receives the notification message for carrying session information that the OTT servers are sent out, and by right The judgement of the notification message obtains the test result of the OTT server connectivities energy;
S301:After completing the test to all OTT servers to be measured, test system shows the test result information.
The test method to OTT servers to be measured by sending media data request information, when OTT servers receive institute The notification message for carrying conversation message will be sent to the test system after stating solicited message, when test system receives described lead to After knowing message, the notification message is judged, and the test of the OTT server connectivities energy is obtained according to judgement result As a result, showing the test result information eventually by display unit.
Wherein, in order to improve the operability of the test method, as the improvement of technical solution, the test system to OTT servers further include following steps before sending out media data request step:
Detect whether the test system is in test mode, wherein when the test system is in test mode, survey Test system sends out media data request to OTT servers, wherein the change of test mode is manually operable.
Wherein, as shown in Fig. 2, the test system is specific the step of sending out media data request to the OTT servers Include the following steps:
S111:Read OTT server lists to be measured;
S112:Request is initiated the connection to OTT servers to be measured by list;
S113:Update has been sent from state of the OTT servers of request in the OTT server lists to be measured, until It completes to send out media data request to all OTT servers to be measured.
It sends out as shown in Fig. 2, initiating the connection request to each OTT servers to be measured, is often serviced to an OTT successively After device initiates the connection request, while state of the OTT servers in OTT server lists to be measured is updated, which shows Whether request has been initiated the connection to the OTT servers, in addition, often updating corresponding OTT servers in OTT server lists to be measured State after, all once judged, judge whether to send out solicited message to all OTT servers to be measured, if so, terminate Send out media data request;If it is not, step S111 ~ S113 is then repeated, until completing to send out to all OTT servers to be measured Go out media data request.
Wherein, as shown in figure 3, the test system receive that the OTT servers send out carry the logical of session information Know message, and the step of by obtaining the test result of the OTT server connectivities energy to the judgement of the notification message has Body includes the following steps:
S211:Test system receives the notification message for carrying session information that the OTT servers are sent out;
S212:Judge whether the test system and the Connection Time of the OTT servers are overtime;
S213:Judge that the OTT servers pass the correctness of notification message back;
S214:The test result of corresponding OTT servers is updated according to judgement result, until completing to all OTT servers Test result update.
As shown in figure 3, the judgement of the notification message sent out to each OTT servers carries out successively, often complete to one The judgement of a OTT servers, just updates the test result of the OTT servers, while judging whether to complete to all OTT servers Judgement, if do not completed, repeatedly step S211 ~ S214, until completing the judgement to all OTT servers, wherein to institute It states OTT servers and passes the judgement of notification message back and specifically include:Determine whether notification message is disappearing of sending out of the OTT servers Breath determines whether the notification message format and data are correct etc..
Wherein, the test result of corresponding OTT servers is updated according to judgement result, until completing to all OTT servers Test result update the step of specifically comprise the following steps:
The test result of corresponding OTT servers is updated according to judgement result, while being updated for identifying the OTT servers Whether the test mode of completion test identifies;
Detect whether that the test mode mark of all OTT servers to be measured has updated, when all OTT servers to be measured Test mode mark updated, that is, complete the test to all OTT servers.
Another technical solution used in the present invention is:There is provided a kind of OTT server connectivities can test system, and extremely Few OTT server connection, the switching performance for testing the OTT servers, wherein as shown in figure 4, the test is System includes:
Media data request unit 1, for sending media data request information to the OTT servers;
Notification message receiving unit 2, the notification message returned for receiving the OTT server feedbacks, wherein described logical Know the corresponding session information of message is carried with the OTT servers receive media data request information;
Control unit 3, the notification message sent for receiving the notification message receiving unit 2, and by described The judgement of notification message obtains the test result to OTT server connectivities energy;
Display unit 4, the test result information for showing described control unit 3.
The test system of OTT server connectivity energy, is sent by not carrying request of data unit to OTT servers to be measured Media data request information will receive after OTT servers receive the solicited message to the notification message of the test system Unit sends the notification message for carrying conversation message, after notification message receiving unit receives the notification message, judgement Unit judges the notification message, and obtains the test result of the OTT server connectivities energy according to judgement result, The test result information is shown eventually by display unit.
Wherein, in order to improve the operable row of the test system, as the improvement of technical solution, the OTT servers The test system of switching performance further includes state detection unit 5(As shown in Figure 4), system is tested for detecting the switching performance Whether test mode is in, when the test system is in test mode, the media data request unit 1 is to the OTT Server sends media data request information, wherein the change of test mode is manually operable.
Wherein, as shown in figure 5, the media data request unit 1 includes:
OTT server lists storage unit 11 to be measured, for storing OTT server lists to be measured, wherein in the list Including representing the flag whether each OTT servers to be measured test completion;
Media data request master unit 12, according to the list stored in the OTT server lists storage unit 11 to be measured Information initiates the connection request to each OTT servers to be measured, and often sends out request to an OTT server, immediately described in update The flag of corresponding OTT servers in OTT server lists storage unit 11 to be measured.
Wherein, the media data request master unit also completes pair flag corresponding with each OTT servers to be measured Monitoring then terminates to initiate the connection request to OTT servers to be measured when detecting that the flag of all OTT servers updated, Conversely, will continue to be sent out to OTT servers to be measured according to the list information stored in the OTT server lists storage unit to be measured Play connection request.
Wherein, as shown in fig. 6, described control unit 3 includes:
Connection Time judging unit 31, for judge the test system and the OTT servers Connection Time whether Time-out, wherein if the Connection Time is more than the preset value of system, judge the connection of the test system and the OTT servers Time time-out;
Notification message correctness judging unit 32, for judging that the OTT servers pass the correctness of notification message back, In, the content of judgement includes the judgement to the correctness of message format and message data.
Processing unit 33, according to the judgement of the Connection Time judging unit 31 and notification message correctness judging unit 32 As a result the test result of the OTT servers is obtained.
Wherein, as shown in fig. 6, described control unit 3 further includes test mode judging unit 34, for determining whether own The test mode mark of OTT servers has updated, if so, the display unit 4 shows the test result information, wherein The test mode mark is corresponded with OTT servers, for identifying whether the OTT servers are completed to test.
The specific implementation mode of the present invention is write according to progressive mode, and each embodiment is highlighted Difference, similar portion can be with cross-reference.
Embodiments of the present invention are elaborated above in conjunction with attached drawing, but the present invention is not limited to above-mentioned implementations Mode within the knowledge of a person skilled in the art can also be without departing from the purpose of the present invention Various changes can be made.

Claims (8)

1. a kind of test method of OTT server connectivities energy, for testing multiple OTT servers, which is characterized in that Include the following steps:
Test system sends out media data request to the OTT servers;
Test system receives the notification message for carrying session information that the OTT servers are sent out, and by the notice The judgement of message obtains the test result of the OTT server connectivities energy;
After completing the test to all OTT servers to be measured, test system shows the test result information;
The test system receives the notification message for carrying session information that the OTT servers are sent out, and by described The judgement of notification message obtain the OTT server connectivities can test result the step of specifically comprise the following steps:
Test system receives the notification message for carrying session information that the OTT servers are sent out;
Judge whether the test system and the Connection Time of the OTT servers are overtime;
Judge that the OTT servers pass the correctness of notification message back;
The test result of corresponding OTT servers is updated according to judgement result, until completing the test result to all OTT servers Update;
Wherein, judge that the OTT servers pass the correctness of notification message back, specifically include:Whether determine the notification message The message sent out for the OTT servers;And determine whether the notification message format and data are correct.
2. according to described in claim 1 OTT server connectivities can test method, which is characterized in that the test system to The OTT servers further include following steps before sending out media data request step:
Detect the test system whether be in test mode, when the test system be in test mode, test system to OTT servers send out media data request.
3. according to the test method of OTT server connectivities energy described in claim 1, it is characterised in that:The test system to The step of OTT servers send out media data request specifically comprises the following steps:
Read OTT server lists to be measured;
Request is initiated the connection to OTT servers to be measured by list;
Oneself is updated through sending out state of the OTT servers of request in the OTT server lists to be measured, until completing to all OTT servers to be measured send out media data request.
4. according to the test method of OTT server connectivities energy described in claim 1, it is characterised in that:More according to judgement result The test result of new corresponding OTT servers, until the step of completing the update to the test result of all OTT servers is specifically wrapped Include following steps:
The test result of corresponding OTT servers is updated according to judgement result, while being updated for whether identifying the OTT servers Complete the test mode mark of test;
Detect whether that the test mode mark of all OTT servers to be measured has updated, when the survey of all OTT servers to be measured Examination status indicator has updated, that is, completes the update of the test result to all OTT servers.
5. a kind of test system of OTT server connectivities energy, connect at least one OTT servers, for testing the OTT The switching performance of server, which is characterized in that including:
Media data request unit(1), for sending media data request information to the OTT servers;
Notification message receiving unit(2), for receiving the notification message of the OTT server feedbacks back, wherein the notice The corresponding session information of message is carried with the OTT servers receive media data request information;
Control unit(3), for receiving the notification message receiving unit(2)The notification message sent, and by described The judgement of notification message obtains the test result to OTT server connectivities energy;
Display unit(4), for showing described control unit(3)Test result information;
Described control unit(3)Including:
Connection Time judging unit(31), for judging whether the test system and the Connection Time of the OTT servers surpass When, wherein if the Connection Time detected is more than the preset value of system, judge the test system and the OTT servers Connection Time time-out;
Notification message correctness judging unit(32), for judging that the OTT servers pass the correctness of notification message back, In, the content of judgement includes:Determine whether the notification message is message that the OTT servers are sent out;And to message lattice The judgement of the correctness of formula and message data;
Processing unit(33), according to the Connection Time judging unit(31)And notification message correctness judging unit(32)Sentence Determine the test result that result obtains the OTT servers.
6. according to the test system of OTT server connectivities energy described in claim 5, it is characterised in that:It further include state-detection Unit(5), for detecting whether the switching performance test system is in test mode, when the test system is in test shape When state, the media data request unit(1)Media data request information is sent to the OTT servers.
7. according to the test system of OTT server connectivities energy described in claim 5, which is characterized in that the media data is asked Seek unit(1)Including:
OTT server lists storage unit to be measured(11), for storing OTT server lists to be measured, wherein wrapped in the list The flag of completion whether is tested containing each OTT servers to be measured;
Media data request master unit(12), according to the OTT server lists storage unit to be measured(11)The list of middle storage Information initiates the connection request to each OTT servers to be measured, and often sends out request to an OTT server, immediately described in update OTT server lists storage unit to be measured(11)In corresponding OTT servers flag.
8. according to the test system of OTT server connectivities energy described in claim 5, it is characterised in that:Described control unit(3) It further include test mode judging unit(34), it has been updated for determining whether that the test mode of all OTT servers identifies, if It is the display unit(4)Show the test result information, wherein the test mode mark and OTT servers one are a pair of It answers, for identifying whether the OTT servers are completed to test.
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 CN105024883A (en) 2015-11-04
CN105024883B true 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)

Families Citing this family (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 (3)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8896652B2 (en) * 2011-02-28 2014-11-25 Soryn Technologies Llc System and method for real-time video communications

Patent Citations (3)

* 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
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机顶盒复合视频指标测量与研究;王涛等;《有线电视技术》;20141215(第12期);第60-64页 *

Also Published As

Publication number Publication date
CN105024883A (en) 2015-11-04

Similar Documents

Publication Publication Date Title
CN103713989B (en) A kind of method for generating test case and device for user terminal
KR101049910B1 (en) Apparatus and method for emergency response service using mobile terminal
CN105094814B (en) Notification message methods of exhibiting and device
US10171964B2 (en) Location-oriented services
CN109101381A (en) Configuration file update method, system, electronic equipment and storage medium
TW201732694A (en) Task allocation method, system and device
CN105577879B (en) A kind of book management method and mobile terminal
WO2017088402A1 (en) System, method and device for information interaction
CN105593680B (en) Cooperation Electronic Nose management in personal device
CN103118326A (en) Information pushing method, information pushing device and information pushing system based on geographical location information
US9071551B2 (en) Mobile trouble ticket
CN106911556A (en) A kind of prompting message management method and terminal
CN110648115B (en) Event reminding method, device, equipment and storage medium
CN109683728B (en) Group member adding method and device
CN107004169A (en) The automation tenant upgrading serviced for multi-tenant
CN109302295A (en) The message treatment method and equipment of chat group
CN105024883B (en) A kind of test method and system of OTT server connectivities energy
CN106155824A (en) A kind of mobile phone hardware accelerated ageing test method and system
CN104346262B (en) Method and device for acquiring power consumption information of application program and mobile terminal
CN111371648A (en) Monitoring method and device for global fault of virtual gateway cluster
CN106789209A (en) Abnormality eliminating method and device
US10123223B1 (en) System and method for evaluating operational integrity of a radio access network
CN109040050A (en) Data interactive method and Related product
WO2021163292A1 (en) Electronic infrastructure for digital content delivery and/or online assessment management
CN106921710B (en) Crowd sensing 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180713

Termination date: 20210727