CN107948685A - Information popularization method and information popularization device - Google Patents

Information popularization method and information popularization device Download PDF

Info

Publication number
CN107948685A
CN107948685A CN201610896647.6A CN201610896647A CN107948685A CN 107948685 A CN107948685 A CN 107948685A CN 201610896647 A CN201610896647 A CN 201610896647A CN 107948685 A CN107948685 A CN 107948685A
Authority
CN
China
Prior art keywords
file
media information
piecemeal
stream file
promotion message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610896647.6A
Other languages
Chinese (zh)
Other versions
CN107948685B (en
Inventor
周彬
王平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201610896647.6A priority Critical patent/CN107948685B/en
Publication of CN107948685A publication Critical patent/CN107948685A/en
Application granted granted Critical
Publication of CN107948685B publication Critical patent/CN107948685B/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/2668Creating a channel for a dedicated end-user group, e.g. insertion of targeted commercials based on end-user profiles
    • 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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • 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/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • 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/258Client 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/25866Management of end-user data
    • 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/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
    • 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/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management 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/454Content or additional data filtering, e.g. blocking advertisements
    • 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/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Graphics (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of information popularization method and information popularization device;Method includes:Media information and promotion message are encoded respectively, the coded data obtained corresponding to encapsulation forms media information stream file and promotion message stream file;Piecemeal processing is carried out to the media information stream file and promotion message stream file and forms the independent decoded blocked file of support;Address structure playlist based on the blocked file, the playlist is returned to the user side;The request of blocked file in the playlist is directed in response to user side, to the corresponding blocked file of user side sequential delivery.Implement the present invention, promotion message can be made accurately to touch and played out up to user side, avoid information processing from being delayed.

Description

Information popularization method and information popularization device
Technical field
The present invention relates to the information popularization technology of internet, more particularly to a kind of information popularization method and information popularization dress Put.
Background technology
With the development of internet industry particularly mobile Internet, information popularization is carried out by internet and is passed as information The neomorph broadcast and be widely used.
In general, when user watches Online Video, correlation technique uses the video by user's request together with to special object The information (abbreviation promotion message) that (such as people, thing, event, commodity and service) is publicized is sent collectively to user side, so that real Promotion message is presented while playing video in present user side, to realize the effect publicized using promotion message.
Usually, promotion message is using the form such as video or audio, and videoconference client is before video is played and broadcasts and regards The promotion message of video format is played during frequency.
At present, often run in the terminal of user side it is various there is content filtering function, in network firewall, browser Information filtering plug-in unit etc., and substantial portion of content filtering function is that default behavior is run in user's lateral terminal, or Run in a manner of being bundled with operating system, be difficult to be configured according to a Man's Demands for ordinary user.
This results in problems with, and content filtering function, which can be adopted, to be filtered or shielded to promotion message in various manners Cover, cause the promotion message useful to user not touch effectively and presented up to user side, cause user because can not obtain in time Promotion message and be delayed processing opportunity.
The content of the invention
The embodiment of the present invention provides a kind of information popularization method and information popularization device, and promotion message can be made accurately to touch and reached User side is presented, and ensures that user obtains the promptness of promotion message.
What the technical solution of the embodiment of the present invention was realized in:
In a first aspect, the embodiment of the present invention provides a kind of information popularization method, including:
Media information and promotion message are encoded respectively, the coded data obtained corresponding to encapsulation forms media information Stream file and promotion message stream file;
Piecemeal processing is carried out to the media information stream file and promotion message stream file and forms independently decoded point of support Block file;
Address structure playlist based on the blocked file, the playlist is returned to the user side;
The request of blocked file in the playlist is directed in response to user side, it is corresponding to the user side sequential delivery Blocked file.
Second aspect, the embodiment of the present invention provide a kind of information popularization device, including:
Encapsulation unit, for being encoded respectively to media information and promotion message, the coded number obtained corresponding to encapsulation According to formation media information stream file and promotion message stream file;
Blocked file, support is formed for carrying out piecemeal processing to the media information stream file and promotion message stream file Independent decoded blocked file;
List cell, playlist is built for the address based on the blocked file, to described in user side return Playlist;
Transmission unit, for being directed to the request of blocked file in the playlist in response to user side, to the user The corresponding blocked file of side sequential delivery.
The third aspect, the embodiment of the present invention provide a kind of information popularization device, including:Memory and processor, memory In be stored with executable instruction, for causing processor to perform following operation:
Media information and promotion message are encoded respectively, the coded data obtained corresponding to encapsulation forms media information Stream file and promotion message stream file;
Piecemeal processing is carried out to the media information stream file and promotion message stream file and forms independently decoded point of support Block file;
Address structure playlist based on the blocked file, the playlist is returned to the user side;
The request of blocked file in the playlist is directed in response to user side, it is corresponding to the user side sequential delivery Blocked file.
Fourth aspect, the embodiment of the present invention provide a kind of storage medium, include executable instruction, for performing the present invention The information popularization method that embodiment provides.
The embodiment of the present invention has the advantages that:
Since the fusion of the address of media information and promotion message is in unified playlist, realize promotion message Effect of the address hiding in playlist, for user side, playlist is only for, for playing media information, using Family side can ask corresponding piecemeal according to the sequence of addresses of piecemeal in playlist, and in user side, locally decoding plays, and thus has Effect has bypassed the content filtering function of user side, promotion message is touched in time and is played out up to user side, ensure that information The promptness of popularization.
Brief description of the drawings
Fig. 1 is one of information popularization in the embodiment of the present invention and optionally realizes schematic diagram;
Fig. 2 is one optional flow diagram of information popularization method in the embodiment of the present invention;
Fig. 3-1 to Fig. 3-3 is that the optional of information popularization in the embodiment of the present invention realizes schematic diagram;
Fig. 4 is the optional software and hardware structure schematic diagram of information popularization device in the embodiment of the present invention;
Fig. 5 is one optional flow diagram of information popularization method in the embodiment of the present invention;
Fig. 6-1 is an optional schematic diagram of Container Format in the embodiment of the present invention;
Fig. 6-2 is an optional schematic diagram of the form using the stream file H.264 encoded in the embodiment of the present invention;
Fig. 6-3 is an optional schematic diagram for carrying out piecemeal processing in the embodiment of the present invention to stream file;
Fig. 6-4 is an optional schematic diagram for carrying out piecemeal processing in the embodiment of the present invention to stream file;
Fig. 6-5 is the network transmission model for transmitting blocked file in the embodiment of the present invention between transfer platform and user side An optional structure diagram;
Fig. 6-6 is an optional reality for transmitting blocked file in the embodiment of the present invention between transfer platform and user side Existing schematic diagram;
Fig. 6-7 is an optional flow diagram for adaptively switching stream file quality in the embodiment of the present invention;
Fig. 7 is an optional illustrative view of functional configuration of information popularization device in the embodiment of the present invention.
Embodiment
The present invention is further described in detail below with reference to the accompanying drawings and embodiments.It is it should be appreciated that mentioned herein Embodiment only to explain the present invention, is not intended to limit the present invention.In addition, embodiment provided below is to be used to implement The section Example of the present invention, rather than the whole embodiments for implementing the present invention are provided, creation is not paid in those skilled in the art Property work on the premise of, the embodiment of gained is recombinated to the technical solutions of following embodiments and based on to invention institute reality The other embodiment applied belongs to protection scope of the present invention.
It should be noted that in embodiments of the present invention, term " comprising ", "comprising" or its any other variant are intended to Cover non-exclusive inclusion, so that method or device including a series of elements not only will including what is be expressly recited Element, but also including other elements that are not explicitly listed, or further include for implementation or device it is intrinsic will Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element Method either also there are other relevant factor (such as the step in method or unit in device) in device.
For example, information popularization method provided in an embodiment of the present invention contains a series of step, but the present invention is implemented The information popularization method that example provides is not limited to described step, similarly, information popularization device provided in an embodiment of the present invention Include a series of units, but information popularization device provided in an embodiment of the present invention is not limited to include list be expressly recited Member, can also include the unit of required setting during to obtain relevant information or handled based on information.
Before the present invention will be described in further detail, the noun involved in the embodiment of the present invention and term are said Bright, noun and term involved in the embodiment of the present invention are suitable for following explanation.
Video crosses top (OTT, Over The Top) business, also referred to as Online Video business, refer to by internet to Family provides the form of service of live or program request media information, using operator network transmission mediums information data to use Family side, the medium of the network of operator as the data of media information.
Media information, media background request from the client of user side terminal operating to network side and in client terminal playing Video, audio etc..
Terminal:User side operation with Online Video ability to play client (such as various Online Video players, Browser etc.) equipment, can be that desktop computer, TV set-top box, Xbox/PS3 game machines, outdoor advertising display screen etc. are solid Determine terminal;Can also be the mobile terminals such as smart mobile phone, laptop, tablet computer and Ads on Vehicles display screen.
Promotion message, has the user (hereinafter referred to as information popularization user) of popularization demand, for the client of user side In required propagation information general designation, be different from client acquisition with the relevant business information of own service.
For example, videoconference client (such as dedicated video player, or browser played based on the page etc.) itself Business information be various Online Videos, multiple dynamic formation good friend dynamic streams, and promotion message can be advertiser demand communication to Meet the advertisement that the user of orientation fixed condition launches, or the grave news to all users push it is expected by news unit.
Promotion message can be the advertisement using media formats such as video, audios, such as bumper advertisements, bumper advertisements refer to For the advertisement played in the broadcast window window of whole (covering part or) of Online Video, it is included in the piece of video The advertisement played in head, run-out and playing process.
Ad ware development kit (SDK, Software Development Kit), to the video playing client of user side The advertisement development kit of the application programming interfaces (API, Application Program Interface) provided, video are provided Player can obtain advertisement in the window of video player by calling API, via API and present.
Referring to an optional configuration diagram of the information popularization method provided in an embodiment of the present invention shown in Fig. 1, bag Include media backstage, advertisement backstage and user's lateral terminal (OTT front ends).
Media backstage, can be realized by the form for the server or server cluster for being arranged on network side, be used for responding The client of family equipment online Media information playing request (such as write carry media information sequence number, or be directed toward media Storage address of the information on media backstage), the data for customer end that media information is returned to the client of user side plays.
Broadcast using the media information of the media information relative users side of the local database purchase in media backstage on media backstage Request is put, the data of requested media information are returned to user side.Certainly, database can be locally stored on media backstage, The storage server independently of media backstage can be used (to provide the storage of media information when the amount of storage of media information is larger Service) storage.
Advertisement backstage, can be realized by the form for the server or server cluster for being arranged on network side, whole with user side The advertisement SDK communications of end operation, the SDK that answers an advertisement obtain the request of advertisement, and advertisement is returned to advertisement SDK.
In one embodiment, advertisement backstage receives advertiser according to the advertisement to be put of setting and the orientation of advertisement Fixed condition, the user of orientation fixed condition is determined for compliance with according to the information of the advertisement SDK user sides collected.
For example, advertisement SDK can collect information in user's lateral terminal, such as hardware information (hardware configuration, the hardware-type of terminal Number), software information (title of software, version number), attribute information such as region, gender, age etc. of user, advertisement backstage according to The information that advertisement SDK is collected is matched with the orientation fixed condition of advertisement to be put, determines to need to transmit to advertisement SDK wide Accuse.
Exemplified by the advertisement played again when in playing video advertisement is bumper advertisements, the player of user side is according to user institute The video played is asked, goes to media backstage to pull the broadcast address of video using the sequence number of video, meanwhile, call user side to set The interface that standby advertisement SDK is provided, the broadcast address of advertisement is pulled by advertisement SDK to advertisement backstage (server), and advertisement SDK will The advertisement broadcast address pulled returns to player, and player asks corresponding data to carry out in the broadcast address based on video Before playing video, or during the corresponding data of broadcast address acquisition based on video play out, based on patch The broadcast address of advertisement pulls bumper advertisements and plays out.
Since advertisement SDK from player belongs to different processes, advertisement and video are corresponding processes respectively from different Backstage obtains, therefore when user's lateral terminal is provided with Ad blocking function, Ad blocking function can identify difference easily The source address of process requested data, so as to be lost in transport layer or network layer to the data from advertisement backstage Abandon, or directly shield the communication between advertisement SDK and advertisement backstage.
Since advertisement can not also be transmitted from advertisement background transfer to advertisement SDK for advertisement SDK without normal direction player Advertisement, so as to be shielded to advertisement SDK based on the bumper advertisements that bumper advertisements address pulls, makes advertisement can not be in player Middle broadcasting.
It is in view of the above-mentioned problems, optional referring to one of the information popularization method provided in an embodiment of the present invention shown in Fig. 2 Flow diagram, comprises the following steps:Step 101, media information and promotion message are encoded respectively, encapsulation is corresponding to be obtained The coded data arrived forms media information stream file and promotion message stream file;Step 102, to the media information stream file and Promotion message stream file carries out piecemeal processing and forms the independent decoded blocked file of support;Step 103, based on the blocked file Address structure playlist, return to the playlist to the user side;Step 104, in response to user side for described The request of blocked file in playlist, to the corresponding blocked file of user side sequential delivery.
Since the fusion of the address of media information and the blocked file of promotion message is in unified playlist, in user side Played out by the unified data for obtaining media information and promotion message of the client (such as player) of broadcasting media, for interior The data of client requesting itself will not be filtered for filtering function by holding, and which achieves the address of promotion message is hidden The effect being hidden in playlist, for user side, playlist is only for for playing media information, user side meeting Asking corresponding piecemeal according to the sequence of addresses of piecemeal in playlist, locally decoding plays in user side, thus effectively bypasses The content filtering function of user side, enables the client that promotion message is touched up to user side in time to play out, ensure that letter Cease the promptness promoted.
The embodiment of the present invention also provides the information popularization device for performing above- mentioned information promotion method, information popularization device Various ways can be used to implement, illustrated to following exemplary.
For example, after information popularization device can be provided as hardware entities-transfer independently of advertisement backstage and media backstage Platform (server), exemplarily, optional referring to the information popularization device shown in Fig. 3-1 realize schematic diagram, believe in Fig. 3-1 Breath promotes device and is embodied as transfer backstage, and transfer backstage can use the individual server in network side deployment, or multiple services The form in the high in the clouds that device is formed.
For another example realizing schematic diagram referring to the optional of the information popularization device shown in Fig. 3-2, information popularization device provides To be arranged on the software entity on media backstage-transfer backstage (module), run and realized by the hardware resource on media backstage.
In another example realizing schematic diagram referring to the optional of the information popularization device shown in Fig. 3-3, information popularization device provides To be arranged on the software entity on advertisement backstage-transfer backstage (module), run and realized by the hardware resource on advertisement backstage.
The embodiment of the present invention also provides the information popularization device for practicing above- mentioned information promotion method.In hardware view On, exemplarily, information popularization device can be realized based on the hardware resource of media platform side, or based on advertisement backstage side Hardware resource realizes, or based on being realized independently of the hardware resource of media platform side and advertisement backstage side, here hard Part resource includes such as processor and the computing resource of memory, the communication resource of such as network interface and realizes;On software view, information Promote device and may be embodied as being stored in executable instruction (including such as computer of program, module etc in storage medium Executable instruction).
As described above, when being realized with hardware resource of the information popularization device based on user's lateral terminal, referring to the letter shown in Fig. 4 Breath promotes an optional software and hardware structure schematic diagram of device 10, and information popularization device 10 includes hardware layer, intermediate layer, operation System layer and software layer.However, it will be understood by those of skill in the art that the structure of information popularization device 10 shown in Fig. 4 only For example, the restriction to 10 structure of information popularization device is not formed.For example, information popularization device 10 can be according to implementation needs Set compared with the more components of Fig. 4, or omission setting unit component is needed according to implementation.
The hardware layer of information popularization device 10 includes processor 11, input/output interface 13, storage medium 14 and network Interface 12, component can be through system bus connection communications.
Processor 11 can use central processing unit (CPU), microprocessor (MCU, Microcontroller Unit), specially With integrated circuit (ASIC, Application Specific Integrated Circuit) or logic programmable gate array (FPGA, Field-Programmable Gate Array) is realized.
Input/output interface 13 can use such as display screen, touch-screen, loudspeaker input/output device to realize.
Storage medium 14 can use the non-volatile memory mediums such as flash memory, hard disk, CD to realize, can also use double The volatile storage mediums such as rate (DDR, Double Data Rate) dynamic buffering are realized, wherein being stored with to perform above-mentioned letter Cease the executable instruction of promotion method.
Exemplarily, storage medium 14 can be with the other assemblies concentrated setting of information popularization device 10, can also be opposite Other assemblies distribution in information popularization device 10 is set.Network interface 12 provides external data such as strange land to processor 11 and sets The access ability for the storage medium 14 put, exemplarily, network interface 12 can be based on near-field communication (NFC, Near Field Communication) the short-range communication that technology, bluetooth (Bluetooth) technology, purple honeybee (ZigBee) technology carry out, in addition, It can also realize such as based on CDMA (CDMA, Code Division Multiple Access), wideband code division multiple access The communication of communication standards such as (WCDMA, Wideband Code Division Multiple Access) and its evolution standard.
Drive layer include be used for for operating system 16 identify hardware layer and with the middleware 15 of each assembly communication of hardware layer, example It such as can be the set for the driver of each component of hardware layer.
Operating system 16 be used for user oriented graphical interfaces is provided, exemplarily, including plug-in unit icon, desktop background and Application icon, operating system 16 support user via the control embodiment of the present invention of the graphical interfaces to equipment to the soft of the said equipment Part environment such as OS Type, version does not limit, for example, can be (SuSE) Linux OS, UNIX operating system or other Operating system.
Illustrated in the following, implementing information popularization method provided in an embodiment of the present invention with reference to Fig. 3-1 pairs of transfer backstages.
Referring to an optional flow diagram of the information popularization method shown in Fig. 5, comprise the following steps:
Step 201, transfer backstage receives the mark for the media information that user side request plays and user side request plays Promotion message mark.
As shown in figure 3-1, the player that operation plays online Media information in user side equipment (can also be to support media The clients such as the browser that information plays), user selectes in the media information list for broadcasting that player is presented to be needed The media information of broadcasting, it is possible to understand that ground, media information can be video format or audio format, such as choose that needs are watched one Collect TV play, or the song for choosing needs to listen to.
After user chooses the media information such as video (TV programme) that needs play or audio (Online Music), play It is directed toward with the data of acquisition request respective media information, address the address that device sends the media information that request plays to transfer backstage The media letter being stored in media backstage or other databases (for example, being exclusively used in the content distributing network of media information) Breath;Can alternatively, player can be asked to the mark of the other forms for the media information that the transmission request of transfer backstage plays The data for obtaining respective media information are sought, are such as used for the sequence number of unique mark media information.
User side equipment has also run advertisement SDK, and player calls advertisement SDK in the process of running, and advertisement SDK is according to certainly Whether the processing logical decision of body plays advertisement (such as bumper advertisements) when media information plays, as judged to need to play advertisement, Then to advertisement background request advertisement, especially, if advertisement SKD has obtained the relevant information of advertisement (such as advertisement in advance Address or sequence number), then the mark of the form such as address that can be based on advertisement or sequence number is to transfer background request advertisement.
For example, advertisement SDK carries out following decision-making:Whether first choice, detection user step in the client for playing media information Record, if be not logged in, judgement needs to play advertisement;As user is in login status, then detects user and whether buy and uses Exempt to play the service of advertisement, as user has bought the service, then judge that advertisement need not be played, otherwise, it is determined that needing to play Advertisement.
Advertisement SDK can be obtained from advertisement backstage in advance when called to be needed (such as to meet in the advertisement that user side plays Orient the advertisement of fixed condition) address or the form such as sequence number mark, and according to advertisement user side actual exposure feelings The advertisement that condition decision requests play.
For example, according to the priority orders of advertisement, and in the exposed advertisement of user side, to transfer background request not The advertisement of the limit priority of exposure.
Step 202, transfer backstage obtains the media information that needs to be encoded and described according to acquired mark Promotion message.
Continue aforementioned exemplary, the address for the media information that transfer backstage is sent based on player or sequence number, Ke Yi The media information that the database of media backstage or other forms (such as content distributing network) positioning user side request plays.
Certainly, it should be pointed out that transfer backstage is suitable for the live scene and program request scene of media information.For example, such as It is preceding described, supporting the application of media information (such as recording TV program, film) that user chooses making to finish by player In scene, media information can be the data on media backstage or other database purchases, such as in storage database in advance The TV play having had been taken data, transfer backstage by user side return respective media information data realize media The program request of information.
Or media information can be by being connected and obtaining real-time with media information collecting device (such as camera) (such as concert scene) video data of collection site, when user side request plays the live media information, transfer backstage The video data at scene can be equally returned to user side.
Step 203, transfer backstage encodes media information and promotion message respectively.
The data volume of digitized media information such as voice data and video data is very big, and larger data volume is net The sensible factor of network transmission, therefore, it is necessary to carry out necessary compression to media information before network transmission is carried out to user side Coding, reduces the pressure of network transmission, is corresponded to according to the data format of media information and is compressed coding.
In one embodiment, coding is compressed to the media information of video format using video compression algorithm, used Audio compression algorithm is compressed coding to the media information of audio format;Similarly, using video compression algorithm to video lattice The promotion message of formula is compressed coding, and coding is compressed to the promotion message of audio format using audio compression algorithm.
For example, combined using the compression algorithm of H.264 video compression algorithm+AAC audio compression algorithms.With using H.264 Exemplified by video compression algorithm is compressed coding to video data, pass through video coding layer (VCL, the Video of coding H.264 Coding Layer) and network abstract layer (NAL, Network Abstraction Layer) realize, video coding layer to regarding Frequency is according to being encoded, including the content such as estimation, entropy coding, and the data volume after coding is able to reduce so as to adapt to network Transmission.
Step 204, transfer backstage is corresponding encapsulates obtained coded data formation media information stream file and promotion message Stream file.
, will be to media information in the video coding layer of coding H.264 still exemplified by using H.264 video compression algorithm The data i.e. coded data obtained after coding are packaged to form media information stream file;Obtained after being encoded to promotion message Data i.e. coded data be packaged to form promotion message stream file.By encapsulating obtained H.264 compressed encoding lattice The stream file of formula has network adaptability, can easily be transmitted on the heterogeneous networks between user side and transfer platform.
In one embodiment, the encapsulation for coded data is adopted in such a way, in the track of the first format container The coded data for filling the media information obtains the media information stream file, described in the track filling in the second format container The coded data of promotion message obtains the promotion message stream file.Wherein, the first format container and the second format container can be with For identical format container, such as MP4 format containers;It is of course also possible to be the container of different-format, such as the first format container For MP4 format containers, the second format container is MKV format containers, or is FLV format containers.
Container Format is corresponding with stream file, such as MP4 forms.For a kind of format container, a variety of different rails can be included Road, each track can be used for storing the information such as video data, voice data or text after compressed encoding.To include at the same time Exemplified by the media information of media data and voice data, the effect of container is the video data and voice data after compressed encoding It is placed on the different tracks of same stream file, addition information is convenient to be played back at the same time, and by coded data arrangement as compact as possible.
Usually, Container Format includes following three parts:
Header:The base attribute information such as tab file type, audio-video code stream.
Index:The information such as concordance list, video frame corresponding offset, size and timestamp.
Stream:Audio and video uncorrected data.
A typical structure schematic diagram of MP4 Container Formats is given in Fig. 6-1, is mainly made of box (box), MP4 Format container is a kind of container of nesting step by step.MP4 Container Formats are made of several box, and each box has type and length, Different information or data can be filled.Box can be understood as data object block, other box can be included in some box, This box is known as combining (contained) box.Four bytes (32) of the box beginnings of standard are box sizes (size), bag Include box heads (header) and box bodies (body).Size followed by 32 be box types (type), be usually four words Symbol, such as " ftyp ", " moov ", each box have the information that fixed form and needs are filled.Wherein ftyp box have and only There is one, it is impossible to included by other box.The box should be placed in most starting for file, indicate the correlation of MP4 files application Information.Moov box equally only one, under normal circumstances, " moov " can follow " ftyp " appearance closely, under normal circumstances, in moov 1 mvhd and several trak can be included.Wherein mvhd is header box, is occurred generally as first sub- box of moov (for other container box, header box, which should be used as first sub- box, to be occurred), trak must include one Tkhd and mdiz, in addition with many optional box.
In all box, filling information and data are relatively more and important box is stbl box (sample Table box), which contains sample institute's having times and the information of position, and coding information of sample etc., is MP4 Most complicated box in format container, can contain the next stage box such as stsd, stts and stsz.
Stsb contains data type information and the information of coding, such as:The coding mode of audio and video, the width of video and The high, sound channel of audio.
Stts stores the duration information of sample (sample), describes the mapping relations of sample sequential, and crossing it can be with Find the sample. of any time
Stsz contains the size information of sample.
Above box belongs to the index matrix section of container, and in MP4 format containers, video, the data of audio are in mdat Stored in box.
H.264 the video flowing (file) encoded is made of a series of NAL unit, and one-frame video data is encapsulated in one A or multiple NAL units.
One optional schematic diagram of the form for the stream file that H.264 use as shown in Fig. 6-2 encodes, including SPPS and SEI Supplemental Enhancement Informations (SEI, Supplemental Enhancement Inforamtion) are decoded for video;Wherein, SPPS points are sequence parameter set (SPS, Sequence Parameter Set) and picture parameter set (PPS, Picture Parameter Set), including the essential information such as video height, width;Further include image sets namely continuous image (GOP, Group Of Picture), each GOP includes refresh frame (IDIR, Instantaneous Decoding Refresh) immediately With non_IDR frames, non_IDR frames refer to the non-every IDR frame for being included in P frames etc..
Step 205, transfer backstage carries out piecemeal processing to the media information stream file and promotion message stream file, is formed Support independent decoded blocked file.
In one embodiment, transfer backstage uses the time of length-specific as piecemeal length, to media information current text Part and promotion message stream file carry out piecemeal processing and form blocked file, in order to realize that each blocked file is transferred to user side energy The purpose being enough decoded independently, in each blocked file can also encapsulate description information for indicate how to blocked file into Row decoding, certainly, since description information can be multiplexed for each blocked file of same stream file, description Information can also be encapsulated only in first blocked file that piecemeal is handled.
For example, carry out piecemeal processing for stream file (media information stream file as the aforementioned, or promotion message file) An optional processing schematic diagram as shown in Fig. 6-3, media information stream file is carried out with specific piecemeal length (1 minute) Piecemeal, in each blocked file, except the stream file piecemeal including media information stream file, further includes for the stream file Piecemeal carries out independent decoded description information.
Wherein, when stream file is that the coded data compressed based on H.246 algorithm coding is packaged to obtain, piecemeal Description information in file is SSPS information;For another example when stream file is the coded number that is compressed based on H.264 algorithm coding During according to being packaged to obtain, the description information in blocked file is transport stream format information (ADTS, Audio Data Transport Stream) information.
For another example carried out for stream file (media information stream file as the aforementioned, or promotion message file) at piecemeal Shown in the optional processing schematic diagram Fig. 6-4 of one of reason, media information stream file is carried out with specific piecemeal length (1 minute) Piecemeal, in first obtained blocked file, except the stream file piecemeal including media information stream file, further include for pair The stream file piecemeal carries out independent decoded description information, since the description information in first blocked file can be for user side Player other blocked files in same stream file are decoded, therefore, in other blocked files can only include stream File block, to reduce the complexity of piecemeal processing.
To carry out piecemeal processing to stream file as piecemeal length using the length-specific time in previous embodiment, in Turn for platform, here, piecemeal length used in progress piecemeal processing can be changeless, use unified piecemeal to grow Degree carries out piecemeal to all media information stream files and promotion message stream file, so that when user side asks media information, Ensure the data continuity of media information returned to user side.
In another embodiment, ability to play requirement of the piecemeal length difference then to user side player also differs, Piecemeal length can be otherwise varied according to the ability to play with different user side, transfer broadcasting of the backstage based on the user side Ability determines the piecemeal length being adapted.
For example, the quantized value based on user side player (client) ability, including the video resolution of support, decoding energy The quantized value of power, the Container Format supported etc., the quantized value of resource (workable caching) situation of client, calculates to user The length (point fast length) of the blocked file of side transmission, usually, ability to play and the piecemeal length of user side are positive correlation (examples Such as, linear positive correlation) relation, the ability to play of user side is more strong, and the piecemeal length supported is also bigger.
It is bigger to the piecemeal length of user side transmission when the ability to play of user side is stronger, save network transmission time Number, reduces because being spaced larger since network transmission bandwidth limits between blocked file, causes the decoding of blocked file to broadcast Discontinuous problem is put, ensures the result of broadcast in user side smoothness.
Step 206, address structure playlist of the transfer backstage based on the blocked file.
Step 207, transfer backstage returns to the playlist to the user side.
Step 208, the lateral transfer backstage of user sends the request of data of the address based on the blocked file.
In one embodiment, in step 206, transfer is from the background according to the promotion message relative to the media information Playing sequence, the address of the corresponding piecemeal for arranging the media information stream file and point of the promotion message stream file The address of block, the playlist is formed based on the address arranged.
For example, it is assumed that after carry out piecemeal for media information stream file, video blocked file 1 and video piecemeal are formed File 2, after carrying out piecemeal for promotion message stream file, forms advertisement blocked file 1 and advertisement blocked file 2.
So, when needing to play bumper advertisements before user watches video, M3U8 is formed based on blocked file address One example of playlist is as follows:
#EXTM3U
1 address of advertisement blocked file+advertisement blocked file 1.ts
2 addresses of advertisement blocked file+advertisement blocked file 2.ts
Video blocked file 1+ video blocked files 1.ts
Video blocked file 2+ video blocked files 2.ts
#EXT-X-ENDLIST
It is not shown in above-mentioned M3U8 playlists and the other details in addition to blocked file puts in order, this area skill Art personnel putting in order based on above-mentioned blocked file can implement complete M3U8 playback volumes listing file easily.
As can be seen that each blocked file in M3U8 playlists provides the full detail of positioning blocked file:Point The storage address of block file and blocked file title.After user side is getting above-mentioned playlist, it can be played according to M3U8 Each blocked file putting in order to corresponding Address requests blocked file and being decoded in user side and plays in list, so as to fulfill The advertisement blocked file 1 and advertisement blocked file 2 of bumper advertisements are played first, then play 1 He of video blocked file of video The effect of video blocked file 2.
It is to be appreciated that other the opposite playing sequences for the video and bumper advertisements watched are needed for user, as long as The arranged opposite order of corresponding sub-block file is adjusted in M3U8 playlists, for example, when needs are in the playing process of video During middle broadcasting bumper advertisements, an optional example of corresponding M3U8 playlists is:
#EXTM3U
1 address of advertisement blocked file+advertisement blocked file 1.ts
2 addresses of advertisement blocked file+advertisement blocked file 2.ts
Video blocked file 1+ video blocked files 1.ts
Video blocked file 2+ video blocked files 2.ts
#EXT-X-ENDLIST
In another embodiment, in order to avoid user side content filtering function based on the file name in playlist The situation that promotion message is filtered is carried out to advertisement, such as content filtering function can be based on the sensitive word in playlist " advertisement " and block the communication process that user side obtains the corresponding blocked file of advertisement.For this problem, in the played column Be in table the media information stream file piecemeal and the promotion message piecemeal distribution same names prefix, and with Numbering is the piecemeal of the media information stream file and the piecemeal distribution name of the promotion message to the playing sequence accordingly Claim suffix.
For example, for the foregoing M3U8 playlists that bumper advertisements are played before video is played, can be changed to:
#EXTM3U
FileSequence1 addresses+fileSequence1.ts
FileSequence2 addresses+fileSequence2.ts
FileSequence3 addresses+fileSequence3.ts
FileSequence4 addresses+fileSequence4.ts
#EXT-X-ENDLIST
As can be seen that since the piecemeal of media information stream file and the piecemeal of the promotion message distribute same names Prefix " fileSequence ", for the content filtering function of user side, the title for being based purely on blocked file can not area Divide video and bumper advertisements, so as to easily pass around the detection of content filtering services, make the blocked file of bumper advertisements suitable The player that profit is transferred to user side plays out.
In another embodiment, in order to avoid user side content filtering function based on the file in playlist not Situation about being filtered with storage address to promotion message, is identified with the source of the blocked file of video information not for example, working as (source address of video can pass through collecting to existing video database during the blocked file of the same promotion message To), i.e., the communication that bumper advertisements are obtained to user side shields.For this problem, transfer backstage can be in same position The piecemeal of the media information stream file and the piecemeal of the promotion message stream file are stored (for example, local on transfer backstage Storage, alternatively, being stored in same content distributing network), it is thus possible to be the media information current text in the playlist The piecemeal of part, in the playlist be the piecemeal of the media information stream file and the promotion message stream file Piecemeal distributes identical address prefix, and described address prefix is directed toward the position of storage corresponding sub-block.
For example, the foregoing M3U8 playlists that bumper advertisements are played before video is played, can be changed to:
#EXTM3U
http://fileSequence+fileSequence1.ts
http://fileSequence+fileSequence2.ts
http://fileSequence+fileSequence3.ts
http://fileSequence+fileSequence4.ts
#EXT-X-ENDLIST
As can be seen that due to the piecemeal of the media information stream file and the piecemeal of the promotion message stream file Identical source address is " http://fileSequence ", this has just prevented the content filtering services shielding user of user side Side obtains the situation of the blocked file of bumper advertisements.
Step 209, blocked file is transmitted in transfer backstage to the user side.
Step 210, user side player decoding plays blocked file.
In one embodiment, in order to realize in the case of the network transmission bandwidth stabilization of transfer background user side, in Turn the single cbr (constant bit rate) that backstage can determine to be adapted based on network transmission bandwidth and the positive correlation of code check, for example, The more big then code check of network transmission bandwidth is higher, so that the credit rating of coded data is higher, based on single cbr (constant bit rate) to matchmaker Body information and promotion message are compressed coding, and the media information stream file and promotion message stream file obtained to coding divides Block, therefore, the code check of the formed blocked file of piecemeal processing is also single cbr (constant bit rate).
Fluctuation inevitably occurs for the network transmission bandwidth of transfer backstage and user side, it is necessary to realize that such technology is imitated Fruit:Network transmission bandwidth higher transmission high quality rank blocked file to be lifted at the result of broadcast of user side, and in net The blocked file with respect to low quality level is transmitted in the case that network transmission bandwidth is relatively low to ensure that the smooth broadcasting of user side is imitated Fruit.
Correspondingly, in another embodiment, transfer backstage can be based on the corresponding code check of at least two quality scales, point It is other that the media information and the promotion message are carried out to encode the coded data for forming phase code rate, obtained corresponding to encapsulation Coded data forms the media information stream file of phase code rate and the promotion message stream file, and to promotion message stream text Part and media information stream file carry out piecemeal processing, form the blocked file of different quality rank.
The quality scale that transfer backstage determines to match based on the network transmission bandwidth between the user side, judges institute State quality scale whether with piecemeal processing used in transport stream quality scale it is inconsistent when, switching use the matched matter The other transport stream of magnitude carries out piecemeal processing and forms the independent decoded blocked file of support.
One example is as shown in Fig. 6-5 to Fig. 6-7, referring first to Fig. 6-5, in hypertext transfer protocol (HTTP, Hyper Text Transfer Protocol) layer, transfer backstage establishes the session for being used for transmission blocked file, and session with user side Control (such as session timeout handle), the adaptive of the quality scale of the blocked file transmitted to user side is also realized on transfer backstage It should control.
Referring to Fig. 6-6, blocked file is transmitted in transfer backstage with user side using the direction of HTTP request-http response, with Exemplified by blocked file 1 in user side request playlist, the lateral transfer background request of user is (here, suppose that in playlist The storage address of blocked file is directed toward transfer backstage) with acquisition request blocked file 1, transfer backstage in a manner of http response to User side returns to the data of blocked file 1, and since blocked file 1 carries description information, user side is receiving piecemeal text I.e. decodable code plays after part 1.
In transfer background transfer blocked file, can be determined according to the network transmission bandwidth situation of user side in user side Ask whether to switch during next blocked file the quality scale of blocked file, referring to Fig. 6-7, transfer backstage passes through three aspects Information:The resource situation of current network, the situation and media of the client of active user side are from the background for the media of adaptation Information, judge transmission piecemeal quality scale whether with current bandwidth Optimum Matching, and combine client ability (support Video resolution, decoding capability, the Container Format etc. supported) and resource (workable caching) situation and transfer from the background for The media information of adaptation determines whether need quality of handoff rank during the next stream file piecemeal of transmission/reception.Wherein, using current The time of the media file piecemeal of transmission/reception calculates current network bandwidth.
The functional structure that device is promoted to aforementioned information illustrates, referring to one of the information popularization device 20 shown in Fig. 7 A optional illustrative view of functional configuration, including:Encapsulation unit 21, blocking unit 22, list cell 23 and transmission unit 24, below Each unit is illustrated.
Encapsulation unit 21, for being encoded respectively to media information and promotion message, the coding obtained corresponding to encapsulation Data form media information stream file and promotion message stream file.
In one embodiment, the encapsulation unit 21, is additionally operable to the number according to the media information, the promotion message Corresponded to according to form and be compressed coding, wherein the data format includes at least one video format and audio format.
For example, being compressed coding to the media information of video format using video compression algorithm, calculated using audio compression Method is compressed coding to the media information of audio format;Similarly, believed using popularization of the video compression algorithm to video format Breath is compressed coding, and coding is compressed to the promotion message of audio format using audio compression algorithm.
In one embodiment, the encapsulation unit 21, is additionally operable to fill the media in the track of the first format container The coded data of information obtains the media information stream file, and, believe in described promote of track filling of the second format container The coded data of breath obtains the promotion message stream file.
For example, the encapsulation for coded data is adopted in such a way, the matchmaker is filled in the track of the first format container The coded data of body information obtains the media information stream file, and the promotion message is filled in the track of the second format container Coded data obtains the promotion message stream file.Wherein, the first format container can be identical lattice with the second format container Formula container, such as MP4 format containers;It is of course also possible to be the container of different-format, such as the first format container is MP4 forms Container, the second format container are MKV format containers, or are FLV format containers.
Blocking unit 22, branch is formed for carrying out piecemeal processing to the media information stream file and promotion message stream file Hold independent decoded blocked file.
For another example carried out for stream file (media information stream file as the aforementioned, or promotion message file) at piecemeal Shown in the optional processing schematic diagram Fig. 6-4 of one of reason, media information stream file is carried out with specific piecemeal length (1 minute) Piecemeal, in first obtained blocked file, except the stream file piecemeal including media information stream file, further include for pair The stream file piecemeal carries out independent decoded description information, since the description information in first blocked file can be for user side Player other blocked files in same stream file are decoded, therefore, in other blocked files can only include stream File block, to reduce the complexity of piecemeal processing.
It is foregoing that piecemeal processing is carried out to stream file using the use length-specific time as piecemeal length, come for transfer platform Say, here, piecemeal length used in progress piecemeal processing can be changeless, using unified piecemeal length to all Media information stream file and promotion message stream file carry out piecemeal so that when user side asks media information, ensure to The data continuity for the media information that family side returns.
In one embodiment, the blocking unit 22, is additionally operable to the ability to play based on the user side and determines mutually to fit The piecemeal length matched somebody with somebody, the media information stream file and promotion message stream file are carried out at piecemeal with identified piecemeal length Reason forms blocked file, at least one blocked file encapsulation decoded information.
Piecemeal length difference then also differs the requirement of the ability to play of user side player, piecemeal length can according to The ability to play of different user side and it is otherwise varied, ability to play of the blocking unit 22 based on the user side determines what is be adapted Piecemeal length.
For example, the quantized value based on user side player (client) ability, including the video resolution of support, decoding energy The quantized value of power, the Container Format supported etc., the quantized value of resource (workable caching) situation of client, calculates to user The length (point fast length) of the blocked file of side transmission, usually, ability to play and the piecemeal length of user side are positive correlation (examples Such as, linear positive correlation) relation, the ability to play of user side is more strong, and the piecemeal length supported is also bigger.
It is bigger to the piecemeal length of user side transmission when the ability to play of user side is stronger, save network transmission time Number, reduces because being spaced larger since network transmission bandwidth limits between blocked file, causes the decoding of blocked file to broadcast Discontinuous problem is put, ensures the result of broadcast in user side smoothness.
List cell 23, playlist is built for the address based on the blocked file, and institute is returned to the user side State playlist.
In one embodiment, the list cell 23, is additionally operable to relative to the media be believed according to the promotion message The playing sequence of breath, the address of the corresponding piecemeal for arranging the media information stream file and the promotion message stream file The address of piecemeal, the playlist is formed based on the address arranged.
For example, it is assumed that after carry out piecemeal for media information stream file, video blocked file 1 and video piecemeal are formed File 2, after carrying out piecemeal for promotion message stream file, forms advertisement blocked file 1 and advertisement blocked file 2.
So, when needing to play bumper advertisements before user watches video, M3U8 is formed based on blocked file address One example of playlist is as follows:
#EXTM3U
1 address of advertisement blocked file+advertisement blocked file 1.ts
2 addresses of advertisement blocked file+advertisement blocked file 2.ts
Video blocked file 1+ video blocked files 1.ts
Video blocked file 2+ video blocked files 2.ts
#EXT-X-ENDLIST
It is not shown in above-mentioned M3U8 playlists and the other details in addition to blocked file puts in order, this area skill Art personnel putting in order based on above-mentioned blocked file can implement complete M3U8 playback volumes listing file easily.
As can be seen that each blocked file in M3U8 playlists provides the full detail of positioning blocked file:Point The storage address of block file and blocked file title.After user side is getting above-mentioned playlist, it can be played according to M3U8 Each blocked file putting in order to corresponding Address requests blocked file and being decoded in user side and plays in list, so as to fulfill The advertisement blocked file 1 and advertisement blocked file 2 of bumper advertisements are played first, then play 1 He of video blocked file of video The effect of video blocked file 2.
It is to be appreciated that other the opposite playing sequences for the video and bumper advertisements watched are needed for user, as long as The arranged opposite order of corresponding sub-block file is adjusted in M3U8 playlists,
In one embodiment, the list cell 23, is additionally operable in the playlist be the media information current The piecemeal of the piecemeal of file and the promotion message stream file distributes same names prefix, and is according to the playing sequence The piecemeal distributes corresponding sequence number as title suffix.
In another embodiment, in order to avoid user side content filtering function based on the file name in playlist The situation that promotion message is filtered is carried out to advertisement, such as content filtering function can be based on the sensitive word in playlist " advertisement " and block the communication process that user side obtains the corresponding blocked file of advertisement.For this problem, the list cell 23, it is additionally operable in the playlist be the piecemeal of the media information stream file and the promotion message stream file Piecemeal distributes identical address prefix, and described address prefix is directed toward the position of storage corresponding sub-block.As can be seen that due to media information The piecemeal of the piecemeal of stream file and the promotion message distributes same names, for the content filtering function of user side, The title for being based purely on blocked file cannot be distinguished by video and bumper advertisements, so as to easily pass around content filtering services Detection, makes the blocked file of bumper advertisements smoothly be transferred to the player of user side and plays out.
In one embodiment, the list cell 23, is additionally operable to obtain the mark for the media information that user side request plays The mark for the promotion message that knowledge and user side request play, according to encoding acquired mark acquisition needs Media information and the promotion message.
In one embodiment, in order to realize in the case of the network transmission bandwidth stabilization of transfer background user side, institute The single cbr (constant bit rate) that encapsulation unit 21 can determine to be adapted based on network transmission bandwidth and the positive correlation of code check is stated, For example, the more big then code check of network transmission bandwidth is higher, so that the credit rating of coded data is higher, based on single cbr (constant bit rate) Coding is compressed to media information and promotion message, to the obtained media information stream file of coding and promotion message stream file into Row piecemeal, therefore, the code check of the formed blocked file of piecemeal processing is also single cbr (constant bit rate).
In another embodiment, fluctuation inevitably occurs, it is necessary to realize this with the network transmission bandwidth of user side The technique effect of sample:Imitated in the blocked file of network transmission bandwidth higher transmission high quality rank with being lifted at the broadcasting of user side Fruit, and the blocked file with respect to low quality level is transmitted to ensure the smoothness of user side in the case where network transmission bandwidth is relatively low Result of broadcast.Correspondingly, the encapsulation unit 21, is additionally operable to be based on the corresponding code check of at least two quality scales, right respectively The media information and the promotion message carry out the coded data that coding forms phase code rate, the coding obtained corresponding to encapsulation Data form the media information stream file of phase code rate and the promotion message stream file.
Transmission unit 24, for being directed to the request of blocked file in the playlist in response to user side, to the use The corresponding blocked file of family side sequential delivery.
In one embodiment, the transmission unit 24, be additionally operable to based on the sending time with the blocked file and Receiving time determines the network transmission bandwidth with the user side, and phase is determined based on the network transmission bandwidth between the user side Matched quality scale, when judging the quality scale and the inconsistent quality scale of the blocked file of transmission, switching transmission The blocked file of the matched quality scale.
In conclusion the embodiment of the present invention realizes following beneficial effect:
1) since the fusion of the address of media information and promotion message is in unified playlist, realize promotion message Effect of the address hiding in playlist, for user side, playlist is only for for playing media information, User side can ask corresponding piecemeal according to the sequence of addresses of piecemeal in playlist, and in user side, locally decoding plays, thus The content filtering function of user side has effectively been bypassed, promotion message is touched in time and is played out up to user side, ensure that letter Cease the promptness promoted.
2) it is that the piecemeal of the media information stream file and the piecemeal of the promotion message divide in the playlist With same names prefix, and with it is corresponding with the playing sequence numbering be the media information stream file piecemeal, Yi Jisuo State the piecemeal distribution title suffix of promotion message.The content filtering function of user side is avoided based on the file name in playlist The situation that promotion message is filtered is carried out to advertisement, promotion message is smoothly touched and reaches user side.
3) same names prefix is distributed for the piecemeal of media information stream file and the piecemeal of the promotion message, for For the content filtering function of user side, the title for being based purely on blocked file cannot be distinguished by video and bumper advertisements, so as to Enough easily pass around the detection of content filtering services, make bumper advertisements blocked file be smoothly transferred to the player of user side into Row plays.
4) for the media information stream file piecemeal and the promotion message stream file piecemeal source address phase Together, this content filtering services shielding user side for just having prevented user side obtains the situation of the blocked file of bumper advertisements, makes patch The player that the blocked file of piece advertisement is smoothly transferred to user side plays out.
It will be appreciated by those skilled in the art that:Journey can be passed through by realizing all or part of step of above method embodiment Sequence instructs relevant hardware to complete, and foregoing program can be stored in a computer read/write memory medium, which exists During execution, execution the step of including above method embodiment;And foregoing storage medium includes:Flash memory device, deposit at random Access to memory (RAM, Random Access Memory), read-only storage (ROM, Read-Only Memory), magnetic disc or CD etc. is various can be with the medium of store program codes.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and is used as independent product Sale in use, can also be stored in a computer read/write memory medium.Based on such understanding, the present invention is implemented The part that the technical solution of example substantially in other words contributes correlation technique can be embodied in the form of software product, The computer software product is stored in a storage medium, including some instructions are used so that computer installation (can be with It is personal computer, server or network equipment etc.) perform all or part of each embodiment the method for the present invention. And foregoing storage medium includes:Flash memory device, RAM, ROM, magnetic disc or CD etc. are various can be with store program codes Medium.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (16)

  1. A kind of 1. information popularization method, it is characterised in that including:
    Media information and promotion message are encoded respectively, the coded data obtained corresponding to encapsulation forms media information current text Part and promotion message stream file;
    Piecemeal processing is carried out to the media information stream file and promotion message stream file and forms the independent decoded piecemeal text of support Part;
    Address structure playlist based on the blocked file, the playlist is returned to the user side;
    The request of blocked file in the playlist is directed in response to user side, is divided accordingly to the user side sequential delivery Block file.
  2. 2. the method as described in claim 1, it is characterised in that the address structure played column based on the blocked file Table, including:
    Playing sequence according to the promotion message relative to the media information, the corresponding arrangement media information stream file The address of the piecemeal of the address of piecemeal and the promotion message stream file, the played column is formed based on the address arranged Table.
  3. 3. the method as described in claim 1, it is characterised in that further include:
    It is that the piecemeal of the media information stream file and the piecemeal of the promotion message stream file divide in the playlist Corresponding sequence number is distributed as title suffix for the piecemeal with same names prefix, and according to the playing sequence.
  4. 4. the method as described in claim 1, it is characterised in that further include:
    It is that the piecemeal of the media information stream file and the piecemeal of the promotion message stream file divide in the playlist With identical address prefix, described address prefix is directed toward the position of storage corresponding sub-block.
  5. 5. the method as described in claim 1, it is characterised in that further include:
    Obtain the mark for the media information that user side request plays and the mark of the promotion message of user side request broadcasting, root The media information for needing to be encoded and the promotion message are obtained according to acquired mark.
  6. 6. the method as described in claim 1, it is characterised in that it is described that media information and promotion message are encoded respectively, The coded data obtained corresponding to encapsulation forms media information stream file and promotion message stream file, including:
    Based on the corresponding code check of at least two quality scales, coding shape is carried out to the media information and the promotion message respectively Into the coded data of phase code rate, the coded data obtained corresponding to encapsulation forms the media information stream file of phase code rate With the promotion message stream file.
  7. 7. the method as described in claim 1, it is characterised in that further include:
    The quality scale for determining to match based on the network transmission bandwidth between the user side, judge the quality scale with When the quality scale of the transmitted blocked file of piecemeal processing is inconsistent, the piecemeal text of the matched quality scale is transmitted in switching Part.
  8. 8. the method as described in claim 1, it is characterised in that described to the media information stream file and promotion message stream text Part carries out piecemeal processing and forms the independent decoded blocked file of support, including:
    Ability to play based on the user side determines the piecemeal length being adapted, and to the media information stream file and promotes letter Cease stream file and piecemeal processing formation blocked file is carried out with identified piecemeal length, encapsulated at least one blocked file Decoded information.
  9. 9. the method as described in claim 1, it is characterised in that described that corresponding media are believed respectively based on acquired mark Breath and promotion message are encoded, including:
    Corresponded to according to the data format of the media information, the promotion message and be compressed coding, wherein the data format Including at least one video format and audio format.
  10. 10. the method as described in claim 1, it is characterised in that further include:
    Sending time and receiving time based on the blocked file determine the network transmission bandwidth between user side.
  11. 11. the method as described in claim 1, it is characterised in that the corresponding obtained coded data of encapsulation forms media Information stream file and promotion message stream file, including:
    The coded data that the media information is filled in the track of the first format container obtains the media information stream file, with And the coded data of the track filling promotion message in the second format container obtains the promotion message stream file.
  12. A kind of 12. information popularization device, it is characterised in that including:
    Encapsulation unit, for being encoded respectively to media information and promotion message, the coded data shape obtained corresponding to encapsulation Into media information stream file and promotion message stream file;
    Blocked file, support is formed independently for carrying out piecemeal processing to the media information stream file and promotion message stream file Decoded blocked file;
    List cell, playlist is built for the address based on the blocked file, and the broadcasting is returned to the user side List;
    Transmission unit, it is suitable to the user side for being directed to the request of blocked file in the playlist in response to user side Sequence transmits corresponding blocked file.
  13. 13. information popularization device as claimed in claim 12, it is characterised in that
    The list cell, is additionally operable to the playing sequence relative to the media information according to the promotion message, corresponding arrangement The address of the piecemeal of the address of the piecemeal of the media information stream file and the promotion message stream file, based on being arranged Address form the playlist.
  14. 14. information popularization device as claimed in claim 12, it is characterised in that further include:
    The list cell, is additionally operable in the playlist be the piecemeal of the media information stream file and described push away The piecemeal distribution same names prefix of Guangxin breath stream file, and according to the playing sequence corresponding sequence number is distributed for the piecemeal As title suffix.
  15. 15. information popularization device as claimed in claim 12, it is characterised in that further include:
    The list cell, is additionally operable in the playlist be the piecemeal of the media information stream file and described push away The piecemeal distribution identical address prefix of Guangxin breath stream file, described address prefix are directed toward the position of storage corresponding sub-block.
  16. 16. information popularization device as claimed in claim 12, it is characterised in that
    The list cell, the mark and user side request for being additionally operable to obtain the media information that user side request plays play Promotion message mark, the media information for needing to be encoded is obtained according to acquired mark and described promote is believed Breath.
