CN104683833B - The method and device of adaptive media service - Google Patents

The method and device of adaptive media service Download PDF

Info

Publication number
CN104683833B
CN104683833B CN201410670735.5A CN201410670735A CN104683833B CN 104683833 B CN104683833 B CN 104683833B CN 201410670735 A CN201410670735 A CN 201410670735A CN 104683833 B CN104683833 B CN 104683833B
Authority
CN
China
Prior art keywords
code rate
information
terminal
matchmaker
supported
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410670735.5A
Other languages
Chinese (zh)
Other versions
CN104683833A (en
Inventor
姚艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410670735.5A priority Critical patent/CN104683833B/en
Publication of CN104683833A publication Critical patent/CN104683833A/en
Application granted granted Critical
Publication of CN104683833B publication Critical patent/CN104683833B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23611Insertion of stuffing data into a multiplex stream, e.g. to obtain a constant bitrate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of method and device of adaptive media service, obtains matchmaker by the device of adaptive media service and provides list, it includes whole code rate informations that content needed for terminal is supported that matchmaker, which provides list, and each code rate information corresponds to a kind of code rate;At least two code rate informations that selection in list meets code rate strategy are provided from matchmaker, code rate strategy indicates the conditional information that each code rate information is supported;Level-one index file is generated further according at least two code rate informations, each slice file of content needed for level-one index file instruction terminal supports at least two code rate informations;Level-one index file is sent to terminal by the device, to realize that terminal selects the slice file with different code rates according to demand.Enable the terminal to the carry out media services adaptive according to own situation and network dress money, and, since the code rate that the device being deployed on OTT platform uses each terminal based on code rate strategy controls, the efficiency of OTT platform in operation and the fineness of control are improved.

Description

The method and device of adaptive media service
Technical field
The present invention relates to the communication technology more particularly to a kind of method and devices of adaptive media service.
Background technique
From top and under service (Over The Top, referred to as: OTT) technology refer to provided a user by internet it is various Application service.This application is different with communication service provided by current operator, it and is serviced merely with the network of operator It is provided by the third party except operator.Currently, typical OTT business has internet television business, apple application shop etc..Directly Broadcasting flow-medium (HTTP Live Streaming, referred to as: HLS) technology is mainly used for providing audio-video service for intelligent terminal.Its Including an index file, transmitting stream (Transport Stream, referred to as: TS) media slicing file and key (key) encryption string File.OTT service in the prior art also mostly uses the file of HLS format to provide multimedia service for user.
Fig. 1 is a kind of multimedia service schematic diagram of the prior art based on OTT platform, and referring to Fig.1, the program includes two Part: one, content is injected;Two, content service.Wherein, content injection includes: that the matchmaker that 1) content quotient provides TS format provides file, TS file is injected into OTT platform;2) OTT platform issues metadata (content description information of matchmaker's money file) and arrives operation system, Matchmaker's money is distributed to media server;Content service include: 1) terminal to business platform request service;2) business platform judges are OTT service, matchmaker's money are TS format, return matchmaker's money service uniform resource locator (Uniform Resoure Locator, Referred to as: URL), and increase parameter hls to be provided service is provided;3) terminal requests to service to media server;4a) media take Business device judgement is that TS file provides HLS service, standardizes encapsulation by HLS and generates level-one index file (an only code rate);4b) matchmaker Body server returns to level-one index file;5) terminal parses index file, and the index file of the code rate is requested to media server; 6a) media server judgement is that the big file of TS provides HLS service, standardizes encapsulation fragment index file (virtual sliced sheet) by HLS; 6b) media server returns to fragment index file;7) terminal parses fragment index file, requests slicing files;8) media services Device returns to corresponding slicing files.
But when media server in the prior art provides HLS using TS file and services, due to the file of TS format Only support a kind of code rate.The OTT platform can not provide code rate and adaptively service.I.e. OTT platform can not according to the rank of user, use The actual conditions such as family real time load are adjusted to user and provide different code rates, to reduce effective control for code rate.
Summary of the invention
The present invention provides a kind of method and device of adaptive media service, for providing different code rate choosings for user It selects, improves and code rate is controlled.
The first aspect of the invention is to provide a kind of method of adaptive media service, comprising:
It obtains matchmaker and provides list, it includes whole code rate informations that content needed for terminal is supported, each code rate that the matchmaker, which provides list, Information corresponds to a kind of code rate;
At least two code rate informations that selection in list meets code rate strategy are provided from the matchmaker, the code rate strategy is used for table Show the conditional information that each code rate information is supported;
Level-one index file is generated according at least two code rate information, the level-one index file is used to indicate described Each slice file of content needed for terminal supports at least two code rate information;
The level-one index file is sent to terminal, so that the terminal selects cutting with different code rates according to demand Piece file.
In conjunction with first aspect, in the first feasible implementation, before the acquisition matchmaker provides list, also wrap It includes:
Receive the request level-one index file message that the terminal is sent.
In conjunction with the feasible implementation of the first of first aspect or first aspect, second of feasible realization side In formula, the conditional information that each code rate information is supported includes any one following or combination:
User grouping information, area information, bandwidth information, terminal type information and or ordering products information;
Wherein, the user grouping information includes the code rate information that each user grouping is supported, the area information The code rate information supported comprising each region;The bandwidth information includes the code rate information that each bandwidth is supported;The end Holding type information includes the code rate information that each terminal type is supported;The ordering products information includes the code of each product support Rate.
In conjunction with second of feasible implementation of first aspect, in the third feasible implementation, it is described from The matchmaker provides at least two code rate informations that selection in list meets code rate strategy, comprising:
According to user grouping belonging to the user grouping information and the terminal, the matchmaker is selected to provide described in list eventually The code rate information that user grouping belonging to end is supported;And/or
According to region belonging to the area information and the terminal, the matchmaker is selected to provide belonging to terminal described in list The code rate information that region is supported;And/or
According to the bandwidth of the bandwidth information and the terminal, the bandwidth for selecting the matchmaker to provide terminal described in list is supported Code rate information;And/or
According to the terminal type of the terminal type information and the terminal, the matchmaker is selected to provide terminal described in list The code rate information that terminal type is supported;And/or
According to the product that the ordering products information and the terminal are ordered, selects the matchmaker to provide terminal described in list and order The code rate information of the product support of purchase.
The second aspect of the invention is to provide a kind of device of adaptive media service, comprising:
Module is obtained, provides list for obtaining matchmaker, it includes whole code rates that content needed for terminal is supported that the matchmaker, which provides list, Information, each code rate information correspond to a kind of code rate;
Selecting module, it is described for providing at least two code rate informations that selection in list meets code rate strategy from the matchmaker Code rate strategy is used to indicate the conditional information that each code rate information is supported;
Generation module, for generating level-one index file, the level-one index text according at least two code rate information Each slice file of content needed for part is used to indicate the terminal supports at least two code rate information;
Transceiver module, for the level-one index file to be sent to terminal, so that the terminal selects to have according to demand There is the slice file of different code rates.
In conjunction with the second aspect, in the first feasible implementation, the transceiver module is also used in the acquisition Before module obtains matchmaker's money list, the request level-one index file message that the terminal is sent is received.
In conjunction with the feasible implementation of the first of the second aspect or the second aspect, second of feasible realization side In formula, the conditional information that each code rate information is supported includes any one following or combination:
User grouping information, area information, bandwidth information, terminal type information and or ordering products information;
Wherein, the user grouping information includes the code rate information that each user grouping is supported, the area information The code rate information supported comprising each region;The bandwidth information includes the code rate information that each bandwidth is supported;The end Holding type information includes the code rate information that each terminal type is supported;The ordering products information includes the code of each product support Rate.
In conjunction with second of feasible implementation of the second aspect, in the third feasible implementation, the choosing Module is selected, is specifically used for:
According to user grouping belonging to the user grouping information and the terminal, the matchmaker is selected to provide described in list eventually The code rate information that user grouping belonging to end is supported;And/or
According to region belonging to the area information and the terminal, the matchmaker is selected to provide belonging to terminal described in list The code rate information that region is supported;And/or
According to the bandwidth of the bandwidth information and the terminal, the bandwidth for selecting the matchmaker to provide terminal described in list is supported Code rate information;And/or
According to the terminal type of the terminal type information and the terminal, the matchmaker is selected to provide terminal described in list The code rate information that terminal type is supported;And/or
According to the product that the ordering products information and the terminal are ordered, selects the matchmaker to provide terminal described in list and order The code rate information of the product support of purchase.
The third aspect of the invention is to provide a kind of device of adaptive media service, comprising:
Processor provides list for obtaining matchmaker, and it includes whole code rates letter that content needed for terminal is supported that the matchmaker, which provides list, Breath, each code rate information correspond to a kind of code rate;At least two code rates letter that selection in list meets code rate strategy is provided from the matchmaker Breath, the code rate strategy are used to indicate the conditional information that each code rate information is supported;Believed according at least two code rate Breath generates level-one index file, and each slice file of content needed for the level-one index file is used to indicate the terminal is supported At least two code rate information;
Transmitter, for the level-one index file to be sent to terminal, so that the terminal selects to have according to demand The slice file of different code rates.
In terms of in conjunction with third, in the first feasible implementation, further includes: receiver, in the processing Before device obtains matchmaker's money list, the request level-one index file message that the terminal is sent is received.
In conjunction with the first feasible implementation in terms of third aspect or third, second of feasible realization side In formula, the conditional information that each code rate information is supported includes any one following or combination:
User grouping information, area information, bandwidth information, terminal type information and or ordering products information;
Wherein, the user grouping information includes the code rate information that each user grouping is supported, the area information The code rate information supported comprising each region;The bandwidth information includes the code rate information that each bandwidth is supported;The end Holding type information includes the code rate information that each terminal type is supported;The ordering products information includes the code of each product support Rate.
In conjunction with second of feasible implementation in terms of third, in the third feasible implementation, the place Device is managed, is specifically used for:
According to user grouping belonging to the user grouping information and the terminal, the matchmaker is selected to provide described in list eventually The code rate information that user grouping belonging to end is supported;And/or
According to region belonging to the area information and the terminal, the matchmaker is selected to provide belonging to terminal described in list The code rate information that region is supported;And/or
According to the bandwidth of the bandwidth information and the terminal, the bandwidth for selecting the matchmaker to provide terminal described in list is supported Code rate information;And/or
According to the terminal type of the terminal type information and the terminal, the matchmaker is selected to provide terminal described in list The code rate information that terminal type is supported;And/or
According to the product that the ordering products information and the terminal are ordered, selects the matchmaker to provide terminal described in list and order The code rate information of the product support of purchase.
The method and device of adaptive media service provided in an embodiment of the present invention obtains matchmaker by processor and provides list, It includes whole code rate informations that content needed for terminal is supported that the matchmaker, which provides list, and each code rate information corresponds to a kind of code rate;Again from The matchmaker provides at least two code rate informations that selection in list meets code rate strategy, and the code rate strategy is for indicating described each The conditional information that code rate information is supported;Level-one index file, the level-one rope are generated further according at least two code rate information Each slice file of content needed for quotation part is used to indicate the terminal supports at least two code rate information;It is final to send The level-one index file is sent to terminal by device, to realize that the terminal selects the slice with different code rates according to demand File.The terminal is enabled to fill the adaptive carry out media services of money according to own situation and network, also, due to deployment It controls, mentions in the code rate that the device of the adaptive media service on OTT platform uses each terminal based on code rate strategy The high efficiency of OTT platform in operation and the fineness of control.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of multimedia service schematic diagram of the prior art based on OTT platform;
Fig. 2 is another multimedia service schematic diagram of the prior art based on OTT platform;
Fig. 3 is the system schematic of adaptive media service provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the device of adaptive media service provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the device of another adaptive media service provided in an embodiment of the present invention
Fig. 6 is a kind of flow diagram of the method for adaptive media service provided in an embodiment of the present invention;
Fig. 7 is the flow diagram of the method for another adaptive media service provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of the device of adaptive media service provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Other than a kind of scheme of the prior art shown in FIG. 1, the prior art also provides another scheme, specifically, Fig. 2 is another multimedia service schematic diagram of the prior art based on OTT platform, and referring to Fig. 2, the program also includes two portions Point: one, content inject;Two, content service;
Wherein, content, which is injected, includes:
1) matchmaker that content quotient provides HLS format provides file, and HLS format content is injected into OTT platform.
2) OTT platform issues HLS metadata (content description information of matchmaker's money file) to operation system, by HLS matchmaker's money point It is dealt into media server.
Content service includes:
1) terminal is to business platform requested service.
2) business platform return matchmaker money service uniform resource locator (Uniform Resoure Locator, referred to as: URL) (the level-one index file address for being directed toward media server).
3) terminal requests to service to media server.
4) media server returns to level-one index file.
5) terminal parses index file, selects suitable code rate, requests the fragment of the code rate to index text to media server Part.
6) media server returns to the slicing files of the code rate.
7) terminal request slicing files.
8) media server returns to corresponding slicing files.
Code rate handoff scenario repeats 5-8 step.
But using scheme described in Fig. 2, operator can not reuse Current resource, need to recompile existing content Platform is injected, the waste of storage resource is caused, and services online slow, reduces efficiency of service.
For figure 1 above and the prior art shown in Fig. 2, the present invention provides device and the side of a kind of adaptive media service Method, to solve the above technical problems, below by specific embodiment to the device of adaptive media service provided by the invention And method is illustrated.
Fig. 3 is the system schematic of adaptive media service provided in an embodiment of the present invention, and referring to Fig. 3, technical solution is related to And with lower component: intelligent terminal, media resource system, operation system, media server, code rate tactical management device, level-one index text Part (HLS) generating means, content multi code Rate of Chinese character acquisition device.
Wherein, OTT new platform biased exponent rate tactical management device, supports the strategy that uses of management code rate, for example, according to Family grouping, the region where user, terminal type, network type, the various dimensions such as product subscription configure code rate strategy.
OTT platform new content multi code Rate of Chinese character acquisition device is supported to be obtained same according to the label in interior perhaps matchmaker's money All code rate matchmakers of content provide list.
OTT platform increases level-one index file (HLS) generating means newly, supports according to strategy, all from the content of request Specific multiple code rates are selected to generate the level-one index of HLS service in code rate.
It should be noted that code rate tactical management device, content multi code Rate of Chinese character acquisition device and level-one index file (HLS) are raw It can integrate on one device at device, such as server.
With continued reference to Fig. 3, content needed for terminal is provided in an embodiment of the present invention adaptive by taking media file object as an example Media service method includes three main processes: one, content is injected;Two, strategy maintenance;Three, content service.
Wherein, content injection includes the following steps:
1) matchmaker of TS format is provided file and is injected into OTT platform by content quotient.
Specifically, the matchmaker that the TS format of multiple and different code rates injects simultaneously in the content chamber of commerce provides file, the matchmaker of these TS formats Money file corresponds to identical broadcasting content, such as same portion's film, video etc..And IPTV platform and OTT platform can share The matchmaker of these TS formats provides file, does not need content quotient when having demand every time, provides file to the matchmaker of TS format and carries out weight It is newly encoded to reinject.Further, matchmaker provides shown in the data structure table 1 as follows of the content of file.
Table 1: matchmaker provides the data structure of the content of file
2) metadata (content description information of matchmaker's money file) is handed down to operation system by OTT platform, by media file pair As being distributed to media server.
Strategy maintenance includes the following steps:
1) operator safeguards code rate strategy on code rate tactical management device, supports by user grouping, region, bandwidth, eventually Type is held, the various dimensions combination settings code rate strategy such as product of order can be according to user grouping, region, bandwidth, terminal class Type, the different demand of the product of order configure corresponding code rate accordingly;Relationship between each dimension can be "and/or".Combination Example is as follows.
2 code rate strategy of table
Code rate User grouping Ordering products Region Terminal type Bandwidth
4K VIP 4K product X High definition set top box Bandwidth > 20M
High definition X High definition product Province center High definition set top box Bandwidth > 10M
2) policy distribution to index generating means.
Content service includes the following steps:
1) terminal requests to service to business platform;
Specifically, terminal is to content needed for business platform requesting terminal.Content needed for the terminal is matchmaker described above money The broadcasting URL of file.
2) operation system judgement is OTT service, and the service URL for returning to level-one index generating means (carries matchmaker and provides file Content identification).Can such as service URL be with are as follows: http: // indexing unit IP:port/service/hls? programId= 1&AuthInfo=XXX.Shown in the service parameter table 3 as follows that specific service URL includes.
3 service parameter of table
3) terminal is indexed to level-one index generating means request;
4a) content multi code Rate of Chinese character acquisition device provides column from the matchmaker for holding all code rates in needed for terminal is obtained in operation system Table.
The content description that corresponding matchmaker provides file is found according to the content description information mark (programId) that matchmaker provides file Information looks for media file object to can be used such as under type according to the content description information that matchmaker provides file.
4 content code rate list acquisition modes of table
Wherein, the description information that matchmaker provides the content description information of file and matchmaker provides file object can all be passed to operation system In, do above-mentioned logical process.The entity description information that media server can provide file object according to matchmaker provides specific play and takes Business.
Assuming that it is as follows to obtain matchmaker's money according to the content of user's program request:
Media file object 1 (code rate 796368, broadcast address http: // media server IP:port/cmsid/ mediaCode1)
Media file object 2 (code rate 856368, broadcast address http: // media server IP:port/cmsid/ mediaCode2)
Media file object 3 (code rate 4000000, broadcast address http: // media server IP:port/cmsid/ mediaCode3)
4b) level-one index file generating means provide according to the matchmaker that policy selection is suitble to and generate HLS level-one index file;
Specifically, according to the sample of table 2 above code rate strategy, it is assumed that user does not order 4K product, so not being available The matchmaker of 4K code rate provides, and generating means filter out media file object 3, and the code rate that final choice user can be used generates level-one rope Quotation part generates level-one index file using media file object 1 and media file object 2.Such as:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=796368
Http: // media server IP:port/cmsid/mediaCode1? type=TS2hlss&authInfo=xxx
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=856368
Http: // media server IP:port/cmsid/mediaCode2? type=TS2hlss&authInfo=xxx
Referring to above-mentioned example, level-one index file is illustrated in conjunction with table 5.
5 level-one m3u8 file label explanation of table
Wherein, " PROGRAM-ID " is used to identify the content description information mark that matchmaker provides file as label;Terminal can be with It is played out according to the value of " BANDWIDTH " come URL selected to use.
4c) level-one index generating means return to code rate index file;
5) terminal parses code rate index file, to the fragment index file of the current suitable code rate of media server request;
6) media server judgement is that transmitting stream (Transport Stream, referred to as: TS) file provides HLS service, raw The fragment index file of pairs of code rate returns to (virtual sliced sheet);
7) terminal parses slicing files, requests slicing files;
8) media server returns to corresponding slicing files.
Further, for scheme shown in Fig. 3, wherein code rate tactical management device, content multi code Rate of Chinese character acquisition device and The step of level-one index file (HLS) generating means execute is the core of the embodiment of the present invention, below by specific embodiment pair The step of code rate tactical management device, content multi code Rate of Chinese character acquisition device and level-one index file (HLS) generating means and technology effect Fruit is illustrated.
Fig. 4 is a kind of structural schematic diagram of the device of adaptive media service provided in an embodiment of the present invention, the device collection At the function of code rate tactical management device above, content multi code Rate of Chinese character acquisition device and level-one index file (HLS) generating means, ginseng According to Fig. 4, which includes: processor 100, transmitter 101.
Wherein, the processor 100 is also connect with operation system shown in figure 3 above,
Processor 100 provides list for obtaining matchmaker, and it includes whole code rates that content needed for terminal is supported that the matchmaker, which provides list, Information, each code rate information correspond to a kind of code rate;At least two code rates that selection in list meets code rate strategy are provided from the matchmaker Information, the code rate strategy are used to indicate the conditional information that each code rate information is supported;According at least two code rate Information generates level-one index file, each slice file branch of content needed for the level-one index file is used to indicate the terminal Hold at least two code rate information;
Specifically, the processor 100 provides list from the matchmaker of content needed for operation system acquisition terminal.In addition, the end Content needed for holding is the broadcasting URL that matchmaker described above provides file.
Transmitter 101, for the level-one index file to be sent to terminal, so that the terminal selects to have according to demand There is the slice file of different code rates.
The device of adaptive media service provided in an embodiment of the present invention obtains matchmaker by processor and provides list, the matchmaker Providing list includes whole code rate informations that content needed for terminal is supported, each code rate information corresponds to a kind of code rate;Again from the matchmaker Selection meets at least two code rate informations of code rate strategy in money list, and the code rate strategy is for indicating each code rate letter Cease the conditional information supported;Level-one index file, the level-one index file are generated further according at least two code rate information Each slice file of content needed for being used to indicate the terminal supports at least two code rate information;Final transmitter is by institute It states level-one index file and is sent to terminal, to realize that the terminal selects the slice file with different code rates according to demand. The terminal is enabled to fill the adaptive carry out media services of money according to own situation and network, also, due to being deployed in OTT The code rate that the device of adaptive media service on platform uses each terminal based on code rate strategy controls, and improves The efficiency of OTT platform in operation and the fineness of control.
Further, it should be noted that in the prior art, the matchmaker of TS format is provided file and injects OTT platform by content quotient Afterwards, when the matchmaker of the TS format being needed to provide file next time, content quotient carries out coding to matchmaker's money file of the TS format and refills OTT platform.In contrast, the content as needed for terminal can have been injected into the content of OTT platform for existing net, not need content Quotient encodes and refills to content needed for terminal, increase rate resource utilization;In addition, since support is utilized in transmitter The level-one index file of multiple code rates provides self-adaption code rate service with HLS protocol, and multiple types of terminals supports the agreement, nothing It needs to customize, reduces cost.
On the basis of fig. 4, Fig. 5 is the structure of the device of another adaptive media service provided in an embodiment of the present invention Schematic diagram, referring to Fig. 5, the device further include: receiver 102.
Wherein, receiver 102 is connect with the processor 100;
Receiver 102, for receiving the request that the terminal is sent before the processor 100 obtains matchmaker's money list Level-one index file message.
Specifically, receiver 102 receives request level-one index file message, triggers processor 100 and transmitter 101 is held The function of row Fig. 4 corresponding embodiment.
Optionally, the conditional information that each code rate information is supported includes any one following or combination:
User grouping information, area information, bandwidth information, terminal type information and or ordering products information;
Wherein, the user grouping information includes the code rate information that each user grouping is supported, the area information The code rate information supported comprising each region;The bandwidth information includes the code rate information that each bandwidth is supported;The end Holding type information includes the code rate information that each terminal type is supported;The ordering products information includes the code of each product support Rate.
Further, the processor 100, is specifically used for:
According to user grouping belonging to the user grouping information and the terminal, the matchmaker is selected to provide described in list eventually The code rate information that user grouping belonging to end is supported;And/or
According to region belonging to the area information and the terminal, the matchmaker is selected to provide belonging to terminal described in list The code rate information that region is supported;And/or
According to the bandwidth of the bandwidth information and the terminal, the bandwidth for selecting the matchmaker to provide terminal described in list is supported Code rate information;And/or
According to the terminal type of the terminal type information and the terminal, the matchmaker is selected to provide terminal described in list The code rate information that terminal type is supported;And/or
According to the product that the ordering products information and the terminal are ordered, selects the matchmaker to provide terminal described in list and order The code rate information of the product support of purchase.
It should be noted that meeting the code rate information of code rate strategy only when processor 100 provides selection in list from the matchmaker When having one, processor 100 still can generate level-one index file according to the code rate information.
Fig. 6 is a kind of flow diagram of the method for adaptive media service provided in an embodiment of the present invention, this method Executing subject is the device of adaptive media service, which inherits code rate tactical management device, content multi code Rate of Chinese character obtains dress The function with level-one index file (HLS) generating means is set, referring to Fig. 6, this method comprises the following steps:
Step 100 obtains matchmaker's money list, and it includes whole code rate informations that content needed for terminal is supported that the matchmaker, which provides list, Each code rate information corresponds to a kind of code rate;
Specifically, content needed for the terminal is the broadcasting URL that matchmaker described above provides file.
Step 101 provides at least two code rate informations that selection in list meets code rate strategy, the code rate plan from the matchmaker The conditional information slightly supported for indicating each code rate information;
Step 102 generates level-one index file according at least two code rate information, and the level-one index file is used for Each slice file of content needed for indicating the terminal supports at least two code rate information;
The level-one index file is sent to terminal by step 103, so that the terminal selects have difference according to demand The slice file of code rate.
The method of adaptive media service provided in an embodiment of the present invention obtains matchmaker by the device of adaptive media service List is provided, it includes whole code rate informations that content needed for terminal is supported that the matchmaker, which provides list, and each code rate information corresponds to a kind of code Rate;At least two code rate informations that selection in list meets code rate strategy, the code rate strategy are provided from the matchmaker by the device again The conditional information supported for indicating each code rate information;Level-one index is generated further according at least two code rate information Each slice file of file, content needed for the level-one index file is used to indicate the terminal supports described at least two yards Rate information;The level-one index file is finally sent to terminal, to realize that the terminal selects to have difference according to demand The slice file of code rate.The terminal is enabled to fill the adaptive carry out media services of money according to own situation and network, and And the code rate each terminal used based on code rate strategy due to the device for the adaptive media service being deployed on OTT platform It is controlled, improves the efficiency of OTT platform in operation and the fineness of control.
Further, it should be noted that in the prior art, the matchmaker of TS format is provided file and injects OTT platform by content quotient Afterwards, when the matchmaker of the TS format being needed to provide file next time, content quotient carries out coding to matchmaker's money file of the TS format and refills OTT platform.In contrast, the content as needed for terminal can have been injected into the content of OTT platform for existing net, not need content Quotient encodes and refills to content needed for terminal, increase rate resource utilization;In addition, supporting multiple codes due to being utilized The level-one index file of rate provides self-adaption code rate service with HLS protocol, and multiple types of terminals supports the agreement, without customizing, Reduce cost.
On the basis of Fig. 6, Fig. 7 is the process of the method for another adaptive media service provided in an embodiment of the present invention Schematic diagram, before step 100, further includes:
Step 104, the request level-one index file message that the terminal is sent is received.
Specifically, the device of adaptive media service is receiving request level-one index file message, triggering execution step 100 to 103.
Referring to Fig. 3 corresponding embodiment it is found that the conditional information that each code rate information is supported include it is following any one Or combination:
User grouping information, area information, bandwidth information, terminal type information and or ordering products information;
Wherein, the user grouping information includes the code rate information that each user grouping is supported, the area information The code rate information supported comprising each region;The bandwidth information includes the code rate information that each bandwidth is supported;The end Holding type information includes the code rate information that each terminal type is supported;The ordering products information includes the code of each product support Rate.
Further, step 101 can have following feasible implementation:
Step 101a, the user grouping according to belonging to the user grouping information and the terminal selects the matchmaker to provide column The code rate information that user grouping belonging to terminal described in table is supported;And/or
Step 101b, the region according to belonging to the area information and the terminal selects the matchmaker to provide described in list The code rate information that region belonging to terminal is supported;And/or
Step 101c, according to the bandwidth of the bandwidth information and the terminal, the matchmaker is selected to provide terminal described in list Bandwidth support code rate information;And/or
Step 101d, according to the terminal type of the terminal type information and the terminal, the matchmaker is selected to provide in list The code rate information that the terminal type of the terminal is supported;And/or
Step 101e, the product ordered according to the ordering products information and the terminal, selects the matchmaker to provide in list The code rate information for the product support that the terminal is ordered.
It, can be with it should be noted that the embodiment of the present invention is not limited for how step 101a to 101e is combined Step 101a is executed some or all of into 101e according to specific system requirements, but is the need to ensure that the code rate finally obtained Information is multiple.
It should be noted that when from the matchmaker provide list in selection meet code rate strategy code rate information only one when, Still level-one index file can be generated according to the code rate information.
Fig. 8 is a kind of structural schematic diagram of the device of adaptive media service provided in an embodiment of the present invention, the device collection At the function of code rate tactical management device above, content multi code Rate of Chinese character acquisition device and level-one index file (HLS) generating means, ginseng According to Fig. 8, which includes: to obtain module 200, selecting module 201, generation module 202, transceiver module 203.
Wherein, referring to Fig. 8, the acquisition module 200 is connect with the selecting module 201, the acquisition module 200 also with The connection of operation system shown in figure 3 above, the selecting module 201 are also connect with the generation module 202, the generation module 202 also connect with the transceiver module 203.
Module 200 is obtained, provides list for obtaining matchmaker, it includes whole codes that content needed for terminal is supported that the matchmaker, which provides list, Rate information, each code rate information correspond to a kind of code rate;
List is provided from the matchmaker of content needed for operation system acquisition terminal specifically, obtaining module 200.In addition, the terminal Required content is the broadcasting URL that matchmaker described above provides file.
Selecting module 201, for providing at least two code rate informations that selection in list meets code rate strategy, institute from the matchmaker State the conditional information that code rate strategy is supported for indicating each code rate information;
Generation module 202, for generating level-one index file, the level-one index according at least two code rate information Each slice file of content needed for file is used to indicate the terminal supports at least two code rate information;
Transceiver module 203, for the level-one index file to be sent to terminal, so that the terminal selects according to demand Slice file with different code rates.
The device of adaptive media service provided in an embodiment of the present invention obtains matchmaker's money list by obtaining module, described It includes whole code rate informations that content needed for terminal is supported that matchmaker, which provides list, and each code rate information corresponds to a kind of code rate;Again by selecting Module provides at least two code rate informations that selection in list meets code rate strategy from the matchmaker, and the code rate strategy is for indicating institute State the conditional information that each code rate information is supported;Generation module generates level-one index text further according at least two code rate information Each slice file of part, content needed for the level-one index file is used to indicate the terminal supports at least two code rate Information;The level-one index file is sent to terminal by final transceiver module, to realize that the terminal selects to have according to demand There is the slice file of different code rates.The terminal is enabled to fill the adaptive carry out media clothes of money according to own situation and network Business, also, each terminal is used based on code rate strategy due to the device for the adaptive media service being deployed on OTT platform Code rate is controlled, and the efficiency of OTT platform in operation and the fineness of control are improved.
Further, it should be noted that in the prior art, the matchmaker of TS format is provided file and injects OTT platform by content quotient Afterwards, when the matchmaker of the TS format being needed to provide file next time, content quotient carries out coding to matchmaker's money file of the TS format and refills OTT platform.In contrast, the content as needed for terminal can have been injected into the content of OTT platform for existing net, not need content Quotient encodes and refills to content needed for terminal, increase rate resource utilization;In addition, since branch is utilized in generation module The level-one index file of multiple code rates to be held, provides self-adaption code rate service with HLS protocol, multiple types of terminals supports the agreement, Without customization, cost is reduced.
Optionally, the transceiver module 203 is also used to before the acquisition module 200 obtains matchmaker's money list, receives institute State the request level-one index file message of terminal transmission.
Specifically, transceiver module 203 receives request level-one index file message, triggering obtains module 200, selecting module 201 and generation module 202 execute Fig. 8 corresponding embodiment function.
Optionally, the conditional information that each code rate information is supported includes any one following or combination:
User grouping information, area information, bandwidth information, terminal type information and or ordering products information;
Wherein, the user grouping information includes the code rate information that each user grouping is supported, the area information The code rate information supported comprising each region;The bandwidth information includes the code rate information that each bandwidth is supported;The end Holding type information includes the code rate information that each terminal type is supported;The ordering products information includes the code of each product support Rate.
Further, the selecting module 201, is specifically used for:
According to user grouping belonging to the user grouping information and the terminal, the matchmaker is selected to provide described in list eventually The code rate information that user grouping belonging to end is supported;And/or
According to region belonging to the area information and the terminal, the matchmaker is selected to provide belonging to terminal described in list The code rate information that region is supported;And/or
According to the bandwidth of the bandwidth information and the terminal, the bandwidth for selecting the matchmaker to provide terminal described in list is supported Code rate information;And/or
According to the terminal type of the terminal type information and the terminal, the matchmaker is selected to provide terminal described in list The code rate information that terminal type is supported;And/or
According to the product that the ordering products information and the terminal are ordered, selects the matchmaker to provide terminal described in list and order The code rate information of the product support of purchase.
It should be noted that when selecting module 201 provides the code rate information that selection in list meets code rate strategy from the matchmaker Only one when, generation module 202 still can according to the code rate information generate level-one index file.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (9)

