CN103813161A - Delayed testing method and device - Google Patents

Delayed testing method and device Download PDF

Info

Publication number
CN103813161A
CN103813161A CN201210450141.4A CN201210450141A CN103813161A CN 103813161 A CN103813161 A CN 103813161A CN 201210450141 A CN201210450141 A CN 201210450141A CN 103813161 A CN103813161 A CN 103813161A
Authority
CN
China
Prior art keywords
terminal equipment
temporal information
screen
video data
field picture
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.)
Pending
Application number
CN201210450141.4A
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210450141.4A priority Critical patent/CN103813161A/en
Publication of CN103813161A publication Critical patent/CN103813161A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention discloses a delayed testing method and device and belongs to the technical field of communication. The delayed testing method comprises the steps of obtaining video data including screen display of a first terminal device and screen display of a second terminal device; obtaining time information displayed by a first terminal device screen and time information displayed by a second terminal device screen according to the video data; performing calculation according to the time information displayed by the first terminal device screen and the time information displayed by the second terminal device screen to obtain transmission delay between the first terminal device and the second terminal device. The large working amount and occurred matching errors due to the fact that the same-frame images are looked up in data messages of the first terminal device and the second terminal device are avoided, and the testing process is greatly simplified.

Description

Delay test method and apparatus
Technical field
The present invention relates to communication technical field, particularly a kind of delay test method and apparatus.
Background technology
Along with the fast development of wireless communication technique and the network communications technology, the function of communication equipment from strength to strength, except carrying out simply voice communication, text transmitting-receiving, is having huge progress aspect bandwidth usage and data communication.Particularly introduce wideband multimedia system, make communication equipment on the basis that instant communication software has been installed support voice to the video capability of making peace, but, can find that in actual applications video there will be time delay in transmitting procedure, the number of video time delay, concerning software and hardware equipment performance, is important evaluation index.
In the prior art, computer analyzing also obtains the first communication equipment and the data message of second communication equipment, search identical two field picture in the video of the first communication equipment transmission and the video of second communication equipment reception according to data message, poor computing time according to the transmitting time of identical two field picture and time of reception, using difference as video time delay.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Search same two field picture in the data message of the first communication equipment and second communication equipment time, owing to thering is very high similitude between frame and frame in the video of taking continuously, so easily there is the situation of mistake coupling, and then it is larger to cause calculating video delay time error, simultaneously because the video data volume is large, matching process is consuming time longer, test process complexity.
Summary of the invention
In order to solve the problem that the video time delay error of calculation is large and test process is complicated of prior art, the embodiment of the present invention provides a kind of method of testing and device of time delay.Described technical scheme is as follows:
On the one hand, provide a kind of method of testing of time delay, described method comprises:
Obtain video data, described video data comprises the screen display of first terminal equipment and the screen display of the second terminal equipment, when described first terminal equipment shows the video data that comprises temporal information, by the described video data transmitting that comprises temporal information give described the second terminal equipment, described the second terminal equipment screen is received and show described in comprise temporal information video data;
According to described video data, obtain the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen;
Calculate according to the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen, obtain the transmission delay between described first terminal equipment and the second terminal equipment.
Obtain the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen according to described video data, comprising:
Described video data is resolved into the form of two field picture;
The two field picture corresponding according to described video data, obtains the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen.
The two field picture corresponding according to described video data, obtains the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen, comprising:
From two field picture corresponding to described video data, choose multiframe consecutive image, obtain the shown temporal information of first terminal device screen described in every two field picture and the shown temporal information of described the second terminal equipment screen; Or,
From two field picture corresponding to described video data, choose many framings image, every framing image comprises multiframe consecutive image, obtains the shown temporal information of first terminal device screen described in the every two field picture in described every group and the shown temporal information of described the second terminal equipment screen.
Calculate according to the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen, obtain the transmission delay between described first terminal equipment and the second terminal equipment, comprising:
According to the shown temporal information of first terminal device screen described in every two field picture of choosing and the shown temporal information of described the second terminal equipment screen, first terminal equipment in every two field picture that calculating is chosen and the time difference of the second terminal equipment, time delay corresponding to every two field picture of choosing described in obtaining, calculate the transmission delay using the mean value obtaining between described first terminal equipment and the second terminal equipment according to time delay corresponding to every two field picture of choosing described in obtaining; Or,
For the every framing image in many framings image of choosing, according to the shown temporal information of first terminal device screen described in the every two field picture in described every framing image and the shown temporal information of described the second terminal equipment screen, calculate the first terminal equipment in every two field picture and the time difference of the second terminal equipment in described every framing image, obtain time delay corresponding to every two field picture in described every framing image, calculate according to time delay corresponding to every two field picture in described every framing image, using the mean value obtaining as time delay corresponding to described every framing image, calculate according to described time delay corresponding to many framings image of choosing, transmission delay using the mean value obtaining between described first terminal equipment and the second terminal equipment.
The described video data that obtains, comprising:
The screen of the screen by video capture device to described first terminal equipment and the second terminal equipment is taken, and obtains video data.
On the other hand, provide a kind of delay test device, described device comprises:
Video data acquisition module, be used for obtaining video data, the described video data that obtains comprises the screen display of first terminal equipment and the screen display of the second terminal equipment, when described first terminal equipment shows the video data that comprises temporal information, by the described video data transmitting that comprises temporal information give described the second terminal equipment, described the second terminal equipment screen is received and show described in comprise temporal information video data;
Temporal information acquisition module, for according to described video data, obtains the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen;
Data processing module, for calculating according to the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen, obtains the transmission delay between described first terminal equipment and the second terminal equipment.
Described video data acquisition module comprises:
Resolving cell, for resolving into described video data the form of two field picture;
Temporal information acquiring unit, for the two field picture corresponding according to described video data, obtains the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen.
Described temporal information acquiring unit comprises:
Very first time acquisition of information subelement, be used for from two field picture corresponding to described video data, choose multiframe consecutive image, obtain the shown temporal information of first terminal device screen described in every two field picture and the shown temporal information of described the second terminal equipment screen; Or,
The second temporal information is obtained subelement, be used for from two field picture corresponding to described video data, choose many framings image, every framing image comprises multiframe consecutive image, obtains the shown temporal information of first terminal device screen described in the every two field picture in described every group and the shown temporal information of described the second terminal equipment screen.
Described very first time acquisition of information subelement, specifically for shown temporal information and the shown temporal information of described the second terminal equipment screen of first terminal device screen described in every two field picture of choosing of basis, first terminal equipment in every two field picture that calculating is chosen and the time difference of the second terminal equipment, time delay corresponding to every two field picture of choosing described in obtaining, calculate the transmission delay using the mean value obtaining between described first terminal equipment and the second terminal equipment according to time delay corresponding to every two field picture of choosing described in obtaining; Or,
Described the second temporal information is obtained subelement, specifically for the every framing image in the many framings image for choosing, according to the shown temporal information of first terminal device screen described in the every two field picture in described every framing image and the shown temporal information of described the second terminal equipment screen, calculate the first terminal equipment in every two field picture and the time difference of the second terminal equipment in described every framing image, obtain time delay corresponding to every two field picture in described every framing image, calculate according to time delay corresponding to every two field picture in described every framing image, using the mean value obtaining as time delay corresponding to described every framing image, calculate according to described time delay corresponding to many framings image of choosing, transmission delay using the mean value obtaining between described first terminal equipment and the second terminal equipment.
Described video data acquisition module is taken specifically for the screen of the screen to described first terminal equipment and the second terminal equipment by video capture device, obtains video data.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By the screen display of the screen display of first terminal equipment and the second terminal equipment is photographed in same two field picture, avoided searching the situation of the matching error of larger workload that same two field picture brings and appearance in the data message of the first communication equipment and second communication equipment, also avoided occurring larger error simultaneously in time delay is calculated, the directly first terminal equipment in the same two field picture of calculating and the time difference of the second terminal equipment, just can obtain the transmission delay between first terminal equipment and the second terminal equipment, thereby greatly simplify the process of test.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of a kind of delay test method of providing in the embodiment of the present invention;
Fig. 2 is the flow chart of a kind of delay test method of providing in the embodiment of the present invention;
Fig. 3 is the schematic diagram of a kind of delay test apparatus structure of providing in the embodiment of the present invention.
Embodiment
Fig. 1 is the flow chart of a kind of delay test method of providing of the embodiment of the present invention, and the executive agent of the embodiment of the present invention is terminal equipment, and as computer, notebook computer etc. possess the terminal equipment of data-handling capacity, referring to Fig. 1, the method comprises:
101: obtain video data, described video data comprises the screen display of first terminal equipment and the screen display of the second terminal equipment, when described first terminal equipment shows the video data that comprises temporal information, by the described video data transmitting that comprises temporal information give described the second terminal equipment, described the second terminal equipment screen is received and show described in comprise temporal information video data;
102: according to described video data, obtain the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen;
103: calculate according to the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen, obtain the transmission delay between described first terminal equipment and the second terminal equipment.
The beneficial effect of the present embodiment is: by the screen display of the screen display of first terminal equipment and the second terminal equipment is photographed in same two field picture, avoided searching the situation of the matching error of larger workload that same two field picture brings and appearance in the data message of the first communication equipment and second communication equipment, also avoided occurring larger error simultaneously in time delay is calculated, the directly first terminal equipment in the same two field picture of calculating and the time difference of the second terminal equipment, just can obtain the transmission delay between first terminal equipment and the second terminal equipment, thereby greatly simplify the process of test.
Fig. 2 embodiment of the present invention provides a kind of method of delay test, and the involved equipment of the method comprises first terminal equipment, the second terminal equipment, video capture device and data processing equipment.First terminal equipment and the second terminal equipment can carry out transmission of video, and the video that can simultaneous display sends or receive, first terminal equipment and the second terminal equipment are placed in to same level, make video capture device can photograph the video data that first terminal device synchronization shows that transmission or the video data receiving and the second terminal equipment simultaneous display send or receive simultaneously.First terminal equipment and the second terminal equipment can adopt mobile phone, computer or other-end, and first terminal equipment and the second terminal equipment can adopt identical terminal also can adopt different terminals, here do not limit.Simultaneously, for the time delay of test video, the software of instant messaging is housed in first terminal equipment and the second terminal equipment, makes the video can real-time Transmission and show in real time.Referring to Fig. 2, method flow comprises:
201: first terminal equipment is set up video with the second terminal equipment and is connected, video data can be transmitted between first terminal equipment and the second terminal equipment;
Particularly, first terminal equipment and the second terminal equipment are set up the process that video is connected and can be comprised: first terminal equipment sends video connection request to the second terminal equipment, the second terminal equipment is after receiving the video connection request of first terminal equipment transmission, return to video and connect acknowledge message, make first terminal equipment set up video with the second terminal equipment and be connected.
Preferably, in order to make video capture device can photograph the demonstration of first terminal device screen and the demonstration of the second terminal equipment screen simultaneously, first terminal equipment and the second terminal equipment are placed in to same level.
In the present embodiment, first terminal equipment and the second terminal equipment can be the terminal equipment of same type, it can also be dissimilar terminal equipment, as, first terminal equipment and the second terminal equipment are PAD or mobile phone etc., or first terminal equipment is mobile phone, and the second terminal equipment is PAD or notebook computer.
Take first terminal equipment as mobile phone A, the second terminal equipment is that mobile phone B is that example describes, and mobile phone A and mobile phone B are placed in same desktop, make video capture device can photograph the display frame of mobile phone A and mobile phone B screen simultaneously.Mobile phone A sends video connection request by Wi-Fi to mobile phone B, and mobile phone B, after receiving the video connection request of mobile phone A transmission, is returned to video and connected acknowledge message, makes mobile phone A and mobile phone B set up video and is connected.
202: first terminal equipment shows the video data that comprises temporal information, and give described the second terminal equipment by the described video data transmitting that comprises temporal information;
Wherein, the video data that comprises temporal information can be the video data of the time dynamic process that comprises timing device that records in advance, can be also the video data of the timing device taken in real time.Thus, this step 202 can comprise following arbitrary step: between (1) first terminal equipment and the second terminal equipment, set up after video connection, first terminal equipment is taken the timing device in timing just, when the video data of shooting is presented on screen, give the second terminal equipment by this video data transmitting, the second terminal equipment shows the video data receiving.(2) between first terminal equipment and the second terminal equipment, set up after video connection, first terminal equipment shows the local video data that comprises temporal information of preserving, and in showing, give the second terminal equipment by this video data transmitting that comprises temporal information, the second terminal equipment shows the video data receiving.
Wherein, timing device can adopt mechanical stopwatch, electronic stopclock or other to have the time keeping instrument of degree of precision, makes to calculate video time delay comparatively accurate.On the basis of the example in step 201, particularly, timing device describes as an example of electronic stopclock example, wherein, electronic stopclock can precision to 0.1 second in timing, starts after timing at electronic stopclock, mobile phone A is taken electronic stopclock, adjust the position of electronic stopclock, make mobile phone A can obtain the time variation video data of electronic stopclock clearly, mobile phone A changes structured video data transmitting to mobile phone B by the time of electronic stopclock automatically.
Within 203: the second, terminal equipment receives after the video data that comprises temporal information of first terminal equipment transmission, the video data that comprises temporal information described in showing on screen;
It should be noted that, the second terminal equipment shows in real time to the video data receiving, wherein, this transmitting procedure and procedure for displaying can be realized by the instant messaging application that is installed on terminal equipment, and this instant messaging application has the function of real-time reception and demonstration.
In step 202 on the basis of example, particularly, mobile phone B receives the video data of the electronic stopclock of mobile phone A transmission, and this video data is shown on screen, thereby, what on the screen of mobile phone A, show is the time variation of current electronic stopclock, and what on the screen of mobile phone B, show is the current video data receiving, because the transmission of video between mobile phone A and B has certain time delay, therefore, shown on the screen of mobile phone B should be to change time of electronic stopclock shown on the screen of mobile phone A before this certain time delay.
204: the screen of video capture device to described first terminal equipment and the screen of the second terminal equipment are taken, and obtain video data;
Wherein, the video pictures that the video pictures that the screen that this video data comprises first terminal equipment is showing and the screen of the second terminal equipment are showing.
After the video data of first terminal equipment and the transmission of the second terminal equipment is stablized, video capture device carries out the shooting of video, adjusting focal length, make the shown video data of the shown video data of first terminal equipment and the second terminal equipment within coverage, guarantee that the video data photographing is clear simultaneously.
It should be noted that, this video capture device and the follow-up equipment that carries out time delay calculating can be same equipment, that is to say that this equipment had both had shoot function, also had data processing function.As, with the notebook computer of picture pick-up device; This video capture device and the follow-up equipment that carries out time delay calculating can also be distinct device, that is to say that current video collecting device is only for taking, and by means such as transfer of data, the video data photographing is offered to the follow-up equipment that carries out time delay calculating, as, video capture device is video camera, and the equipment that carries out time delay calculating is computer, video capture device, by means such as data line or bluetooths, offers computer by the video data collecting and carries out follow-up data processing.
In step 203 on the basis of example, particularly, video capture device describes as an example of video camera example, video camera is taken the screen of mobile phone A and mobile phone B, adjusts focal length of camera and makes the time variation of screen display electronic stopclock of mobile phone A and the time variation of the screen display electronic stopclock of mobile phone B in video camera, have picture clearly.
205: video capture device exports to the video data obtaining in data processing equipment;
After video capture device is connected with data processing equipment, data processing equipment is reading video data from video capture device, and by the Video Data Storage reading in data processing equipment.
In step 204 on the basis of example, particularly, data processing equipment describes as an example of computer example, computer is by USB(Universal Serial Bus, USB) mouthful and video camera connect together, time of the screen display electronic stopclock that comprises mobile phone A that video camera is photographed changes and the video data of the time variation of the screen display electronic stopclock of mobile phone B imports in the memory of this computer.
206: the form that video data is resolved into two field picture;
Wherein, frame is the single width image frame of least unit in image animation, is equivalent to each the lattice camera lens on cinefilm.Owing to all having comprised the screen display of first terminal equipment and the screen display of the second terminal equipment in every two field picture, so can calculate according to every two field picture time delay corresponding to two field picture that the second terminal equipment screen receives and shows.Thereby, video data be resolved into the form of two field picture, make data processing equipment can obtain the temporal information of every two field picture.
In step 205 on the basis of example, particularly, the time of the screen display electronic stopclock that what computer photographed by video editing software the video camera of storing in memory comprise mobile phone A changes and the video data of the time variation of the screen display electronic stopclock of mobile phone B resolves into the form of two field picture, and two field picture is stored in internal memory.
207: the two field picture corresponding according to described video data, obtains the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen;
Wherein, can be undertaken by means such as image recognitions according to two field picture acquisition time information, be those skilled in the art's known technology, do not repeat them here.
Particularly, this step 207 can comprise following arbitrary process:
(1) data processing equipment is from two field picture corresponding to described video data, choose multiframe (Time Continuous) image continuously, obtain the shown temporal information of first terminal device screen described in every two field picture and the shown temporal information of described the second terminal equipment screen;
In step 206 on the basis of example, particularly, computer is chosen 30 frame consecutive images from two field picture corresponding to video data, choose take the temporal information of the electronic stopclock of mobile phone A screen display in two field picture as benchmark, if the displaying time of mobile phone A is 00:01.5 in the first two field picture of choosing, using the temporal information of mobile phone A as the time started, change and choose successively remaining 29 two field picture according to the Time Continuous showing in mobile phone A, after having chosen, further obtain the temporal information of the temporal information of the electronic stopclock of mobile phone A screen display in every two field picture and the electronic stopclock of mobile phone B screen display by image recognition.
(2) from two field picture corresponding to described video data, choose many framings image, every framing image comprises multiframe consecutive image, obtains the shown temporal information of first terminal device screen described in the every two field picture in described every group and the shown temporal information of described the second terminal equipment screen.
In step 206 on the basis of example, particularly, computer is chosen 6 framing images from two field picture corresponding to video data, this 6 framing image can be corresponding continuous 6 video-frequency bands in time, all right correspondence discontinuous 6 video-frequency bands in time, every framing image comprises 30 frame consecutive images, choose take the temporal information of the electronic stopclock of mobile phone A screen display in two field picture as benchmark, first choose the 1st two field picture in the 1st group, if the displaying time of mobile phone A is 00:01.5 in the 1st two field picture of choosing, using the temporal information of mobile phone A as beginning, the Time Continuous showing according to mobile phone A changes chooses remaining 29 two field picture successively.Choosing after the 1st group, start to choose the 1st frame in the 2nd framing image, to adjust according to the shooting frame number per second of video camera with the time interval of the 1st group, if video camera shooting frame number per second is larger, the time interval between the group of choosing is smaller, otherwise the time interval between group can be larger.In the time that the video camera adopting is the capture rate of 10 frames per second, in the 1st two field picture in the two field picture of the 2nd group, the displaying time of mobile phone A is at least greater than 3 seconds, displaying time that can mobile phone A as the 2nd group of the 1st two field picture is 00:05.5, according to the mode of choosing of the 1st group, choose continuously 30 two field pictures, other image sets can be chosen according to the mode of choosing of the 2nd group.After having chosen, further obtain the temporal information of the temporal information of the electronic stopclock of mobile phone A screen display in every two field picture and the electronic stopclock of mobile phone B screen display by image recognition.
208: calculate according to the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen, obtain the transmission delay between described first terminal equipment and the second terminal equipment;
Particularly, this step 208 is corresponding with the process in step 207:
(1) according to shown temporal information and the shown temporal information of described the second terminal equipment screen of first terminal device screen described in every two field picture of choosing, first terminal equipment in every two field picture that calculating is chosen and the time difference of the second terminal equipment, time delay corresponding to every two field picture of choosing described in obtaining, calculate the transmission delay using the mean value obtaining between described first terminal equipment and the second terminal equipment according to time delay corresponding to every two field picture of choosing described in obtaining;
In step 207 on the basis of example, particularly, computer is according to shown temporal information and the shown temporal information of mobile phone B screen of mobile phone A screen described in every two field picture of choosing, mobile phone A in every two field picture that calculating is chosen and the time difference of mobile phone B, for example, in a two field picture, temporal information in the mobile phone A that computer obtains is 00:12.1, temporal information in mobile phone B is 00:10.9, by two times are carried out to difference computing, the data 00:01.2 obtaining is the time delay of the picture in mobile phone B.Computer calculates according to selected time delay corresponding to 30 two field pictures that obtain, using the mean value obtaining as mobile phone A with the transmission delay of mobile phone B.Table 1 has recorded the time delay situation of 30 two field pictures of choosing, can find out that from several row results above the transmission delay of every two field picture is unequal, if so the time delay of an optional two field picture is difficult to reflection mobile phone A and the average delay situation of mobile phone B in this transmission of video process as transmission delay, last column average value from table can be found out, gap between mean value is not very large, and the mean value of getting so multiple image is to reflect mobile phone A and the average delay situation of mobile phone B in this transmission of video process to a certain extent.The average delay of form last column is the average delay level in this transmission of video process as mobile phone A and mobile phone B, and this time transmission delay is 1.21 seconds.
Table 1
Figure BDA00002388446700101
(2) for the every framing image in many framings image of choosing, according to the shown temporal information of first terminal device screen described in the every two field picture in described every framing image and the shown temporal information of described the second terminal equipment screen, calculate the first terminal equipment in every two field picture and the time difference of the second terminal equipment in described every framing image, obtain time delay corresponding to every two field picture in described every framing image, calculate according to time delay corresponding to every two field picture in described every framing image, using the mean value obtaining as time delay corresponding to described every framing image, calculate according to described time delay corresponding to many framings image of choosing, transmission delay using the mean value obtaining between described first terminal equipment and the second terminal equipment.
In step 207 on the basis of example, particularly, for 6 framing images of computer selecting, first calculate time delay corresponding to the 1st image in the 1st group, if the temporal information in the mobile phone A of computer acquisition is 00:12.1, temporal information in mobile phone B is 00:10.9, by two times are carried out to difference computing, the data 00:01.2 obtaining is the time delay of the picture in mobile phone B, then calculate successively the time delay of other two field picture in the 1st group, computer is after picture time delay corresponding to 30 two field pictures that calculated first group, calculate the time delay mean value of the 1st group, to choose 6 groups of images computation delay mean value respectively, the last time delay mean value according to the 6 framing images that obtain carries out average computing again, using the mean value obtaining as mobile phone A with the transmission delay of mobile phone B.By this test, can verify further whether the video time delay in transmission of video process meets the quality requirement of this equipment or this software.
In the present embodiment, the video image of first terminal equipment and the second terminal equipment is photographed in same two field picture, in the video of having avoided the video that sends at first terminal equipment and the second terminal equipment to receive, find the situation of the matching error of larger workload that same two field picture brings and appearance, further avoid time delay to calculate and occurred larger error, according to the shown temporal information of the first terminal device screen comprising in video data and the shown temporal information of the second terminal equipment screen, just can be by calculating the transmission delay between first terminal equipment and the second terminal equipment, thereby greatly simplify test process.
Fig. 3 is the structural representation of a kind of delay test device of providing of the embodiment of the present invention, and this device comprises:
Video data acquisition module 301, be used for obtaining video data, the described video data that obtains comprises the screen display of first terminal equipment and the screen display of the second terminal equipment, when described first terminal equipment shows the video data that comprises temporal information, by the described video data transmitting that comprises temporal information give described the second terminal equipment, described the second terminal equipment screen is received and show described in comprise temporal information video data;
Temporal information acquisition module 302, for according to described video data, obtains the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen;
Data processing module 303, for calculating according to the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen, obtains the transmission delay between described first terminal equipment and the second terminal equipment.
Described video data acquisition module 301 comprises:
Resolving cell, for resolving into described video data the form of two field picture;
Temporal information acquiring unit, for the two field picture corresponding according to described video data, obtains the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen.
Described temporal information acquiring unit comprises:
Very first time acquisition of information subelement, be used for from two field picture corresponding to described video data, choose multiframe consecutive image, obtain the shown temporal information of first terminal device screen described in every two field picture and the shown temporal information of described the second terminal equipment screen; Or,
The second temporal information is obtained subelement, be used for from two field picture corresponding to described video data, choose many framings image, every framing image comprises multiframe consecutive image, obtains the shown temporal information of first terminal device screen described in the every two field picture in described every group and the shown temporal information of described the second terminal equipment screen.
Described very first time acquisition of information subelement, specifically for shown temporal information and the shown temporal information of described the second terminal equipment screen of first terminal device screen described in every two field picture of choosing of basis, first terminal equipment in every two field picture that calculating is chosen and the time difference of the second terminal equipment, time delay corresponding to every two field picture of choosing described in obtaining, calculate the transmission delay using the mean value obtaining between described first terminal equipment and the second terminal equipment according to time delay corresponding to every two field picture of choosing described in obtaining; Or,
Described the second temporal information is obtained subelement, specifically for the every framing image in the many framings image for choosing, according to the shown temporal information of first terminal device screen described in the every two field picture in described every framing image and the shown temporal information of described the second terminal equipment screen, calculate the first terminal equipment in every two field picture and the time difference of the second terminal equipment in described every framing image, obtain time delay corresponding to every two field picture in described every framing image, calculate according to time delay corresponding to every two field picture in described every framing image, using the mean value obtaining as time delay corresponding to described every framing image, calculate according to described time delay corresponding to many framings image of choosing, transmission delay using the mean value obtaining between described first terminal equipment and the second terminal equipment.
Described video data acquisition module 301 is taken specifically for the screen of the screen to described first terminal equipment and the second terminal equipment by video capture device, obtains video data.
The delay test device that the present embodiment provides, by the video image of first terminal equipment and the second terminal equipment is photographed in same two field picture, in the video of having avoided the video that sends at first terminal equipment and the second terminal equipment to receive, find the situation of the matching error of larger workload that same two field picture brings and appearance, further avoid time delay to calculate and occurred larger error, according to the shown temporal information of the first terminal device screen comprising in video data and the shown temporal information of the second terminal equipment screen, just can be by calculating the transmission delay between first terminal equipment and the second terminal equipment, thereby greatly simplify test process.
It should be noted that: the delay test device that above-described embodiment provides is in the time carrying out delay test, only be illustrated with the division of above-mentioned each functional module, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, be divided into different functional modules by the internal structure of device, to complete all or part of function described above.In addition, the delay test device that above-described embodiment provides and the embodiment of the method for delay test belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a delay test method, is characterized in that, described method comprises:
Obtain video data, described video data comprises the screen display of first terminal equipment and the screen display of the second terminal equipment, when described first terminal equipment shows the video data that comprises temporal information, by the described video data transmitting that comprises temporal information give described the second terminal equipment, described the second terminal equipment screen is received and show described in comprise temporal information video data;
According to described video data, obtain the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen;
Calculate according to the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen, obtain the transmission delay between described first terminal equipment and the second terminal equipment.
2. method according to claim 1, is characterized in that, obtains the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen according to described video data, comprising:
Described video data is resolved into the form of two field picture;
The two field picture corresponding according to described video data, obtains the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen.
3. method according to claim 2, is characterized in that, the two field picture corresponding according to described video data obtains the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen, comprising:
From two field picture corresponding to described video data, choose multiframe consecutive image, obtain the shown temporal information of first terminal device screen described in every two field picture and the shown temporal information of described the second terminal equipment screen; Or,
From two field picture corresponding to described video data, choose many framings image, every framing image comprises multiframe consecutive image, obtains the shown temporal information of first terminal device screen described in the every two field picture in described every group and the shown temporal information of described the second terminal equipment screen.
4. method according to claim 3, it is characterized in that, calculate according to the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen, obtain the transmission delay between described first terminal equipment and the second terminal equipment, comprising:
According to the shown temporal information of first terminal device screen described in every two field picture of choosing and the shown temporal information of described the second terminal equipment screen, first terminal equipment in every two field picture that calculating is chosen and the time difference of the second terminal equipment, time delay corresponding to every two field picture of choosing described in obtaining, calculate the transmission delay using the mean value obtaining between described first terminal equipment and the second terminal equipment according to time delay corresponding to every two field picture of choosing described in obtaining; Or,
For the every framing image in many framings image of choosing, according to the shown temporal information of first terminal device screen described in the every two field picture in described every framing image and the shown temporal information of described the second terminal equipment screen, calculate the first terminal equipment in every two field picture and the time difference of the second terminal equipment in described every framing image, obtain time delay corresponding to every two field picture in described every framing image, calculate according to time delay corresponding to every two field picture in described every framing image, using the mean value obtaining as time delay corresponding to described every framing image, calculate according to described time delay corresponding to many framings image of choosing, transmission delay using the mean value obtaining between described first terminal equipment and the second terminal equipment.
5. according to the method described in claim 1-4 any one, it is characterized in that, obtain video data, comprising:
The screen of the screen by video capture device to described first terminal equipment and the second terminal equipment is taken, and obtains video data.
6. a delay test device, is characterized in that, described device comprises:
Video data acquisition module, be used for obtaining video data, the described video data that obtains comprises the screen display of first terminal equipment and the screen display of the second terminal equipment, when described first terminal equipment shows the video data that comprises temporal information, by the described video data transmitting that comprises temporal information give described the second terminal equipment, described the second terminal equipment screen is received and show described in comprise temporal information video data;
Temporal information acquisition module, for according to described video data, obtains the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen;
Data processing module, for calculating according to the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen, obtains the transmission delay between described first terminal equipment and the second terminal equipment.
7. device according to claim 6, is characterized in that, described video data acquisition module comprises:
Resolving cell, for resolving into described video data the form of two field picture;
Temporal information acquiring unit, for the two field picture corresponding according to described video data, obtains the shown temporal information of described first terminal device screen and the shown temporal information of described the second terminal equipment screen.
8. device according to claim 7, is characterized in that, described temporal information acquiring unit comprises:
Very first time acquisition of information subelement, be used for from two field picture corresponding to described video data, choose multiframe consecutive image, obtain the shown temporal information of first terminal device screen described in every two field picture and the shown temporal information of described the second terminal equipment screen; Or,
The second temporal information is obtained subelement, be used for from two field picture corresponding to described video data, choose many framings image, every framing image comprises multiframe consecutive image, obtains the shown temporal information of first terminal device screen described in the every two field picture in described every group and the shown temporal information of described the second terminal equipment screen.
9. device according to claim 8, it is characterized in that, described very first time acquisition of information subelement, specifically for shown temporal information and the shown temporal information of described the second terminal equipment screen of first terminal device screen described in every two field picture of choosing of basis, first terminal equipment in every two field picture that calculating is chosen and the time difference of the second terminal equipment, time delay corresponding to every two field picture of choosing described in obtaining, calculate according to time delay corresponding to every two field picture of choosing described in obtaining, transmission delay using the mean value obtaining between described first terminal equipment and the second terminal equipment, or,
Described the second temporal information is obtained subelement, specifically for the every framing image in the many framings image for choosing, according to the shown temporal information of first terminal device screen described in the every two field picture in described every framing image and the shown temporal information of described the second terminal equipment screen, calculate the first terminal equipment in every two field picture and the time difference of the second terminal equipment in described every framing image, obtain time delay corresponding to every two field picture in described every framing image, calculate according to time delay corresponding to every two field picture in described every framing image, using the mean value obtaining as time delay corresponding to described every framing image, calculate according to described time delay corresponding to many framings image of choosing, transmission delay using the mean value obtaining between described first terminal equipment and the second terminal equipment.
10. according to the device described in claim 6-9 any one, it is characterized in that, described video data acquisition module is taken specifically for the screen of the screen to described first terminal equipment and the second terminal equipment by video capture device, obtains video data.
CN201210450141.4A 2012-11-12 2012-11-12 Delayed testing method and device Pending CN103813161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210450141.4A CN103813161A (en) 2012-11-12 2012-11-12 Delayed testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210450141.4A CN103813161A (en) 2012-11-12 2012-11-12 Delayed testing method and device

