CN111258882A - 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 PDF

Info

Publication number
CN111258882A
CN111258882A CN202010008957.6A CN202010008957A CN111258882A CN 111258882 A CN111258882 A CN 111258882A CN 202010008957 A CN202010008957 A CN 202010008957A CN 111258882 A CN111258882 A CN 111258882A
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.)
Granted
Application number
CN202010008957.6A
Other languages
Chinese (zh)
Other versions
CN111258882B (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.)
Enyike Beijing Data Technology Co ltd
Original Assignee
Enyike Beijing Data 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 Enyike Beijing Data Technology Co ltd filed Critical Enyike Beijing Data Technology Co ltd
Priority to CN202010008957.6A priority Critical patent/CN111258882B/en
Publication of CN111258882A publication Critical patent/CN111258882A/en
Application granted granted Critical
Publication of CN111258882B publication Critical patent/CN111258882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3676Test management for coverage analysis
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy 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 test data acquisition method and a test data acquisition device based on a digital media system, which relate to the technical field of data test, and the method comprises the following steps: receiving input initial data; matching a test scene and a test program corresponding to the initial data; performing scene test processing on the initial data according to the test scene and the test program to obtain test data; and outputting test data, wherein the test data is used for performing functional test on the digital media system. Therefore, by implementing the implementation mode, comprehensive test data covering a test scene can be automatically generated, and the accuracy of performing the function test under the corresponding test scene is further improved.

Description

Test data acquisition method and device based on digital media system
Technical Field
The present application relates to the field of test technologies, and in particular, to a method and an apparatus for obtaining test data based on a digital media system.
Background
In the digital accurate marketing era, advertisers can utilize digital media planning tools to improve media coverage, effectiveness and efficiency, thereby achieving the purposes of profit penetration and sales growth. For the digital media system of the data + algorithm, due to the complex business logic, various data, complete test flow and a standard test method, the method is very important. The existing test method firstly designs a test scene according to requirements, and then tests a test object according to a test case. In practice, it is found that, due to the strong logical relevance of the digital media system, a test scenario designed according to requirements during testing is complex, the generation difficulty of test data is high, so that the testing efficiency is low, boundary value data cannot be generated in a conventional logical scenario, and the coverage rate of the test scenario is low. As can be seen, the existing testing method has low testing efficiency and insufficient coverage of testing scenes.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for acquiring test data based on a digital media system, which can automatically generate test data that covers a test scenario comprehensively, and further improve accuracy of performing a function test in a corresponding test scenario.
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 and a test program corresponding to the initial data;
performing scene test processing on the initial data according to the test scene and the test program to obtain test data;
and outputting the test data, wherein the test data is used for performing functional test on the digital media system.
In the implementation process, the method can preferentially receive the input initial data, carry out matching according to the initial data to obtain a test scene and a test program which are matched with the initial data, so that the method can further carry out scene testing on the initial data according to the test scene and the test program to obtain accurate test data which are in accordance with the scene, finally output the test data and prepare data for the function test of a future digital media system. Therefore, by implementing the implementation mode, the initial data can be accurately and efficiently output and acquired according to the corresponding test scene and the test program, so that the test scene can be comprehensively covered by the test data, and the accuracy of performing the function test under the corresponding test scene is improved.
Further, after performing scene test processing 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 function test processing on the digital media system to obtain a function 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 acquires the test data, the method can also perform function test processing according to the test data to obtain a function test result; and when the functional test result is obtained, performing regression test processing 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 carried out according to the test data, and the secondary verification can be carried out through the regression test, so that the test availability of the test data is improved, the secondary confirmation can be carried out on the digital media system through the test result, the test effect of the digital media system is improved, and further, a 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;
acquiring program data corresponding to the test scene library;
and constructing a test program library corresponding to the test scene library according to the program data.
In the implementation process, before receiving the initial data, the method can acquire test requirement data, and then construct a test scene library according to a preset algorithm and the test requirement data; after the test scenario library is constructed, program data corresponding to the test scenario library is acquired so that the program data can be used for constructing the test scenario library corresponding to the test scenario library. Therefore, by implementing the implementation mode, the test requirement data can be acquired in real time to establish a real-time effective test scene library and a test program library before the test data is acquired, so that the test data is ensured to have a real-time effect; moreover, by implementing the implementation mode, the acquired test data can be ensured to have higher accuracy and diversity.
Further, the matching of the test scenario corresponding to the initial data and 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 configuring the original test program according to the configuration data to obtain the test program.
In the implementation process, in the process of matching the test scene corresponding to the initial data with the test program, the method preferentially matches the test scene corresponding to the initial data in the test scene library, acquires the configuration data matched with the test scene, and then matches the original test program corresponding to the initial data in the test program library, so that the method can configure the original test program according to the configuration data to obtain the test program. Therefore, by implementing the implementation mode, the test scene and the test program can be accurately acquired according to the test scene library and the test program library, so that the effectiveness of the test scene and the test program is improved; meanwhile, the test program obtained according to the configuration data of the test scene has higher scene correspondence, so that the scene acquisition 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 division algorithm, a causal graph algorithm and a misspeculation algorithm.
In the implementation process, the preset algorithm in the method can enable the established test scene library to have better effect and higher accuracy.
A second aspect of the embodiments of the present application provides a test data acquiring apparatus based on a digital media system, where the test data acquiring apparatus based on the 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 scene testing unit is used for carrying out scene testing processing on the initial data according to the testing scene and the testing program to obtain testing data;
and the output unit is used for outputting the test data, and the test data is used for performing functional test on the digital media system.
In the implementation process, the test data acquisition device can implement receiving operation of output data, matching operation of a test scene and a test program, generation operation of test data, output operation of the test data and the like through a plurality of units, so that integration of the test data acquisition operation is achieved. Therefore, by implementing the implementation mode, scene acquisition of the test data can be realized through the multiple units, so that the acquisition simplicity and the data effectiveness of the test data are improved, the test data can be applied to the test of a digital media system, and the efficiency and the accuracy of the digital media test are facilitated.
Further, the test data acquisition apparatus further includes:
the acquisition unit is used for acquiring the test requirement data before the input initial data is received;
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 further used for acquiring program data corresponding to the test scene library;
the construction unit is further configured to construct a test program library corresponding to the test scenario 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 scenario library through the acquisition unit and the construction unit, and in addition, after the acquisition of the test requirement data and the construction of the test scenario library are completed, the acquisition unit can also be used for acquiring the program data corresponding to the test scenario library and prompting the construction unit to construct the test scenario library corresponding to the test scenario library according to the program data. By implementing the implementation mode, 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 depend on the two databases, and the effectiveness and the accuracy of the acquisition of the test data are improved.
Further, the matching unit includes:
a first subunit, configured to match a test scenario corresponding to the initial data in the test scenario 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 configuring the original test program according to the configuration data to obtain the test program.
In the implementation process, the matching unit may have a plurality of subunits, and the matching of the test scenario and the matching of the test program are performed 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 to obtain the final test program. By implementing the embodiment, the test data acquisition device can acquire more accurate test scenes and test programs through the matching unit, so that the effectiveness of the acquired test data is improved.
Further, the obtaining unit is further configured to obtain test requirement data, and construct a test scenario library according to a preset algorithm and the test requirement data;
the acquisition unit is further used for acquiring program data corresponding to the test scene library;
the construction unit is further configured to construct a test program library corresponding to the test scenario library according to the program data.
In the implementation process, the obtaining unit and the constructing unit can be used for obtaining the test program library in a cooperation mode, so that the test program library can be applied to the obtaining process of the test data, and therefore the obtaining 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 division algorithm, a causal graph algorithm and a misspeculation algorithm.
In the implementation process, the preset algorithm in the method can enable the established test scene library to have better effect and higher accuracy.
A third aspect of the embodiments of the present application provides an electronic device, including a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to make the electronic device execute 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.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores computer program instructions, and when the computer program instructions are read and executed by a processor, the computer program instructions execute 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 required to be used 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 therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a test data acquisition method based on a digital media system according to an embodiment of the present application;
FIG. 2 is a schematic flowchart illustrating another method for acquiring test data based on a digital media system according to an embodiment of the present disclosure;
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 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 drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a test data obtaining method based on a digital media system according to an embodiment of the present disclosure. 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 a user through an interface, and the parameters are basic parameters generated by the test data.
In this embodiment, the specific data content of the initial data is not limited in this embodiment.
And 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 in which the initial data is applied, and the test program is a program matched with the test scenario and used for processing the initial data.
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 guaranteed acquisition of the test data can be efficiently and accurately generated in real time according to the data test scene.
And 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 performing scene processing on the initial data through a test program in a test scene to obtain test data.
And S104, outputting test data, wherein the test data is used for performing 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 functionality testing of the digital media system.
In this embodiment, the execution subject of the method may be a computing device such as a computer and a server, and is not limited in this embodiment.
In this embodiment, an execution subject of the method may also be a smart device such as a smart phone and a tablet, which is not limited in this embodiment.
It can be seen that, by implementing the method for acquiring test data based on a digital media system described in fig. 1, the input initial data can be preferentially received and matched according to the initial data to obtain a test scenario and a test program matched with the initial data, so that the method can further perform a scene test on the initial data according to the test scenario and the test program to obtain accurate and scene-compliant test data, and 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 output and acquired according to the corresponding test scene and the test program, so that the test scene can be comprehensively covered by the test data, and the accuracy of performing the function test under the corresponding test scene is improved.
Example 2
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another test data acquisition method based on a digital media system according to an embodiment of the present application. The flow chart of the test data acquisition method based on the digital media system depicted in fig. 2 is improved according to the flow chart of the test data acquisition method based on the digital media system depicted in fig. 1. The test data acquisition method based on the digital media system comprises the following steps:
s201, obtaining 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 division algorithm, a causal graph algorithm, and an error prediction algorithm.
In this embodiment, the test requirement data may be preset or may be subsequently input, and this embodiment is not limited in any way.
In this embodiment, the test scenario library includes a large number of test scenarios, where the test scenario library may enable the obtained test data to have scenario diversity.
S202, program data corresponding to the test scene library are obtained.
In this embodiment, a plurality of test scenarios included in the test scenario library may correspond to a plurality of program data.
And 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 the test scenario library, and one test scenario may correspond to one test program.
And S204, receiving input initial data.
In this embodiment, the initial data is a part of parameters input by a user through an interface, and the parameters are basic parameters generated by the test data.
In this embodiment, the specific data content of the initial data is not limited in this embodiment.
And S205, matching the test scene corresponding to the initial data in the test scene library.
In this embodiment, the test scenario may be selected from the initial data, so that the test scenario is more suitable for the initial data.
And 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 the test program.
And S207, matching an original test program corresponding to the initial data in the test program library.
In this embodiment, the original test program corresponds to the initial data, and the original test program also corresponds to the test scenario. The original test programs and the test scenes may not correspond to each other one by one.
And S208, configuring the original test program according to the configuration data to obtain the test program.
In this embodiment, the original test program obtains the test program after configuration of the configuration data of the test scenario; the test programs and the test scenes may be in one-to-one correspondence.
And 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 can be accurately obtained according to the test scenario and the test program, so that higher diversity of the data scenario is achieved.
And S210, outputting test data, wherein the test data is used for performing functional test on the digital media system.
In this embodiment, test data is output, and the test data may be used to perform a functionality test on a digital media system.
S211, according to the test data, performing function test processing on the digital media system to obtain a function test result, and performing regression test processing on the digital media system to obtain a regression test result.
In this embodiment, the function test result is used to indicate the effect of the function test and the feedback information.
In this embodiment, the regression test result is used to indicate whether there is a difference pool in the process of obtaining the test data and whether there is a difference pool in the subsequent functional test process.
S212, generating a test result of the digital media system according to the function test result and the regression test result.
In this embodiment, the test result is used for watching by relevant personnel, so that the relevant personnel can conveniently know the acquisition process of the test data and the application effect of the test data in the test.
It can be seen that, by implementing the method for acquiring test data based on a digital media system described in fig. 2, the input initial data can be preferentially received and matched according to the initial data to obtain a test scenario and a test program matched with the initial data, so that the method can further perform a scene test on the initial data according to the test scenario and the test program to obtain accurate test data conforming to the scene, and 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 output and acquired according to the corresponding test scene and the test program, so that the test scene can be comprehensively covered by the test data, and the accuracy of performing the function 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 apparatus based on a digital media system according to an embodiment of the present 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 for matching the test scenario corresponding to the initial data with the test program;
a scene test unit 330, configured to perform scene test processing on the initial data according to a test scene and a test program to obtain test data;
and the output unit 340 is configured to output test data, where the test data is used to perform a functionality test on the digital media system.
In this embodiment, for the explanation of the test data acquisition device based on the digital media system, reference may be made to the description in embodiment 1 or embodiment 2, and details are not repeated in this embodiment.
It can be seen that, by implementing the test data acquisition apparatus based on the digital media system described in fig. 3, the receiving operation of the output data, the matching operation of the test scenario and the test program, the generation operation of the test data, the output operation of the test data, and the like can be implemented by a plurality of units, so that the integration of the test data acquisition operation is implemented. Therefore, by implementing the implementation mode, scene acquisition of the test data can be realized through the multiple units, so that the acquisition simplicity and the data effectiveness of the test data are improved, the test data can be applied to the test of a 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 present application. The structure diagram of the test data acquisition device based on the digital media system depicted in fig. 4 is improved according to the structure diagram of the test data acquisition device based on the digital media system depicted in fig. 3. Wherein, this test data acquisition device based on digital media system still includes:
an obtaining unit 350, configured to obtain test requirement data before receiving input initial data;
the building unit 360 is used for building a test scene library according to a preset algorithm and test requirement data;
an obtaining unit 350, configured to obtain program data corresponding to the test scenario library;
the constructing 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 the test scenario library;
a second subunit 322, configured to obtain configuration data matching the test scenario;
a third subunit 323, configured to match an original test program corresponding to the initial data in the test program library;
the fourth sub-unit 324 is configured to perform configuration processing on the original test program according to the configuration data to obtain the test program.
As an optional implementation manner, the obtaining unit 350 is further configured to obtain test requirement data, and construct a test scenario library according to a preset algorithm and the test requirement data;
an obtaining unit 350, configured to obtain program data corresponding to the test scenario library;
the constructing unit 360 is further configured to construct a test program library corresponding to the test scenario library according to the program data.
As an optional implementation, the preset algorithm includes one or more of a component algorithm, a boundary value analysis algorithm, an equivalence class division algorithm, a causal graph algorithm, and a misspeculation algorithm.
In the implementation process, the preset algorithm in the method can enable the established test scene library to have better effect and higher accuracy.
In this embodiment, for the explanation of the test data acquisition device based on the digital media system, reference may be made to the description in embodiment 1 or embodiment 2, and details are not repeated in this embodiment.
It can be seen that, by implementing the test data acquisition apparatus based on the digital media system described in fig. 4, the receiving operation of the output data, the matching operation of the test scenario and the test program, the generation operation of the test data, the output operation of the test data, and the like can be implemented by a plurality of units, so that the integration of the test data acquisition operation is implemented. Therefore, by implementing the implementation mode, scene acquisition of the test data can be realized through the multiple units, so that the acquisition simplicity and the data effectiveness of the test data are improved, the test data can be applied to the test of a 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, which includes a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the method for acquiring test data based on a digital media system according to any one of embodiment 1 and embodiment 2 of the present application.
The embodiment of the present application provides a computer-readable storage medium, which stores computer program instructions, and when the computer program instructions are read and executed by a processor, the computer program instructions execute 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 embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures 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 an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent 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 such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute 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), a magnetic disk or an optical disk, and 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 changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by 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, herein, relational terms such as first and second, and the like may be 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. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A test data acquisition method based on a digital media system is characterized by comprising the following steps:
receiving input initial data;
matching a test scene and a test program corresponding to the initial data;
performing scene test processing on the initial data according to the test scene and the test program to obtain test data;
and outputting the test data, wherein the test data is used for performing functional test on the digital media system.
2. The method for acquiring test data based on a digital media system according to claim 1, wherein after performing a scene 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 function test processing on the digital media system to obtain a function 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 prior to said receiving 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;
acquiring program data corresponding to the test scene library;
and constructing a test program library corresponding to the test scene library according to the program data.
4. The method of claim 3, wherein the matching of the test scenario corresponding to the initial data with the test program comprises:
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 configuring the original test program according to the configuration data to obtain the test program.
5. The method of claim 3, wherein the predetermined algorithm comprises one or more of a component algorithm, a boundary value analysis algorithm, an equivalence class division algorithm, a causal graph algorithm, and a misspeculation algorithm.
6. A test data acquisition apparatus based on a digital media system, the test data acquisition apparatus based on the digital media system 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 scene testing unit is used for carrying out scene testing processing on the initial data according to the testing scene and the testing program to obtain testing data;
and the output unit is used for outputting the test data, and the test data is used for performing functional test on the digital media system.
7. The digital media system-based test data acquisition device of claim 6, further comprising:
the acquisition unit is used for acquiring the test requirement data before the input initial data is received;
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 further used for acquiring program data corresponding to the test scene library;
the construction unit is further configured to construct a test program library corresponding to the test scenario library according to the program data.
8. The digital media system-based test data acquisition apparatus of claim 7, wherein the matching unit comprises:
a first subunit, configured to match a test scenario corresponding to the initial data in the test scenario 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 configuring the original test program according to the configuration data to obtain the test program.
9. An electronic device, comprising a memory for storing a computer program and a processor for executing 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 5.
10. A readable storage medium, wherein computer program instructions are stored in the readable storage medium, and when the computer program instructions are read and executed by a processor, the computer program instructions perform the method for acquiring test data based on a digital media system according to any one of claims 1 to 5.
CN202010008957.6A 2020-01-03 2020-01-03 Test data acquisition method and device based on digital media system Active CN111258882B (en)

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 true CN111258882A (en) 2020-06-09
CN111258882B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256587A (en) * 2020-11-10 2021-01-22 恩亿科(北京)数据科技有限公司 Data testing method and device based on SCRM system, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
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)
US20140078145A1 (en) * 2008-09-22 2014-03-20 Caustic Graphics, Inc. Systems and methods for program interfaces in multipass rendering
US20140258989A1 (en) * 2011-10-10 2014-09-11 Onycom, Inc. Method and system for automating a scene-based test
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

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140078145A1 (en) * 2008-09-22 2014-03-20 Caustic Graphics, Inc. Systems and methods for program interfaces in multipass rendering
US20140258989A1 (en) * 2011-10-10 2014-09-11 Onycom, Inc. Method and system for automating a scene-based test
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 (2)

* Cited by examiner, † Cited by third party
Title
STEVAO A. ANDRADE等: "Towards the Systematic Testing of Virtual Reality Programs", pages 196 - 205 *
何远等: "基于黑盒遗传算法的Android驱动漏洞挖掘", pages 1031 - 1043 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256587A (en) * 2020-11-10 2021-01-22 恩亿科(北京)数据科技有限公司 Data testing method and device based on SCRM system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111258882B (en) 2023-08-25

Similar Documents

Publication Publication Date Title
Rogge-Solti et al. Discovering stochastic petri nets with arbitrary delay distributions from event logs
CN110321284B (en) Test data entry method, device, computer equipment and storage medium
US10621497B2 (en) Iterative and targeted feature selection
CN110096263A (en) Web front end code automatic generation method and device
US9582270B2 (en) Effective feature location in large legacy systems
CN113778864A (en) Test case generation method and device, electronic equipment and storage medium
EP3336726A1 (en) Systems and methods for facilitating data transformation
JP2023022831A (en) Computer system, computer implementation method, program and computer implementation system (learning causal relation)
CN106202440B (en) Data processing method, device and equipment
CN111258882B (en) Test data acquisition method and device based on digital media system
US20210286706A1 (en) Graph-based method for inductive bug localization
US20210117593A1 (en) Configurable digital twin
CN111476446A (en) Service state monitoring processing method, device, equipment and storage medium
CN104580109A (en) Method and device for generating click verification code
CN110647459A (en) Application testing method and device
CN117009248A (en) Machine learning model testing method and device, electronic equipment and storage medium
CN113672497B (en) Method, device and equipment for generating non-buried point event and storage medium
CN112269473B (en) Man-machine interaction method and system based on flexible scene definition
CN114971204A (en) Budget control method, budget control system, storage medium and electronic equipment
CN114115987A (en) Model processing method and device
CN114004206A (en) Form generation method and device, computer equipment and storage medium
US20170185397A1 (en) Associated information generation device, associated information generation method, and recording medium storing associated information generation program
CN112084667A (en) Test case generation method and device and electronic equipment
US10678862B2 (en) Information processing apparatus, method, and non-transitory computer readable medium for searching business processes and related documents
Yannikos et al. Synthetic data creation for forensic tool testing: Improving performance of the 3lspg framework

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