CN109710521A - Multimedia application performance test methods, device, computer equipment and storage medium - Google Patents

Multimedia application performance test methods, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109710521A
CN109710521A CN201811545150.5A CN201811545150A CN109710521A CN 109710521 A CN109710521 A CN 109710521A CN 201811545150 A CN201811545150 A CN 201811545150A CN 109710521 A CN109710521 A CN 109710521A
Authority
CN
China
Prior art keywords
multimedia application
destination multimedia
application
performance
current device
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
CN201811545150.5A
Other languages
Chinese (zh)
Other versions
CN109710521B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811545150.5A priority Critical patent/CN109710521B/en
Publication of CN109710521A publication Critical patent/CN109710521A/en
Application granted granted Critical
Publication of CN109710521B publication Critical patent/CN109710521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application proposes a kind of multimedia application performance test methods, device, computer equipment and storage medium, wherein method includes: to obtain multimedia application test request, wherein includes the mark of destination multimedia application in test request;Start destination multimedia application corresponding with the mark of destination multimedia application in current device;In destination multimedia application operational process, the performance parameter of current device and the first operation information of destination multimedia application execution are obtained;According to the performance parameter of current device and the first operation information of destination multimedia application execution, the performance that destination multimedia is applied in current device is determined.This method can be realized the performance of validity test destination multimedia application, also, due to that can promote the real-time of test without editing complicated test case.

Description

Multimedia application performance test methods, device, computer equipment and storage medium
Technical field
This application involves field of terminal technology more particularly to a kind of multimedia application performance test methods, device, computer Equipment and storage medium.
Background technique
With the continuous development of terminal technology and Internet technology, various applications (Application, abbreviation APP) are such as Emergence, user can install different classes of APP, such as video on the terminal device according to self-demand as emerging rapidly in large numbersBamboo shoots after a spring rain Class APP, social category APP, payment class APP etc..Currently, for the APP (referred to as multimedia APP) with multimedia function, For example video class APP, social category APP etc., user can carry out U.S. face, filter, paster, be based on during video editing The processing such as the OpenGL special efficacy of texture rendering.However, equipment performance is irregular due to the wide variety of terminal device, and set Standby performance will have a direct impact on the recording result of video, influence the performance of multimedia APP, therefore, how accurately determine multimedia APP Performance, to video record and multimedia application experience for it is particularly important.
In the prior art, when being tested for the property to multimedia APP, function generally according to multimedia APP itself and suitable Terminal type constructs test case, and then is tested by operation test case multimedia APP performance.
But this test mode, it is required to match when the function of multimedia APP is more and applicable terminal type is wider The test case set is more, more complicated so as to cause the compilation process of test case, and test is time-consuming longer.
Summary of the invention
The application proposes a kind of multimedia application performance test methods, device, computer equipment and storage medium, to realize The performance of validity test destination multimedia application, also, since the reality of test can be promoted without working out complicated test case The technical issues of Shi Xing in the prior art tests multimedia APP performance for solving, and test takes a long time.
The application first aspect embodiment proposes a kind of multimedia application performance test methods, comprising:
Obtain multimedia application test request, wherein include the mark of destination multimedia application in the test request;
Start destination multimedia application corresponding with the mark of destination multimedia application in current device;
In the destination multimedia application operational process, performance parameter and the target for obtaining the current device are more The first operation information that media application executes;
According to the performance parameter of the current device and the first operation information of the destination multimedia application execution, determine The performance of the application of the destination multimedia described in the current device.
The multimedia application performance test methods of the embodiment of the present application, by obtaining multimedia application test request, wherein Include the mark of destination multimedia application in test request, then, starts the mark in current device with destination multimedia application Corresponding destination multimedia application, and in destination multimedia application operational process, obtain the performance parameter and mesh of current device The first operation information that multimedia application executes is marked, finally, holding according to the performance parameter of current device and destination multimedia application The first capable operation information determines the performance that destination multimedia is applied in current device.Thus, it is possible to which validity test target is more The performance of media application, also, since the real-time of test can be promoted without working out complicated test case.
The application second aspect embodiment proposes a kind of multimedia application performance testing device, comprising:
First obtains module, for obtaining multimedia application test request, wherein includes that target is more in the test request The mark of media application;
Starting module, for starting destination multimedia corresponding with the mark of destination multimedia application in current device Using;
Second obtains module, for obtaining the property of the current device in the destination multimedia application operational process First operation information of energy parameter and the destination multimedia application execution;
Determining module, for according to the first of the performance parameter of the current device and the destination multimedia application execution Operation information determines the performance of the application of the destination multimedia described in the current device.
The multimedia application performance testing device of the embodiment of the present application, by obtaining multimedia application test request, wherein Include the mark of destination multimedia application in test request, then, starts the mark in current device with destination multimedia application Corresponding destination multimedia application, and in destination multimedia application operational process, obtain the performance parameter and mesh of current device The first operation information that multimedia application executes is marked, finally, holding according to the performance parameter of current device and destination multimedia application The first capable operation information determines the performance that destination multimedia is applied in current device.Thus, it is possible to which validity test target is more The performance of media application, also, since the real-time of test can be promoted without working out complicated test case.
The application third aspect embodiment proposes a kind of computer equipment, comprising: memory, processor and is stored in On reservoir and the computer program that can run on a processor, when the processor executes described program, realize such as the application the The multimedia application performance test methods that one side embodiment proposes.
The application fourth aspect embodiment proposes a kind of non-transitorycomputer readable storage medium, is stored thereon with meter Calculation machine program realizes that the multimedia application performance proposed such as the application first aspect embodiment is surveyed when the program is executed by processor Method for testing.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram of multimedia application performance test methods provided by the embodiment of the present application one;
Fig. 2 is the flow diagram of multimedia application performance test methods provided by the embodiment of the present application two;
Fig. 3 is the flow diagram of multimedia application performance test methods provided by the embodiment of the present application three;
Fig. 4 is the structural schematic diagram of multimedia application performance testing device provided by the embodiment of the present application four;
Fig. 5 is the structural schematic diagram of multimedia application performance testing device provided by the embodiment of the present application five;
Fig. 6 shows the block diagram for being suitable for the exemplary computer device for being used to realize the application embodiment.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
The application tests the technology taken a long time and asks mainly for testing in the prior art multimedia APP performance Topic, proposes a kind of multimedia application performance test methods.
The multimedia application performance test methods of the embodiment of the present application, by obtaining multimedia application test request, wherein Include the mark of destination multimedia application in test request, then, starts the mark in current device with destination multimedia application Corresponding destination multimedia application, and in destination multimedia application operational process, obtain the performance parameter and mesh of current device The first operation information that multimedia application executes is marked, finally, holding according to the performance parameter of current device and destination multimedia application The first capable operation information determines the performance that destination multimedia is applied in current device.Thus, it is possible to which validity test target is more The performance of media application, also, since the real-time of test can be promoted without working out complicated test case.
Below with reference to the accompanying drawings multimedia application performance test methods, the device, computer equipment of the embodiment of the present application are described And storage medium.
Fig. 1 is the flow diagram of multimedia application performance test methods provided by the embodiment of the present application one.
The multimedia application performance test methods of the embodiment of the present application can be applied in any computer equipment, so that should Computer equipment can execute multimedia application performance test function.Wherein, computer equipment can be PC (Personal Computer, abbreviation PC), cloud device, mobile device etc., mobile device can be for example mobile phone, plate electricity Brain, personal digital assistant, wearable device, mobile unit etc. have the hardware of various operating systems, touch screen and/or display screen Equipment.
In the embodiment of the present application, test client can be run in computer equipment, above-mentioned multimedia application performance is surveyed Method for testing may operate in the test client of computer equipment, carry out performance to multimedia application by the test client Test.
As shown in Figure 1, the multimedia application performance test methods the following steps are included:
Step 101, multimedia application test request is obtained, wherein include the mark of destination multimedia application in test request Know.
In the embodiment of the present application, multimedia application refers to the APP with multimedia function, such as can be for video record System, editor, upload, downloading, playing function APP, with voice recording, editor, upload, downloading, playing function APP, tool There are picture shooting, editor, upload, downloading, the APP, and/or the APP with direct broadcast function that show function etc., for example is view Frequency class APP, social category APP etc..
In the embodiment of the present application, it is multimedia application to be tested, the mark of destination multimedia application that destination multimedia, which is applied, Know and be used for the unique identification destination multimedia application, for example, the mark of destination multimedia application can be destination multimedia application Icon, title, packet name etc., with no restriction to this.
In the embodiment of the present application, user can pass through test client, triggered multimedia application test request, for example, working as After user opens or logs in test client, user can input destination multimedia application in the test interface of test client Title, with triggered multimedia application test request, alternatively, user can click the more matchmakers of target in the test interface of test client The icon of body application, with triggered multimedia application test request, with no restriction to this.Correspondingly, when test client is by detecing Mode is listened, when detecting user and triggering multimedia application test request, the available multimedia application test request.
Step 102, start destination multimedia application corresponding with the mark of destination multimedia application in current device.
It should be noted that starting another in application, the starting for needing in advance to apply another by an application Information opening gives the application, for example, when by using A starting using B, needs in advance by the starting information opening of application B to answering Use A.Therefore, in the embodiment of the present application, can in advance by the starting information opening of destination multimedia application to test client, from And in the application, when test client is after getting multimedia application test request, it can be tested and be asked according to the multimedia It asks, directly initiates destination multimedia application corresponding with the mark of destination multimedia application in current device.
Step 103, in destination multimedia application operational process, the performance parameter and destination multimedia of current device are obtained First operation information of application execution.
In the embodiment of the present application, when the first operation information can realize a certain function for destination multimedia application, the target The operation information executed needed for multimedia application, for example, user passes through the destination multimedia after starting destination multimedia application When using editing to video, the paster in material database is had invoked, then the first operation information can be destination multimedia application It realizes when calling this function of paster, the operation information that destination multimedia application needs to be implemented.
It is understood that CPU usage is higher, the operation of other programs in current device will affect, alternatively, memory accounts for It is higher with rate, it will affect the overall performance of current device, alternatively, if the destination multimedia in current device, which is applied, is executing first It is time-consuming larger when operation information, by the serious usage experience for reducing user, therefore, and in the embodiment of the present application, the property of current device Energy parameter includes but is not limited to: CPU usage, memory usage, time-consuming etc..
In the embodiment of the present application, in destination multimedia application operational process, the available current device of test client Performance parameter and destination multimedia application execution the first operation information.
As a kind of possible implementation, in destination multimedia application operational process, destination multimedia application can be with The first operation information is directly transmitted to test client in real time or periodically, correspondingly, on test client is available The first operation information of destination multimedia application execution is stated, alternatively, destination multimedia can be directly more to test client return Media data, for example during user's recorded video or editor's video, destination multimedia application can be by video file It is sent to test client, correspondingly, test client is after receiving above-mentioned multi-medium data, it can be to the multi-medium data It is parsed, determines the first operation information of destination multimedia application execution.
Element is still had invoked when user is applied by the destination multimedia to edit to video with above-mentioned example Paster in material library, then destination multimedia, which is applied in the multi-medium data sent to test client, will carry above-mentioned paster, To which test client is after receiving above-mentioned multi-medium data, after parsing to the multi-medium data, can determine first The application of operation information destination multimedia realizes when calling this function of paster that the operation that destination multimedia application needs to be implemented is believed Breath.
As a kind of possible implementation, the performance parameter of current device may include that single frames multi-medium data is corresponding Time-consuming, CPU usage and memory usage.Specifically, test client is in the multimedia for receiving destination multimedia application return When data, at the time of can recorde every frame multi-medium data, and detection current device is in the CPU usage and memory at each moment Occupancy, at the time of so as to according to every frame multi-medium data, current device each moment CPU usage and EMS memory occupation Rate determines the corresponding time-consuming, CPU usage of every frame multi-medium data and memory usage.
That is, test client can be with the above-mentioned performance parameter of real-time detection current device, and controls multimedia and answer As soon as the frame multi-medium data is sent to test client with every generation frame multi-medium data, later, test client According to the time of every frame multi-medium data of acquisition and the above-mentioned performance parameter of detection, the corresponding ginseng of every frame multi-medium data is determined Number.Specifically, test client is after receiving a frame multi-medium data, at the time of can recorde the frame multi-medium data, example Such as be labeled as current time, at the time of then obtaining former frame multi-medium data, such as labeled as previous moment, and will be current when It is poor with previous moment work to carve, as the corresponding time-consuming of frame multi-medium data.Meanwhile the CPU that can be detected current time It is poor that the CPU usage that occupancy and previous moment detect is made, and obtains the corresponding CPU usage of frame multi-medium data, and It is poor that the memory usage that current time detects and the memory usage that previous moment detects are made, and obtains the frame multimedia number According to corresponding memory usage.
It should be noted that when in order to avoid multi-medium data acquisition, to each frame multi-medium data time-consuming processing result It influences, it can be periodically by the asynchronous performance parameter for obtaining current device of sub thread.
Step 104, it according to the performance parameter of current device and the first operation information of destination multimedia application execution, determines The performance that destination multimedia is applied in current device.
In the embodiment of the present application, in the first behaviour of the performance parameter and destination multimedia application execution for determining current device After making information, it can be determined according to the performance parameter of current device and the first operation information of destination multimedia application execution The performance that destination multimedia is applied in current device.That is, being answered according to the performance parameter of current device and destination multimedia With the first operation information of execution, the performance in destination multimedia application with the first operation information corresponding function can be determined.
For example, larger, interior in the corresponding CPU usage of performance parameter instruction single frames multi-medium data of current device Deposit occupancy it is larger and time-consuming larger when, then show performance with the first operation information corresponding function in destination multimedia application It is lower, and the corresponding CPU usage of the performance parameter of current device instruction single frames multi-medium data is smaller, memory usage compared with When small and time-consuming smaller, then show higher with the performance of the first operation information corresponding function in destination multimedia application.
It further, can be in the aobvious of current device portion after test client determines the performance of destination multimedia application Show that the performance that above-mentioned destination multimedia is applied at interface carries out real-time exhibition, consequently facilitating user intuitively change know the more matchmakers of target The performance of body application, promotes the usage experience of user.
As an example, when multi-medium data is video data, test client can encapsulate video frame and obtain function Can, every frame video data is externally provided, and time-consuming by the processing that data call-back manner obtains every frame video data, and check number According to accuracy.Specifically, test client can externally provide unified calling interface and realize agreement, to reduce called side Use cost, the data such as corresponding time-consuming of each frame video data, can by realization protocol interface, in the form of Key-Value into Row readjustment.Also, for the authenticity for guaranteeing video data, secondary verification can be carried out to data.
Also, test client can enumerate unified complete test case, during the test, can be surveyed according to complete Example on probation, tests destination multimedia application, to reduce the repetitive operation in test process, and avoid configuration compared with More test cases and the problem for causing test item mixed and disorderly.
In addition, test client can automatically record the every processing of frame video data time-consuming, memory usage, CPU usage Deng, and accuracy verification is carried out to each frame video data, and real-time exhibition is carried out to performance parameter in display interface.It needs to illustrate ,, can be periodically by sub-line to the influence that each frame video data time-consuming is handled when in order to avoid video data acquiring The asynchronous performance parameter for obtaining current device of journey.
The multimedia application performance test methods of the embodiment of the present application, by obtaining multimedia application test request, wherein Include the mark of destination multimedia application in test request, then, starts the mark in current device with destination multimedia application Corresponding destination multimedia application, and in destination multimedia application operational process, obtain the performance parameter and mesh of current device The first operation information that multimedia application executes is marked, finally, holding according to the performance parameter of current device and destination multimedia application The first capable operation information determines the performance that destination multimedia is applied in current device.Thus, it is possible to which validity test target is more The performance of media application, also, since the real-time of test can be promoted without working out complicated test case.
As a kind of possible implementation, after the performance for determining destination multimedia application, can by multi-medium data, The performance that destination multimedia is applied in the attribute information and current device of current device is uploaded to server, so that server pair The performance of destination multimedia application is for statistical analysis.For example, being united when the performance of destination multimedia application is lower by server The information such as the lower reason of the performance that meter analysis causes the destination multimedia to apply, consequently facilitating developer promotes the more matchmakers of the target The performance of body application.Below with reference to Fig. 2, the above process is described in detail.
Fig. 2 is the flow diagram of multimedia application performance test methods provided by the embodiment of the present application two.
As shown in Fig. 2, the multimedia application performance test methods may comprise steps of:
Step 201, multimedia application test request is obtained, wherein include the mark of destination multimedia application in test request Know.
Step 202, start destination multimedia application corresponding with the mark of destination multimedia application in current device.
Step 203, in destination multimedia application operational process, the performance parameter of current device is obtained.
The implementation procedure of step 201 to 203 may refer to the implementation procedure of step 101 to 103 in above-described embodiment, herein It does not repeat them here.
Step 204, the multi-medium data returned according to destination multimedia application, determines the of destination multimedia application execution One operation information.
In the embodiment of the present application, when test client receive destination multimedia application return multi-medium data after, The multi-medium data can be parsed, determine the first operation information of destination multimedia application execution.For example, the more matchmakers of target Body application returns the multimedia file data with hand-type paster, then can determine that it has invoked the function of hand-type paster, Then the first operation information can realize that destination multimedia application needs when calling this function of hand-type paster for destination multimedia application Operation to be performed information.
As a kind of possible implementation, can be synchronized from destination multimedia application in advance material mark therein and Mapping relations between material picture, in turn, when test client receives the multi-medium data that destination multimedia application returns Afterwards, after and parsing to the multi-medium data, above-mentioned mapping can be inquired directly according to the material picture in multi-medium data Relationship determines the corresponding material mark of material picture, thus, it is possible to without the material for synchronizing destination multimedia application every time Library promotes treatment effeciency.After determining material mark, the first operation information of destination multimedia application execution can be determined.
It should be noted that in the prior art, by building complete test platform, carrying out performance survey to multimedia application Examination, after having built test platform every time, needs to configure parameters, various materials etc., to cause testing efficiency lower The problem of.And in the embodiment of the present application, parameters, various materials are configured without test every time, can further promote survey Try efficiency.
It should be noted that only execute example after step 203 in the application with step 204, when practical application, in order to The real-time of application performance test is promoted, step 204 can execute side by side with step 203.
Step 205, it according to the performance parameter of current device and the first operation information of destination multimedia application execution, determines The performance that destination multimedia is applied in current device.
As a kind of possible implementation, when in the first operation information including operation object, wherein operation object is Steerable object, for example, material, various function choosing-items etc. in destination multimedia application, can be according to the performance of current device Parameter, determine in current device, destination multimedia application in the associated performance using function of operation object.
For example, larger, interior in the corresponding CPU usage of performance parameter instruction single frames multi-medium data of current device Deposit occupancy it is larger and time-consuming larger when, then show destination multimedia application in the associated property using function of operation object Can be lower, and the corresponding CPU usage of the performance parameter of current device instruction single frames multi-medium data is smaller, memory usage When smaller and time-consuming smaller, then show associated higher using the performance of function with operation object in destination multimedia application.
Step 206, the multi-medium data that the attribute information and destination multimedia application for obtaining current device return.
In the embodiment of the present application, the attribute information of current device may include current battery capacity, CPU running frequency, The hardware informations such as cpu temperature, and the operating system, current process, the system that the use memory, the free memory that have used etc. are soft Part information.
In the embodiment of the present application, the above-mentioned attribute information of the available current device of test client and the more matchmakers of target The multi-medium data that body application returns.
It should be noted that only execute example after step 205 in the application with step 206, when practical application, in order to The real-time of test is promoted, step 206 can also execute side by side with step 204, alternatively, after step 204, and in step It is executed before 205, with no restriction to this.
Step 207, by multi-medium data, the attribute information of current device and the destination multimedia application in current device Performance is uploaded to server, so that the performance that server applies destination multimedia is for statistical analysis.
In the embodiment of the present application, test client can by above-mentioned multi-medium data, current device attribute information and The performance that destination multimedia is applied in current device, is uploaded to server, correspondingly, when server receives above-mentioned parameter, Can be for statistical analysis according to above-mentioned parameter, to determine the letters such as the lower reason of the performance for causing the destination multimedia to apply Breath, consequently facilitating developer promotes the performance of destination multimedia application.
Also, the performance that destination multimedia in current device is applied is uploaded to server, can also be realized by server The performance of destination multimedia application is managed collectively, consequently facilitating user checks, user can be whenever and wherever possible as a result, The performance of above-mentioned destination multimedia application is consulted on ground, the usage experience of user is further promoted, and it is possible to reduce data inspection The cost of management.
As a kind of possible implementation, when test client is after receiving multi-medium data, can also judge more Whether the corresponding operation information of media data changes, if it is not, the then operation information before basis and the property of current device Energy parameter, determines the performance that destination multimedia is applied in current device, if so, according to the operation information after variation and working as The performance parameter of preceding equipment determines the performance that destination multimedia is applied in current device.Below with reference to Fig. 3, to the above process Process is described in detail.
Fig. 3 is the flow diagram of multimedia application performance test methods provided by the embodiment of the present application three.
As shown in figure 3, the multimedia application performance test methods may comprise steps of:
Step 301, the multi-medium data returned to destination multimedia application parses, to determine that multi-medium data is corresponding The second operation information.
It, should when the second operation information equally can realize a certain function for destination multimedia application in the embodiment of the present application Destination multimedia applies the operation information of required execution.
In the embodiment of the present application, when test client receive destination multimedia application return multi-medium data after, Multi-medium data can be parsed, determine corresponding second operation information of multi-medium data.As a kind of possible realization Mode, can in advance from the mapping relations that synchronized in destination multimedia application between material therein mark and material picture, into And after test client receives the multi-medium data that destination multimedia application returns, and the multi-medium data is solved After analysis, above-mentioned mapping relations can be inquired, determine the corresponding element of material picture directly according to the material picture in multi-medium data Material mark.After determining material mark, the second operation information of destination multimedia application execution can be determined.
Step 302, judge whether the second operation information matches with the first operation information, if so, step 303 is executed, if it is not, Execute step 304.
Step 303, according to the first operation information and the performance parameter of current device, the more matchmakers of target in current device are determined The performance of body application.
In the embodiment of the present application, when the second operation information is matched with the first operation information, show that multi-medium data is corresponding Operation information do not change, at this point it is possible to according to the first operation information and the performance parameter of current device, determination is being worked as The performance that destination multimedia is applied in preceding equipment, specific implementation procedure may refer to step 104 and 205 in above-described embodiment Implementation procedure, be not repeated herein.
Step 304, according to the second operation information and the performance parameter of current device, the more matchmakers of target in current device are determined The performance of body application.
In the embodiment of the present application, when the second operation information and the first operation information mismatch, show multi-medium data pair The operation information answered changes, at this point it is possible to according to the performance parameter of the second operation information and current device after variation, really It is scheduled on the performance that destination multimedia is applied in current device.Thus, it is possible to realize according to multi-medium data, determine that target is more in real time The performance of media application promotes the real-time and accuracy of test result.
The multimedia application performance test methods of the embodiment of the present application are occurred by the operation information in multi-medium data When variation, using the performance parameter of operation information and current device after variation, determine that destination multimedia is answered in current device Performance.Thus, it is possible to realize according to multi-medium data, the performance of destination multimedia application is determined in real time, promotes test knot The real-time and accuracy of fruit.
In order to realize above-described embodiment, the application also proposes a kind of multimedia application performance testing device.
Fig. 4 is the structural schematic diagram of multimedia application performance testing device provided by the embodiment of the present application four.
As shown in figure 4, the multimedia application performance testing device includes: the first acquisition module 101, starting module 102, Two obtain module 103 and determining module 104.
Wherein, first module 101 is obtained, for obtaining multimedia application test request, wherein include mesh in test request Mark the mark of multimedia application.
Starting module 102, for starting destination multimedia corresponding with the mark of destination multimedia application in current device Using.
Second obtains module 103, for obtaining the performance parameter of current device in destination multimedia application operational process And the first operation information of destination multimedia application execution.
Module 103 is obtained as a kind of possible implementation, second, is specifically used for: obtaining destination multimedia application and returns The first operation information returned;Alternatively, determining that destination multimedia application is held according to the multi-medium data that destination multimedia application returns The first capable operation information.
Module 103 is obtained as alternatively possible implementation, second, is specifically used for: destination multimedia application is returned The multi-medium data returned is parsed, and determines the material mark for including in multi-medium data;It is identified according to material, determines that target is more The first operation information that media application executes.
Determining module 104, for being operated according to the performance parameter of current device and the first of destination multimedia application execution Information determines the performance that destination multimedia is applied in current device.
As a kind of possible implementation, the first operation information includes operation object.
Determining module 104, is specifically used for: determining in current device, is associated in destination multimedia application with operation object The performance using function.
Further, in a kind of possible implementation of the embodiment of the present application, referring to Fig. 5, embodiment shown in Fig. 4 On the basis of, which can also include:
Third obtains module 105, for the first behaviour in the performance parameter and destination multimedia application execution for obtaining equipment After making information, the attribute information of current device and the multi-medium data of destination multimedia application return are obtained.
Uploading module 106, for by the attribute information of multi-medium data, current device and the more matchmakers of target in current device The performance of body application is uploaded to server, so that the performance that server applies destination multimedia is for statistical analysis.
Parsing module 107, for obtain destination multimedia application return multi-medium data after, to destination multimedia It is parsed using the multi-medium data of return, to determine corresponding second operation information of multi-medium data.
Judgment module 108, for judging whether the second operation information matches with the first operation information.
Determining module 104, is specifically used for: if it is not, then being determined according to the second operation information and the performance parameter of current device The performance that destination multimedia is applied in current device.
Module 103 is obtained as a kind of possible implementation, second, is specifically used for: according to the destination multimedia of acquisition Using return every frame multi-medium data at the time of, and detection current device each moment CPU usage and EMS memory occupation Rate determines the corresponding time-consuming, CPU usage of every frame multi-medium data and memory usage.
It should be noted that the aforementioned explanation to multimedia application performance test methods embodiment is also applied for the reality The multimedia application performance testing device of example is applied, details are not described herein again.
The multimedia application performance testing device of the embodiment of the present application, by obtaining multimedia application test request, wherein Include the mark of destination multimedia application in test request, then, starts the mark in current device with destination multimedia application Corresponding destination multimedia application, and in destination multimedia application operational process, obtain the performance parameter and mesh of current device The first operation information that multimedia application executes is marked, finally, holding according to the performance parameter of current device and destination multimedia application The first capable operation information determines the performance that destination multimedia is applied in current device.Thus, it is possible to which validity test target is more The performance of media application, also, since the real-time of test can be promoted without working out complicated test case.
In order to realize above-described embodiment, the application also proposes a kind of computer equipment, comprising: memory, processor and deposits The computer program that can be run on a memory and on a processor is stored up, when processor executes program, is realized as the application is aforementioned The multimedia application performance test methods that embodiment proposes.
In order to realize above-described embodiment, the application also proposes a kind of non-transitorycomputer readable storage medium, deposits thereon Computer program is contained, the multimedia application performance proposed such as the application previous embodiment is realized when which is executed by processor Test method.
Fig. 6 shows the block diagram for being suitable for the exemplary computer device for being used to realize the application embodiment.What Fig. 6 was shown Computer equipment 12 is only an example, should not function to the embodiment of the present application and use scope bring any restrictions.
As shown in fig. 6, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with Including but not limited to: one or more processor or processing unit 16, system storage 28 connect different system components The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (Industry Standard Architecture;Hereinafter referred to as: ISA) bus, microchannel architecture (Micro Channel Architecture;Below Referred to as: MAC) bus, enhanced isa bus, Video Electronics Standards Association (Video Electronics Standards Association;Hereinafter referred to as: VESA) local bus and peripheral component interconnection (Peripheral Component Interconnection;Hereinafter referred to as: PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
Memory 28 may include the computer system readable media of form of volatile memory, such as random access memory Device (Random Access Memory;Hereinafter referred to as: RAM) 30 and/or cache memory 32.Computer equipment 12 can be with It further comprise other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, Storage system 34 can be used for reading and writing immovable, non-volatile magnetic media, and (Fig. 6 do not show, commonly referred to as " hard drive Device ").Although being not shown in Fig. 6, the disk for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided and driven Dynamic device, and to removable anonvolatile optical disk (such as: compact disc read-only memory (Compact Disc Read Only Memory;Hereinafter referred to as: CD-ROM), digital multi CD-ROM (Digital Video Disc Read Only Memory;Hereinafter referred to as: DVD-ROM) or other optical mediums) read-write CD drive.In these cases, each driving Device can be connected by one or more data media interfaces with bus 18.Memory 28 may include that at least one program produces Product, the program product have one group of (for example, at least one) program module, and it is each that these program modules are configured to perform the application The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28 In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual Execute the function and/or method in embodiments described herein.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 Deng) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate, and/or with make The computer equipment 12 any equipment (such as network interface card, the modulatedemodulate that can be communicated with one or more of the other calculating equipment Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also To pass through network adapter 20 and one or more network (such as local area network (Local Area Network;Hereinafter referred to as: LAN), wide area network (Wide Area Network;Hereinafter referred to as: WAN) and/or public network, for example, internet) communication.Such as figure Shown, network adapter 20 is communicated by bus 18 with other modules of computer equipment 12.It should be understood that although not showing in figure Out, other hardware and/or software module can be used in conjunction with computer equipment 12, including but not limited to: microcode, device drives Device, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as realize the multimedia application performance test methods referred in previous embodiment.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application Type.

Claims (10)

1. a kind of multimedia application performance test methods characterized by comprising
Obtain multimedia application test request, wherein include the mark of destination multimedia application in the test request;
Start destination multimedia application corresponding with the mark of destination multimedia application in current device;
In the destination multimedia application operational process, obtain the current device performance parameter and the destination multimedia First operation information of application execution;
According to the performance parameter of the current device and the first operation information of the destination multimedia application execution, determine in institute State the performance of the application of destination multimedia described in current device.
2. multimedia application performance test methods as described in claim 1, which is characterized in that first operation information includes Operation object;
The performance of determination destination multimedia described in current device application, comprising:
Determine in the current device, in destination multimedia application with the associated property using function of the operation object Energy.
3. multimedia application performance test methods as described in claim 1, which is characterized in that the property for obtaining the equipment First operation information of energy parameter and the destination multimedia application execution, comprising:
Obtain the first operation information that the destination multimedia application returns;
Alternatively,
According to the multi-medium data that destination multimedia application returns, the first behaviour of the destination multimedia application execution is determined Make information.
4. multimedia application performance test methods as claimed in claim 3, which is characterized in that described according to the more matchmakers of the target The multi-medium data that body application returns, determines the first operation information of the destination multimedia application execution, comprising:
The multi-medium data returned to destination multimedia application parses, and determines the element for including in the multi-medium data Material mark;
It is identified according to the material, determines the first operation information of the destination multimedia application execution.
5. the multimedia application performance test methods as described in claim 1-4 is any, which is characterized in that set described in the acquisition After first operation information of standby performance parameter and the destination multimedia application execution, further includes:
The multi-medium data that the attribute information and destination multimedia application for obtaining the current device return;
The multi-medium data, the attribute information of the current device and the destination multimedia described in the current device are answered Performance is uploaded to server, so that the performance that the server applies the destination multimedia is for statistical analysis.
6. multimedia application performance test methods as claimed in claim 5, which is characterized in that described to obtain the more matchmakers of target After the multi-medium data that body application returns, further includes:
The multi-medium data returned to destination multimedia application parses, with the determination multi-medium data corresponding the Two operation informations;
Judge whether second operation information matches with first operation information;
If it is not, then being determined in the current device according to second operation information and the performance parameter of the current device The performance of the destination multimedia application.
7. the multimedia application performance test methods as described in claim 1-4 is any, which is characterized in that work as described in the acquisition The performance parameter of preceding equipment, comprising:
At the time of according to every frame multi-medium data of the destination multimedia of acquisition application return, and the described of detection currently sets Standby CPU usage and memory usage at each moment determines the corresponding time-consuming, CPU usage of every frame multi-medium data And memory usage.
8. a kind of multimedia application performance testing device, which is characterized in that described device includes:
First obtains module, for obtaining multimedia application test request, wherein includes destination multimedia in the test request The mark of application;
Starting module is answered for starting destination multimedia corresponding with the mark of destination multimedia application in current device With;
Second obtains module, in the destination multimedia application operational process, obtaining the performance ginseng of the current device First operation information of the several and described destination multimedia application execution;
Determining module, for being operated according to the performance parameter of the current device and the first of the destination multimedia application execution Information determines the performance of the application of the destination multimedia described in the current device.
9. a kind of computer equipment, which is characterized in that on a memory and can be in processor including memory, processor and storage The computer program of upper operation when the processor executes described program, realizes more matchmakers as described in any in claim 1-7 Body application performance test method.
10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program The multimedia application performance test methods as described in any in claim 1-7 are realized when being executed by processor.
CN201811545150.5A 2018-12-17 2018-12-17 Multimedia application performance test method and device, computer equipment and storage medium Active CN109710521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811545150.5A CN109710521B (en) 2018-12-17 2018-12-17 Multimedia application performance test method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811545150.5A CN109710521B (en) 2018-12-17 2018-12-17 Multimedia application performance test method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109710521A true CN109710521A (en) 2019-05-03
CN109710521B CN109710521B (en) 2022-04-22

Family

ID=66256753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811545150.5A Active CN109710521B (en) 2018-12-17 2018-12-17 Multimedia application performance test method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109710521B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988562A (en) * 2019-12-18 2021-06-18 腾讯科技(深圳)有限公司 Method and system for testing multimedia production application, storage medium and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060259629A1 (en) * 2005-04-21 2006-11-16 Qualcomm Incorporated Methods and apparatus for determining aspects of multimedia performance of a wireless device
CN106933743A (en) * 2017-03-17 2017-07-07 深圳创维-Rgb电子有限公司 A kind of method of testing and device
CN107315665A (en) * 2017-06-07 2017-11-03 深圳市鼎盛光电有限公司 The detection method and its device of a kind of multimedia board

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060259629A1 (en) * 2005-04-21 2006-11-16 Qualcomm Incorporated Methods and apparatus for determining aspects of multimedia performance of a wireless device
CN106933743A (en) * 2017-03-17 2017-07-07 深圳创维-Rgb电子有限公司 A kind of method of testing and device
CN107315665A (en) * 2017-06-07 2017-11-03 深圳市鼎盛光电有限公司 The detection method and its device of a kind of multimedia board

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988562A (en) * 2019-12-18 2021-06-18 腾讯科技(深圳)有限公司 Method and system for testing multimedia production application, storage medium and terminal equipment

Also Published As

Publication number Publication date
CN109710521B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
KR102525502B1 (en) Method and apparatus for storing auto-drive test data, electronic device, storage medium and program
CN111756575B (en) Performance analysis method and device of storage server and electronic equipment
CN109063829B (en) Neural network construction method and device, computer equipment and storage medium
CN107729210A (en) The abnormality diagnostic method and device of Distributed Services cluster
CN110309071A (en) Test the generation method and module, test method and system of code
CN104135520B (en) A kind of method and device for identifying android terminal
CN109491902A (en) Interactive testing method, apparatus and system
CN108597494A (en) Tone testing method and device
CN106062719A (en) Service metric analysis from structured logging schema of usage data
CN109960642A (en) Automatic test approach and device
CN108021505A (en) Data loading method, device and computer equipment
CN109710439A (en) Fault handling method and device
CN110379410A (en) Voice response speed automatic analysis method and system
CN109101228A (en) The execution method and apparatus of application program
CN108874665A (en) A kind of test result method of calibration, device, equipment and medium
CN106326088A (en) Test object constructing method and device, and service configuration testing device
CN107246959A (en) The diagnostic system and method for a kind of equipment fault based on wireless senser
CN108139962A (en) Telemetry system extends
CN108920653A (en) A kind of page generation method, device, server and storage medium
CN108287898A (en) Road exception record method, apparatus and electronic equipment
CN105277830B (en) Power consumption testing method and device for electronic equipment
CN109710521A (en) Multimedia application performance test methods, device, computer equipment and storage medium
CN109241510A (en) A kind of autochart generation system and its implementation based on wechat small routine
CN107797898A (en) Collecting method and its device
CN110569184B (en) Test method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant