CN114554180A - Multimedia device test method, medium, electronic device and test system - Google Patents

Multimedia device test method, medium, electronic device and test system Download PDF

Info

Publication number
CN114554180A
CN114554180A CN202011330211.3A CN202011330211A CN114554180A CN 114554180 A CN114554180 A CN 114554180A CN 202011330211 A CN202011330211 A CN 202011330211A CN 114554180 A CN114554180 A CN 114554180A
Authority
CN
China
Prior art keywords
testing
information
data
multimedia device
output information
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.)
Pending
Application number
CN202011330211.3A
Other languages
Chinese (zh)
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.)
Pateo Connect Nanjing Co Ltd
Original Assignee
Pateo Connect Nanjing 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 Pateo Connect Nanjing Co Ltd filed Critical Pateo Connect Nanjing Co Ltd
Priority to CN202011330211.3A priority Critical patent/CN114554180A/en
Publication of CN114554180A publication Critical patent/CN114554180A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a testing method, a medium, electronic equipment and a testing system of multimedia equipment, wherein the testing method of the multimedia equipment comprises the following steps: acquiring data to be tested; forming output information after running the data to be tested; matching and analyzing the output information and preset verification information; and generating a test result according to the matching analysis result. The invention can automatically test the multimedia equipment, breaks away from the traditional manual test mode, and improves the test efficiency while ensuring the accuracy of the test result.

Description

