CN103269331A - Method and device for selectively playing code rate content - Google Patents
Method and device for selectively playing code rate content Download PDFInfo
- Publication number
- CN103269331A CN103269331A CN2013101386103A CN201310138610A CN103269331A CN 103269331 A CN103269331 A CN 103269331A CN 2013101386103 A CN2013101386103 A CN 2013101386103A CN 201310138610 A CN201310138610 A CN 201310138610A CN 103269331 A CN103269331 A CN 103269331A
- Authority
- CN
- China
- Prior art keywords
- code check
- terminal
- index file
- current terminal
- maximum
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
- H04N21/4825—End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
- H04N21/25825—Management of client data involving client display capabilities, e.g. screen resolution of a mobile phone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/414—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
- H04N21/41407—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4621—Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/64322—IP
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Graphics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention provides a method and a device for selectively playing the code rate content. The method comprises the following steps that a content playing instruction of a user is received, and the content playing instruction contains a uniform resource locator (URL) of an index file; a content playing request is sent to a server, and the content playing request contains the URL of the index file and a terminal code rate capacity indicator; the index file which is returned after being filtered in accordance with the current largest terminal support code rate obtained by the server in accordance with the terminal code rate capacity indicator is received; and a play list is selected from the index file returned after being filtered. By using the method and the device, playing abnormity caused by the fact that the request is beyond the content of the largest terminal support code rate when the content is played by the terminal can be avoided, and the user experience is improved.
Description
Technical field
The present invention relates to the communication network technology field, relate in particular to the method and apparatus that a kind of selection can be play the code check content.
Background technology
Adaptive stream media (Hypertext Transfer Protocol (HTTP) Adaptive Streaming based on HTML (Hypertext Markup Language), HAS) technology adopts the mode of HTTP to user's transfers media content, this technology is because can reduce the technical sophistication degree of head end server, and promoted the penetration capacity of media content in the network equipment, become the trend of streaming media video industry development at present.
A key of HAS technology is the burst that cuts into content (being same channel or film) order, the code check of each burst, resolution, coding are identical, the time span of each burst is identical, be generally about 2 to 10 seconds, the descriptor of such component sheets and access links constitute a playlist.Therefore server exists a plurality of playlists at a plurality of video files that different code checks can be provided with a content, and each playlist provides the burst of different code checks.These playlists and burst are deployed on the server, and terminal uses http protocol to play from the burst of certain playlist of sequence server request.Because the code check difference of different playlists, terminal can be according to the burst of the different code checks of the network condition Dynamic Selection that changes, thereby realizes the self adaptation of code check.For terminal is selected suitable playlist, server also provides an index file, recorded code rate information, access links and the coded format of all optional playlists, and arranged from small to large according to code check for the description of every kind of code check playlist in the index file.
In the prior art, during the terminal request play content, at first get access to index file, information and terminal available bandwidth information according to the playlist in the index file, ask the playlist of lowest bit rate in the index file earlier, after a burst is play in success, attempt the playlist of higher code check in the request available bandwidth scope, until stablizing to some suitable code checks.Terminal is progressively attempted in the process of higher code check content in the available bandwidth scope, often may occur asking the code check of play content to exceed the maximum situation of supporting code check of terminal, cause that broadcast can block time, blank screen or flower screen a period of time, automatically reduce the burst of the low code check of code check request then and play again, thus the user play experience bad.
Therefore, terminal is when play content in the prior art, and existence may have been asked to exceed the content of the maximum support of terminal code check and play unusual problem, and therefore having reduced the user plays experience.
Summary of the invention
The method and apparatus that the embodiment of the invention provides a kind of selection can play the code check content is used for avoiding terminal when play content, has asked to exceed the maximum content of code check of supporting of terminal and has caused playing unusual.
The method that the selection that first aspect, the embodiment of the invention provide can be play the code check content comprises: receive user's content play instruction, comprise the unified resource location URL of index file in the described content play instruction; Send the content play request to server, described content play request comprises URL, the indication of terminal code check ability of described index file; Receive described server according to described terminal code check ability indication get access to current terminal maximumly support code check, according to index file that described current terminal is maximum to be returned after supporting code check to filter, the index file that returns after the described filtration comprises the information of the playlist that described server selects in described index file, the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal; Select playlist the index file that after described filtration, returns.
In first kind of first aspect possible implementation, described terminal code check ability indication comprises current terminal code check ability information, and described current terminal code check ability information comprises the maximum code check of supporting of described current terminal.
In second kind of first aspect possible implementation, described terminal code check ability indication comprises terminal type, current decoding terminals mode; Indication gets access to current terminal and maximumly supports code check, comprises according to the index file that described current terminal is maximum to be returned after supporting code check to filter the described server of described reception according to described terminal code check ability: receive described server according to described terminal type, described current decoding terminals mode from terminal management server, inquire about get access to current terminal maximumly support code check, according to the maximum index file that returns after the code check filtration supported of described current terminal.
In conjunction with first kind of first aspect possible implementation, in the third possible implementation, describedly also comprised before server sends the content play request: obtain terminal code check ability information, described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal; In described terminal code check ability information, determine current terminal code check ability information according to current decoding terminals mode, current content coded format, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current decoding terminals mode, current content coded format respectively, and the maximum code check of supporting of described current terminal is the maximum code check of supporting of terminal of described current terminal code check ability information.
The third possible implementation in conjunction with first aspect, in the 4th kind of possible implementation, the described terminal code check ability information of obtaining comprises: obtain from terminal operating system or inquire about from terminal management server according to terminal type and obtain described terminal code check ability information.
In conjunction with first kind of first aspect, the third or the 4th kind of possible implementation, in the 5th kind of possible implementation, described current terminal code check ability information also comprises the minimum code check of supporting of current terminal; The described server of described reception gets access to the maximum code check of supporting of current terminal according to described terminal code check ability indication, according to the index file that returns after the filtration of the maximum support of described current terminal code check, the index file that returns after the described filtration comprises the information of the playlist that described server selects in described index file, the code check of described playlist is less than or equal to the maximum support of described current terminal code check and specifically comprises: receive described server and directly get access to maximum code check and the minimum support of the current terminal code check supported of current terminal from described terminal code check ability indication, support the index file that returns after the code check filtration according to maximum code check and the current terminal minimum supported of described current terminal, the index file that returns after the described filtration comprises the information of the playlist that described server selects in described index file, the code check of described playlist is less than or equal to that described terminal is maximum supports code check and more than or equal to the minimum code check of supporting of described terminal.
The method that the selection that second aspect, the embodiment of the invention provide can be play the code check content comprises: the content play request that receiving terminal sends, described content play request comprise unified resource location URL, the indication of terminal code check ability of index file; Obtain the maximum code check of supporting of current terminal according to described terminal code check ability indication; Generate the index file after filtering according to the maximum code check of supporting of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal; Return index file after the described filtration to described terminal, in order to select playlist in the index file of terminal after described filtration.
In first kind of second aspect possible implementation, described terminal code check ability indication comprises current terminal code check ability information, and described current terminal code check ability information comprises the maximum code check of supporting of described current terminal.
In second kind of second aspect possible implementation, described terminal code check ability indication comprises terminal type, current decoding terminals mode; Described according to described terminal code check ability indication obtain that current terminal is maximum supports that code check comprises: inquire about from terminal management server according to described terminal type and obtain terminal code check ability information, described terminal code check ability information comprises the maximum support of terminal code check, content coded format, decoding terminals mode; In described terminal code check ability information, determine current terminal code check ability information according to current content coded format, described current decoding terminals mode, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current content coded format, described current decoding terminals mode respectively, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, obtains the maximum code check of supporting of described current terminal.
In conjunction with first kind of second aspect possible implementation, in the third possible implementation, described current terminal code check ability information also comprises the minimum code check of supporting of current terminal; Described according to described terminal code check ability indication obtain that current terminal is maximum to be supported code check also to comprise directly to obtain the minimum code check of supporting of described current terminal from described terminal code check ability indication; Described according to the maximum index file of supporting after code check generates filtration of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum support of described current terminal code check and comprises: according to maximum code check and the minimum index file of supporting after the code check generation is filtered of current terminal supported of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
In conjunction with second kind of second aspect possible implementation, in the 4th kind of possible implementation, described terminal code check ability information also comprises the minimum code check of supporting of terminal, and described current terminal code check ability information also comprises the minimum code check of supporting of current terminal; Described according to described terminal code check ability indication obtain that current terminal is maximum supports that code check also comprises: obtain the minimum code check of supporting of described current terminal; Described according to the maximum index file of supporting after code check generates filtration of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum support of described current terminal code check and comprises: according to maximum code check and the minimum index file of supporting after the code check generation is filtered of current terminal supported of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
The method that the selection that the third aspect, the embodiment of the invention provide can be play the code check content comprises: receive user's content play instruction, comprise the unified resource location URL of index file in the described content play instruction; Send the content play request to server, described content play request comprises the URL of described index file; Receive the index file that described server returns according to the URL of described index file; According to the index file after the current terminal code check ability information generation filtration, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal; From the index file after the described filtration, select playlist.
In first kind of the third aspect possible implementation, the described index file that generates after filtering according to current terminal code check ability information also comprises before: obtain terminal code check ability information, described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal; In described terminal code check ability information, determine current terminal code check ability information according to current decoding terminals mode, current content coded format, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current decoding terminals mode, current content coded format respectively, and the maximum code check of supporting of described current terminal is the maximum code check of supporting of terminal of described current terminal code check ability information.
In conjunction with first kind of the third aspect possible implementation, in second kind of possible implementation, the described terminal code check ability information of obtaining comprises: obtain from terminal operating system or inquire about from terminal management server according to terminal type and obtain described terminal code check ability information.
In conjunction with first kind or second kind of possible implementation of the third aspect or the third aspect, in the third possible implementation, described current terminal code check ability information also comprises the minimum code check of supporting of current terminal; The code check of described playlist is less than or equal to the maximum support of described current terminal code check and comprises: the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
The terminal that the selection that fourth aspect, the embodiment of the invention provide can be play the code check content comprises:
User interaction unit is used for receiving user's content play instruction, comprises the unified resource location URL of index file in the described content play instruction, and the URL of described index file is sent to transmitting element;
Described transmitting element, for the URL that receives described index file from described user interaction unit, and to the request of server transmission content play, described content play request comprises URL, the indication of terminal code check ability of described index file;
Receiving element, receiving element, be used for to receive described server according to described terminal code check ability indication get access to current terminal maximumly support code check, according to index file that described current terminal is maximum to be returned after supporting code check to filter, and the index file after the described filtration sent to selected cell, the index file that returns after the described filtration comprises the information of the playlist that described server selects in described index file, the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal;
Described selected cell is used for receiving the index file that returns after the described filtration from described receiving element, and selects playlist the index file that returns after described filtration.
In first kind of fourth aspect possible implementation, described terminal code check ability indication comprises current terminal code check ability information, and described current terminal code check ability information comprises the maximum code check of supporting of current terminal.
In second kind of fourth aspect possible implementation, described terminal code check ability indication comprises terminal type, current decoding terminals mode; Described receiving element is used for receiving described server and gets access to the maximum code check of supporting of current terminal according to described terminal code check ability indication, comprise according to the maximum index file that returns after the code check filtration of supporting of described current terminal: described receiving element is used for receiving described server according to described terminal type, described current decoding terminals mode is inquired about from terminal management server and is got access to the maximum code check of supporting of current terminal, according to the index file that returns after the filtration of the maximum support of described current terminal code check.
In conjunction with first kind of fourth aspect possible implementation, in the third possible implementation, described terminal also comprises:
Acquiring unit, be used for before described transmitting element sends the content play request to server, obtain terminal code check ability information, described terminal code check ability information comprises the maximum support of terminal code check, content coded format, decoding terminals mode, and described terminal code check ability information is sent to determining unit;
Described determining unit, be used for receiving described terminal code check ability information from described acquiring unit, and according to current decoding terminals mode, current content coded format is determined current terminal code check ability information in described terminal code check ability information, the content coded format of described current terminal code check ability information, the decoding terminals mode respectively with described current decoding terminals mode, current content coded format is identical, the maximum code check of supporting of described current terminal is the maximum code check of supporting of terminal of described current terminal code check ability information, and described current terminal code check ability information is sent to described transmitting element.
The third possible implementation in conjunction with fourth aspect, in the 4th kind of possible implementation, described acquiring unit concrete is used for obtaining or inquiring about from terminal management server according to terminal type from terminal operating system obtaining described terminal code check ability information.
In conjunction with first kind of fourth aspect, the third or the 4th kind of possible implementation, in the 5th kind of possible implementation, described current terminal code check ability information also comprises the minimum code check of supporting of current terminal; Described receiving element is used for receiving described server and gets access to the maximum code check of supporting of current terminal according to described terminal code check ability indication, comprise according to the maximum index file that returns after the code check filtration of supporting of described current terminal: described receiving element is used for receiving described server and directly gets access to current terminal maximum support code check and the minimum code check of supporting of current terminal from described terminal code check ability indication, support the index file that returns after the code check filtration according to maximum code check and the current terminal minimum supported of described current terminal; The code check of described playlist is less than or equal to the maximum support of described current terminal code check and comprises: the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
The server that the selection that the 5th aspect, the embodiment of the invention provide can be play the code check content comprises:
Receiving element, be used for the content play request that receiving terminal sends, described content play request comprises unified resource location URL, the indication of terminal code check ability of index file, and the indication of described terminal code check ability sent to acquiring unit, the URL of described index file is sent to filter element;
Described acquiring unit is used for receiving described terminal code check ability from described receiving element and indicates, and obtains the maximum code check of supporting of current terminal according to described terminal code check ability indication, and the maximum support of described terminal code check is sent to filter element;
Described filter element, be used for receiving from described receiving element the URL of described index file, receive the maximum code check of supporting of described terminal from described acquiring unit, and according to the maximum index file of supporting after code check generates filtration of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal, and the index file after the described filtration is sent to transmitting element;
Described transmitting element is used for receiving index file after the described filtration from described filter element, and returns index file after the described filtration to described terminal, in order to select playlist in the index file of terminal after described filtration.
In first kind of possible implementation aspect the 5th, described terminal code check ability indication comprises current terminal code check ability information, and described current terminal code check ability information comprises the maximum code check of supporting of described current terminal.
In second kind of possible implementation aspect the 5th, described terminal code check ability indication comprises terminal type, current decoding terminals mode;
Described acquiring unit, being used for obtaining the maximum support of current terminal code check according to described terminal code check ability indication specifically comprises: described acquiring unit is used for obtaining terminal code check ability information according to described terminal type from the terminal management server inquiry, and described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal; In described terminal code check ability information, determine current terminal code check ability information according to current content coded format, described current decoding terminals mode, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current content coded format, described current decoding terminals mode respectively, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, obtains the maximum code check of supporting of described current terminal.
In conjunction with first kind of the 5th aspect possible implementation, in the third possible implementation,
Described current terminal code check ability information also comprises the minimum code check of supporting of current terminal; Described acquiring unit further comprises: directly obtain the minimum code check of supporting of described current terminal from described terminal code check ability indication;
Described filter element, be used for generating the index file after filtering according to the maximum code check of supporting of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum support of described current terminal code check and comprises: described filter element, be used for generating the index file after filtering according to maximum code check and the minimum code check of supporting of terminal supported of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
In conjunction with second kind of the 5th aspect possible implementation, in the 4th kind of possible implementation, described terminal code check ability information also comprises the minimum code check of supporting of terminal, and described current terminal code check ability information also comprises the minimum code check of supporting of current terminal;
Described acquiring unit further comprises: obtain the minimum code check of supporting of described current terminal;
Described filter element, be used for generating the index file after filtering according to the maximum code check of supporting of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum support of described current terminal code check and specifically comprises: described filter element, be used for generating the index file after filtering according to maximum code check and the minimum code check of supporting of current terminal supported of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
The terminal that the selection that the 6th aspect, the embodiment of the invention provide can be play the code check content comprises:
User interaction unit is used for receiving user's content play instruction, comprises the unified resource location URL of index file in the described content play instruction, and the URL of described index file is sent to transmitting element;
Described transmitting element, for the URL that receives described index file from described user interaction unit, and to the request of server transmission content play, described content play request comprises the URL of described index file;
Receiving element be used for to receive the index file that described server returns according to the URL of described index file, and described index file is sent to filter element;
Described filter element, be used for receiving described index file from described receiving element, according to the index file after the current terminal code check ability information generation filtration, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal, and the index file after the described filtration is sent to selected cell;
Described selected cell is used for receiving index file after the described filtration from described filter element, and selects playlist from the index file after the described filtration.
In first kind of possible implementation aspect the 6th, described terminal also comprises:
Acquiring unit, be used for before the index file after described filter element generates filtration according to current terminal code check ability information, obtain terminal code check ability information, described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal; In described terminal code check ability information, determine current terminal code check ability information according to current decoding terminals mode, current content coded format, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current decoding terminals mode, current content coded format respectively, the maximum code check of supporting of described current terminal is the maximum support of the terminal code check of described current terminal code check ability information, and described current terminal code check ability information is sent to described filter element.
In conjunction with first kind of the 6th aspect possible implementation, in second kind of possible implementation, described acquiring unit, being used for obtaining terminal code check ability information specifically comprises: described acquiring unit is used for obtaining or obtaining described terminal code check ability information from terminal operating system from the terminal management server inquiry according to terminal type.
In conjunction with first kind or second kind of possible implementation of the 6th aspect or the 6th aspect, in the third possible implementation, described current terminal code check ability information also comprises the minimum code check of supporting of current terminal;
Described filter element, be used for according to the index file after the current terminal code check ability information generation filtration, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum support of described current terminal code check and comprises: described filter element, be used for according to the index file after the current terminal code check ability information generation filtration, described current terminal code check ability information comprises maximum code check and the minimum code check of supporting of current terminal supported of current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
As can be seen from the above technical solutions, since the embodiment of the invention by terminal after the content play instruction that receives the user, send the content play request to server, comprise the indication of terminal code check ability in the described request, server gets access to the maximum code check of supporting of current terminal according to described terminal code check ability indication, according to the maximum index file of supporting after code check returns filtration of described current terminal, select playlist in the index file of terminal after filtration, exceed the maximum content of supporting code check of current terminal and cause playing unusual thereby avoided terminal request, improved the user and play experience.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The selection that Fig. 1 provides for the embodiment of the invention can be play the method flow diagram of code check content;
The selection that Fig. 2 provides for another embodiment of the present invention can be play the method flow diagram of code check content;
The selection that Fig. 3 provides for another embodiment of the present invention can be play the method flow diagram of code check content;
The selection that Fig. 4 provides for the embodiment of the invention can be play the signaling process figure of code check content;
The selection that Fig. 5 provides for another embodiment of the present invention can be play the signaling process figure of code check content;
The selection that Fig. 6 provides for another embodiment of the present invention can be play the signaling process figure of code check content;
The selection that Fig. 7 provides for the embodiment of the invention can be play the structure chart of the terminal of code check content;
The selection that Fig. 8 provides for the embodiment of the invention can be play the structure chart of the server of code check content;
The selection that Fig. 9 provides for another embodiment of the present invention can be play the structure chart of the terminal of code check content;
Figure 10 can play the structure chart of the terminal of code check content for what the embodiment of the invention provided based on the selection of computer system;
Figure 11 can play the structure chart of the server of code check content for what the embodiment of the invention provided based on the selection of computer system;
Figure 12 can play the structure chart of the terminal of code check content for what another embodiment of the present invention provided based on the selection of computer system.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
One embodiment of the invention provides a kind of selection can play the method for code check content, be applicable to terminal, terminal sends to server with the indication of terminal code check ability, indication gets access to the maximum information filtering of supporting behind the code check the playlist in the index file of current terminal to server according to described terminal code check ability, please refer to Fig. 1, this method comprises:
Step 101: receive user's content play instruction, comprise the unified resource location URL of index file in the described content play instruction.
Step 102: send the content play request to server, described content play request comprises URL, the indication of terminal code check ability of described index file.
Optionally, described terminal code check ability indication comprises current terminal code check ability information, and described current terminal code check ability information comprises the maximum code check of supporting of described current terminal; Also comprise before this step: obtain terminal code check ability information, described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal; In described terminal code check ability information, determine current terminal code check ability information according to current decoding terminals mode, current content coded format, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current decoding terminals mode, current content coded format respectively, and the maximum code check of supporting of described current terminal is the maximum code check of supporting of terminal of described current terminal code check ability information; Optionally, the described terminal code check ability information of obtaining comprises: obtain from terminal operating system or inquire about from terminal management server according to terminal type and obtain described terminal code check ability information.
Optionally, the indication of described terminal code check ability comprises terminal type, current decoding terminals mode.
Step 103: receive described server according to described terminal code check ability indication get access to current terminal maximumly support code check, according to index file that described current terminal is maximum to be returned after supporting code check to filter, the index file that returns after the described filtration comprises the information of the playlist that described server selects in described index file, the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal.
Optionally, described terminal code check ability indication comprises current terminal code check ability information, described current terminal code check ability information comprises maximum code check and the minimum code check of supporting of current terminal supported of described current terminal, this step specifically comprises: receive described server and directly get access to maximum code check and the minimum code check of supporting of current terminal supported of current terminal from described terminal code check ability indication, support the index file that returns after the code check filtration according to maximum code check and the current terminal minimum supported of described current terminal, the index file that returns after the described filtration comprises the information of the playlist that described server selects in described index file, the code check of described playlist is less than or equal to that described terminal is maximum supports code check and more than or equal to the minimum code check of supporting of described terminal.
Optionally, the indication of described terminal code check ability comprises terminal type, current decoding terminals mode, and this step specifically comprises: receive described server according to described terminal type, described current decoding terminals mode from terminal management server, inquire about get access to current terminal maximumly support code check, according to the maximum index file that returns after the code check filtration supported of described current terminal.
Step 104: select playlist the index file that after described filtration, returns.
Concrete, can be after terminal is determined current available bandwidth, selection is less than or equal to the playlist of the code check of current available bandwidth the index file that returns after described filtration, at first selects the playlist of lowest bit rate usually.
One embodiment of the invention provides a kind of selection can play the method for code check content, the flow process that server is carried out has been described, terminal sends to server with the indication of terminal code check ability, indication gets access to the maximum information filtering of supporting behind the code check the playlist in the index file of current terminal to server according to described terminal code check ability, please refer to Fig. 2, this method comprises:
Step 201: the content play request that receiving terminal sends, described content play request comprise unified resource location URL, the indication of terminal code check ability of index file.
Optionally, the indication of terminal code check ability comprises current terminal code check ability information, and described current terminal code check ability information comprises the maximum code check of supporting of described current terminal, and is optional, and described terminal code check ability also comprises the minimum code check of supporting.
Optionally, the indication of terminal code check ability comprises terminal type, current decoding terminals mode.
Step 202: obtain the maximum code check of supporting of current terminal according to described terminal code check ability indication.
Optionally, this step is specially: directly obtain the maximum code check of supporting of current terminal from described terminal code check ability indication, optional, this step also comprises: directly obtain the minimum code check of supporting of current terminal from described terminal code check ability indication.
Optionally, this step is specially: inquire about from terminal management server according to terminal type and obtain terminal code check ability information, described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal; In described terminal code check ability information, determine current terminal code check ability information according to current content coded format, described current decoding terminals mode, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current content coded format, described current decoding terminals mode respectively, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, obtains the maximum code check of supporting of described current terminal.
Step 203: generate the index file after filtering according to the maximum code check of supporting of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal.
Optionally, current terminal code check ability information comprises maximum code check and the minimum code check of supporting of current terminal supported of current terminal, this step specifically comprises: generate the index file after filtering according to maximum code check and the minimum code check of supporting of current terminal supported of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
Step 204: return index file after the described filtration to described terminal, in order to select playlist in the index file of terminal after described filtration.
One embodiment of the invention provides a kind of selection can play the method for code check content, please refer to Fig. 3, be applicable to terminal, after terminal gets access to the index file of server transmission, to the information filtering of the playlist in the index file, this method comprises according to the maximum code check of supporting of current terminal:
Step 301: receive user's content play instruction, comprise the unified resource location URL of index file in the described content play instruction.
Step 302: send the request of obtaining index file to server, described request of obtaining index file comprises the URL of described index file.
Step 303: receive the index file that described server returns according to the URL of described index file.
Step 304: according to the index file after the current terminal code check ability information generation filtration, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal.
Optionally, also comprise before this step: obtain terminal code check ability information, described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal; In described terminal code check ability information, determine current terminal code check ability information according to current decoding terminals mode, current content coded format, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current decoding terminals mode, current content coded format respectively, and the maximum code check of supporting of described current terminal is the maximum code check of supporting of terminal of described current terminal code check ability information.
Optionally, the described terminal code check ability information of obtaining comprises: obtain from terminal operating system or inquire about from terminal management server according to terminal type and obtain described terminal code check ability information.
Optionally, described current terminal code check ability information also comprises the minimum code check of supporting of current terminal; This step further is: the index file after filtering according to current terminal code check ability information generation, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
Step 305: from the index file after the described filtration, select playlist.
Concrete, can be after terminal is determined current available bandwidth, selection is less than or equal to the playlist of the code check of current available bandwidth from the index file after the described filtration, at first selects the playlist of lowest bit rate usually.
One embodiment of the invention provides the signaling process figure that selects to play the code check content, as shown in Figure 4.
Terminal is when dispatching from the factory or before networking, terminal type and terminal code check ability information are reported terminal management server, for example the user agent describes server (UserAgent Profile, UAProf) or Open Mobile Alliance terminal management server (Open Mobile Alliance Device Device Management, OMA DM), perhaps terminal code check ability is kept at the terminal inner system, for example in the operating system.Described terminal code check ability is as shown in table 1, comprises content coded format, decoding terminals mode, the maximum code check of supporting of terminal, optionally also comprises the minimum code check of supporting of terminal.Wherein, content coded format value is arbitrary coded format that terminal is supported, as H.263/H.264/MPEG-4 waiting, decoding terminals mode value comprises hard solution and soft solution.Because at different content coded formats, decoding terminals mode, therefore the support code check value difference of terminal has many terminal code check ability information.
Table 1 terminal code check ability information table
Step 401: after terminal receives user's content play instruction, unified resource location (the Uniform Resource Locator that comprises index file in the described content play instruction, URL), send the content play request to server, described content play request comprises the URL of described index file, current terminal code check ability information.
Optionally, also comprised before sending the content play request: obtain terminal code check ability information, determine current terminal code check ability information in terminal code check ability information, described current terminal code check ability information comprises the maximum code check of supporting of current terminal.
Wherein, the mode of obtaining terminal code check ability information can be to obtain or obtain from terminal operating system from the terminal management server inquiry according to terminal type, and terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal.Usually, different content coded formats is supported code check with the decoding terminals mode to different terminal maximums should be arranged, therefore terminal gets access at least one terminal code check ability information, wherein every terminal code check ability information includes maximum code check, content coded format, the decoding terminals mode supported of terminal, optionally, terminal code check ability information uses form to represent.Concrete, terminal management server can be UAProf or OMA DM server.
Wherein, the step of determining current terminal code check ability information in terminal code check ability information is specially: obtain current decoding terminals mode, current content coded format, in terminal code check ability information, search content coded format, decoding terminals mode respectively a terminal code check ability information identical with described current decoding terminals mode, current content coded format as current terminal code check ability information.Optionally, terminal code check ability information also comprises the minimum support of terminal code check, thereby current terminal code check ability information also comprises the minimum code check of supporting of current terminal.
Concrete, the method of obtaining current decoding terminals mode is to read from the configuration of the playout software that adopts, the method of obtaining current content coded format is to read or play the forward direction server lookup in request to obtain from the configuration of the playout software that adopts, and perhaps server issued the content coded format in advance.Concrete, can be that the user is when using the browser access online media sites or using the videoconference client accessed content page, broadcast chain by click on content fetches the instruction that the transmission user asks play content, described broadcast is linked as the URL of index file, for example: http: // 10:8080/MOVIE1/INDEX.M3U8.
For example, in first example of present embodiment, type be the terminal of HUAWEI_9200U by qiyi client terminal playing video, as shown in table 2 from the terminal code check ability information that the UAProf server gets access to according to terminal type HUAWEI_9200U:
The terminal code check ability information table of table 2HUAWEI_9200U
The content coded format | The decoding terminals mode | The maximum code check of supporting of terminal | The minimum code check of supporting of terminal |
H.264 | The hard solution | 3000000 | Do not have |
H.264 | Soft solution | 2000000 | Do not have |
MPEG-4 | The hard solution | 4000000 | Do not have |
MPEG-4 | Soft solution | 3000000 | Do not have |
In the configuration file of qiyi client, get access to its decoding process that adopts, be that current decoding terminals mode is separated for hard, in the configuration file of qiyi client, get access to the server configured in advance the content coded format, be current content coded format for H.264, thereby in table 2, determine the current terminal code check ability information that is complementary with playout software, as shown in table 3, wherein, current terminal is maximum supports that code check is 3000000bps, sends the information of table 3 to server.
The current terminal code check ability information table of table 3HUAWEI_9200U
The content coded format | The decoding terminals mode | The maximum code check of supporting of terminal | The minimum code check of supporting of terminal |
H.264 | The hard solution | 3000000 | Do not have |
Optionally, terminal code check ability information also comprises the minimum code check of supporting of terminal.For example, in second example of present embodiment, type be the terminal of IPAD1 by Quicktime client terminal playing video, as shown in table 4 from the terminal code check ability that the UAProf server gets access to according to terminal type IPAD1:
The terminal code check ability information table of table 4IPAD1
The content coded format | The decoding terminals mode | The maximum code check of supporting of terminal | The minimum code check of supporting of terminal |
H.264 | The hard solution | 3000000 | 300000 |
H.264 | Soft solution | 2000000 | 200000 |
MPEG-4 | The hard solution | 4000000 | 500000 |
MPEG-4 | Soft solution | 3000000 | 300000 |
In the configuration file of playout software Quicktime, get access to its decoding process that adopts, be that current decoding terminals mode is separated for hard, the coded format of all the elements that this video server provides, current content coded format have been got access to during this video server for H.264 in visit, thereby in table 4, determine the current terminal code check ability information that is complementary with playout software, as shown in table 5, wherein, current terminal is maximum supports that code check is 3000000bps, current terminal is minimum supports that code check is 300000bps, sends the information of table 5 to server.
The current terminal code check ability information table of table 5IPAD1
The content coded format | The decoding terminals mode | The maximum code check of supporting of terminal | The minimum code check of supporting of terminal |
H.264 | The hard solution | 3000000 | 300000 |
Step 402: server receives described content play request, URL according to index file obtains index file, generate the index file after filtering according to the maximum code check of supporting of the current terminal in the described current terminal code check ability information, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal.
Concrete, after server receives the content play request, to judge this be a request of obtaining the index file after the filtration according to having comprised terminal code check ability information in the request, and obtain index file according to the URL of index file, comprise access links, corresponding code rate and the content coded format of complete playlist in the described index file.
For example, in first and second example of present embodiment, server read in the index file current content coded format for H.264, the information of the complete playlist that comprises is as follows, the code check of 6 playlists is respectively 200Kbps, 500Kbps, 1Mbps, 2Mbps, 3Mbps, 4Mbps, and the access links that comprises each playlist:
For example, in first example of present embodiment, server is supported code check, is that the maximum support of current terminal code check is 3000000bps according to the terminal maximum of current terminal code check ability information, index file is filtered, select code check to be less than or equal to the playlist of 3000000bps, the information of the playlist that the index file after the filtration comprises is as follows:
In the present embodiment, because filter by current terminal code check ability information, do not comprise in the index file after the filtration that generates and exceed the maximum information of supporting the playlist of code check of current terminal, play unusual thereby avoided terminal because ask to exceed the content of ability to play.
For example, in second example at present embodiment, server is supported code check, is that maximum code check and the current terminal minimum support code check supported of current terminal is respectively 3000000bps and 300000bps according to terminal maximum support code check and the terminal minimum of current terminal code check ability information, index file is filtered, select code check to be less than or equal to 3000000bps and more than or equal to the playlist of 300000bps, the information of the playlist that the index file after the filtration comprises is as follows:
In the present embodiment, because filter by current terminal code check ability information, do not comprise in the index file after the filtration that generates and exceed the maximum information of supporting the playlist of code check of current terminal, play unusually because request exceeds the content of ability to play thereby avoided terminal, and the index file after filtering does not comprise the information of the playlist that is lower than the minimum support of current terminal code check yet, thereby request is lower than the low quality picture of a period of time that the content of minimum ability to play causes when having avoided terminal just to begin to play, and promotes the user and experiences.
Step 403: server returns index file after the described filtration to terminal.
Step 404: terminal is selected playlist from the index file after the described filtration.
Concrete, can be after terminal is determined current available bandwidth, selection is less than or equal to the playlist of the code check of current available bandwidth from the index file after the described filtration, usually at first select the playlist of lowest bit rate, namely the access links according to the playlist that provides in the index file gets access to this playlist, further the access links according to the burst that comprises in this playlist gets access to burst, thereby plays this burst.
For example, in first example of present embodiment, after terminal was determined current available bandwidth and is 2Mbps, can select code check was 200Kbps, 500Kbps, and 1Mbps, the playlist of 2Mbps is at first selected the playlist of 200Kbps; For example, in second example of present embodiment, after terminal was determined current available bandwidth and is 2Mbps, can select code check was 500Kbps, 1Mbps, and the playlist of 2Mbps is at first selected the playlist of 500Kbps.
One embodiment of the invention provides the signaling process figure that selects to play the code check content, as shown in Figure 5.
Terminal corresponding description in the embodiment of description with reference to figure 4 correspondences of terminal management device reporting terminal code check ability.
Step 501: after terminal receives user's content play instruction, unified resource location (the Uniform Resource Locator that comprises index file in the described content play instruction, URL), obtain terminal type and current decoding terminals mode, and to the request of server transmission content play, described content play request comprises the URL of described index file, described current decoding terminals mode, described terminal type.
Concrete, can be that the user is when using the browser access online media sites or using the videoconference client accessed content page, broadcast chain by click on content fetches the instruction that the transmission user asks play content, described broadcast is linked as the URL of index file, for example: http: // 10:8080/MOVIE1/INDEX.M3U8.
Wherein, the method for obtaining current decoding terminals mode is to read from the configuration of the playout software that adopts, and the method for obtaining terminal type can be for reading from terminal operating system.
For example, in first example of present embodiment, be that the terminal of HUAWEI_9200U is by qiyi client terminal playing video in type, the terminal type that reads from terminal operating system is HUAWEI_9200U, reads its decoding process that adopts from the configuration file of qiyi client, is that current decoding terminals mode is separated for hard.
For example, in second example of present embodiment, be that the terminal of IPAD1 is by Quicktime client terminal playing video in type, the terminal type that reads from terminal operating system is IPAD1, reads its decoding process that adopts from the configuration file of Quicktime, is that current decoding terminals mode is separated for hard.
Step 502: server receives described content play request, obtain content coded format in index file and the described index file according to the URL of described index file, it is current content coded format, obtain terminal code check ability information according to described terminal type, in described terminal code check ability information, determine current terminal code check ability information, described terminal code check ability information content coded format, the maximum code check of supporting of decoding terminals mode and terminal, the decoding terminals mode of described current terminal code check ability information is identical with described current content coded format with described current decoding terminals mode respectively with the content coded format, obtains the maximum code check of supporting of terminal of described current terminal code check ability information, it is the maximum code check of supporting of current terminal; Generate the index file after filtering according to the maximum code check of supporting of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal.
Concrete, after server receives the content play request, to judge this be a request of obtaining the index file after the filtration according to having comprised terminal type in the request, and obtain index file according to the URL of index file, comprise access links, corresponding code rate and the content coded format of complete playlist in the described index file.
For example, in first and second example of present embodiment, server read in the index file current content coded format for H.264, the information of the complete playlist that comprises is as follows, the code check of 6 playlists is respectively 200Kbps, 500Kbps, 1Mbps, 2Mbps, 3Mbps, 4Mbps, and the access links that comprises each playlist:
Concrete, it can be to obtain described terminal code check ability information according to terminal type from the terminal management server inquiry that server obtains terminal code check ability information according to terminal type.Usually, different content coded formats is supported code check with the decoding terminals mode to different terminal maximums should be arranged, therefore server gets access at least one terminal code check ability information, wherein every terminal code check ability information includes maximum code check, content coded format, the decoding terminals mode supported of terminal, optionally, terminal code check ability information uses form to represent.Wherein, each bar terminal code check ability information can also comprise the minimum code check of supporting of terminal.Concrete, terminal management server can be UAProf or OMA DM server.
For example, in first example of present embodiment, as shown in table 6 from the terminal code check ability that the UAProf server gets access to according to terminal type HUAWEI9200U:
The terminal code check ability information table of table 6HUAWEI_9200U
The content coded format | The decoding terminals mode | The maximum code check of supporting of terminal | The minimum code check of supporting of terminal |
H.264 | The hard solution | 3000000 | Do not have |
H.264 | Soft solution | 2000000 | Do not have |
MPEG-4 | The hard solution | 4000000 | Do not have |
MPEG-4 | Soft solution | 3000000 | Do not have |
According to the content coded format of index file, be current content coded format for H.264 and current decoding terminals mode separate for hard, in the terminal code check ability information shown in the table 6, determine the current terminal code check ability information that is complementary with playout software, as shown in table 7, wherein current terminal is maximum supports that code check is 3000000bps:
The current terminal code check ability information table of table 7HUAWEI_9200U
The content coded format | The decoding terminals mode | The maximum code check of supporting of terminal | The minimum code check of supporting of terminal |
H.264 | The hard solution | 3000000 | Do not have |
In the present embodiment, support that according to current terminal is maximum the code check value is 3000000bps, index file filtered that select code check to be less than or equal to the playlist of 3000000bps, the information of the playlist that the index file after the filtration comprises is as follows:
In the present embodiment, because filter by current terminal code check ability information, do not comprise in the index file after the filtration that generates and exceed the maximum information of supporting the playlist of code check of current terminal, play unusual thereby avoided terminal because ask to exceed the content of ability to play.
For example, as shown in table 8 from the terminal code check ability that the UAProf server gets access to according to terminal type IPAD1 in second example of present embodiment, described terminal code check ability information also comprises the minimum code check of supporting of terminal:
The terminal code check ability information table of table 8IPAD1
The content coded format | The decoding terminals mode | The maximum code check of supporting of terminal | The minimum code check of supporting of terminal |
H.264 | The hard solution | 3000000 | 300000 |
H.264 | Soft solution | 2000000 | 200000 |
MPEG-4 | The hard solution | 4000000 | 500000 |
MPEG-4 | Soft solution | 3000000 | 300000 |
According to the content coded format in the index file, be current content coded format for H.263 and current decoding terminals mode separate for hard, in the terminal code check ability information shown in the table 8, determine the current terminal code check ability information that is complementary with playout software, as shown in table 9, wherein, current terminal is maximum supports that code check is 3000000bps, and current terminal is minimum supports that code check is 300000bps:
The current terminal code check ability information table of table 9IPAD1
The content coded format | The decoding terminals mode | The maximum code check of supporting of terminal | The minimum code check of supporting of terminal |
H.263 | The hard solution | 3000000 | 300000 |
In the present embodiment, being that 3000000bps and current terminal are minimum according to the maximum support of current terminal code check value supports that the code check value is 300000bps, index file is filtered, select code check to be less than or equal to 3000000bps and more than or equal to the playlist of 300000bps, the playlist that the index file after the filtration comprises is as follows:
In the present embodiment, because filter by current terminal code check ability information, do not comprise in the index file after the filtration that generates and exceed the maximum information of supporting the playlist of code check of current terminal, play unusually because request exceeds the content of ability to play thereby avoided terminal, and the index file after filtering does not comprise the information of the playlist that is lower than the minimum support of current terminal code check yet, thereby request is lower than the low quality picture of a period of time that the content of minimum ability to play causes when having avoided terminal just to begin to play, and promotes the user and experiences.
Step 503: server returns index file after the described filtration to terminal.
Step 504: terminal selects playlist to play from the index file after the described filtration.
Concrete, can be after terminal is determined current available bandwidth, selection is less than or equal to the playlist of the code check of current available bandwidth from the index file after the described filtration, usually at first select the playlist of lowest bit rate, namely the access links according to the playlist that provides in the index file gets access to this playlist, further the access links according to the burst that comprises in this playlist gets access to burst, thereby plays this burst.
For example, in first example of present embodiment, after terminal was determined current available bandwidth and is 2Mbps, can select code check was 200Kbps, 500Kbps, and 1Mbps, the playlist of 2Mbps is at first selected the playlist of 200Kbps; For example, in second example of present embodiment, after terminal was determined current available bandwidth and is 2Mbps, can select code check was 500Kbps, 1Mbps, and the playlist of 2Mbps is at first selected the playlist of 500Kbps.
One embodiment of the invention provides the signaling process figure that selects to play the code check content, as shown in Figure 6.
Terminal corresponding description in the embodiment of description with reference to figure 4 correspondences of terminal management device reporting terminal code check ability.
Step 601: after terminal receives user's content play instruction, unified resource location (the Uniform Resource Locator that comprises index file in the described content play instruction, URL), send the content play request to server, described content play request comprises the URL of described index file.
Concrete, can be that the user is when using the browser access online media sites or using the videoconference client accessed content page, broadcast chain by click on content fetches the instruction that the transmission user asks play content, described broadcast is linked as the URL of index file, for example: http: // 10:8080/MOVIE1/INDEX.M3U8.
Step 602: server receives described request of obtaining index file, URL according to described index file returns described index file to described terminal, and described index file comprises access links, corresponding code rate and the content coded format of complete playlist.
For example, in first and second example of present embodiment, the information of the complete playlist that comprises in the index file that server returns is as follows, always has 6 playlists, code check is respectively 200Kbps, 500Kbps, 1Mbps, 2Mbps, 3Mbps, 4Mbps, and the address that obtains that comprises each playlist, go back the content coded format, be current content coded format for H.264 in the index file:
Step 603: after terminal receives the index file that server returns, according to the index file after the current terminal code check ability information generation filtration, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal.
Optionally, before the index file that generates according to current terminal code check ability information after filtering, also comprise: obtain terminal code check ability information, according to current decoding terminals mode, current content coded format is determined current terminal code check ability information in terminal code check ability information, described terminal code check ability information content coded format, the maximum code check of supporting of decoding terminals mode and terminal, the content coded format of described current terminal code check ability information is identical with described current decoding terminals mode with described current content coded format respectively with the decoding terminals mode, and the maximum code check of supporting of the terminal of described current terminal code check ability information is the maximum code check of supporting of current terminal.Optionally, terminal code check ability information also comprises the minimum code check of supporting of terminal, and the minimum code check of supporting of the terminal of current terminal code check ability information is the minimum code check of supporting of current terminal.
Wherein, the mode of obtaining terminal code check ability can be that terminal is obtained or obtained from terminal operating system from the terminal management server inquiry according to terminal type, and the method for obtaining current decoding terminals mode is to read from the configuration of the playout software that adopts.Usually, different content coded formats is supported code check with the decoding terminals mode to different terminal maximums should be arranged, therefore terminal gets access at least one terminal code check ability information, wherein every terminal code check ability information includes maximum code check, content coded format, the decoding terminals mode supported of terminal, optionally, terminal code check ability information uses form to represent.
Concrete, terminal management server can be UAProf or OMA DM server.Wherein, the mode of obtaining current content coded format can be to read from index file.
For example, in first example of present embodiment, be that the terminal of HUAWEI_9200U is by qiyi client terminal playing video in type, the current decoding terminals mode that terminal gets access to for hard separate, content coded format in the index file is for H.264, and is as shown in table 10 from the terminal code check ability information that the UAProf server gets access to according to terminal type HUAWEI_9200U:
The terminal code check ability information table of table 10HUAWEI_9200U
The content coded format | The decoding terminals mode | The maximum code check of supporting of terminal | The minimum code check of supporting of terminal |
H.263 | The hard solution | 3000000 | Do not have |
H.263 | Soft solution | 2000000 | Do not have |
MP4 | The hard solution | 4000000 | Do not have |
MP4 | Soft solution | 3000000 | Do not have |
Determine the current terminal code check ability information that is complementary with playout software in the terminal code check ability information shown in the table 10, as shown in table 11, wherein, current terminal is maximum supports that code check is 3000000bps:
The current terminal code check ability information table of table 11HUAWEI_9200U
The content coded format | The decoding terminals mode | The maximum code check of supporting of terminal | The minimum code check of supporting of terminal |
H.263 | The hard solution | 3000000 | Do not have |
In the present embodiment, support that according to current terminal is maximum the code check value is 3000000bps, index file filtered that select code check to be less than or equal to the playlist of 3000000bps, the information of the playlist that the index file after the filtration comprises is as follows:
In the present embodiment, because filter by current terminal code check ability information, do not comprise in the index file after the filtration that generates and exceed the maximum information of supporting the playlist of code check of current terminal, play unusual thereby avoided terminal because ask to exceed the content of ability to play.
For example, in second example of present embodiment, be that the terminal of IPAD1 is by Quicktime client terminal playing video in type, the current decoding terminals mode that terminal gets access to for hard separate, content coded format in the index file is for H.264, as shown in table 12 from the terminal code check ability that the UAProf server gets access to according to terminal type IPAD1, described terminal code check ability information also comprises the minimum code check of supporting of terminal:
The terminal code check ability information table of table 12IPAD1
The content coded format | The decoding terminals mode | The maximum code check of supporting of terminal | The minimum code check of supporting of terminal |
H.264 | The hard solution | 3000000 | 300000 |
H.264 | Soft solution | 2000000 | 200000 |
MPEG-4 | The hard solution | 4000000 | 500000 |
MPEG-4 | Soft solution | 3000000 | 300000 |
According to current content coded format for H.264 and current decoding terminals mode be hard the solution, in table 12, determine the current terminal code check ability information that is complementary with playout software, as shown in table 13:
The current terminal code check ability information table of table 13IPAD1
The content coded format | The decoding terminals mode | The maximum code check of supporting of terminal | The minimum code check of supporting of terminal |
H.263 | The hard solution | 3000000 | 300000 |
In the present embodiment, being that 3000000bps and current terminal are minimum according to the maximum support of current terminal code check value supports that the code check value is 300000bps, index file is filtered, select code check to be less than or equal to 3000000bps and more than or equal to the playlist of 300000bps, the information of the playlist that the index file after the filtration comprises is as follows:
In the present embodiment, because filter by current terminal code check ability information, do not comprise in the index file after the filtration that generates and exceed the maximum information of supporting the playlist of code check of current terminal, play unusually because request exceeds the content of ability to play thereby avoided terminal, and the index file after filtering does not comprise the information of the playlist that is lower than the minimum support of current terminal code check yet, thereby request is lower than the low quality picture of a period of time that the content of minimum ability to play causes when having avoided terminal just to begin to play, and promotes the user and experiences.
Step 604: terminal is selected playlist from the index file after the described filtration.
The playlist that comprises in the index file after the described filtration all is the playlist that terminal can be play code check.
Concrete, can be after terminal is determined current available bandwidth, selection is less than or equal to the playlist of the code check of current available bandwidth from the index file after the described filtration, usually at first select the playlist of lowest bit rate, namely the access links according to the playlist that provides in the index file gets access to this playlist, further the access links according to the burst that comprises in this playlist gets access to burst, thereby plays this burst.
For example, in first example of present embodiment, after terminal was determined current available bandwidth and is 2Mbps, can select code check was 200Kbps, 500Kbps, and 1Mbps, the playlist of 2Mbps is at first selected the playlist of 200Kbps; For example, in second example of present embodiment, after terminal was determined current available bandwidth and is 2Mbps, can select code check was 500Kbps, 1Mbps, and the playlist of 2Mbps is at first selected the playlist of 500Kbps.
The embodiment of the invention provides the terminal of selecting to play the code check content, and as shown in Figure 7, this terminal 700 comprises:
User interaction unit 701 is used for receiving user's content play instruction, comprises the unified resource location URL of index file in the described content play instruction, and the URL of described index file is sent to transmitting element 702;
Transmitting element 702 is used for from the URL of the described index file of described user interaction unit 701 receptions, and sends the content play request to server, and described content play request comprises URL, the indication of terminal code check ability of described index file;
Receiving element 703, be used for to receive described server according to described terminal code check ability indication get access to current terminal maximumly support code check, according to index file that described current terminal is maximum to be returned after supporting code check to filter, and the index file after the described filtration sent to selected cell, the index file that returns after the described filtration comprises the information of the playlist that described server selects in described index file, the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal;
Selected cell 704 is used for receiving the index file that returns after the described filtration from described receiving element 703, and selects playlist the index file that returns after described filtration.
Optionally, the indication of terminal code check ability comprises current terminal code check ability information, and described current terminal code check ability information comprises the maximum code check of supporting of current terminal, and this terminal 700 further can also comprise:
Acquiring unit 705, be used for before described transmitting element 702 sends the content play request to server, obtain terminal code check ability information, described terminal code check ability information comprises the maximum support of terminal code check, content coded format, decoding terminals mode, and described terminal code check ability is sent to determining unit 706;
Determining unit 706, be used for receiving described terminal code check ability information from acquiring unit 705, and according to current decoding terminals mode, current content coded format is determined current terminal code check ability information in described terminal code check ability information, the content coded format of described current terminal code check ability information, the decoding terminals mode respectively with described current decoding terminals mode, current content coded format is identical, the maximum code check of supporting of described current terminal is the maximum code check of supporting of terminal of described current terminal code check ability information, and described current terminal code check ability information is sent to transmitting element 702.
Optionally, acquiring unit 705 concrete is used for obtaining or inquiring about from terminal management server according to terminal type from terminal operating system obtaining described terminal code check ability information.
Optionally, described current terminal code check ability information also comprises the minimum code check of supporting of current terminal, the receiving element 703 concrete described servers of reception that are used for directly get access to maximum code check and the minimum support of the current terminal code check supported of current terminal from described terminal code check ability indication, support the index file that returns after the code check filtration according to maximum code check and the current terminal minimum supported of described current terminal, the index file that returns after the described filtration comprises the information of the playlist that described server selects in described index file, the code check of described playlist is less than or equal to that described current terminal is maximum supports code check and more than or equal to the minimum code check of supporting of described current terminal.
Optionally, terminal code check ability indication comprises terminal type, current decoding terminals mode, receiving element 703 is concrete be used for receiving described server according to described terminal type, described current decoding terminals mode from the terminal management server inquiry get access to current terminal maximumly support code check, according to index file that described current terminal is maximum to be returned after supporting code check to filter.
The embodiment of the invention provides the server of selecting to play the code check content, and as shown in Figure 8, this server 800 comprises:
Receiving element 801, be used for the content play request that receiving terminal sends, described content play request comprises unified resource location URL, the indication of terminal code check ability of index file, and the indication of described terminal code check ability sent to acquiring unit 802, the URL of described index file is sent to filter element 803;
Acquiring unit 802 is used for receiving described terminal code check ability from receiving element 801 and indicates, and obtains the maximum code check of supporting of current terminal according to described terminal code check ability indication, and the maximum support of described terminal code check is sent to filter element 803;
Transmitting element 804 is used for receiving index file after the described filtration from filter element 803, and returns index file after the described filtration to described terminal, in order to select playlist in the index file of terminal after described filtration.
Optionally, the indication of terminal code check ability comprises current terminal code check ability information, described current terminal code check ability information comprises maximum code check and the minimum code check of supporting of current terminal supported of described current terminal, acquiring unit 802 is further used for directly obtaining the minimum code check of supporting of described current terminal from described terminal code check ability indication; Filter element 803, concrete being used for generates the index file after filtering according to maximum code check and the minimum code check of supporting of terminal supported of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
Described terminal code check ability indication comprises terminal type, current decoding terminals mode, acquiring unit 802 is concrete for obtaining terminal code check ability information according to described terminal type from the terminal management server inquiry, and described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal; In described terminal code check ability information, determine current terminal code check ability information according to current content coded format, described current decoding terminals mode, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current content coded format, described current decoding terminals mode respectively, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, obtains the maximum code check of supporting of described current terminal;
Described terminal code check ability information also comprises the minimum code check of supporting of terminal, and described current terminal code check ability information also comprises the minimum code check of supporting of current terminal, and acquiring unit 802 further also is used for obtaining the minimum code check of supporting of described current terminal; Filter element 803, concrete being used for generates the index file after filtering according to maximum code check and the minimum code check of supporting of current terminal supported of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
The embodiment of the invention provides the terminal of selecting to play the code check content, and as shown in Figure 9, this terminal 900 comprises:
Transmitting element 902 is used for from the URL of the described index file of user interaction unit 901 receptions, and sends the content play request to server, and described content play request comprises the URL of described index file;
Receiving element 903 be used for to receive the index file that described server returns according to the URL of described index file, and described index file is sent to filter element 904;
Optionally, terminal 900 further also comprises acquiring unit 906, be used for before the index file after described filter element generates filtration according to current terminal code check ability information, obtain terminal code check ability information, described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal; In described terminal code check ability information, determine current terminal code check ability information according to current decoding terminals mode, current content coded format, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current decoding terminals mode, current content coded format respectively, the maximum code check of supporting of described current terminal is the maximum support of the terminal code check of described current terminal code check ability information, and described current terminal code check ability information is sent to described filter element 904.
Optionally, acquiring unit 906 is used for obtaining terminal code check ability information and specifically comprises: obtain or obtain described terminal code check ability information from terminal operating system from the terminal management server inquiry according to terminal type.
Optionally, described current terminal code check ability information also comprises the minimum code check of supporting of current terminal; Filter element 904, concrete being used for according to the index file after the current terminal code check ability information generation filtration, described current terminal code check ability information comprises maximum code check and the minimum code check of supporting of current terminal supported of current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
Terminal in the embodiment of the invention can realize that Fig. 1, Fig. 4, method shown in Figure 5 all can realize in the terminal based on computer system based on computer system.Figure 10 shows the embodiment of the terminal that realizes based on computer system.Terminal can comprise in the present embodiment: processor 1001, memory 1002 and communication interface 1003, wherein:
Wherein, processor 1001 can be central processing unit (central processing unit, CPU), application-specific integrated circuit (ASIC) (application-specific integrated circuit, ASIC) etc.Wherein, the terminal in the present embodiment can comprise bus 1004.Can connect and communication by bus 1004 between processor 1001, memory 1002 and the communication interface 1003.Wherein, memory 1002 can comprise: and random access memory (random access memory, RAM), read-only memory (read-only memory, R0M), disk etc. have the entity of memory function;
Server in the embodiment of the invention can realize that Fig. 2, Fig. 4, method shown in Figure 5 all can realize at the server based on computer system based on computer system.Figure 11 shows the embodiment of the server of realizing based on computer system.Server can comprise in the present embodiment: processor 1101, memory 1102 and communication interface 1103, wherein:
Wherein, processor 1101 can be central processing unit (central processing unit, CPU), application-specific integrated circuit (ASIC) (application-specific integrated circuit, ASIC) etc.Wherein, the server in the present embodiment can comprise bus 1104.Can connect and communication by bus 1104 between processor 1101, memory 1102 and the communication interface 1103.Wherein, memory 1102 can comprise: and random access memory (random access memory, RAM), read-only memory (read-only memory, ROM), disk etc. have the entity of memory function;
Terminal in the embodiment of the invention can realize that Fig. 3, method shown in Figure 6 all can realize in the terminal based on computer system based on computer system.Figure 12 shows the embodiment of the terminal that realizes based on computer system.Terminal can comprise in the present embodiment: processor 1201, memory 1202 and communication interface 1203, wherein:
Wherein, processor 1201 can be central processing unit (central processing unit, CPU), application-specific integrated circuit (ASIC) (application-specific integrated circuit, ASIC) etc.Wherein, the terminal in the present embodiment can comprise bus 1204.Can connect and communication by bus 1204 between processor 1201, memory 1202 and the communication interface 1203.Wherein, memory 1202 can comprise: and random access memory (random access memory, RAM), read-only memory (read-only memory, ROM), disk etc. have the entity of memory function;
More than to a kind of being described in detail provided by the present invention, used specific case herein principle of the present invention and execution mode set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (30)
1. a selection can be play the method for code check content, it is characterized in that described method comprises:
Receive user's content play instruction, comprise the unified resource location URL of index file in the described content play instruction;
Send the content play request to server, described content play request comprises URL, the indication of terminal code check ability of described index file;
Receive described server according to described terminal code check ability indication get access to current terminal maximumly support code check, according to index file that described current terminal is maximum to be returned after supporting code check to filter, the index file that returns after the described filtration comprises the information of the playlist that described server selects in described index file, the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal;
Select playlist the index file that after described filtration, returns.
2. method according to claim 1 is characterized in that:
Described terminal code check ability indication comprises current terminal code check ability information, and described current terminal code check ability information comprises the maximum code check of supporting of described current terminal.
3. method according to claim 2 is characterized in that, describedly also comprises before server sends the content play request:
Obtain terminal code check ability information, described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal;
In described terminal code check ability information, determine current terminal code check ability information according to current decoding terminals mode, current content coded format, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current decoding terminals mode, current content coded format respectively, and the maximum code check of supporting of described current terminal is the maximum code check of supporting of terminal of described current terminal code check ability information.
4. method according to claim 3 is characterized in that, the described terminal code check ability information of obtaining comprises:
From terminal operating system, obtain or inquire about from terminal management server according to terminal type and obtain described terminal code check ability information.
5. according to claim 2,3 or 4 described methods, it is characterized in that:
Described current terminal code check ability information also comprises the minimum code check of supporting of current terminal;
The described server of described reception gets access to the maximum code check of supporting of current terminal according to described terminal code check ability indication, according to the index file that returns after the filtration of the maximum support of described current terminal code check, the index file that returns after the described filtration comprises the information of the playlist that described server selects in described index file, the code check of described playlist is less than or equal to the maximum support of described current terminal code check and specifically comprises: receive described server and directly get access to maximum code check and the minimum support of the current terminal code check supported of current terminal from described terminal code check ability indication, support the index file that returns after the code check filtration according to maximum code check and the current terminal minimum supported of described current terminal, the index file that returns after the described filtration comprises the information of the playlist that described server selects in described index file, the code check of described playlist is less than or equal to that described terminal is maximum supports code check and more than or equal to the minimum code check of supporting of described terminal.
6. method according to claim 1 is characterized in that:
Described terminal code check ability indication comprises terminal type, current decoding terminals mode;
Indication gets access to current terminal and maximumly supports code check, comprises according to the index file that described current terminal is maximum to be returned after supporting code check to filter the described server of described reception according to described terminal code check ability: receive described server according to described terminal type, described current decoding terminals mode from terminal management server, inquire about get access to current terminal maximumly support code check, according to the maximum index file that returns after the code check filtration supported of described current terminal.
7. a selection can be play the method for code check content, it is characterized in that described method comprises:
The content play request that receiving terminal sends, described content play request comprise unified resource location URL, the indication of terminal code check ability of index file;
Obtain the maximum code check of supporting of current terminal according to described terminal code check ability indication;
Generate the index file after filtering according to the maximum code check of supporting of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal;
Return index file after the described filtration to described terminal, in order to select playlist in the index file of terminal after described filtration.
8. method according to claim 7 is characterized in that:
Described terminal code check ability indication comprises current terminal code check ability information, and described current terminal code check ability information comprises the maximum code check of supporting of described current terminal.
9. method according to claim 8 is characterized in that:
Described current terminal code check ability information also comprises the minimum code check of supporting of current terminal;
Described according to described terminal code check ability indication obtain that current terminal is maximum to be supported code check also to comprise directly to obtain the minimum code check of supporting of described current terminal from described terminal code check ability indication;
Described according to the maximum index file of supporting after code check generates filtration of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum support of described current terminal code check and comprises: according to maximum code check and the minimum index file of supporting after the code check generation is filtered of current terminal supported of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
10. method according to claim 7 is characterized in that:
Described terminal code check ability indication comprises terminal type, current decoding terminals mode;
Described according to described terminal code check ability indication obtain that current terminal is maximum supports that code check comprises:
Inquire about from terminal management server according to described terminal type and to obtain terminal code check ability information, described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal;
In described terminal code check ability information, determine current terminal code check ability information according to current content coded format, described current decoding terminals mode, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current content coded format, described current decoding terminals mode respectively, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, obtains the maximum code check of supporting of described current terminal.
11. method according to claim 10 is characterized in that:
Described terminal code check ability information also comprises the minimum code check of supporting of terminal, and described current terminal code check ability information also comprises the minimum code check of supporting of current terminal;
Described according to described terminal code check ability indication obtain that current terminal is maximum supports that code check also comprises: obtain the minimum code check of supporting of described current terminal;
Described according to the maximum index file of supporting after code check generates filtration of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum support of described current terminal code check and comprises: according to maximum code check and the minimum index file of supporting after the code check generation is filtered of current terminal supported of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
12. a selection can be play the method for code check content, it is characterized in that, described method comprises:
Receive user's content play instruction, comprise the unified resource location URL of index file in the described content play instruction;
Send the content play request to server, described content play request comprises the URL of described index file;
Receive the index file that described server returns according to the URL of described index file;
According to the index file after the current terminal code check ability information generation filtration, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal;
From the index file after the described filtration, select playlist.
13. method according to claim 12 is characterized in that, the described index file that generates after filtering according to current terminal code check ability information also comprises before:
Obtain terminal code check ability information, described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal;
In described terminal code check ability information, determine current terminal code check ability information according to current decoding terminals mode, current content coded format, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current decoding terminals mode, current content coded format respectively, and the maximum code check of supporting of described current terminal is the maximum code check of supporting of terminal of described current terminal code check ability information.
14. method according to claim 13 is characterized in that, the described terminal code check ability information of obtaining comprises:
From terminal operating system, obtain or inquire about from terminal management server according to terminal type and obtain described terminal code check ability information.
15. according to claim 12,13 or 14 described methods, it is characterized in that:
Described current terminal code check ability information also comprises the minimum code check of supporting of current terminal;
The code check of described playlist is less than or equal to the maximum support of described current terminal code check and comprises: the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
16. a selection can be play the terminal of code check content, it is characterized in that, described terminal comprises:
User interaction unit is used for receiving user's content play instruction, comprises the unified resource location URL of index file in the described content play instruction, and the URL of described index file is sent to transmitting element;
Described transmitting element, for the URL that receives described index file from described user interaction unit, and to the request of server transmission content play, described content play request comprises URL, the indication of terminal code check ability of described index file;
Receiving element, be used for to receive described server according to described terminal code check ability indication get access to current terminal maximumly support code check, according to index file that described current terminal is maximum to be returned after supporting code check to filter, and the index file after the described filtration sent to selected cell, the index file that returns after the described filtration comprises the information of the playlist that described server selects in described index file, the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal;
Described selected cell is used for receiving the index file that returns after the described filtration from described receiving element, and selects playlist the index file that returns after described filtration.
17. terminal according to claim 16 is characterized in that:
Described terminal code check ability indication comprises current terminal code check ability information, and described current terminal code check ability information comprises the maximum code check of supporting of current terminal.
18. terminal according to claim 17 is characterized in that, described terminal also comprises:
Acquiring unit, be used for before described transmitting element sends the content play request to server, obtain terminal code check ability information, described terminal code check ability information comprises the maximum support of terminal code check, content coded format, decoding terminals mode, and described terminal code check ability information is sent to determining unit;
Described determining unit, be used for receiving described terminal code check ability information from described acquiring unit, and according to current decoding terminals mode, current content coded format is determined current terminal code check ability information in described terminal code check ability information, the content coded format of described current terminal code check ability information, the decoding terminals mode respectively with described current decoding terminals mode, current content coded format is identical, the maximum code check of supporting of described current terminal is the maximum code check of supporting of terminal of described current terminal code check ability information, and described current terminal code check ability information is sent to described transmitting element.
19. terminal according to claim 18 is characterized in that:
Described acquiring unit concrete is used for obtaining or inquiring about from terminal management server according to terminal type from terminal operating system obtaining described terminal code check ability information.
20. according to claim 17,18 or 19 described terminals, it is characterized in that:
Described current terminal code check ability information also comprises the minimum code check of supporting of current terminal;
Described receiving element is used for receiving described server and gets access to the maximum code check of supporting of current terminal according to described terminal code check ability indication, comprise according to the maximum index file that returns after the code check filtration of supporting of described current terminal: described receiving element is used for receiving described server and directly gets access to current terminal maximum support code check and the minimum code check of supporting of current terminal from described terminal code check ability indication, support the index file that returns after the code check filtration according to maximum code check and the current terminal minimum supported of described current terminal;
The code check of described playlist is less than or equal to the maximum support of described current terminal code check and comprises: the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
21. terminal according to claim 16 is characterized in that:
Described terminal code check ability indication comprises terminal type, current decoding terminals mode;
Described receiving element is used for receiving described server and gets access to the maximum code check of supporting of current terminal according to described terminal code check ability indication, comprise according to the maximum index file that returns after the code check filtration of supporting of described current terminal: described receiving element is used for receiving described server according to described terminal type, described current decoding terminals mode is inquired about from terminal management server and is got access to the maximum code check of supporting of current terminal, according to the index file that returns after the filtration of the maximum support of described current terminal code check.
22. a selection can be play the server of code check content, it is characterized in that, described server comprises:
Receiving element, be used for the content play request that receiving terminal sends, described content play request comprises unified resource location URL, the indication of terminal code check ability of index file, and the indication of described terminal code check ability sent to acquiring unit, the URL of described index file is sent to filter element;
Described acquiring unit is used for receiving described terminal code check ability from described receiving element and indicates, and obtains the maximum code check of supporting of current terminal according to described terminal code check ability indication, and the maximum support of described terminal code check is sent to filter element;
Described filter element, be used for receiving from described receiving element the URL of described index file, receive the maximum code check of supporting of described terminal from described acquiring unit, and according to the maximum index file of supporting after code check generates filtration of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal, and the index file after the described filtration is sent to transmitting element;
Described transmitting element is used for receiving index file after the described filtration from described filter element, and returns index file after the described filtration to described terminal, in order to select playlist in the index file of terminal after described filtration.
23. the server according to claim 22 is characterized in that:
Described terminal code check ability indication comprises current terminal code check ability information, and described current terminal code check ability information comprises the maximum code check of supporting of described current terminal.
24. the server according to claim 23 is characterized in that:
Described current terminal code check ability information also comprises the minimum code check of supporting of current terminal;
Described acquiring unit further comprises: directly obtain the minimum code check of supporting of described current terminal from described terminal code check ability indication;
Described filter element, be used for generating the index file after filtering according to the maximum code check of supporting of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum support of described current terminal code check and comprises: described filter element, be used for generating the index file after filtering according to maximum code check and the minimum code check of supporting of terminal supported of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
25. the server according to claim 22 is characterized in that:
Described terminal code check ability indication comprises terminal type, current decoding terminals mode;
Described acquiring unit, being used for obtaining the maximum support of current terminal code check according to described terminal code check ability indication specifically comprises: described acquiring unit is used for obtaining terminal code check ability information according to described terminal type from the terminal management server inquiry, and described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal; In described terminal code check ability information, determine current terminal code check ability information according to current content coded format, described current decoding terminals mode, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current content coded format, described current decoding terminals mode respectively, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, obtains the maximum code check of supporting of described current terminal.
26. the server according to claim 25 is characterized in that:
Described terminal code check ability information also comprises the minimum code check of supporting of terminal, and described current terminal code check ability information also comprises the minimum code check of supporting of current terminal;
Described acquiring unit further comprises: obtain the minimum code check of supporting of described current terminal;
Described filter element, be used for generating the index file after filtering according to the maximum code check of supporting of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum support of described current terminal code check and specifically comprises: described filter element, be used for generating the index file after filtering according to maximum code check and the minimum code check of supporting of current terminal supported of described current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
27. a selection can be play the terminal of code check content, it is characterized in that, described terminal comprises:
User interaction unit is used for receiving user's content play instruction, comprises the unified resource location URL of index file in the described content play instruction, and the URL of described index file is sent to transmitting element;
Described transmitting element, for the URL that receives described index file from described user interaction unit, and to the request of server transmission content play, described content play request comprises the URL of described index file;
Receiving element be used for to receive the index file that described server returns according to the URL of described index file, and described index file is sent to filter element;
Described filter element, be used for receiving described index file from described receiving element, according to the index file after the current terminal code check ability information generation filtration, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum code check of supporting of described current terminal, and the index file after the described filtration is sent to selected cell;
Described selected cell is used for receiving index file after the described filtration from described filter element, and selects playlist from the index file after the described filtration.
28. terminal according to claim 27 is characterized in that, described terminal also comprises:
Acquiring unit, be used for before the index file after described filter element generates filtration according to current terminal code check ability information, obtain terminal code check ability information, described terminal code check ability information comprises maximum code check, content coded format, the decoding terminals mode supported of terminal; In described terminal code check ability information, determine current terminal code check ability information according to current decoding terminals mode, current content coded format, the content coded format of described current terminal code check ability information, decoding terminals mode are identical with described current decoding terminals mode, current content coded format respectively, the maximum code check of supporting of described current terminal is the maximum support of the terminal code check of described current terminal code check ability information, and described current terminal code check ability information is sent to described filter element.
29. terminal according to claim 28 is characterized in that:
Described acquiring unit is used for obtaining terminal code check ability information and specifically comprises: described acquiring unit is used for obtaining or obtaining described terminal code check ability information from terminal operating system from the terminal management server inquiry according to terminal type.
30. according to claim 27,28 or 29 described terminals, it is characterized in that:
Described current terminal code check ability information also comprises the minimum code check of supporting of current terminal;
Described filter element, be used for according to the index file after the current terminal code check ability information generation filtration, described current terminal code check ability information comprises the maximum code check of supporting of current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, the code check of described playlist is less than or equal to the maximum support of described current terminal code check and comprises: described filter element, be used for according to the index file after the current terminal code check ability information generation filtration, described current terminal code check ability information comprises maximum code check and the minimum code check of supporting of current terminal supported of current terminal, index file after the described filtration is included in the information of the playlist of selecting in the described index file, and the code check of described playlist is less than or equal to described current terminal maximum support code check and supports code check more than or equal to described current terminal minimum.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013101386103A CN103269331A (en) | 2013-04-20 | 2013-04-20 | Method and device for selectively playing code rate content |
PCT/CN2013/084682 WO2014169588A1 (en) | 2013-04-20 | 2013-09-30 | Method and apparatus for selecting playable code rate content |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013101386103A CN103269331A (en) | 2013-04-20 | 2013-04-20 | Method and device for selectively playing code rate content |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103269331A true CN103269331A (en) | 2013-08-28 |
Family
ID=49012940
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013101386103A Pending CN103269331A (en) | 2013-04-20 | 2013-04-20 | Method and device for selectively playing code rate content |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103269331A (en) |
WO (1) | WO2014169588A1 (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014169588A1 (en) * | 2013-04-20 | 2014-10-23 | 华为技术有限公司 | Method and apparatus for selecting playable code rate content |
CN104702976A (en) * | 2015-02-10 | 2015-06-10 | 深圳创维数字技术有限公司 | Video playing method and equipment |
WO2015176375A1 (en) * | 2014-05-23 | 2015-11-26 | 惠州Tcl移动通信有限公司 | Online video intelligent playing method, system, player and mobile terminal |
CN106993014A (en) * | 2016-01-20 | 2017-07-28 | 中兴通讯股份有限公司 | The method of adjustment of cache contents, apparatus and system |
CN107454445A (en) * | 2016-05-31 | 2017-12-08 | 北京风行在线技术有限公司 | A kind of method and apparatus for carrying out video playback scheduling |
CN107801057A (en) * | 2016-08-31 | 2018-03-13 | 法乐第(北京)网络科技有限公司 | One kind plays code check and determines method and device |
CN108900851A (en) * | 2018-06-19 | 2018-11-27 | 中兴通讯股份有限公司 | The transmission method of file, the playback method and device of video are described |
CN109120939A (en) * | 2018-07-16 | 2019-01-01 | 北京奇艺世纪科技有限公司 | A kind of video App coding/decoding method and device |
CN109996092A (en) * | 2017-12-29 | 2019-07-09 | 华为技术有限公司 | Method and apparatus for video playing |
CN110049355A (en) * | 2018-01-17 | 2019-07-23 | 华为技术有限公司 | Method for broadcasting multimedia file and device |
CN111404966A (en) * | 2020-04-03 | 2020-07-10 | 广东利通科技投资有限公司 | Data processing method of expressway video monitoring system |
CN111432246A (en) * | 2020-03-23 | 2020-07-17 | 广州市百果园信息技术有限公司 | Method, device and storage medium for pushing video data |
CN114025241A (en) * | 2021-10-19 | 2022-02-08 | 山东百盟信息技术有限公司 | Management control method and system for television playing capability |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4124049A4 (en) * | 2020-04-26 | 2023-03-22 | Huawei Technologies Co., Ltd. | Method and apparatus for adjusting streaming media parameter dynamic adaptive network |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US2097584A (en) * | 1936-05-12 | 1937-11-02 | Clark Equipment Co | Brake shoe construction |
US20050097615A1 (en) * | 2003-08-05 | 2005-05-05 | G-4, Inc. | System for selecting and optimizing display of video files |
WO2005106692A1 (en) * | 2004-04-30 | 2005-11-10 | Fuse Holdings Pty Ltd | Video encoder and content distribution system |
CN101018140A (en) * | 2007-03-08 | 2007-08-15 | 四川长虹电器股份有限公司 | Content-oriented service differentiating method |
CN101365125A (en) * | 2008-09-27 | 2009-02-11 | 腾讯科技(深圳)有限公司 | Multipath video communication method and system |
CN101540645A (en) * | 2008-03-21 | 2009-09-23 | 华为技术有限公司 | Method and device for distributing dynamic content |
US20090259766A1 (en) * | 2008-04-11 | 2009-10-15 | Mobitv, Inc. | Client capability adjustment |
CN101697549A (en) * | 2009-10-23 | 2010-04-21 | 中兴通讯股份有限公司 | Method and system for displaying stream media and stream media management server |
CN102123303A (en) * | 2011-03-25 | 2011-07-13 | 天脉聚源(北京)传媒科技有限公司 | Audio/video file playing method and system as well as transmission control device |
CN102802138A (en) * | 2011-05-25 | 2012-11-28 | 腾讯科技(深圳)有限公司 | Video file processing method and system, and video proxy system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100928998B1 (en) * | 2007-12-12 | 2009-11-26 | 한국전자통신연구원 | Adaptive Multimedia System and Method for Providing Multimedia Contents and Codecs to User Terminals |
CN103269331A (en) * | 2013-04-20 | 2013-08-28 | 华为技术有限公司 | Method and device for selectively playing code rate content |
-
2013
- 2013-04-20 CN CN2013101386103A patent/CN103269331A/en active Pending
- 2013-09-30 WO PCT/CN2013/084682 patent/WO2014169588A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US2097584A (en) * | 1936-05-12 | 1937-11-02 | Clark Equipment Co | Brake shoe construction |
US20050097615A1 (en) * | 2003-08-05 | 2005-05-05 | G-4, Inc. | System for selecting and optimizing display of video files |
WO2005106692A1 (en) * | 2004-04-30 | 2005-11-10 | Fuse Holdings Pty Ltd | Video encoder and content distribution system |
CN101018140A (en) * | 2007-03-08 | 2007-08-15 | 四川长虹电器股份有限公司 | Content-oriented service differentiating method |
CN101540645A (en) * | 2008-03-21 | 2009-09-23 | 华为技术有限公司 | Method and device for distributing dynamic content |
US20090259766A1 (en) * | 2008-04-11 | 2009-10-15 | Mobitv, Inc. | Client capability adjustment |
CN101365125A (en) * | 2008-09-27 | 2009-02-11 | 腾讯科技(深圳)有限公司 | Multipath video communication method and system |
CN101697549A (en) * | 2009-10-23 | 2010-04-21 | 中兴通讯股份有限公司 | Method and system for displaying stream media and stream media management server |
CN102123303A (en) * | 2011-03-25 | 2011-07-13 | 天脉聚源(北京)传媒科技有限公司 | Audio/video file playing method and system as well as transmission control device |
CN102802138A (en) * | 2011-05-25 | 2012-11-28 | 腾讯科技(深圳)有限公司 | Video file processing method and system, and video proxy system |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014169588A1 (en) * | 2013-04-20 | 2014-10-23 | 华为技术有限公司 | Method and apparatus for selecting playable code rate content |
WO2015176375A1 (en) * | 2014-05-23 | 2015-11-26 | 惠州Tcl移动通信有限公司 | Online video intelligent playing method, system, player and mobile terminal |
US9615112B2 (en) | 2014-05-23 | 2017-04-04 | Huizhou Tcl Mobile Communication Co., Ltd. | Method, system, player and mobile terminal for online video playback |
CN104702976A (en) * | 2015-02-10 | 2015-06-10 | 深圳创维数字技术有限公司 | Video playing method and equipment |
CN106993014A (en) * | 2016-01-20 | 2017-07-28 | 中兴通讯股份有限公司 | The method of adjustment of cache contents, apparatus and system |
CN107454445A (en) * | 2016-05-31 | 2017-12-08 | 北京风行在线技术有限公司 | A kind of method and apparatus for carrying out video playback scheduling |
CN107801057A (en) * | 2016-08-31 | 2018-03-13 | 法乐第(北京)网络科技有限公司 | One kind plays code check and determines method and device |
CN109996092A (en) * | 2017-12-29 | 2019-07-09 | 华为技术有限公司 | Method and apparatus for video playing |
CN110049355A (en) * | 2018-01-17 | 2019-07-23 | 华为技术有限公司 | Method for broadcasting multimedia file and device |
WO2019140877A1 (en) * | 2018-01-17 | 2019-07-25 | 华为技术有限公司 | Multimedia file playback method and apparatus |
WO2019242142A1 (en) * | 2018-06-19 | 2019-12-26 | 南京中兴软件有限责任公司 | Description file transmission method and video playing method and device |
CN108900851A (en) * | 2018-06-19 | 2018-11-27 | 中兴通讯股份有限公司 | The transmission method of file, the playback method and device of video are described |
CN109120939A (en) * | 2018-07-16 | 2019-01-01 | 北京奇艺世纪科技有限公司 | A kind of video App coding/decoding method and device |
CN111432246A (en) * | 2020-03-23 | 2020-07-17 | 广州市百果园信息技术有限公司 | Method, device and storage medium for pushing video data |
CN111432246B (en) * | 2020-03-23 | 2022-11-15 | 广州市百果园信息技术有限公司 | Method, device and storage medium for pushing video data |
CN111404966A (en) * | 2020-04-03 | 2020-07-10 | 广东利通科技投资有限公司 | Data processing method of expressway video monitoring system |
CN114025241A (en) * | 2021-10-19 | 2022-02-08 | 山东百盟信息技术有限公司 | Management control method and system for television playing capability |
Also Published As
Publication number | Publication date |
---|---|
WO2014169588A1 (en) | 2014-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103269331A (en) | Method and device for selectively playing code rate content | |
US20150181285A1 (en) | Media Playback Method, Control Point, and Terminal | |
US9756107B2 (en) | Method and systems for optimizing bandwidth utilization in a multi-participant full mesh peer-to-peer video session | |
CN100534023C (en) | Reducing effects caused by transmission channel errors during a streaming session | |
CN105516739A (en) | Video live broadcasting method and system, transcoding server and webpage client | |
CN105100961A (en) | Media preview generation method and generation apparatus | |
US20130282820A1 (en) | Method and System for an Optimized Multimedia Communications System | |
US20130212231A1 (en) | Method, apparatus and system for dynamic media content insertion based on http streaming | |
EP2493191B1 (en) | Method, device and system for realizing hierarchically requesting content in http streaming system | |
CN102550038A (en) | Method, terminal, server and system for playing media files | |
CN104854838A (en) | System and method for delivering an audio-visual content to a client device | |
CN107683608A (en) | Receiving device, send equipment and data processing method | |
CN102131114A (en) | Method and system for providing playlist | |
CN111107393A (en) | Video transcoding method, transcoder, electronic device and storage medium | |
EP2953315B1 (en) | Method for operating a cache arranged along a transmission path between client terminals and at least one server, and corresponding cache | |
CN106464738B (en) | Method for operating a network device and corresponding network device | |
US20210021659A1 (en) | Delivery apparatus, delivery method, and program | |
CN105900433B (en) | Method for providing a content part of a multimedia content to a client terminal and corresponding cache | |
CN116248644A (en) | Optimization method based on WebRTC plug flow technology | |
CN111385081B (en) | End-to-end communication method and device, electronic equipment and medium | |
KR101087599B1 (en) | Transmission control method for http streaming video service | |
CN105359485B (en) | Method for obtaining content parts of multimedia content by a client terminal | |
CN101771550A (en) | Method, device and system for acquiring media content in P2P network | |
WO2017071524A1 (en) | Multimedia resource publishing method and apparatus | |
CN105306870A (en) | File processing methods and devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130828 |