CN105992055A - Video decoding method and device - Google Patents

Video decoding method and device Download PDF

Info

Publication number
CN105992055A
CN105992055A CN201510046323.9A CN201510046323A CN105992055A CN 105992055 A CN105992055 A CN 105992055A CN 201510046323 A CN201510046323 A CN 201510046323A CN 105992055 A CN105992055 A CN 105992055A
Authority
CN
China
Prior art keywords
video
terminal
decoding
end message
complex degree
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
CN201510046323.9A
Other languages
Chinese (zh)
Other versions
CN105992055B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510046323.9A priority Critical patent/CN105992055B/en
Publication of CN105992055A publication Critical patent/CN105992055A/en
Application granted granted Critical
Publication of CN105992055B publication Critical patent/CN105992055B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention discloses a video decoding method and device, and belongs to the internet communication field. The method comprises the steps of obtaining the terminal information contained in the historically received decoding mode query messages; constructing a white list according to the obtained terminal information, wherein the white list comprises the terminal information of a terminal capable of using a hardware decoding mode to decode the video; when a decoding mode query message sent by the terminal is received, obtaining a decoding mode of the terminal according to the terminal information of the terminal and the white list; sending the decoding mode to the terminal, so that the terminal can decode the video according to the decoding mode. The device comprises a first obtaining module, a construction module, a second obtaining module and a sending module. According to the present invention, the situation that the terminal decodes unsuccessfully, so that the video can not be played, can be avoided.

Description

