CN112261449B - Method and system for automatic test of list editing - Google Patents

Method and system for automatic test of list editing Download PDF

Info

Publication number
CN112261449B
CN112261449B CN202011098434.1A CN202011098434A CN112261449B CN 112261449 B CN112261449 B CN 112261449B CN 202011098434 A CN202011098434 A CN 202011098434A CN 112261449 B CN112261449 B CN 112261449B
Authority
CN
China
Prior art keywords
playing
list
time
editing
task
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.)
Active
Application number
CN202011098434.1A
Other languages
Chinese (zh)
Other versions
CN112261449A (en
Inventor
王伟莉
王伟明
沈磊
吴欣怡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Arcvideo Technology Co ltd
Original Assignee
Hangzhou Arcvideo Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Arcvideo Technology Co ltd filed Critical Hangzhou Arcvideo Technology Co ltd
Priority to CN202011098434.1A priority Critical patent/CN112261449B/en
Publication of CN112261449A publication Critical patent/CN112261449A/en
Application granted granted Critical
Publication of CN112261449B publication Critical patent/CN112261449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2407Monitoring of transmitted content, e.g. distribution time, number of downloads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems

Abstract

The invention discloses a method and a system for automatic test of an order. The device management module is used for managing a terminal playing device pool, and performing one-key deployment and upgrading of adding, deleting, editing and playing environments; the editing management module is used for synchronizing the editing list to be tested and covered from the application system to be tested, and creating different editing list combination templates in advance for different editing lists according to the requirements of a test scene; the task management module is used for managing a test task, wherein the test task is used for appointing the association of each editing list combination and the playing equipment, appointing the calibration time of each playing equipment and issuing the task; the data statistics module is used for acquiring play records on each play device according to one key of the test task and prompting the records and the list with problems. The invention has the beneficial effects that: the accuracy of playing logic is automatically judged, a report is given, and the editing and testing efficiency and quality are improved.

Description

Method and system for automatic test of bill making
Technical Field
The invention relates to the technical field related to video playing, in particular to a method and a system for editing list automatic testing.
Background
The main function of the list is to organize the played content according to a time line. For the organization of the playing content, it can be sequential playing, loop playing, jump playing, temporary inter cut, etc. The above-mentioned many different types of lists and various possible logic combinations among them make the content playing control logic become very complicated, and it is very easy to make mistakes. In order to ensure the accuracy and stability of the content playing control function, testers in product testing need to use various different types of lists to perform various logic combinations for test verification, which is time-consuming and labor-consuming; manual repeated testing is also prone to fatigue and error.
Since the verification of the editing function requires actually playing various types of editing and combination on the real playing device, when the number of editing units to be covered is more, the more combination, the more testing device is required, or the longer testing time is, the larger the check quantity of the playing result is.
Disclosure of Invention
The invention provides a method and a system for compiling a bill and automatically testing, which are used for overcoming the defects in the prior art and improving the testing efficiency and quality.
In order to achieve the purpose, the invention adopts the following technical scheme:
a system for automatically testing a compilation order comprises an equipment management module, a compilation order management module, a task management module and a data statistics module, wherein the equipment management module is used for managing a terminal playing equipment pool and performing addition, deletion, editing and one-key deployment and upgrading of playing environments; the editing management module is used for synchronizing the editing list to be tested and covered from the application system to be tested, and creating different editing list combination templates in advance for different editing lists according to the requirements of a test scene; the task management module is used for managing a test task, the test task is used for appointing the association of each list combination and the playing equipment, appointing the calibration time of each playing equipment and issuing the task; the data statistics module is used for acquiring the playing records on each playing device by one key according to the test tasks, automatically comparing the playing records with expected playing records and prompting the records and the list editing with problems.
The invention starts from equipment management, list editing management and playing result check, and can flexibly manage and apply idle equipment to carry out version one-key deployment; managing various editing lists to be tested, flexibly combining the editing lists with the playing equipment, and automatically generating expected playing records according to the editing list combination; after the terminal playing device actually plays each list, collecting the actual playing record by one key, automatically comparing the actual playing record with the expected result, automatically judging the accuracy of the playing logic and giving a report; thus forming an effective system to improve the efficiency and quality of the test.
The invention also provides a method for automatically testing the list, which comprises the following steps:
(1) the equipment management module performs one-key deployment and upgrading of addition, deletion, editing and playing environments;
(2) the application system to be tested synchronizes the editing list to be tested and covered on the editing list management module according to the editing list information, and simultaneously creates different editing list combination templates in advance for different editing lists according to the requirement of a test scene;
(3) the task management module appoints the association of each list combination and the playing equipment, appoints the calibration time of each playing equipment and issues the task;
(4) after receiving the task, the playing device calibrates the device time according to the calibration time, backups the old data, acquires the content of the new task, plays according to the list and the priority, and automatically restores the device time to be the current time after the playing device finishes the list playing task;
(5) after the playing tasks on the playing devices are all completed, the playing records on each playing device are obtained by one key according to the testing tasks, and the data statistics module is used for prompting the records and the list with problems.
For the verification of various complex content playing control logics, testers do not need to repeatedly and manually install, deploy and configure a plurality of playing environments, repeatedly and manually make and issue various editing lists, and check a large number of playing records to determine whether the playing logics have problems, equipment management is mainly performed, the editing list is selected to be associated with the equipment, tasks are issued, the playing records are triggered by one key to check to obtain a test result, and the editing test efficiency is greatly improved.
Preferably, in step (3), the time of the playing device is calibrated because the compilation is created in the past for future repeat test use, and the time of the compilation is the time in the past, so by modifying the time of the playing device to match the time of the compilation under test, the consistency of the playing time period is ensured.
Preferably, in step (3), after the task is issued to the playback devices, the system automatically generates a desired play record list for the editing task set on each playback device.
Preferably, in step (4), different lists are set with different playing priorities, and in the same time period, lists with the same priority are polled and played, and lists with high priority are played in preference to lists with low priority.
Preferably, in step (5), after the terminal playing device actually plays each editing list, one key collects the actual playing record, automatically compares the actual playing record with the expected playing record, automatically judges the accuracy of the playing logic, and gives a report.
The invention has the beneficial effects that: the accuracy of the playing logic is automatically judged, a report is given, the playing record is triggered by one key to check to obtain a test result, and the efficiency and the quality of the editing test are greatly improved.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The invention is further described with reference to the following figures and detailed description.
In the embodiment shown in fig. 1, a system for compiling automatic tests comprises a device management module, a compilation management module, a task management module and a data statistics module,
the device management module is used for managing a terminal playing device pool, and performing addition, deletion, editing, one-key deployment and upgrading of playing environments and the like; specifically, the method comprises the following steps: after the user adds the IP address of the playing device for storage, the system automatically issues a preset client installation package to the device with the appointed IP for installation and configuration, the device enters a working state, waits for the issuance of the editing task, or starts to play the editing task in the current time period, and generates a client log.
The editing management module is used for synchronizing the editing list to be tested and covered from the application system to be tested, and creating different editing list combination templates in advance for different editing lists according to the requirements of a test scene; specifically, the system synchronously displays a list in the tested application system, and a user selects a plurality of lists with different priorities according to the test purpose and stores the lists as a list combination.
The task management module is used for managing test tasks, including adding, deleting, editing, copying, issuing tasks and the like, wherein the test tasks are used for appointing the association of each editing list combination and the playing equipment, appointing the calibration time of each playing equipment and issuing the tasks; specifically, in the task editing page, the user selects a test device from the playing device list, selects a combination from the list combination, sets the same date as the list, and saves and issues the task, and the system will:
1. and sending all the catalogues in the specified catalogue combination to the specified test equipment.
2. And generating an expected playing record according to the list according to the following rules:
a. traversing the starting time and the ending time of each list to obtain all time point information, forming a time slice by every two adjacent time points,
b. aiming at each time slice, acquiring the list with the highest priority in the time slice,
c. for each material in the list, sequentially generating a record: the first record is specific to a first material, the starting time is the starting time of time slicing, the ending time is the time of adding the material duration to the slicing starting time, and the list ID is the list identification to which the material belongs; the second record is for the second material, the start time is the end time of the previous record, the end time is the start time of the record plus the time length of the material, and the list ID is the list identifier to which the material belongs. . . And so on until the current time slice is filled, begin processing the next time slice,
d. when all time slices have been processed, all desired play records are generated.
3. The playing device automatically corrects the date to be the appointed date, and detects the list to play so as to generate a client log.
The data statistics module is used for acquiring the playing records on each playing device by one key according to the test tasks, automatically comparing the playing records with expected playing records and prompting the records and the list with problems; specifically, after the device plays the list of the whole list combination, the user performs one-key extraction of the play log for each task in the module, and the system:
1. and acquiring all client logs on the playing device.
2. Generating a play record according to the keywords for starting and ending the play of the material: material name, play start time, play end time and list ID; the extraction rules can be flexibly adjusted according to the characteristics of the client logs of different versions.
3. According to the time slice information of the editing combination in the task management, checking each actual playing record to see whether the playing record is contained in the expected playing record in the corresponding time slice, and prompting:
a. if not, indicating that an incorrect manifest was played,
b. if the actual play records are all contained in the expected records, but are lacking, it is indicated that the play is missed,
c. if the two are all right, the playback is normal.
As shown in fig. 1, the present invention further provides a method for automatic test of editing list, which specifically comprises the following steps:
(1) the equipment management module performs one-key deployment and upgrading of addition, deletion, editing and playing environments;
(2) the application system to be tested synchronizes the editing list to be tested and covered on the editing list management module according to the editing list information, and simultaneously creates different editing list combination templates in advance for different editing lists according to the requirements of a test scene;
(3) the task management module appoints the association between each list combination and the playing device, appoints the calibration time of each playing device and issues the task;
the time for calibrating the playing device is that the list is created in the past and used for repeated tests in the future, the list time is the past time, and the tester is unlikely to modify the list time into the present time and the future time according to the current time in the test, so the consistency of the playing time period is ensured by modifying the playing device time into the past time and matching the tested list time.
After the tasks are issued to the playing devices, the system can automatically generate an expected playing record list aiming at the set editing task on each playing device.
(4) After receiving the task, the playing device calibrates the device time according to the calibration time, backups the old data, acquires the content of the new task, plays according to the list and the priority, and automatically restores the device time to be the current time after the playing device finishes the list playing task;
different lists are set with different playing priorities, in the same time period, the lists with the same priority are played in a polling mode, and the list with the high priority is played in preference to the list with the low priority.
(5) After the playing tasks on the playing devices are all completed, acquiring playing records on each playing device by one key according to the testing tasks, and prompting the records and the list with problems through a data statistics module;
after the terminal playing device actually plays each list, the actual playing record is collected by one key, the actual playing record is automatically compared with the expected playing record, the accuracy of the playing logic is automatically judged, and a report is given.
The invention starts from equipment management, list editing management and playing result check, and can flexibly manage and apply idle equipment to carry out version one-key deployment; managing various editing lists to be tested, flexibly combining the editing lists with the playing equipment, and automatically generating expected playing records according to the editing list combination; after the terminal playing device actually plays each list, one key is used for collecting the actual playing record, the actual playing record is automatically compared with the expected result, the accuracy of the playing logic is automatically judged, and a report is given. For the verification of various complex content playing control logics, a tester does not need to repeatedly and manually install, deploy and configure a plurality of playing environments, does not need to repeatedly and manually make and issue various editing lists, does not need to check a large number of playing records to determine whether the playing logics have problems, mainly performs equipment management, selects editing lists to be associated with equipment, issues tasks, triggers the playing records to check by one key to obtain a test result, and greatly improves the efficiency of editing list testing.

Claims (4)

1. A system for automatically testing a compilation order is characterized by comprising an equipment management module, a compilation order management module, a task management module and a data statistics module, wherein the equipment management module is used for managing a terminal playing equipment pool and performing one-key deployment and upgrading of adding, deleting, editing and playing environments; the editing management module is used for synchronizing the editing list to be tested and covered from the application system to be tested, and creating different editing list combination templates in advance according to the requirements of a test scene aiming at different editing lists; the task management module is used for managing a test task, the test task is used for appointing the association of each list editing combination and the playing equipment, appointing the calibration time of each playing equipment and issuing the task; the data statistics module is used for acquiring the playing records on each playing device by one key according to the test task, automatically comparing the playing records with expected playing records and prompting the records and the list editing with problems; specifically, in the task editing page, the user selects a test device from the playing device list, selects a combination from the list combination, sets the same date as the list, and saves and issues the task, and the system will:
(1) all the catalogues in the specified catalogue combination are issued to the specified test equipment;
(2) and generating an expected playing record according to the list according to the following rules:
(a) traversing the starting time and the ending time of each list to obtain all time point information, wherein each two adjacent time points form a time slice;
(b) aiming at each time slice, acquiring a list with the highest priority in the time slice;
(c) for each material in the list, sequentially generating a record: the first record is specific to a first material, the starting time is the starting time of time slicing, the ending time is the starting time of slicing plus the material duration, and the list ID is the list editing identifier to which the material belongs; the second record is for the second material, the start time is the end time of the previous record, the end time is the start time of the record plus the time length of the material, the list ID is the list identification of the material, and so on until the current time slice is filled, the next time slice begins to be processed;
(d) when all time slices are processed, all expected play records are generated;
(3) the playing device automatically corrects the date to be the appointed date, detects the list to play, and generates the client log.
2. The method for automated test of invoicing according to claim 1, comprising the steps of:
(1) the equipment management module performs one-key deployment and upgrading of addition, deletion, editing and playing environments;
(2) the application system to be tested synchronizes the editing list to be tested and covered on the editing list management module according to the editing list information, and simultaneously creates different editing list combination templates in advance for different editing lists according to the requirements of a test scene;
(3) the task management module appoints the association of each list combination and the playing equipment, appoints the calibration time of each playing equipment and issues the task; after the tasks are issued to the playing devices, the system can automatically generate an expected playing record list aiming at the set editing task on each playing device;
(4) after the playing equipment receives the task, the equipment time calibration is carried out according to the calibration time, the old data is backed up, the new task content is obtained, the playing is carried out according to the list and the priority, and after the playing equipment finishes the list playing task, the equipment time is automatically recovered to be the current time;
(5) after the playing tasks on the playing devices are all completed, acquiring playing records on each playing device by one key according to the testing tasks, and prompting the records and the list with problems through a data statistics module; after the terminal playing device actually plays each list, one key is used for collecting the actual playing record, the actual playing record is automatically compared with the expected playing record, the accuracy of the playing logic is automatically judged, and a report is given.
3. The method of claim 2, wherein in step (3), the time for calibrating the playing device is adjusted because the list is created in the past for future repeat testing, and the time for the list is the past time, so that the time for the playing device is modified to match the past time with the time for the tested list, thereby ensuring the consistency of the playing time period.
4. The method as claimed in claim 2, wherein in step (4), different lists are set with different playing priorities, and the lists with the same priority are polled for playing in the same time period, and the list with high priority is played before the list with low priority.
CN202011098434.1A 2020-10-14 2020-10-14 Method and system for automatic test of list editing Active CN112261449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011098434.1A CN112261449B (en) 2020-10-14 2020-10-14 Method and system for automatic test of list editing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011098434.1A CN112261449B (en) 2020-10-14 2020-10-14 Method and system for automatic test of list editing

Publications (2)

Publication Number Publication Date
CN112261449A CN112261449A (en) 2021-01-22
CN112261449B true CN112261449B (en) 2022-07-26

Family

ID=74242104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011098434.1A Active CN112261449B (en) 2020-10-14 2020-10-14 Method and system for automatic test of list editing

Country Status (1)

Country Link
CN (1) CN112261449B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747282A (en) * 2013-12-27 2014-04-23 乐视网信息技术(北京)股份有限公司 Program list arranging method and equipment
CN103763575A (en) * 2013-12-27 2014-04-30 乐视网信息技术(北京)股份有限公司 Program scheduling method and device
CN111158708A (en) * 2019-12-25 2020-05-15 上海精鲲计算机科技有限公司 Task arrangement engine system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6675383B1 (en) * 1997-01-22 2004-01-06 Nielsen Media Research, Inc. Source detection apparatus and method for audience measurement
KR100656207B1 (en) * 2005-03-14 2006-12-13 삼성전자주식회사 Image recording and playing apparatus for automatically generating playlist using bookmark to - Video Recoding format and playlist generating method thereof
CN101267352B (en) * 2008-04-21 2011-05-18 神州亿品科技有限公司 Log file analysis system and log file analysis method
CN104661087A (en) * 2013-11-20 2015-05-27 北京思博途信息技术有限公司 Method and device for generating television advertisement detecting information
CN104317939A (en) * 2014-10-31 2015-01-28 北京思特奇信息技术股份有限公司 Log statistics method and system on basis of digital film playing server
CN105915965B (en) * 2016-04-15 2019-03-12 无锡天脉聚源传媒科技有限公司 It is a kind of to broadcast single inspection method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747282A (en) * 2013-12-27 2014-04-23 乐视网信息技术(北京)股份有限公司 Program list arranging method and equipment
CN103763575A (en) * 2013-12-27 2014-04-30 乐视网信息技术(北京)股份有限公司 Program scheduling method and device
CN111158708A (en) * 2019-12-25 2020-05-15 上海精鲲计算机科技有限公司 Task arrangement engine system

Also Published As

Publication number Publication date
CN112261449A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN111399873B (en) Model updating method and device
CN106844204B (en) Method and system for generating defect report by using mobile terminal
CN102497293A (en) Hardware test analysis method of large-scale server
CN110659202A (en) Client automatic testing method and device
CN110113598A (en) A kind of Network Personal Video Recorder test method and system
CN108508477B (en) Seismic data acquisition system and method
CN115629968A (en) Test data recording method and device
CN112261449B (en) Method and system for automatic test of list editing
CN102999417A (en) Automatic test management system and method
CN115391231B (en) Automatic interface testing method
CN112069073A (en) Test case management method, terminal and storage medium
CN109376073B (en) Test environment memory and recovery method
CN109921937B (en) Testing system and method for automatically verifying long-time task of flow protocol
CN109005087B (en) Method for testing packet loss of database security audit product installed across servers by one key
CN112035365A (en) Version deployment method and device supporting multiple test environments
CN111737072A (en) Eye pattern testing system and system for hard disk TX signal and related components
CN112148616B (en) Performance test management platform
CN116991691B (en) Database testing method and device, electronic equipment and readable storage medium
CN110057542A (en) A kind of fibre core monitoring method and equipment
CN113903368B (en) Automatic test method, device and equipment for disc and storage medium
CN113806437A (en) Data delivery method, equipment and storage medium based on Linux server
CN111897540B (en) Data collection method and device based on private cloud, server and storage medium
JPH08190421A (en) Method and device for assiting test work
CN113271500A (en) Artificial simulation video playing test system and method
CN115840713A (en) Web test case generation method, system, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant