CN106101843A - The methods of exhibiting of rich media file and device - Google Patents

The methods of exhibiting of rich media file and device Download PDF

Info

Publication number
CN106101843A
CN106101843A CN201610395620.9A CN201610395620A CN106101843A CN 106101843 A CN106101843 A CN 106101843A CN 201610395620 A CN201610395620 A CN 201610395620A CN 106101843 A CN106101843 A CN 106101843A
Authority
CN
China
Prior art keywords
file
rich media
paster
mark
playing task
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
CN201610395620.9A
Other languages
Chinese (zh)
Other versions
CN106101843B (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 CN201610395620.9A priority Critical patent/CN106101843B/en
Publication of CN106101843A publication Critical patent/CN106101843A/en
Application granted granted Critical
Publication of CN106101843B publication Critical patent/CN106101843B/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • 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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses methods of exhibiting and the device of a kind of rich media file.Wherein, the method includes: receiving video request, wherein, video request is used for asking to play video;Obtaining the playing task mark with video matching, wherein, playing task mark is for indicating the paster file of rich media file and video;Judging whether to identify, with playing task, the Rich Media's cache file mated, wherein, Rich Media's cache file is the rich media file cached in advance;In the case of judging to there is Rich Media's cache file, load Rich Media's cache file, and show Rich Media's cache file when playing paster file.The present invention solves correlation technique when playing the paster file of video by obtaining rich media file in real time, causes the technical problem postponing to show rich media file on paster file.

Description

The methods of exhibiting of rich media file and device
Technical field
The present invention relates to computer realm, in particular to methods of exhibiting and the device of a kind of rich media file.
Background technology
Along with the fast development of Internet video marketing, numerous players are after playing before video or playing video All can play the paster file of video, and in order to increase the interactivity of paster file, the paster file of video play by player Time can show rich media file on paster file.But, correlation technique is passed through when playing the paster file of video to obtain in real time Take rich media file and realize showing rich media file on paster file, if rich media file volume is relatively big, multiple in interaction It is easy in the case of miscellaneous that time-out occurs or needs the long period just can pull successfully and on paster file, show Rich Media File.Such as, the paster file of video finishes soon when, just show rich media file, so will have a strong impact on Rich Media The interactive of file clicks on effect.
For above-mentioned problem, effective solution is the most not yet proposed.
Summary of the invention
Embodiments provide methods of exhibiting and the device of a kind of rich media file, exist at least solving correlation technique By obtaining rich media file in real time when playing the paster file of video, cause postponing to show rich media file on paster file Technical problem.
An aspect according to embodiments of the present invention, it is provided that the methods of exhibiting of a kind of rich media file, including: receive and regard Frequency request, wherein, video request is used for asking to play video;Obtain the playing task mark with video matching, wherein, play and appoint Business mark is for indicating the paster file of rich media file and video;Judge whether to identify, with playing task, the rich matchmaker mated Body cache file, wherein, Rich Media's cache file is the rich media file cached in advance;Judging that there is Rich Media caches literary composition In the case of part, load Rich Media's cache file, and show Rich Media's cache file when playing paster file.
Another aspect according to embodiments of the present invention, additionally provides the exhibiting device of a kind of rich media file, including: receive Unit, is used for receiving video request, and wherein, video request is used for asking to play video;Acquiring unit, for obtaining and video The playing task mark joined, wherein, playing task mark is for indicating the paster file of rich media file and video;First judges Unit, for judging whether the Rich Media's cache file mated with playing task mark, wherein, Rich Media's cache file is The rich media file cached in advance;First loading unit, in the case of judging to there is Rich Media's cache file, loads Rich Media's cache file, and Rich Media's cache file is shown when playing paster file.
In embodiments of the present invention, by judging whether Rich Media's caching literary composition before playing the paster file of video Part, if existing, being loaded directly into Rich Media's cache file, and showing Rich Media's cache file when playing paster file, if not depositing Then downloading rich media file, loading rich media file after the download is complete, and show Rich Media's literary composition when playing paster file Part, has reached the purpose of the loading velocity improving rich media file, shows Rich Media it is achieved thereby that shorten on paster file The time delay of file, improves the interactive technique effect of rich media file on paster file, and then solves correlation technique and broadcasting By obtaining rich media file in real time when putting the paster file of video, cause postponing to show rich media file on paster file Technical problem.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the hardware environment of the methods of exhibiting of rich media file according to embodiments of the present invention;
Fig. 2 is the flow chart of the methods of exhibiting of a kind of optional rich media file according to embodiments of the present invention;
Fig. 3 is the schematic diagram that player display interface according to embodiments of the present invention shows stress state;
Fig. 4 is the flow chart of the methods of exhibiting of rich media file according to the preferred embodiment of the invention;
Fig. 5 is the schematic diagram of the exhibiting device of a kind of optional rich media file according to embodiments of the present invention;
Fig. 6 is the schematic diagram of the exhibiting device of another kind of optional rich media file according to embodiments of the present invention;
Fig. 7 is the schematic diagram of the exhibiting device of the optional rich media file of according to embodiments of the present invention another;
Fig. 8 is the schematic diagram of the exhibiting device of the optional rich media file of according to embodiments of the present invention another;
Fig. 9 is the schematic diagram of the exhibiting device of extra a kind of optional rich media file according to embodiments of the present invention;With And
Figure 10 is the structured flowchart of a kind of terminal according to embodiments of the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under not making creative work premise, all should belong to the model of present invention protection Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " it is etc. for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that so use Data can exchange in the appropriate case, in order to embodiments of the invention described herein can with except here diagram or Order beyond those described is implemented.Additionally, term " includes " and " having " and their any deformation, it is intended that cover Cover non-exclusive comprising, such as, contain series of steps or the process of unit, method, system, product or equipment are not necessarily limited to Those steps clearly listed or unit, but can include the most clearly listing or for these processes, method, product Or intrinsic other step of equipment or unit.
First, the part noun or the term that occur during being described the embodiment of the present invention are applicable to as follows Explain:
Rich Media, refers to the information dissemination method with animation, sound, video and/or interactivity.Rich Media comprises stream matchmaker One of form of programming language such as body, sound, Flash and Java, Javascript, DHTML or several combinations. Rich Media can apply in various network service, as website design, Email, BANNER, BUTTON, pop-up ad, Interstitial Ad etc..
Rich media file, possesses the file of the media type of the Multimedia Combinations such as sound, image, word, video, such as rich Media advertisement.
The paster file of video, refers to be the file that intercuts of video title, centre or run-out, such as video ads, Video ads can be divided into conventional video advertisement and mobile video advertisement, and wherein, conventional video advertisement is to set in video Putting and throw in, mobile video advertisement is divided into conventional patch advertisement and In-App video ads, refers to carry out in mobile device Intercut the pattern of video.
Embodiment 1
According to embodiments of the present invention, it is provided that the embodiment of the method for the methods of exhibiting of a kind of rich media file.
Alternatively, in the present embodiment, the methods of exhibiting of above-mentioned rich media file can apply to as shown in Figure 1 by taking In the hardware environment that business device 102 and terminal 104 are constituted.As it is shown in figure 1, server 102 is carried out even by network and terminal 104 Connecing, above-mentioned network includes but not limited to: wide area network, Metropolitan Area Network (MAN) or LAN, and terminal 104 is not limited to PC, mobile phone, flat board electricity Brain etc..The methods of exhibiting of the rich media file of the embodiment of the present invention can be performed by server 102, it is also possible to by terminal 104 Perform, it is also possible to be jointly to be performed by server 102 and terminal 104.Wherein, terminal 104 performs the richness of the embodiment of the present invention The methods of exhibiting of media file can also be to be performed by client mounted thereto.
Fig. 2 is the flow chart of the methods of exhibiting of a kind of optional rich media file according to embodiments of the present invention, such as Fig. 2 institute Showing, the method may comprise steps of:
Step S202, receives video request, and wherein, video request is used for asking to play video;
Step S204, obtains the playing task mark with video matching, and wherein, playing task mark is used for indicating Rich Media The paster file of file and video;
Step S206, it may be judged whether existing and identify the Rich Media's cache file mated with playing task, wherein, Rich Media delays Depositing file is the rich media file cached in advance;
Step S208, in the case of judging to there is Rich Media's cache file, loads Rich Media's cache file, and is broadcasting Rich Media's cache file is shown when putting paster file;
Step S210, in the case of judging to there is not Rich Media's cache file, postpones to play paster file, and downloads Rich media file;After rich media file has been downloaded, load rich media file, and show Rich Media when playing paster file File.
It should be noted that above-mentioned steps can be performed by player, player can be webpage version player, it is also possible to Being player client, wherein, player client may be mounted at computer terminal, it is also possible to is arranged on mobile terminal, such as Smart mobile phone.By above-mentioned steps S202 to step S210, by judging whether before playing the paster file of video Rich Media's cache file, if existing, shows Rich Media when being loaded directly into Rich Media's cache file and play the paster file of video Cache file, if not existing, downloads rich media file, loads rich media file after the download is complete and plays the paster of video Show rich media file during file, reached the purpose of the loading velocity improving rich media file, and then solved correlation technique When playing the paster file of video by obtaining rich media file in real time, cause postponing to show Rich Media's literary composition on paster file The technical problem of part, it is achieved that shorten the time delay showing rich media file on paster file, improves Rich Media on paster file The interactive technique effect of file.
In the technical scheme that step S202 provides, the video request that player receives may be used for asking broadcasting to regard Frequently, it should be noted that being asked the video play can be one, it is also possible to be multiple.The embodiment of the present invention please to video Asking the type being asked the video play to be not specifically limited, such as, video type can be film, TV play, variety etc..Can Selection of land, can include, but are not limited to following information in video request: the mark of the video asked, the class of the video asked The information such as type, the URL that the video asked is corresponding.Also, it should be noted the triggering bar that the embodiment of the present invention is to video request Part is not specifically limited, and such as, video request can be clicked on video link triggering by user and form, and wherein, clicking operation is permissible Include, but are not limited to click, double-click etc..In actual application scenarios, the trigger action of video request can be held in player OK, it is also possible to perform in such as browsing device net page, it should be noted that the embodiment of the present invention can use real-time mode to detect Whether there is the trigger action of video request, when this trigger action being detected, be translated into video request immediately and send To player, so can shorten video playback time delay, and then improve user's experience.
In the technical scheme that step S204 provides, player, after receiving video request, can obtain from server Take the playing task information matched with this video request, it should be noted that server is not done specifically by the embodiment of the present invention Limiting, it can be player server, it is also possible to be other servers.Playing task information can serve to indicate that this video please Ask corresponding playing task, playing task information can include, but are not limited to playing task mark, wherein, this playing task Mark can serve to indicate that before playing the video asked of video request, period, also need to afterwards the paster file play and/ Or rich media file.It should be noted that server can be previously stored with the mapping of video labeling and playing task mark Relation, after player receives video request, can resolve video request, and the video that therefrom acquisition is asked Mark.Alternatively, player obtains the playing task mark with video matching from server and may include that first player will The mark of the video asked is sent to server, and server is according to the video labeling prestored and reflecting that playing task identifies The relation of penetrating determines the playing task mark that the mark with the video asked matches, and is fed back to player.Need Bright, the method for above-mentioned acquisition and the playing task mark of the video matching asked is the optional enforcement of one of the present invention Example, the present invention can also be identified, the most one by one by the playing task that additive method obtains with the video matching asked Illustrate.
Paster file can include following any one: be arranged to before video playback play front paster file; It is arranged in video display process the insertion file play;It is arranged to the bak stay literary composition play after video playback terminates Part.The type of paster file is not specifically limited by the embodiment of the present invention, and it can be video file, audio file, picture literary composition Part etc., it is also possible to be the combination of the combination in any of several file, such as picture file and audio file.The embodiment of the present invention is to patch The product form of sheet file is also not specifically limited, such as video ads.It should be noted that video ads can be divided into tradition Video ads and mobile video advertisement, wherein, conventional video advertisement is to be configured in video and throw in, mobile video advertisement It is divided into conventional patch advertisement and In-App video ads, refers to the pattern intercutting video carried out in mobile device.
Rich media file can be the file of the media type possessing the Multimedia Combinations such as sound, image, word, video, The type of rich media file is not specifically limited by the embodiment of the present invention, and it can be picture file, text etc., it is also possible to Being the combination of the combination in any of several file, such as picture file and text, concrete product form can be such as rich Media advertisement.It should be noted that rich media file can be shown when playing the paster file of video, it is also possible to do not show richness Media file, it can be determined by playing task mark, is asked with described video request when playing task mark is only used for instruction During the corresponding paster file of the video asked, player only needs to play the paster file of video, it is not necessary to playing paster file Time show rich media file;When playing task mark is for indicating the paster corresponding with the video that described video request is asked When file and rich media file, player needs to show rich media file when playing paster file.
In the technical scheme that step S206 provides, player matches getting the video asked with video request Playing task mark after, it is possible to use this playing task mark judge this locality whether exist and this playing task mark phase The Rich Media's cache file joined, wherein, Rich Media's cache file can be the rich media file cached in advance.It is noted that This locality herein can be the buffer area of player, it is also possible to be the storage of server or the client being provided with player District, it is not specifically limited by the embodiment of the present invention.Alternatively, this locality can be previously stored with playing task mark and Rich Media The mapping relations of mark, paster mark, locally stored mapping relations can be to have at local cache to identify with this playing task The mapping relations set up when the Rich Media's cache file matched and paster file, utilize these mapping relations to may indicate that this locality is deposited At the Rich Media's cache file matched with this playing task mark and paster file.As a kind of optional embodiment, play Device can utilize local cache playing task mark with Rich Media mark, paster mark mapping relations judge whether with Rich Media's cache file of playing task mark coupling, can specifically include following steps:
Step S2062, it may be judged whether there is the Rich Media mark corresponding with playing task mark;
Step S2064, when judging to exist the Rich Media mark corresponding with playing task mark, determines the rich matchmaker of existence Body cache file;
Step S2066, when judging not exist the Rich Media mark corresponding with playing task mark, determines and does not exists Rich Media's cache file.
It should be noted that player utilizes locally stored mapping relations can search whether from this locality in this embodiment The Rich Media mark corresponding with this playing task mark, if there is the Rich Media mark corresponding with this playing task mark, then Can illustrate that local existence identifies, with this playing task, the Rich Media's cache file matched;If there is no with this playing task Rich Media's mark that mark is corresponding, then can illustrate the local Rich Media's caching literary composition not existing and matching with this playing task mark Part.This embodiment, by judging that local whether existence identifies corresponding Rich Media's mark with this playing task, i.e. can determine whether this locality Whether exist and identify, with this playing task, the Rich Media's cache file matched, easy to be quick, highly shortened Rich Media and delay Deposit the load time of file.
Also, it should be noted utilize the playing task mark of local cache and the mapping that Rich Media identifies, paster identifies Relation judges whether that the Rich Media's cache file mated with playing task mark is a kind of alternative embodiment of the present invention, The present invention can also use additive method to judge whether this locality exists Rich Media's cache file, illustrates the most one by one.
In the technical scheme that step S208 provides, when player judges what local existence was mated with playing task mark During Rich Media's cache file, then can be loaded directly into this Rich Media's cache file, and without reacquiring, and playing video This Rich Media's cache file is shown while paster file.The embodiment of the present invention is by being loaded directly into the local rich matchmaker cached in advance Body file, can shorten the load time of rich media file, and then avoids because obtaining in real time when playing the paster file of video Take the problem postponing to show rich media file on paster file that rich media file causes, reached to shorten on paster file Show the time delay of rich media file, improve the interactive technique effect of rich media file on paster file.
In the technical scheme that step S210 provides, judge that this locality does not exist when player and mate with playing task mark Rich Media's cache file time, then can postpone play video paster file, and immediately download with playing task identify mate Rich media file.It should be noted that the rich media file that player downloads and playing task mark match can use In the following manner: player is when judging that this locality does not exist the Rich Media mark corresponding with playing task mark, namely judges When this locality does not exist the Rich Media's cache file mated with playing task mark, player can send notice to server and disappear Breath, this notification message can serve to indicate that server is downloaded and playing task mark according to the mapping relations prestored in server Know the rich media file of coupling, it should be noted that server can be previously stored with playing task mark, Rich Media's mark Knowledge, paster mark, rich media file URL, the mapping relations of paster file URL, wherein, rich media file URL, paster file URL can serve to indicate that the rich media file and the download address of paster file matched with playing task mark.Server exists After receiving the notification message that player sends, utilize the mapping relations self stored to download rich media file, complete in download After the rich media file that download can be obtained send to player.It should be noted that above-mentioned player downloads is appointed with playing The method of the rich media file that business mark matches is a kind of alternative embodiment of the present invention, and the present invention can also use other Method is downloaded and is identified, with playing task, the rich media file matched, and illustrates the most one by one.
When downloading the rich media file matched with playing task mark, player can postpone to play the paster of video File, after rich media file has been downloaded, player just commences play out the paster file of video, and is playing paster file Load simultaneously and show the rich media file downloaded, to reach to synchronize to show rich media file on paster file Purpose, and then reach to shorten the time delay showing rich media file on paster file, improve rich media file on paster file Interactive technique effect.
As a kind of optional embodiment, judge whether to identify, with playing task, the Rich Media mated in step S206 During cache file, this embodiment can also include:
Step S207, it may be judged whether exist and identify, with playing task, the paster file mated;
Step S209, when judging to exist the paster file mated with playing task mark, is loading Rich Media's caching During file, load paster file;
Step S211, when judging not exist the paster file mated with playing task mark, is playing paster file Time show before rich media file, download and load paster file.
It should be noted that in actual application scenarios, the paster file of video can be the local paster prestored File, it is also possible to by player after getting the playing task mark being asked the video play to match with video request The paster file downloaded.This embodiment is by judging the local Rich Media's caching literary composition whether existing and mating with playing task mark While part, it is judged that local whether existence identifies, with playing task, the paster file mated, in the presence of be loaded directly into this paster File, in the presence of not, downloads this paster file, loads paster file after the download is complete, it is possible to reach to shorten player and add Carry the time of the paster file of video, and then improve user's experience.
Herein also, it should be noted judge the side of the local paster file whether existing and matching with playing task mark Method can be similar to judging the local method that whether there is the Rich Media's cache file that matches to playing task mark, i.e. player The playing task mark that can utilize local cache identifies with Rich Media, the mapping relations of paster mark judge whether and broadcast Put the paster file of task identification coupling, can specifically include following steps:
Step S2072, it may be judged whether there is the paster mark corresponding with playing task mark;
Step S2074, when judging to exist the paster mark corresponding with playing task mark, determines and there is paster literary composition Part;
Step S2076, when judging not exist the paster mark corresponding with playing task mark, determines and there is not patch Sheet file.
It should be noted that player utilizes locally stored mapping relations can search whether from this locality in this embodiment The paster mark corresponding with this playing task mark is if there is the paster mark corresponding with this playing task mark, the most permissible Illustrate that local existence identifies, with this playing task, the paster file matched;If there is no corresponding with this playing task mark Paster identifies, then can illustrate that local existence identifies, with this playing task, the paster file matched.This embodiment is by sentencing Whether disconnected this locality exists the paster mark corresponding with this playing task mark, i.e. can determine whether whether this locality exists and this playing task The paster file that mark matches, easy to be quick, highly shortened the load time of paster file.
Also, it should be noted utilize the playing task mark of local cache and the mapping that Rich Media identifies, paster identifies Relation judges whether that the paster file mated with playing task mark is a kind of alternative embodiment of the present invention, the present invention Additive method can also be used to judge whether this locality exists paster file, illustrate the most one by one.
When the local paster file existing and mating with playing task mark judged by player, then can be loaded directly into this Paster file, so can shorten the load time of paster file.When player judges that this locality does not exist and playing task mark When knowing the paster file of coupling, then can download immediately and identify, with playing task, the paster file mated.It should be noted that broadcast The mode putting the paster file that device download matches with playing task mark can identify phase with player downloads with playing task The mode of the rich media file of coupling is similar, it may be assumed that player is judging that local existence identifies corresponding patch with playing task During sheet mark, namely when judging the local paster file not existing and mating with playing task mark, player can be to service Device sends a notification message, and this notification message can serve to indicate that server is downloaded according to the mapping relations prestored in server Identify, with playing task, the paster file that mate, it should be noted that server can be previously stored with playing task identify, Rich Media's mark, paster mark, rich media file URL, the mapping relations of paster file URL, wherein, rich media file URL, patch Sheet file URL can serve to indicate that the rich media file and the download address of paster file matched with playing task mark.Clothes Business device, after receiving the notification message that player sends, utilizes the mapping relations self stored to download paster file, is downloading The paster file that can download be obtained after completing sends to player.It should be noted that above-mentioned player downloads and broadcasting The method of the paster file that task identification matches is a kind of alternative embodiment of the present invention, and the present invention can also use other Method is downloaded and is identified, with playing task, the paster file matched, and illustrates the most one by one.
Also, it should be noted the embodiment of the present invention judging, local whether existence identifies, with playing task, the rich matchmaker mated Body cache file and judge that the local paster file mated with playing task mark that whether exists can be carried out simultaneously, it is also possible to Successively carry out, but both execution sequences are not specifically limited by the embodiment of the present invention, can be first to judge whether this locality deposits The paster file mated is being identified, it is also possible to be first to judge that local whether existence mates with playing task mark with playing task Rich Media's cache file.
As a kind of optional embodiment, in the case of step S210 is judged to there is not Rich Media's cache file, While postponing to play paster file and download rich media file, this embodiment can also include: step S212, controls display circle Stress state is shown in face, and wherein, display interface is used for playing paster file, and stress state is loading paster literary composition for instruction Part.
It should be noted that display interface can be the broadcast interface of player, can play in this display interface and regard Frequency and the paster file of video, it is also possible in display interface, show corresponding richness when playing the paster file of video Media file.This embodiment can show stress state at the colleague's display interface downloading rich media file, as it is shown on figure 3, Such as, display interface can showing, " Loading " is loading paster file for instruction, it should be noted that load shape Loading paster file indicated by state the most specifically limits paster file to be needed to re-download, and reloads after having downloaded, But paster file can be the local file changed into, it is also possible to being to download the file obtained, this stress state is mainly used Enable to player can be loaded into rich media file in leaving the scheduled time, so that player is at the paster playing video Can synchronize to show rich media file during file, and then reach to improve the interactive effect of rich media file on paster file.
As a kind of optional embodiment, in the case of step S210 is judged to there is not Rich Media's cache file, After rich media file has been downloaded, this embodiment can also include: step S214, the rich media file obtained after download being completed Cache.
It should be noted that when server obtains rich media file and by it according to the mapping relations download prestored After giving player, the rich media file received can be stored by player, and identifies for its distribution Rich Media, builds The mapping relations that vertical playing task mark identifies with this Rich Media, in order to after receiving this playing task mark next time again, Can judge whether this locality is present in this quickly and easily according to the mapping relations of this playing task mark and this Rich Media mark Playing task identifies the rich media file matched, and then reaches to shorten the purpose of the loading time delay of rich media file, in order to Can synchronize when playing the paster file of video to show rich media file, reach to improve the mutual of rich media file on paster file The effect of dynamic property.
Alternatively, obtain paster file when server according to the mapping relations download prestored and send it to broadcasting After device, the paster file received can be stored by player, and is its point of paster mark, sets up playing task mark The mapping relations identified with this paster, in order to after receiving this playing task mark next time again, can appoint according to this broadcasting With the mapping relations of this paster mark, business mark judges whether this locality is present in this playing task mark and matches quickly and easily Paster file, and then reach to shorten the effect of loading time delay of paster file.
Present invention also offers a kind of preferred embodiment, Fig. 4 is rich media file according to the preferred embodiment of the invention The flow chart of methods of exhibiting, as shown in Figure 4, the preferred embodiment may comprise steps of:
Step S401, from server pull sequence information.It should be noted that player receive video request it After, sequence information can be drawn from server, this sequence information may be used for this playing task information, playing task information Can serve to indicate that the playing task corresponding to this video request, playing task information can include, but are not limited to playing task Mark, wherein, this playing task mark can serve to indicate that before playing the video asked of video request, period, afterwards also Need paster file and/or the rich media file play.
Step S402, it may be judged whether be Rich Media's order.This step can be understood as player pull sequence information it After, can judge whether that rich media file is shown in request according to this sequence information, namely the need of at the paster playing video Synchronize during file to show rich media file.If it is judged that Bu Shi Rich Media order, then perform step S403;If it is judged that be Rich Media's order, then perform step S404.
Step S403, is loaded directly into and plays the paster file of video.
Step S404, it is judged that whether this locality exists Rich Media's cache file.Wherein, Rich Media's cache file can be with zip Packet form exists.Specifically determination methods can be to judge that local whether existence identifies corresponding Rich Media's mark with playing task Know, if there is then determining that this locality exists Rich Media's cache file;If there is no then determining that this locality does not exist Rich Media's caching File.When this locality exists Rich Media's cache file, perform step S405;When this locality does not exist Rich Media's cache file, hold Row step S406.
Step S405, loads local Rich Media cache file.
Step S406, control display interface show stress state, extend paster file play timeout logic, and download with Playing task identifies the rich media file matched, and performs step S405 after the download is complete.It should be noted that work as Rich Media File download can store it in this locality after completing, and can be loaded directly into rich matchmaker from this locality when playing the paster file of video Body file, in order to shorten the loading time delay of rich media file.
Step S407, synchronizes when playing the paster file of video to show rich media file.
It should be noted that the paster file in the preferred embodiment can be bumper advertisements, rich media file can be Rich-media ads.The embodiment of the present invention is adapted to advertisement field, it is also possible to be applicable to other field, tool of the most no longer illustrating Body explanation.Embodiment of the present invention buffered in advance rich media file, began to download caching before the paster file of video is play Rich media file, after having downloaded, the paster file with video is shown simultaneously, thus improves the loading velocity of rich media file, And the image boundary shown can not be limited by device screen size, can be flexibly applied to various spreading objective, to various The universality of spreading objective brings the biggest degree of freedom to advertising creative.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know Knowing, embodiment described in this description belongs to preferred embodiment, involved action and the module not necessarily present invention Necessary.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive according to above-mentioned enforcement The method of example can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot In the case of the former is more preferably embodiment.Based on such understanding, technical scheme is the most in other words to existing The part that technology contributes can embody with the form of software product, and this computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, calculate Machine, server, or the network equipment etc.) perform the method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, the Rich Media of a kind of methods of exhibiting for implementing above-mentioned rich media file is additionally provided The exhibiting device of file.Fig. 5 is the schematic diagram of the exhibiting device of a kind of optional rich media file according to embodiments of the present invention, As it is shown in figure 5, this device may include that
Receiving unit 22, be used for receiving video request, wherein, video request is used for asking to play video;Acquiring unit 24, For obtaining and the playing task of video matching mark, wherein, playing task mark is for indicating rich media file and video Paster file;First judging unit 26, for judging whether the Rich Media's cache file mated with playing task mark, its In, Rich Media's cache file is the rich media file cached in advance;, for there is Rich Media judging in the first loading unit 28 In the case of cache file, load Rich Media's cache file, and show Rich Media's cache file when playing paster file;Second Loading unit 210, in the case of judging to there is not Rich Media's cache file, postpones to play paster file, and downloads Rich media file;After rich media file has been downloaded, load rich media file, and show Rich Media when playing paster file File.
It should be noted that the unit 22 that receives in this embodiment may be used for performing the step in the embodiment of the present application 1 S202, the acquiring unit 24 in this embodiment may be used for performing step S204 in the embodiment of the present application 1, in this embodiment First judging unit 26 may be used for performing step S206 in the embodiment of the present application 1, the first loading unit in this embodiment 28 may be used for performing step S208 in the embodiment of the present application 1, and the second loading unit 210 in this embodiment may be used for holding Step S210 in row the embodiment of the present application 1.
In receiving unit 22, the video request that player receives may be used for request and plays video, needs explanation It is that being asked the video play can be one, it is also possible to be multiple.Video request is asked broadcasting by the embodiment of the present invention The type of video is not specifically limited, and such as, video type can be film, TV play, variety etc..Alternatively, video request In can include, but are not limited to following information: the mark of the video asked, the type of the video asked, regarding of being asked The information such as the URL that frequency is corresponding.Also, it should be noted the trigger condition of video request is not done concrete limit by the embodiment of the present invention Fixed, such as, video request can be clicked on video link triggering by user and form, and wherein, clicking operation can include but not limit In clicking, double-click etc..In actual application scenarios, the trigger action of video request can perform in player, it is also possible to Browsing device net page such as perform, it should be noted that the embodiment of the present invention can use real-time mode to detect whether that existence regards The trigger action of frequency request, when this trigger action being detected, is translated into video request immediately and sends to player, this Sample can shorten video playback time delay, and then improves user's experience.
In acquiring unit 24, player is after receiving video request, and can obtain from server please with this video Seeking the playing task information matched, it should be noted that server is not specifically limited by the embodiment of the present invention, it can be Player server, it is also possible to be other servers.Playing task information can serve to indicate that broadcasting corresponding to this video request Letting alone business, playing task information can include, but are not limited to playing task mark, and wherein, this playing task mark may be used for Before the video asked of video request is play in instruction, period, also need to paster file and/or the Rich Media's literary composition play afterwards Part.It should be noted that server can be previously stored with the mapping relations of video labeling and playing task mark, work as broadcasting After device receives video request, video request can be resolved, and therefrom obtain the mark of the video asked.Optional Ground, player obtains to identify with the playing task of video matching from server and may include that first player will be asked The mark of video is sent to server, and server is true with the mapping relations that playing task identifies according to the video labeling prestored The playing task mark that fixed and the video asked mark matches, and it is fed back to player.On it should be noted that The method of the playing task mark stating the video matching obtained and asked is a kind of alternative embodiment of the present invention, the present invention Can also be identified by the playing task that additive method obtains with the video matching asked, illustrate the most one by one.
Paster file can include following any one: be arranged to before video playback play front paster file; It is arranged in video display process the insertion file play;It is arranged to the bak stay literary composition play after video playback terminates Part.The type of paster file is not specifically limited by the embodiment of the present invention, and it can be video file, audio file, picture literary composition Part etc., it is also possible to be the combination of the combination in any of several file, such as picture file and audio file.The embodiment of the present invention is to patch The product form of sheet file is also not specifically limited, such as video ads.It should be noted that video ads can be divided into tradition Video ads and mobile video advertisement, wherein, conventional video advertisement is to be configured in video and throw in, mobile video advertisement It is divided into conventional patch advertisement and In-App video ads, refers to the pattern intercutting video carried out in mobile device.
Rich media file can be the file of the media type possessing the Multimedia Combinations such as sound, image, word, video, The type of rich media file is not specifically limited by the embodiment of the present invention, and it can be picture file, text etc., it is also possible to Being the combination of the combination in any of several file, such as picture file and text, concrete product form can be such as rich Media advertisement.It should be noted that rich media file can be shown when playing the paster file of video, it is also possible to do not show richness Media file, it can be determined by playing task mark, is asked with described video request when playing task mark is only used for instruction During the corresponding paster file of the video asked, player only needs to play the paster file of video, it is not necessary to playing paster file Time show rich media file;When playing task mark is for indicating the paster corresponding with the video that described video request is asked When file and rich media file, player needs to show rich media file when playing paster file.
In the first judging unit 26, player is appointed getting the broadcasting that the video asked with video request matches After business mark, it is possible to use this playing task mark judges that local whether existence identifies, with this playing task, the rich matchmaker matched Body cache file, wherein, Rich Media's cache file can be the rich media file cached in advance.It is noted that basis herein Ground can be the buffer area of player, it is also possible to is the memory block of server or the client being provided with player, the present invention It is not specifically limited by embodiment.Alternatively, this locality can be previously stored with playing task mark and Rich Media's mark, paster The mapping relations of mark, locally stored mapping relations can be to have at local cache to identify, with this playing task, the richness matched The mapping relations set up when media buffer file and paster file, utilize these mapping relations to may indicate that local existence and this broadcasting Rich Media's cache file that task identification matches and paster file.
As a kind of optional embodiment, Fig. 6 is another kind of optional rich media file according to embodiments of the present invention The schematic diagram of exhibiting device, as shown in Figure 6, the first judging unit 26 may include that judge module 262, is used for judging whether to deposit In the Rich Media mark corresponding with playing task mark;First determines module 264, for judging existence and playing task When identifying corresponding Rich Media's mark, determine and there is Rich Media's cache file;Second determines module 266, for judging When there is not the Rich Media mark corresponding with playing task mark, determine and there is not Rich Media's cache file.
It should be noted that the judge module 262 in this embodiment may be used for performing the step in the embodiment of the present application 1 S2062, first in this embodiment determines that module 264 may be used for performing step S2064 in the embodiment of the present application 1, and this is real Execute in example second and determine that module 266 may be used for performing step S2066 in the embodiment of the present application 1.
Also, it should be noted in this embodiment player utilize locally stored mapping relations can from this locality search be The no Rich Media mark corresponding with this playing task mark, if there is the Rich Media mark corresponding with this playing task mark, Then can illustrate that local existence identifies, with this playing task, the Rich Media's cache file matched;Appoint if there is no with this broadcasting Rich Media's mark that business mark is corresponding, then can illustrate the local Rich Media's caching not existing and matching with this playing task mark File.This embodiment, by judging that local whether existence identifies corresponding Rich Media's mark with this playing task, i.e. can determine whether this Whether ground exists identifies, with this playing task, the Rich Media's cache file matched, easy to be quick, highly shortened Rich Media The load time of cache file.
Also, it should be noted utilize the playing task mark of local cache and the mapping that Rich Media identifies, paster identifies Relation judges whether that the Rich Media's cache file mated with playing task mark is a kind of alternative embodiment of the present invention, The present invention can also use additive method to judge whether this locality exists Rich Media's cache file, illustrates the most one by one.
In the first loading unit 28, when player judges that the local Rich Media mated with playing task mark that exists delays When depositing file, then can be loaded directly into this Rich Media's cache file, and without reacquiring, and playing the paster file of video While show this Rich Media's cache file.The embodiment of the present invention by being loaded directly into the local rich media file cached in advance, The load time of rich media file can be shortened, and then avoid because obtaining Rich Media in real time when playing the paster file of video The problem postponing to show rich media file on paster file that file causes, has reached to shorten and has shown rich matchmaker on paster file The time delay of body file, improves the interactive technique effect of rich media file on paster file.
In the second loading unit 210, when player judges that local existence identifies, with playing task, the rich matchmaker mated During body cache file, then can postpone to play the paster file of video, and download the rich matchmaker mated with playing task mark immediately Body file.It should be noted that the rich media file that player downloads and playing task mark match can use with lower section Formula: player is when judging that this locality does not exist the Rich Media mark corresponding with playing task mark, namely judges that this locality is not When there is the Rich Media's cache file mated with playing task mark, player can send a notification message to server, and this leads to Know that message can serve to indicate that server is downloaded according to the mapping relations prestored in server and mates with playing task mark Rich media file, it should be noted that server can be previously stored with playing task mark, Rich Media mark, paster Mark, rich media file URL, the mapping relations of paster file URL, wherein, rich media file URL, paster file URL can use The rich media file and the download address of paster file matched is identified in instruction and playing task.Server is receiving broadcasting Device send notification message after, utilize self store mapping relations download rich media file, after the download is complete can by under Carry the rich media file obtained to send to player.It should be noted that above-mentioned player downloads and playing task mark phase The method of the rich media file joined is a kind of alternative embodiment of the present invention, the present invention can also use additive method download with Playing task identifies the rich media file matched, and illustrates the most one by one.
When downloading the rich media file matched with playing task mark, player can postpone to play the paster of video File, after rich media file has been downloaded, player just commences play out the paster file of video, and is playing paster file Load simultaneously and show the rich media file downloaded, to reach to synchronize to show rich media file on paster file Purpose, and then reach to shorten the time delay showing rich media file on paster file, improve rich media file on paster file Interactive technique effect.
As a kind of optional embodiment, Fig. 7 is the optional rich media file of according to embodiments of the present invention another The schematic diagram of exhibiting device, as it is shown in fig. 7, this embodiment can also include: the second judging unit 27, for depositing judging whether When the Rich Media's cache file mated with playing task mark, it may be judged whether there is the paster literary composition mated with playing task mark Part;3rd loading unit 29, for when judging to exist the paster file mated with playing task mark, loading Rich Media During cache file, load paster file;4th loading unit 211, for mating with playing task mark judging not exist Paster file time, show before rich media file when playing paster file, download and load paster file.
It should be noted that the judging unit 27 in this embodiment may be used for performing the step in the embodiment of the present application 1 S207, the 3rd loading unit 29 in this embodiment may be used for performing step S209 in the embodiment of the present application 1, this embodiment In the 4th loading unit 211 may be used for performing step S211 in the embodiment of the present application 1.
Also, it should be noted in actual application scenarios, the paster file of video can be the local patch prestored Sheet file, it is also possible to asked the playing task that matches of video play to identify it with video request getting by player The paster file of rear download.This embodiment is by judging that the local Rich Media mated with playing task mark that whether exists caches While file, it is judged that local whether existence identifies, with playing task, the paster file mated, in the presence of be loaded directly into this patch Sheet file, in the presence of not, downloads this paster file, loads paster file after the download is complete, it is possible to reach to shorten player Load the time of the paster file of video, and then improve user's experience.
Herein also, it should be noted the second judging unit 27 judge this locality whether exist with playing task mark match The method of paster file can judge whether this locality exists with the first judging unit 26 and match rich matchmaker with playing task mark The method of body cache file is similar, i.e. player can utilize playing task mark and Rich Media's mark, the paster of local cache The mapping relations of mark judge whether to identify the paster file mated, alternatively, the second judging unit 27 with playing task Following steps can be performed: judge whether the paster mark corresponding with playing task mark;Judging existence and broadcasting Put task identification corresponding paster mark time, determine and there is paster file;Phase is identified with playing task judging not exist When corresponding paster identifies, determine and there is not paster file.
It should be noted that player utilizes locally stored mapping relations can search whether from this locality in this embodiment The paster mark corresponding with this playing task mark is if there is the paster mark corresponding with this playing task mark, the most permissible Illustrate that local existence identifies, with this playing task, the paster file matched;If there is no corresponding with this playing task mark Paster identifies, then can illustrate that local existence identifies, with this playing task, the paster file matched.This embodiment is by sentencing Whether disconnected this locality exists the paster mark corresponding with this playing task mark, i.e. can determine whether whether this locality exists and this playing task The paster file that mark matches, easy to be quick, highly shortened the load time of paster file.
Also, it should be noted utilize the playing task mark of local cache and the mapping that Rich Media identifies, paster identifies Relation judges whether that the paster file mated with playing task mark is a kind of alternative embodiment of the present invention, the present invention Additive method can also be used to judge whether this locality exists paster file, illustrate the most one by one.
When the local paster file existing and mating with playing task mark judged by player, then can be loaded directly into this Paster file, so can shorten the load time of paster file.When player judges that this locality does not exist and playing task mark When knowing the paster file of coupling, then can download immediately and identify, with playing task, the paster file mated.It should be noted that broadcast The mode putting the paster file that device download matches with playing task mark can identify phase with player downloads with playing task The mode of the rich media file of coupling is similar, it may be assumed that player is judging that local existence identifies corresponding patch with playing task During sheet mark, namely when judging the local paster file not existing and mating with playing task mark, player can be to service Device sends a notification message, and this notification message can serve to indicate that server is downloaded according to the mapping relations prestored in server Identify, with playing task, the paster file that mate, it should be noted that server can be previously stored with playing task identify, Rich Media's mark, paster mark, rich media file URL, the mapping relations of paster file URL, wherein, rich media file URL, patch Sheet file URL can serve to indicate that the rich media file and the download address of paster file matched with playing task mark.Clothes Business device, after receiving the notification message that player sends, utilizes the mapping relations self stored to download paster file, is downloading The paster file that can download be obtained after completing sends to player.It should be noted that above-mentioned player downloads and broadcasting The method of the paster file that task identification matches is a kind of alternative embodiment of the present invention, and the present invention can also use other Method is downloaded and is identified, with playing task, the paster file matched, and illustrates the most one by one.
Also, it should be noted the embodiment of the present invention judging, local whether existence identifies, with playing task, the rich matchmaker mated Body cache file and judge that the local paster file mated with playing task mark that whether exists can be carried out simultaneously, it is also possible to Successively carry out, but both execution sequences are not specifically limited by the embodiment of the present invention, can be first to judge whether this locality deposits The paster file mated is being identified, it is also possible to be first to judge that local whether existence mates with playing task mark with playing task Rich Media's cache file.
As a kind of optional embodiment, Fig. 8 is the optional rich media file of according to embodiments of the present invention another The schematic diagram of exhibiting device, as shown in Figure 8, this alternative embodiment can also include: control unit 212, for judging not In the case of there is Rich Media's cache file, while postponing to play paster file and download rich media file, control display Showing interface stress state, wherein, display interface is used for playing paster file, and stress state is loading paster literary composition for instruction Part.
It should be noted that the control unit 212 in this embodiment may be used for performing the step in the embodiment of the present application 1 S212.Also, it should be noted display interface can be the broadcast interface of player, this display interface can be play video And the paster file of video, it is also possible in display interface, show corresponding rich matchmaker when playing the paster file of video Body file.This embodiment can show stress state at the colleague's display interface downloading rich media file, as it is shown on figure 3, example As, display interface can showing, " Loading " is loading paster file for instruction, it should be noted that stress state Indicated loading paster file the most specifically limits paster file to be needed to re-download, and reloads after having downloaded, and Be paster file can be the local file changed into, it is also possible to being to download the file obtained, this stress state is mainly used in Leaving the scheduled time enables to player and can be loaded into rich media file, so that the paster literary composition of video play by player Can synchronize to show rich media file during part, and then reach to improve the interactive effect of rich media file on paster file.
As a kind of optional embodiment, Fig. 9 is extra a kind of optional rich media file according to embodiments of the present invention The schematic diagram of exhibiting device, as it is shown in figure 9, this alternative embodiment can also include: buffer unit 214, for judging In the case of there is not Rich Media's cache file, after rich media file has been downloaded, the Rich Media obtained after download is completed File caches.
It should be noted that the buffer unit 214 in this embodiment may be used for performing the step in the embodiment of the present application 1 S214.Also, it should be noted when server obtains rich media file and by it according to the mapping relations download prestored After giving player, the rich media file received can be stored by player, and identifies for its distribution Rich Media, builds The mapping relations that vertical playing task mark identifies with this Rich Media, in order to after receiving this playing task mark next time again, Can judge whether this locality is present in this quickly and easily according to the mapping relations of this playing task mark and this Rich Media mark Playing task identifies the rich media file matched, and then reaches to shorten the purpose of the loading time delay of rich media file, in order to Can synchronize when playing the paster file of video to show rich media file, reach to improve the mutual of rich media file on paster file The effect of dynamic property.
Alternatively, obtain paster file when server according to the mapping relations download prestored and send it to broadcasting After device, the paster file received can be stored by player, and is its point of paster mark, sets up playing task mark The mapping relations identified with this paster, in order to after receiving this playing task mark next time again, can appoint according to this broadcasting With the mapping relations of this paster mark, business mark judges whether this locality is present in this playing task mark and matches quickly and easily Paster file, and then reach to shorten the effect of loading time delay of paster file.
By above-mentioned module, by judging whether Rich Media's cache file before playing the paster file of video, If existing, show Rich Media's cache file when being loaded directly into Rich Media's cache file and play the paster file of video, if not depositing Then download rich media file, when loading rich media file after the download is complete and play the paster file of video, show Rich Media File, has reached the purpose of the loading velocity improving rich media file, and then has solved correlation technique at the paster playing video By obtaining rich media file in real time during file, cause the technical problem postponing to show rich media file on paster file, real Show and shortened the time delay showing rich media file on paster file, improved the interactive skill of rich media file on paster file Art effect.
Herein it should be noted that above-mentioned module is identical with the example that corresponding step is realized and application scenarios, but not It is limited to above-described embodiment 1 disclosure of that.It should be noted that above-mentioned module as the part of device may operate in as In hardware environment shown in Fig. 1, can be realized by software, it is also possible to realized by hardware, wherein, hardware environment includes network Environment.
Embodiment 3
According to embodiments of the present invention, the server of a kind of methods of exhibiting for implementing above-mentioned rich media file is additionally provided Or terminal.
Figure 10 is the structured flowchart of a kind of terminal according to embodiments of the present invention, and as shown in Figure 10, this terminal may include that One or more (only illustrating one in figure) processor 201, memorizer 203 and transmitting device 205 are (in above-described embodiment Dispensing device), as shown in Figure 10, this terminal can also include input-output equipment 207.
Wherein, memorizer 203 can be used for storing software program and module, such as the rich media file in the embodiment of the present invention The methods of exhibiting programmed instruction/module corresponding with device, processor 201 is stored in the software in memorizer 203 by operation Program and module, thus perform the application of various function and data process, i.e. realize the displaying side of above-mentioned rich media file Method.Memorizer 203 can include high speed random access memory, it is also possible to includes nonvolatile memory, such as one or more magnetic Storage device, flash memory or other non-volatile solid state memories.In some instances, memorizer 203 can farther include phase For the memorizer that processor 201 is remotely located, these remote memories can be connected to terminal by network.Above-mentioned network Example includes but not limited to the Internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 205 is for receiving via a network or sending data, it is also possible to for processor with Data transmission between memorizer.Above-mentioned network instantiation can include cable network and wireless network.In an example, Transmitting device 205 includes a network adapter (Network Interface Controller, NIC), and it can pass through netting twine It is connected with router with other network equipments thus communication can be carried out with the Internet or LAN.In an example, transmission dress Putting 205 is radio frequency (Radio Frequency, RF) module, and it is for wirelessly carrying out communication with the Internet.
Wherein, specifically, memorizer 203 is used for storing application program.
Processor 201 can call the application program of memorizer 203 storage by transmitting device 205, to perform following step Rapid: receiving video request, wherein, video request is used for asking to play video;Obtain the playing task mark with video matching, its In, playing task mark is for indicating the paster file of rich media file and video;Judge whether to identify with playing task Rich Media's cache file of coupling, wherein, Rich Media's cache file is the rich media file cached in advance;Judging existence richness In the case of media buffer file, load Rich Media's cache file, and show Rich Media's cache file when playing paster file.
Processor 201 is additionally operable to perform following step: identify, with playing task, the Rich Media mated judging whether After cache file, in the case of judging to there is not Rich Media's cache file, postpone to play paster file, and download rich matchmaker Body file;After rich media file has been downloaded, load rich media file, and show Rich Media's literary composition when playing paster file Part.
Processor 201 is additionally operable to perform following step: judge whether the Rich Media corresponding with playing task mark Mark;When judging to exist the Rich Media mark corresponding with playing task mark, determine and there is Rich Media's cache file;? When judging not exist the Rich Media mark corresponding with playing task mark, determine and there is not Rich Media's cache file.
Processor 201 is additionally operable to perform following step: identify, with playing task, the Rich Media mated judging whether During cache file, it may be judged whether exist and identify, with playing task, the paster file mated;Judging existence and playing task mark When knowing the paster file of coupling, when loading Rich Media's cache file, load paster file;Appoint with playing judging not exist During the paster file that business mark is mated, before showing rich media file when playing paster file, download and load paster file.
Processor 201 is additionally operable to perform following step: in the case of judging to there is not Rich Media's cache file, prolonging While late sowing is put paster file and downloaded rich media file, controlling display interface and show stress state, wherein, display interface is used In playing paster file, stress state is loading paster file for instruction.
Processor 201 is additionally operable to perform following step: in the case of judging to there is not Rich Media's cache file, in richness After media file has been downloaded, the rich media file obtained after download being completed caches.
Use the embodiment of the present invention, it is provided that the exhibition scheme of a kind of rich media file.By at the paster playing video Judge whether Rich Media's cache file before file, if existing, being loaded directly into Rich Media's cache file and playing video Show Rich Media's cache file during paster file, if not existing, downloading rich media file, loading Rich Media after the download is complete File also shows rich media file when playing the paster file of video, has reached the mesh of the loading velocity improving rich media file , and then solve correlation technique when playing the paster file of video by obtaining rich media file in real time, cause at paster On file postpone show rich media file technical problem, it is achieved that shorten show on paster file rich media file time Prolong, improve the interactive technique effect of rich media file on paster file.
Alternatively, the concrete example in the present embodiment is referred to showing described in above-described embodiment 1 and embodiment 2 Example, the present embodiment does not repeats them here.
It will appreciated by the skilled person that the structure shown in Figure 10 is only signal, terminal can be smart mobile phone (such as Android phone, iOS mobile phone etc.), panel computer, palm PC and mobile internet device (Mobile Internet Devices, MID), the terminal unit such as PAD.Figure 10 its structure of above-mentioned electronic installation is not caused restriction.Such as, terminal is also The assembly (such as network interface, display device etc.) more or more less than shown in Figure 10 can be included, or have and Figure 10 institute Show different configurations.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completing carrying out the device-dependent hardware of command terminal by program, this program can be stored in a computer-readable recording medium In, storage medium may include that flash disk, read only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can Program code for the methods of exhibiting performing rich media file.
Alternatively, in the present embodiment, multiple during above-mentioned storage medium may be located at the network shown in above-described embodiment On at least one network equipment in the network equipment.
Alternatively, in the present embodiment, storage medium is arranged to storage for the program code performing following steps:
S1, receives video request, and wherein, video request is used for asking to play video;
S2, obtains and the playing task of video matching mark, wherein, playing task mark be used for indicating rich media file and The paster file of video;
S3, it may be judged whether exist and identify the Rich Media's cache file mated, wherein, Rich Media's cache file with playing task For the rich media file cached in advance;
S4, in the case of judging to there is Rich Media's cache file, loads Rich Media's cache file, and is playing paster Rich Media's cache file is shown during file.
Alternatively, storage medium is also configured to storage for the program code performing following steps: deposit judging whether After the Rich Media's cache file mated with playing task mark, judging not exist the situation of Rich Media's cache file Under, postpone to play paster file, and download rich media file;After rich media file has been downloaded, load rich media file, and Rich media file is shown when playing paster file.
Alternatively, storage medium is also configured to storage for the program code performing following steps: judge whether The Rich Media mark corresponding with playing task mark;Judging that there is the Rich Media corresponding with playing task mark identifies Time, determine and there is Rich Media's cache file;When judging not exist the Rich Media mark corresponding with playing task mark, really Determine to there is not Rich Media's cache file.
Alternatively, storage medium is also configured to storage for the program code performing following steps: deposit judging whether When the Rich Media's cache file mated with playing task mark, it may be judged whether there is the paster literary composition mated with playing task mark Part;When judging to exist the paster file mated with playing task mark, when loading Rich Media's cache file, load paster File;When judging not exist the paster file mated with playing task mark, show Rich Media when playing paster file Before file, download and load paster file.
Alternatively, storage medium is also configured to storage for the program code performing following steps: do not deposit judging In the case of Rich Media's cache file, while postponing to play paster file and download rich media file, control display circle Stress state is shown in face, and wherein, display interface is used for playing paster file, and stress state is loading paster literary composition for instruction Part.
Alternatively, storage medium is also configured to storage for the program code performing following steps: do not deposit judging In the case of Rich Media's cache file, after rich media file has been downloaded, the rich media file obtained after download is completed Cache.
Alternatively, the concrete example in the present embodiment is referred to showing described in above-described embodiment 1 and embodiment 2 Example, the present embodiment does not repeats them here.
Alternatively, in the present embodiment, above-mentioned storage medium can include but not limited to: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or The various medium that can store program code such as CD.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
If the integrated unit in above-described embodiment realizes and as independent product using the form of SFU software functional unit When selling or use, can be stored in the storage medium that above computer can read.Based on such understanding, the skill of the present invention Part that prior art is contributed by art scheme the most in other words or this technical scheme completely or partially can be with soft The form of part product embodies, and this computer software product is stored in storage medium, including some instructions with so that one Platform or multiple stage computer equipment (can be for personal computer, server or the network equipment etc.) perform each embodiment institute of the present invention State all or part of step of method.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment The part described in detail, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, can be by other side Formula realizes.Wherein, device embodiment described above is only schematically, the division of the most described unit, and the most only one Kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or It is desirably integrated into another system, or some features can be ignored, or do not perform.Another point, shown or discussed mutual it Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, unit or module or communication link Connect, can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For Yuan, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (12)

1. the methods of exhibiting of a rich media file, it is characterised in that including:
Receiving video request, wherein, described video request is used for asking to play video;
Obtaining the playing task mark with described video matching, wherein, described playing task mark is used for indicating rich media file Paster file with described video;
Judge whether to identify the Rich Media's cache file mated, wherein, described Rich Media caching literary composition with described playing task Part is the described rich media file cached in advance;
In the case of judging to there is described Rich Media cache file, load described Rich Media cache file, and playing institute Described Rich Media cache file is shown when stating paster file.
Method the most according to claim 1, it is characterised in that judge whether with described playing task mark mate Rich Media's cache file after, also include:
In the case of judging to there is not described Rich Media cache file, postpone to play described paster file, and download described Rich media file;After described rich media file has been downloaded, load described rich media file, and playing described paster file Time show described rich media file.
Method the most according to claim 1, it is characterised in that judge whether to mate with described playing task mark Rich Media's cache file includes:
Judge whether the Rich Media mark corresponding with described playing task mark;
When judging to exist the described Rich Media mark corresponding with described playing task mark, determine and there is described Rich Media Cache file;
When judging not exist the described Rich Media mark corresponding with described playing task mark, determine and there is not described richness Media buffer file.
Method the most according to claim 2, it is characterised in that
When judging whether the Rich Media's cache file mated with described playing task mark, described method also includes: sentence Disconnected whether existence identifies, with described playing task, the described paster file mated;
When judging to exist the described paster file mated with described playing task mark, described method also includes: loading During described Rich Media's cache file, load described paster file;
When judging not exist the described paster file mated with described playing task mark, described method also includes: broadcasting Before showing described rich media file when putting described paster file, download and load described paster file.
Method the most according to claim 2, it is characterised in that judging not exist the feelings of described Rich Media cache file Under condition, while postponing to play described paster file and download described rich media file, described method also includes:
Controlling display interface and show stress state, wherein, described display interface is used for playing described paster file, described loading shape State is loading described paster file for instruction.
Method the most according to claim 2, it is characterised in that judging not exist the feelings of described Rich Media cache file Under condition, after described rich media file has been downloaded, described method also includes:
The described rich media file obtained after download being completed caches.
7. the exhibiting device of a rich media file, it is characterised in that including:
Receiving unit, be used for receiving video request, wherein, described video request is used for asking to play video;
Acquiring unit, for obtaining the playing task mark with described video matching, wherein, described playing task mark is used for referring to Show the paster file of rich media file and described video;
First judging unit, for judging whether to identify the Rich Media's cache file mated with described playing task, wherein, Described Rich Media cache file is the described rich media file cached in advance;
First loading unit, in the case of judging to there is described Rich Media cache file, loads described Rich Media and delays Deposit file, and show described Rich Media cache file when playing described paster file.
Device the most according to claim 7, it is characterised in that described device also includes:
Second loading unit, for judge whether with described playing task Rich Media's cache file of mating of mark it After, in the case of judging to there is not described Rich Media cache file, postpone to play described paster file, and download described richness Media file;After described rich media file has been downloaded, load described rich media file, and when playing described paster file Show described rich media file.
Device the most according to claim 7, it is characterised in that described first judging unit includes:
Judge module, for judging whether the Rich Media mark corresponding with described playing task mark;
First determines module, is used for when judging to exist the described Rich Media mark corresponding with described playing task mark, Determine and there is described Rich Media cache file;
Second determines module, for judging that there is not the described Rich Media corresponding with described playing task mark identifies Time, determine and there is not described Rich Media cache file.
Device the most according to claim 8, it is characterised in that described device also includes:
Second judging unit, is used for when judging whether the Rich Media's cache file mated with described playing task mark, Judge whether to identify, with described playing task, the described paster file mated;
3rd loading unit, for when judging to exist the described paster file mated with described playing task mark, adding When carrying described Rich Media's cache file, load described paster file;
4th loading unit, is used for when judging not exist the described paster file mated with described playing task mark, Before showing described rich media file when playing described paster file, download and load described paster file.
11. devices according to claim 8, it is characterised in that described device also includes:
Control unit, in the case of judging to there is not described Rich Media cache file, is postponing the described paster of broadcasting File while downloading described rich media file, controls display interface and shows stress state, and wherein, described display interface is used for Playing described paster file, described stress state is loading described paster file for instruction.
12. devices according to claim 8, it is characterised in that described device also includes:
Buffer unit, in the case of judging to there is not described Rich Media cache file, under described rich media file After load completes, the described rich media file obtained after download being completed caches.
CN201610395620.9A 2016-06-06 2016-06-06 The methods of exhibiting and device of rich media file Active CN106101843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610395620.9A CN106101843B (en) 2016-06-06 2016-06-06 The methods of exhibiting and device of rich media file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610395620.9A CN106101843B (en) 2016-06-06 2016-06-06 The methods of exhibiting and device of rich media file

Publications (2)

Publication Number Publication Date
CN106101843A true CN106101843A (en) 2016-11-09
CN106101843B CN106101843B (en) 2019-06-07

Family

ID=57447708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610395620.9A Active CN106101843B (en) 2016-06-06 2016-06-06 The methods of exhibiting and device of rich media file

Country Status (1)

Country Link
CN (1) CN106101843B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131877A (en) * 2019-12-13 2020-05-08 聚好看科技股份有限公司 Display file playing method and device
CN111213133A (en) * 2017-11-27 2020-05-29 多玩国株式会社 Command processing server, program, system, command operation program, and command processing method
CN111726677A (en) * 2020-06-08 2020-09-29 腾讯科技(深圳)有限公司 Video playing method and device, computer storage medium and electronic equipment
CN112954445A (en) * 2021-03-16 2021-06-11 深圳市迅雷网络技术有限公司 Streaming media file playing method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232612A (en) * 2007-12-06 2008-07-30 北京广视通达网络技术有限公司 Assistant medium playing method triggered based on video contents
CN102243747A (en) * 2010-05-10 2011-11-16 微软公司 Combinatorial advertisements
CN103731692A (en) * 2012-10-16 2014-04-16 阿里巴巴集团控股有限公司 Method and system for playing SDM data
US20140282770A1 (en) * 2013-03-12 2014-09-18 Motorola Mobility Llc System and method for stream fault tolerance through usage based duplication and shadow sessions
CN104661040A (en) * 2013-11-21 2015-05-27 乐视网信息技术(北京)股份有限公司 Network multimedia resource processing method and device
CN104883385A (en) * 2015-03-31 2015-09-02 小米科技有限责任公司 Rich media file transmission method and apparatus
CN105451034A (en) * 2015-12-04 2016-03-30 合一网络技术(北京)有限公司 Advertisement playing control method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232612A (en) * 2007-12-06 2008-07-30 北京广视通达网络技术有限公司 Assistant medium playing method triggered based on video contents
CN102243747A (en) * 2010-05-10 2011-11-16 微软公司 Combinatorial advertisements
CN103731692A (en) * 2012-10-16 2014-04-16 阿里巴巴集团控股有限公司 Method and system for playing SDM data
US20140282770A1 (en) * 2013-03-12 2014-09-18 Motorola Mobility Llc System and method for stream fault tolerance through usage based duplication and shadow sessions
CN104661040A (en) * 2013-11-21 2015-05-27 乐视网信息技术(北京)股份有限公司 Network multimedia resource processing method and device
CN104883385A (en) * 2015-03-31 2015-09-02 小米科技有限责任公司 Rich media file transmission method and apparatus
CN105451034A (en) * 2015-12-04 2016-03-30 合一网络技术(北京)有限公司 Advertisement playing control method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高红波: "《新媒体节目形态》", 30 August 2013, 河南大学出版社 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111213133A (en) * 2017-11-27 2020-05-29 多玩国株式会社 Command processing server, program, system, command operation program, and command processing method
CN111213133B (en) * 2017-11-27 2023-08-04 多玩国株式会社 Command processing server, program, system, command execution program, and command processing method
CN111131877A (en) * 2019-12-13 2020-05-08 聚好看科技股份有限公司 Display file playing method and device
CN111131877B (en) * 2019-12-13 2022-04-15 聚好看科技股份有限公司 Display file playing method and device
CN111726677A (en) * 2020-06-08 2020-09-29 腾讯科技(深圳)有限公司 Video playing method and device, computer storage medium and electronic equipment
CN111726677B (en) * 2020-06-08 2021-09-17 腾讯科技(深圳)有限公司 Video playing method and device, computer storage medium and electronic equipment
CN112954445A (en) * 2021-03-16 2021-06-11 深圳市迅雷网络技术有限公司 Streaming media file playing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN106101843B (en) 2019-06-07

Similar Documents

Publication Publication Date Title
US20210073862A1 (en) Mobile interstitial ads
CN104751343B (en) A kind of advertisement placement method, device and advertisement releasing server
CN107656957A (en) Promotional content method for pushing, device, system and storage medium
CN110378732A (en) Information display method, information correlation method, device, equipment and storage medium
US20160019598A1 (en) Targeted advertising and attribution across multiple screens based on playing games on a game console through a television
CN106101843A (en) The methods of exhibiting of rich media file and device
CN106528432A (en) Construction method and apparatus for test scene data, and buried point test method
CN107071587A (en) The acquisition methods and device of video segment
CN104298728B (en) A kind of method and system by internet distributing video advertisement
CN104135692B (en) The loading display method and loaded and displayed device of video information
CN106534946A (en) Control method and device for video playing
CN105933776B (en) The playing method and device of patch media file
CN105898446A (en) Advertisement push method and device, video server and terminal equipment
CN106874520A (en) Webpage loading method, device and electronic equipment
CN105160027B (en) Advertisement data processing method and device
CN110366041A (en) Media data sharing method, device and equipment
CN106060676A (en) Online interaction method and apparatus based on live streaming
CN106170103B (en) Video broadcasting method and device
CN105847945A (en) Video acceleration method and device
CN102111905A (en) Method for controlling advertisement information released in editable form of mobile terminal
US20180068342A1 (en) Advertisement accessing server and advertisement accessing service method
CN105847888A (en) Advertisement injecting method, terminal and system
CN107690080B (en) media information playing method and device
CN105897547A (en) Information processing method, information pushing method and device
CN107968807A (en) Automatically update the method and device of local cache resource

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