A kind of method and device of video decoding
Technical field
The present invention relates to field of Internet communication, the method and device decoded particularly to a kind of video.
Background technology
Along with the development of mobile terminal, the function that mobile terminal has gets more and more, such as, and current big portion Divide mobile terminal to have the function downloaded and play video, after mobile terminal foradownloaded video, need first to regarding Frequency is decoded, and could play out this video after decoding.
Video can be decoded, particularly as follows: mobile terminal includes by mobile terminal as follows at present Decoding chip, mobile terminal is after having downloaded video, and the decoding chip that can pass through self to include is to download Video is decoded.
During realizing the present invention, inventor finds that prior art at least there is problems in that
The decoding complex degree of the video in video website is more and more higher at present, and the decoding core of a lot of mobile terminal The performance of sheet is relatively low, causes to be decoded the video that these decoding complex degrees are higher, to such an extent as to cannot Play video.
Summary of the invention
In order to solve problem of the prior art, the invention provides the method and device of a kind of video decoding.Institute State technical scheme as follows:
A kind of method of video decoding, described method includes:
Obtain the end message comprised in each decoding process query messages of historical reception;
End message structure white list according to described acquisition, described white list includes using hardware to decode The end message of the terminal that video is decoded by mode;
When receiving the decoding process query messages that terminal sends, according to end message and the institute of described terminal State white list, obtain the decoding process of described terminal;
Send described decoding process to described terminal, make described terminal carry out video solution according to described decoding process Code.
A kind of device of video decoding, described device includes:
First acquisition module, for obtaining the terminal letter comprised in each decoding process query messages of historical reception Breath;
Constructing module, constructs white list for the end message according to described acquisition, and described white list includes energy Enough end messages of the terminal that video is decoded by employing hardware decoding process;
Second acquisition module, for when receiving the decoding process query messages that terminal sends, according to described The end message of terminal and described white list, obtain the decoding process of described terminal;
Sending module, is used for sending described decoding process to described terminal, makes described terminal according to described decoding Mode carries out video decoding.
In embodiments of the present invention, when receiving the decoding process query messages that terminal sends, according to terminal End message and white list, obtain terminal decoding process, make terminal be decoded according to this decoding process, Such that it is able to avoid decoding terminals unsuccessfully to cause playing video;It addition, according to each decoding of historical reception The end message structure white list comprised in mode query messages so that the white list of structure all active users make End message by the higher terminal of frequency.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of a kind of video decoding that the embodiment of the present invention 1 provides;
Fig. 2 is the method flow diagram of a kind of video decoding that the embodiment of the present invention 2 provides;
Fig. 3 is the method flow diagram of a kind of video decoding that the embodiment of the present invention 3 provides;
Fig. 4 is the apparatus structure schematic diagram of a kind of video decoding that the embodiment of the present invention 4 provides;
Fig. 5 is a kind of server architecture schematic diagram that the embodiment of the present invention 5 provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention Embodiment is described in further detail.
Embodiment 1
See Fig. 1, the method embodiments providing the decoding of a kind of video, including:
Step 101: obtain the end message comprised in each decoding process query messages of historical reception.
Step 102: according to the end message structure white list obtained, white list includes using hardware to decode The end message of the terminal that video is decoded by mode.
Step 103: when receiving the decoding process query messages that terminal sends, according to the end message of terminal And white list, obtain the decoding process of terminal.
Step 104: send this decoding process to terminal, make terminal carry out video decoding according to this decoding process.
In embodiments of the present invention, when receiving the decoding process query messages that terminal sends, according to terminal End message and white list, obtain terminal decoding process, make terminal be decoded according to this decoding process, Such that it is able to avoid decoding terminals unsuccessfully to cause playing video;It addition, according to each decoding of historical reception The end message structure white list comprised in mode query messages so that the white list of structure all active users make End message by the higher terminal of frequency.
Embodiment 2
Seeing Fig. 2, the method embodiments providing the decoding of a kind of video, the executive agent of the present invention can Think that server, the method include:
Step 201: obtain the end message comprised in each decoding process query messages of historical reception.
Each user can install a client in its terminal used, and this client can be browser Or player etc..When the new video that user uses this client terminal playing never to play every time, this terminal reads The end message of oneself, sends and comprises the decoding process query messages of this end message to server.Server Receive and store this decoding process query messages, then determine decoding process according to this end message and be sent to This terminal.According to this decoding process, this terminal determines that new video is decoded by the decoding chip using self, Still use the video decoding algorithm self stored that new video is decoded.
The each decoding process query messages stored in server is each decoding process of Server history reception and looks into Ask message, so this step can be: obtain each decoding process query messages of storage in server.
The end message of terminal at least includes model information and the operating system version information of terminal.The machine of terminal Type information can be the model of terminal, and the operating system version information of terminal can be the behaviour that terminal is currently installed on Make the version number of system.
Step 202: add up every kind of number corresponding to end message in each end message obtained, selects number Maximum default value end message also forms information aggregate.
Owing to when user plays new video every time, terminal just sends the decoding process comprising its end message and looks into Ask message, so number corresponding to certain end message is that the terminal that this end message is corresponding is used by each user Number of times, the terminal that each end message in such information aggregate is corresponding is all maximum when be used by a user frequency Terminal.
Step 203: the terminal that each end message in information aggregate is corresponding is entered by default video collection Row test, obtains the decoding complex degree that each end message in information aggregate is corresponding.
The video collection preset includes the video of multiple different decoding complex degree.Technical staff is according to information collection Each end message in conjunction, purchases the terminal that each end message is corresponding respectively.Each end for buying End, this terminal uses hardware decoding process to be decoded each video in video collection respectively, obtains and solve Code successfully video, the decoding selecting maximum from the decoding complex degree that each video of successfully decoded is corresponding is multiple Miscellaneous degree, is defined as the decoding complex degree that the end message of this terminal is corresponding by the decoding complex degree of selection.
Wherein, terminal includes hardware decoding process and software decode mode, and hardware decoding process refers to terminal By it decoding chip included, video is decoded;Software decode mode refers to that terminal passes through what it included Video is decoded by video decoding algorithm.
The decoding chip that presently, there are has multiple, the most twenties kinds, the solution that every kind of decoding chip is supported Code complexity is different, for each terminal, when being tested this terminal by video collection, if should The decoding complex degree that the decoding chip included in terminal is supported is the highest, uses the hardware decoding process of this terminal to become The video that merit decodes is the most, if the decoding complex degree that the decoding chip included in this terminal is supported is the lowest, The video using the hardware decoding process of this terminal to be successfully decoded out is the fewest.
Video in the video collection preset is that server obtains in advance, and its acquisition process can be following (1) To the step of (4), including:
(1): obtain the decoding complex degree of each video that video website includes, include from website each regards The video that decoding complex degree is maximum is selected in Pin.
Specifically, obtaining the video parameter of each video from video website, the video parameter of video can be wrapped Include the configuration information of this video, resolution, reference frame, the length of video pictures and width and frame per second etc.;According to The video parameter of each video calculates the decoding complex degree of each video, from each video that website includes Select the video that decoding complex degree is maximum.The video of decoding complex degree maximum may be one or more.
For obtaining the operation of the video parameter of each video from video website, Ke Yiwei:
From video website, the video literary composition of each video that video website includes is crawled by web crawlers technology Part, extracts the video parameter of each video from the video file of each video respectively.
(2): from the video selected, intercept video pictures meet one section of video of default picture condition.
A duration scope can also be pre-set, in the range of the duration of the video of intercepting is positioned at this duration.
Preset picture condition and can include preferably only having under Same Scene two human dialog, and can be clearly visible Personage's shape of the mouth as one speaks, talks with for Chinese, the captions of dialogue to be had in film, and speed of speaking about normally is spoken speed Rate, to comprise different scenes in one section of film, such as, have indoor, outdoor, scenery with hills and waters, walking Etc., but picture color to enrich can not be too fancy, it is impossible to be that certain is monochromatic, the figure of scene marginal area As field color to have certain striped.
(3): the video conversion of intercepting is become the video of multiple different decoding complex degree, each video of conversion The decoding complex degree of video that both less than intercepts of decoding complex degree.
For example, it is assumed that the decoding complex degree selecting the video of decoding complex degree maximum is 9, so the video intercepted Decoding complex degree be also 9, the video of intercepting is converted into respectively video that decoding complex degree is 8, is 7 Video, be 6 video, be 5 video, be 4 video, be 3 video, be 2 video and It it is the video of 1.
(4): the video of intercepting and each video being converted to are formed video collection.
Such as, will intercept video, the video that the decoding complex degree changed is 8, the video into 7, into 6 Video, be 5 video, be 4 video, be 3 video, be 2 video and be 1 video Composition video collection.
Step 204: select decoding complex degree to exceed the end message of predetermined threshold value from information aggregate, will select End message composition white list.
Wherein, each end message in white list is to use hardware decoding process to solve video The end message of the terminal of code.
Wherein, the decoding complex degree of the most of video in video website is all located at a decoding complex degree scope In, decoding complex degree is less than the video of the lower limit of this decoding complex degree scope or higher than this decoding complex degree model The video of the higher limit enclosed is little.In this step, predetermined threshold value can be more than or equal to this decoding complex degree The higher limit of scope, so the terminal that decoding complex degree exceedes predetermined threshold value can be successfully to video website In most video be decoded, such that it is able to will select end message composition white list.
For any user, this user can use the client terminal playing new video installed in its terminal, newly regards Frequency is film, film and the TV play etc. that this terminal was not play, it should be noted that due to TV play The decoding complex degree of each collection film is identical, when playing certain collection film of this TV play first, terminal need to Server lookup decoding process, when playing other films in addition to this collection film of this TV play, terminal is just Need not to server lookup decoding process.
Before terminal uses client terminal playing new video, terminal first obtains the end message of himself, sends Comprise the decoding process query messages of this end message to server, new video to be carried out to server lookup The decoding process of decoding, after server receives this decoding process query messages, performs following steps 205.
Step 205: when receiving the decoding process query messages that terminal sends, believes according to the terminal of this terminal Breath and white list obtain the decoding process of this terminal.
Specifically, when receiving the decoding process query messages that terminal sends, disappear from the inquiry of this decoding process Breath extracts the end message of this terminal, it is judged that whether white list exists the end message of this terminal, if Exist, then the decoding process obtaining this terminal is hardware decoding process, if it does not exist, then obtain this terminal Decoding process be software decode mode.
Further, this decoding process query messages that storage receives.
Step 206: send this decoding process to terminal, make this terminal carry out video decoding according to this decoding process.
Terminal receives the decoding process that server sends, if this decoding process is hardware decoding process, then eventually End uses it decoding chip included new video to be carried out video decoding, if this decoding process is software decode Mode, then terminal uses it video decoding algorithm included that new video is carried out video decoding.
In embodiments of the present invention, when receiving the decoding process query messages that terminal sends, according to terminal End message and white list, obtain terminal decoding process, make terminal be decoded according to this decoding process, Such that it is able to avoid decoding terminals unsuccessfully to cause playing video;It addition, according to each decoding of historical reception The end message structure white list comprised in mode query messages so that the white list of structure all active users make With the end message of the higher terminal of frequency, the terminal that end message in white list is corresponding all uses hardware solution Code mode carries out video decoding, and the decoding effect of hardware decoding process is better than software decode mode, the most permissible Ensure that current main-stream terminal uses hardware decoding process to carry out video decoding, to obtain higher true code effect.
Embodiment 3
Seeing Fig. 3, the method embodiments providing the decoding of a kind of video, the executive agent of the present invention can Think that server, the method include:
Step 301: obtain the end message comprised in each decoding process query messages of historical reception.
Each user can install a client in its terminal used, and this client can be browser Or player etc..When the new video that user uses this client terminal playing never to play every time, this terminal reads The end message of oneself, sends and comprises the decoding process query messages of this end message to server.Server Receive and store this decoding process query messages, determine decoding process according to this end message and be sent to this end End.According to this decoding process, this terminal determines that new video is decoded by the decoding chip using self, or Use the video decoding algorithm self stored that new video is decoded.
The each decoding process query messages stored in server is each decoding process of Server history reception and looks into Ask message, so this step can be to obtain each decoding process query messages of storage in server.
The end message of terminal at least includes model information and the operating system version information of terminal.The machine of terminal Type information can be the model of terminal, and the operating system version information of terminal can be the behaviour that terminal is currently installed on Make the version number of system.
Step 302: add up every kind of number corresponding to end message in each end message obtained, selects number Maximum default value end message also forms information aggregate.
Owing to when user plays new video every time, terminal just sends the decoding process comprising its end message and looks into Ask message, so number corresponding to certain end message is that the terminal that this end message is corresponding is used by each user Number of times, the terminal that each end message in such information aggregate is corresponding is all maximum when be used by a user frequency Terminal.
Step 303: obtain the decoding chip model of terminal corresponding to each end message in information aggregate.
Specifically, the model information included according to each end message in information aggregate, from default website Inquire about the decoding chip model of terminal corresponding to each end message.
Preset website is included in and currently listed the model information of various terminals, the operation that maybe will list The information such as system version information, decoding chip model and Time To Market information.Such as, terminal can be mobile phone, Occur a lot of website to include currently at present and listed and the model information of various mobile phones that will list, behaviour Make system version information, decoding chip model and Time To Market information etc., if Zhong Guan-cun mobile phone is exactly this online Planting website, default website is a website in these websites or multiple website.
Step 304: remove the whole information that decoding chip model is the terminal presetting model from information aggregate.
The decoding chip that presently, there are has multiple, the most twenties kinds, the solution that every kind of decoding chip is supported Code complexity is different, for each decoding chip, when video being decoded by this decoding chip, if The decoding complex degree that this decoding chip is supported is the highest, and the video using this decoding chip to be successfully decoded out is the most, If the decoding complex degree that this decoding chip is supported is the lowest, just use the video that this decoding chip is successfully decoded out The fewest.
The decoding complex degree that the various decoding chips occurred at present are supported is all it is known that presetting model can be decoding Complexity is less than the model of the decoding chip of predetermined threshold value.
Step 305: the terminal that each end message in information aggregate is corresponding is entered by default video collection Row test, obtains the decoding complex degree that each end message in information aggregate is corresponding.
The video collection preset includes the video of multiple different decoding complex degree.Technical staff is according to information collection Each end message in conjunction, purchases the terminal that each end message is corresponding respectively.Each end for buying End, this terminal uses hardware decoding process to be decoded each video in video collection respectively, obtains and solve Code successfully video, the decoding selecting maximum from the decoding complex degree that each video of successfully decoded is corresponding is multiple Miscellaneous degree, is defined as the decoding complex degree that the end message of this terminal is corresponding by the decoding complex degree of selection.
Wherein, terminal includes hardware decoding process and software decode mode, and hardware decoding process refers to terminal By it decoding chip included, video is decoded;Software decode mode refers to that terminal passes through what it included Video is decoded by video decoding algorithm.
Video in the video collection preset is that server obtains in advance, and its acquisition process can be following (1) To the step of (4), including:
(1): obtain the decoding complex degree of each video that video website includes, include from website each regards The video that decoding complex degree is maximum is selected in Pin.
Specifically, obtaining the video parameter of each video from video website, the video parameter of video can be wrapped Include the configuration information of this video, resolution, reference frame, the length of video pictures and width and frame per second etc.;According to The video parameter of each video calculates the decoding complex degree of each video, from each video that website includes Select the video that decoding complex degree is maximum.The video of decoding complex degree maximum may be one or more.
For obtaining the operation of the video parameter of each video from video website, Ke Yiwei:
From video website, the video literary composition of each video that video website includes is crawled by web crawlers technology Part, extracts the video parameter of each video from the video file of each video respectively.
(2): from the video selected, intercept video pictures meet one section of video of default picture condition.
A duration scope can also be pre-set, in the range of the duration of the video of intercepting is positioned at this duration.
Preset picture condition and can include preferably only having under Same Scene two human dialog, and can be clearly visible Personage's shape of the mouth as one speaks, talks with for Chinese, the captions of dialogue to be had in film, and speed of speaking about normally is spoken speed Rate, to comprise different scenes in one section of film, such as, have indoor, outdoor, scenery with hills and waters, walking Etc., but picture color to enrich can not be too fancy, it is impossible to be that certain is monochromatic, the figure of scene marginal area As field color to have certain striped.
(3): the video conversion of intercepting is become the video of multiple different decoding complex degree, each video of conversion The decoding complex degree of video that both less than intercepts of decoding complex degree.
For example, it is assumed that the decoding complex degree selecting the video of decoding complex degree maximum is 9, so the video intercepted Decoding complex degree be also 9, the video of intercepting is converted into respectively video that decoding complex degree is 8, is 7 Video, be 6 video, be 5 video, be 4 video, be 3 video, be 2 video and It it is the video of 1.
(4): the video of intercepting and each video being converted to are formed video collection.
Such as, will intercept video, the video that the decoding complex degree changed is 8, the video into 7, into 6 Video, be 5 video, be 4 video, be 3 video, be 2 video and be 1 video Composition video collection.
Step 306: select decoding complex degree to exceed the end message of predetermined threshold value from information aggregate, will select End message composition white list.
Wherein, each end message in white list is to use hardware decoding process to solve video The end message of the terminal of code.
Wherein, the decoding complex degree of the most of video in video website is all located at a decoding complex degree scope In, decoding complex degree is less than the video of the lower limit of this decoding complex degree scope or higher than this decoding complex degree model The video of the higher limit enclosed is little.In this step, predetermined threshold value can be more than or equal to this decoding complex degree The higher limit of scope, so the terminal that decoding complex degree exceedes predetermined threshold value can be successfully to video website In most video be decoded, such that it is able to by select terminal end message composition white list.
Wherein, the decoding complex degree supported due to decoding chip is less than predetermined threshold value, including this decoding chip The decoding complex degree of terminal support is likely to less than predetermined threshold value, so in step 304 by decoding complex degree Being defined as presetting model less than the model of the decoding chip of predetermined threshold value, removing decoding chip model is preset type Number the whole information of terminal, it is possible to reduce the quantity of test terminal, improve efficiency.
Further, in embodiments of the present invention, it is also possible to obtain from current recently and time a length of preset duration Time period, from default website obtain Time To Market information within this time period and decoding chip model is for removing The end message of the terminal beyond default model, adds the end message of acquisition to white list.
Wherein, default model is the model that decoding complex degree is less than the decoding chip of predetermined threshold value, so decoding Chip model is that the decoding complex degree of the decoding chip support in the terminal in addition to presetting model is more than or equal to Predetermined threshold value so that decoding chip model is that the decoding complex degree that the terminal in addition to presetting model is supported also may be used Can be more than or equal to predetermined threshold value, it is possible to be the terminal in addition to default model by decoding chip model End message adds in white list.
For any user, this user can use the client terminal playing new video installed in its terminal, newly regards Frequency is film, film and the TV play etc. that this terminal was not play, it should be noted that due to TV play The decoding complex degree of each collection film is identical, when playing certain collection film of this TV play first, terminal need to Server lookup decoding process, when playing other films in addition to this collection film of this TV play, terminal is just Need not to server lookup decoding process.
Before terminal uses client terminal playing new video, terminal first obtains the end message of himself, sends Comprise the decoding process query messages of this end message to server, new video to be carried out to server lookup The decoding process of decoding, after server receives this decoding process query messages, performs following steps 307.
Step 307: when receiving the decoding process query messages that terminal sends, believes according to the terminal of this terminal Breath and white list obtain the decoding process of this terminal.
Specifically, when receiving the decoding process query messages that terminal sends, disappear from the inquiry of this decoding process Breath extracts the end message of this terminal, it is judged that whether white list exists the end message of this terminal, if Exist, then the decoding process obtaining this terminal is hardware decoding process, if it does not exist, then obtain this terminal Decoding process be software decode mode.
Further, this decoding process query messages that storage receives.
Step 308: send this decoding process to terminal, make this terminal carry out video decoding according to this decoding process.
Terminal receives the decoding process that server sends, if this decoding process is hardware decoding process, then eventually End uses it decoding chip included new video to be carried out video decoding, if this decoding process is software decode Mode, then terminal uses it video decoding algorithm included that new video is carried out video decoding.
In embodiments of the present invention, when receiving the decoding process query messages that terminal sends, according to terminal End message and white list, obtain terminal decoding process, make terminal be decoded according to this decoding process, Such that it is able to avoid decoding terminals unsuccessfully to cause playing video;It addition, according to each decoding of historical reception The end message structure white list comprised in mode query messages so that the white list of structure all active users make With the end message of the higher terminal of frequency, the terminal that end message in white list is corresponding all uses hardware solution Code mode carries out video decoding, and the decoding effect of hardware decoding process is better than software decode mode, the most permissible Ensure that current main-stream terminal uses hardware decoding process to carry out video decoding, to obtain higher true code effect.
Embodiment 4
See Fig. 4, embodiments provide the device of a kind of video decoding, including:
First acquisition module 401, for obtaining the terminal comprised in each decoding process query messages of historical reception Information;
Constructing module 402, for according to the end message structure white list obtained, this white list includes adopting With the end message of the terminal that video is decoded by hardware decoding process;
Second acquisition module 403, for when receiving the decoding process query messages that terminal sends, according to end The end message of end and white list, obtain the decoding process of terminal;
Sending module 404, is used for sending this decoding process to terminal, makes terminal regard according to this decoding process Frequency decoding.
Optionally, constructing module 402 includes:
Statistic unit, for adding up the number of every kind of end message in the end message obtained;
Acquiring unit, for obtaining maximum default value the end message of number and forming information aggregate;
Test cell, for corresponding to each end message in this information aggregate by default video collection Terminal carries out testing the decoding complex degree that each end message obtaining in this information aggregate is corresponding, this video collection Video including multiple different decoding complex degrees;
Select unit, for selecting decoding complex degree to exceed the end message of predetermined threshold value, the terminal that will select Information composition white list.
Further, this device also includes:
Remove module, for obtaining the decoding chip of terminal corresponding to each end message in this information aggregate Model, removes the end message that decoding chip model is the terminal presetting model, then from this information aggregate Perform by default video collection, the terminal that each end message in this information aggregate is corresponding to be tested The operation of the decoding complex degree that each end message in this information aggregate is corresponding.
Further, this device also includes:
3rd acquisition module, for obtaining from video website, decoding complex degree is maximum and video pictures meets pre- If the video of picture condition;
Shift module, is used for the video that the video conversion of acquisition is multiple different decoding complex degree, and conversion The decoding complex degree of each video be both less than the decoding complex degree of described video;
Comprising modules, for each video composition video collection of the video that will obtain and conversion.
Further, this device also includes:
Add module, for obtain from current recently and time a length of preset duration time period, from default website Middle acquisition Time To Market information is in this time period and decoding chip model is except presetting the terminal in addition to model End message, adds the end message of acquisition to white list.
In embodiments of the present invention, when receiving the decoding process query messages that terminal sends, according to terminal End message and white list, obtain terminal decoding process, make terminal be decoded according to this decoding process, Such that it is able to avoid decoding terminals unsuccessfully to cause playing video;It addition, according to each decoding of historical reception The end message structure white list comprised in mode query messages so that the white list of structure all active users make With the end message of the higher terminal of frequency, the terminal that end message in white list is corresponding all uses hardware solution Code mode carries out video decoding, and the decoding effect of hardware decoding process is better than software decode mode, the most permissible Ensure that current main-stream terminal uses hardware decoding process to carry out video decoding, to obtain higher true code effect.
Embodiment 5
Fig. 5 is the structural representation of the server that the embodiment of the present invention provides.Server 1900 can because of configuration or Performance is different and produces bigger difference, can include one or more central processing units (central Processing units, CPU) 1922 (such as, one or more processors) and memorizeies 1932, The storage medium 1930 of one or more storage application programs 1942 or data 1944 (such as one or More than one mass memory unit).Wherein, memorizer 1932 and storage medium 1930 can be of short duration storages Or persistently store.The program being stored in storage medium 1930 can include one or more modules (diagram Do not mark), each module can include a series of command operatings in server.Further, central authorities Processor 1922 could be arranged to communicate with storage medium 1930, performs storage medium on server 1900 A series of command operatings in 1930.
Server 1900 can also include one or more power supplys 1926, one or more wired or Radio network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Server 1900 can include memorizer, and one or more than one program, one of them Or more than one program is stored in memorizer, and it is configured to be held by one or more than one processor Row one or more than one program comprise the instruction for carrying out following operation:
Obtain the end message comprised in each decoding process query messages of historical reception;
End message structure white list according to described acquisition, described white list includes using hardware to decode The end message of the terminal that video is decoded by mode;
When receiving the decoding process query messages that terminal sends, according to end message and the institute of described terminal State white list, obtain the decoding process of described terminal;
Send described decoding process to described terminal, make described terminal carry out video solution according to described decoding process Code.
Optionally, the described end message according to described acquisition constructs white list, including:
The number of every kind of end message is added up in the end message of described acquisition;
Obtain maximum default value the end message of number and form information aggregate;
By default video collection, the terminal that each end message in described information aggregate is corresponding is tested Obtaining the decoding complex degree that each end message in described information aggregate is corresponding, described video collection includes multiple The video of different decoding complex degrees;
Select decoding complex degree to exceed the end message of predetermined threshold value, the end message of described selection is formed white List.
Further, described corresponding to each end message in described information aggregate by default video collection Terminal carry out testing the decoding complex degree that each end message obtaining in described information aggregate is corresponding before, also Including:
Obtain the decoding chip model of terminal corresponding to each end message in described information aggregate, from described Information aggregate is removed the end message that decoding chip model is the terminal presetting model, then performs described logical Cross the video collection preset the terminal that each end message in described information aggregate is corresponding is carried out test to obtain institute State the operation of decoding complex degree corresponding to each end message in information aggregate.
Further, before the described end message according to described acquisition constructs white list, also include:
From video website, acquisition decoding complex degree maximum and video pictures meet the video of default picture condition;
By the video that described video conversion is multiple different decoding complex degree, and the decoding of each video of conversion Complexity is both less than the decoding complex degree of described video;
Each video of described video and described conversion is formed video collection.
Further, before the terminal that the described white list of described transmission uses to described each user, also include:
Obtain from current recently and time a length of preset duration time period, from default website, obtain Time To Market Information, will in the described time period and decoding chip model is except the end message of the terminal preset in addition to model The end message of described acquisition adds described white list to.
In embodiments of the present invention, when receiving the decoding process query messages that terminal sends, according to terminal End message and white list, obtain terminal decoding process, make terminal be decoded according to this decoding process, Such that it is able to avoid decoding terminals unsuccessfully to cause playing video;It addition, according to each decoding of historical reception The end message structure white list comprised in mode query messages so that the white list of structure all active users make With the end message of the higher terminal of frequency, the terminal that end message in white list is corresponding all uses hardware solution Code mode carries out video decoding, and the decoding effect of hardware decoding process is better than software decode mode, the most permissible Ensure that current main-stream terminal uses hardware decoding process to carry out video decoding, to obtain higher true code effect.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through Hardware completes, it is also possible to instructing relevant hardware by program and complete, described program can be stored in In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's Within spirit and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's Within protection domain.

