CN102567192B - A kind of to video and audio file based on sort out combination function automatic detection method and system - Google Patents

A kind of to video and audio file based on sort out combination function automatic detection method and system Download PDF

Info

Publication number
CN102567192B
CN102567192B CN201010593174.5A CN201010593174A CN102567192B CN 102567192 B CN102567192 B CN 102567192B CN 201010593174 A CN201010593174 A CN 201010593174A CN 102567192 B CN102567192 B CN 102567192B
Authority
CN
China
Prior art keywords
test
test result
function
excel
result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201010593174.5A
Other languages
Chinese (zh)
Other versions
CN102567192A (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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201010593174.5A priority Critical patent/CN102567192B/en
Publication of CN102567192A publication Critical patent/CN102567192A/en
Application granted granted Critical
Publication of CN102567192B publication Critical patent/CN102567192B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a kind of to the function automatic detection method of video and audio file based on classification combination, comprise the following steps: classified finishing needs the material of test, in write EXCEL; The material import feature function tested will be needed in EXCEL; Test, obtain test result; By in described test result write EXCEL, generate test result report.By the automatic test approach of the embodiment of the present invention when data volume is huge, classification test is carried out to material, can find out that a certain which function of class material is feasible intuitively from the last test result report generated, which is infeasible, so that select the material needed in engineering, reject, solve the problem that manual testing's workload cannot realize greatly and likely.

Description

A kind of to video and audio file based on sort out combination function automatic detection method and system
Technical field
The present invention relates to the automatic test technology field of file function, particularly a kind of to video and audio file based on sort out combination function automatic detection method and system.
Background technology
When present data volume is huge, how class file type a certain in system is sorted out, even judge all to need to test file to whether the function of file is truly feasible, and manual testing is only applicable to the less work of some data volumes now, when data volume to a certain extent after, manual testing is inefficiency not only, and likely intactly cannot complete test, error rate is high, therefore, under the background of test, how utilizing automatic test to carry out testing system software is an a kind of difficult problem.
Summary of the invention
For solving the problems of the technologies described above, one aspect of the present invention provides a kind of to the function automatic detection method of video and audio file based on classification combination, comprises the following steps:
Classified finishing needs the material of test, in write EXCEL;
The material import feature function tested will be needed in EXCEL;
Test, obtain test result;
Test result is write in EXCEL, generate test result report.
On the other hand, the present invention also provides a kind of to the function automatic detection system of video and audio file based on classification combination, comprising:
Writing module, for writing EXCEL and writing in EXCEL by test result by material;
Material imports module, for needing the material import feature function tested in EXCEL;
Test module, the material imported for importing module to material is tested;
Report generation module, generates test report for write test result in EXCEL after.
The present invention has the following advantages: when data volume is huge, by sorting out the material of needs test, then test is imported, and test result is write EXCEL, can find out which function of material of a certain class is feasible intuitively from the last test result report generated, which is infeasible, so that select the material needed in engineering, reject, solves the problem that manual testing's workload cannot realize greatly and likely.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is that the embodiment of the present invention is a kind of to the schematic flow sheet of video and audio file based on the function automatic detection method of classification combination;
Fig. 2 is that the embodiment of the present invention is a kind of to the structural drawing of video and audio file based on the function automatic detection system of classification combination.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, for the embodiment of the present invention is a kind of to the schematic flow sheet of video and audio file based on the function automatic detection method of classification combination, comprising:
Step S101, classified finishing needs the material of test, in write EXCEL.
First, confirm the material needing to carry out testing, the material in the present invention is video and audio file mainly.Then under its fixed position, classified finishing is carried out.In embodiments of the present invention materials all under a certain path are sorted out and carry out according to two kinds of modes:
The first: sort out by the concrete form of material, such as material file suffix is mp3, wma, avi etc., is that the material of mp3 is classified as a class by all suffix, and be that the material of wma is classified as a class by all suffix, namely the material of same format is classified as a class;
The second: sort out by control type, has the various classification of disk material, audio frequency transcoder or video code translator.
Step S102, will need the material import feature function tested in EXCEL.
To correspond in step S101 two kinds of different classifying mode, import material by two kinds of modes: engineering browser mode imports and imports with CTRL+I.Imported by engineering browser, the material of concrete form under material path in recursive call EXCEL; Imported the material classifying as disk material, audio frequency transcoder or video code translator by CTRL+I shortcut, select control during importing so that follow-up function test.
Step S103, tests, and obtains test result.
The material imported from EXCEL is tested, first execution result is obtained, execution result comprises bullet prompting frame and points out next step operation, deadlock or normal, then test result is judged by execution result, be specially: execution result is for crashing, and test result is that function is infeasible, for prompting, next step operates execution result, and test result is whether Unknown Function is feasible, and execution result is normal then test result is that function is feasible.
Step S104, writes test result in EXCEL, generates test result report.
By position corresponding for the test result write EXCEL Central Plains material sorting out material, material test result very intuitively can be obtained, then the direct test report generating all test materials from EXCEL.Test result report comprises test material file name, material file pathname, material classification, test function and test result.When function is feasible, in test result report, test result is P; When function is infeasible, in test result report, test result is F; When whether Unknown Function is feasible, in test result report, test result is unknown.
By first classifying to material in the embodiment of the present invention, then import different classes of material by classification to test, thus judge that whether the current function of material is feasible by test result, can in the great situation of data volume, whether automatic test a certain class material is feasible to current function, thus be convenient to select the material needed in engineering, reject, solve the problem that manual testing's workload cannot realize greatly and likely.
As shown in Figure 2, for the embodiment of the present invention is a kind of to the structural drawing of video and audio file based on the function automatic detection system of classification combination, comprising:
Writing module 201, for writing EXCEL by material good for classified finishing, and by the test result of test module 203 write EXCEL;
Material imports module 202, for needing the material import feature function tested in EXCEL;
Test module 203, the material imported for importing module 202 to material is tested, and obtains test result;
Report generation module 204, generates test report for write test result in EXCEL after.
Wherein, material importing module comprises engineering browser importing module and CTRL+I importing module:
Engineering browser imports module, for will needing the material import feature function of test by engineering browser;
CTRL+I imports module, for will needing the material import feature function of test by CTRL+I shortcut.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention can by hardware implementing, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, appoints
What those skilled in the art can think change all should fall into protection scope of the present invention.

Claims (2)

1., to the function automatic detection method of video and audio file based on classification combination, it is characterized in that, comprise the following steps:
Classified finishing needs the material of test, in write EXCEL; Concrete, described classified finishing needs the material of test to comprise to be undertaken sorting out and sorting out by control type by the concrete form of material; The material import feature function tested will be needed in EXCEL; Comprise engineering browser mode by needing the material import feature function tested in EXCEL to import and import with CTRL+I;
Test, obtain test result; Concrete, described in test, obtain the material that test result comprises importing from EXCEL and test, obtain execution result, judge test result by execution result; Described execution result comprises bullet prompting frame and points out next step operation, deadlock or normal; Describedly judge that test result comprises execution result as crashing by execution result, test result is that function is infeasible, and for prompting, next step operates execution result, and test result is whether Unknown Function feasible, execution result for normal then test result be that function is feasible;
By in described test result write EXCEL, generate test result report.
2. automatic test approach as claimed in claim 1, is characterized in that, described test result report comprises test material file name, material file pathname, material classification, test function and test result.
CN201010593174.5A 2010-12-16 2010-12-16 A kind of to video and audio file based on sort out combination function automatic detection method and system Expired - Fee Related CN102567192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010593174.5A CN102567192B (en) 2010-12-16 2010-12-16 A kind of to video and audio file based on sort out combination function automatic detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010593174.5A CN102567192B (en) 2010-12-16 2010-12-16 A kind of to video and audio file based on sort out combination function automatic detection method and system

Publications (2)

Publication Number Publication Date
CN102567192A CN102567192A (en) 2012-07-11
CN102567192B true CN102567192B (en) 2015-09-23

Family

ID=46412660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010593174.5A Expired - Fee Related CN102567192B (en) 2010-12-16 2010-12-16 A kind of to video and audio file based on sort out combination function automatic detection method and system

Country Status (1)

Country Link
CN (1) CN102567192B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975924A (en) * 2016-04-29 2016-09-28 杭州当虹科技有限公司 Regression testing method for precisely recognizing ad content based on video frame statistics
CN106201888A (en) * 2016-07-18 2016-12-07 四川君逸易视科技有限公司 Intelligent video overlap-add procedure device automatic test approach and device
CN107025268A (en) * 2017-03-07 2017-08-08 捷开通讯(深圳)有限公司 Introduction method, import system and the importing equipment of battery parameter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118515A (en) * 2007-09-11 2008-02-06 腾讯科技(深圳)有限公司 Automatically testing method and apparatus for list
CN101847117A (en) * 2009-03-23 2010-09-29 中兴通讯股份有限公司 Unit testing method and device
CN101908052A (en) * 2009-11-27 2010-12-08 新奥特(北京)视频技术有限公司 Making method and device of multimedia program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118515A (en) * 2007-09-11 2008-02-06 腾讯科技(深圳)有限公司 Automatically testing method and apparatus for list
CN101847117A (en) * 2009-03-23 2010-09-29 中兴通讯股份有限公司 Unit testing method and device
CN101908052A (en) * 2009-11-27 2010-12-08 新奥特(北京)视频技术有限公司 Making method and device of multimedia program

Also Published As

Publication number Publication date
CN102567192A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN102160037B (en) Design once, deploy any where framework for heterogeneous mobile application development
CN101901149B (en) Apparatus, method and program for processing information
CN102708050B (en) Method and system for testing mobile application
CN114546738B (en) Universal test method, system, terminal and storage medium for server
CN105373800A (en) Classification method and device
CN104182335A (en) Software testing method and device
CN107423213A (en) A kind of filec descriptor distribution detection method and device
CN104932937A (en) Method and device for switching application program
CN103678143A (en) File storage method and device and electronic equipment
CN102567192B (en) A kind of to video and audio file based on sort out combination function automatic detection method and system
CN102413010B (en) Testing environment deployment method and device
CN103246582A (en) FPGA (Field Programmable Gate Array) fault detection method and device
CN105489247A (en) Testing method and testing apparatus for memory chip
CN105740122A (en) Method and system for monitoring mobile phone memory leak
CN109871290A (en) Allocating stack method for tracing, device and storage medium applied to Java
CN115145777B (en) Test method, system, device and storage medium
CN105630683A (en) Cloud testing architecture
CN109582524A (en) A kind of test method, system and electronic equipment and storage medium
CN106649110B (en) Software testing method and system
CN103164492A (en) File copying method between electronic devices and electronic devices
CN105760528A (en) Information processing method and device
CN103999050A (en) Methods and apparatuses for computing checksums for effective caching in continuous distributed builds
CN104751350A (en) Information display method and terminal
US11366739B2 (en) Pipeline for validation process and testing
CN104536884A (en) Code testing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150923

Termination date: 20191216

CF01 Termination of patent right due to non-payment of annual fee