1. a kind of method of adaptive media service characterized by comprising
It obtains matchmaker and provides list, it includes whole code rate informations that content needed for terminal is supported, each code rate information that the matchmaker, which provides list, A kind of corresponding code rate;
At least two code rate informations that selection in list meets code rate strategy are provided from the matchmaker, the code rate strategy is for indicating institute State the conditional information that each code rate information is supported;
Level-one index file is generated according at least two code rate information, the level-one index file is used to indicate the terminal Each slice file of required content supports at least two code rate information;
The level-one index file is sent to terminal, so that the terminal selects the slice text with different code rates according to demand Part;
The conditional information that each code rate information is supported includes:
User grouping information, area information, bandwidth information, terminal type information and ordering products information;
Wherein, the user grouping information includes the code rate information that each user grouping is supported, the area information includes The code rate information that each region is supported;The bandwidth information includes the code rate information that each bandwidth is supported;The terminal class Type information includes the code rate information that each terminal type is supported;The ordering products information includes the code rate of each product support.
2. the method according to claim 1, wherein before the acquisition matchmaker provides list, further includes:
Receive the request level-one index file message that the terminal is sent.
3. the method according to claim 1, wherein described provide from the matchmaker selects to meet code rate strategy in list At least two code rate informations, comprising:
According to user grouping belonging to the user grouping information and the terminal, the matchmaker is selected to provide terminal institute described in list The code rate information that the user grouping of category is supported;With,
According to region belonging to the area information and the terminal, the matchmaker is selected to provide region belonging to terminal described in list The code rate information of support;With,
According to the bandwidth of the bandwidth information and the terminal, the matchmaker is selected to provide the code that the bandwidth of terminal described in list is supported Rate information;With,
According to the terminal type of the terminal type information and the terminal, the matchmaker is selected to provide the terminal of terminal described in list The code rate information that type is supported;With,
According to the product that the ordering products information and the terminal are ordered, the matchmaker is selected to provide what terminal described in list was ordered The code rate information of product support.
4. a kind of device of adaptive media service characterized by comprising
Module is obtained, provides list for obtaining matchmaker, it includes whole code rate informations that content needed for terminal is supported that the matchmaker, which provides list, Each code rate information corresponds to a kind of code rate;
Selecting module, for providing at least two code rate informations that selection in list meets code rate strategy, the code rate from the matchmaker The conditional information that strategy is supported for indicating each code rate information;
Generation module, for generating level-one index file according at least two code rate information, the level-one index file is used Each slice file of the content needed for indicating the terminal supports at least two code rate information;
Transceiver module, for the level-one index file to be sent to terminal, so that the terminal selects to have not according to demand With the slice file of code rate;
The conditional information that each code rate information is supported includes:
User grouping information, area information, bandwidth information, terminal type information and ordering products information;
Wherein, the user grouping information includes the code rate information that each user grouping is supported, the area information includes The code rate information that each region is supported;The bandwidth information includes the code rate information that each bandwidth is supported;The terminal class Type information includes the code rate information that each terminal type is supported;The ordering products information includes the code rate of each product support.
5. device according to claim 4, which is characterized in that the transceiver module is also used to obtain in the acquisition module Before taking matchmaker to provide list, the request level-one index file message that the terminal is sent is received.
6. device according to claim 4, which is characterized in that the selecting module is specifically used for:
According to user grouping belonging to the user grouping information and the terminal, the matchmaker is selected to provide terminal institute described in list The code rate information that the user grouping of category is supported;And/or
According to region belonging to the area information and the terminal, the matchmaker is selected to provide region belonging to terminal described in list The code rate information of support;With,
According to the bandwidth of the bandwidth information and the terminal, the matchmaker is selected to provide the code that the bandwidth of terminal described in list is supported Rate information;With,
According to the terminal type of the terminal type information and the terminal, the matchmaker is selected to provide the terminal of terminal described in list The code rate information that type is supported;With,
According to the product that the ordering products information and the terminal are ordered, the matchmaker is selected to provide what terminal described in list was ordered The code rate information of product support.
7. a kind of device of adaptive media service characterized by comprising
Processor provides list for obtaining matchmaker, and it includes whole code rate informations that content needed for terminal is supported that the matchmaker, which provides list, often A code rate information corresponds to a kind of code rate;At least two code rate informations that selection in list meets code rate strategy, institute are provided from the matchmaker State the conditional information that code rate strategy is supported for indicating each code rate information;It is generated according at least two code rate information Each slice file support of level-one index file, content needed for the level-one index file is used to indicate the terminal is described extremely Few two code rate informations;
Transmitter, for the level-one index file to be sent to terminal, so that the terminal selects have difference according to demand The slice file of code rate;
The conditional information that each code rate information is supported includes any one following or combination:
User grouping information, area information, bandwidth information, terminal type information and or ordering products information;
Wherein, the user grouping information includes the code rate information that each user grouping is supported, the area information includes The code rate information that each region is supported;The bandwidth information includes the code rate information that each bandwidth is supported;The terminal class Type information includes the code rate information that each terminal type is supported;The ordering products information includes the code rate of each product support.
8. device according to claim 7, which is characterized in that further include: receiver, for obtaining matchmaker in the processor Before providing list, the request level-one index file message that the terminal is sent is received.
9. device according to claim 7, which is characterized in that the processor is specifically used for:
According to user grouping belonging to the user grouping information and the terminal, the matchmaker is selected to provide terminal institute described in list The code rate information that the user grouping of category is supported;With,
According to region belonging to the area information and the terminal, the matchmaker is selected to provide region belonging to terminal described in list The code rate information of support;With,
According to the bandwidth of the bandwidth information and the terminal, the matchmaker is selected to provide the code that the bandwidth of terminal described in list is supported Rate information;With,
According to the terminal type of the terminal type information and the terminal, the matchmaker is selected to provide the terminal of terminal described in list The code rate information that type is supported;With,
According to the product that the ordering products information and the terminal are ordered, the matchmaker is selected to provide what terminal described in list was ordered The code rate information of product support.
CN201410670735.5A 2014-11-20 2014-11-20 The method and device of adaptive media service Active CN104683833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410670735.5A CN104683833B (en) 2014-11-20 2014-11-20 The method and device of adaptive media service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410670735.5A CN104683833B (en) 2014-11-20 2014-11-20 The method and device of adaptive media service

Publications (2)

Publication Number Publication Date
CN104683833A CN104683833A (en) 2015-06-03
CN104683833B true CN104683833B (en) 2018-12-14

Family

ID=53318311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410670735.5A Active CN104683833B (en) 2014-11-20 2014-11-20 The method and device of adaptive media service

Country Status (1)

Country Link
CN (1) CN104683833B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024270B (en) * 2016-11-03 2021-09-14 华为技术有限公司 Information sending method, unit and system
CN109996092B (en) * 2017-12-29 2021-01-15 华为技术有限公司 Method and device for video playing
CN110519656B (en) * 2018-05-22 2021-11-26 中国电信股份有限公司 Self-adaptive streaming media playing method, system and server
CN108900851A (en) * 2018-06-19 2018-11-27 中兴通讯股份有限公司 The transmission method of file, the playback method and device of video are described
CN113824958A (en) * 2020-06-18 2021-12-21 中兴通讯股份有限公司 Video blocking method, transmission method, server, adapter and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088620A (en) * 2010-12-01 2011-06-08 中兴通讯股份有限公司 Method for downloading media file in content distribution network and client
CN102970587A (en) * 2012-12-02 2013-03-13 北京中科大洋科技发展股份有限公司 Multi-user account realizing method suitable for OTT (Over The Top) internet television

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9247312B2 (en) * 2011-01-05 2016-01-26 Sonic Ip, Inc. Systems and methods for encoding source media in matroska container files for adaptive bitrate streaming using hypertext transfer protocol

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088620A (en) * 2010-12-01 2011-06-08 中兴通讯股份有限公司 Method for downloading media file in content distribution network and client
CN102970587A (en) * 2012-12-02 2013-03-13 北京中科大洋科技发展股份有限公司 Multi-user account realizing method suitable for OTT (Over The Top) internet television

Also Published As

Publication number Publication date
CN104683833A (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN104683833B (en) The method and device of adaptive media service
CN103379362B (en) VOD method and system
CN105075214B (en) Method and apparatus for providing multimedia adaptive streaming
KR101703078B1 (en) Delivering services in a multimedia broadcastmulticast service network using different delivery methods
CN104125516B (en) Media file reception, media file sending method and apparatus and system
CN108886629A (en) Application content is packaged and the signaling of transmission
CN105556976B (en) Associated system and method are expressed in self adaptation stream
CN103220297B (en) Method for carrying out multi-screen interaction through social network
CN102932681A (en) Method and system for realizing recommendation of television program
CN106789956B (en) A kind of P2P order method and system based on HLS
CN102209262B (en) Method, device and system for scheduling contents
CN107077543A (en) Ownership mark, signaling and the processing of content in streaming media composition
CN102710647A (en) Set-top-box-based triple play system and implementation method
US10805028B2 (en) Receiving device, transmitting device, and data processing method
CN106105239B (en) Sending device, sending method, receiving device, method of reseptance and program
CN102571409B (en) Service request management system and method for realizing service across-terminal application
CN105992062A (en) Method and device for sharing media program
CN107615774A (en) Reception device, dispensing device and data processing method
CN104735475B (en) Method, back-stage management server and the video on-demand system of video request program
CN107026887B (en) rapid information interaction method and network transmission method in multimedia system
CN102404632A (en) Information pushing method of intelligent television and application thereof
CN104093045A (en) Method and system for processing OTT TV playing request based on source return
CN109151614A (en) A kind of method and device reducing the delay of HLS live play
CN101442554A (en) Method, server and system for implementing content distribution business interaction
Calixto et al. Cloud computing applied to the development of global hybrid services and applications for interactive TV

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200217

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 210012 Ande Gate No. 94, Yuhuatai District, Jiangsu, Nanjing

Patentee before: Huawei Technologies Co.,Ltd.

TR01 Transfer of patent right