CN201610896647.6A 2016-10-13 2016-10-13 Information promotion method and information promotion device Active CN107948685B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610896647.6A CN107948685B (en) 2016-10-13 2016-10-13 Information promotion method and information promotion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610896647.6A CN107948685B (en) 2016-10-13 2016-10-13 Information promotion method and information promotion device

Publications (2)

Publication Number Publication Date
CN107948685A true CN107948685A (en) 2018-04-20
CN107948685B CN107948685B (en) 2020-07-24

Family

ID=61928939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610896647.6A Active CN107948685B (en) 2016-10-13 2016-10-13 Information promotion method and information promotion device

Country Status (1)

Country Link
CN (1) CN107948685B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109948088A (en) * 2019-02-15 2019-06-28 广东小天才科技有限公司 Advertisement blocking method and system
CN111447459A (en) * 2020-05-14 2020-07-24 杭州当虹科技股份有限公司 Rtmp self-adaptive code rate realizing method
WO2021244132A1 (en) * 2020-06-04 2021-12-09 腾讯科技(深圳)有限公司 Immersive media data processing method, apparatus and device, and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668194A (en) * 2008-09-05 2010-03-10 中兴通讯股份有限公司 Method and device for inserting and playing advertisement based on content fragmentation
CN103686255A (en) * 2013-11-22 2014-03-26 乐视致新电子科技(天津)有限公司 Video advertisement putting method and device based on HLS protocol
CN103716656A (en) * 2013-12-11 2014-04-09 乐视网信息技术(北京)股份有限公司 Video loading method and electronic device
CN104394443A (en) * 2014-09-16 2015-03-04 东方有线网络有限公司 Method for dynamically inserting and broadcasting program in HLS live broadcast streaming medium
CN105049896A (en) * 2015-07-23 2015-11-11 Tcl集团股份有限公司 HLS protocol-based streaming media advertisement inserting method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668194A (en) * 2008-09-05 2010-03-10 中兴通讯股份有限公司 Method and device for inserting and playing advertisement based on content fragmentation
CN103686255A (en) * 2013-11-22 2014-03-26 乐视致新电子科技(天津)有限公司 Video advertisement putting method and device based on HLS protocol
CN103716656A (en) * 2013-12-11 2014-04-09 乐视网信息技术(北京)股份有限公司 Video loading method and electronic device
CN104394443A (en) * 2014-09-16 2015-03-04 东方有线网络有限公司 Method for dynamically inserting and broadcasting program in HLS live broadcast streaming medium
CN105049896A (en) * 2015-07-23 2015-11-11 Tcl集团股份有限公司 HLS protocol-based streaming media advertisement inserting method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109948088A (en) * 2019-02-15 2019-06-28 广东小天才科技有限公司 Advertisement blocking method and system
CN109948088B (en) * 2019-02-15 2022-10-14 广东小天才科技有限公司 Advertisement blocking method and system
CN111447459A (en) * 2020-05-14 2020-07-24 杭州当虹科技股份有限公司 Rtmp self-adaptive code rate realizing method
WO2021244132A1 (en) * 2020-06-04 2021-12-09 腾讯科技(深圳)有限公司 Immersive media data processing method, apparatus and device, and computer storage medium
US12010402B2 (en) 2020-06-04 2024-06-11 Tencent Technology (Shenzhen) Company Limited Data processing for immersive media

Also Published As

Publication number Publication date
CN107948685B (en) 2020-07-24

Similar Documents

Publication Publication Date Title
US8868465B2 (en) Method and system for publishing media content
EP2853075B1 (en) Content-specific identification and timing behavior in dynamic adaptive streaming over hypertext transfer protocol
US7945573B1 (en) Dynamic transcoding to stitch streaming digital content
US20070005795A1 (en) Object oriented video system
CN103957469B (en) Based on the Internet video-on-demand method and system for turning encapsulation in real time
CN104661058B (en) Data flow transmission method, client and the VOD system of MP4 video request programs
US6859838B1 (en) Media player with programmable playlists
CN108322775A (en) Switching method and apparatus during media flow transmission between adaptation is gathered
CN101606171A (en) The apparatus and method of access and first media data correlation combiner information
MX2008013787A (en) System and/or method for distributing media content.
US20090318077A1 (en) Television Audio via Phone
CN104602105B (en) The player method and user equipment of video file
Krikke Streaming video transforms the media industry
KR20120060134A (en) Method and apparatus for reproducing advertisement
US9961415B2 (en) Method and system for identifying events in a streaming media program
US20150067721A1 (en) Method and system for transmitting videos to mobile phones
CN107948685A (en) Information popularization method and information popularization device
US7716248B2 (en) Method and system to enable dynamic modification of metadata in content
CN107087214A (en) Realize method, client and system that streaming medium content speed is played
KR20110111752A (en) System and method for producing information by means of sound code, apparatus applied to the same
JP7438486B2 (en) Information processing device, information processing method and program
Vetro et al. Digital item adaptation–tools for universal multimedia access
US20140169229A1 (en) Server, system, and method that providing additional contents
JP2004054521A (en) Data processor and data processing method, recording medium and its computer program
JP7237927B2 (en) Information processing device, information processing device and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant