A method and device for testing media playback
By obtaining media resource identification and bureau point, and automatically judging online playback data and bureau point playback standards, the problem of low efficiency and accuracy of media resource playback test in the existing technology is solved, and efficient media resource playback test and adapt to different The standard of the bureau ensures the normal playback of media funds on multiple platforms.
Patent Information
- Application Number
- CN202210601526.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2042-05-30
AI Technical Summary
In the existing Internet TV technology, the efficiency and accuracy of media playback tests are low, and they cannot effectively adapt to the playback standards of different bureaus, resulting in media unable to play normally.
By obtaining media information identification and office points, obtaining online playback data and office points, we automatically determine whether the data meets the standards, generate prompt information, and play media information and screenshot storage when the standards are met, and realize automated testing process.
It improves the efficiency and accuracy of media playback tests, avoids the repetitive and time-consuming operation of manual manual tests, adapts to the playback standards of different bureaus, and ensures the normal playback of media on multiple platforms.
Smart Images

Figure CN115002449B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Internet television, and in particular to a method and device for testing media playback. Background Art
[0002] In the field of Internet TV technology, media assets refer to video resources played on video playback platforms. A media asset can include only one video or multiple videos, such as a movie including one video, or a TV series or a variety show including multiple videos. If the media assets of the video playback platform have problems such as missing playback data, abnormal acquisition of media asset playback addresses, and video resolution that does not meet playback standards, the media assets will not be played normally.
[0003] In actual applications, the playback standards of different bureaus of the same video playback platform may be different. Among them, the bureau is a specific regional operator. For example, the playback standard of Province A Cable (the first bureau) requires that the video encoding method of the online media must adopt the H.264 encoding method, the playback standard of City B Unicom (the second bureau) requires that the video resolution of the online media cannot be higher than 1080P, and City B Mobile (the third bureau) prohibits specific media from going online. In other words, a certain media can be played normally at the first bureau, but may not be played normally at the second or third bureau.
[0004] Therefore, before the media assets are put online, the playback of the media assets needs to be tested at different locations. The current media asset playback test method generally uses manual playback, that is, playing the media assets one by one to test the playback of the media assets, and then summarizing the test results into a table. This manual playback method has low test efficiency and accuracy. Summary of the invention
[0005] In order to solve the problem of low test efficiency and accuracy in the existing manual playback method for testing the playback of media resources, the present application provides a method and device for testing the playback of media resources through the following aspects.
[0006] The first aspect of the present application provides a method for testing media asset playback, including:
[0007] Obtaining a media asset identifier of the media asset to be tested and a corresponding online bureau point, wherein the media asset identifier is used to indicate the media asset to be tested;
[0008] According to the game point, obtain the corresponding game point playback standard;
[0009] According to the media asset identifier and the station point, multiple online playback data and at least one station point playback data of the media asset to be tested are obtained;
[0010] Determine whether multiple online playback data are consistent with pre-stored playback data;
[0011] If any of the online playback data does not match the pre-stored playback data, a first prompt message is generated, wherein the first prompt message is used to indicate that at least one of the online playback data in the media asset to be tested does not match the pre-stored playback data;
[0012] If multiple online playback data all meet the pre-stored playback data, then determine whether the site playback data meets the site playback standard;
[0013] If any station point playback data does not meet the station point playback standard, a second prompt information is generated, wherein the second prompt information is used to indicate that at least one station point playback data in the media resource to be tested does not meet the station point playback standard.
[0014] Optionally, the operation of obtaining online playback data of the media asset to be tested according to the media asset identifier and the site includes:
[0015] Obtain the online playback string of the media asset to be tested based on the media asset identifier and site location;
[0016] Determine whether the online play string matches the pre-stored play string;
[0017] If the online play string matches the pre-stored play string, the video play link is obtained;
[0018] Obtain online playback data of the media asset to be tested based on the video playback link;
[0019] If the online play string does not match the pre-stored play string, a third prompt information is generated, wherein the third prompt information is used to indicate that the online play string of the media asset to be tested does not match the pre-stored play string.
[0020] Optionally, in the operation of obtaining the online playback string of the media asset to be tested:
[0021] If the online play string of the media asset to be tested is not obtained according to the media asset identifier and the station point, a fourth prompt information is generated, wherein the fourth prompt information is used to indicate that the online play string of the media asset to be tested is obtained abnormally.
[0022] Optionally, when obtaining the video playback link:
[0023] If the video playback link is not obtained, a fifth prompt message is generated, wherein the fifth prompt message is used to indicate that the acquisition of the video playback link of the media asset to be tested is abnormal.
[0024] Optionally, also include:
[0025] If the data played by the local point meets the local point playback standard, the media resource to be tested is played;
[0026] During the playback of the media resource to be tested, a screenshot of the playback screen of the media resource to be tested is taken to obtain a screenshot image;
[0027] Save the screenshot to your local device.
[0028] The second aspect of the present application provides a media asset playback test device, which is used to execute the media asset playback test method provided in the first aspect of the present application, and the test device includes:
[0029] A data acquisition unit, used to acquire a media asset identifier of a media asset to be tested and a corresponding online bureau point, wherein the media asset identifier is used to indicate the media asset to be tested;
[0030] A standard storage unit, used to store the point playback standards of different points;
[0031] A standard acquisition unit, used for acquiring a corresponding game point playback standard according to the game point;
[0032] A test execution unit that performs the following operations:
[0033] According to the media asset identifier and the station point, multiple online playback data and at least one station point playback data of the media asset to be tested are obtained;
[0034] Determine whether multiple online playback data are consistent with pre-stored playback data;
[0035] If any of the online playback data does not match the pre-stored playback data, a first prompt message is generated, wherein the first prompt message is used to indicate that at least one of the online playback data in the media asset to be tested does not match the pre-stored playback data;
[0036] If the online playback data matches the pre-stored playback data, then determine whether the site playback data matches the site playback standard;
[0037] If there is station point playback data that does not meet the station point playback standard, a second prompt information is generated, wherein the second prompt information is used to indicate that there is at least one station point playback data in the media resource to be tested that does not meet the station point playback standard.
[0038] Optionally, when performing the operation of acquiring online playback data of the media asset to be tested according to the media asset identifier and the station point, the test execution unit is further configured to perform the following operations:
[0039] Obtain the online playback string of the media asset to be tested based on the media asset identifier and site location;
[0040] Determine whether the online play string matches the pre-stored play string;
[0041] If the online play string matches the pre-stored play string, the video play link is obtained;
[0042] Obtain online playback data of the media asset to be tested based on the video playback link;
[0043] If the online play string does not match the pre-stored play string, a third prompt information is generated, wherein the third prompt information is used to indicate that the online play string of the media asset to be tested does not match the pre-stored play string.
[0044] Optionally, in the operation of obtaining the online play string of the media asset to be tested, the test execution unit is further configured to perform the following operations:
[0045] If the online play string of the media asset to be tested is not obtained according to the media asset identifier and the station identifier, fourth prompt information is generated, wherein the fourth prompt information is used to indicate that the online play string of the media asset to be tested is obtained abnormally.
[0046] Optionally, in the operation of obtaining the video playback link, the test execution unit is further configured to perform the following operations:
[0047] If the video playback connection is not obtained, a fifth prompt message is generated, wherein the fifth prompt message is used to indicate that the acquisition of the video playback connection of the media asset to be tested is abnormal.
[0048] Optionally, the test execution unit is further configured to perform the following operations:
[0049] If the data played by the local point meets the local point playback standard, the media resource to be tested is played;
[0050] During the playback of the media resource to be tested, a screenshot of the playback screen of the media resource to be tested is taken to obtain a screenshot image;
[0051] Save the screenshot to your local device.
[0052] The present application provides a method and device for testing media asset playback. The testing method includes obtaining the media asset identifier and the corresponding online bureau point of the media asset to be tested; according to the bureau point, obtaining the corresponding bureau point playback standard; according to the media asset identifier and the bureau point, obtaining multiple online playback data and at least one bureau point playback data of the media asset to be tested; judging whether the multiple online playback data conform to the pre-stored playback data; if any of the online playback data does not conform to the pre-stored playback data, generating a first prompt message; if the multiple online playback data conform to the pre-stored playback data, judging whether the bureau point playback data conforms to the bureau point playback standard; if the bureau point playback data does not conform to the bureau point playback standard, generating a second prompt message. The method converts the traditional manual testing process into an automated testing process based on online playback data and bureau point playback data, thereby improving the testing efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1A schematic diagram of a workflow of a media asset playback test method provided in an embodiment of the present application;
[0054] Figure 2 This is an example of a code snippet of the background data corresponding to the media asset playback on a video playback platform;
[0055] Figure 3 An example of a code snippet for determining whether a video is silent in a media asset playback test method provided in an embodiment of the present application;
[0056] Figure 4 A structural diagram of a media resource playback test device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] To facilitate the description of the technical solution of the application, some concepts involved in this application are first described below. In this application, online playback data is used to refer to video playback data after the media assets are injected into the video playback platform, such as video bit rate, video length, video resolution, video encoding method, video details, audio information, total number of media asset subsets, or display data during video playback. A media asset includes multiple online playback data in the video playback platform. In this application, the station playback data can be specific online playback data determined based on the station where the media asset to be tested is online. Depending on the station, the station playback data obtained is also different. For example, the first station point's station point playback standard is that the video resolution of the online media is not higher than 1080P, and the corresponding station point playback data is the video resolution of the media to be tested; the second station point's station point playback standard is that the video encoding method of the online media can only use H.264, and the corresponding station point playback data is the video encoding method of the media to be tested; the third station point's station point playback standard is that specific media resources are prohibited from going online and that the video encoding method of the online media can only use H.264, and the corresponding station point playback data is two, one is the media name of the media to be tested, and the other is the video encoding method of the media to be tested.
[0058] See also Figure 1 , is a workflow diagram of a media asset playback test method provided in the first embodiment of the present application. The media asset playback test method provided in this embodiment can be used in a media asset playback test device. The test device is used to test whether the media asset to be tested can be played normally at the corresponding online station according to the media asset identifier of the media asset to be tested and the corresponding online station. Figure 1 As shown, the testing method provided in this embodiment includes steps 101 to 107.
[0059] Step 101: obtaining a media asset identifier of a media asset to be tested and a corresponding online station, wherein the media asset identifier is used to indicate the media asset to be tested.
[0060] In this embodiment, the media asset identification and the corresponding online bureau point of the media asset to be tested can be obtained from the media asset data center. The media asset data center can be a database independent of the media asset playback test device, or it can be a data storage unit in the media asset playback test device. In some other embodiments, the media asset identification and the corresponding online bureau point of the media asset to be tested can also be obtained according to specific test requirements. This application does not specifically limit the method for obtaining the media asset identification and the corresponding online bureau point of the media asset to be tested.
[0061] Step 102: Obtain the corresponding station point playback standard according to the station point.
[0062] Step 103: Acquire a plurality of online play data and at least one play data of a media asset to be tested according to the media asset identifier and the site.
[0063] See also Figure 3 , a code snippet of the background data corresponding to the media asset playback in a video playback platform is given as an example. Figure 3 In the code snippet shown, the video bit rate of the media resource that can be obtained is 4532kb / s, the video encoding method is H.264, and the video resolution is 1920×1072.
[0064] When the station of the media resource to be tested is determined, the specific types of the acquired station playback data can be determined.
[0065] The method of obtaining the media resource to be tested may be different depending on the location. Thus, in the media resource playback test method provided in this embodiment, step 103 further includes steps 1031-1035.
[0066] Step 1031: Obtain the online play string of the media resource to be tested according to the media resource identifier and the station point.
[0067] Depending on the location, the online play string obtained for the same media asset is also different. For example, the online play string of the first location obtains the moviecode and playurl of the media asset to be tested in the video platform; the online play string of the second location needs to obtain the moviecode, videocode, fileurl and playurl of the media asset to be tested in the video platform; the online play string of the third location needs to obtain the moviecode and videocode of the media asset to be tested in the video platform.
[0068] Step 1032, determining whether the online play string matches the pre-stored play string.
[0069] The playback data and playback strings corresponding to the media asset to be tested are classified according to the bureau points and pre-stored in the media asset data center. In the media asset data center, the pre-stored playback strings and pre-stored playback data of the media asset to be tested are stored separately according to the bureau points; that is, in the media asset data center, the pre-stored data corresponding to different bureau points can be stored according to different data structures. This application does not limit the specific storage location and acquisition method of the pre-stored playback data and pre-stored playback strings.
[0070] Step 1033: If the online play string matches the pre-stored play string, a video play link is obtained.
[0071] In this embodiment, if the obtained online play string is consistent with the play string pre-stored in the media asset data center, the online play string of the media asset to be tested is considered correct. The contents of the obtained online play string are spliced to obtain the video play link of the media asset to be tested.
[0072] Step 1034: Obtain online playback data of the media asset to be tested according to the video playback link.
[0073] Step 1035: If the online play string does not match the pre-stored play string, a third prompt message is generated, wherein the third prompt message is used to indicate that the online play string of the media asset to be tested does not match the pre-stored play string.
[0074] In the operation of obtaining the online play string of the media asset to be tested, there may be a situation where the play string cannot be obtained, so step 103 further includes step 1036.
[0075] Step 1036: If the online play string of the media asset to be tested is not obtained according to the media asset identifier and the station point, a fourth prompt information is generated, wherein the fourth prompt information is used to indicate that the online play string of the media asset to be tested is abnormally obtained.
[0076] In the operation of obtaining the video playback link, there may be a situation where the video playback link cannot be obtained. For example, some bureaus need to send the spliced online playback string to the corresponding CP (Content Provide) authentication interface for authentication. Only when the CP returns the information that the authentication is passed can the video playback link be obtained. Therefore, step 103 further includes step 1037.
[0077] Step 1037: if the video playback link is not obtained, a fifth prompt message is generated, wherein the fifth prompt message is used to indicate that the acquisition of the video playback link of the media asset to be tested is abnormal.
[0078] Step 104, determining whether the plurality of online play data conforms to the pre-stored play data.
[0079] In one implementation, multiple online play data are compared with pre-stored play data one by one. In this embodiment, the background data of the media asset to be tested needs to be pre-processed to obtain online play data corresponding to the audio information to determine whether the media asset to be tested is played silently.
[0080] See also Figure 3 In the video playback platform, the background data of normal media resources includes Figure 3 The video information shown in (a) (code option index is "index": 0) is the same as Figure 3 (b) shows the audio information (code option index is "index": 1). By analyzing whether the background data includes the index mark of "index": 1, it is determined whether the media asset to be tested is silent. Figure 3 As shown in (c), in this embodiment, the online playback data corresponding to the audio information is processed as: "audio information: True" or "audio information: False". Generally, the audio information in the pre-stored playback data is "audio information: True".
[0081] Step 105: if any online play data does not match the pre-stored play data, generate first prompt information, wherein the first prompt information is used to indicate that at least one online play data in the media asset to be tested does not match the pre-stored play data.
[0082] Step 106: If the plurality of online play data all conform to the pre-stored play data, it is determined whether the local play data conforms to the local play standard.
[0083] Step 107: if any station playback data does not meet the station playback standard, generate second prompt information, wherein the second prompt information is used to indicate that at least one station playback data in the media resource to be tested does not meet the station playback standard.
[0084] In this embodiment, the acquisition and judgment analysis of online playback data, local playback data, and online playback strings to test whether the media asset to be tested can be played normally is based on the video background data test process. In actual application, there may be abnormal situations such as the background data detection is normal, but the playback screen has abnormalities such as a distorted screen or a black screen. For this reason, in some possible embodiments, the media asset playback test method may also include steps 108-110.
[0085] Step 108: If the local point playback data all meet the local point playback standard, the media resource to be tested is played.
[0086] Step 109: During the playback of the media resource to be tested, a screenshot is taken of the playback screen of the media resource to be tested to obtain a screenshot image, wherein the screenshot image may be the first frame, middle frame or last frame of the video.
[0087] Step 110: store the screenshot image to a local device.
[0088] It should be noted that after the media resources to be tested are officially launched, due to certain operations (such as changing the media resources midway or other unknown abnormal operations), the media resources that were originally tested normally cannot be played, and the source can also be traced based on the screenshots stored during the test.
[0089] The first embodiment of the present application provides a method for testing media asset playback. The testing method includes obtaining the media asset identifier and the corresponding online bureau point of the media asset to be tested; according to the bureau point, obtaining the corresponding bureau point playback standard; according to the media asset identifier and the bureau point, obtaining multiple online playback data and at least one bureau point playback data of the media asset to be tested; judging whether the multiple online playback data conform to the pre-stored playback data; if any of the online playback data does not conform to the pre-stored playback data, generating a first prompt message; if the multiple online playback data conform to the pre-stored playback data, judging whether the bureau point playback data conforms to the bureau point playback standard; if there is bureau point playback data that does not conform to the bureau point playback standard, generating a second prompt message. The method converts the traditional manual testing process into an automated testing process based on online playback data and bureau point playback data, avoiding a large number of repetitive and time-consuming operations, and improving the test efficiency and accuracy. At the same time, the media asset playback testing method provided in this embodiment can be flexibly configured and tested according to different playback standards of different bureau points, and has strong expansibility.
[0090] The media asset playback test method provided in this embodiment is described below in conjunction with actual application scenarios, so that those skilled in the art can better understand the content disclosed in this embodiment.
[0091] The copyright of a batch of 2,000 media resources has been obtained and injected. All video playback tests need to be met at three different locations (City A cable corresponds to the first location, City B cable corresponds to the second location, and City C mobile corresponds to the third location). Each location has different playback standards.
[0092] Among them, the broadcast standard of cable stations in City A: certain media resources are prohibited from going online, such as the "Super Wings" series; the online playback string needs to obtain moviecode and playurl to obtain video data. The broadcast standard of cable stations in City B: no restrictions on media resources; the playback string needs to obtain moviecode, videocode, fileurl and playurl to obtain video data; the maximum video resolution supports 1080P. The broadcast standard of mobile stations in City C: no restrictions on media resources, the playback string needs to obtain moviecode and playurl; the spliced online playback string needs to be authenticated by the CP authentication interface before the video link can be obtained; only H.264 can be used for video encoding.
[0093] The test device extracts the test list of the media assets to be tested corresponding to the newly injected 2000 media assets according to the bureau point, that is, generates 3 lists of media assets to be tested. The media asset testing method is executed according to the bureau point. First, for City A, the media asset identifier and the corresponding bureau point to be tested are obtained. Among them, the media asset identifier can be the name of the media asset content. According to the media asset identifier, the playback process interface of the video playback platform is requested to obtain the video stream information. After all the 2000 media assets to be tested corresponding to the list of media assets to be tested corresponding to the cable in City A are tested according to the test method, the 2000 media assets to be tested in the list of media assets to be tested in the cable in City B are tested according to the test method, and then the test method is executed for the 2000 media assets to be tested in the list of media assets to be tested in the mobile in City C.
[0094] Specifically, first determine whether the online play string is obtained normally; if the online play string cannot be obtained normally, output an abnormal prompt of obtaining the online play string. If the online play string can be obtained normally, determine whether the online play string conforms to the pre-stored play string. If the online play string conforms to the pre-stored play string, splice the online play string and obtain the video play link; if the online play string does not conform to the pre-stored play string, output an abnormal prompt of the online play string.
[0095] Through the video playback link, multiple online playback data such as video bit rate, video duration, video resolution, video encoding method, video detailed introduction information, audio information, total number of media asset subsets, etc. are obtained. Compare them one by one with the pre-stored playback data in the media asset data center to determine whether the online playback data is normal. If any online playback data is inconsistent with the corresponding pre-stored playback data, the corresponding abnormal prompt is output. If all online playback data conforms to the pre-stored playback data, further determine whether the local playback data conforms to the local playback standard.
[0096] The local point playback data is specific online playback data obtained by the test device from the video playback platform according to different local points. For example, the local point playback data that the cable TV in City B needs to obtain is the video resolution.
[0097] If the local point playback data all meet the local point playback standard, the media asset to be tested is played, and the screenshot image is obtained and saved to the local backup. If the local point playback data does not meet the local point playback standard, a prompt indicating that the local point playback data of the media asset to be tested is abnormal is output.
[0098] Finally, the test results of the 2,000 media assets in this batch are summarized to generate the summary results corresponding to each station. Data analysis, such as visual analysis, can be performed based on the summary results; the test result email can also be automatically generated to send the test result to a specified email address.
[0099] If the first test result shows that 10 of the 2,000 media assets in City A are abnormal, the operator will adjust or remove the above media assets based on the test results. Then, the above test process will be performed again for these 10 abnormal media assets until all the media assets to be tested are normal.
[0100] When all the media resources to be tested are normal, all the media resources are officially launched, and the media resource testing method provided in this application can be used to perform production environment verification testing. If there are no abnormalities, the test requirement closed loop is completed.
[0101] Corresponding to the embodiment of the test method for media asset playback described above, the second embodiment of the present application provides a test device 40 for media asset playback. Figure 4 The test device 40 includes a data acquisition unit 41, a standard storage unit 42, a standard acquisition unit 43, and a test execution unit 44.
[0102] The data acquisition unit 41 is used to acquire the media asset identifier of the media asset to be tested and the corresponding online bureau point, wherein the media asset identifier is used to indicate the media asset to be tested;
[0103] A standard storage unit 42, used to store the local point playback standards of different local points;
[0104] A standard acquisition unit 43, used for acquiring a corresponding game point playback standard according to the game point;
[0105] The test execution unit 44 is used to perform the following operations:
[0106] According to the media asset identifier and the station point, multiple online playback data and at least one station point playback data of the media asset to be tested are obtained;
[0107] Determine whether multiple online playback data are consistent with pre-stored playback data;
[0108] If any of the online playback data does not match the pre-stored playback data, a first prompt message is generated, wherein the first prompt message is used to indicate that at least one of the online playback data in the media asset to be tested does not match the pre-stored playback data;
[0109] If the online playback data matches the pre-stored playback data, then determine whether the site playback data matches the site playback standard;
[0110] If there is station point playback data that does not meet the station point playback standard, a second prompt information is generated, wherein the second prompt information is used to indicate that there is at least one station point playback data in the media resource to be tested that does not meet the station point playback standard.
[0111] In some embodiments, when performing the operation of acquiring online playback data of the media asset to be tested according to the media asset identifier and the site, the test execution unit 44 is further configured to perform the following operations:
[0112] Obtain the online playback string of the media asset to be tested based on the media asset identifier and site location;
[0113] Determine whether the online play string matches the pre-stored play string;
[0114] If the online play string matches the pre-stored play string, the video play link is obtained;
[0115] Obtain online playback data of the media asset to be tested based on the video playback link;
[0116] If the online play string does not match the pre-stored play string, a third prompt information is generated, wherein the third prompt information is used to indicate that the online play string of the media asset to be tested does not match the pre-stored play string.
[0117] In some embodiments, in the operation of obtaining the online play string of the media asset to be tested, the test execution unit 44 is further configured to perform the following operations:
[0118] If the online play string of the media asset to be tested is not obtained according to the media asset identifier and the station identifier, fourth prompt information is generated, wherein the fourth prompt information is used to indicate that the online play string of the media asset to be tested is obtained abnormally.
[0119] In some embodiments, in the operation of obtaining the video playback link, the test execution unit 44 is further configured to perform the following operations:
[0120] If the video playback connection is not obtained, a fifth prompt message is generated, wherein the fifth prompt message is used to indicate that the acquisition of the video playback connection of the media asset to be tested is abnormal.
[0121] In some embodiments, the test execution unit 44 is further configured to perform the following operations:
[0122] If the data played by the local point meets the local point playback standard, the media resource to be tested is played;
[0123] During the playback of the media resource to be tested, a screenshot of the playback screen of the media resource to be tested is taken to obtain a screenshot image;
[0124] Save the screenshot to your local device.
[0125] The effects of the above-mentioned testing device 40 when applying the above-mentioned method can be found in the description of the above-mentioned method embodiment, which will not be repeated here.
[0126] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes the common knowledge or customary techniques in the art disclosed in the present application. The specification and examples are only considered as exemplary, and the true scope and spirit of the present application are indicated by the claims of the present application.
[0127] The similar and identical parts between the various embodiments in this specification can be referenced to each other.
Claims
1. A method for testing media playback, characterized in that: include: Obtaining a media asset identifier of a media asset to be tested and a corresponding online location, wherein the media asset identifier is used to indicate the media asset to be tested; the location is a specific regional operator; According to the game point, a corresponding game point playback standard is obtained; According to the media asset identifier and the bureau point, a plurality of online play data and at least one bureau point play data of the media asset to be tested are obtained; The online playback data refers to the video bit rate, video duration, video resolution, video encoding method, video details, audio information, total number of media asset subsets, video playback data after the media asset is injected into the video playback platform, or display data during video playback; The local point playback data is specific online playback data determined according to the local point where the media resource to be tested is online; Determining whether the plurality of online playback data are consistent with the pre-stored playback data; If any of the online play data does not match the pre-stored play data, a first prompt message is generated, wherein the first prompt message is used to indicate that at least one of the online play data in the media asset to be tested does not match the pre-stored play data; If the plurality of online playback data all conform to the pre-stored playback data, determining whether the local playback data conforms to the local playback standard; If any of the station point playback data does not meet the station point playback standard, a second prompt information is generated, wherein the second prompt information is used to indicate that at least one of the station point playback data in the media asset to be tested does not meet the station point playback standard; The operation of obtaining the online playback data of the media asset to be tested according to the media asset identifier and the bureau point includes: According to the media asset identifier and the bureau point, an online play string of the media asset to be tested is obtained; according to different bureau points, the online play string obtained for the same media asset is also different, and the online play string includes moviecode, videocode, fileurl, and playurl of the media asset to be tested in the video platform; Determining whether the online play string matches a pre-stored play string; If the online play string matches the pre-stored play string, obtaining a video play link; If the obtained online play string is consistent with the play string pre-stored in the media asset data center, the online play string of the media asset to be tested is considered correct; the contents of the obtained online play string are spliced to obtain the video play link of the media asset to be tested; Acquire online playback data of the media asset to be tested according to the video playback link; If the online play string does not match the pre-stored play string, generating third prompt information, wherein the third prompt information is used to indicate that the online play string of the media asset to be tested does not match the pre-stored play string; In the operation of obtaining the video playback link: If the video play link is not obtained, fifth prompt information is generated, wherein the fifth prompt information is used to indicate that the video play link of the media asset to be tested is obtained abnormally.
2. The testing method according to claim 1, characterized in that: In the operation of obtaining the online play string of the media asset to be tested: If the online play string of the media asset to be tested is not obtained according to the media asset identifier and the bureau point, fourth prompt information is generated, wherein the fourth prompt information is used to indicate that the online play string of the media asset to be tested is obtained abnormally.
3. The testing method according to claim 1, characterized in that: After the step of determining whether the local point broadcast data meets the local point broadcast standard, the method further includes: If the station point playback data all meet the station point playback standard, then play the media resource to be tested; During the process of playing the media asset to be tested, taking a screenshot of the playing screen of the media asset to be tested to obtain a screenshot image; The screenshot image is stored in a local device.
4. A media resource playback test device, characterized in that: A test method for performing media asset playback according to any one of claims 1 to 3, wherein the test device comprises: A data acquisition unit, used to acquire a media asset identifier of a media asset to be tested and a corresponding online bureau, wherein the media asset identifier is used to indicate the media asset to be tested; the bureau is a specific regional operator; A standard storage unit, used to store the point playback standards of different points; A standard acquisition unit, used for acquiring a corresponding game point playback standard according to the game point; A test execution unit that performs the following operations: According to the media asset identifier and the bureau point, a plurality of online play data and at least one bureau point play data of the media asset to be tested are obtained; The online playback data refers to the video bit rate, video duration, video resolution, video encoding method, video details, audio information, total number of media asset subsets, video playback data after the media asset is injected into the video playback platform, or display data during video playback; The local point playback data is specific online playback data determined according to the local point where the media resource to be tested is online; Determining whether the plurality of online playback data are consistent with the pre-stored playback data; If any of the online play data does not match the pre-stored play data, a first prompt message is generated, wherein the first prompt message is used to indicate that at least one of the online play data in the media asset to be tested does not match the pre-stored play data; If the online playback data matches the pre-stored playback data, determining whether the local playback data matches the local playback standard; If any of the station point playback data does not meet the station point playback standard, a second prompt information is generated, wherein the second prompt information is used to indicate that at least one of the station point playback data in the media asset to be tested does not meet the station point playback standard; When performing the operation of acquiring the online playback data of the media asset to be tested according to the media asset identifier and the bureau point, the test execution unit is further configured to perform the following operations: According to the media asset identifier and the bureau point, an online play string of the media asset to be tested is obtained; according to different bureau points, the online play string obtained for the same media asset is also different, and the online play string includes moviecode, videocode, fileurl, and playurl of the media asset to be tested in the video platform; Determining whether the online play string matches a pre-stored play string; If the online play string matches the pre-stored play string, obtaining a video play link; If the obtained online play string is consistent with the play string pre-stored in the media asset data center, the online play string of the media asset to be tested is considered correct; the contents of the obtained online play string are spliced to obtain the video play link of the media asset to be tested; Acquire online playback data of the media asset to be tested according to the video playback link; If the online play string does not match the pre-stored play string, generating third prompt information, wherein the third prompt information is used to indicate that the online play string of the media asset to be tested does not match the pre-stored play string; In the operation of obtaining the video playback link, the test execution unit is further configured to perform the following operations: If the video playback connection is not obtained, fifth prompt information is generated, wherein the fifth prompt information is used to indicate that the acquisition of the video playback connection of the media asset to be tested is abnormal.
5. The testing device according to claim 4, characterized in that: In the operation of obtaining the online play string of the media asset to be tested, the test execution unit is further configured to perform the following operations: If the online play string of the media asset to be tested is not obtained according to the media asset identifier and the station identifier, fourth prompt information is generated, wherein the fourth prompt information is used to indicate that the online play string of the media asset to be tested is obtained abnormally.
6. The testing device according to claim 4, characterized in that: The test execution unit is further configured to perform the following operations: If the station point playback data all meet the station point playback standard, then play the media resource to be tested; During the process of playing the media asset to be tested, taking a screenshot of the playing screen of the media asset to be tested to obtain a screenshot image; The screenshot image is stored in a local device.
Citation Information
Patent Citations
Method and device for displaying multimedia file information on television
CN103024509A