Multimedia device test method, medium, electronic device and test system
Technical Field
The invention belongs to the technical field of equipment testing, relates to an equipment testing method, and particularly relates to a testing method, a testing medium, electronic equipment and a testing system for multimedia equipment.
Background
With the development of electronic technology, electronic products are coming endlessly, and the performance requirements of users on various aspects of electronic products are gradually increased. In the electronic product test with the voice function, the pressure test of the recognition rate and the awakening rate exists, at present, the traditional mode needs a large amount of manpower and time to be put into the work of repeated operation, a tester makes a sound, the electronic product receives the sound and then plays the sound or gives feedback aiming at the sound, and errors easily appear in the test result due to the fact that the test time is long and the workload is large. On the other hand, the testing time is long, and the testing result is influenced by the occurrence of human factors of sound fatigue of testing personnel; for example, after release of a version, hundreds of recognition rate smoking tests are performed for each basic voice utterance, which requires a lot of labor and time. The manual testing mode has the advantages of single working content, high repeatability and high personnel fatigue degree.
In addition to the fatigue of the testers, the manual test takes a lot of time, the test monopolizes the whole time of one tester, and the test is carried out for 60 times in 1 hour at most, and if the test is carried out for 8 hours in one day, the total test time is 60 times by 8 times 480 times; actual testing requirements may be thousands of times, so that manual testing not only delays the progress of the project, but also causes huge waste of manpower and financial resources of a company.
Therefore, how to provide a testing method, a testing medium, an electronic device and a testing system for a multimedia device to solve the defects that the prior art cannot avoid manual intervention to influence the testing result and further improve the testing efficiency in the testing process of the multimedia device becomes a technical problem to be solved by those skilled in the art.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a testing method, a testing medium, an electronic device and a testing system for a multimedia device, which can automatically test the multimedia device, and which is free from a conventional manual testing manner, thereby improving testing efficiency while ensuring accuracy of a testing result.
Another object of the present invention is to provide a testing method, a testing medium, an electronic device and a testing system for a multimedia device, which are advantageous in that matching analysis of spectrum characteristics can be performed by using audio data of a specific frequency played by the multimedia device and preset verification information to obtain a testing result.
Another object of the present invention is to provide a testing method, a testing medium, an electronic device, and a testing system for a multimedia device, which can perform testing for different application scenarios, such as power on/off and sleep/wake-up of the multimedia device, so that a tester can know the pressure test condition of the multimedia device in different application scenarios.
Another object of the present invention is to provide a testing method, a testing medium, an electronic device and a testing system for multimedia devices, which have the advantages of more flexible testing, no limitation of the working time of the testers, the testing field and the testing environment, and simple operation by performing an automated testing on the multimedia devices.
Another object of the present invention is to provide a testing method, a testing medium, an electronic device and a testing system for multimedia devices, which are capable of automatically identifying image display information fed back and output by the multimedia device based on data to be tested, so as to implement a pressure test for voice interaction of the multimedia device with an interactive interface.
To achieve the above and other related objects, an aspect of the present invention provides a method for testing a multimedia device, the method comprising: acquiring data to be tested; forming output information after running the data to be tested; matching and analyzing the output information and preset verification information; and generating a test result according to the matching analysis result.
To achieve the above and other related objects, another aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the method for testing a multimedia device.
To achieve the above and other related objects, another aspect of the present invention provides an electronic device, comprising: a processor and a memory; the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the electronic equipment to execute the testing method of the multimedia equipment.
In order to achieve the above and other related objects, another aspect of the present invention provides a testing system for multimedia devices, which includes an obtaining module, an acquiring module, a matching analysis module and a result generating module, wherein the acquiring module is in data transmission connection with the matching analysis module, and the matching analysis module is in data transmission connection with the result generating module; the acquisition module is used for acquiring data to be tested; the acquisition module is used for acquiring output information formed after the data to be tested is operated; the matching analysis module is used for performing matching analysis on the output information and preset verification information; and the result generating module is used for generating a test result according to the matching analysis result.
Drawings
FIG. 1 is a schematic flow chart illustrating a testing method of a multimedia device according to an embodiment of the present invention.
Fig. 2 is a schematic diagram illustrating output information of a testing method of a multimedia device according to an embodiment of the invention.
FIG. 3 is a flow chart of a matching analysis of a testing method of a multimedia device according to an embodiment of the present invention.
Fig. 4 is a schematic diagram illustrating a power on/off test of the multimedia device testing method according to an embodiment of the invention.
FIG. 5 is a schematic diagram of a sleep wake-up test in an embodiment of a method for testing a multimedia device according to the present invention.
FIG. 6 is a flow chart of a matching analysis of the testing method of the multimedia device according to another embodiment of the present invention.
FIG. 7 is a schematic diagram illustrating an interface interaction-based testing method for testing a multimedia device according to an embodiment of the present invention.
Fig. 8 is a schematic structural connection diagram of an electronic device according to an embodiment of the invention.
FIG. 9 is a schematic diagram of a testing system for multimedia devices according to an embodiment of the present invention.
Description of the element reference numerals
8 electronic device
81 processor
82 memory
9 test system of multimedia equipment
91 acquisition module
92 acquisition module
93 matching analysis module
94 result generation module
S11-S14
S131A-S131D
S132A-S132D
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
The testing method, the medium, the electronic equipment and the testing system of the multimedia equipment can automatically test the multimedia equipment, depart from the traditional manual testing mode, and improve the testing efficiency while ensuring the accuracy of the testing result.
The principle and implementation of the testing method, medium, electronic device and testing system for multimedia devices of the present embodiment will be described in detail below with reference to fig. 1 to 9, so that those skilled in the art can understand the testing method, medium, electronic device and testing system for multimedia devices of the present embodiment without creative work.
Please refer to fig. 1, which is a schematic flow chart illustrating a testing method of multimedia devices according to an embodiment of the present invention. As shown in fig. 1, the method for testing multimedia devices specifically includes the following steps:
and S11, acquiring the data to be tested.
And S12, forming output information after the data to be tested is operated.
Specifically, after the multimedia device runs the data to be tested, corresponding output information is generated. The output information can be audio data or feedback information presented to a user by the multimedia device based on the operation of the data to be tested.
And S13, performing matching analysis on the output information and preset verification information.
Please refer to fig. 2, which is a schematic diagram illustrating output information of a testing method for multimedia devices according to an embodiment of the present invention. As shown in fig. 2, in an embodiment, the data to be tested is first audio data with a specific frequency, after the first audio data is played, second audio data formed in the process of playing the first audio data is collected, the output information is formed according to the second audio data, and the matching analysis step of S131 is performed. In another embodiment, the data to be tested is voice data. And after the voice data is played, collecting image display information formed after the voice data is played, forming the output information according to the image display information, and turning to the matching analysis step of S132.
Please refer to fig. 3, which is a flowchart illustrating a matching analysis of a testing method of a multimedia device according to an embodiment of the present invention. The preset verification information is verification audio data obtained according to the data to be tested. As shown in fig. 3, S131 includes the steps of:
and S131A, analyzing the frequency spectrum characteristics of the output information.
Specifically, the output information is subjected to fast fourier transform to extract the frequency of the effective signal. The specific frequency may be, for example, 2kHz, 2.3kHz, 2.8kHz, or the like. When the specific frequency of the first audio data is 2kHz, the frequency of the effective signal extracted from the output information should also be 2kHz, and in practical tests, the spectral feature of the output information may be a frequency around 2 kHz.
And S131B, performing matching analysis on the spectrum characteristics of the output information and the spectrum characteristics of the preset verification information.
Specifically, for example, the frequency spectrum feature of the output information is 2.2kHz, a frequency threshold value is set to be 0.3kHz, the frequency spectrum feature of the preset verification information is 2kHz, the frequency difference between the output information and the preset verification information is 0.2kHz and is less than the frequency threshold value 0.3kHz, so that it is determined that the frequency spectrum feature of the output information matches the frequency spectrum feature of the preset verification information, otherwise, it is determined that the frequency spectrum feature of the output information does not match the frequency spectrum feature of the preset verification information.
S131C, if the spectral feature of the output information matches the spectral feature of the preset verification information, the test result is normal.
S131D, if the spectrum feature of the output information is inconsistent with the spectrum feature of the preset verification information, the test result is abnormal.
Please refer to fig. 4, which is a schematic diagram of a power on/off test of a multimedia device testing method according to an embodiment of the present invention. As shown in fig. 4, a test environment of the test method of the multimedia device is set up in advance: the measurement and control terminal is pre-provided with a computer program of the testing method of the multimedia equipment, for example, the measurement and control terminal can be a computer; the wiring harness of the vehicle machine is connected, so that the normal work of a loudspeaker and a microphone is ensured; the USB relay controls the vehicle power supply through the measurement and control end; the USB serial port at the vehicle end is connected to the measurement and control end through a wire; the measurement and control end plays and collects audio through an earphone wire, and the earphone wire, a microphone and a loudspeaker are put together. Obtaining data to be tested after starting up; after the data to be tested is operated, output information is formed and collected; and matching and analyzing the output information and preset verification information, and completing one round of test after shutdown.
Specifically, the testing method of the multimedia device in fig. 4 is executed by the vehicle machine and the automation control system together. The vehicle machine starts to be in a shutdown state, the automatic control system firstly judges whether the self-detection of the power control module is successful after being electrified, and if not, the vehicle machine quits; if yes, the vehicle machine is powered on through a USB relay, the vehicle machine system starting information is obtained through communication between the USB relay and the vehicle machine through a USB serial port (the system starting information can be log file information of system starting, including kernel and Android information and interface information related to system starting), whether the system starting state is successful or not is judged, if all parameters of the system starting are normal, the system starting is judged to be successful, and if not, the system starting is judged to be abnormal. When the vehicle-mounted audio data collection device is started successfully, a collection instruction of audio data is sent to a vehicle machine through the USB serial port, the audio data sent to the vehicle machine is used as first audio data, the vehicle machine is ready for collecting the first audio data after receiving the collection instruction, the automatic control system starts to play the first audio data, the first audio data is specific audio data, a collection stopping instruction is sent to the vehicle machine through the USB serial port after the first audio data is played, and the vehicle machine stops collecting according to the received collection stopping instruction. The automatic control system sends a play instruction of data collection to the car machine through the USB serial port, the car machine starts to play first audio data from the play instruction, the automatic control system collects the play data of the car machine at the same time, the data collected by the automatic control system is used as second audio data, whether the second audio data is consistent with the first audio data or not is judged, if yes, the correct count value is added with 1, if not, the wrong count value is added with 1, and error information is stored. And after the test for one time is finished, displaying the test result and powering off the vehicle machine through the USB relay. And after the car machine is shut down, the next round of test is ready to be restarted.
Please refer to fig. 5, which is a schematic diagram illustrating a sleep wake-up test of a testing method of a multimedia device according to an embodiment of the present invention. As shown in fig. 5, after the vehicle is started, a round of startup and shutdown tests are performed, and then after the machine is dormant, the vehicle is awakened through an automatic control system, and the vehicle obtains data to be tested; after the data to be tested is operated, output information is formed, and an automatic control system collects the output information; and matching and analyzing the output information and preset verification information, waiting for the vehicle machine to sleep after completing one round of test, and continuing to sleep and awaken when performing the next round of test.
Specifically, the testing method of the multimedia device in fig. 5 is executed by the vehicle machine and the automation control system together. The vehicle machine starts to be in a dormant state, the automatic control system firstly judges whether the ACC control module is successfully self-checked after being electrified, and if not, the vehicle machine quits; if so, electrifying the ACC through a USB relay (wherein, the ACC is the abbreviation of access and the meaning of accessories, and mainly refers to multimedia systems such as a radio and the like and car accessories such as a cigarette lighter and the like on an automobile), awakening the car, communicating with the car through a USB serial port, obtaining the awakening information of the car system (the awakening information of the system can be log file information of the system awakening), judging whether the system awakening is normal, judging that the awakening is successful when all parameters of the system awakening are normal, and otherwise, judging that the awakening is abnormal. When the awakening is successful, a collection instruction of (first) audio data is sent to the car machine through the USB serial port, the car machine receives the collection instruction and then makes a preparation for collecting the (first) audio data, the automatic control system starts to play specific audio data (first audio data), and after the playing is finished, a collection stopping instruction is sent to the car machine through the USB serial port, and the car machine stops collecting the data according to the received collection stopping instruction. The automatic control system sends a play instruction of collected data to the car machine through the USB serial port, the car machine starts to play the collected data (first audio data) from this, the automatic control system collects the played data of the car machine at the same time, and judges whether the data (second audio data) collected by the automatic control system is consistent with a specific audio file (first audio data), if so, the correct test count value is increased by 1, if not, the wrong test count value is increased by 1, and error information is stored. And after the test is finished for one time, displaying the test result, turning off the ACC power supply of the vehicle machine through the USB relay, and enabling the vehicle machine to start to sleep. Whether the vehicle machine is completely dormant is detected through the USB serial port, so that the next round of test is ready to be restarted after the vehicle machine is completely dormant, if the vehicle machine is not completely dormant, a preset time period is delayed, for example, 5s, and warning information is displayed.
Please refer to fig. 6, which is a flowchart illustrating a matching analysis of a testing method of a multimedia device according to another embodiment of the present invention. Identifying text information in the image display information; acquiring the text information; and taking the text information as the output information. The preset verification information comprises information output after the voice data normally runs through the multimedia equipment. As shown in fig. 6, S132 includes the steps of:
S132A, analyzing the text content of the text information.
Specifically, the image display information may be a captured picture of a screen, and the capturing mode may be a screen capture mode, a screen recording mode, a picture taking mode, or the like. And converting the content presented by the picture into content recognizable by a computer through image recognition. For example, the screen of the multimedia device presents a word of "hello, owner" at the time of the wake-up test, and the picture is converted into { ' words ': hello, owner ' } by image recognition, and if a plurality of text contents are recognized, converted into { ' words ': 8-month-3-year-2020 ' }, { ' words ': hello, owner ' }.
S132B, performing matching analysis on the text content of the text message and the text content of the preset verification information.
S132C, if the text content of the text message matches the text content of the preset verification message, the test result is normal.
Specifically, in the recognition mode, if the voice data is "hello", the recognition function of the multimedia device is tested, the text content of "hello" should be presented when the multimedia device operates normally, and at this time, the preset verification information is set as the text content of "hello". And in the actual test process, when the multimedia equipment really presents the character content of 'hello', the test is judged to be normal.
Specifically, in the wake-up mode, if the voice data is "hello", the wake-up function of the multimedia device is tested, the text content of "owner, hello" should be presented when the multimedia device operates normally, and at this time, the preset verification information is set as the text content of "owner, hello". And when the multimedia equipment really presents the text content of 'owner, your' in the actual test process, judging that the test is normal.
S132D, if the text content of the output message is inconsistent with the text content of the preset verification message, the test result is abnormal.
Please refer to fig. 7, which is a schematic diagram of an interface interaction-based testing method for testing a multimedia device according to an embodiment of the present invention. As shown in fig. 7, in the practical application of the embodiment, the computer (1) with the control software (2) and the monitoring device (5), the audio transmission device (3), and the product side (4, multimedia device) jointly execute the testing method of the multimedia device.
Specifically, as shown in fig. 7, control software is started in the computer, and the control software includes 6 control units: the system comprises an automatic script generation and self-starting unit, a character-to-audio unit, a control monitoring device unit, a screen information processing unit, a test result judgment unit and a test result generation unit. The automatic script generation and self-starting unit transfers the voice dialogs (the voice data) to the text-to-audio unit in a text form, the text-to-audio unit returns to send completion information, the text-to-audio unit transmits audio generated by conversion to the audio transmission equipment so as to transmit the audio to the product end (multimedia equipment) through the audio transmission equipment, and the product end (multimedia equipment) presents corresponding image display information on an interactive interface of the product end (multimedia equipment) after acquiring the audio. The image display information is preferably implemented in the form of a screen information display, and two applications are taken as examples: firstly, an identification process: presenting the text content with the same audio frequency on the interactive interface based on the acquired audio frequency; secondly, the awakening function is as follows: and presenting the text content responded and fed back to the audio on the interactive interface based on the acquired audio. And the control monitoring device unit further controls the monitoring device to monitor the screen information of the product end, the monitoring device sends the monitored screen information to the screen information processing unit, the screen information processing unit sends the processed screen information to the test result judging unit to judge the test result, and the test result judging unit sends the judgment result to the test result generating unit to generate the test result.
It should be noted that the content presented by the image display information may be text content, and when the text content is consistent with the text content of the preset verification information, the test is determined to be normal; the content presented by the image display information can also be picture content, and when the picture content is consistent with the picture content of the preset verification information, the test is judged to be normal. The picture content may be still picture content or animated picture content. In addition to the text and the picture, other contents such as special symbols, icons and the like which can present different forms corresponding to the voice data are included in the protection scope of the present invention. Further, when analyzing the image display information, not only the content such as the characters or the pictures, but also whether the position of the content such as the characters or the pictures appearing in the interface is correct, whether the pixel and the definition meet the requirements, whether the deformation exists, and the like can be detected through image recognition.
Therefore, the invention has higher automation degree for the pressure test scenes of the recognition rate and the awakening rate, is suitable for testing various electronic products with voice functions, and can greatly reduce manpower and time.
And S14, generating a test result according to the matching analysis result.
Further, the testing method of the multimedia device further comprises the following steps: and setting the testing times of the multimedia equipment so as to automatically execute the testing method of the multimedia equipment for the specified testing times according to the requirements of testers.
Further, the testing method of the multimedia device further comprises the following steps: and counting the times that the test result is normal and the times that the test result is abnormal to generate a statistical result.
Specifically, the statistical result may be displayed on a screen of the electronic device, for example, including the total test times, the success times, and the error times, and for example, the test result generating unit in fig. 7 may generate and display the statistical result.
Still further, the statistical result may also include failure information. When the test has errors, recording the error information; the method and the device are convenient for testers to subsequently search for problems, determine problem points, improve software, provide the overall stability of the system, further optimize the performance of the multimedia equipment according to the problems, and then test for multiple times again until the error times are less or 0.
In particular, troubleshooting of the problem can be achieved by a log file of the presentation and some audio data saved. The presenting mode may be directly presenting on the screen, or setting a related touch key or link on the screen, so that the tester calls log file information or audio data information related to the fault when performing a touch operation or a selection operation of the link.
In one practical application, the problem is investigated by log files: checking whether the audio service of the system works normally according to the log file information, whether recording is started when the recording is needed, and whether playing is started when the playing is needed; whether the system has a crash, etc.
In another practical application, the problem is checked by the stored audio data: for example, the earphone wire is not used for prolonging the signal at the beginning of the test, so that when a plurality of colleagues discuss problems or make calls and the like around a station have loud voice, the problems of identification error and inconsistent detection can occur; at this time, all the things are normal from the log file, but from the stored audio data, it can be found that the noise introduced from the outside is too much, resulting in the deviation of the algorithm result, thereby improving the testing environment of the multimedia device by using the earphone cable. On the other hand, the earphone cord can be used for preventing the noise generated by the sound directly played by the computer to other colleagues from influencing the work of the colleagues.
The protection scope of the testing method of the multimedia device according to the present invention is not limited to the execution sequence of the steps listed in this embodiment, and all the solutions implemented by adding, subtracting, and replacing the steps according to the principles of the present invention are included in the protection scope of the present invention.
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of testing the multimedia device.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned computer-readable storage media comprise: various computer storage media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Please refer to fig. 8, which is a schematic diagram illustrating a structural connection of an apparatus according to an embodiment of the present invention. As shown in fig. 8, the present embodiment provides an electronic device 8 including: a processor 81 and a memory 82; the memory 82 is used for storing computer programs, and the processor 81 is used for executing the computer programs stored in the memory 82, so that the electronic device 8 executes the steps of the testing method of the multimedia device.
The Processor 11 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware component.
The Memory 12 may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
In practical applications, the electronic device may be a computer that includes components such as memory, a memory controller, one or more processing units (CPU), peripheral interfaces, RF circuitry, audio circuitry, speakers, microphone, input/output (I/O) subsystems, a display screen, other output or control devices, and external ports; the computer includes, but is not limited to, a Personal computer such as a desktop computer, a notebook computer, a tablet computer, a smart phone, a smart television, a Personal Digital Assistant (PDA), and the like, and the electronic device may also be a vehicle end or a smart glasses, a smart watch, or other wearable device. In other embodiments, the electronic device may also be a server, where the server may be arranged on one or more entity servers according to various factors such as functions and loads, or may be a cloud server formed by a distributed or centralized server cluster, which is not limited in this embodiment.
Specifically, the steps of the testing method for multimedia devices may be executed by the same electronic device, or may be executed by different electronic devices. For example, by pre-storing a computer program of the testing method of the multimedia device in the multimedia device of the car machine, the multimedia device of the car machine executes the computer program of the testing method of the multimedia device: acquiring data to be tested; forming output information after running the data to be tested; matching and analyzing the output information and preset verification information; and generating a test result according to the matching analysis result so as to realize the self pressure test through the running of the computer program of the vehicle machine. For another example, the multimedia device of the car machine is tested through a computer, and the multimedia device of the car machine is used for acquiring data to be tested; and forming output information after running the data to be tested; the computer is used for carrying out matching analysis on the output information and preset verification information; and generating a test result according to the matching analysis result.
The testing system of the multimedia device provided in the present embodiment will be described in detail with reference to the drawings. It should be noted that the division of the modules of the following system is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity or may be physically separated. And the modules can be realized in a form that all software is called by the processing element, or in a form that all the modules are realized in a form that all the modules are called by the processing element, or in a form that part of the modules are called by the hardware. For example: a module may be a separate processing element, or may be integrated into a chip of the system described below. Further, a certain module may be stored in the memory of the following system in the form of program code, and a certain processing element of the following system may call and execute the function of the following certain module. Other modules are implemented similarly. All or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, the steps of the above method or the following modules may be implemented by hardware integrated logic circuits in a processor element or instructions in software.
The following modules may be one or more integrated circuits configured to implement the above methods, for example: one or more Application Specific Integrated Circuits (ASICs), one or more Digital Signal Processors (DSPs), one or more Field Programmable Gate Arrays (FPGAs), and the like. When some of the following modules are implemented in the form of a program code called by a Processing element, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling the program code. These modules may be integrated together and implemented in the form of a System-on-a-chip (SOC).
Please refer to fig. 9, which is a schematic structural diagram of a testing system of multimedia devices according to an embodiment of the present invention. As shown in fig. 9, the test system 9 of the multimedia device includes: an acquisition module 91, an acquisition module 92, a matching analysis module 93 and a result generation module 94.
The acquisition module 92 is in data transmission connection with the matching analysis module 93, and the matching analysis module 93 is in data transmission connection with the result generation module 94.
The obtaining module 91 is configured to obtain data to be tested; the acquisition module 92 is used for acquiring output information formed after the data to be tested is operated; the matching analysis module 93 is configured to perform matching analysis on the output information and preset verification information; the result generating module 94 is configured to generate a test result according to the matching analysis result.
It should be noted that, the technical principles implemented by the modules in the testing system of the multimedia device may correspond to the testing method of the multimedia device one to one, and thus, the description is omitted.
The testing system of the multimedia device according to the present invention can implement the management method of multiple models according to the present invention, but the implementation apparatus of the management method of multiple models according to the present invention includes, but is not limited to, the structure of the testing system of the multimedia device described in this embodiment, and all the structural modifications and substitutions in the prior art made according to the principle of the present invention are included in the protection scope of the present invention.
In summary, the testing method, medium, electronic device and testing system for multimedia devices of the present invention can automatically test multimedia devices, which breaks away from the conventional manual testing method, and improves testing efficiency while ensuring accuracy of testing results. The audio data with specific frequency played by the multimedia device and the preset verification information are used for matching and analyzing the frequency spectrum characteristics to obtain a test result. The method can test different application scenes such as startup and shutdown, dormancy awakening and the like of the multimedia equipment, so that testers can know the pressure test conditions of the multimedia equipment in different application scenes. Through carrying out automated test to multimedia device for the test is more nimble, does not receive the restriction of test personnel operating time, test place and test environment, and is easy and simple to handle. The method can automatically identify the image display information fed back and output by the multimedia equipment based on the data to be tested, and realize the pressure test of voice interaction on the multimedia equipment with an interactive interface. The invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (13)

1. A testing method of a multimedia device is characterized by comprising the following steps:
acquiring data to be tested;
forming output information after running the data to be tested;
matching and analyzing the output information and preset verification information;
and generating a test result according to the matching analysis result.
2. The method for testing a multimedia device according to claim 1, wherein the data to be tested is first audio data of a specific frequency.
3. The method for testing multimedia device according to claim 2, wherein the output information is formed after the data to be tested is executed, comprising the following steps: and playing the first audio data, collecting second audio data formed in the process of playing the first audio data, and forming the output information according to the second audio data.
4. The method for testing a multimedia device according to claim 2, wherein the predetermined verification information is verification audio data obtained according to the data to be tested.
5. The method for testing a multimedia device according to claim 4, wherein the matching analysis of the output information and the preset verification information comprises the following steps:
analyzing the frequency spectrum characteristics of the output information;
matching and analyzing the frequency spectrum characteristics of the output information and the frequency spectrum characteristics of the preset verification information;
if the frequency spectrum characteristics of the output information are matched with the frequency spectrum characteristics of the preset verification information in a consistent manner, the test result is normal; and if the frequency spectrum characteristic of the output information is not matched with the frequency spectrum characteristic of the preset verification information, the test result is abnormal.
6. The method for testing a multimedia device according to claim 1, wherein the data to be tested is voice data.
7. The method for testing multimedia device according to claim 6, wherein the output information is formed after the data to be tested is executed, comprising the following steps: and playing the voice data, collecting image display information formed after the voice data is played, and forming the output information according to the image display information.
8. The method for testing a multimedia device according to claim 7, wherein the forming of the output information according to the image display information comprises the steps of: identifying text information in the image display information; acquiring the text information; and taking the text information as the output information.
9. The method for testing a multimedia device according to any one of claims 6 to 8, wherein the predetermined verification information includes information that the voice data is outputted after the multimedia device is normally operated.
10. The method for testing a multimedia device according to any of claims 1-9, further comprising the steps of:
and counting the times that the test result is normal and the times that the test result is abnormal to generate a statistical result.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of testing a multimedia device according to any one of claims 1 to 10.
12. An electronic device, comprising: a processor and a memory;
the memory is used for storing a computer program, and the processor is used for executing the computer program stored by the memory to enable the electronic equipment to execute the testing method of the multimedia equipment according to any one of claims 1 to 10.
13. The testing system of the multimedia equipment is characterized by comprising an acquisition module, a matching analysis module and a result generation module, wherein the acquisition module is in data transmission connection with the matching analysis module; the acquisition module is used for acquiring data to be tested; the acquisition module is used for acquiring output information formed after the data to be tested is operated; the matching analysis module is used for performing matching analysis on the output information and preset verification information; and the result generating module is used for generating a test result according to the matching analysis result.
CN202011330211.3A 2020-11-24 2020-11-24 Multimedia device test method, medium, electronic device and test system Pending CN114554180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011330211.3A CN114554180A (en) 2020-11-24 2020-11-24 Multimedia device test method, medium, electronic device and test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011330211.3A CN114554180A (en) 2020-11-24 2020-11-24 Multimedia device test method, medium, electronic device and test system

Publications (1)

Publication Number Publication Date
CN114554180A true CN114554180A (en) 2022-05-27

Family

ID=81660713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011330211.3A Pending CN114554180A (en) 2020-11-24 2020-11-24 Multimedia device test method, medium, electronic device and test system

Country Status (1)

Country Link
CN (1) CN114554180A (en)

Similar Documents

Publication Publication Date Title
CN108255653B (en) Product testing method and terminal thereof
CN111897724B (en) Automatic testing method and device suitable for cloud platform
CN110674034A (en) Health examination method and device, electronic equipment and storage medium
CN108241560B (en) Memory test method and device and electronic equipment
CN109975688A (en) General evaluating method and device for heterogeneous chip
CN108376110B (en) Automatic detection method, system and terminal equipment
CN113608940A (en) Production test method, system and device of intelligent network card and readable storage medium
CN109408361A (en) Monkey tests restored method, device, electronic equipment and computer readable storage medium
CN113495843A (en) Method and device for testing play-starting performance of video player
CN112817869A (en) Test method, test device, test medium, and electronic apparatus
CN112115060A (en) Audio test method and system based on terminal
CN111708712A (en) User behavior test case generation method, flow playback method and electronic equipment
CN114554180A (en) Multimedia device test method, medium, electronic device and test system
CN107203471B (en) Joint debugging method, service platform and computer storage medium
CN113593546B (en) Terminal equipment awakening method and device, storage medium and electronic device
CN113593549A (en) Method and device for determining awakening rate of voice equipment
CN114003497A (en) Method, device and equipment for testing service system and storage medium
CN114064510A (en) Function testing method and device, electronic equipment and storage medium
CN109710521B (en) Multimedia application performance test method and device, computer equipment and storage medium
CN112948195A (en) Interface testing method and device, electronic equipment and storage medium
CN112380115A (en) Regression testing method and device, electronic equipment and storage medium
CN111240990A (en) ISMCLI command line testing method, system, terminal and storage medium
CN114860549B (en) Buried data verification method, buried data verification device, buried data verification equipment and storage medium
WO2024066622A1 (en) Cloud system testing method and apparatus
US20230325300A1 (en) Fault change locating method and apparatus, device, medium, and program product

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