Claims (10)

1. the method for a video decoding, it is characterised in that described method includes:
Obtain the end message comprised in each decoding process query messages of historical reception;
End message structure white list according to described acquisition, described white list includes using hardware to decode The end message of the terminal that video is decoded by mode;
When receiving the decoding process query messages that terminal sends, according to end message and the institute of described terminal State white list, obtain the decoding process of described terminal;
Send described decoding process to described terminal, make described terminal carry out video solution according to described decoding process Code.
2. the method for claim 1, it is characterised in that the described end message according to described acquisition Structure white list, including:
The number of every kind of end message is added up in the end message of described acquisition;
Obtain maximum default value the end message of number and form information aggregate;
By default video collection, the terminal that each end message in described information aggregate is corresponding is tested Obtaining the decoding complex degree that each end message in described information aggregate is corresponding, described video collection includes multiple The video of different decoding complex degrees;
Select decoding complex degree to exceed the end message of predetermined threshold value, the end message of described selection is formed white List.
3. method as claimed in claim 2, it is characterised in that described by default video collection to institute State terminal corresponding to each end message in information aggregate to carry out testing each terminal obtaining in described information aggregate Before the decoding complex degree that information is corresponding, also include:
Obtain the decoding chip model of terminal corresponding to each end message in described information aggregate, from described Information aggregate is removed the end message that decoding chip model is the terminal presetting model, then performs described logical Cross the video collection preset the terminal that each end message in described information aggregate is corresponding is carried out test to obtain institute State the operation of decoding complex degree corresponding to each end message in information aggregate.
4. method as claimed in claim 1 or 2, it is characterised in that the described terminal according to described acquisition Before information structuring white list, also include:
From video website, acquisition decoding complex degree maximum and video pictures meet the video of default picture condition;
By the video that described video conversion is multiple different decoding complex degree, and the decoding of each video of conversion Complexity is both less than the decoding complex degree of described video;
Each video of described video and described conversion is formed video collection.
5. the method as described in claims 1 to 3 any one claim, it is characterised in that described transmission Before described white list gives the terminal that described each user uses, also include:
Obtain from current recently and time a length of preset duration time period, from default website, obtain Time To Market Information, will in the described time period and decoding chip model is except the end message of the terminal preset in addition to model The end message of described acquisition adds described white list to.
6. the device of a video decoding, it is characterised in that described device includes:
First acquisition module, for obtaining the terminal letter comprised in each decoding process query messages of historical reception Breath;
Constructing module, constructs white list for the end message according to described acquisition, and described white list includes energy Enough end messages of the terminal that video is decoded by employing hardware decoding process;
Second acquisition module, for when receiving the decoding process query messages that terminal sends, according to described The end message of terminal and described white list, obtain the decoding process of described terminal;
Sending module, is used for sending described decoding process to described terminal, makes described terminal according to described decoding Mode carries out video decoding.
7. device as claimed in claim 6, it is characterised in that described constructing module includes:
Statistic unit, for adding up the number of every kind of end message in the end message of described acquisition;
Acquiring unit, for obtaining maximum default value the end message of number and forming information aggregate;
Test cell, for corresponding to each end message in described information aggregate by default video collection Terminal carry out testing the decoding complex degree that each end message obtaining in described information aggregate is corresponding, described regard Frequency set includes the video of multiple different decoding complex degree;
Select unit, for selecting decoding complex degree to exceed the end message of predetermined threshold value, by described selection End message composition white list.
8. device as claimed in claim 7, it is characterised in that described device also includes:
Remove module, for obtaining the decoding core of terminal corresponding to each end message in described information aggregate Sheet model, removes the end message that decoding chip model is the terminal presetting model from described information aggregate, Then the described terminal corresponding to each end message in described information aggregate by the video collection preset is performed Carry out testing the operation of decoding complex degree corresponding to each end message obtaining in described information aggregate.
Device the most as claimed in claims 6 or 7, it is characterised in that described device also includes:
3rd acquisition module, for obtaining from video website, decoding complex degree is maximum and video pictures meets pre- If the video of picture condition;
Shift module, for by the video that described video conversion is multiple different decoding complex degree, and conversion The decoding complex degree of each video is both less than the decoding complex degree of described video;
Comprising modules, for forming video collection by each video of described video and described conversion.
10. the device as described in claim 6 to 8 any one claim, it is characterised in that described dress Put and also include:
Add module, for obtain from current recently and time a length of preset duration time period, from default website Middle acquisition Time To Market information is in the described time period and decoding chip model is except presetting the terminal in addition to model End message, add the end message of described acquisition to described white list.
CN201510046323.9A 2015-01-29 2015-01-29 video decoding method and device Active CN105992055B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510046323.9A CN105992055B (en) 2015-01-29 2015-01-29 video decoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510046323.9A CN105992055B (en) 2015-01-29 2015-01-29 video decoding method and device

Publications (2)

Publication Number Publication Date
CN105992055A true CN105992055A (en) 2016-10-05
CN105992055B CN105992055B (en) 2019-12-10

Family

ID=57035704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510046323.9A Active CN105992055B (en) 2015-01-29 2015-01-29 video decoding method and device

Country Status (1)

Country Link
CN (1) CN105992055B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108134956A (en) * 2016-12-01 2018-06-08 腾讯科技(深圳)有限公司 A kind of update method, terminal and the system of hard solution adaptation white list
CN110139104A (en) * 2018-02-09 2019-08-16 腾讯科技(深圳)有限公司 Video encoding/decoding method, device, computer equipment and storage medium
CN110858920A (en) * 2018-08-23 2020-03-03 武汉斗鱼网络科技有限公司 Video decoding method, mobile terminal, server, system and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025994A (en) * 2010-12-16 2011-04-20 深圳市融创天下科技发展有限公司 Coding method, coding device and coding and decoding system based on adaptive decoding complexity as well as equipment comprising coding and decoding system
KR20120000942A (en) * 2010-06-28 2012-01-04 주식회사 케이티 Bot-infected host detection apparatus and method based on blacklist access statistics
CN102572364A (en) * 2010-12-15 2012-07-11 中兴通讯股份有限公司 Decoding method and device for video communication data
CN102761736A (en) * 2011-04-29 2012-10-31 腾讯科技(深圳)有限公司 Video decoding method and device
CN102802138A (en) * 2011-05-25 2012-11-28 腾讯科技(深圳)有限公司 Video file processing method and system, and video proxy system
CN103339959A (en) * 2011-01-19 2013-10-02 高通股份有限公司 Dynamic video switching

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120000942A (en) * 2010-06-28 2012-01-04 주식회사 케이티 Bot-infected host detection apparatus and method based on blacklist access statistics
CN102572364A (en) * 2010-12-15 2012-07-11 中兴通讯股份有限公司 Decoding method and device for video communication data
CN102025994A (en) * 2010-12-16 2011-04-20 深圳市融创天下科技发展有限公司 Coding method, coding device and coding and decoding system based on adaptive decoding complexity as well as equipment comprising coding and decoding system
CN103339959A (en) * 2011-01-19 2013-10-02 高通股份有限公司 Dynamic video switching
CN102761736A (en) * 2011-04-29 2012-10-31 腾讯科技(深圳)有限公司 Video decoding method and device
CN102802138A (en) * 2011-05-25 2012-11-28 腾讯科技(深圳)有限公司 Video file processing method and system, and video proxy system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108134956A (en) * 2016-12-01 2018-06-08 腾讯科技(深圳)有限公司 A kind of update method, terminal and the system of hard solution adaptation white list
CN110139104A (en) * 2018-02-09 2019-08-16 腾讯科技(深圳)有限公司 Video encoding/decoding method, device, computer equipment and storage medium
CN110139104B (en) * 2018-02-09 2023-02-28 腾讯科技(深圳)有限公司 Video decoding method, video decoding device, computer equipment and storage medium
CN110858920A (en) * 2018-08-23 2020-03-03 武汉斗鱼网络科技有限公司 Video decoding method, mobile terminal, server, system and storage medium

Also Published As

Publication number Publication date
CN105992055B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN113038287B (en) Method and device for realizing multi-user video live broadcast service and computer equipment
Laghari et al. Quality of experience (QoE) in cloud gaming models: A review
CN108721898B (en) Frame rate determination method and apparatus, storage medium, and electronic apparatus
Cai et al. Toward gaming as a service
CN105450642B (en) It is a kind of based on the data processing method being broadcast live online, relevant apparatus and system
CN105791977B (en) Virtual reality data processing method, equipment and system based on cloud service
US9814979B2 (en) Data provision system, provision apparatus, execution apparatus, control method, and recording medium
WO2017113940A1 (en) Method, apparatus and electronic device for testing network speed
US20170302721A1 (en) Cloud streaming service system, cloud streaming service method using optimal GPU, and apparatus for same
JP6314252B2 (en) Network video playback method and apparatus
US20220226736A1 (en) Selection of virtual server for smart cloud gaming application from multiple cloud providers based on user parameters
CN110876078B (en) Animation picture processing method and device, storage medium and processor
Hosseini et al. Energy-budget-compliant adaptive 3D texture streaming in mobile games
CN105992055A (en) Video decoding method and device
CN115089966B (en) Video rendering method, system and related equipment applied to cloud game
CN107766307A (en) A kind of method and apparatus of Form Element linkage
CN108235075A (en) Video quality grade matching process, computer readable storage medium and terminal
CN106807089A (en) Game data processing method and device
CN110191351A (en) Stage property distribution method, readable storage medium storing program for executing and computer equipment is broadcast live
CN106533916A (en) Live broadcast message display method and device
CN111475240B (en) Data processing method and system
CN110286954A (en) A kind of the starting method, apparatus and storage medium of application program
CN112689187A (en) Video processing method and device, electronic equipment and storage medium
CN109640148A (en) A kind of method and device by text box text exhibition content
CN114945097B (en) Video stream processing method and device

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