CN110460885A - Method for broadcasting multimedia file, device, server and client device - Google Patents
Method for broadcasting multimedia file, device, server and client device Download PDFInfo
- Publication number
- CN110460885A CN110460885A CN201910830411.6A CN201910830411A CN110460885A CN 110460885 A CN110460885 A CN 110460885A CN 201910830411 A CN201910830411 A CN 201910830411A CN 110460885 A CN110460885 A CN 110460885A
- Authority
- CN
- China
- Prior art keywords
- duration
- play mode
- targeted advertisements
- multimedia file
- advertisement
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
- H04N21/26241—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the time of distribution, e.g. the best time of the day for inserting an advertisement or airing a children program
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel 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/2668—Creating a channel for a dedicated end-user group, e.g. insertion of targeted commercials based on end-user profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
- H04N21/44222—Analytics of user selections, e.g. selection of programs or purchase activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4667—Processing of monitored end-user data, e.g. trend analysis based on the log file of viewer selections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4668—Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/812—Monomedia components thereof involving advertisement data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Abstract
The embodiment of the invention provides a kind of method for broadcasting multimedia file, device, server and client devices.In this method, the playing request that client device is sent is received, the file identification and the selected target play mode of user of multimedia file to be played are carried in the playing request;Target play mode is one of a variety of predetermined play mode, and different predetermined play mode corresponds to different advertisement duration methods of determination;According to advertisement duration method of determination corresponding with target play mode, targeted advertisements duration is determined;The targeted advertisements and the corresponding multimedia file of file identification for meeting targeted advertisements duration to client device feedback duration, so that client device plays targeted advertisements and multimedia file.The present invention can solve user to the acceptance level of advertisement duration and the unmatched problem of duration of institute's feedback of advertisement, so as to promote the advertisement delivery effect and user experience of client device.
Description
Technical field
The present invention relates to Internet technical fields, more particularly to method for broadcasting multimedia file, device, server and visitor
Family end equipment.
Background technique
In Internet technical field, it is a kind of normal that advertisement is launched during client device plays multimedia file
The means seen.In this process, the advertisement launched in client device, by the corresponding server of client device Lai really
It is fixed.
In the prior art, the process for playing multimedia file includes: that client device receives broadcasting multimedia file
After play instruction, the multimedia file playing request for carrying the multimedia file is sent to server, in turn, server will be pre-
Fixed advertisement and this document identify corresponding multimedia file and feed back to client device, so that client device plays this extensively
Announcement and the multimedia file.
However, inventor has found in the implementation of the present invention, at least there are the following problems for the prior art:
When receiving any multimedia file playing request, server is directly scheduled wide to client device feedback
It accuses, may cause user in this way and the acceptance level of advertisement duration and the duration of institute's feedback of advertisement are mismatched, influence advertisement dispensing
Effect and user experience.
Summary of the invention
The embodiment of the present invention is designed to provide method for broadcasting multimedia file, device, server and client device,
To solve the problems, such as that user in the prior art is unmatched to the acceptance level of advertisement duration and the duration of institute feedback of advertisement, to mention
Rise the advertisement delivery effect and user experience of client device.Specific technical solution is as follows:
In a first aspect, being applied to server, this method the embodiment of the invention provides a kind of method for broadcasting multimedia file
Include:
The playing request that client device is sent is received, carries multimedia file to be played in the playing request
File identification and the selected target play mode of user;Wherein, the target play mode is a variety of predetermined play mode
One of, different predetermined play mode corresponds to different advertisement duration methods of determination;
According to advertisement duration method of determination corresponding with the target play mode, targeted advertisements duration is determined;
To the client device feedback duration meet the targeted advertisements duration targeted advertisements and the files-designated
Corresponding multimedia file is known, so that the client device plays the targeted advertisements and the multimedia file.
Optionally, when a variety of predetermined play mode include: advertisement the first play mode of a length of scheduled duration and from
Dynamic the second play mode for determining advertisement duration;
It is described to determine targeted advertisements duration according to advertisement duration method of determination corresponding with the target play mode, packet
It includes:
When the target play mode is first play mode, when the scheduled duration is determined as targeted advertisements
It is long;
When the target play mode is second play mode, reference information is obtained, and based on described with reference to letter
Breath, determines targeted advertisements duration;The reference information are as follows: influence user to the information of the acceptance level of advertisement duration.
Optionally, described the step of being based on the reference information, determining targeted advertisements duration, comprising:
Using quantification manner corresponding with the reference information, the corresponding quantized value of the reference information is determined;
Targeted advertisements duration is calculated using scheduled duration calculation formula according to quantized value calculated.
Optionally, the reference information obtained is one kind, the scheduled duration calculation formula are as follows:
T=Tmax×R;
Wherein, T is the targeted advertisements duration, TmaxFor the corresponding maximum value of the targeted advertisements duration, R is the ginseng
Examine the corresponding quantized value of information.
Optionally, the reference information obtained is a variety of, the scheduled duration calculation formula are as follows:
Wherein, T is the targeted advertisements duration, TmaxFor the corresponding maximum value of the targeted advertisements duration;RiIt is i-th kind
The corresponding quantized value of reference information, n >=2;wiFor RiCorresponding default weight.
Optionally, the reference information includes: current time, the popularity information of the multimedia file and described more
One of duration information of media file is a variety of;
Wherein, the popularity information are as follows: information of the characterization multimedia file by the ratings of user.
Second aspect, the embodiment of the invention provides a kind of method for broadcasting multimedia file, are applied to client device, should
Method includes:
Obtain the play instruction for playing multimedia file;Multimedia file to be played is carried in the play instruction
File identification;
Determine that the corresponding target play mode of the play instruction, the target play mode are that user is selected a variety of
One of predetermined play mode, different predetermined play mode correspond to different advertisement duration methods of determination;
The playing request for carrying the target play mode and the file identification is sent to server, so that the clothes
Device be engaged according to advertisement duration method of determination corresponding with the target play mode, determines targeted advertisements duration, and feed back duration
Meet the targeted advertisements and the corresponding multimedia file of the file identification of the targeted advertisements duration;
When receiving the multimedia file and the targeted advertisements of the server feedback, more matchmakers are played
Body file and the targeted advertisements.
Optionally, when a variety of predetermined play mode include: advertisement the first play mode of a length of scheduled duration and from
Dynamic the second play mode for calculating advertisement duration;First play mode corresponds to the pass the broadcasting that click mode issues and refers to
It enables;Second play mode corresponds to the pass the play instruction that long-pressing mode issues.
The third aspect, the embodiment of the invention provides a kind of multimedia file playing devices, are applied to server, the dress
It sets and includes:
Receiving module carries to be played for receiving the playing request of client device transmission in the playing request
Multimedia file file identification and the selected target play mode of user;Wherein, the target play mode is more
One of predetermined play mode of kind, different predetermined play mode corresponds to different advertisement duration methods of determination;
Determining module, for determining that target is wide according to advertisement duration method of determination corresponding with the target play mode
Accuse duration;
Feedback module, for the client device feedback duration meet the targeted advertisements of the targeted advertisements duration with
And the corresponding multimedia file of the file identification, so that the client device plays the targeted advertisements and the multimedia
File.
Optionally, when a variety of predetermined play mode include: advertisement the first play mode of a length of scheduled duration and from
Dynamic the second play mode for determining advertisement duration;
The determining module, including the first determining submodule or the second determining submodule;
Described first determines submodule, is used for when the target play mode is first play mode, will be described
Scheduled duration is determined as targeted advertisements duration;
Described second determines submodule, for being joined when the target play mode is second play mode
Information is examined, and is based on the reference information, determines targeted advertisements duration;The reference information are as follows: influence user to advertisement duration
Acceptance level information.
Optionally, it described second determines that submodule is based on the reference information, determines targeted advertisements duration, comprising:
Using quantification manner corresponding with the reference information, the corresponding quantized value of the reference information is determined;
Targeted advertisements duration is calculated using scheduled duration calculation formula according to quantized value calculated.
Optionally, described second determine that the submodule reference information obtained is one kind, the scheduled duration meter
Calculate formula are as follows:
T=Tmax×R;
Wherein, T is the targeted advertisements duration, TmaxFor the corresponding maximum value of the targeted advertisements duration, R is the ginseng
Examine the corresponding quantized value of information.
Optionally, described second determine that the submodule reference information obtained is a variety of, the scheduled duration meter
Calculate formula are as follows:
Wherein, T is the targeted advertisements duration, TmaxFor the corresponding maximum value of the targeted advertisements duration;RiIt is i-th kind
The corresponding quantized value of reference information, n >=2;wiFor RiCorresponding default weight.
Optionally, the reference information includes one of following information or a variety of;
The duration information of current time, the popularity information of the multimedia file and the multimedia file;
Wherein, the popularity information are as follows: information of the characterization multimedia file by the ratings of user.
Fourth aspect, the embodiment of the invention provides a kind of multimedia file playing devices, are applied to client device, institute
Stating device includes:
Module is obtained, for obtaining the play instruction for playing multimedia file;It is carried in the play instruction to be played
Multimedia file file identification;
Play mode determining module, for determining that the corresponding target play mode of the play instruction, the target play
Mode is one of selected a variety of predetermined play mode of user, when different predetermined play mode corresponds to different advertisements
Long method of determination;
Sending module, the broadcasting for carrying the target play mode and the file identification to server transmission are asked
It asks, so that the server is according to advertisement duration method of determination corresponding with the target play mode, when determining targeted advertisements
It is long, and feed back targeted advertisements and the corresponding multimedia file of the file identification that duration meets the targeted advertisements duration;
Playing module, for when the multimedia file and the targeted advertisements for receiving the server feedback
When, play the multimedia file and the targeted advertisements.
Optionally, when a variety of predetermined play mode include: advertisement the first play mode of a length of scheduled duration and from
Dynamic the second play mode for calculating advertisement duration;First play mode corresponds to the pass the broadcasting that click mode issues and refers to
It enables;Second play mode corresponds to the pass the play instruction that long-pressing mode issues.
5th aspect, the embodiment of the invention provides a kind of server, including processor, communication interface, memory and logical
Believe bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any video of preceding claim
Playback method.
6th aspect, the embodiment of the invention provides a kind of client devices, including processor, communication interface, memory
And communication bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described video broadcasting method.
At the another aspect that the present invention is implemented, a kind of computer readable storage medium is additionally provided, it is described computer-readable
Instruction is stored in storage medium, when run on a computer, so that computer executes any of the above-described multimedia
Document play-back method.
At the another aspect that the present invention is implemented, the embodiment of the invention also provides a kind of, and the computer program comprising instruction is produced
Product, when run on a computer, so that computer executes any of the above-described method for broadcasting multimedia file.
In method for broadcasting multimedia file provided in an embodiment of the present invention, carried in the playing request that client device is sent
There is the selected target play mode of user, target play mode is one of a variety of predetermined play mode, and different is predetermined
Play mode corresponds to different advertisement duration methods of determination.When user has selected a kind of predetermined play mode, illustrate customer acceptance
Advertisement duration method of determination under the mode.In turn, according to targeted advertisements duration determined by the advertisement duration method of determination, phase
It is relatively easy to receive for a user.Therefore, this programme can solve user in the prior art and receive journey to advertisement duration
Degree and the unmatched problem of duration of institute's feedback of advertisement, to promote the advertisement delivery effect of client device and user uses body
It tests.Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach all the above advantage simultaneously.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described.
Fig. 1 is a kind of flow chart of the method for broadcasting multimedia file applied to server provided in an embodiment of the present invention;
Fig. 2 is a kind of process of the method for broadcasting multimedia file applied to client device provided in an embodiment of the present invention
Figure;
Fig. 3 is a kind of structural representation of the multimedia file playing device applied to server provided in an embodiment of the present invention
Figure;
Fig. 4 is a kind of structure of the multimedia file playing device applied to client device provided in an embodiment of the present invention
Schematic diagram;
A kind of Fig. 5 structural schematic diagram of server provided in an embodiment of the present invention;
A kind of Fig. 6 structural schematic diagram of client device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
It is unmatched to the acceptance level of advertisement duration and the duration of institute feedback of advertisement in order to solve user in the prior art
Problem, the embodiment of the invention provides method for broadcasting multimedia file, device, server and client devices.Here, multimedia
File may include: picture, video and audio and text etc..
In the embodiment of the present invention, method for broadcasting multimedia file includes: the multimedia file broadcasting side applied to server
Method and applied to two kinds of method for broadcasting multimedia file of client device.Multimedia file broadcasting side applied to server
The executing subject of method, for multimedia file playing device applied by the server;Multimedia text applied to client device
The executing subject of part playback method, for multimedia file playing device applied by the client device.On it is understood that
Stating two kinds of multimedia file playing devices is software function module.
Firstly, being carried out specifically to the method for broadcasting multimedia file provided in an embodiment of the present invention applied to server
It is bright.As shown in Figure 1, the method for broadcasting multimedia file provided in an embodiment of the present invention applied to server, may include following
Step:
S101: receiving the playing request that client device is sent, and multimedia text to be played is carried in the playing request
The file identification of part and the selected target play mode of user;Wherein, target play mode is a variety of predetermined play mode
One of, different predetermined play mode corresponds to different advertisement duration methods of determination.
It is understood that the file identification of multimedia file to be played and the selected target of user play mould
Formula can be two kinds of required parameters in playing request transmitted by client device.Wherein, client device is sent out to server
The playing request sent may exist many different forms.Illustratively, in one implementation, client device can lead to
It crosses URL (Uniform Resource Locator, uniform resource locator) and sends playing request to server;It is set in client
To in the URL of server the field for being used to indicate the file identification of multimedia file can be set, and be used to indicate mesh in preparation
Mark the field of play mode;In this way, server can obtain the file of multimedia file to be played from the URL received
Mark and the selected target play mode of user.
For example, it is assumed that the playing request that client device is sent is a URL (Uniform Resource
Locator, uniform resource locator), does is which www.abc.com id=022&mode=1;Wherein, abc.com is more matchmakers
The website domain name of body content supplier;Id is the field for being used to indicate the file identification of multimedia file, and id=022 is represented wait broadcast
The file identification for the multimedia file put is 022;Mode is the field for being used to indicate target play mode, and mode=1, which is represented, to be used
The selected target play mode in family is mode 1.It is understood that in practical applications, in the URL that client device is sent
It can also include other fields, the content as indicated by other fields is unrelated with the solution of the present invention, therefore is not repeated herein.
It should be noted that the concrete form for the playing request that client device is sent to server is not limited to above-mentioned institute
It enumerates, any type of playing request that server is sent to by client device may be incorporated for the embodiment of the present invention and mention
In the method for broadcasting multimedia file of confession.
It is understood that different predetermined play mode corresponds to different advertisements due in a variety of predetermined play mode
Duration method of determination, therefore the target play mode that user has selected oneself desired, that is, when having selected oneself acceptable advertisement
Long method of determination.
In addition, in the embodiment of the present invention, a variety of predetermined play mode are there may be a variety of, when can be according to different advertisements
Long method of determination presets a variety of different predetermined play mode.Illustratively, a variety of predetermined play mode may include:
First play mode of a length of scheduled duration and the second play mode for automatically determining advertisement duration when advertisement.It is understood that
It is, when the first play mode that user selects is as target play mode, then the user more receives to play scheduled duration
Advertisement;When the second play mode that user selects is as target play mode, then the user more receives to automatically determine
Advertisement duration.In order to scheme understand and be laid out it is clear, by S102 to the first play mode and the second play mode
Advertisement duration method of determination is illustratively illustrated.
S102: according to advertisement duration method of determination corresponding with target play mode, targeted advertisements duration is determined.
Wherein, when target play mode is the first play mode, scheduled duration can be determined as to targeted advertisements duration.
For example, it is assumed that scheduled duration is 60 seconds, then targeted advertisements duration is 60 when target play mode is the first play mode
Second.In addition, scheduled duration there may also be a variety of, when target play mode is the first play mode, can randomly select one
A scheduled duration, to play the advertisement of corresponding duration.For example, it is assumed that scheduled duration include 15 seconds scheduled duration, 30
Scheduled duration, 60 seconds scheduled durations and the 80 seconds scheduled durations of second.When target play mode be the first play mode and
The scheduled duration randomly selected is 80 seconds, then targeted advertisements duration is 80 seconds.
When target play mode is the second play mode, advertisement duration method of determination corresponding with the second play mode,
It may include: acquisition reference information, and be based on reference information, determine targeted advertisements duration;The reference information are as follows: influence user couple
The information of the acceptance level of advertisement duration.
In practical applications, influence user to the information of the acceptance level of advertisement duration can there are many kinds of, therefore, this hair
There may be a variety of for reference information in bright embodiment.Illustratively, above-mentioned reference information may include in following information
It is one or more: the duration information of current time, the popularity information of multimedia file and multimedia file;Wherein, popular
Spend information are as follows: information of the characterization multimedia file by the ratings of user.
It is understood that when reference information includes a variety of, it is therefrom optionally several, when can determine targeted advertisements
It is long.For example, it is assumed that optional reference information includes current time, the popularity information of multimedia file and multimedia file
Duration information.If multimedia file is video and audio file, can be believed according to the popularity of current time, video and audio file
Breath and the duration information of video and audio file these three reference informations, to determine targeted advertisements duration.And if multimedia file
It, then can be according to current time and the popularity information of text file both reference informations, to determine target for text file
Advertisement duration.
It should be noted that the type of reference information herein shown is merely exemplary, should not constitute to this
The restriction of invention, it is any to influence user to the information of the acceptance level of advertisement duration, it can be used as the ginseng in the present invention
Examine information.
Also, it is based on reference information, determining the specific implementation of targeted advertisements duration, there are a variety of.Illustratively, In
In the first implementation, when the reference information of acquisition is a kind of, it is based on reference information, determines the step of targeted advertisements duration
Suddenly, may include:
Institute is calculated using linear interpolation method according to the corresponding relationship of multiple preset advertisement durations and the value of reference information
The corresponding advertisement duration of the value of the Reference News of acquisition, using the advertisement duration being calculated as targeted advertisements duration.
In the second implementation, when the reference information of acquisition is a variety of, it is based on reference information, determines targeted advertisements
The step of duration may include:
For each reference information, closed according to multiple preset advertisement durations are corresponding with the value of this kind of reference information
System calculates advertisement duration corresponding to the value of this kind of Reference News obtained using linear interpolation method;
The average value of each advertisement duration being calculated is sought, using the average value as targeted advertisements duration;Alternatively, will
The maximum value in each advertisement duration calculated, as targeted advertisements duration.
In above two implementation, for each reference information, the value of preset advertisement duration and the reference information
Corresponding relationship, a list can be formed.In the list, the value of each reference information corresponds to an advertisement duration.When
Reference information is obtained, and after the value of the determining reference information, it can be from the list, when searching advertisement corresponding to the value
It is long.When not advertisement duration corresponding with the value, two values nearest apart from the value can also be found from list, it is one big
In the value, one is less than the value;Then, linear interpolation method is utilized, so that it may advertisement duration corresponding to the value be calculated.
In the third implementation, the step of being based on reference information, determine targeted advertisements duration, may include:
Using quantification manner corresponding with reference information, the corresponding quantized value of reference information is determined;
Targeted advertisements duration is calculated using scheduled duration calculation formula according to quantized value calculated.
In the implementation, when it is a kind of for obtaining reference information, scheduled duration calculation formula can be with are as follows:
T=Tmax×R;
Wherein, T is targeted advertisements duration, TmaxFor the corresponding maximum value of targeted advertisements duration, R is that reference information is corresponding
Quantized value.
When it is a variety of for obtaining reference information, scheduled duration calculation formula can be with are as follows:
Wherein, T is targeted advertisements duration, TmaxFor the corresponding maximum value of targeted advertisements duration;RiFor i-th kind of reference information
Corresponding quantized value, n >=2;wiFor RiCorresponding default weight.
In addition, when exceeding scheduled thresholding duration, when such as exceeding 5 minutes, may be used also when the targeted advertisements duration calculated is too long
Targeted advertisements duration is recalled to normal value using preset Product-factor.Such as Product-factor is set as 0.2, when target is wide
When announcement duration is more than 2 minutes, a reasonable targeted advertisements duration just is obtained multiplied by targeted advertisements duration using Product-factor.
Alternatively, when duration calculation formula targeted advertisements duration calculated is too long, it, can be directly by mesh when exceeding scheduled thresholding duration
The maximum value of mark advertisement duration is determined as targeted advertisements duration.
Also, works as second or the timesharing that the targeted advertisements duration calculated is not integer, integer can be rounded to
Second divides.
It is understood that different reference informations corresponds to different quantification manners.In order to which scheme understands and is laid out clearly,
It is subsequent that the different corresponding quantification manners of reference information institute is illustratively illustrated.
S103: to client device feedback duration meet targeted advertisements duration targeted advertisements and file identification it is corresponding
Multimedia file, so that client device plays targeted advertisements and multimedia file.
Here, the targeted advertisements that targeted advertisements duration is met to client device feedback duration, can be specially to client
End equipment feeds back the targeted advertisements that duration is equal to targeted advertisements duration;Alternatively, approaching but being less than to client device feedback duration
The targeted advertisements of targeted advertisements duration.Here it is possible to a lesser threshold value be preset, to client device feedback target advertisement
When, make the difference of targeted advertisements duration and the duration of the targeted advertisements fed back, is less than the threshold value.This way it is possible to realize to visitor
Family end equipment feeds back the targeted advertisements that duration approaches but is less than targeted advertisements duration.For example, it is assumed that threshold value is 3 seconds, target
A length of 60 seconds when advertisement, then the duration of the targeted advertisements fed back to client device, at least greater than 57 seconds, certainly,
The duration of the targeted advertisements fed back to client device, and less than or equal to 60 seconds.
In method for broadcasting multimedia file provided in an embodiment of the present invention applied to server, server institute is received to be broadcast
It puts and carries the selected target play mode of user in request, target play mode is one in a variety of predetermined play mode
Kind, different predetermined play mode corresponds to different advertisement duration methods of determination.When user has selected a kind of predetermined play mode,
Illustrate the advertisement duration method of determination under the customer acceptance mode.In turn, according to mesh determined by the advertisement duration method of determination
Advertisement duration is marked, is relatively easy to receive for user.Therefore, this programme can solve in the prior art user to advertisement
The acceptance level of duration and the unmatched problem of duration of institute's feedback of advertisement are launched so as to promote the advertisement of client device
Effect and user experience.
In order to which scheme understands and is laid out clearly, example is carried out to the corresponding quantification manner of different reference informations institutes below
The explanation of property.
Illustratively, when reference information is current time, quantification manner corresponding with current time may include:
Determine target time section belonging to current time, which is one in multiple preset time periods;
Determine the corresponding quantized value of the target time section;Wherein, different preset time periods can correspond to different quantized values;
For example, it is assumed that multiple preset time periods include: the morning of the evening hours section of 22:59-5:00,5:01-9:00
Between period, the daytimes section of 9:01-18:00 and 18:01-23:00 prime time section.Wherein, evening hours section is right
The quantized value answered can be 1;Period corresponding quantized value can be 0.5 between morning;The corresponding quantized value of daytimes section can be with
It is 1.5;The corresponding quantized value of prime time section can be 0.2.
It is understood that user does not allow to be easily accepted by play extensively for a long time between morning in period and prime time section
It accuses, therefore quantized value is lower;And in evening hours section and daytimes section, the time of user is comparatively abundant, is relatively easy to
Receiving plays advertisement for a long time, therefore quantized value is relatively higher.
When reference information is the popularity information of multimedia file, which may include a variety of.It is exemplary
, the popularity information of multimedia file may include user's scoring of the number that multimedia file is watched or multimedia file
Etc..
Wherein, when reference information is the number that multimedia file is watched, the number pair watched with multimedia file
The quantification manner answered may include:
Determine the number that multimedia file is watched;
Determine targeted number range belonging to the number;The targeted number range is one in multiple preset times ranges
It is a;
Determine the corresponding quantized value of targeted number range;Wherein, different preset times ranges can correspond to different quantizations
Value.
For example, it is assumed that multiple preset times ranges include: 0-1000 range 1;1001-5000 range 2;
5001-10000 range 3;10001-50000 range 4;50001- countless ranges 5;Wherein, range 1 is corresponding
Quantized value can be 0.2;The corresponding quantized value of range 2 can be 0.4;The corresponding quantized value of range 3 can be 0.6;Range 4 is right
The quantized value answered can be 0.8;The corresponding quantized value of range 5 can be 1.
It is understood that the multimedia file that the number watched is more, popularity are higher.In this way, user is watching
When the multimedia file, even if advertisement duration is longer, also it is relatively easy to receive.Therefore, when multimedia file is more by watched time,
Corresponding quantized value is relatively large.In addition, the multimedia file that the number watched is less, it may be possible to unwelcome more matchmakers
Body file, or just online multimedia file.At this point, user can not allow to be easily accepted by if advertisement duration is longer, because
This, when multimedia file is less by watched time, corresponding quantized value is relatively small.
In addition, when user's scoring that reference information is multimedia file, it is corresponding with the user of multimedia file scoring
Quantification manner may include:
By user's scoring of multimedia file divided by the corresponding full marks value of user's scoring, calculated result is obtained, by the calculating
As a result it is used as quantized value.
It is understood that user's scoring of multimedia file is higher, the calculated quantized value of institute is bigger, multimedia text
The popularity of part is higher.
In addition, video and audio file also has duration information, therefore works as reference information when multimedia file is video and audio file
For video and audio file duration information when, quantification manner corresponding with the duration information of video and audio file may include:
Determine the file duration of video and audio file;
Determine target length range belonging to this document duration;The target length range is in multiple preset length ranges
One;
Determine the corresponding quantized value of target length range;Wherein, different preset length ranges can correspond to different quantizations
Value.
For example, it is assumed that multiple preset length ranges include: 0-5 minutes ranges 1;The range 2 of 5 minutes-half an hour;
Half an hour -2 hours ranges 3;- 5 hours 2 hours ranges 4;Wherein, the corresponding quantized value of range 1 can be 0.2;Range 2
Corresponding quantized value can be 0.3;The corresponding quantized value of range 3 can be 0.8;The corresponding quantized value of range 4 can be 1.2.
It is understood that the file duration of video and audio file is shorter, the acceptable advertisement duration of user institute is shorter,
Therefore, when the file duration of multimedia file is shorter, quantized value is smaller, and when the file duration of multimedia file is longer, quantization
It is worth then relatively larger.
It should be noted that the corresponding default quantification manner of above-mentioned shown various reference informations institutes, as just
Example should not constitute limitation of the invention.
In addition, using method for broadcasting multimedia file provided in an embodiment of the present invention, in addition to client device can be promoted
Advertisement delivery effect and user experience, can also give user reduce or remit flow.At this point, can be with without the user for reducing or remitting flow
Select the first play mode;And the user for needing to reduce or remit flow then can choose the second play mode.
Specifically, in the first play mode, when can set the scheduled duration of played advertisement to one shorter
It is long, such as 20 seconds.In this way, without reducing or remitting the advertisement that the user of flow only need to watch 20 seconds.And in the second play mode, it needs to subtract
The duration for the advertisement watched required for the user for exempting from flow, then determined by server based on one or more reference informations.It lifts
For example, it is assumed that duration information of the server based on current time, the popularity information of multimedia file and multimedia file
These three reference informations, to determine targeted advertisements duration.So, when the user for needing to reduce or remit flow selects the second play mode,
The duration of the advertisement of required viewing, then as the popularity and multimedia of period, multimedia file where current time
The duration of file determines.It is understood that user's multimedia file to be played more flows under the setting of deduction and exemption flow
Row, the duration of the multimedia file is longer, and the advertising time that user needs to watch is longer.In addition, in above-described embodiment, currently
When time belongs to prime time section, the corresponding quantized value of prime time section is smaller, is not allow to be easily accepted by gold based on user
Between the considerations of playing advertisement in section for a long time.But under the setting of deduction and exemption flow, user exchanges subtracting for flow for by watching advertisement
Exempt from, the corresponding quantized value of prime time section can properly increase at this time, even higher than the corresponding quantized value of other times section.
It is understood that herein shown given using method for broadcasting multimedia file provided in an embodiment of the present invention is used
The example of flow is reduced or remitted at family, one be applicable in when be a variety of predetermined play mode including the first play mode and the second play mode
Kind application scenarios.In the embodiment of the present invention, a variety of predetermined play mode can flexibly be set, so that the present invention is implemented
The method for broadcasting multimedia file that example provides is suitable for more kinds of application scenarios.
It should be noted that the server in above-described embodiment, is a kind of functional definition.In practical applications, should
The function that server is realized, can control system, operator's agency service by the various backstages opposite with client device
Device and CDN (Content Delivery Network, content distributing network) server carry out cooperative achievement.In order to which scheme understands
And layout is clear, and it is subsequent by after carrying out explanation to the method for broadcasting multimedia file for being applied to client device, to benefit
With method for broadcasting multimedia file provided in an embodiment of the present invention, realize that the practical realization process of deduction and exemption flow is illustrated.
Corresponding to the above-mentioned method for broadcasting multimedia file applied to server, the embodiment of the invention also provides one kind
Method for broadcasting multimedia file applied to client device.As shown in Fig. 2, provided in an embodiment of the present invention be applied to client
The method for broadcasting multimedia file of equipment, may comprise steps of:
S201: the play instruction for playing multimedia file is obtained.
Wherein, the file identification of multimedia file to be played is carried in the play instruction;The play instruction can be
Play instruction given by the user of client device.
S202: determine that the corresponding target play mode of play instruction, the target play mode are that user is selected a variety of
One of predetermined play mode, different predetermined play mode correspond to different advertisement duration methods of determination.
In the embodiment of the present invention, a variety of predetermined play mode can flexibly be set.For example, a variety of predetermined play mode can be with
First play mode of a length of scheduled duration and automatic the second play mode for calculating advertisement duration when including: advertisement.Wherein, should
First play mode and the second play mode are played with applied to first in the method for broadcasting multimedia file of server respectively
Mode and the second play mode are corresponding.
In addition, there are a variety of for the mode of user's selection target play mode.For example, user passes through click play key selection the
One play mode selects the second play mode by long-pressing play button;Alternatively, on the software interface of client device, for not
Same play mode provides different buttons etc., this is all reasonable.
S203: the playing request for carrying target play mode and file identification is sent to server, so that server is pressed
According to advertisement duration method of determination corresponding with target play mode, targeted advertisements duration is determined, and feed back duration to meet target wide
Accuse the targeted advertisements and the corresponding multimedia file of file identification of duration.
It is understood that client device sends the broadcasting for carrying target play mode and file identification to server
Request, can be specially to server send include both parameters of target play mode and file identification playing request.
Also, the playing request that client device is sent to server may exist many different forms.Illustratively, in a kind of reality
In existing mode, client device can be by URL (Uniform Resource Locator, uniform resource locator) to service
Device sends playing request;In the URL that client device issues server, the file for being used to indicate multimedia file can be set
The field of mark, and it is used to indicate the field of target play mode;In this way, server can be obtained from the URL received
The file identification of multimedia file to be played and the selected target play mode of user.
For example, it is assumed that the playing request that client device is sent is a URL (Uniform Resource
Locator, uniform resource locator), does is which www.abc.com id=022&mode=1;Wherein, abc.com is more matchmakers
The website domain name of body content supplier;Id is the field for being used to indicate the file identification of multimedia file, and id=022 is represented wait broadcast
The file identification for the multimedia file put is 022;Mode is the field for being used to indicate target play mode, and mode=1, which is represented, to be used
The selected target play mode in family is mode 1.It is understood that in practical applications, client device is sent out to server
It can also include other fields in the URL sent, the content as indicated by other fields is unrelated with the solution of the present invention, therefore herein
It does not repeat them here.
It should be noted that the concrete form for the playing request that client device is sent to server is not limited to above-mentioned institute
It enumerates, any type of playing request that server is sent to by client device may be incorporated for the embodiment of the present invention and mention
In the method for broadcasting multimedia file of confession.
In addition, determining targeted advertisements according to advertisement duration method of determination corresponding with target play mode about server
The specific embodiment of duration had carried out detailed description in the method for broadcasting multimedia file for being applied to server, this
Place repeats no more.
S204: when receiving the multimedia file and the targeted advertisements of the server feedback, institute is played
State multimedia file and the targeted advertisements.
In practical applications, client device plays multimedia file and the specific implementation of broadcasting targeted advertisements is deposited
A variety of.Illustratively, in one implementation, client device can first play targeted advertisements, then, then play more matchmakers
Body file.
In another implementation, targeted advertisements may include multiple, in this way, client device can play more matchmakers
Before body file, one or several in multiple targeted advertisements are first played;Remaining targeted advertisements can then play more matchmakers
During body file, played out according to scheduled advertisement play time.
In another implementation, user can also independently select to play the time of targeted advertisements.For example, playing
Targeted advertisements etc. are played in certain time period after multimedia file.
In addition, when detecting multimedia file is a certain collection in line item next collection can be played automatically every
When, received whole targeted advertisements are played, or play one or several in received multiple targeted advertisements
It is a.
It should be noted that above-mentioned shown client device plays multimedia file and plays the tool of targeted advertisements
Body implementation, it is merely exemplary, it should not constitute limitation of the invention.
It is provided in an embodiment of the present invention to be applied in client device method for broadcasting multimedia file, it is sent to server
The selected target play mode of user is carried in playing request, which is in a variety of predetermined play mode
One kind, different predetermined play mode correspond to different advertisement duration methods of determination.When user has selected a kind of predetermined broadcasting mould
Formula illustrates the advertisement duration method of determination under the customer acceptance mode.Therefore, corresponding according to target play mode when server
Advertisement duration method of determination, after determining targeted advertisements duration and feedback target advertisement, the duration of the targeted advertisements is relative to user
For be relatively easy to receive.Therefore, it is anti-to the acceptance level of advertisement duration and institute to can solve user in the prior art for this programme
The unmatched problem of duration of advertisement is presented, so as to promote the advertisement delivery effect and user experience of client device.
Optionally, in one implementation, what the first above-mentioned play mode corresponded to the pass that click mode issues broadcasts
Put instruction;Second play mode corresponds to the pass the play instruction that long-pressing mode issues.
It is understood that then client is set when the play instruction that user is issued in client device by click mode
Entrained target play mode is the first play mode in the standby playing request sent to server;At this point, server feedback
Targeted advertisements, be scheduled duration advertisement.It is when the play instruction that user is issued in client device by long-pressing mode, then objective
Entrained target play mode is the second play mode in the playing request that family end equipment is sent to server;At this point, service
The duration of the targeted advertisements of device feedback, meets server based on the determined targeted advertisements duration of reference information.
In addition, being applied to client device method for broadcasting multimedia file when provided in an embodiment of the present invention, applied to subtracting
When exempting from the scene of flow, for supporting the multimedia file of deduction and exemption flow, this can be prompted the user in client device
Multimedia file supports deduction and exemption flow.For example, setting can be used to indicate deduction and exemption on the multimedia file for supporting deduction and exemption flow
The icon of flow, alternatively, prompting the user with " multimedia file supports deduction and exemption flow, long-pressing play button that can reduce or remit flow "
Etc., this is all reasonable.When user's long-pressing play button, that is, have selected automatic the second play mode for calculating advertisement duration;When
The non-long-pressing play button of user, but when clicking play button, that is, have selected the first play mode of a length of scheduled duration when advertisement.
In order to which scheme understands and is laid out clearly, below to utilization multimedia file broadcasting side provided in an embodiment of the present invention
Method realizes that the practical realization process of deduction and exemption flow is illustrated.It is specific:
When client device receives the play instruction of long-pressing play button, the broadcast control system transmission of Xiang Houtai carries second
The playing request of the file identification of play mode and multimedia file to be played;
Broadcast control system is based on reference information, determines targeted advertisements duration;
Broadcast control system meets the advertising logo of the targeted advertisements of targeted advertisements duration to the ad system on backstage request duration,
And determine the slicing files mark of the corresponding each slicing files of file identification;
Broadcast control system is identified to client device feedback of advertisement mark and slicing files;
Client device is successively to the corresponding targeted advertisements of scheduling system request advertising logo and slicing files on backstage
Corresponding slicing files are identified, in request, in addition to advertising logo and slicing files mark are issued scheduling system, will also
Second play mode issues scheduling system, to inform this request of scheduling system for the request of deduction and exemption flow;
Correspondingly, CDN server address from system to client device feedback target advertisement and fragment text where scheduling
CDN server address where part, and operator's authorized agency's server to client device feedback for reducing or remitting flow
Address;
Client device receives CDN server address and proxy server address where targeted advertisements and slicing files
Afterwards, proxy server is successively issued into these CDN server addresses;
Proxy server successively obtains targeted advertisements and slicing files from each CDN server, and feeds back to client
Equipment.
More than, to utilize method for broadcasting multimedia file provided in an embodiment of the present invention, realize the practical reality of deduction and exemption flow
Existing process.It is understood that the side for the deduction and exemption flow that method for broadcasting multimedia file provided in an embodiment of the present invention is realized
Case had not only reduced or remitted flow to user, but also can promote ad revenue to Multimedia Service Operator.
Corresponding to a kind of above-mentioned method for broadcasting multimedia file applied to server, the embodiment of the invention also provides
A kind of multimedia file playing device, the device are applied in server.As shown in figure 3, the apparatus may include:
Receiving module 301 carries in the playing request wait broadcast for receiving the playing request of client device transmission
The file identification for the multimedia file put and the selected target play mode of user;Wherein, the target play mode is
One of a variety of predetermined play mode, different predetermined play mode correspond to different advertisement duration methods of determination;
Determining module 302, for determining target according to advertisement duration method of determination corresponding with the target play mode
Advertisement duration;
Feedback module 303, the target for meeting the targeted advertisements duration to client device feedback duration are wide
It accuses and the corresponding multimedia file of the file identification, so that the client device plays the targeted advertisements and described more
Media file.
Optionally, when a variety of predetermined play mode include: advertisement the first play mode of a length of scheduled duration and from
Dynamic the second play mode for determining advertisement duration;
The determining module 302 may include that the first determining submodule or second determine submodule;
Described first determines submodule, is used for when the target play mode is first play mode, will be described
Scheduled duration is determined as targeted advertisements duration;
Described second determines submodule, for being joined when the target play mode is second play mode
Information is examined, and is based on the reference information, determines targeted advertisements duration;The reference information are as follows: influence user to advertisement duration
Acceptance level information.
Optionally, it described second determines that submodule is based on the reference information, determines targeted advertisements duration, may include:
Using quantification manner corresponding with the reference information, the corresponding quantized value of the reference information is determined;
Targeted advertisements duration is calculated using scheduled duration calculation formula according to quantized value calculated.
Optionally, described second determine that the submodule reference information obtained is one kind, the scheduled duration meter
Calculate formula are as follows:
T=Tmax×R;
Wherein, T is the targeted advertisements duration, TmaxFor the corresponding maximum value of the targeted advertisements duration, R is the ginseng
Examine the corresponding quantized value of information.
Optionally, described second determine that the submodule reference information obtained is a variety of, the scheduled duration meter
Calculate formula are as follows:
Wherein, T is targeted advertisements duration, TmaxFor the corresponding maximum value of targeted advertisements duration;RiFor i-th kind of reference information
Corresponding quantized value, n >=2;wiFor RiCorresponding default weight.
Optionally, the reference information includes one of following information or a variety of;
The duration information of current time, the popularity information of the multimedia file and the multimedia file;
Wherein, the popularity information are as follows: information of the characterization multimedia file by the ratings of user.
Multimedia file playing device provided in an embodiment of the present invention carries selected by user in the received playing request of institute
The target play mode selected, target play mode are one of a variety of predetermined play mode, different predetermined play mode pair
Answer different advertisement duration methods of determination.When user has selected a kind of predetermined play mode, illustrate under the customer acceptance mode
Advertisement duration method of determination.In turn, according to targeted advertisements duration determined by the advertisement duration method of determination, come relative to user
It says and is relatively easy to receive.Therefore, this programme can solve user in the prior art to the acceptance level of advertisement duration with fed back
The unmatched problem of the duration of advertisement, so as to promote the advertisement delivery effect and user experience of client device.
Corresponding to a kind of above-mentioned method for broadcasting multimedia file applied to client device, the embodiment of the present invention is also mentioned
A kind of multimedia file playing device has been supplied, which is applied in client device, as shown in figure 4, the apparatus may include:
Module 401 is obtained, for obtaining the play instruction for playing multimedia file;It is carried in the play instruction to be played
Multimedia file file identification;
Play mode determining module 402, for determining that the corresponding target play mode of the play instruction, the target are broadcast
Mode playback is one of selected a variety of predetermined play mode of user, and different predetermined play mode corresponds to different advertisements
Duration method of determination;
Sending module 403 carries broadcasting for the target play mode and the file identification for sending to server
Request is put, so that the server determines that target is wide according to advertisement duration method of determination corresponding with the target play mode
Duration is accused, and feeds back targeted advertisements and the corresponding multimedia text of the file identification that duration meets the targeted advertisements duration
Part;
Playing module 404, the multimedia file and the target for that ought receive the server feedback are wide
When announcement, the multimedia file and the targeted advertisements are played.
Optionally, when a variety of predetermined play mode include: advertisement the first play mode of a length of scheduled duration and from
Dynamic the second play mode for calculating advertisement duration;First play mode corresponds to the pass the broadcasting that click mode issues and refers to
It enables;Second play mode corresponds to the pass the play instruction that long-pressing mode issues.
What inventive embodiments provided is applied to client device multimedia file playing device, the broadcasting sent to server
The selected target play mode of user is carried in request, which is one in a variety of predetermined play mode
Kind, different predetermined play mode corresponds to different advertisement duration methods of determination.When user has selected a kind of predetermined play mode,
Illustrate the advertisement duration method of determination under the customer acceptance mode.Therefore, corresponding wide according to target play mode when server
Duration method of determination is accused, after determining targeted advertisements duration and feedback target advertisement, the duration of the targeted advertisements is come relative to user
It says and is relatively easy to receive.Therefore, this programme can solve user in the prior art to the acceptance level of advertisement duration with fed back
The unmatched problem of the duration of advertisement, so as to promote the advertisement delivery effect and user experience of client device.
The embodiment of the invention also provides a kind of servers, as shown in figure 5, including processor 501, communication interface 502, depositing
Reservoir 503 and communication bus 504, wherein processor 501, communication interface 502, memory 503 are completed by communication bus 504
Mutual communication,
Memory 503, for storing computer program;
Processor 501 when for executing the program stored on memory 503, realizes any of the above-described described be applied to
The method for broadcasting multimedia file of server.
The embodiment of the invention also provides a kind of client devices, as shown in fig. 6, including processor 601, communication interface
602, memory 603 and communication bus 604, wherein processor 601, communication interface 602, memory 603 pass through communication bus
604 complete mutual communication,
Memory 603, for storing computer program;
Processor 601 when for executing the program stored on memory 603, realizes any of the above-described described be applied to
The method for broadcasting multimedia file of client device.
Communication bus mentioned above can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..
Only to be indicated with a thick line in figure, it is not intended that an only bus or a type of bus convenient for indicating.
Communication interface is for the communication between above-mentioned server or client device and other equipment.
Memory may include random access memory (Random Access Memory, abbreviation RAM), also may include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor
(Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific
Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array,
Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can
It reads to be stored with instruction in storage medium, when run on a computer, so that computer executes any institute in above-described embodiment
The method for broadcasting multimedia file applied to server stated.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can
It reads to be stored with instruction in storage medium, when run on a computer, so that computer executes any institute in above-described embodiment
The method for broadcasting multimedia file applied to client device stated.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it
When running on computers, so that computer executes any multimedia file applied to server in above-described embodiment
Playback method.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it
When running on computers, so that computer executes any multimedia applied to client device in above-described embodiment
Document play-back method.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter
Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk
Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For server, client device, storage medium and computer program product embodiments, since it is substantially similar to method reality
Example is applied, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (18)
1. a kind of method for broadcasting multimedia file, which is characterized in that be applied to server, which comprises
The playing request that client device is sent is received, the file of multimedia file to be played is carried in the playing request
Mark and the selected target play mode of user;Wherein, the target play mode is in a variety of predetermined play mode
One kind, different predetermined play mode correspond to different advertisement duration methods of determination;
According to advertisement duration method of determination corresponding with the target play mode, targeted advertisements duration is determined;
Meet the targeted advertisements and the file identification pair of the targeted advertisements duration to client device feedback duration
The multimedia file answered, so that the client device plays the targeted advertisements and the multimedia file.
2. the method according to claim 1, wherein a variety of predetermined play mode are a length of when including: advertisement
First play mode of scheduled duration and the second play mode for automatically determining advertisement duration;
It is described according to advertisement duration method of determination corresponding with the target play mode, determine targeted advertisements duration, comprising:
When the target play mode is first play mode, the scheduled duration is determined as targeted advertisements duration;
When the target play mode is second play mode, reference information is obtained, and be based on the reference information, really
Set the goal advertisement duration;The reference information are as follows: influence user to the information of the acceptance level of advertisement duration.
3. according to the method described in claim 2, it is characterized in that, described be based on the reference information, when determining targeted advertisements
Long step, comprising:
Using quantification manner corresponding with the reference information, the corresponding quantized value of the reference information is determined;
Targeted advertisements duration is calculated using scheduled duration calculation formula according to quantized value calculated.
4. described predetermined according to the method described in claim 3, it is characterized in that, the reference information obtained is one kind
Duration calculation formula are as follows:
T=Tmax×R;
Wherein, T is the targeted advertisements duration, TmaxFor the corresponding maximum value of the targeted advertisements duration, R is described with reference to letter
Cease corresponding quantized value.
5. according to the method described in claim 3, it is characterized in that, the reference information obtained be it is a variety of, it is described predetermined
Duration calculation formula are as follows:
Wherein, T is the targeted advertisements duration, TmaxFor the corresponding maximum value of the targeted advertisements duration;RiFor i-th kind with reference to letter
Cease corresponding quantized value, n >=2;wiFor RiCorresponding default weight.
6. according to the method described in claim 2, it is characterized in that, the reference information includes: current time, the multimedia
One of duration information of the popularity information of file and the multimedia file is a variety of;
Wherein, the popularity information are as follows: information of the characterization multimedia file by the ratings of user.
7. a kind of method for broadcasting multimedia file, which is characterized in that be applied to client device, which comprises
Obtain the play instruction for playing multimedia file;The file of multimedia file to be played is carried in the play instruction
Mark;
Determine that the corresponding target play mode of the play instruction, the target play mode are that user is selected a variety of predetermined
One of play mode, different predetermined play mode correspond to different advertisement duration methods of determination;
The playing request for carrying the target play mode and the file identification is sent to server, so that the server
According to advertisement duration method of determination corresponding with the target play mode, targeted advertisements duration is determined, and feed back duration and meet
The targeted advertisements and the corresponding multimedia file of the file identification of the targeted advertisements duration;
When receiving the multimedia file and the targeted advertisements of the server feedback, the multimedia text is played
Part and the targeted advertisements.
8. the method according to the description of claim 7 is characterized in that a variety of predetermined play mode are a length of when including: advertisement
First play mode of scheduled duration and automatic the second play mode for calculating advertisement duration;First play mode corresponds to
The play instruction issued by click mode;Second play mode corresponds to the pass the play instruction that long-pressing mode issues.
9. a kind of multimedia file playing device, which is characterized in that be applied to server, described device includes:
Receiving module carries to be played more for receiving the playing request of client device transmission, in the playing request
The file identification of media file and the selected target play mode of user;Wherein, the target play mode is a variety of pre-
Determine one of play mode, different predetermined play mode corresponds to different advertisement duration methods of determination;
Determining module, for determining in targeted advertisements according to advertisement duration method of determination corresponding with the target play mode
Duration;
Feedback module, for meeting targeted advertisements and the institute of the targeted advertisements duration to client device feedback duration
The corresponding multimedia file of file identification is stated, so that the client device plays the targeted advertisements and multimedia text
Part.
10. device according to claim 9, which is characterized in that a variety of predetermined play mode are a length of when including: advertisement
First play mode of scheduled duration and the second play mode for automatically determining advertisement duration;
The determining module, including the first determining submodule or the second determining submodule;
Described first determines submodule, for that described will make a reservation for when the target play mode is first play mode
Duration is determined as targeted advertisements duration;
Described second determines submodule, for obtaining with reference to letter when the target play mode is second play mode
Breath, and it is based on the reference information, determine targeted advertisements duration;The reference information are as follows: influence user and advertisement duration is connect
By the information of degree.
11. device according to claim 10, which is characterized in that described second determines that submodule is based on the reference letter
Breath, determines targeted advertisements duration, comprising:
Using quantification manner corresponding with the reference information, the corresponding quantized value of the reference information is determined;
Targeted advertisements duration is calculated using scheduled duration calculation formula according to quantized value calculated.
12. device according to claim 11, which is characterized in that described second determines the submodule reference obtained
Information is one kind, the scheduled duration calculation formula are as follows:
T=Tmax×R;
Wherein, T is the targeted advertisements duration, TmaxFor the corresponding maximum value of the targeted advertisements duration, R is described with reference to letter
Cease corresponding quantized value.
13. device according to claim 11, which is characterized in that described second determines the submodule reference obtained
Information is a variety of, the scheduled duration calculation formula are as follows:
Wherein, T is the targeted advertisements duration, TmaxFor the corresponding maximum value of the targeted advertisements duration;RiFor i-th kind with reference to letter
Cease corresponding quantized value, n >=2;wiFor RiCorresponding default weight.
14. device according to claim 10, which is characterized in that the reference information include one of following information or
It is a variety of;
The duration information of current time, the popularity information of the multimedia file and the multimedia file;
Wherein, the popularity information are as follows: information of the characterization multimedia file by the ratings of user.
15. a kind of multimedia file playing device, which is characterized in that be applied to client device, described device includes:
Module is obtained, for obtaining the play instruction for playing multimedia file;It is carried in the play instruction to be played more
The file identification of media file;
Play mode determining module, for determining the corresponding target play mode of the play instruction, the target play mode
For one of selected a variety of predetermined play mode of user, it is true that different predetermined play mode corresponds to different advertisement durations
Determine mode;
Sending module, for sending the playing request for carrying the target play mode and the file identification to server,
So that the server determines targeted advertisements duration according to advertisement duration method of determination corresponding with the target play mode,
And feed back targeted advertisements and the corresponding multimedia file of the file identification that duration meets the targeted advertisements duration;
Playing module, for broadcasting when receiving the multimedia file and the targeted advertisements of the server feedback
Put the multimedia file and the targeted advertisements.
16. device according to claim 15, which is characterized in that a variety of predetermined play mode include: advertisement duration
For the first play mode and automatic the second play mode for calculating advertisement duration of scheduled duration;First play mode is corresponding
In the play instruction issued by click mode;Second play mode corresponds to the pass the broadcasting that long-pressing mode issues and refers to
It enables.
17. a kind of server, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing
Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1-6.
18. a kind of client device, which is characterized in that including processor, communication interface, memory and communication bus, wherein place
Device, communication interface are managed, memory completes mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes method and step described in claim 7 or 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910830411.6A CN110460885B (en) | 2019-09-04 | 2019-09-04 | Multimedia file playing method and device, server and client equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910830411.6A CN110460885B (en) | 2019-09-04 | 2019-09-04 | Multimedia file playing method and device, server and client equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110460885A true CN110460885A (en) | 2019-11-15 |
CN110460885B CN110460885B (en) | 2021-08-27 |
Family
ID=68490517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910830411.6A Active CN110460885B (en) | 2019-09-04 | 2019-09-04 | Multimedia file playing method and device, server and client equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110460885B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112837088A (en) * | 2021-01-12 | 2021-05-25 | 北京奇艺世纪科技有限公司 | Advertisement putting method, device, medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105828116A (en) * | 2016-04-29 | 2016-08-03 | 乐视控股(北京)有限公司 | Advertisement pushing method and device |
US20180324493A1 (en) * | 2012-11-21 | 2018-11-08 | Google Llc | Attention-based advertisement scheduling in time-shifted content |
CN108881968A (en) * | 2017-05-15 | 2018-11-23 | 北京国双科技有限公司 | A kind of network video advertisement put-on method and system |
-
2019
- 2019-09-04 CN CN201910830411.6A patent/CN110460885B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180324493A1 (en) * | 2012-11-21 | 2018-11-08 | Google Llc | Attention-based advertisement scheduling in time-shifted content |
CN105828116A (en) * | 2016-04-29 | 2016-08-03 | 乐视控股(北京)有限公司 | Advertisement pushing method and device |
CN108881968A (en) * | 2017-05-15 | 2018-11-23 | 北京国双科技有限公司 | A kind of network video advertisement put-on method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112837088A (en) * | 2021-01-12 | 2021-05-25 | 北京奇艺世纪科技有限公司 | Advertisement putting method, device, medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110460885B (en) | 2021-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101198018B (en) | Method for implementing television advertisement service and advertisement server | |
US8732337B2 (en) | System and method for delivering content to users on a network | |
US9241200B2 (en) | Targeted advertising | |
JP3732069B2 (en) | Server and information providing system | |
US9348823B2 (en) | Methods and system for distributing information via multiple forms of delivery services | |
US20100082135A1 (en) | Activity indicators in a media sharing system | |
US20140237498A1 (en) | Cross platform content exposure tracking | |
US20050154764A1 (en) | System for accessing content items over a network | |
CN104584571A (en) | Generating a sequence of audio fingerprints at a set top box | |
CN107105316A (en) | A kind of advertisement broadcast method and device | |
JP2012521604A (en) | Platform-sensitive or user-sensitive advertising provision | |
JP2011519541A (en) | Facilitating the display of metadata availability in user-accessible content | |
CN102405632A (en) | User profiling | |
CN104902295A (en) | Intelligent TV business realization method, terminal device and system | |
CN104918061A (en) | Television channel identification method and system | |
CN110460879A (en) | A kind of video request dispatching method, device, server and storage medium | |
CN101217636A (en) | An implementation method, user terminal and advertisement server of TV advertisement business | |
KR101256932B1 (en) | Method for contents playing | |
CN103995875A (en) | Information recommendation method and device | |
CN103686409A (en) | Method and system for synchronous broadcasting through desktop background and direct-broadcast interface | |
US20040044745A1 (en) | Method, apparatus, and computer program for servicing viewing record of contents | |
CN110460885A (en) | Method for broadcasting multimedia file, device, server and client device | |
CN100466575C (en) | Content playing system, client and content playing method | |
KR102096473B1 (en) | Music recommendation system and method based on user's condition, and and service apparatus applied to the same | |
CN106663116A (en) | Method, systems, and media for presenting links to media content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |