CN106231051A - The method of testing of a kind of video decoding and relevant device - Google Patents
The method of testing of a kind of video decoding and relevant device Download PDFInfo
- Publication number
- CN106231051A CN106231051A CN201610619817.6A CN201610619817A CN106231051A CN 106231051 A CN106231051 A CN 106231051A CN 201610619817 A CN201610619817 A CN 201610619817A CN 106231051 A CN106231051 A CN 106231051A
- Authority
- CN
- China
- Prior art keywords
- video
- tested terminal
- hardware
- hardware decoding
- threshold
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/24—Arrangements for testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
Abstract
The embodiment of the invention discloses method of testing and the relevant device of a kind of video decoding, for the problem solving to need in prior art whether to support hardware decoding can take the resource of CPU by software decode testing mobile phone.Described method includes: server determines the identifier of tested terminal;The test that described server sends hardware decoding according to the identifier of described tested terminal to described tested terminal instructs;Described server receives the first result of the hardware decoding that described tested terminal sends, and wherein, the first result of described hardware decoding includes the number of times S that video commences play out, and video terminates number of times E and the number of times C of video playback mistake play;According to the first result that described hardware decodes, described server judges whether whether C/S be more than Second Threshold less than first threshold and/or E/S;If so, determine that described tested terminal supports hardware decoding video.
Description
Technical field
The present invention relates to field tests, be specifically related to method of testing and the relevant device of the decoding of a kind of video.
Background technology
The development of electronic technology, it is a lot of convenient, such as: user can be at mobile phone to bring to daily life
On browse video miscellaneous, if mobile phone support hardware decoding play video, then can without using software decode, by
Need to install decoding software on mobile phone in software decode, thus take the memory space of mobile phone, it addition, need during software decode
Take mobile phone central processing unit (English full name: Central Processing Unit, abbreviation: resource CPU), it is seen then that as
Really hardware decoding supported by mobile phone, has not only saved the memory space of mobile phone, has also saved the resource of mobile phone, therefore, mobile phone support
Hardware decoding seems increasingly important.
At present, it is judged that whether mobile phone supports that hardware decodes, then need to go test by software decode, and pass through software decode
Test can take the resource of mobile phone CPU, thus affects the operating rate of mobile phone.
Summary of the invention
Embodiments provide method of testing and the relevant device of the decoding of a kind of video, be used for solving in prior art
Need whether support that hardware decodes by software decode testing mobile phone, and the resource of CPU can be taken by software decode, thus shadow
By server, the problem ringing the operating rate of mobile phone, goes whether testing mobile phone supports hardware supported, thus effectively saves hands
The resource of machine CPU.
First aspect present invention provides the method for a kind of video decoding, including:
Server determines the identifier of tested terminal, wherein, described tested terminal and the mark of described tested terminal
Know and there is corresponding relation between symbol;
Described server sends, to described tested terminal, the survey that hardware decodes according to the identifier of described tested terminal
Examination instruction, wherein, the test instruction of described hardware decoding uses the mode of hardware decoding to broadcast for indicating described tested terminal
Put video;
Described server receives the first result of the hardware decoding that described tested terminal sends, wherein, described hardware solution
First result of code includes the number of times S that video commences play out, and video terminates number of times E and the number of times of video playback mistake play
C;
According to the first result that described hardware decodes, described server judges whether C/S is less than first threshold and/or E/S is
No more than Second Threshold;
If so, determine that described tested terminal supports hardware decoding video.
Second aspect present invention provides the method for testing of a kind of video decoding, including:
Tested terminal receives the test instruction of the hardware decoding that server sends;
Described tested terminal uses the mode of hardware decoding to play video, and the first result that hardware decodes is sent to
Described server, wherein, the first result of described hardware decoding includes the number of times S that video commences play out, and video terminates broadcasting
Number of times E and the number of times C of video playback collapse, whether the first result of described hardware decoding judges C/S for described server
Whether it is more than Second Threshold less than first threshold and/or E/S.
Third aspect present invention provides a kind of server, including:
Determine module, for determining the identifier of tested terminal, wherein, described tested terminal and described tested end
Corresponding relation is there is between the identifier of end;
Sending module, sends hardware decoding for the identifier according to described tested terminal to described tested terminal
Test instruction, wherein, the test instruction of described hardware decoding is for indicating described tested terminal to use the mode of hardware decoding
Play video;
Receiver module, for receiving the first result of the hardware decoding that described tested terminal sends, wherein, described hardware
First result of decoding includes the number of times S that video commences play out, and video terminates the number of times E of broadcasting and the secondary of video playback mistake
Number C;
Judge module, the first result for decoding according to described hardware judges that whether C/S is less than first threshold and/or E/
Whether S is more than Second Threshold;
Described determine module, be additionally operable to when described C/S less than first threshold and/or described E/S more than Second Threshold time, really
Fixed described tested terminal supports hardware decoding video.
Fourth aspect present invention provides a kind of terminal, including:
Receiver module, for receiving the test instruction of the hardware decoding that server sends;
Determining module, the test instruction for decoding according to described hardware really uses the mode of hardware decoding to play video;
Sending module, for being sent to described server, wherein, the decoding of described hardware by the first result that hardware decodes
First result includes the number of times S that video commences play out, and video terminates number of times E and the number of times C of video playback collapse, the institute play
For described server, the first result stating hardware decoding judges whether whether C/S be more than second less than first threshold and/or E/S
Threshold value.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
Corresponding relation before the identifier of the tested terminal of server by utilizing and tested terminal, it is first determined tested
The identifier of terminal, the test then sending hardware decoding according to the identifier of tested terminal to tested terminal instructs, its
In, the test instruction of described hardware decoding is used for indicating described tested terminal to use the mode of hardware decoding to play video, clothes
Business device receives the first result of the described hardware decoding that described tested terminal sends, wherein, the first knot of described hardware decoding
Fruit includes the number of times S that video commences play out, and video terminates number of times E and the number of times C of video playback collapse play, so, clothes
According to the first result that described hardware decodes, business device judges whether whether C/S be more than Second Threshold less than first threshold and E/S, if
It is, it is determined that described tested terminal supports hardware decoding video, and without going to judge described tested end by software decode
Whether end supports that hardware decodes, then without consuming the resource of CPU, thus effectively save the resource of CPU.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make
Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for
From the point of view of those skilled in the art, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings
Figure.
Fig. 1 is a structural representation of system architecture in the embodiment of the present invention;
Fig. 2 is a structural representation of server in the embodiment of the present invention;
Fig. 3 is an embodiment schematic diagram of the method for testing of video decoding in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of the method for testing of video decoding in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of the method for testing of video decoding in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of the method for testing of video decoding in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of the method for testing of video decoding in the embodiment of the present invention;
Fig. 8 is another structural representation of server in the embodiment of the present invention;
Fig. 9 is another structural representation of server in the embodiment of the present invention;
Figure 10 is another structural representation of server in the embodiment of the present invention;
Figure 11 is another structural representation of server in the embodiment of the present invention;
Figure 12 is another structural representation of terminal in the embodiment of the present invention;
Figure 13 is another structural representation of terminal in the embodiment of the present invention.
Detailed description of the invention
Embodiments provide method of testing and the relevant device of the decoding of a kind of video, be used for solving in prior art
Need whether support that hardware decodes by software decode testing mobile phone, and the resource of CPU can be taken by software decode, thus shadow
By server, the problem ringing the operating rate of mobile phone, goes whether testing mobile phone supports hardware supported, thus effectively saves hands
The resource of machine CPU.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
Before introducing the embodiment of the present invention, first introduce the term that the present embodiments relate to:
Term " hardware decoding ": by the image processor of terminal (English full name: Graphic Processing Unit,
GPU) or the technology of other hardware module decoded video streams abbreviation:, relative with software decode, the advantage of hardware decoding is: imitate
Rate is high, low in energy consumption, heat power consumption is low.
Term " software decode ": the technology of the software application decoded video streams by being arranged in terminal, is passing through software
During decoding, need the resource of CPU on occupied terminal.
The system framework that the present invention relates to is described below, as it is shown in figure 1, this system framework includes server and end
End, wherein, sets up communication connection, a server can connect multiple terminal between server and terminal, this terminal can be wrapped
Include computer, mobile phone, notebook, personal digital assistant (English full name: Personal Digital Assistant, abbreviation:
PDA), the arbitrarily terminal unit such as vehicle-mounted computer, be not specifically limited herein.It addition, the operating system of described terminal can be
Windows sequence of maneuvers system, Unix type operating system, Linux type operating system, Mac operating system etc., the most do not do concrete
Limit.
As in figure 2 it is shown, be introduced the concrete structure of described server, described server 100 includes: radio frequency is (English
Full name: Radio Frequency, abbreviation: the RF) parts such as circuit 110, memorizer 120, processor 130 and power supply 140.This
Skilled person is appreciated that the structure of the server 100 shown in Fig. 2 is not intended that the restriction to server, can wrap
Include ratio and illustrate more or less of parts, or combine some parts, or different parts are arranged.
RF circuit 110 can be used for receiving and sending messages, such as: the reception of signal and transmission, generally, RF circuit 110 include but not
It is limited to antenna, at least one amplifier, transceiver, bonder, low-noise amplifier (English full name: Low Noise
Amplifier, LNA), duplexer etc. abbreviation:.Additionally, RF circuit 110 can also by radio communication and network and terminal etc. its
He communicates by equipment.Above-mentioned radio communication can use arbitrary communication standard or agreement, includes but not limited to global system for mobile telecommunications system
GSM), general packet radio service system (English full name: Global System of Mobile communication, abbreviation:
GPRS), CDMA (English full name: Code (English full name: General Packet Radio Service, abbreviation:
Division Multiple Access, CDMA), WCDMA (English full name: Wideband Code abbreviation:
Division Multiple Access, abbreviation: WCDMA), (English full name: Long Term Evolution, contracts Long Term Evolution
Write: LTE), Email, Short Message Service (English full name: Short Messaging Service, abbreviation: SMS) etc..
Memorizer 120 can be used for storing software program and module, and processor 130 is stored in memorizer 120 by operation
Software program and module, thus perform server 100 various functions application and data process.Memorizer 120 can be led
Including storage program area and storage data field, wherein, needed for storage program area can store operating system, at least one function
Application program (such as sound-playing function, image player function etc.) etc.;Storage data field can store making according to server 100
By the data (such as voice data, phone directory etc.) etc. created.Additionally, memorizer 120 can include that high random access is deposited
Reservoir, it is also possible to include nonvolatile memory, for example, at least one disk memory, flush memory device or other volatibility
Solid-state memory.
Processor 130 is the control centre of server 100, utilizes various interface and the whole server of connection 100
Various piece, is stored in the software program in memorizer 120 and/or module by running or performing, and calls and be stored in
Data in reservoir 120, perform the various functions of server 100 and process data, thus server 100 carries out overall prison
Control.Optionally, processor 130 can include one or more processing unit;Preferably, processor 130 can integrated application processor
And modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., modulatedemodulate
Processor is adjusted mainly to process radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor
In 130.
Server 100 also includes the power supply 140 (such as battery) powered to all parts, it is preferred that power supply can pass through
Power-supply management system is logically contiguous with processor 130, thus realizes management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.
Although not shown, described server 100 can also include input block, display unit etc., does not repeats them here.
In embodiments of the present invention, the software program that described memorizer 120 performs for processor 130 for storage;
Described processor 130 is for determining the identifier of tested terminal, and wherein, described tested terminal is tested with described
Corresponding relation is there is between the identifier of examination terminal;
Described RF circuit 110 sends hardware solution for the identifier according to described tested terminal to described tested terminal
The test instruction of code, wherein, the test instruction of described hardware decoding uses hardware decoding for indicating described tested terminal
Mode plays video;
Described RF circuit 110 is additionally operable to receive the first result of the hardware decoding that described tested terminal sends, and by institute
The first result stating hardware decoding sends to processor 130, and wherein, the first result of described hardware decoding includes that video starts to broadcast
The number of times S put, video terminates number of times E and the number of times C of video playback mistake play;
Described processor 130 is additionally operable to judge that whether C/S is less than first threshold according to the first result that described hardware decodes
And/or whether E/S is more than Second Threshold;
If so, determine that described tested terminal supports hardware decoding video.
In the implementation that some are possible, described processor 130 is additionally operable to determine that described tested terminal supports hardware
After decoding video, described tested terminal is set to white list by described server, so that described tested terminal acquiescence
Use hardware decoding video.
In the implementation that some are possible, described RF circuit 110 is additionally operable to described processor 130 by described tested end
After end is set to white list, when the read only memory ROM of described tested terminal is upgraded, send to described tested terminal
The test instruction of described hardware decoding;
Receive the second result of the hardware decoding that described tested terminal sends, and the second result decoded by described hardware
Sending to described processor 130, wherein, the second result of described hardware decoding includes the number of times S that video commences play out, and video is tied
The number of times E and the number of times C of video playback collapse of bundle broadcasting;
Described processor 130 is additionally operable to judge that whether C/S is less than first threshold according to the second result that described hardware decodes
And/or whether E/S is more than Second Threshold;
If it is not, described tested terminal is switched to acquiescence use software decode video.
In the implementation that some are possible, described processor 130 is additionally operable to described tested terminal is set to white name
After list, when the read only memory ROM of described tested terminal is upgraded, obtain the mesh with described tested terminal same model
Mark terminal group;
Described target terminal group is categorized into multiple packet according to preset rules;
Each terminal that described RF circuit 110 is additionally operable in the packet at described tested terminal place sends hardware decoding
Test instruction, wherein, described hardware decoding test instruction for indicate described each terminal use hardware decoding mode
Play video, and the 3rd result that hardware decodes is sent respectively to described server, wherein, the 3rd knot of described hardware decoding
Fruit includes the number of times S that video commences play out, and video terminates number of times E and the number of times C of video playback mistake play;
Described processor 130 is additionally operable to the C/ corresponding to whole terminals obtaining in the packet at described tested terminal place
The meansigma methods of E and/or the meansigma methods of C/S;
Judge whether whether the meansigma methods of described C/E be more than the meansigma methods of the 3rd threshold value and/or C/S more than the 4th threshold value;
If so, described tested terminal is switched to acquiescence and uses software decode video.
Please continue to refer to Fig. 2, the terminal that the present invention relates to is similar to the structural framing of server as shown in Figure 2, described
Terminal also includes the structure shown in Fig. 2:
In embodiments of the present invention, the software program that described memorizer 120 performs for processor 130 for storage;
The test instruction of the hardware decoding that described RF circuit 110 sends for receiving server;
For the test instruction decoded according to described hardware, described processor 130 determines that the mode using hardware decoding is play
Video;
The first result that described RF circuit 110 is additionally operable to hardware decodes is sent to described server, wherein, described hardware
First result of decoding includes the number of times S that video commences play out, and video terminates the number of times E of broadcasting and the secondary of video playback collapse
Number C, for described server, the first result of described hardware decoding judges that C/S is the biggest less than first threshold and/or E/S
In Second Threshold.
In the implementation that some are possible, described processor 130 be additionally operable to when described C/S less than first threshold and/or
When described E/S is more than Second Threshold, determine that acquiescence uses hardware decoding video.
In the implementation that other are possible, described RF circuit 110 is additionally operable to when the read only memory ROM of described terminal
During upgrading, receive the test instruction of the described hardware decoding that described server sends;
Described processor 130 is for determining that the mode using hardware decoding plays video;
The second result that described RF circuit 110 is additionally operable to hardware decodes is sent to described server, wherein, described hardware
Second result of decoding includes the number of times S that video commences play out, and video terminates the number of times E of broadcasting and the secondary of video playback collapse
Number C, for described server, the second result of described hardware decoding judges that C/S is the biggest less than first threshold and/or E/S
In Second Threshold;
Described processor 130 is additionally operable to when described C/S is not more than Second Threshold not less than first threshold and/or described E/S
Time, described tested terminal switches to acquiescence and uses software decode video.
Refer to Fig. 3, an embodiment schematic diagram of the method for testing of video decoding, idiographic flow in the embodiment of the present invention
As follows:
Step 301, server determine the identifier of tested terminal, and wherein, described tested terminal is tested with described
Corresponding relation is there is between the identifier of terminal;
In embodiments of the present invention, each tested terminal has an identifier of correspondence, and this identifier can be the overall situation
Unique identifier (English full name: Globally Unique Identifier, abbreviation: GUID), be herein not specifically limited, its
In, GUID is a kind of numeral generated by algorithm and the identifier that letter mixing length is 32.GUID is mainly used at product
Middle differentiation unique user.
Step 302, described server send hardware according to the identifier of described tested terminal to described tested terminal
The test instruction of decoding, wherein, the test instruction of described hardware decoding is used for indicating described tested terminal to use hardware decoding
Mode play video;
Wherein, exist between server and the objective browser (such as: QQ browser, IE browser etc.) of tested terminal
One mechanism of knowing together, it is simply that when server sends the hard test decoded according to the identifier of tested terminal to tested terminal
During instruction, for indicating the browser of tested terminal when playing video, by the way of hardware decodes, play video.
Such as: the test that Tengxun's server sends a hardware decoding according to the GUID of mobile phone A to mobile phone A instructs, then
After mobile phone A receives the test instruction of this hardware decoding, follow-up certain section that may be browsed broadcasting " Chinese good sound " by QQ
During video, it is no matter that the mode utilizing software decode or hardware decoding plays this video, now, at needs before QQ browser
Whether testing mobile phone A supports that hardware decodes, then the QQ browser in mobile phone A uses the mode of hardware decoding to play video.
Step 303, described server receive the first result of the hardware decoding that described tested terminal sends, wherein, institute
The first result stating hardware decoding includes the number of times S that video commences play out, and video terminates number of times E and the video playback mistake play
Number of times C by mistake;
When tested terminal plays section video, it may occur that m broadcasting starts, n broadcasting terminates, and plays for j time
Mistake.In the ideal case, the most once the inevitable correspondence of broadcasting beginning is once play and is terminated, such as: m=n, and playback error
Number of times is 0, such as: j=0.
According to the first result that described hardware decodes, step 304, described server judge that whether C/S is less than first threshold
And/or whether E/S is more than Second Threshold;If so, step 305 is performed, if it is not, terminate flow process.
Continue the example in above-mentioned steps 302, browse certain section of video of broadcasting " Chinese good sound " in mobile phone A by QQ
Time, the number of times S=100 that video commences play out, video terminates number of times E=99, the number of times C=1 of video playback mistake play,
Then, C/S=0.01, E/S=0.99, then judge whether whether C/S=0.01 be more than less than first threshold and/or E/S=0.99
Second Threshold.
Wherein, the threshold value that when first threshold and Second Threshold, server or User Defined are preset, generally, the
One threshold value is 0.015, and Second Threshold can be 0.95, is not specifically limited herein.
Step 305, determine described tested terminal support hardware decoding video.
Number of times S that is visible, that directly commenced play out at the video playing video by tested terminal, video terminates broadcasting
The number of times C of number of times E and video playback mistake, when C/S is more than Second Threshold less than first threshold and/or E/S, directly determines
Described tested terminal supports hardware decoding video, it is not necessary to go to test whether this tested terminal supports hardware by software decode
Decoding, thus saved the resource of CPU.
Referring to Fig. 4, in the embodiment of the present invention, another embodiment schematic diagram of the method for testing of video decoding, specifically flows
Journey is as follows:
Step 401, server determine the identifier of tested terminal, and wherein, described tested terminal is tested with described
Corresponding relation is there is between the identifier of terminal;
Step 402, described server send hardware according to the identifier of described tested terminal to described tested terminal
The test instruction of decoding, wherein, the test instruction of described hardware decoding is used for indicating described tested terminal to use hardware decoding
Mode play video;
Step 403, described server receive the first result of the hardware decoding that described tested terminal sends, wherein, institute
The first result stating hardware decoding includes the number of times S that video commences play out, and video terminates number of times E and the video playback mistake play
Number of times C by mistake;
According to the first result that described hardware decodes, step 404, described server judge that whether C/S is less than first threshold
And/or whether E/S is more than Second Threshold;If so, step 405 is performed, if it is not, terminate flow process.
Step 405, determine described tested terminal support hardware decoding video;
It should be noted that step 401 is same or like to step 305 with the step 301 shown in Fig. 3 to step 405,
Specifically see step 301 to the description of step 305, here is omitted.
Described tested terminal is set to white list by step 406, described server, so that described tested terminal is write from memory
Recognize employing hardware decoding video;
In actual applications, if after tested terminal is arranged to white list, acquiescence uses hardware decoding video every time.
Step 407, when described tested terminal read only memory ROM upgrade time, described server is to described tested
Terminal sends the test instruction of described hardware decoding;
Unlike the prior art, after tested terminal is arranged to white list, it is also desirable to long-term dynamics follows the tracks of quilt
The decoded state of test terminal, due to tested terminal read only memory (English full name: Read-Only Memory, abbreviation:
ROM) upgrading, the running status that may result in tested terminal is unstable, when the read only memory ROM liter of tested terminal
Level, then need again to send the test instruction of described hardware decoding to tested terminal, it is judged that tested terminal decodes at hardware
Whether the ratio whether made a mistake during video and make a mistake meets pre-conditioned.
Step 408, described server receive the second result of the hardware decoding that described tested terminal sends, wherein, institute
State hardware decoding the second result include the number of times S that video commences play out, video terminate play number of times E and video playback collapse
The number of times C burst;
According to the second result that described hardware decodes, step 409, described server judge that whether C/S is less than first threshold
And/or whether E/S is more than Second Threshold;If it is not, perform step 409, if so, terminate flow process.
Step 410, described tested terminal is switched to acquiescence use software decode video.
When tested terminal is during hardware decoding video, if C/S is not more than not less than first threshold and/or E/S
Second Threshold, it is determined that the ratio that tested terminal makes a mistake is unsatisfactory for pre-conditioned, if long-term acquiescence uses hardware decoding
Video, the browser that may result in tested terminal directly collapses, therefore during playing video, it is to avoid tested end
The browser of end collapses, and from hardware decoding video, described tested terminal is switched to acquiescence and uses software decode video.
Referring to Fig. 5, in the embodiment of the present invention, another embodiment schematic diagram of the method for testing of video decoding, specifically flows
Journey is as follows:
Step 501, server determine the identifier of tested terminal, and wherein, described tested terminal is tested with described
Corresponding relation is there is between the identifier of terminal;
Step 502, described server send hardware according to the identifier of described tested terminal to described tested terminal
The test instruction of decoding, wherein, the test instruction of described hardware decoding is used for indicating described tested terminal to use hardware decoding
Mode play video;
Step 503, described server receive the first result of the hardware decoding that described tested terminal sends, wherein, institute
The first result stating hardware decoding includes the number of times S that video commences play out, and video terminates number of times E and the video playback mistake play
Number of times C by mistake;
According to the first result that described hardware decodes, step 504, described server judge that whether C/S is less than first threshold
And/or whether E/S is more than Second Threshold;If so, step 505 is performed, if it is not, terminate flow process.
Step 505, determine described tested terminal support hardware decoding video.
Described tested terminal is set to white list by step 506, described server, so that described tested terminal is write from memory
Recognize employing hardware decoding video;
It should be noted that step 501 is same or like to step 305 with the step 301 shown in Fig. 3 to step 505,
Specifically see step 301 to the description of step 305, here is omitted.Step 506 identical with step 406 shown in Fig. 4 or
Person is similar, specifically see the description of step 406, and here is omitted.
Step 507, when described tested terminal read only memory ROM upgrade time, described server obtain with described quilt
The target terminal group of test terminal same model;
Owing to hardware decoding is relevant with the model of terminal, after the read only memory ROM of tested terminal is upgraded, Ke Nengyou
The terminal of a little models does not support that hardware decodes, and the terminal of some model also supports that hardware decodes, therefore, and can be by described tested
The model place of terminal terminal group in the range of certain detects, it is judged that whether described tested terminal also needs to acquiescence uses
Hardware decoding video.
Such as: this tested terminal is Semen setariae mobile phone 3, this Semen setariae mobile phone 3 has telecommunications version, UNICOM's version, mobile edition
Etc. multiple models, it is assumed that Semen setariae mobile phone 3 corresponding to this tested terminal is the model of UNICOM's version, then obtain in target zone all
The Semen setariae mobile phone 3 of UNICOM's version model.
Described target terminal group is categorized into multiple packet according to preset rules by step 508, described server;
In actual applications, this preset rules includes number of times that the type according to ROM or video commence play out or regards
Frequency terminates at least one mode such as the number of times of number of times or the video playback mistake play and classifies, and does not the most do concrete limit
Fixed.
As a example by the type of ROM is classified, sorting out multiple packet, wherein, the packet of each ROM is to having at least one
Individual terminal.
Step 509, the described server each terminal in the packet at described tested terminal place sends hardware decoding
Test instruction, wherein, described hardware decoding test instruction for indicate described each terminal use hardware decoding mode
Play video, and the 3rd result that hardware decodes is sent respectively to described server, wherein, the 3rd knot of described hardware decoding
Fruit includes the number of times S that video commences play out, and video terminates number of times E and the number of times C of video playback mistake play;
In embodiments of the present invention, hardware solution is sent by each terminal in the packet to described tested terminal place
The test instruction of code so that the mode that each terminal in the packet at described tested terminal place uses hardware to decode is play
Video.
Step 510, described server obtain the C/E corresponding to whole terminals in the packet at described tested terminal place
Meansigma methods and/or the meansigma methods of C/S;
Assume the packet at this tested terminal place has 4 terminals, such as: tested terminal m1, terminal m2, terminal m3
With terminal m4.Wherein, the C of m1 is denoted as the E of C1, m1 and is denoted as the S of E1, m1 and is denoted as S1;The C of m2 is denoted as the E of C2, m2 and is denoted as E2, m2
S be denoted as S2;The C of m3 is denoted as the E of C3, m3 and is denoted as the S of E3, m3 and is denoted as S3;The C of m4 is denoted as the E of C4, m4 and is denoted as the S note of E4, m1
Make S1, then meansigma methods P of the C/E of these 4 terminals represents, then P=(C1+C2+C3+C4)/(E1+E2+E3+E4);Then these 4
Meansigma methods Q of the C/S of terminal represents, then Q=(C1+C2+C3+C4)/(S1+S2+S3+S4).
Step 511, described server judge that whether the meansigma methods of described C/E is more than the 3rd threshold value and/or the meansigma methods of C/S
Whether more than the 4th threshold value;If so, step 512 is performed, if it is not, terminate flow process.
Step 512, described tested terminal is switched to acquiescence use software decode video.
Preset it should be noted that the 3rd threshold value and the 4th threshold value are server or User Defined, do not do
Concrete restriction.
When the meansigma methods of described C/E is more than the meansigma methods of the 3rd threshold value and/or C/S more than four threshold values, it is seen then that work as institute
When stating the read only memory ROM upgrading of tested terminal, the whole terminals in the packet at described tested terminal place are at hardware
During decoding, the ratio of video playback mistake is higher, therefore, in order to avoid the browser of this tested terminal collapses
Burst, then described tested terminal is switched to acquiescence and uses software decode video.
The method of testing decoded video from server side above is described, and decodes video from end side below
Method of testing is described, and refers to Fig. 6, another embodiment signal of the method for testing of video decoding in the embodiment of the present invention
Figure, idiographic flow is as follows:
Step 601, tested terminal receive the test instruction of the hardware decoding that server sends;
In embodiments of the present invention, (such as: QQ browser, IE browses the objective browser of server and tested terminal
Device etc.) between there is a common recognition mechanism, it is simply that when server sends the test instruction of hard decoding to tested terminal, use
In indicating the browser of tested terminal when playing video, by the way of hardware decodes, play video.
Step 602, described tested terminal determine the side using hardware decoding according to the test instruction that described hardware decodes
Formula plays video;
Such as: mobile phone B when playing certain section of video of " happy base camp " by MPC browser, in mobile phone B
MPC browser uses the mode of hardware decoding to play video, whether supports that hardware decodes video with testing mobile phone B.
The first result that hardware is decoded by step 603, described tested terminal is sent to described server, wherein, described
First result of hardware decoding includes the number of times S that video commences play out, and video terminates number of times E and the video playback collapse play
Number of times C, for described server, the first result of described hardware decoding judges that whether C/S is less than first threshold and/or E/S is
No more than Second Threshold.
It should be noted that the threshold value that when first threshold and Second Threshold, server or User Defined are preset, typically
In the case of, first threshold is 0.015, and Second Threshold can be 0.95, is not specifically limited herein.
Referring to Fig. 7, in the embodiment of the present invention, another embodiment schematic diagram of the method for testing of video decoding, specifically flows
Journey is as follows:
Step 701, tested terminal receive the test instruction of the hardware decoding that server sends;
Step 702, described tested terminal determine the side using hardware decoding according to the test instruction that described hardware decodes
Formula plays video;
The first result that hardware is decoded by step 703, described tested terminal is sent to described server, wherein, described
First result of hardware decoding includes the number of times S that video commences play out, and video terminates number of times E and the video playback collapse play
Number of times C, for described server, the first result of described hardware decoding judges that whether C/S is less than first threshold and/or E/S is
No more than Second Threshold;
It should be noted that step 701 is same or like to step 603 with the step 601 shown in Fig. 6 to step 703,
Specifically see step 601 to the description of step 603, here is omitted.
Step 704, when described C/S less than first threshold and/or described E/S more than Second Threshold time, described tested end
End determines that acquiescence uses hardware decoding video;
Number of times S that is visible, that directly commenced play out at the video playing video by tested terminal, video terminates broadcasting
The number of times C of number of times E and video playback mistake, when C/S is more than Second Threshold less than first threshold and/or E/S, directly determines
Described tested terminal supports hardware decoding video, it is not necessary to go to test whether this tested terminal supports hardware by software decode
Decoding, thus saved the resource of CPU.
Step 705, when the read only memory ROM of described tested terminal is upgraded, described tested terminal receives described
The test instruction of the described hardware decoding that server sends;
Unlike the prior art, after tested terminal determines that acquiescence uses hardware decoding video, it is also desirable to move for a long time
State follows the tracks of the decoded state of tested terminal, due to read only memory (English full name: the Read-Only of tested terminal
Memory, abbreviation: ROM) upgrading, the running status that may result in tested terminal is unstable, read-only when tested terminal
Memorizer ROM upgrades, then need again to send the test instruction of described hardware decoding to tested terminal, it is judged that tested terminal
Whether the ratio whether making a mistake and making a mistake during hardware decoding video meets pre-conditioned, the most tested
Terminal receives the test instruction of the described hardware decoding that described server sends.
Step 706, described tested terminal determine that the mode using hardware decoding plays video;
The second result that hardware is decoded by step 707, described tested terminal is sent to described server, wherein, described
Second result of hardware decoding includes the number of times S that video commences play out, and video terminates number of times E and the video playback collapse play
Number of times C, for described server, the second result of described hardware decoding judges that whether C/S is less than first threshold and/or E/S is
No more than Second Threshold;
Step 708, when described C/S is not more than Second Threshold not less than first threshold and/or described E/S, described tested
Examination terminal switches to acquiescence and uses software decode video.
When tested terminal is during hardware decoding video, if C/S is not more than not less than first threshold and/or E/S
Second Threshold, it is determined that the ratio that tested terminal makes a mistake is unsatisfactory for pre-conditioned, if long-term acquiescence uses hardware decoding
Video, the browser that may result in tested terminal directly collapses, therefore during playing video, it is to avoid tested end
The browser of end collapses, and from hardware decoding video, described tested terminal is switched to acquiescence and uses software decode video.
For ease of preferably implementing the above-mentioned correlation technique of the embodiment of the present invention, it is also provided below for coordinating said method
Relevant apparatus.
Refer to Fig. 8, a structural representation of server 800 in the embodiment of the present invention, described server 800 includes:
Determine module 801, sending module 802, receiver module 803, it is judged that module 804.
Determining module 801, for determining the identifier of tested terminal, wherein, described tested terminal is tested with described
Corresponding relation is there is between the identifier of examination terminal;
Sending module 802, sends hardware solution for the identifier according to described tested terminal to described tested terminal
The test instruction of code, wherein, the test instruction of described hardware decoding uses hardware decoding for indicating described tested terminal
Mode plays video;
Receiver module 803, for receiving the first result of the hardware decoding that described tested terminal sends, wherein, described
First result of hardware decoding includes the number of times S that video commences play out, and video terminates number of times E and the video playback mistake play
Number of times C;
Judge module 804, the first result for decoding according to described hardware judge C/S whether less than first threshold with/
Or whether E/S is more than Second Threshold;
Described determine module 801, be additionally operable to as described C/S less than first threshold and/or described E/S more than Second Threshold
Time, determine that described tested terminal supports hardware decoding video.
On the basis of server shown in Fig. 8, referring to Fig. 9, described server 800 also includes:
Module 805 is set, for described determine module determine described tested terminal support hardware decoding video after,
Described tested terminal is set to white list, so that described tested terminal acquiescence uses hardware decoding video.
On the basis of server shown in Fig. 9, referring to Figure 10, described server 800 also includes:
Described sending module 802, for arranging after described tested terminal is set to white list by module described, when
When the read only memory ROM of described tested terminal is upgraded, the test sending the decoding of described hardware to described tested terminal refers to
Order;
Described receiver module 803, is additionally operable to receive the second result of the hardware decoding that described tested terminal sends, its
In, the second result of described hardware decoding includes the number of times S that video commences play out, and video terminates number of times E and the video play
Play the number of times C of collapse;
Described judge module 804, the second result for decoding according to described hardware judges that whether C/S is less than first threshold
And/or whether E/S is more than Second Threshold;
Handover module 806, for when C/S is not more than Second Threshold not less than first threshold and/or E/S, by described quilt
Test terminal switches to acquiescence and uses software decode video.
On the basis of server shown in Fig. 9, referring to Figure 11, described server 800 also includes:
Acquisition module 807, for after being set to white list by described tested terminal, when described tested terminal
During read only memory ROM upgrading, obtain the target terminal group with described tested terminal same model;
Sort module 808, for being categorized into multiple packet by described target terminal group according to preset rules;
Described sending module 802, sends hardware solution for each terminal in the packet at described tested terminal place
The test instruction of code, wherein, the test instruction of described hardware decoding is for indicating described each terminal to use the side of hardware decoding
Formula plays video, and the 3rd result that hardware decodes is sent respectively to described server, wherein, and the 3rd of described hardware decoding
Result includes the number of times S that video commences play out, and video terminates number of times E and the number of times C of video playback mistake play;
Described acquisition module 807, corresponding to the whole terminals being additionally operable to obtain in the packet at described tested terminal place
The meansigma methods of C/E and/or the meansigma methods of C/S;
Described judge module 804, is additionally operable to judge the meansigma methods of described C/E whether flat more than the 3rd threshold value and/or C/S
Whether average is more than the 4th threshold value;
Handover module 806, for the meansigma methods more than the 3rd threshold value and/or C/S of the meansigma methods as described C/E more than the 4th
During threshold value, described tested terminal is switched to acquiescence and uses software decode video.
Referring to Figure 12, a structural representation of terminal 900 in the embodiment of the present invention, described terminal 900 includes: receive
Module 901, determines module 902, sending module 903.
Receiver module 901, for receiving the test instruction of the hardware decoding that server sends;
Determining module 902, the test instruction for decoding according to described hardware really uses the mode of hardware decoding to play and regards
Frequently;
Sending module 903, for being sent to described server, wherein, described hardware solution by the first result that hardware decodes
First result of code includes the number of times S that video commences play out, and video terminates number of times E and the number of times of video playback collapse play
C, for described server, the first result of described hardware decoding judges whether whether C/S be more than less than first threshold and/or E/S
Second Threshold.
In the implementation that some are possible, when described C/S is more than Second Threshold less than first threshold and/or described E/S
Time, described terminal also includes:
Described determine module 902, be additionally operable to determine that acquiescence uses hardware decoding video.
On the basis of terminal shown in Figure 12, referring to Figure 13, described terminal 900 also includes:
Described receiver module 901, is additionally operable to after described decoder module acquiescence uses hardware decoding video, when described end
When the read only memory ROM of end is upgraded, receive the test instruction of the described hardware decoding that described server sends;
Described determine module 902, for determining that the mode using hardware decoding plays video;
Described sending module 903, is additionally operable to the second result by hardware decodes and is sent to described server, wherein, described
Second result of hardware decoding includes the number of times S that video commences play out, and video terminates number of times E and the video playback collapse play
Number of times C, for described server, the second result of described hardware decoding judges that whether C/S is less than first threshold and/or E/S is
No more than Second Threshold;
Handover module 904, is used for when described C/S is not more than Second Threshold not less than first threshold and/or described E/S,
Switch to acquiescence and use software decode video.
To sum up, the corresponding relation before the identifier of the tested terminal of server by utilizing and tested terminal, it is first determined
The identifier of tested terminal, the test then sending hardware decoding according to the identifier of tested terminal to tested terminal refers to
Order, wherein, the test instruction of described hardware decoding regards for indicating described tested terminal to use the mode of hardware decoding to play
Frequently, server receives the first result of the described hardware decoding that described tested terminal sends, wherein, the of described hardware decoding
One result includes the number of times S that video commences play out, and video terminates number of times E and the number of times C of video playback collapse play, this
Sample, according to the first result that described hardware decodes, server judges whether whether C/S be more than the second threshold less than first threshold and E/S
Value, if, it is determined that described tested terminal supports hardware decoding video, and described tested without going to judge by software decode
Whether examination terminal supports that hardware decodes, then without consuming the resource of CPU, thus effectively save the resource of CPU.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method are permissible
Realize by another way.Such as, device embodiment described above is only schematically, such as, and described unit
Dividing, be only a kind of logic function and divide, actual can have other dividing mode, the most multiple unit or assembly when realizing
Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list
Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit
Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product
Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer
Equipment (can be personal computer, server, or the network equipment etc.) performs the complete of method described in each embodiment of the present invention
Portion or part steps.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to front
State embodiment the present invention has been described in detail, it will be understood by those within the art that: it still can be to front
State the technical scheme described in each embodiment to modify, or wherein portion of techniques feature is carried out equivalent;And these
Amendment or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (14)
1. the method for testing of a video decoding, it is characterised in that including:
Server determines the identifier of tested terminal, wherein, described tested terminal and the identifier of described tested terminal
Between there is corresponding relation;
The test that described server sends hardware decoding according to the identifier of described tested terminal to described tested terminal refers to
Order, wherein, the test instruction of described hardware decoding regards for indicating described tested terminal to use the mode of hardware decoding to play
Frequently;
Described server receives the first result of the hardware decoding that described tested terminal sends, wherein, the decoding of described hardware
First result includes the number of times S that video commences play out, and video terminates number of times E and the number of times C of video playback mistake play;
According to the first result that described hardware decodes, described server judges that C/S is the biggest less than first threshold and/or E/S
In Second Threshold;
If so, determine that described tested terminal supports hardware decoding video.
Method the most according to claim 1, it is characterised in that described determine described tested terminal support hardware decoding regard
After Pin, described method also includes:
Described tested terminal is set to white list by described server, so that described tested terminal acquiescence uses hardware solution
Code video.
Method the most according to claim 2, it is characterised in that described tested terminal is set to white name by described server
After list, described method also includes:
When the read only memory ROM of described tested terminal is upgraded, described server sends described to described tested terminal
The test instruction of hardware decoding;
Described server receives the second result of the hardware decoding that described tested terminal sends, wherein, the decoding of described hardware
Second result includes the number of times S that video commences play out, and video terminates number of times E and the number of times C of video playback collapse play;
According to the second result that described hardware decodes, described server judges that C/S is the biggest less than first threshold and/or E/S
In Second Threshold;
If it is not, described tested terminal is switched to acquiescence use software decode video.
Method the most according to claim 2, it is characterised in that described tested terminal is set to white name by described server
After list, described method also includes:
When the read only memory ROM of described tested terminal is upgraded, described server obtains identical with described tested terminal
The target terminal group of model;
Described target terminal group is categorized into multiple packet according to preset rules by described server;
The described server each terminal in the packet at described tested terminal place sends the test instruction of hardware decoding, its
In, the test instruction of described hardware decoding is used for indicating described each terminal to use the mode of hardware decoding to play video, and will
3rd result of hardware decoding is sent respectively to described server, and wherein, the 3rd result of described hardware decoding includes that video is opened
Begin the number of times S play, and video terminates number of times E and the number of times C of video playback mistake play;
Described server obtain described tested terminal place packet in the C/E corresponding to whole terminals meansigma methods and/
Or the meansigma methods of C/S;
Described server judges whether whether the meansigma methods of described C/E be more than the meansigma methods of the 3rd threshold value and/or C/S more than the 4th
Threshold value;
If so, described tested terminal is switched to acquiescence and uses software decode video.
5. the method for testing of a video decoding, it is characterised in that including:
Tested terminal receives the test instruction of the hardware decoding that server sends;
According to the test instruction that described hardware decodes, described tested terminal determines that the mode using hardware decoding plays video, and
The first result that hardware decodes is sent to described server, and wherein, the first result of described hardware decoding includes that video starts
The number of times S play, video terminates number of times E and the number of times C of video playback collapse play, the first result of described hardware decoding
Judge whether whether C/S be more than Second Threshold less than first threshold and/or E/S for described server.
Method the most according to claim 5, it is characterised in that when described C/S is big less than first threshold and/or described E/S
When Second Threshold, described method also includes:
Described tested terminal determines that acquiescence uses hardware decoding video.
Method the most according to claim 6, it is characterised in that described tested terminal acquiescence use hardware decoding video it
After, described method also includes:
When the read only memory ROM of described tested terminal is upgraded, described tested terminal receives what described server sent
The test instruction of described hardware decoding;
Described tested terminal determines that the mode using hardware to decode plays video, and the second result that hardware decodes is sent to
Described server, wherein, the second result of described hardware decoding includes the number of times S that video commences play out, and video terminates broadcasting
Number of times E and the number of times C of video playback collapse, whether the second result of described hardware decoding judges C/S for described server
Whether it is more than Second Threshold less than first threshold and/or E/S;
When described C/S is not more than Second Threshold not less than first threshold and/or described E/S, described tested terminal switches to
Acquiescence uses software decode video.
8. a server, it is characterised in that including:
Determine module, for determining the identifier of tested terminal, wherein, described tested terminal and described tested terminal
Corresponding relation is there is between identifier;
Sending module, sends the test of hardware decoding for the identifier according to described tested terminal to described tested terminal
Instruction, wherein, the test instruction of described hardware decoding uses the mode of hardware decoding to play for indicating described tested terminal
Video;
Receiver module, for receiving the first result of the hardware decoding that described tested terminal sends, wherein, described hardware decodes
The first result include the number of times S that video commences play out, video terminate play number of times E and the number of times C of video playback mistake;
Judge module, the first result for decoding according to described hardware judges whether C/S is less than first threshold and/or E/S is
No more than Second Threshold;
Described determine module, be additionally operable to when described C/S less than first threshold and/or described E/S more than Second Threshold time, determine institute
State tested terminal and support hardware decoding video.
Server the most according to claim 8, it is characterised in that described server also includes:
Module is set, for described determine module determine described tested terminal support hardware decoding video after, by described
Tested terminal is set to white list, so that described tested terminal acquiescence uses hardware decoding video.
Server the most according to claim 9, it is characterised in that
Described sending module, for arranging after described tested terminal is set to white list by module, when described quilt described
When the read only memory ROM of test terminal is upgraded, send the test instruction of described hardware decoding to described tested terminal;
Described receiver module, is additionally operable to receive the second result of the hardware decoding that described tested terminal sends, wherein, described firmly
Part decoding the second result include the number of times S that video commences play out, video terminate play number of times E and video playback collapse
Number of times C;
Described judge module, the second result for decoding according to described hardware judges that whether C/S is less than first threshold and/or E/
Whether S is more than Second Threshold;
Handover module, for when C/S is not more than Second Threshold not less than first threshold and/or E/S, by described tested terminal
Switch to acquiescence and use software decode video.
11. servers according to claim 9, it is characterised in that described server also includes:
Acquisition module, for after being set to white list by described tested terminal, when described the read-only of tested terminal is deposited
During reservoir ROM upgrading, obtain the target terminal group with described tested terminal same model;
Sort module, for being categorized into multiple packet by described target terminal group according to preset rules;
Described sending module, sends the test of hardware decoding for each terminal in the packet at described tested terminal place
Instruction, wherein, the test instruction of described hardware decoding regards for indicating described each terminal to use the mode of hardware decoding to play
Frequently, and the 3rd result that hardware decodes being sent respectively to described server, wherein, the 3rd result of described hardware decoding includes
The number of times S that video commences play out, video terminates number of times E and the number of times C of video playback mistake play;
Described acquisition module, the C/E's corresponding to whole terminals being additionally operable to obtain in the packet at described tested terminal place
Meansigma methods and/or the meansigma methods of C/S;
Described judge module, is additionally operable to judge that the meansigma methods whether meansigma methods of described C/E is more than the 3rd threshold value and/or C/S is
No it is more than the 4th threshold value;
Handover module, is used for when the meansigma methods of described C/E is more than the meansigma methods of the 3rd threshold value and/or C/S more than four threshold values,
Described tested terminal is switched to acquiescence and uses software decode video.
12. 1 kinds of terminals, it is characterised in that including:
Receiver module, for receiving the test instruction of the hardware decoding that server sends;
Determining module, the test instruction for decoding according to described hardware really uses the mode of hardware decoding to play video;
Sending module, for being sent to described server, wherein, the first of described hardware decoding by the first result that hardware decodes
Result includes the number of times S that video commences play out, video terminate play number of times E and video playback collapse number of times C, described firmly
For described server, first result of part decoding judges whether whether C/S be more than the second threshold less than first threshold and/or E/S
Value.
13. terminals according to claim 12, it is characterised in that when described C/S is less than first threshold and/or described E/S
During more than Second Threshold, described terminal also includes:
Described determine module, be additionally operable to determine that acquiescence uses hardware decoding video.
14. terminals according to claim 13, it is characterised in that
Described receiver module, is additionally operable to after described decoder module acquiescence uses hardware decoding video, when described terminal only
When reading memorizer ROM upgrading, receive the test instruction of the described hardware decoding that described server sends;
Described determine module, for determining that the mode using hardware decoding plays video;
Described sending module, is additionally operable to be sent to the second result that hardware decodes described server, and wherein, described hardware decodes
The second result include the number of times S that video commences play out, video terminate play number of times E and video playback collapse number of times C,
For described server, second result of described hardware decoding judges whether whether C/S be more than the less than first threshold and/or E/S
Two threshold values;
Handover module, for when described C/S is not more than Second Threshold not less than first threshold and/or described E/S, switching to write from memory
Recognize employing software decode video.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610619817.6A CN106231051B (en) | 2016-08-01 | 2016-08-01 | Video decoding test method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610619817.6A CN106231051B (en) | 2016-08-01 | 2016-08-01 | Video decoding test method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106231051A true CN106231051A (en) | 2016-12-14 |
CN106231051B CN106231051B (en) | 2020-04-03 |
Family
ID=57535524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610619817.6A Active CN106231051B (en) | 2016-08-01 | 2016-08-01 | Video decoding test method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106231051B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110198427A (en) * | 2018-07-05 | 2019-09-03 | 腾讯科技(深圳)有限公司 | Video call method and device |
WO2020107972A1 (en) * | 2018-11-27 | 2020-06-04 | Oppo广东移动通信有限公司 | Video decoding control method and apparatus, electronic device, and storage medium |
CN111510706A (en) * | 2020-04-21 | 2020-08-07 | 咪咕文化科技有限公司 | Hardware encoding and decoding support degree detection method, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100646233B1 (en) * | 2005-05-30 | 2006-11-23 | 연세대학교 산학협력단 | Systems and methods for video quality measurement using auxiliary information of codec |
CN103260021A (en) * | 2012-02-21 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Method and device for decoding videos |
CN103699483A (en) * | 2013-12-20 | 2014-04-02 | 合一网络技术(北京)有限公司 | Method and device for testing compatibility of playing state of flash player and browser |
CN103997643A (en) * | 2014-06-06 | 2014-08-20 | 北京安兔兔科技有限公司 | Method and device for testing video playing performance |
CN104980788A (en) * | 2015-02-11 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Video decoding method and device |
-
2016
- 2016-08-01 CN CN201610619817.6A patent/CN106231051B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100646233B1 (en) * | 2005-05-30 | 2006-11-23 | 연세대학교 산학협력단 | Systems and methods for video quality measurement using auxiliary information of codec |
CN103260021A (en) * | 2012-02-21 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Method and device for decoding videos |
CN103699483A (en) * | 2013-12-20 | 2014-04-02 | 合一网络技术(北京)有限公司 | Method and device for testing compatibility of playing state of flash player and browser |
CN103997643A (en) * | 2014-06-06 | 2014-08-20 | 北京安兔兔科技有限公司 | Method and device for testing video playing performance |
CN104980788A (en) * | 2015-02-11 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Video decoding method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110198427A (en) * | 2018-07-05 | 2019-09-03 | 腾讯科技(深圳)有限公司 | Video call method and device |
WO2020107972A1 (en) * | 2018-11-27 | 2020-06-04 | Oppo广东移动通信有限公司 | Video decoding control method and apparatus, electronic device, and storage medium |
US11456013B2 (en) | 2018-11-27 | 2022-09-27 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Video decoding control method, electronic device, and storage medium |
CN111510706A (en) * | 2020-04-21 | 2020-08-07 | 咪咕文化科技有限公司 | Hardware encoding and decoding support degree detection method, terminal and storage medium |
CN111510706B (en) * | 2020-04-21 | 2022-03-22 | 咪咕文化科技有限公司 | Hardware encoding and decoding support degree detection method, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106231051B (en) | 2020-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105354093A (en) | Memory management method and mobile terminal | |
US8204488B2 (en) | Web content distribution to personal cellular telecommunications devices | |
CN106559679A (en) | Method, server and mobile terminal that video is decoded | |
CN109587252A (en) | Loading method, device, electronic equipment and the storage medium of operator parameter | |
US20110032902A1 (en) | Method for displaying network name in mobile terminal and system thereof | |
CN106502826B (en) | Data backup and transmission method and mobile terminal | |
CN110333947A (en) | A kind of subcontracting resource loading method, device, equipment and the medium of game application | |
CN108536480B (en) | Input method configuration method and related product | |
CN106413036A (en) | Network access processing method and terminal device | |
CN106231051A (en) | The method of testing of a kind of video decoding and relevant device | |
CN104853422A (en) | Power-saving method and device for mobile terminal | |
CN112312378B (en) | Sharing method and device of operator network and core network equipment | |
CN104967865A (en) | Video previewing method and apparatus | |
CN106455027A (en) | Network standard adjustment method and mobile terminal | |
CN104837042A (en) | Digital multimedia data encoding method and apparatus | |
CN106095489A (en) | A kind of application controls method and mobile terminal | |
CN108063840A (en) | Access the method and Related product of network | |
CN106095385A (en) | A kind of audio method to set up and mobile terminal | |
CN106294707A (en) | A kind of countdown information output intent and device | |
CN106126377A (en) | The method and device of system start-up | |
CN106328149B (en) | A kind of mixed audio processing method and relevant device | |
CN109644078B (en) | Uplink data transmission method, terminal, network side equipment and system | |
CN105657733A (en) | Network stabilization control device and method | |
CN107291637A (en) | The method and apparatus of compatible polytypic mobile communication module in Android system | |
CN113099509B (en) | Service selection method, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |