CN115002449A - Method and device for testing media asset playing - Google Patents
Method and device for testing media asset playing Download PDFInfo
- Publication number
- CN115002449A CN115002449A CN202210601526.XA CN202210601526A CN115002449A CN 115002449 A CN115002449 A CN 115002449A CN 202210601526 A CN202210601526 A CN 202210601526A CN 115002449 A CN115002449 A CN 115002449A
- Authority
- CN
- China
- Prior art keywords
- playing
- tested
- online
- local point
- data
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application provides a method and a device for testing media asset playing. The testing method comprises the steps of obtaining a media asset identification of a media asset to be tested and a corresponding local point on the line; acquiring a corresponding local point playing standard according to the local point; acquiring a plurality of online play data and at least one office point play data of the media assets to be tested according to the media asset identification and the office points; judging whether the playing data on the plurality of lines conform to the pre-stored playing data or not; if the playing data on any one line does not accord with the pre-stored playing data, generating first prompt information; if the playing data on the plurality of lines all accord with the pre-stored playing data, judging whether the local point playing data accord with the local point playing standard; and if the local point playing data does not accord with the local point playing standard, generating second prompt information. The method converts the traditional manual testing process into an automatic testing process based on the online playing data and the local playing data, and improves the testing efficiency and the accuracy.
Description
Technical Field
The application relates to the technical field of internet televisions, in particular to a method and a device for testing media asset playing.
Background
In the field of internet television technology, media resources are used to refer to video resources played on a video playing platform. A asset may comprise only one video or may comprise a plurality of videos, for example a movie comprises one video and for example a tv show or a set of shows comprises a plurality of videos. If the problems of playing data loss, abnormal acquisition of a playing address of the media asset, video resolution not meeting the playing standard and the like exist in the media asset of the video playing platform, the media asset cannot be played normally.
In practical applications, the playing standards of different local points of the same video playing platform may be different. Wherein the office point is a specific regional operator. For example, the playing standard of the wired in province a (the first office point) requires that the video encoding mode of the online media resources must adopt an h.264 encoding mode, the playing standard of the communication in city B (the second office point) requires that the video resolution of the online media resources is not higher than 1080P, and the mobile in city B (the third office point) prohibits the online of specific media resources. That is, a certain asset may be played normally at the first local point, and may not be played normally at the second local point or the third local point.
Therefore, before the media asset is online, the playing condition of the media asset needs to be tested for different local places. The current method for testing the media asset playing generally adopts a manual playing mode, namely, the media assets are played one by one to test the playing condition of the media assets and then summarized into a test result table. The manual playing mode has low testing efficiency and accuracy.
Disclosure of Invention
In order to solve the problems that the playing condition of media assets is tested by adopting a manual playing mode in the prior art, and the testing efficiency and the accuracy are low, the application provides a testing method and a testing device for media asset playing through the following aspects.
A first aspect of the present application provides a method for testing media asset playing, including:
acquiring a media asset identifier of a media asset to be tested and a corresponding online local point, wherein the media asset identifier is used for indicating the media asset to be tested;
acquiring a corresponding local point playing standard according to the local point;
acquiring a plurality of online playing data of the media assets to be tested and at least one local point playing data according to the media asset identification and the local point;
judging whether the plurality of online playing data accord with the pre-stored playing data or not;
if any one online playing data does not accord with the prestored playing data, generating first prompt information, wherein the first prompt information is used for indicating that at least one online playing data in the media asset to be tested does not accord with the prestored playing data;
if the on-line playing data all accord with the pre-stored playing data, judging whether the local point playing data accord with the local point playing standard;
and if any one of the local point playing data does not accord with the local point playing standard, generating second prompt information, wherein the second prompt information is used for indicating that at least one local point playing data in the media asset to be tested does not accord with the local point playing standard.
Optionally, the operation of obtaining online playing data of the media assets to be tested according to the media asset identifier and the local point includes:
acquiring an online play string of the medium resource to be tested according to the medium resource identification and the local point;
judging whether the online play string accords with a pre-stored play string;
if the online play string accords with a pre-stored play string, acquiring a video play link;
acquiring online playing data of the media assets to be tested according to the video playing link;
and if the online play string does not accord with the pre-stored play string, generating third prompt information, wherein the third prompt information is used for indicating that the online play string of the medium resource to be tested does not accord with the pre-stored play string.
Optionally, in the operation of obtaining the online play string of the to-be-tested media asset:
and if the online play string of the medium resource to be tested is not acquired according to the medium resource identification and the local point, generating fourth prompt information, wherein the fourth prompt information is used for indicating that the online play string of the medium resource to be tested is abnormal in acquisition.
Optionally, in the operation of obtaining the video playing link:
and if the video playing connection is not acquired, generating fifth prompt information, wherein the fifth prompt information is used for indicating that the video playing connection of the medium resource to be tested is acquired abnormally.
Optionally, the method further includes:
if the local point playing data all accord with the local point playing standard, playing the media assets to be tested;
in the process of playing the media assets to be tested, capturing a screen of a playing picture of the media assets to be tested, and acquiring a screen capture image;
and storing the screenshot image to the local equipment.
A second aspect of the present application provides a testing apparatus for media asset playing, configured to execute the testing method for media asset playing provided by the first aspect of the present application, where the testing apparatus includes:
the data acquisition unit is used for acquiring a media asset identifier of a media asset to be tested and a corresponding upper line local point, wherein the media asset identifier is used for indicating the media asset to be tested;
the standard storage unit is used for storing the local point playing standards of different local points;
a standard obtaining unit, configured to obtain, according to a local point, a corresponding local point playing standard;
a test execution unit to perform the following operations:
acquiring a plurality of online playing data of the media assets to be tested and at least one local point playing data according to the media asset identification and the local point;
judging whether the plurality of online playing data accord with the pre-stored playing data or not;
if any one online playing data does not accord with the prestored playing data, first prompt information is generated, wherein the first prompt information is used for indicating that at least one online playing data in the media asset to be tested does not accord with the prestored playing data;
if the on-line playing data accords with the pre-stored playing data, judging whether the local point playing data accords with the local point playing standard;
and if the local point playing data does not accord with the local point playing standard, generating second prompt information, wherein the second prompt information is used for indicating that at least one local point playing data in the media assets to be tested does not accord with the local point playing standard.
Optionally, when the operation of acquiring the online playing data of the medium asset to be tested according to the medium asset identifier and the local point is executed, the test execution unit is further configured to execute the following operations:
acquiring an online play string of the medium resource to be tested according to the medium resource identification and the local point;
judging whether the online play string accords with a pre-stored play string;
if the online play string accords with a pre-stored play string, acquiring a video play link;
acquiring online playing data of the media assets to be tested according to the video playing link;
and if the online play string does not accord with the pre-stored play string, generating third prompt information, wherein the third prompt information is used for indicating that the online play string of the medium asset to be tested does not accord with the pre-stored play string.
Optionally, in the operation of obtaining the online play string of the medium asset to be tested, the test execution unit is further configured to execute the following operations:
and if the online play string of the medium resource to be tested is not acquired according to the medium resource identification and the local point identification, generating fourth prompt information, wherein the fourth prompt information is used for indicating that the online play string of the medium resource to be tested is abnormal in acquisition.
Optionally, in the operation of obtaining the video playing link, the test execution unit is further configured to perform the following operations:
and if the video playing connection is not acquired, generating fifth prompt information, wherein the fifth prompt information is used for indicating that the video playing connection of the medium resource to be tested is acquired abnormally.
Optionally, the test execution unit is further configured to perform the following operations:
if the local point playing data all accord with the local point playing standard, playing the media assets to be tested;
in the process of playing the media assets to be tested, capturing a screen of a playing picture of the media assets to be tested, and acquiring a screen capture image;
and storing the screenshot image to the local equipment.
The application provides a method and a device for testing media asset playing. The testing method comprises the steps of obtaining a media asset identification of a media asset to be tested and a corresponding local point on the line; acquiring a corresponding local point playing standard according to the local point; acquiring a plurality of online playing data of the media assets to be tested and at least one local point playing data according to the media asset identification and the local point; judging whether the playing data on the plurality of lines conform to the pre-stored playing data or not; if the playing data on any one line does not accord with the pre-stored playing data, generating first prompt information; if the playing data on the plurality of lines all accord with the pre-stored playing data, judging whether the local point playing data accord with the local point playing standard; and if the local point playing data does not accord with the local point playing standard, generating second prompt information. The method converts the traditional manual testing process into an automatic testing process based on the online playing data and the local playing data, and improves the testing efficiency and the accuracy.
Drawings
Fig. 1 is a schematic workflow diagram of a testing method for media asset playing according to an embodiment of the present application;
FIG. 2 is an example of code segments of background data corresponding to the playing of a media asset in a video playing platform;
fig. 3 is an example of a code segment for determining whether a video is silent in a method for testing media asset playing provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a testing apparatus for media asset playing according to an embodiment of the present disclosure.
Detailed Description
To facilitate the description of the technical solutions of the present application, some concepts related to the present application will be described below. In the present application, the online playing data is used to refer to video playing data after media assets such as video code rate, video duration, video resolution, video encoding mode, video detail introduction, audio information, total number of media asset subsets, and the like are injected into the video playing platform, or display data during video playing. A media asset includes a plurality of online playback data in a video playback platform. In this application, the local point playing data may be specific on-line playing data determined according to the local point of the on-line of the media asset to be tested. According to the difference of the local points, the obtained local point playing data is also different. Illustratively, the office point playing standard of the first office point is that the video resolution of the online medium asset is not higher than 1080P, and the corresponding office point playing data is the video resolution of the medium asset to be tested; the local point playing standard of the second local point is that the video coding mode of the online media asset can only use H.264, and the corresponding local point playing data is the video coding mode of the media asset to be tested; the local point playing standard of the third local point is that the specific media asset is forbidden to be on line and the video coding mode of the media asset required to be on line can only use H.264, so that the corresponding local point playing data are two, one is the name of the media asset to be tested, and the other is the video coding mode of the media asset to be tested.
Referring to fig. 1, a schematic view of a workflow of a testing method for media asset playing provided in a first embodiment of the present application is shown. The method for testing media asset playing provided by this embodiment can be used in a device for testing media asset playing. The testing device is used for testing whether the media assets to be tested can be normally played at the local points corresponding to the online according to the media asset identification of the media assets to be tested and the local points corresponding to the online. As shown in fig. 1, the testing method provided by the present embodiment includes steps 101 to 107.
In this embodiment, the asset identifier of the asset to be tested and the corresponding local point on the line can be obtained from the asset data center. The media asset data center can be a database independent of the media asset playing testing device, and can also be a data storage unit in the media asset playing testing device. In other embodiments, the asset identifier of the asset to be tested and the corresponding local point on the line can also be obtained according to specific testing requirements. The method and the device do not specifically limit the media asset identification of the media asset to be tested and the acquisition mode of the corresponding online local point.
And 102, acquiring a corresponding local point playing standard according to the local point.
And 103, acquiring a plurality of online playing data of the media assets to be tested and at least one local point playing data according to the media asset identification and the local point.
Referring to fig. 3, an exemplary code segment of background data corresponding to the playing of the media asset in a video playing platform is shown. In the code fragment shown in FIG. 3, the video rate for obtaining the media asset is 4532kb/s, the video encoding mode is H.264, and the video resolution is 1920 × 1072.
When the local point of the medium resource to be tested is determined, the type of the obtained local point playing data can be determined.
The manner of obtaining the assets to be tested may be different according to different local points. Thus, in the testing method for playing media assets provided in this embodiment, step 103 further includes steps 1031-1035.
And step 1031, acquiring the online play string of the media asset to be tested according to the media asset identification and the local point.
According to different local points, the online play strings acquired by the same media asset are different. Illustratively, an online play string of a first office point acquires moviecode and palyurl of media assets to be tested in a video platform; the online playing string of the second local point needs to acquire moviecode, videocode, fileurl and playurl of the media resources to be tested in the video platform; and the online play string of the third local point needs to acquire the moviecode and the videoode of the media resource to be tested in the video platform.
Step 1032, determine whether the on-line play string matches the pre-stored play string.
And classifying the playing data and the playing strings corresponding to the media assets to be tested according to the local points, and pre-storing the playing data and the playing strings in a media asset data center. In the media asset data center, pre-stored play strings and pre-stored play data of the media assets to be tested are stored respectively according to the local points; that is, in the asset data center, the pre-stored data corresponding to different local points may be stored according to different data structures. The specific storage position and the specific acquisition mode of the pre-stored playing data and the pre-stored playing strings are not limited by the application.
And 1033, if the online play string matches the pre-stored play string, acquiring the video play link.
In this embodiment, if the obtained online play string is consistent with a play string pre-stored in the asset data center, the online play string of the asset to be tested is considered to be correct. And splicing the acquired contents of the online play strings to acquire a video play link of the media asset to be tested.
And 1034, acquiring online playing data of the media assets to be tested according to the video playing link.
In step 1035, if the online play string does not match the pre-stored play string, a third prompt message is generated, where the third prompt message is used to indicate that the online play string of the medium asset to be tested does not match the pre-stored play string.
In the operation of acquiring the online play string of the asset to be tested, there may be a case that the play string is not acquired, and therefore, step 103 further includes step 1036.
Step 1036, if the online play string of the media asset to be tested is not acquired according to the media asset identification and the local point, generating fourth prompt information, wherein the fourth prompt information is used for indicating that the online play string of the media asset to be tested is acquired abnormally.
In the operation of acquiring the video playback link, there may be a case where the video playback link is not acquired. For example, some local points need to send the spliced online play string to a corresponding CP (Content provider) side authentication interface for authentication. And only when the CP party returns the information that the authentication is passed, the video playing link can be obtained. Accordingly, step 103 further includes step 1037.
Step 1037, if the video playing connection is not obtained, generating fifth prompting information, where the fifth prompting information is used to indicate that the video playing connection of the media asset to be tested is obtained abnormally.
And 104, judging whether the playing data on the plurality of lines conform to the pre-stored playing data.
In one implementation, the online playing data and the pre-stored playing data are compared one by one. In this embodiment, background data of the media asset to be tested needs to be preprocessed to obtain online playing data corresponding to the audio information, so as to determine whether the media asset to be tested is played silently.
Referring to fig. 3, in the video playing platform, the background data of the normal media asset includes the video information (code option index is "index": 0) shown in fig. 3(a) and the audio information (code option index is "index": 1) shown in fig. 3 (b). According to whether the background data is analyzed to include the "index": 1, judging whether the media asset to be tested is silent or not. As shown in fig. 3(c), in the present embodiment, the on-line playing data corresponding to the audio information is processed as follows: "audio information: true "or" audio information: false ". In general, the audio information in the pre-stored playing data is "audio information: and (6) True ".
And 105, if the playing data on any one line does not accord with the pre-stored playing data, generating first prompt information, wherein the first prompt information is used for indicating that at least one line playing data in the media asset to be tested does not accord with the pre-stored playing data.
In this embodiment, the process of testing whether the media asset to be tested can be normally played by using the acquisition and judgment analysis of data such as online playing data, local point playing data, and online playing strings is a test process based on video background data. In the actual application process, there may be abnormal situations that background data detection is normal, but a playing picture has a screen splash or a screen blank, and the like. To this end, in some possible embodiments, the method for testing the media asset playing may further include step 108-.
And 108, if the local point playing data all accord with the local point playing standard, playing the media assets to be tested.
Step 109, in the process of playing the media assets to be tested, capturing a screen of the playing picture of the media assets to be tested, and acquiring a screen capture image. The screenshot image can be a video head frame, an intermediate frame or a tail frame.
And step 110, storing the screen shot image to the local equipment.
It should be noted that, after the media asset to be tested is formally on line, the media asset which is normally tested originally cannot be played due to some operations (such as possibly changing the media asset midway or other unknown abnormal operations), and tracing can be performed according to the screenshot image stored in the testing process.
The first embodiment of the application provides a method for testing media asset playing. The testing method comprises the steps of obtaining a media asset identification of a media asset to be tested and a corresponding local point on the line; acquiring a corresponding local point playing standard according to the local point; acquiring a plurality of online playing data of the media assets to be tested and at least one local point playing data according to the media asset identification and the local point; judging whether the plurality of online playing data accord with the pre-stored playing data or not; if the playing data on any one line does not accord with the pre-stored playing data, generating first prompt information; if the on-line playing data all accord with the pre-stored playing data, judging whether the local point playing data accord with the local point playing standard; and if the local point playing data does not accord with the local point playing standard, generating second prompt information. The method converts the traditional manual testing process into an automatic testing process based on the online playing data and the local playing data, avoids a large amount of repetitive and time-consuming operations, and improves the testing efficiency and the accuracy. Meanwhile, the method for testing media asset playing provided by the embodiment can flexibly perform configuration test according to different playing standards of different local points, and has strong expansibility.
The following describes the testing method for playing media assets provided by this embodiment with reference to an actual application scenario, so that those skilled in the art can better understand the content disclosed in this embodiment.
When the usage rights of 2000 media assets are acquired and the injection is completed, all video playing detection needs to be met at 3 different local points (a local wired line corresponds to a first local point, a local wired line corresponds to a second local point in city B, and a local mobile line corresponds to a third local point in city C). Different local point playing standards exist in each local point.
The local point playing standard of the city A is as follows: specific media resources are prohibited from getting online, such as the super flying fairy series; the video data can be obtained after the on-line playing string needs to obtain moviecode and palyurl. B, local point playing standard of city line: media resources are not limited; the playing string needs to acquire moviecode, videocode, fileurl and playurl to acquire video data; the video resolution supports up to 1080P. C, local point playing standard of moving in city: media resources are not limited, and moviecode and palyurl are required to be obtained when a string is played; the spliced online playing strings need to be authenticated through a CP side authentication interface, and then video links can be obtained; video coding is only available with h.264.
The testing device extracts the testing list of the to-be-tested assets corresponding to the newly injected 2000 assets according to the local points, namely, 3 to-be-tested asset lists are generated. And respectively executing the media asset testing methods according to the local points. Firstly, aiming at the city A, the media asset identification of the media asset to be tested and the corresponding local point on the line are obtained. Wherein, the asset identifier can be an asset content name. And requesting a playing flow interface of the video playing platform according to the media asset identifier to acquire video stream information. After testing 2000 parts of to-be-tested media assets corresponding to the to-be-tested media asset list corresponding to the wired line in city A is completely tested according to the testing method, testing 2000 parts of to-be-tested media assets of the wired to-be-tested media asset list in city B according to the testing method, and executing the testing method according to 2000 parts of to-be-tested media assets of the movable to-be-tested media asset list in city C.
Specifically, whether the online play string is normally acquired is judged; and if the online play string can not be normally acquired, outputting an online play string acquisition exception prompt. And if the online play string can be normally acquired, judging whether the online play string conforms to a pre-stored play string. If the online play string accords with the pre-stored play string, splicing the online play string to acquire a video play link; and if the online play string does not accord with the pre-stored play string, outputting an abnormal prompt of the online play string.
And acquiring a plurality of online playing data such as video code rate, video duration, video resolution, video coding method, video detailed description introduction information, audio information, total number of media asset subsets and the like through a video playing link. And comparing the online playing data with the pre-stored playing data of the media asset data center one by one, and judging whether the online playing data are normal or not. If any one of the online playing data is inconsistent with the corresponding pre-stored playing data, outputting a corresponding abnormal prompt. If the play data on all lines are in accordance with the pre-stored play data, further judging whether the local point play data is in accordance with the local point play standard.
The local point playing data is specific online playing data acquired by the testing device from the video playing platform according to different local points, for example, the local point playing data required to be acquired by a local line in the city B is video resolution.
And if the local point playing data all accord with the local point playing standard, playing the media assets to be tested, acquiring the screen capture image and storing the screen capture image to a local backup. And if the local point playing data does not conform to the local point playing standard brick, outputting a prompt that the local point playing data of the media asset to be tested is abnormal.
Finally, summarizing the testing conditions of the 2000 media assets tested in the batch to generate a summarizing result corresponding to each local point. Subsequently, data analysis, such as visualization analysis, can be performed according to the summary result; or automatically generating a test result mail and sending the test result to a specified mailbox address.
If the first test result shows that 10 abnormal assets in 2000 assets aiming at the line in the city A are abnormal assets, the operator adjusts or puts off the shelves for the assets according to the test result. And then, aiming at the 10 abnormal assets, executing the test process until all the assets to be tested are not abnormal.
And when all the assets to be tested are not abnormal, all the assets are formally on-line, and the production environment verification test can be carried out by using the asset testing method provided by the application. And if no abnormity exists, completing the test requirement closed loop.
Corresponding to the foregoing embodiment of the method for testing media asset playing, a second embodiment of the present application provides a device 40 for testing media asset playing. Referring to fig. 4, the test apparatus 40 includes a data acquisition unit 41, a standard storage unit 42, a standard acquisition unit 43, and a test execution unit 44.
The data acquisition unit 41 is configured to acquire a asset identifier of a asset to be tested and a corresponding upper-line local point, where the asset identifier is used to indicate the asset to be tested;
a standard storage unit 42, configured to store the local point playing standards of different local points;
a standard obtaining unit 43, configured to obtain, according to a local point, a corresponding local point playing standard;
a test execution unit 44 for performing the following operations:
acquiring a plurality of online playing data of the media assets to be tested and at least one local point playing data according to the media asset identification and the local point;
judging whether the playing data on the plurality of lines conform to the pre-stored playing data or not;
if any one online playing data does not accord with the prestored playing data, generating first prompt information, wherein the first prompt information is used for indicating that at least one online playing data in the media asset to be tested does not accord with the prestored playing data;
if the on-line playing data accords with the pre-stored playing data, judging whether the local point playing data accords with the local point playing standard;
and if the local point playing data does not accord with the local point playing standard, generating second prompt information, wherein the second prompt information is used for indicating that at least one local point playing data in the media assets to be tested does not accord with the local point playing standard.
In some embodiments, in performing the operation of obtaining the online playing data of the asset to be tested according to the asset identifier and the local point, the test execution unit 44 is further configured to perform the following operations:
acquiring an online play string of the media assets to be tested according to the media asset identification and the local point;
judging whether the online play string accords with a pre-stored play string;
if the online play string accords with a pre-stored play string, acquiring a video play link;
acquiring online playing data of the media assets to be tested according to the video playing link;
and if the online play string does not accord with the pre-stored play string, generating third prompt information, wherein the third prompt information is used for indicating that the online play string of the medium resource to be tested does not accord with the pre-stored play string.
In some embodiments, in the operation of obtaining the online play string of the asset to be tested, the test execution unit 44 is further configured to perform the following operations:
and if the online play string of the medium resource to be tested is not acquired according to the medium resource identification and the local point identification, generating fourth prompt information, wherein the fourth prompt information is used for indicating that the online play string of the medium resource to be tested is abnormal in acquisition.
In some embodiments, in the operation of obtaining the video playback link, the test execution unit 44 is further configured to:
and if the video playing connection is not acquired, generating fifth prompt information, wherein the fifth prompt information is used for indicating that the video playing connection of the medium resource to be tested is acquired abnormally.
In some embodiments, the test execution unit 44 is further configured to perform the following operations:
if the local point playing data all accord with the local point playing standard, playing the media assets to be tested;
in the process of playing the media assets to be tested, capturing a screen of a playing picture of the media assets to be tested, and acquiring a screen capture image;
and storing the screenshot image to the local equipment.
The operation and effect of the testing device 40 when applying the method can be referred to the description of the embodiment of the method, and will not be described herein again.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
Similar parts in all embodiments in the specification are referred to each other.
Claims (10)
1. A method for testing media asset playing is characterized by comprising the following steps:
acquiring a medium asset identifier of a medium asset to be tested and a corresponding online local point, wherein the medium asset identifier is used for indicating the medium asset to be tested;
acquiring a corresponding local point playing standard according to the local point;
acquiring a plurality of online playing data of the media assets to be tested and at least one local point playing data according to the media asset identification and the local point;
judging whether the plurality of online playing data accord with the pre-stored playing data or not;
if any one piece of online playing data does not accord with the prestored playing data, first prompt information is generated, wherein the first prompt information is used for indicating that at least one piece of online playing data in the media assets to be tested does not accord with the prestored playing data;
if the plurality of on-line playing data all accord with the pre-stored playing data, judging whether the local point playing data accord with the local point playing standard;
and if any one of the local point playing data does not accord with the local point playing standard, generating second prompt information, wherein the second prompt information is used for indicating that at least one of the local point playing data in the media assets to be tested does not accord with the local point playing standard.
2. The testing method of claim 1, wherein the operation of obtaining the online playing data of the assets to be tested according to the asset identification and the local point comprises:
acquiring the online play string of the media assets to be tested according to the media asset identification and the office point;
judging whether the online play string accords with a pre-stored play string;
if the online playing string accords with the pre-stored playing string, acquiring a video playing link;
acquiring online playing data of the media assets to be tested according to the video playing link;
and if the online play string does not conform to the prestored play string, generating third prompt information, wherein the third prompt information is used for indicating that the online play string of the medium asset to be tested does not conform to the prestored play string.
3. The testing method of claim 2, wherein in the operation of obtaining the on-line play string of the asset to be tested:
and if the online play string of the to-be-tested media asset is not acquired according to the media asset identification and the local point, generating fourth prompt information, wherein the fourth prompt information is used for indicating that the online play string of the to-be-tested media asset is abnormal in acquisition.
4. The test method according to claim 2, wherein in the operation of obtaining a video playback link:
and if the video playing connection is not acquired, generating fifth prompt information, wherein the fifth prompt information is used for indicating that the video playing link of the media asset to be tested is abnormal to acquire.
5. The method according to claim 1, wherein after the step of determining whether the office point playing data meets the office point playing standard, the method further comprises:
if the local point playing data all accord with the local point playing standard, playing the media assets to be tested;
in the process of playing the media assets to be tested, capturing a screen of a playing picture of the media assets to be tested, and acquiring a screen capture image;
and storing the screen shot image to a local device.
6. A testing apparatus for playing back media assets, characterized in that, the testing apparatus is used for executing the testing method for playing back media assets of any one of claims 1-5, and the testing apparatus comprises:
the data acquisition unit is used for acquiring a media asset identifier of a media asset to be tested and a corresponding upper line local point, wherein the media asset identifier is used for indicating the media asset to be tested;
the standard storage unit is used for storing the local point playing standards of different local points;
a standard obtaining unit, configured to obtain a corresponding local point playing standard according to the local point;
a test execution unit to perform the following operations:
acquiring a plurality of online playing data of the media assets to be tested and at least one local point playing data according to the media asset identification and the local point;
judging whether the online playing data conform to the pre-stored playing data or not;
if any one piece of online playing data does not accord with the prestored playing data, first prompt information is generated, wherein the first prompt information is used for indicating that at least one piece of online playing data in the media asset to be tested does not accord with the prestored playing data;
if the on-line playing data accords with the pre-stored playing data, judging whether the local point playing data accords with the local point playing standard;
and if any one of the office point playing data does not accord with the office point playing standard, generating second prompt information, wherein the second prompt information is used for indicating that at least one of the office point playing data in the media assets to be tested does not accord with the office point playing standard.
7. The testing device of claim 6, wherein when performing the operation of obtaining the online playing data of the asset to be tested according to the asset identifier and the local point, the test execution unit is further configured to perform the following operations:
acquiring the online play string of the media assets to be tested according to the media asset identification and the local point;
judging whether the online play string accords with a pre-stored play string;
if the online playing string accords with the pre-stored playing string, acquiring a video playing link;
acquiring online playing data of the media assets to be tested according to the video playing link;
and if the online play string does not conform to the prestored play string, generating third prompt information, wherein the third prompt information is used for indicating that the online play string of the medium asset to be tested does not conform to the prestored play string.
8. The testing apparatus of claim 7, wherein in the operation of obtaining the on-line play string of the asset to be tested, the test execution unit is further configured to perform the following operations:
and if the online play string of the media asset to be tested is not acquired according to the media asset identification and the office point identification, generating fourth prompt information, wherein the fourth prompt information is used for indicating that the online play string of the media asset to be tested is abnormal in acquisition.
9. The testing device according to claim 7, wherein in the operation of obtaining a video playback link, the test execution unit is further configured to perform the following operations:
and if the video playing connection is not acquired, generating fifth prompt information, wherein the fifth prompt information is used for indicating that the video playing connection of the media asset to be tested is acquired abnormally.
10. The test apparatus of claim 6, wherein the test execution unit is further configured to:
if the local point playing data all accord with the local point playing standard, playing the media assets to be tested;
in the process of playing the media assets to be tested, capturing a screen of a playing picture of the media assets to be tested, and acquiring a screen capture image;
and storing the screen shot image to a local device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210601526.XA CN115002449A (en) | 2022-05-30 | 2022-05-30 | Method and device for testing media asset playing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210601526.XA CN115002449A (en) | 2022-05-30 | 2022-05-30 | Method and device for testing media asset playing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115002449A true CN115002449A (en) | 2022-09-02 |
Family
ID=83031477
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210601526.XA Pending CN115002449A (en) | 2022-05-30 | 2022-05-30 | Method and device for testing media asset playing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115002449A (en) |
-
2022
- 2022-05-30 CN CN202210601526.XA patent/CN115002449A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6757027B1 (en) | Automatic video editing | |
US9460503B2 (en) | Automated video testing using QR codes embedded in a video stream | |
CN109413417B (en) | System and method for detecting interactive television service quality | |
CN107666460A (en) | Long-distance intelligent evidence-obtaining system and method based on mobile Internet | |
CN116189079A (en) | Abnormality detection method and device for monitoring equipment | |
CN102449629A (en) | Communication apparatus, communication method and communication system | |
CN116527879A (en) | Set top box testing method, device, medium and computer device | |
CN110581988B (en) | Signal quality detection method and device, electronic equipment and storage medium | |
CN115002449A (en) | Method and device for testing media asset playing | |
CN117494638A (en) | Verification method and verification platform for chip functions, electronic equipment and storage medium | |
CN112837640A (en) | Screen dynamic picture testing method, system, electronic equipment and storage medium | |
KR101987087B1 (en) | Product breakage tracking management apparatus for tracking the breakdown of a product in a factory and operating method thereof | |
CN113596587B (en) | Bullet screen implementation method and device, electronic equipment and readable medium | |
CN111736893B (en) | Software package version verification method and related device | |
US11398091B1 (en) | Repairing missing frames in recorded video with machine learning | |
CN113923443A (en) | Network video recorder testing method and device and computer readable storage medium | |
CN109672882B (en) | Set top box tuner testing method, terminal and storage medium | |
CN114610605A (en) | Test method, test device, terminal equipment and storage medium | |
CN113094285A (en) | Screen recording method, device, equipment and storage medium for test case operation process | |
KR100710997B1 (en) | Apparatus and method for capturing test picture | |
CN113489846A (en) | Voice interaction testing method, device, equipment and computer storage medium | |
CN113542724B (en) | Automatic detection method and system for video resources | |
CN116486893B (en) | UFS verification method and device, electronic equipment and computer readable storage medium | |
CN111274766B (en) | Method and terminal for checking file transcoding result | |
KR20150024972A (en) | System, verification apparatus, terminal device, method and computer-readable medium for verifying application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |