CN103491393B - A kind of video traffic processing method and equipment - Google Patents

A kind of video traffic processing method and equipment Download PDF

Info

Publication number
CN103491393B
CN103491393B CN201310436967.XA CN201310436967A CN103491393B CN 103491393 B CN103491393 B CN 103491393B CN 201310436967 A CN201310436967 A CN 201310436967A CN 103491393 B CN103491393 B CN 103491393B
Authority
CN
China
Prior art keywords
video file
video
file
user terminal
characteristic values
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.)
Active
Application number
CN201310436967.XA
Other languages
Chinese (zh)
Other versions
CN103491393A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310436967.XA priority Critical patent/CN103491393B/en
Publication of CN103491393A publication Critical patent/CN103491393A/en
Application granted granted Critical
Publication of CN103491393B publication Critical patent/CN103491393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of video traffic processing method and equipment, it is determined by the content characteristic values of each video file of local cache, and each video file identical from the content characteristic values of the video file asked with user terminal of local cache, selecting video quality meets the video file imposed a condition and returns to user terminal, thus on the basis of expanding video file selectable range, decrease transcoding operation to a certain extent, reached save system resource and improve the effect of video traffic treatment effeciency;And, due in each video file that the content characteristic values at the video file asked with user terminal is identical, there may be the higher video file of video quality quality of the video file asked than user terminal, and hence it is also possible to reach to promote the purpose of the treatment effect of original video files quality, raising video traffic.

Description

A kind of video traffic processing method and equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of video traffic processing method and equipment.
Background technology
In order to solve Internet bandwidth deficiency and the flow wave that ever-increasing network video service is brought The problem such as taking, industry generally uses video optimized system to carry out the process of network video service, wherein, described Video optimized system may generally reside in UE(User Equipment, user terminal) and SP(Service Provider, service provider) between server, by the hot video resource in buffer unit subnetwork, With reach promote video response speed, reduce SP server process pressure and reduce video optimized system with The purpose of the network traffics between SP server.
Specifically, when the process using above-mentioned video optimized system to carry out video traffic, the video of its correspondence Business processing flow can be:
Receive the video access request that user terminal is initiated, and ask with this video access determining that local cache has During the first video file that the video file asking asked matches, according to the video required for this user terminal Document quality, carries out transcoding, and the video file after transcoding returns to this user eventually the first video file End;And, determine local uncached have the first video file time, at SP server, obtain first regard Frequency file, and according to the video file quality required for this user terminal, to the first acquired video file Carry out transcoding, and the video file after transcoding is returned to this user terminal.
Wherein, owing to transcoding operation relates to the encoding and decoding calculating process of large amount of complex, therefore, it will one Determine to expend the calculating resource of system in degree, strengthen the burden of system, and and then cause video traffic to process effect The reduction of rate;Further, owing to when each video file is carried out transcoding, being only capable of obtaining and this video file The transcoded video file that identical or than this video file the video quality of video quality is lower, therefore, works as user Video file quality required for terminal is higher, and determined by the video quality of the first video file relatively low Time, no matter to the first video file how transcoding, all cannot obtain with user terminal required for video file The video file that quality matches, therefore, it will greatly reduce video traffic treatment effect, affect user Video traffic experience.
Summary of the invention
Embodiments provide a kind of video traffic processing method and equipment, with turning that solution presently, there are Code operating resource expend maybe cannot promote relatively greatly video traffic treatment effect that original video quality caused and The problem that treatment effeciency is poor.
First aspect, it is provided that a kind of video traffic processing method, including:
Determine the content characteristic values of each video file of local cache, wherein, described content characteristic values and video The content plot of file is correlated with;
Receive the video access request that user terminal sends, and determining that local cache has and described video access The first video file that the video file asked matches, and be cached with and described first video file Content characteristic values identical at least one second video file time, from include described first video file and Described at least one second video file is in interior video file, and selecting video quality meets and imposes a condition Video file, and selected video file is returned to described user terminal.
In conjunction with first aspect, in the first possible implementation of first aspect, described method also includes:
If it is determined that local cache has first that the video file asked with described video access matches Video file, and uncached have identical with the content characteristic values of described first video file the second video literary composition Part, then return to described user terminal by described first video file of local cache.
In conjunction with the first possible implementation of first aspect or first aspect, at the second of first aspect In possible implementation, described method also includes:
If it is determined that local uncached have that the video file asked with described video access matches the One video file, then obtain described first video file at server, and determine and get at server The content characteristic values of described first video file;And, however, it is determined that local cache has and obtains with at server At least one the 3rd video file that the content characteristic values of described first video file got is identical, then from bag Include described first video file got at server and at least one the 3rd video file described exists In interior video file, selecting video quality meets the video file imposed a condition, and by selected video File returns to described user terminal.
In conjunction with the implementation that the second of first aspect is possible, in the third possible realization of first aspect In mode, described method also includes:
If it is determined that local uncached have that the video file asked with described video access matches the One video file, and the content characteristic of uncached described first video file having and get at server It is worth at least one identical the 3rd video file, then described first video file that will get at server Return to described user terminal.
In conjunction with first aspect, the implementation that the first of first aspect is possible, at the 4th kind of first aspect In possible implementation, determine the content characteristic values of each video file of local cache, including:
Each video file of local cache is resolved, and according to the intelligence sample rule set, to parsing After each video file carry out intelligence sample, obtain multiple sampling point informations of each video file;
For arbitrary video file, multiple sampling point informations of described video file are decoded, and according to Decoded multiple sampling point information and total duration of described video file, determine the interior of described video file Hold eigenvalue.
Second aspect, it is provided that a kind of video traffic processing equipment, including:
Eigenvalue determines module, for determining the content characteristic values of each video file of local cache, wherein, Described content characteristic values is relevant to the content plot of video file;
Request receiver module, for receiving the video access request that user terminal sends;
Video chooses module, for determining that local cache has the video asked with described video access The first video file that file matches, and it is cached with identical with the content characteristic values of described first video file At least one second video file time, from include described first video file and described at least one second Video file is in interior video file, and selecting video quality meets the video file imposed a condition, and by institute The video file chosen returns to described user terminal.
In conjunction with second aspect, in the first possible implementation of second aspect, described video chooses mould Block, is additionally operable to determining that local cache has the video file asked with described video access to match First video file, and uncached have second video identical with the content characteristic values of described first video file During file, described first video file of local cache is returned to described user terminal.
In conjunction with the first possible implementation of second aspect or second aspect, at the second of second aspect In possible implementation, described video traffic processing equipment also includes video acquiring module:
Described video acquiring module, for described video choose module determine local uncached have regard with described During the first video file that the video file that access request is asked frequently matches, obtain described at server First video file;
Described eigenvalue determines module, is additionally operable to determine what described video acquiring module got at server The content characteristic values of the first video file;
Described video chooses module, be additionally operable to determine local uncached have asked with described video access The first video file that the video file asked matches, and be cached with and described got at server During identical at least one three video file of the content characteristic values of one video file, from including at server Described first video file got and at least one the 3rd video file described are at interior video file In, selecting video quality meets the video file imposed a condition, and selected video file is returned to institute State user terminal.
In conjunction with the implementation that the second of second aspect is possible, in the third possible realization of second aspect In mode, described video chooses module, be additionally operable to determine local uncached have ask with described video access The first video file that the video file asked matches, and uncached have and get at server During identical at least one three video file of the content characteristic values of described first video file, will be from server Described first video file that place gets returns to described user terminal.
In conjunction with the first possible implementation of second aspect or second aspect, at the 4th kind of second aspect In possible implementation, described eigenvalue determines module, specifically for each video file to local cache Resolve, and according to the intelligence sample rule set, each video file after resolving carried out intelligence sample, Obtain multiple sampling point informations of each video file, and, for arbitrary video file, to described video literary composition Multiple sampling point informations of part are decoded, and according to decoded multiple sampling point informations and described video Total duration of file, determines the content characteristic values of described video file.
The video traffic processing method provided according to embodiments of the present invention and equipment, be determined by local cache The content characteristic values of each video file, and in the video file asked with user terminal of local cache Holding in each video file that eigenvalue is identical, selecting video quality meets the video file imposed a condition and returns to User terminal, thus on the basis of expanding video file selectable range, decrease to a certain extent Transcoding operation, has reached save system resource and improve the effect of video traffic treatment effeciency;Further, due to In each video file that the content characteristic values of the video file asked with user terminal is identical, it is understood that there may be The ratio higher video file of video quality quality of the video file that user terminal is asked, and hence it is also possible to Reach to promote the purpose of the treatment effect of original video files quality, raising video traffic.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below The accompanying drawing used is needed to briefly introduce, it should be apparent that, the accompanying drawing in describing below is only the present invention's Some embodiments, from the point of view of those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 show the schematic flow sheet one of video traffic processing method described in the embodiment of the present invention one;
Fig. 2 show the schematic flow sheet two of video traffic processing method described in the embodiment of the present invention one;
Fig. 3 show the schematic flow sheet of video traffic processing method described in the embodiment of the present invention three;
Fig. 4 show the structural representation of video traffic processing equipment described in the embodiment of the present invention four;
Fig. 5 show the structural representation of video traffic processing equipment described in the embodiment of the present invention five.
Detailed description of the invention
Embodiments provide a kind of video traffic processing method and equipment, by identifying each video file Only relevant to content plot content characteristic values, will be provided with identical content plot but possess different encapsulation lattice Multiple video files of the information characteristics such as formula, different code encoding/decoding mode, different resolution or different code checks are carried out Association, thus subsequently received user terminal video access ask time, can from local cache with described In at least one video file that the content characteristic values of the video file that user terminal is asked is identical, choose and regard Frequently quality meets the video file imposed a condition and returns to described user terminal, thus expands video file Selectable range, and decrease transcoding operation to a certain extent, reach saving system resource and raising The purpose of video traffic treatment effeciency;Further, due to the content at the video file asked with user terminal In each video file that eigenvalue is identical, it is understood that there may be than the video matter of the video file that user terminal is asked The amount higher video file of quality, and hence it is also possible to reach to promote original video files quality, improve video The purpose of the treatment effect of business.
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to this Bright it is described in further detail, it is clear that described embodiment is only a part of embodiment of the present invention, Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out all other embodiments obtained under creative work premise, broadly fall into the scope of protection of the invention.
Embodiment one:
As it is shown in figure 1, it is the schematic flow sheet of video traffic processing method described in the embodiment of the present invention one, Described video traffic processing method can comprise the following steps that
Step 101: determining the content characteristic values of each video file of local cache, wherein, described content is special Value indicative is relevant to the content plot of video file.
Specifically, in embodiment of the present invention, for arbitrary video file of local cache, can use The content characteristic values of the in the following manner described video file of acquisition:
The described video file of local cache is resolved, and according to the intelligence sample rule set (as often Carrying out primary information sampling every the total duration of 1/N video, described N is the positive integer more than 1), after resolving Video file carry out intelligence sample, obtain multiple sampling point informations of described video file;
Multiple sampling point informations of described video file are decoded, and according to decoded multiple sampled points Information and total duration of described video file, determine the content characteristic values of described video file.
Specifically, due to the arbitrary video file for local cache, the content of this obtained video file The decoded video file being the N number of setting duration position with this video file with eigenvalue is sampled The eigenvalue that total duration of dot information and this video file is relevant, and for arbitrary video literary composition of local cache Part, this video file N number of set the decoded video file sampling point information of duration position as with institute State the information that the content plot of video file is relevant, thus, final determined by the content of arbitrary video file Eigenvalue is the eigenvalue relevant to the content plot of this video file.
It should be noted that in embodiment of the present invention, except using aforesaid way to determine each video literary composition Outside the content characteristic values of part, it is also possible to adopt the content characteristic values determining each video file in other ways, this This is not limited in any way by inventive embodiments.
It is further to note that in embodiment of the present invention, this step 101 is by user terminal Obtaining and the operating procedure returned before operation of the video file asked, is not to carry out video industry every time Business is required to the step performed when processing, say, that performing content characteristic values described in this step 101 Determination operation after, can be repeated several times and perform the acquisition of video file that following user terminal asked and return Return operation.
Step 102: receive the video access request that user terminal sends.
Specifically, due in the prior art, the most videos in network are all based on HTTP(Hyper Text Transfer Protocol, HTML (Hypertext Markup Language)) program request or live video, therefore, in this step In 102, each user terminal generally can be sent out in the way of using transmission HTTP request commonly used in the prior art Sending described video access to ask, this is no longer repeated by the embodiment of the present invention.
Step 103: determining that local cache has the video file phase asked with described video access The first video file joined, and it is cached with identical with the content characteristic values of described first video file at least one During individual second video file, from including described first video file and at least one second video file described In interior video file, selecting video quality meets the video file imposed a condition, and is regarded by selected Frequency file returns to described user terminal.
Specifically, due to when carrying out the caching of video file, generally with the URL of this video file (Uniform Resource Locator, URL) as the cashing indication of its correspondence, therefore, In this step 103, local cache can be determined according to the URL carried in the video access request received In whether there is the first video file that the video file asked with described video access matches;When So, in embodiment of the present invention, it is also possible to adopt and determine whether local cache exists institute in other ways Stating the first video file, this is not limited in any way by the embodiment of the present invention.
Further, in embodiment of the present invention, from local cache include described first video literary composition Part and at least one second video file described are in interior video file, and selecting video quality meets setting During the video file of condition, generally can choose possessed video quality and be not higher than described user terminal and caned Support maximum video quality and be not less than the 4th of the current desired video file quality of described user terminal Video file.
Further, in order to reach to be promoted to the video matter of the video file that user terminal is provided as much as possible Amount, the effect experienced with the video traffic application further up to raising user, more preferably, slow from this locality The video file including described first video file and at least one second video file described deposited When middle selecting video quality meets the video file imposed a condition, also can be according to video quality from high to low suitable Each 4th video file selected by ordered pair is ranked up, and the 4th video that selecting video quality is the highest File returns to user terminal.
In embodiment of the present invention, due to can according to the content characteristic values of each video file determined, from In each video file that the content characteristic values of the video file asked with user terminal of local cache is identical, Selecting video quality meets the video file imposed a condition and returns to user terminal, thus, expanding video literary composition On the basis of part selectable range, can reach to a certain extent to reduce transcoding operation and then saving system money Source and the effect of raising video traffic treatment effeciency;Further, due at the video literary composition asked with user terminal In each video file that the content characteristic values of part is identical, it is understood that there may be the video file asked than user terminal The higher video file of video quality quality, therefore, also can reach lifting original video files quality, enter And improve the purpose of the treatment effect of video traffic.
Further, as in figure 2 it is shown, described video traffic processing method can also comprise the following steps:
Step 104: if it is determined that local cache has the video file phase asked with described video access The first video file joined, and uncached have second identical with the content characteristic values of described first video file Video file, then return to described user terminal by described first video file of local cache.
Specifically, when described first video file of local cache is returned to described user terminal, if really The video file quality determining described first video file current desired with described user terminal is not mated, also can root According to the video file quality that described user terminal is current desired, described first video file is carried out transcoding, and Video file after transcoding is returned to described user terminal.
Further, described video traffic processing method can also comprise the following steps:
Step 105: if it is determined that this locality is uncached the video file phase asked with described video access First video file of coupling, then obtain described first video file at server, and determine from server The content characteristic values of described first video file that place gets;And, however, it is determined that local cache has and from clothes At least one the 3rd video that the content characteristic values of described first video file got at business device is identical is civilian Part, then from include described first video file got at server and described at least one the 3rd regard Frequency file is in interior video file, and selecting video quality meets the video file imposed a condition, and by selected The video file taken returns to described user terminal.
Specifically, in this step 105, the choose mode identical with step 103 can be used from including from clothes Described first video file and at least one the 3rd video file described of getting at business device regard at interior In frequency file, selecting video quality meets the video file imposed a condition.
It is to say, from include described first video file that gets at server and described at least One the 3rd video file is in interior video file, and selecting video quality meets the video file imposed a condition Time, generally can choose possessed video quality and be not higher than the maximum video that described user terminal can be supported Quality and be not less than the 5th video file of the current desired video file quality of described user terminal;Further, In order to reach to be promoted to the video quality of the video file that user terminal is provided, to reach further as much as possible The effect experienced to the video traffic application improving user, more preferably, is getting from including at server Described first video file and at least one the 3rd video file described choose in interior video file When video quality meets the video file imposed a condition, also can be according to video quality order from high to low to institute Each 5th video file chosen is ranked up, and relative the 5th the highest video file of selecting video quality returns Back to user terminal.
It should be noted that in embodiment of the present invention, when determining that local cache has and at server During identical at least one three video file of the content characteristic values of the first video file downloaded to, can not be right Described first video file carries out caching, with reach minimizing repeat storage, and then promote video storage sky Between purpose.
Further, described video traffic processing method can also comprise the following steps:
Step 106: if it is determined that this locality is uncached the video file phase asked with described video access First video file of coupling, and uncached described first video file having and get at server At least one the 3rd video file that content characteristic values is identical, then described first will got at server Video file returns to described user terminal.
Specifically, described first video file got at server is being returned to described user terminal Time, however, it is determined that the described first video file video file quality current desired with described user terminal is not Join, also according to the current desired video file quality of described user terminal, described first video file can be entered Row transcoding, and the video file after transcoding is returned to described user terminal.
The embodiment of the present invention one provides a kind of video traffic processing method, by obtaining in each video file Hold eigenvalue, identify that Document encapsulation form, code encoding/decoding mode, resolution or the code check etc. of local cache are believed Breath feature also differs but content each video file with similar details, and is receiving what user terminal sent During video access request, from the content characteristic of the video file asked with described user terminal of local cache Being worth at least one identical video file, selecting video quality meets the video file imposed a condition and returns to Described user terminal, thus on the basis of the selectable range expanding video file, subtract to a certain extent Lack transcoding operation, reached save system resource and improve the purpose of video traffic treatment effeciency;Further, Due in each video file that the content characteristic values at the video file asked with user terminal is identical, possible There is the higher video file of video quality quality of the video file asked than user terminal, therefore, also Can reach to promote the purpose of the treatment effect of original video files quality, raising video traffic.
Embodiment two:
The embodiment of the present invention two is to video traffic processing method described in the embodiment of the present invention one specifically Bright, as it is shown on figure 3, it is the schematic flow sheet of video traffic processing method described in the embodiment of the present invention two, Described video traffic processing method can comprise the following steps that
Step 201: determining the content characteristic values of each video file of local cache, wherein, described content is special Value indicative is relevant to the content plot of video file.
Specifically, in embodiment of the present invention, for arbitrary video file of local cache, can use The content characteristic values of the in the following manner described video file of acquisition:
The described video file of local cache is resolved, and according to the intelligence sample rule set (as often Carrying out primary information sampling every the total duration of 1/N video, described N is the positive integer more than 1), after resolving Video file carry out intelligence sample, obtain multiple sampling point informations of described video file;
Multiple sampling point informations of described video file are decoded, and according to decoded multiple sampled points Information and total duration of described video file, determine the content characteristic values of described video file.
It should be noted that in embodiment of the present invention, except using aforesaid way to determine each video literary composition Outside the content characteristic values of part, it is also possible to adopt the content characteristic values determining each video file in other ways, this This is not limited in any way by inventive embodiments.
Step 202: receive the video access request that user terminal sends.
Step 203: determine whether this locality is cached with the video file phase asked with described video access First video file of coupling, the most then perform step 204, if it is not, then perform step 207.
Specifically, due to when carrying out the caching of video file, generally using the URL of this video file as The cashing indication of its correspondence, therefore, in this step 203, can be according in the video access request received The URL carried, determines and whether there is the video file asked with described video access in local cache The first video file matched;Certainly, in embodiment of the present invention, it is also possible to adopt in other ways Determining and whether there is described first video file in local cache, this is not made any limit by the embodiment of the present invention Fixed.
Step 204: according to the content characteristic values of described first video file, determine this locality whether be cached with At least one second video file that the content characteristic values of described first video file is identical, the most then perform Step 205, otherwise, performs step 206.
Step 205: from local cache include described first video file and described at least one second regard Frequency file is in interior video file, and selecting video quality meets the video file imposed a condition, and by selected The video file taken returns to described user terminal.
Specifically, from local cache include described first video file and described at least one second regard Frequency file, in interior video file, when selecting video quality meets the video file imposed a condition, generally may be used Choose possessed video quality and be not higher than maximum video quality that described user terminal can support and not 4th video file of the video file quality current desired less than described user terminal;Further, in order to the greatest extent may be used Can reach to be promoted to the video quality of the video file that user terminal is provided, to use further up to improving in ground Family video traffic application experience effect, more preferably, from local cache include described first video literary composition Part and at least one second video file described selecting video quality in interior video file meets setting During the video file of condition, also can be according to video quality order from high to low to selected each 4th video File is ranked up, and relative the 4th the highest video file of selecting video quality returns to user terminal.
Step 206: described first video file of local cache is returned to described user terminal.
Specifically, when described first video file of local cache is returned to described user terminal, if really The video file quality determining described first video file current desired with described user terminal is not mated, also can root According to the video file quality that described user terminal is current desired, described first video file is carried out transcoding, and Video file after transcoding is returned to described user terminal.
Step 207: obtain described first video file at server, and determine and get at server The content characteristic values of described first video file.
Step 208: according to the content characteristic values of described first video file got at server, really Whether fixed this locality is cached with and the content characteristic values phase of described first video file got at server At least one same the 3rd video file, the most then perform step 209, otherwise, perform step 210.
Step 209: from including described first video file and described at least that gets at server Individual 3rd video file is in interior video file, and selecting video quality meets the video file imposed a condition, And selected video file is returned to described user terminal.
Specifically, in this step 209, the choose mode identical with step 205 can be used from including from clothes Described first video file and at least one the 3rd video file described of getting at business device regard at interior In frequency file, selecting video quality meets the video file imposed a condition.
It is to say, from include described first video file that gets at server and described at least One the 3rd video file is in interior video file, and selecting video quality meets the video file imposed a condition Time, generally can choose possessed video quality and be not higher than the maximum video that described user terminal can be supported Quality and be not less than the 5th video file of the current desired video file quality of described user terminal;Further, In order to reach to be promoted to the video quality of the video file that user terminal is provided, to reach further as much as possible The effect experienced to the video traffic application improving user, more preferably, is getting from including at server Described first video file and at least one the 3rd video file described choose in interior video file When video quality meets the video file imposed a condition, also can be according to video quality order from high to low to institute Each 5th video file chosen is ranked up, and relative the 5th the highest video file of selecting video quality returns Back to user terminal.
Step 210: described first video file got at server is returned to described user terminal.
Specifically, described first video file got at server is being returned to described user terminal Time, however, it is determined that the described first video file video file quality current desired with described user terminal is not Join, also according to the current desired video file quality of described user terminal, described first video file can be entered Row transcoding, and the video file after transcoding is returned to described user terminal.
The embodiment of the present invention two provides a kind of video traffic processing method, by obtaining in each video file Hold eigenvalue, identify that Document encapsulation form, code encoding/decoding mode, resolution or the code check etc. of local cache are believed Breath feature also differs but content each video file with similar details, and is receiving what user terminal sent During video access request, from the content characteristic of the video file asked with described user terminal of local cache Being worth at least one identical video file, selecting video quality meets the video file imposed a condition and returns to Described user terminal, thus on the basis of the selectable range expanding video file, subtract to a certain extent Lack transcoding operation, reached save system resource and improve the purpose of video traffic treatment effeciency;Further, Due in each video file that the content characteristic values at the video file asked with user terminal is identical, possible There is the higher video file of video quality quality of the video file asked than user terminal, therefore, also Can reach to promote the purpose of the treatment effect of original video files quality, raising video traffic.
Embodiment three:
The embodiment of the present invention three provides a kind of can be used for and realizes the video of method shown in the embodiment of the present invention one Service processing equipment, as shown in Figure 4, it is video traffic processing equipment described in the embodiment of the present invention three Structural representation, wherein, described video traffic processing equipment generally can be positioned at UE Yu SP server it Between autonomous device, such as independent server or veneer etc.;Certainly, described video traffic processing equipment also may be used For the integrated equipment between UE and SP server, as being integrated between UE and SP server HTTP Proxy system in integrated equipment etc., this is not limited in any way by the embodiment of the present invention.
Specifically, described video traffic processing equipment can include that eigenvalue determines that module 11, request receive mould Block 12 and video choose module 13, wherein:
Described eigenvalue determines that module 11 can be used for determining the content characteristic values of each video file of local cache, Wherein, described content characteristic values is relevant to the content plot of video file.
Specifically, described eigenvalue determines module 11 to can be used for each video file of local cache to solve Analysis, and according to set intelligence sample rule (as carried out primary information sampling every the total duration of 1/N video, Described N is the positive integer more than 1), each video file after resolving is carried out intelligence sample, is respectively regarded Multiple sampling point informations of frequency file, and, for arbitrary video file, multiple to described video file Sampling point information is decoded, and total according to decoded multiple sampling point informations and described video file Duration, determines the content characteristic values of described video file.
Described request receiver module 12 can be used for receiving the video access request that user terminal sends;Specifically, Due in the prior art, the most videos in network are all based on program request or the live video of HTTP, Therefore, described request receiver module 12 be generally used for receive user terminal use commonly used in the prior art Sending the video access request that the mode of HTTP request is sent, this is no longer gone to live in the household of one's in-laws on getting married by the embodiment of the present invention State.
Described video is chosen module 13 and be can be used for being asked with described video access determining that local cache has The first video file that the video file asked matches, and it is special to be cached with the content with described first video file During identical at least one second video file of value indicative, from include described first video file and described at least One the second video file is in interior video file, and selecting video quality meets the video literary composition imposed a condition Part, and selected video file is returned to described user terminal.
Specifically, due to when carrying out the caching of video file, generally using the URL of this video file as The cashing indication of its correspondence, therefore, in embodiment of the present invention, described video is chosen module 13 and is led to Often can be used for, according to the URL carried in the video access request received, determining in local cache and whether existing The first video file that the video file asked with described video access matches;Certainly, at this In bright described embodiment, described video is chosen module 13 and can also be adopted and determine in other ways in local cache Whether there is described first video file, this is not limited in any way by the embodiment of the present invention.
Further, in embodiment of the present invention, from local cache include described first video literary composition Part and at least one second video file described are in interior video file, and selecting video quality meets setting During the video file of condition, described video is chosen module 13 and is generally used for choosing possessed video quality Maximum video quality that not higher than described user terminal can be supported and to be not less than described user terminal current 4th video file of required video file quality;Further, in order to reach as much as possible to be promoted to user eventually Hold the video quality of the video file provided, to experience further up to the video traffic application improving user Effect, more preferably, described video choose module 13 from local cache include described first video literary composition Part and at least one second video file described selecting video quality in interior video file meets setting During the video file of condition, it is particularly used according to video quality order from high to low selected each Four video files are ranked up, and relative the 4th the highest video file of selecting video quality returns to user eventually End.
Further, in embodiment of the present invention, described video is chosen module 13 and be can be additionally used in really Determine the first video file that local cache has the video file asked with described video access to match, And it is uncached when having second video file identical with the content characteristic values of described first video file, by this locality Described first video file of caching returns to described user terminal.
Specifically, when described first video file of local cache is returned to described user terminal, if really The fixed described first video file video file quality current desired with described user terminal is not mated, and described regards Frequency is chosen module 13 and be can be additionally used in the video file quality current desired according to described user terminal, to described First video file carries out transcoding, and the video file after transcoding is returned to described user terminal.
Further, in embodiment of the present invention, described video traffic processing equipment may also include video Acquisition module 14, wherein:
Described video acquiring module 14 can be used for described video choose module 13 determine local uncached have with During the first video file that the video file that described video access is asked matches, obtain at server Take described first video file.
Correspondingly, described eigenvalue determines that module 11 can be additionally used in and determines that described video acquiring module 14 is from clothes The content characteristic values of the first video file got at business device.
Correspondingly, described video is chosen module 13 and be can be additionally used in and determining local uncached have and described video The first video file that the video file that access request is asked matches, and be cached with and obtain with at server During identical at least one three video file of the content characteristic values of described first video file got, from bag Include described first video file got at server and at least one the 3rd video file described exists In interior video file, selecting video quality meets the video file imposed a condition, and by selected video File returns to described user terminal.
Further, in embodiment of the present invention, described video chooses module 13 from including from clothes Described first video file and at least one the 3rd video file described of getting at business device regard at interior In frequency file, when selecting video quality meets the video file imposed a condition, it is generally used for choosing and is possessed Video quality be not higher than maximum video quality that described user terminal can support and be not less than described use 5th video file of the video file quality that family terminal is current desired;Further, in order to reach as much as possible to carry It is upgraded to the video quality of the video file that user terminal is provided, with further up to the video industry improving user The effect that business application is experienced, more preferably, described video chooses module 13 from including acquisition at server To described first video file and at least one the 3rd video file described select in interior video file Take video quality when meeting the video file imposed a condition, be particularly used according to video quality from high to low Selected each 5th video file is ranked up by order, and relatively the highest the 5th the regarding of selecting video quality Frequency file returns to user terminal.
Further, described video choose module 13 can be additionally used in determine local uncached have regard with described Frequently the first video file that the video file that access request is asked matches, and uncached have with from server During identical at least one three video file of the content characteristic values of described first video file that place gets, Described first video file got at server is returned to described user terminal.
Specifically, described first video file got at server is being returned to described user terminal Time, however, it is determined that the described first video file video file quality current desired with described user terminal is not Joining, described video is chosen module 13 and be can be additionally used in the video file matter current desired according to described user terminal Amount, carries out transcoding, and the video file after transcoding returns to described user eventually described first video file End.
The embodiment of the present invention three provides a kind of video traffic processing equipment, by obtaining in each video file Hold eigenvalue, identify that Document encapsulation form, code encoding/decoding mode, resolution or the code check etc. of local cache are believed Breath feature also differs but content each video file with similar details, and is receiving what user terminal sent During video access request, from the content characteristic of the video file asked with described user terminal of local cache Being worth at least one identical video file, selecting video quality meets the video file imposed a condition and returns to Described user terminal, thus on the basis of the selectable range expanding video file, subtract to a certain extent Lack transcoding operation, reached save system resource and improve the purpose of video traffic treatment effeciency;Further, Due in each video file that the content characteristic values at the video file asked with user terminal is identical, possible There is the higher video file of video quality quality of the video file asked than user terminal, therefore, also Can reach to promote the purpose of the treatment effect of original video files quality, raising video traffic.
Embodiment four:
The embodiment of the present invention four provides a kind of can be used for and realizes the video of method shown in the embodiment of the present invention one Service processing equipment, as it is shown in figure 5, it is video traffic processing equipment described in the embodiment of the present invention four Structural representation, for convenience of description, illustrate only the part relevant to the embodiment of the present invention four, concrete skill Art details does not discloses, and refer to the embodiment of the present invention shown in Fig. 1~Fig. 3.
Specifically, what described video traffic processing equipment generally can be between UE and SP server is only Erect standby, such as independent server or veneer etc.;Certainly, described video traffic processing equipment is alternatively positioned at Integrated equipment between UE and SP server, as being integrated in the HTTP between UE and SP server Integrated equipment etc. in agency plant, this is not limited in any way by the embodiment of the present invention.Specifically, the present invention Embodiment four by described video traffic processing equipment for illustrating as a example by independent server, shown in Fig. 5 It it is the block diagram of the part-structure of the server 20 relevant to the embodiment of the present invention four.
As it is shown in figure 5, described server 20 may include that the parts such as receptor 21 and processor 22. It will be understood by those skilled in the art that the structure of the server 20 shown in Fig. 5 is not intended that server Restriction, can include that ratio illustrates more or less of parts, or combine some parts, or different Parts are arranged, this is not limited in any way by the embodiment of the present invention.
Below in conjunction with Fig. 5 each component parts of described server 20 carried out concrete introduction:
Described receptor 21 can be used for receiving the video access request that user terminal sends;Specifically, due to In the prior art, the most videos in network are all based on program request or the live video of HTTP, because of This, described receptor 21 is generally used for receiving user terminal and uses transmission HTTP commonly used in the prior art The video access request that the mode of request is sent, this is no longer repeated by the embodiment of the present invention.
Described processor 22 can be used for determining the content characteristic values of each video file of local cache, and, At the first video determining that local cache has the video file asked with described video access to match File, and it is cached with at least one second video literary composition identical with the content characteristic values of described first video file During part, from the video literary composition including described first video file and at least one second video file described In part, selecting video quality meets the video file imposed a condition, and is returned to by selected video file Described user terminal, wherein, described content characteristic values is relevant to the content plot of video file.
Specifically, described processor 22 can be used for resolving each video file of local cache, and presses According to the intelligence sample rule set, (as carried out primary information sampling every the total duration of 1/N video, described N is Positive integer more than 1), each video file after resolving is carried out intelligence sample, obtains each video file Multiple sampling point informations, and, for arbitrary video file, multiple sampled points of described video file are believed Breath is decoded, and according to decoded multiple sampling point informations and total duration of described video file, really The content characteristic values of fixed described video file.
Further, owing to when carrying out the caching of video file, generally making with the URL of this video file For the cashing indication of its correspondence, therefore, in embodiment of the present invention, described processor 22 generally may be used For according to the URL carried in the video access request received, determining and whether local cache exist and institute State the first video file that the video file that video access asked matches;Certainly, in institute of the present invention Stating in embodiment, described processor 22 can also adopt to determine whether there is institute in local cache in other ways Stating the first video file, this is not limited in any way by the embodiment of the present invention.
Further, in embodiment of the present invention, described processor 22 is in including from local cache Described first video file and at least one second video file described, in interior video file, are chosen and are regarded Frequently, when quality meets the video file imposed a condition, it is generally used for choosing possessed video quality not higher than Maximum video quality that described user terminal can be supported and to be not less than described user terminal current desired 4th video file of video file quality;Further, in order to reach as much as possible to be promoted to user terminal to be carried The video quality of the video file of confession, with the effect experienced further up to the video traffic application improving user Really, more preferably, described processor 22 is including described first video file and described from local cache At least one second video file selecting video quality in interior video file meets the video imposed a condition During file, it is particularly used according to video quality order from high to low selected each 4th video file It is ranked up, and relative the 4th the highest video file of selecting video quality returns to user terminal.
Further, in embodiment of the present invention, described processor 22 can be additionally used in and determining this locality It is cached with the first video file that the video file asked with described video access matches, and does not delays When having second video file identical with the content characteristic values of described first video file, by local cache Described first video file returns to described user terminal.
Specifically, when described first video file of local cache is returned to described user terminal, if really The video file quality determining described first video file current desired with described user terminal is not mated, described place Reason device 22 can be additionally used in the video file quality current desired according to described user terminal, regards described first Frequency file carries out transcoding, and the video file after transcoding is returned to described user terminal.
Further, in embodiment of the present invention, described video traffic processing equipment may also include collection Device 23, wherein:
Described harvester 23 can be used for determining that this locality is uncached at described processor 22 to be had and described video access During the first video file that the video file asked matches, at server, obtain described first regard Frequency file.
Correspondingly, described processor 22 can be additionally used in and determines what described harvester 23 got at server The content characteristic values of the first video file, and, determine local uncached have ask with described video access The first video file that the video file asked matches, and be cached with and the institute got at server When stating identical at least one three video file of the content characteristic values of the first video file, from including from service Described first video file got at device and at least one the 3rd video file described are at interior video In file, selecting video quality meets the video file imposed a condition, and is returned by selected video file To described user terminal.
Further, in embodiment of the present invention, described processor 22 is from including at server Described first video file got and at least one the 3rd video file described are at interior video file In, when selecting video quality meets the video file imposed a condition, it is generally used for choosing possessed video The maximum video quality can supported in described user terminal of low quality and be not less than described user terminal 5th video file of current desired video file quality;Further, in order to reach as much as possible to be promoted to use The video quality of the video file that family terminal is provided, with further up to the video traffic application improving user The effect experienced, more preferably, described processor 22 is from include getting at server described first Video file and at least one the 3rd video file described selecting video quality in interior video file is full During the video file that foot imposes a condition, it is particularly used according to video quality order from high to low selected Each 5th video file be ranked up, and relatively the highest the 5th video file of selecting video quality returns to User terminal.
Further, described processor 22 can be additionally used in and determining local uncached have and described video access The first video file that the video file asked matches, and uncached have with at server obtain During identical at least one three video file of the content characteristic values of described first video file arrived, will be from clothes Described first video file got at business device returns to described user terminal.
Specifically, described first video file got at server is being returned to described user terminal Time, however, it is determined that the described first video file video file quality current desired with described user terminal is not Joining, described processor 22 can be additionally used in the video file quality current desired according to described user terminal, right Described first video file carries out transcoding, and the video file after transcoding is returned to described user terminal.
The embodiment of the present invention four provides a kind of video traffic processing equipment, by obtaining in each video file Hold eigenvalue, identify that Document encapsulation form, code encoding/decoding mode, resolution or the code check etc. of local cache are believed Breath feature also differs but content each video file with similar details, and is receiving what user terminal sent During video access request, from the content characteristic of the video file asked with described user terminal of local cache Being worth at least one identical video file, selecting video quality meets the video file imposed a condition and returns to Described user terminal, thus on the basis of the selectable range expanding video file, subtract to a certain extent Lack transcoding operation, reached save system resource and improve the purpose of video traffic treatment effeciency;Further, Due in each video file that the content characteristic values at the video file asked with user terminal is identical, possible There is the higher video file of video quality quality of the video file asked than user terminal, therefore, also Can reach to promote the purpose of the treatment effect of original video files quality, raising video traffic.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment), Or computer program.Therefore, the present invention can use complete hardware embodiment, complete software implementation, Or combine the form of embodiment in terms of software and hardware.And, the present invention can use one or more its In include the computer-usable storage medium of computer usable program code and (include but not limited to disk storage Device, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, device (equipment) and computer program according to embodiments of the present invention Flow chart and/or block diagram describe.It should be understood that can by computer program instructions flowchart and/or Flow process in each flow process in block diagram and/or square frame and flow chart and/or block diagram and/or square frame In conjunction with.These computer program instructions can be provided to general purpose computer, special-purpose computer, Embedded Processor Or the processor of other programmable data processing device is to produce a machine so that by computer or other The instruction that the processor of programmable data processing device performs produce for realizing in one flow process of flow chart or The device of the function specified in multiple flow processs and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (8)

1. a video traffic processing method, it is characterised in that including:
Determine the content characteristic values of each video file of local cache, wherein, described content characteristic values and video The content plot of file is correlated with;
Receive the video access request that user terminal sends, and determining that local cache has and described video access The first video file that the video file asked matches, and be cached with and described first video file Content characteristic values identical at least one second video file time, from include described first video file and Described at least one second video file is in interior video file, and selecting video quality meets and imposes a condition Video file, and selected video file is returned to described user terminal;
If it is determined that local uncached have that the video file asked with described video access matches the One video file, then obtain described first video file at server, and determine and get at server The content characteristic values of described first video file;And, however, it is determined that local cache has and obtains with at server At least one the 3rd video file that the content characteristic values of described first video file got is identical, then from bag Include described first video file got at server and at least one the 3rd video file described exists In interior video file, selecting video quality meets the video file imposed a condition, and by selected video File returns to described user terminal.
2. video traffic processing method as claimed in claim 1, it is characterised in that described method is also wrapped Include:
If it is determined that local cache has first that the video file asked with described video access matches Video file, and uncached have identical with the content characteristic values of described first video file the second video literary composition Part, then return to described user terminal by described first video file of local cache.
3. video traffic processing method as claimed in claim 1, it is characterised in that described method is also wrapped Include:
If it is determined that local uncached have that the video file asked with described video access matches the One video file, and the content characteristic of uncached described first video file having and get at server It is worth at least one identical the 3rd video file, then described first video file that will get at server Return to described user terminal.
4. the video traffic processing method as described in as arbitrary in claim 1 or 2, it is characterised in that determine The content characteristic values of each video file of local cache, including:
Each video file of local cache is resolved, and according to the intelligence sample rule set, to parsing After each video file carry out intelligence sample, obtain multiple sampling point informations of each video file;
For arbitrary video file, multiple sampling point informations of described video file are decoded, and according to Decoded multiple sampling point information and total duration of described video file, determine the interior of described video file Hold eigenvalue.
5. a video traffic processing equipment, it is characterised in that including:
Eigenvalue determines module, for determining the content characteristic values of each video file of local cache, wherein, Described content characteristic values is relevant to the content plot of video file;
Request receiver module, for receiving the video access request that user terminal sends;
Video chooses module, for determining that local cache has the video asked with described video access The first video file that file matches, and it is cached with identical with the content characteristic values of described first video file At least one second video file time, from include described first video file and described at least one second Video file is in interior video file, and selecting video quality meets the video file imposed a condition, and by institute The video file chosen returns to described user terminal;
Described video traffic processing equipment also includes video acquiring module:
Described video acquiring module, for described video choose module determine local uncached have regard with described During the first video file that the video file that access request is asked frequently matches, obtain described at server First video file;
Described eigenvalue determines module, is additionally operable to determine what described video acquiring module got at server The content characteristic values of the first video file;
Described video chooses module, be additionally operable to determine local uncached have asked with described video access The first video file that the video file asked matches, and be cached with and described got at server During identical at least one three video file of the content characteristic values of one video file, from including at server Described first video file got and at least one the 3rd video file described are at interior video file In, selecting video quality meets the video file imposed a condition, and selected video file is returned to institute State user terminal.
6. video traffic processing equipment as claimed in claim 5, it is characterised in that
Described video chooses module, is additionally operable to be asked with described video access determining that local cache has The first video file of matching of video file, and the uncached content having with described first video file is special During identical the second video file of value indicative, described first video file of local cache is returned to described user Terminal.
7. video traffic processing equipment as claimed in claim 5, it is characterised in that
Described video chooses module, be additionally operable to determine local uncached have asked with described video access The first video file that the video file asked matches, and uncached have with get at server described in During identical at least one three video file of the content characteristic values of the first video file, will obtain at server Described first video file got returns to described user terminal.
8. the video traffic processing equipment as described in as arbitrary in claim 5 or 6, it is characterised in that
Described eigenvalue determines module, specifically for resolving each video file of local cache, and presses According to the intelligence sample rule set, each video file after resolving is carried out intelligence sample, obtain each video literary composition Multiple sampling point informations of part, and, for arbitrary video file, the multiple samplings to described video file Dot information is decoded, and during according to decoded multiple sampling point informations and described video file total Long, determine the content characteristic values of described video file.
CN201310436967.XA 2013-09-23 2013-09-23 A kind of video traffic processing method and equipment Active CN103491393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310436967.XA CN103491393B (en) 2013-09-23 2013-09-23 A kind of video traffic processing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310436967.XA CN103491393B (en) 2013-09-23 2013-09-23 A kind of video traffic processing method and equipment

Publications (2)

Publication Number Publication Date
CN103491393A CN103491393A (en) 2014-01-01
CN103491393B true CN103491393B (en) 2016-11-23

Family

ID=49831308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310436967.XA Active CN103491393B (en) 2013-09-23 2013-09-23 A kind of video traffic processing method and equipment

Country Status (1)

Country Link
CN (1) CN103491393B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103813181A (en) * 2014-02-14 2014-05-21 华为技术有限公司 System and method for optimizing video
CN104333765B (en) * 2014-10-23 2018-04-10 无锡天脉聚源传媒科技有限公司 A kind of processing method and processing unit of net cast stream
CN108400996A (en) * 2017-02-04 2018-08-14 中兴通讯股份有限公司 A kind of sending method of data, device and data gateway
CN110753268B (en) * 2019-10-16 2022-03-04 北京奇艺世纪科技有限公司 Page card data generation method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101251881A (en) * 2008-04-07 2008-08-27 华为技术有限公司 Device, system and method for recognizing content
CN102014301A (en) * 2010-11-26 2011-04-13 优视科技有限公司 Video playing method, system and server
CN103155580A (en) * 2010-09-02 2013-06-12 英国电讯有限公司 Adaptive streaming of video at different quality levels

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101251881A (en) * 2008-04-07 2008-08-27 华为技术有限公司 Device, system and method for recognizing content
CN103155580A (en) * 2010-09-02 2013-06-12 英国电讯有限公司 Adaptive streaming of video at different quality levels
CN102014301A (en) * 2010-11-26 2011-04-13 优视科技有限公司 Video playing method, system and server

Also Published As

Publication number Publication date
CN103491393A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
US8645491B2 (en) Methods and apparatus for enabling a hybrid web and native application
US9571556B2 (en) Browser kernel adaptation method and browser therefor
CN102184231A (en) Method and device for acquiring page resources
CN101794298A (en) Method for realizing page adaptation, page adaptation system and communication system
US20150189036A1 (en) Offline caching method and apparatus
CN103491393B (en) A kind of video traffic processing method and equipment
CN106791889B (en) A kind of method for processing video frequency and system, distributed objects storage system
WO2018001124A1 (en) Webpage file sending method, webpage rendering method and apparatus, and webpage rendering system
CN104426985B (en) Show the method, apparatus and system of webpage
CN107566477B (en) Method and device for acquiring files in distributed file system cluster
CN103686242A (en) Video playing method and system
CN103902446A (en) Network server automated testing method and device
CN102214224A (en) Network resource access optimizing method, Web page browser and terminal
CN103546829A (en) Method and device for processing video service
CN109600381B (en) Interface adaptation method, device and system
CN103905496A (en) Picture downloading method and device
KR101018473B1 (en) System and method for transcoding webpage by mobile environment
CN109586937B (en) Operation and maintenance method, equipment and storage medium of cache system
CN105227514A (en) Based on document transmission processing method and the browser of browser
CN103442256B (en) A kind of method and system that electric program menu is realized based on HTML5
CN104410716B (en) Method, equipment and the system of annex are downloaded from forum Web pages
CN109672732B (en) Interface adaptation method, device and system
US10771578B2 (en) Webpage loading method and apparatus
CN105656921A (en) Data transmission method, apparatus and device
CN105468636B (en) A kind of picture loading method of dynamic web page, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant