CN111258882B - Test data acquisition method and device based on digital media system - Google Patents
Test data acquisition method and device based on digital media system Download PDFInfo
- Publication number
- CN111258882B CN111258882B CN202010008957.6A CN202010008957A CN111258882B CN 111258882 B CN111258882 B CN 111258882B CN 202010008957 A CN202010008957 A CN 202010008957A CN 111258882 B CN111258882 B CN 111258882B
- Authority
- CN
- China
- Prior art keywords
- test
- data
- program
- scene
- digital media
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3676—Test management for coverage analysis
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the application provides a method and a device for acquiring test data based on a digital media system, which relate to the technical field of data testing, and the method comprises the following steps: receiving input initial data; matching a test scene corresponding to the initial data with a test program; performing scene test processing on the initial data according to the test scene and the test program to obtain test data; outputting test data for functional testing of the digital media system. Therefore, by implementing the implementation mode, the test data which fully cover the test scene can be automatically generated, and the accuracy of functional test under the corresponding test scene is further improved.
Description
Technical Field
The application relates to the technical field of testing, in particular to a method and a device for acquiring test data based on a digital media system.
Background
In the era of digital accurate marketing, advertisers can utilize digital media planning tools to improve media coverage, effectiveness and efficiency, thereby achieving the goals of penetration and sales growth. For the digital media system of the data+algorithm, the complete testing flow and the standard testing method are very important because of the complex business logic and the diversity of data. In the existing test method, a test scene is designed according to requirements, and then a test object is tested according to a test case. In practice, the digital media system has strong logic relevance, so that a test scene designed according to requirements is complex in test, the generation difficulty of test data is high, the test efficiency is low, the boundary value data cannot be generated in a conventional logic scene, and the coverage rate of the test scene is low. The existing test method is low in test efficiency and insufficient in test scene coverage.
Disclosure of Invention
The embodiment of the application aims to provide a test data acquisition method and device based on a digital media system, which can automatically generate test data which comprehensively covers a test scene, thereby improving the accuracy of functional test under the corresponding test scene.
A first aspect of an embodiment of the present application provides a method for acquiring test data based on a digital media system, including:
receiving input initial data;
matching a test scene corresponding to the initial data with a test program;
performing scene test processing on the initial data according to the test scene and the test program to obtain test data;
outputting the test data, wherein the test data is used for carrying out functional test on the digital media system.
In the implementation process, the method can receive the input initial data preferentially, and match according to the initial data to obtain a test scene and a test program matched with the initial data, so that the method can further perform the scenerization test on the initial data according to the test scene and the test program to obtain accurate and scenerized test data, finally output the test data, and prepare data for the future functional test of the digital media system. Therefore, by implementing the implementation mode, the initial data can be accurately and efficiently obtained according to the corresponding test scene and the test program, so that the test data can fully cover the test scene, and further the accuracy of functional test under the corresponding test scene is improved.
Further, after performing a scenerized test process on the initial data according to the test scene and the test program to obtain test data, the method further includes;
according to the test data, performing functional test processing on the digital media system to obtain a functional test result, and performing regression test processing on the digital media system to obtain a regression test result;
and generating a test result of the digital media system according to the function test result and the regression test result.
In the implementation process, after the method obtains the test data, the method can also perform functional test processing according to the test data to obtain a functional test result; when the functional test result is obtained, regression test processing is carried out on the digital media system to obtain a regression test result, so that the method can generate the test result of the digital media system according to the functional test result and the regression test result. Therefore, by implementing the implementation mode, the function test can be performed according to the test data, and the secondary verification can be performed through the regression test, so that the test usability of the test data is improved, the secondary confirmation can be performed on the digital media system through the test result, the test effect of the digital media system is improved, and further the backup guarantee is provided for the accuracy of the test data and the effectiveness of the digital media system.
Further, before the receiving the input initial data, the method further comprises:
acquiring test requirement data, and constructing a test scene library according to a preset algorithm and the test requirement data;
program data corresponding to the test scene library is obtained;
and constructing a test program library corresponding to the test scene library according to the program data.
In the implementation process, the method can acquire test requirement data before receiving initial data, and then construct a test scene library according to a preset algorithm and the test requirement data; after the test scenario library is built, program data corresponding to the test scenario library is acquired so that the program data can be used to build a test program library corresponding to the test scenario library. Therefore, by implementing the implementation mode, the test requirement data can be acquired in real time before the test data is acquired, so that a real-time effective test scene library and a test program library are established, and the test data is ensured to have a real-time effect; moreover, by implementing the embodiment, the acquired test data can be ensured to have higher accuracy and diversity.
Further, the matching the test scene corresponding to the initial data with the test program includes:
matching a test scene corresponding to the initial data in the test scene library;
acquiring configuration data matched with the test scene;
matching an original test program corresponding to the initial data in the test program library;
and carrying out configuration processing on the original test program according to the configuration data to obtain a test program.
In the implementation process, the method can be used for preferentially matching the test scene corresponding to the initial data in the test scene library in the process of matching the test scene corresponding to the initial data with the test program, acquiring the configuration data matched with the test scene, and then matching the original test program corresponding to the initial data in the test program library, so that the method can be used for carrying out configuration processing on the original test program according to the configuration data to obtain the test program. Therefore, by implementing the implementation mode, accurate test scenes and test programs can be acquired according to the test scene library and the test program library, so that the effectiveness of the test scenes and the test programs is improved; meanwhile, the test program obtained according to the configuration data of the test scene has higher scene correspondence, so that the scene obtaining of the test data is facilitated.
Further, the preset algorithm comprises one or more of a component algorithm, a boundary value analysis algorithm, an equivalence class classification algorithm, a causal graph algorithm and a misspeculation algorithm.
In the implementation process, the algorithm preset in the method can enable the established test scene library to be better in effect and higher in accuracy.
A second aspect of the embodiment of the present application provides a test data acquisition device based on a digital media system, where the test data acquisition device based on a digital media system includes:
a receiving unit for receiving input initial data;
the matching unit is used for matching the test scene corresponding to the initial data with the test program;
the scenerising test unit is used for carrying out scenerising test processing on the initial data according to the test scene and the test program to obtain test data;
and the output unit is used for outputting the test data, and the test data is used for carrying out functional test on the digital media system.
In the implementation process, the test data acquisition device can realize the receiving operation of the output data, the matching operation of the test scene and the test program, the generating operation of the test data, the output operation of the test data and the like through a plurality of units, so that the integration of the test data acquisition operation is realized. Therefore, by implementing the embodiment, the scene acquisition of the test data can be realized through a plurality of units, so that the acquisition easiness and the data effectiveness of the test data are improved, the test data can be further ensured to be applied to the test of the digital media system, and the efficiency and the accuracy of the digital media test are facilitated.
Further, the test data acquisition device further includes:
the acquisition unit is used for acquiring test requirement data before receiving the input initial data;
the construction unit is used for constructing a test scene library according to a preset algorithm and the test requirement data;
the acquisition unit is also used for acquiring program data corresponding to the test scene library;
the construction unit is further used for constructing a test program library corresponding to the test scene library according to the program data.
In the implementation process, the test data acquisition device can also complete the acquisition of the test requirement data and the construction of the test scene library through the acquisition unit and the construction unit, in addition, after the acquisition of the test requirement data and the establishment of the test scene library are completed, the acquisition unit can also be used for acquiring the program data corresponding to the test scene library, and the construction unit is caused to construct the test program library corresponding to the test scene library according to the program data. Therefore, by implementing the embodiment, the test data acquisition device can acquire the accurate and effective test scene library and the test program library in real time, so that the acquisition of the test data can be attached to the two databases, and the effectiveness and the accuracy of the acquisition of the test data are improved.
Further, the matching unit includes:
the first subunit is used for matching the test scene corresponding to the initial data in the test scene library;
the second subunit is used for acquiring configuration data matched with the test scene;
a third subunit, configured to match an original test program corresponding to the initial data in the test program library;
and the fourth subunit is used for carrying out configuration processing on the original test program according to the configuration data to obtain a test program.
In the implementation process, the matching unit may have a plurality of subunits, and then perform matching of the test scenario and matching of the test program according to the plurality of subunits, where the configuration data matched with the test scenario may be used to accurately match the original test program, and perform configuration processing according to the original test program, so as to obtain a final test program. It can be seen that, by implementing this embodiment, the test data acquisition device can acquire more accurate test scenes and test programs through the matching unit, thereby improving the validity of the acquired test data.
Further, the acquiring unit is further configured to acquire test requirement data, and construct a test scene library according to a preset algorithm and the test requirement data;
the acquisition unit is also used for acquiring program data corresponding to the test scene library;
the construction unit is further used for constructing a test program library corresponding to the test scene library according to the program data.
In the implementation process, the acquisition unit and the construction unit can also be used for cooperatively acquiring the test program library, so that the test program library can be applied to the acquisition process of the test data, and the acquisition accuracy and the real-time effectiveness of the test data are improved.
Further, the preset algorithm comprises one or more of a component algorithm, a boundary value analysis algorithm, an equivalence class classification algorithm, a causal graph algorithm and a misspeculation algorithm.
In the implementation process, the algorithm preset in the method can enable the established test scene library to be better in effect and higher in accuracy.
A third aspect of the embodiment of the present application provides an electronic device, including a memory and a processor, where the memory is configured to store a computer program, and the processor is configured to execute the computer program to cause the electronic device to execute the test data acquisition method based on a digital media system according to any one of the first aspect of the embodiment of the present application.
A fourth aspect of the embodiments of the present application provides a computer readable storage medium storing computer program instructions which, when read and executed by a processor, perform the method for acquiring test data based on a digital media system according to any one of the first aspect of the embodiments of the present application.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for acquiring test data based on a digital media system according to an embodiment of the present application;
FIG. 2 is a flowchart of another method for obtaining test data based on a digital media system according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a test data acquisition device based on a digital media system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another test data acquisition device based on a digital media system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of a test data acquisition method based on a digital media system according to an embodiment of the present application. The method is applied to the test of the digital media system, and is particularly used for acquiring the test data of the digital media system. The test data acquisition method based on the digital media system comprises the following steps:
s101, receiving input initial data.
In this embodiment, the initial data is a part of parameters input by the user through the interface, and the parameters are basic parameters generated by the test data.
In the present embodiment, the specific data content of the initial data is not limited in any way in the present embodiment.
S102, matching a test scene corresponding to the initial data with a test program.
In this embodiment, the test scenario may be understood as a scenario where the initial data is applied, and the test program is a program for processing the initial data and matching the test scenario.
As an alternative embodiment, the step of matching the test scenario corresponding to the initial data with the test program may include:
and matching the test scene corresponding to the initial data with the test program in the test scene library and the test program library.
By implementing the implementation mode, the test scene and the test program can be accurately preset, so that the situation that the test scene and the test program are unavailable is avoided, the application effectiveness of the test scene and the test program is improved, and the acquisition of the test data can be effectively and accurately generated in real time according to the data test scene.
S103, performing scene test processing on the initial data according to the test scene and the test program to obtain test data.
In this embodiment, the process may be understood as that the initial data is subjected to the scenerization processing by the test program under the test scene, so as to obtain the test data.
S104, outputting test data, wherein the test data is used for carrying out functional test on the digital media system.
In this embodiment, the test data is output for other purposes.
In this embodiment, the output of the test data is used for functional testing of the digital media system.
In this embodiment, the execution subject of the method may be a computing device such as a computer or a server, which is not limited in this embodiment.
In this embodiment, the execution body of the method may be an intelligent device such as an intelligent mobile phone and a tablet, which is not limited in this embodiment.
Therefore, the method for acquiring test data based on the digital media system described in fig. 1 can be implemented to preferentially receive the input initial data and match the initial data according to the initial data to obtain a test scene and a test program matched with the initial data, so that the method can further perform a scenerization test on the initial data according to the test scene and the test program to obtain accurate and scenerized test data, finally output the test data, and prepare data for a future functional test of the digital media system. Therefore, by implementing the implementation mode, the initial data can be accurately and efficiently obtained according to the corresponding test scene and the test program, so that the test data can fully cover the test scene, and further the accuracy of functional test under the corresponding test scene is improved.
Example 2
Referring to fig. 2, fig. 2 is a flowchart of another test data acquisition method based on a digital media system according to an embodiment of the application. The flow chart of the test data acquisition method based on the digital media system described in fig. 2 is modified from the flow chart of the test data acquisition method based on the digital media system described in fig. 1. The test data acquisition method based on the digital media system comprises the following steps:
s201, acquiring test requirement data, and constructing a test scene library according to a preset algorithm and the test requirement data.
In this embodiment, the preset algorithm may include one or more of a component algorithm, a boundary value analysis algorithm, an equivalence class classification algorithm, a causal graph algorithm, and a misspeculation algorithm.
In this embodiment, the test requirement data may be preset or may be input subsequently, which is not limited in this embodiment.
In this embodiment, the test scenario library includes a large number of test scenarios, where the test scenario library may enable acquired test data to have scenario diversity.
S202, acquiring program data corresponding to the test scene library.
In this embodiment, a plurality of test scenes included in the test scene library may correspond to a plurality of program data.
S203, constructing a test program library corresponding to the test scene library according to the program data.
In this embodiment, the test program library corresponds to a test scenario library, where one test scenario may correspond to one test program.
S204, receiving input initial data.
In this embodiment, the initial data is a part of parameters input by the user through the interface, and the parameters are basic parameters generated by the test data.
In the present embodiment, the specific data content of the initial data is not limited in any way in the present embodiment.
S205, matching the test scene corresponding to the initial data in a test scene library.
In this embodiment, the test scene may be selected by the initial data, so that the test scene is more compatible with the initial data.
S206, acquiring configuration data matched with the test scene.
In this embodiment, the configuration data is data corresponding to a test scenario, and is used to configure a test program.
S207, matching the original test program corresponding to the initial data in a test program library.
In this embodiment, the original test program corresponds to the initial data, and at the same time, the original test program also corresponds to the test scene. The original test program and the test scenario may not be in one-to-one correspondence.
S208, performing configuration processing on the original test program according to the configuration data to obtain the test program.
In this embodiment, after the original test program is configured by the configuration data of the test scene, a test program is obtained; the test program and the test scene may be in one-to-one correspondence.
S209, performing scene test processing on the initial data according to the test scene and the test program to obtain test data.
In this embodiment, the test data may be accurately acquired according to the test scenario and the test program, so that the data scenario diversity is higher.
S210, outputting test data, wherein the test data is used for carrying out functional test on the digital media system.
In this embodiment, test data is output, which may be used to perform a functional test on the digital media system.
S211, performing functional test processing on the digital media system according to the test data to obtain a functional test result, and performing regression test processing on the digital media system to obtain a regression test result.
In this embodiment, the functional test result is used to represent the effect and feedback information of the functional test.
In this embodiment, the regression testing result is used to indicate whether the difference pool exists in the process of acquiring the test data and whether the difference pool exists in the subsequent functional testing process.
S212, generating a test result of the digital media system according to the functional test result and the regression test result.
In this embodiment, the test result is used for viewing by related personnel, so that the related personnel can know the acquisition process of the test data and the application effect of the test data in the test.
Therefore, the method for acquiring test data based on the digital media system described in fig. 2 can be implemented to preferentially receive the input initial data and match the initial data according to the initial data to obtain a test scene and a test program matched with the initial data, so that the method can further perform a scenerization test on the initial data according to the test scene and the test program to obtain accurate and scenerized test data, finally output the test data, and prepare data for a future functional test of the digital media system. Therefore, by implementing the implementation mode, the initial data can be accurately and efficiently obtained according to the corresponding test scene and the test program, so that the test data can fully cover the test scene, and further the accuracy of functional test under the corresponding test scene is improved.
Example 3
Referring to fig. 3, fig. 3 is a schematic structural diagram of a test data acquisition device based on a digital media system according to an embodiment of the application. The test data acquisition device based on the digital media system comprises:
a receiving unit 310 for receiving input initial data;
a matching unit 320, configured to match a test scenario corresponding to the initial data with a test program;
the scenerising test unit 330 is configured to perform scenerising test processing on the initial data according to a test scene and a test program, so as to obtain test data;
the output unit 340 is configured to output test data, where the test data is used for performing a functional test on the digital media system.
In this embodiment, the explanation of the test data acquisition device based on the digital media system may refer to the description in embodiment 1 or embodiment 2, and the description is not repeated in this embodiment.
It can be seen that implementing the test data acquisition apparatus based on a digital media system described in fig. 3 can implement the receiving operation of the output data, the matching operation of the test scene and the test program, the generating operation of the test data, the outputting operation of the test data, and the like through a plurality of units, thereby implementing the integration of the test data acquisition operation. Therefore, by implementing the embodiment, the scene acquisition of the test data can be realized through a plurality of units, so that the acquisition easiness and the data effectiveness of the test data are improved, the test data can be further ensured to be applied to the test of the digital media system, and the efficiency and the accuracy of the digital media test are facilitated.
Example 4
Referring to fig. 4, fig. 4 is a schematic structural diagram of another test data acquisition device based on a digital media system according to an embodiment of the application. The schematic structure of the digital media system-based test data acquisition device depicted in fig. 4 is modified from the schematic structure of the digital media system-based test data acquisition device depicted in fig. 3. The test data acquisition device based on the digital media system further comprises:
an acquiring unit 350, configured to acquire test requirement data before receiving input initial data;
the construction unit 360 is configured to construct a test scene library according to a preset algorithm and test requirement data;
the acquiring unit 350 is further configured to acquire program data corresponding to the test scene library;
the construction unit 360 is further configured to construct a test program library corresponding to the test scenario library according to the program data.
As an alternative embodiment, the matching unit 320 includes:
a first subunit 321, configured to match a test scenario corresponding to the initial data in a test scenario library;
a second subunit 322, configured to obtain configuration data matched with the test scenario;
a third subunit 323, configured to match an original test program corresponding to the initial data in a test program library;
and a fourth subunit 324, configured to perform configuration processing on the original test program according to the configuration data, so as to obtain a test program.
As an optional implementation manner, the obtaining unit 350 is further configured to obtain test requirement data, and construct a test scene library according to a preset algorithm and the test requirement data;
the acquiring unit 350 is further configured to acquire program data corresponding to the test scene library;
the construction unit 360 is further configured to construct a test program library corresponding to the test scenario library according to the program data.
As an alternative embodiment, the preset algorithm includes one or more of a component algorithm, a boundary value analysis algorithm, an equivalence class classification algorithm, a causal graph algorithm, and a misspeculation algorithm.
In the implementation process, the algorithm preset in the method can enable the established test scene library to be better in effect and higher in accuracy.
In this embodiment, the explanation of the test data acquisition device based on the digital media system may refer to the description in embodiment 1 or embodiment 2, and the description is not repeated in this embodiment.
It can be seen that implementing the test data acquisition apparatus based on a digital media system described in fig. 4 can implement the receiving operation of the output data, the matching operation of the test scene and the test program, the generating operation of the test data, the outputting operation of the test data, and the like through a plurality of units, thereby implementing the integration of the test data acquisition operation. Therefore, by implementing the embodiment, the scene acquisition of the test data can be realized through a plurality of units, so that the acquisition easiness and the data effectiveness of the test data are improved, the test data can be further ensured to be applied to the test of the digital media system, and the efficiency and the accuracy of the digital media test are facilitated.
An embodiment of the present application provides an electronic device, including a memory and a processor, where the memory is configured to store a computer program, and the processor is configured to execute the computer program to cause the electronic device to execute the test data acquisition method based on a digital media system according to any one of embodiment 1 or embodiment 2 of the present application.
An embodiment of the present application provides a computer readable storage medium storing computer program instructions that, when read and executed by a processor, perform the method for acquiring test data based on a digital media system according to any one of embodiment 1 or embodiment 2 of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application. It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Claims (6)
1. A method for acquiring test data based on a digital media system, comprising:
receiving input initial data;
matching a test scene corresponding to the initial data with a test program;
performing scene test processing on the initial data according to the test scene and the test program to obtain test data;
outputting the test data, wherein the test data is used for carrying out functional test on the digital media system;
wherein prior to said receiving the input initial data, the method further comprises:
acquiring test requirement data, and constructing a test scene library according to a preset algorithm and the test requirement data;
program data corresponding to the test scene library is obtained;
constructing a test program library corresponding to the test scene library according to the program data;
the matching the test scene and the test program corresponding to the initial data comprises the following steps:
matching a test scene corresponding to the initial data in the test scene library;
acquiring configuration data matched with the test scene;
matching an original test program corresponding to the initial data in the test program library;
and carrying out configuration processing on the original test program according to the configuration data to obtain a test program.
2. The method for acquiring test data based on a digital media system according to claim 1, wherein after performing a scenerized test process on the initial data according to the test scene and the test program to obtain test data, the method further comprises;
according to the test data, performing functional test processing on the digital media system to obtain a functional test result, and performing regression test processing on the digital media system to obtain a regression test result;
and generating a test result of the digital media system according to the function test result and the regression test result.
3. The method of claim 1, wherein the predetermined algorithm comprises one or more of a component algorithm, a boundary value analysis algorithm, an equivalence class classification algorithm, a causal graph algorithm, and a misspeculation algorithm.
4. A digital media system-based test data acquisition device, comprising:
a receiving unit for receiving input initial data;
the matching unit is used for matching the test scene corresponding to the initial data with the test program;
the scenerising test unit is used for carrying out scenerising test processing on the initial data according to the test scene and the test program to obtain test data;
the output unit is used for outputting the test data, and the test data is used for carrying out functional test on the digital media system;
wherein, the test data acquisition device further includes:
the acquisition unit is used for acquiring test requirement data before receiving the input initial data;
the construction unit is used for constructing a test scene library according to a preset algorithm and the test requirement data;
the acquisition unit is also used for acquiring program data corresponding to the test scene library;
the construction unit is further used for constructing a test program library corresponding to the test scene library according to the program data;
wherein the matching unit includes:
the first subunit is used for matching the test scene corresponding to the initial data in the test scene library;
the second subunit is used for acquiring configuration data matched with the test scene;
a third subunit, configured to match an original test program corresponding to the initial data in the test program library;
and the fourth subunit is used for carrying out configuration processing on the original test program according to the configuration data to obtain a test program.
5. An electronic device comprising a memory for storing a computer program and a processor that runs the computer program to cause the electronic device to perform the digital media system-based test data acquisition method of any one of claims 1 to 3.
6. A computer readable storage medium, wherein computer program instructions are stored in the computer readable storage medium, which when read and executed by a processor, perform the digital media system based test data acquisition method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010008957.6A CN111258882B (en) | 2020-01-03 | 2020-01-03 | Test data acquisition method and device based on digital media system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010008957.6A CN111258882B (en) | 2020-01-03 | 2020-01-03 | Test data acquisition method and device based on digital media system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111258882A CN111258882A (en) | 2020-06-09 |
CN111258882B true CN111258882B (en) | 2023-08-25 |
Family
ID=70948573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010008957.6A Active CN111258882B (en) | 2020-01-03 | 2020-01-03 | Test data acquisition method and device based on digital media system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111258882B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112256587B (en) * | 2020-11-10 | 2024-06-28 | 恩亿科(北京)数据科技有限公司 | Data testing method and device based on SCRM system, electronic equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567203A (en) * | 2011-12-28 | 2012-07-11 | 创新科软件技术(深圳)有限公司 | Method and system for testing performance of distributed file system (DFS) |
CN105975394A (en) * | 2016-05-06 | 2016-09-28 | 华为技术有限公司 | Program testing method and device |
CN107220171A (en) * | 2016-03-22 | 2017-09-29 | 阿里巴巴集团控股有限公司 | The method of testing and device of a kind of virtual machine |
CN107229565A (en) * | 2017-05-31 | 2017-10-03 | 北京京东尚科信息技术有限公司 | Method of testing and device |
CN107894953A (en) * | 2017-11-21 | 2018-04-10 | 中国银行股份有限公司 | A kind of generation method and device of Bank application test data |
CN108563575A (en) * | 2018-04-16 | 2018-09-21 | 百度在线网络技术(北京)有限公司 | Applied program testing method, device, terminal and computer readable storage medium |
CN108763076A (en) * | 2018-05-22 | 2018-11-06 | 深圳乐信软件技术有限公司 | A kind of Software Automatic Testing Method, device, equipment and medium |
CN109600787A (en) * | 2018-12-12 | 2019-04-09 | 京信通信系统(中国)有限公司 | Base station is eated dishes without rice or wine throughput performance test method, device and system |
CN110579216A (en) * | 2019-09-12 | 2019-12-17 | 百度在线网络技术(北京)有限公司 | Test scene library construction method and device, electronic equipment and medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3385913B1 (en) * | 2008-09-22 | 2020-04-01 | Imagination Technologies Limited | Systems and methods for a ray tracing shader api |
KR101118602B1 (en) * | 2011-10-10 | 2012-02-27 | 어니컴 주식회사 | Method and system for gui testing with scene-driven scenario |
-
2020
- 2020-01-03 CN CN202010008957.6A patent/CN111258882B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567203A (en) * | 2011-12-28 | 2012-07-11 | 创新科软件技术(深圳)有限公司 | Method and system for testing performance of distributed file system (DFS) |
CN107220171A (en) * | 2016-03-22 | 2017-09-29 | 阿里巴巴集团控股有限公司 | The method of testing and device of a kind of virtual machine |
CN105975394A (en) * | 2016-05-06 | 2016-09-28 | 华为技术有限公司 | Program testing method and device |
CN107229565A (en) * | 2017-05-31 | 2017-10-03 | 北京京东尚科信息技术有限公司 | Method of testing and device |
CN107894953A (en) * | 2017-11-21 | 2018-04-10 | 中国银行股份有限公司 | A kind of generation method and device of Bank application test data |
CN108563575A (en) * | 2018-04-16 | 2018-09-21 | 百度在线网络技术(北京)有限公司 | Applied program testing method, device, terminal and computer readable storage medium |
CN108763076A (en) * | 2018-05-22 | 2018-11-06 | 深圳乐信软件技术有限公司 | A kind of Software Automatic Testing Method, device, equipment and medium |
CN109600787A (en) * | 2018-12-12 | 2019-04-09 | 京信通信系统(中国)有限公司 | Base station is eated dishes without rice or wine throughput performance test method, device and system |
CN110579216A (en) * | 2019-09-12 | 2019-12-17 | 百度在线网络技术(北京)有限公司 | Test scene library construction method and device, electronic equipment and medium |
Non-Patent Citations (1)
Title |
---|
何远等.基于黑盒遗传算法的Android驱动漏洞挖掘.《计算机学报》.2016,第1031-1043页. * |
Also Published As
Publication number | Publication date |
---|---|
CN111258882A (en) | 2020-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Larsen et al. | A flexible system for in situ triggers | |
CN110472154B (en) | Resource pushing method and device, electronic equipment and readable storage medium | |
CN107886414B (en) | Order combination method and equipment and computer storage medium | |
CN110096263A (en) | Web front end code automatic generation method and device | |
KR101390220B1 (en) | Method for recommending appropriate developers for software bug fixing and apparatus thereof | |
CN108228443B (en) | Web application testing method and device | |
CN112232171B (en) | Remote sensing image information extraction method and device based on random forest and storage medium | |
CN106202440B (en) | Data processing method, device and equipment | |
CN112328499A (en) | Test data generation method, device, equipment and medium | |
CN110647459A (en) | Application testing method and device | |
US10250550B2 (en) | Social message monitoring method and apparatus | |
CN111783415A (en) | Template configuration method and device | |
CN111373391B (en) | Language processing device, language processing system, and language processing method | |
Agarwal et al. | SDLC model selection tool and risk incorporation | |
CN113778864A (en) | Test case generation method and device, electronic equipment and storage medium | |
CN111258882B (en) | Test data acquisition method and device based on digital media system | |
CN110334012B (en) | Risk assessment method and device | |
CN104580109A (en) | Method and device for generating click verification code | |
WO2021183382A1 (en) | Graph-based method for inductive bug localization | |
CN112949711A (en) | Neural network model reusable training method and device for software-defined satellite | |
CN117009248A (en) | Machine learning model testing method and device, electronic equipment and storage medium | |
CN110019357B (en) | Database query script generation method and device | |
CN110928790A (en) | Test case construction method and device and test equipment | |
JP2023100542A (en) | Scenario construction system, scenario construction apparatus, and scenario construction method | |
CN114115987A (en) | Model processing method and device |
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 |