Publications (1)

Publication Number Publication Date
CN103813161A true CN103813161A (en) 2014-05-21

Family

ID=50709294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210450141.4A Pending CN103813161A (en) 2012-11-12 2012-11-12 Delayed testing method and device

Country Status (1)

Country Link
CN (1) CN103813161A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105071980A (en) * 2015-07-13 2015-11-18 中国传媒大学 Intercom voice communication delay measurement method
CN105791986A (en) * 2014-12-23 2016-07-20 中国移动通信集团公司 Video time delay detection method and device
WO2016173279A1 (en) * 2015-04-30 2016-11-03 杭州海康威视数字技术股份有限公司 Image delay detection method and system
CN106534843A (en) * 2016-11-14 2017-03-22 北京凌宇智控科技有限公司 Delay measurement method and device
CN107734285A (en) * 2017-10-25 2018-02-23 北京奇艺世纪科技有限公司 A kind of picture time-delay calculation system, method and device
CN107801021A (en) * 2017-10-27 2018-03-13 优酷网络技术(北京)有限公司 Assess the methods, devices and systems of real-time video delay
CN110099299A (en) * 2018-01-30 2019-08-06 腾讯科技(深圳)有限公司 Video frame parameter acquiring method, acquisition device and computer readable storage medium
CN110427805A (en) * 2019-06-20 2019-11-08 平安科技(深圳)有限公司 Image display method, device, computer equipment and storage medium
CN110493592A (en) * 2018-05-14 2019-11-22 腾讯科技(深圳)有限公司 Video time delay measuring method, device, computer equipment and storage medium
CN110622521A (en) * 2017-10-04 2019-12-27 株式会社小松制作所 Work vehicle, control device, and work vehicle control method
CN111372105A (en) * 2020-03-26 2020-07-03 深圳市微测检测有限公司 Video information transmission delay test method, device, terminal and storage medium
CN111722964A (en) * 2019-03-21 2020-09-29 福建天泉教育科技有限公司 Screen-casting delay testing method and terminal
CN113068021A (en) * 2021-03-31 2021-07-02 北京飞讯数码科技有限公司 Delay testing method, device, equipment and storage medium
CN114112456A (en) * 2021-10-25 2022-03-01 新光维医疗科技(苏州)股份有限公司 Imaging detection device and method for endoscope system
CN114554181A (en) * 2020-11-27 2022-05-27 中国联合网络通信集团有限公司 Time delay detection method and system
CN115426534A (en) * 2022-08-25 2022-12-02 上海久尺网络科技有限公司 Video stream quality detection method, device, equipment and storage medium
CN115484492A (en) * 2022-11-11 2022-12-16 荣耀终端有限公司 Interface time delay obtaining method and device
CN116208533A (en) * 2023-02-23 2023-06-02 极限人工智能有限公司 Endoscope image transmission delay monitoring method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909678A (en) * 2006-08-11 2007-02-07 中国船舶重工集团公司第七○九研究所 Delay testing method for IP video communication system
CN1980405A (en) * 2005-12-08 2007-06-13 中兴通讯股份有限公司 System and method for detecting picture time delay
CN102316363A (en) * 2011-09-09 2012-01-11 华南理工大学 Method and devices for measuring video end-to-end delay by non-intrusive double-ended collection
CN102316357A (en) * 2011-09-09 2012-01-11 华南理工大学 Non-intrusive single-ended acquired video end-to-end time delay measuring method and device
CN102655585A (en) * 2012-04-16 2012-09-05 中国联合网络通信集团有限公司 Video conference system and time delay testing method, device and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980405A (en) * 2005-12-08 2007-06-13 中兴通讯股份有限公司 System and method for detecting picture time delay
CN1909678A (en) * 2006-08-11 2007-02-07 中国船舶重工集团公司第七○九研究所 Delay testing method for IP video communication system
CN102316363A (en) * 2011-09-09 2012-01-11 华南理工大学 Method and devices for measuring video end-to-end delay by non-intrusive double-ended collection
CN102316357A (en) * 2011-09-09 2012-01-11 华南理工大学 Non-intrusive single-ended acquired video end-to-end time delay measuring method and device
CN102655585A (en) * 2012-04-16 2012-09-05 中国联合网络通信集团有限公司 Video conference system and time delay testing method, device and system thereof

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791986A (en) * 2014-12-23 2016-07-20 中国移动通信集团公司 Video time delay detection method and device
CN105791986B (en) * 2014-12-23 2019-06-25 中国移动通信集团公司 The detection method and device of video time delay
CN106210708B (en) * 2015-04-30 2019-02-01 杭州海康威视数字技术股份有限公司 A kind of detection method and system of picture delay
WO2016173279A1 (en) * 2015-04-30 2016-11-03 杭州海康威视数字技术股份有限公司 Image delay detection method and system
CN106210708A (en) * 2015-04-30 2016-12-07 杭州海康威视数字技术股份有限公司 The detection method of a kind of picture delay and system
US10305613B2 (en) 2015-04-30 2019-05-28 Hangzhou Hikvision Digital Technology Co., Ltd. Method and system for detecting image delay
CN105071980A (en) * 2015-07-13 2015-11-18 中国传媒大学 Intercom voice communication delay measurement method
CN106534843A (en) * 2016-11-14 2017-03-22 北京凌宇智控科技有限公司 Delay measurement method and device
CN110622521A (en) * 2017-10-04 2019-12-27 株式会社小松制作所 Work vehicle, control device, and work vehicle control method
US11537121B2 (en) 2017-10-04 2022-12-27 Komatsu Ltd. Work vehicle, control device, and method for controlling work vehicle
CN107734285A (en) * 2017-10-25 2018-02-23 北京奇艺世纪科技有限公司 A kind of picture time-delay calculation system, method and device
CN107801021A (en) * 2017-10-27 2018-03-13 优酷网络技术(北京)有限公司 Assess the methods, devices and systems of real-time video delay
CN110099299A (en) * 2018-01-30 2019-08-06 腾讯科技(深圳)有限公司 Video frame parameter acquiring method, acquisition device and computer readable storage medium
CN110493592A (en) * 2018-05-14 2019-11-22 腾讯科技(深圳)有限公司 Video time delay measuring method, device, computer equipment and storage medium
CN110493592B (en) * 2018-05-14 2021-09-10 腾讯科技(深圳)有限公司 Video time delay testing method and device, computer equipment and storage medium
CN111722964A (en) * 2019-03-21 2020-09-29 福建天泉教育科技有限公司 Screen-casting delay testing method and terminal
CN110427805A (en) * 2019-06-20 2019-11-08 平安科技(深圳)有限公司 Image display method, device, computer equipment and storage medium
CN110427805B (en) * 2019-06-20 2024-03-19 平安科技(深圳)有限公司 Video display method, apparatus, computer device and storage medium
CN111372105A (en) * 2020-03-26 2020-07-03 深圳市微测检测有限公司 Video information transmission delay test method, device, terminal and storage medium
CN114554181A (en) * 2020-11-27 2022-05-27 中国联合网络通信集团有限公司 Time delay detection method and system
CN113068021B (en) * 2021-03-31 2023-03-07 北京飞讯数码科技有限公司 Delay testing method, device, equipment and storage medium
CN113068021A (en) * 2021-03-31 2021-07-02 北京飞讯数码科技有限公司 Delay testing method, device, equipment and storage medium
CN114112456A (en) * 2021-10-25 2022-03-01 新光维医疗科技(苏州)股份有限公司 Imaging detection device and method for endoscope system
CN114112456B (en) * 2021-10-25 2024-04-02 新光维医疗科技(苏州)股份有限公司 Imaging detection device and method for endoscope system
CN115426534A (en) * 2022-08-25 2022-12-02 上海久尺网络科技有限公司 Video stream quality detection method, device, equipment and storage medium
CN115484492A (en) * 2022-11-11 2022-12-16 荣耀终端有限公司 Interface time delay obtaining method and device
CN116208533A (en) * 2023-02-23 2023-06-02 极限人工智能有限公司 Endoscope image transmission delay monitoring method and system
CN116208533B (en) * 2023-02-23 2023-10-20 极限人工智能有限公司 Endoscope image transmission delay monitoring method and system

Similar Documents

Publication Publication Date Title
CN103813161A (en) Delayed testing method and device
CN102655585B (en) Video conference system and time delay testing method, device and system thereof
CN104427402A (en) Wireless network stream media quality acquisition method and system
CN105959620A (en) Panorama video synchronization display method and panorama video synchronization display device
CN112994980B (en) Time delay test method, device, electronic equipment and storage medium
CN105208065A (en) File transmitting method and device
WO2023056896A1 (en) Definition determination method and apparatus, and device
CN104679879A (en) Intelligent storage method and intelligent storage device for photo
WO2023193521A1 (en) Video inpainting method, related apparatus, device and storage medium
CN202444580U (en) System, terminal and server capable of acquiring television program screenshot
CN113781319A (en) HDR video conversion method, device, equipment and computer storage medium
CN112422882A (en) Method and device for providing video source for video conference system
CN110234029B (en) Playing processing method, device, equipment and storage medium of multi-sensor data
CN103796005A (en) Video frame rate test method and device
CN102395141B (en) Recurrence method and equipment based on consistency testing
US9485458B2 (en) Data processing method and device
CN110659006A (en) Cross-screen display method and device, electronic equipment and readable storage medium
CN103825864A (en) Data acquisition and transmission method and user equipment
CN104253943A (en) Video shooting method and device using mobile terminal
CN112073711B (en) Method, system and equipment for simulating and debugging camera performance parameters of intelligent equipment
CN110347597B (en) Interface testing method and device of picture server, storage medium and mobile terminal
CN104935803A (en) Image acquisition method and electronic equipment
CN111083518B (en) Method, device, medium and electronic equipment for tracking live broadcast target
US10917679B2 (en) Video recording of a display device
CN111314627A (en) Method and apparatus for processing video frames

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140521