Invention content
The main purpose of the present invention is to provide a kind of method for pushing of multimedia file and devices, to solve the relevant technologies
Accuracy relatively low problem when the middle push multimedia file to user.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of method for pushing of multimedia file.
The method for pushing of multimedia file according to the present invention includes:Target user is obtained in preset time to multimedia
The broadcasting record that file plays out, wherein target user is the object for carrying out multimedia file push, and it includes more to play record
The mute playing duration and non-mute playing duration of media file;Multimedia file is searched in record as non-mute broadcasting from playing
The broadcasting of state records, wherein non-mute broadcast state is the state that multimedia file is in non-mute broadcasting;From multimedia text
Part is the type that multimedia file is obtained during the broadcasting of non-mute broadcast state records;And according to the type of multimedia file to
Target user pushes the multimedia file of same type.
Further, the broadcasting record of target user's progress multimedia file broadcasting includes in acquisition preset time:It obtains
The mark of target user;And target user in preset time is obtained according to the mark of target user and carries out multimedia file broadcasting
Broadcasting record.
Further, the broadcasting record that multimedia file is non-mute broadcast state is searched in being recorded from broadcasting includes:Point
The broadcast state that each in record plays multimedia file in record Pan Duan not played, wherein broadcast state includes non-quiet
Sound broadcast state and mute broadcast state;And if it is judged that multimedia file broadcast state be non-mute broadcast state,
Then obtain broadcasting record.
Further, judge that the broadcast state for playing multimedia file during each broadcasting in record records includes respectively
Judge that the first broadcast state for playing multimedia file in record, the first broadcasting are recorded as playing any one broadcasting note in record
Record judges that the broadcast state of multimedia file in the first broadcasting record includes:It obtains first and plays multimedia file in record
Non-mute playing duration;Judge whether the non-mute playing duration of multimedia file in the first broadcasting record is zero;And if
Judge that the non-mute playing duration of multimedia file in the first broadcasting record is not zero, it is determined that first plays more matchmakers in record
The broadcast state of body file is non-mute broadcast state.
Further, judge that the broadcast state for playing multimedia file during each broadcasting in record records includes respectively
Judge that the first broadcast state for playing multimedia file in record, the first broadcasting are recorded as playing any one broadcasting note in record
Record judges that the broadcast state of multimedia file in the first broadcasting record includes:It obtains first and plays multimedia file in record
Non-mute playing duration;Obtain the first mute playing duration for playing multimedia file in record;First is calculated to play in record
The ratio of the non-mute playing duration of multimedia file and the mute playing duration of multimedia file, obtains the first ratio;Judge
Whether the first ratio is more than the first preset value;And if it is judged that the first ratio is more than the first preset value, it is determined that first broadcasts
The broadcast state for putting multimedia file in record is non-mute broadcast state.
Further, the type of multimedia file includes the first kind, and the first kind is more matchmakers of arbitrary non-mute broadcasting
The type of body file, from multimedia file be non-mute broadcast state broadcasting record in obtain multimedia file type it
Afterwards, method further includes:The type for calculating the multimedia file of non-mute broadcasting is the number of the first kind;By non-mute broadcasting
The type of multimedia file is that the number of the first kind is compared with the second preset value;And if non-mute broadcasting more matchmakers
The type of body file is that the number of the first kind is more than the second preset value, then using the first kind as the push class of multimedia file
Type.
To achieve the goals above, according to another aspect of the present invention, a kind of pusher of multimedia file is provided.
The pusher of multimedia file according to the present invention includes:First acquisition unit exists for obtaining target user
The broadcasting that multimedia file plays out is recorded in preset time, wherein target user is to carry out multimedia file push
Object, it includes the mute playing duration of multimedia file and non-mute playing duration to play record;Searching unit is used for from broadcasting
It searches the broadcasting that multimedia file is non-mute broadcast state in record to record, wherein non-mute broadcast state is multimedia text
Part is in the state of non-mute broadcasting;Second acquisition unit, for remembering from the broadcasting that multimedia file is non-mute broadcast state
The type of multimedia file is obtained in record;And push unit, for being pushed to target user according to the type of multimedia file
The multimedia file of same type.
Further, first acquisition unit includes:First acquisition module, the mark for obtaining target user;And the
Two acquisition modules carry out broadcasting for multimedia file broadcasting for obtaining target user in preset time according to the mark of target user
Put record.
Further, searching unit includes:Judgment module plays record for judging to play each in record respectively
The broadcast state of middle multimedia file, wherein broadcast state includes non-mute broadcast state and mute broadcast state;And third
Acquisition module, for when the broadcast state for judging multimedia file is non-mute broadcast state, obtaining and playing record.
Further, the type of multimedia file includes the first kind, and the first kind is more matchmakers of arbitrary non-mute broadcasting
The type of body file, from multimedia file be non-mute broadcast state broadcasting record in obtain multimedia file type it
Afterwards, device further includes:The type of computing unit, the multimedia file for calculating non-mute broadcasting is the number of the first kind;
Comparing unit, for comparing the number that the type of the multimedia file of non-mute broadcasting is the first kind with the second preset value
Compared with;And determination unit, the type for the multimedia file in non-mute broadcasting are that the number of the first kind is more than second in advance
If when value, using the first kind as the push-type of multimedia file.
Through the invention, using the multimedia text to non-mute broadcasting in playback of media files record for obtaining target user
The type of part, and it is literary according to the multimedia of the type of the multimedia file of non-mute broadcasting to target user's push same type
Part, solve the problems, such as in the related technology to user push multimedia file when accuracy it is relatively low, and then reached improve to
The effect of accuracy when user pushes multimedia file.
Specific implementation mode
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only
The embodiment of the application part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
The every other embodiment that member is obtained without making creative work should all belong to the model of the application protection
It encloses.
It should be noted that term " first " in the description and claims of this application and above-mentioned attached drawing, "
Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way
Data can be interchanged in the appropriate case, so as to embodiments herein described herein.In addition, term " comprising " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or unit
Process, method, system, product or equipment those of are not necessarily limited to clearly to list step or unit, but may include without clear
It is listing to Chu or for these processes, method, product or equipment intrinsic other steps or unit.
According to embodiments of the present invention, a kind of method for pushing of multimedia file is provided, Fig. 1 is according to embodiments of the present invention
Multimedia file method for pushing flow chart.
As shown in Figure 1, the method for pushing of the multimedia file includes following step S102 to step S108:
Step S102:Target user is obtained to record the broadcasting that multimedia file plays out in preset time, wherein
Target user is the object for carrying out multimedia file push, and it includes the mute playing duration of multimedia file and non-quiet to play record
Sound playing duration.
Target user is the user for carrying out multimedia file push, specifically, is wrapped in the broadcasting record of multimedia file
Containing user identifier, it can uniquely determine that the user, target user can be arbitrary progress multimedia texts by the user identifier
The user that part plays, can be a user, can also be multiple users.Multimedia file can be inserted into video it is wide
Accuse, can also be inserted into other content in video, specifically, the embodiment of the present invention using multimedia file as video in be inserted into
It is illustrated for advertisement.Multimedia file broadcasting record can by video player embedded code obtain, every
It includes that user identifier, the title of multimedia file, the total duration of multimedia file, the mute of multimedia file are broadcast to play record
Put the information such as the non-mute playing duration of duration, multimedia file, wherein the total duration of multimedia file is the multimedia file
Full content completely play needed for time, the mute playing duration of multimedia file is that the multimedia file is in mute and broadcasts
Put the time of state, the non-mute playing duration of multimedia file be the multimedia file be in non-mute broadcast state when
Between.
In general, by monitoring whether user triggers the broadcast state that the mute button on video player may determine that user
And the duration of different broadcast states.In order to analyze the preference that target user plays multimedia file, target user is obtained default
The broadcasting that multimedia file plays out is recorded in time, wherein preset time can be set according to demand, example
Such as, can obtain same user to record the broadcasting that media file plays out within one-month period.Optionally, it obtains pre-
If the broadcasting record that target user carries out multimedia file broadcasting in the time includes:Obtain the mark of target user;And according to
The mark of target user obtains the broadcasting record that target user in preset time carries out multimedia file broadcasting.
As described above, including user identifier in the broadcasting record of media file, due to the insertion in video player
The broadcasting record of multimedia file comprising whole users in the broadcasting record for the multimedia file that code obtains, in order to analyze some
The preference that customer multi-media file plays, can by first obtaining the mark of the user, according to the mark of the user from more matchmakers
The broadcasting record of the multimedia file of the corresponding user of the user identifier is filtered out in the broadcasting record of body file.If target is used
Family is multiple, and the broadcasting for the multimedia file that can obtain each target user according to the mark of each target user respectively is remembered
Record.Specifically, the broadcasting record that whole multimedia files of some video website can be prestored, according to user identifier
The broadcasting record of multimedia file is subjected to classification storage, that is, the broadcasting record storage for belonging to the multimedia file of same user is
Same class, the broadcasting record storage for belonging to the multimedia file of different user are inhomogeneity.
Step S104:The broadcasting record that multimedia file is non-mute broadcast state is searched in record from playing, wherein non-
Mute broadcast state is the state that multimedia file is in non-mute broadcasting.
When carrying out multimedia file push to user, for example, when carrying out advertisement pushing, the advertisement energy of push often it is expected
It is enough viewed by a user, to reach better advertisement delivery effect, therefore, it is wide that user's viewing should be analyzed in advance in advertisement
The hobby of announcement is in order to targetedly to user's advertisement.When carrying out advertisement broadcasting due to user, some are not desired to
The advertisement of viewing may select mute broadcasting, for some interested advertisements then can normal play, i.e., non-mute broadcasting, because
This, the advertisement of those non-mute broadcastings usually may be some interested advertisements of user.
Optionally, the broadcasting record that multimedia file is non-mute broadcast state is searched in being recorded from broadcasting includes:Respectively
Judge to play the broadcast state that each in record plays multimedia file in record, wherein broadcast state includes non-mute
Broadcast state and mute broadcast state;And if it is judged that the broadcast state of multimedia file is non-mute broadcast state, then
It obtains and plays record.
Respectively judge play record in each play record in multimedia file broadcast state can be successively from
The broadcasting record that a multimedia file is obtained in the broadcasting record of the multimedia file of the target user, can be according to this
The mute playing duration of multimedia file judges in the broadcasting record of multimedia file, for example, when mute playing duration is zero
When this multimedia file broadcasting record in the broadcast state of multimedia file be non-mute broadcast state, otherwise matchmaker more than this
The broadcast state of multimedia file is mute broadcast state in the broadcasting record of body file, can also be according to this multimedia text
The mute playing duration of multimedia file and the ratio of total duration judge in the broadcasting record of part, for example, when multimedia text
It is when the mute playing duration of part and the ratio of total duration are more than the threshold value of setting, then more in the broadcasting record of this multimedia file
The broadcast state of media file is mute broadcast state, otherwise, multimedia file in the broadcasting record of this multimedia file
Broadcast state is non-mute broadcast state, can also be the quiet of multimedia file in the broadcasting record according to this multimedia file
Multimedia file in broadcasting record of the ratio of sound playing duration and non-mute playing duration to judge this multimedia file
Broadcast state, etc..The broadcast state of multimedia file is non-mute broadcasting shape in the broadcasting record of this multimedia file
The broadcasting record of this multimedia file is then obtained when state.Optionally, judge that each played in record plays record respectively
The broadcast state of middle multimedia file includes the broadcast state for judging multimedia file in the first broadcasting record, and first plays record
To play any one broadcasting record in record, judge that the broadcast state of multimedia file in the first broadcasting record includes:It obtains
First plays the non-mute playing duration of multimedia file in record;Judge first broadcasting record in multimedia file it is non-mute
Whether playing duration is zero;And if it is judged that the non-mute playing duration of multimedia file is not in the first broadcasting record
Zero, it is determined that the first broadcast state for playing multimedia file in record is non-mute broadcast state.
Preferably, judge that it includes sentencing to play each in record to play the broadcast state of multimedia file in record respectively
The broadcast state of multimedia file in disconnected first broadcasting record, the first broadcasting are recorded as playing any one broadcasting note in record
Record judges that the broadcast state of multimedia file in the first broadcasting record includes:It obtains first and plays multimedia file in record
Non-mute playing duration;Obtain the first mute playing duration for playing multimedia file in record;First is calculated to play in record
The ratio of the non-mute playing duration of multimedia file and the mute playing duration of multimedia file, obtains the first ratio;Judge
Whether the first ratio is more than the first preset value;And if it is judged that the first ratio is more than the first preset value, it is determined that first broadcasts
The broadcast state for putting multimedia file in record is non-mute broadcast state.
First plays any one broadcasting record in the broadcasting record for be recorded as the multimedia file of target user.First ratio
Value i.e. first plays the ratio of the non-mute playing duration and mute playing duration of multimedia file in record, and the first preset value is used
Family can be configured according to actual conditions, for example, it is 2 that the first preset value, which can be arranged, when the first ratio is more than 2, explanation
First time for playing the non-mute broadcasting of multimedia file in record is longer than time of mute broadcasting, determine at this time this first
The broadcast state for playing multimedia file in record is non-mute broadcast state, otherwise, it determines more matchmakers in the first broadcasting record
The broadcast state of body file is mute broadcast state.By the non-mute playing duration for playing multimedia file in record by first
Relatively judge the broadcast state of multimedia file to be detected with the ratio of mute playing duration and the first preset value, on the one hand may be used
To avoid because the maloperation of user, which clicks caused by the mute button of video first, plays broadcasting for multimedia file in record
The problem of condition adjudgement inaccuracy is put, the first preset value can be flexibly arranged to meet the needs of different in another aspect user.
Step S106:The class of multimedia file is obtained from the broadcasting record that multimedia file is non-mute broadcast state
Type.
The type of multimedia file can be categorical attribute when multimedia file is launched, wide with what is be inserted into video
It being illustrated for announcement, the type of advertisement can be categorical attribute when carrying out advertisement dispensing, for example, electronic product series advertisements,
Clothes series advertisements, sports products series advertisements etc. can also be products propaganda series advertisements, brand promotion series advertisements, marketing activity a surname
Pass series advertisements etc..Include advertisement and identifier, advertised name, ad classification attribute etc. in the broadcasting record for the advertisement being inserted into video
Information, by the categorical attribute of advertisement of the acquisition in non-mute broadcast state, and according to the categorical attribute of the advertisement to target
User's advertisement, for example, it is non-mute broadcast state, point of the advertisement that a certain item of target user, which plays the advertisement in record,
Generic attribute electronic product, then next time to user's advertisement when can push electronic product series advertisements.
Preferably, in order to improve the accuracy of multimedia file push, the type of multimedia file includes the first kind, the
One type is the type of the multimedia file of arbitrary non-mute broadcasting, in the broadcasting from multimedia file for non-mute broadcast state
After the type for obtaining multimedia file in record, this method further includes:Calculate the type of the multimedia file of non-mute broadcasting
For the number of the first kind;By number and the second preset value that the type of the multimedia file of non-mute broadcasting is the first kind into
Row compares;And if the number that the type of the multimedia file of non-mute broadcasting is the first kind is more than the second preset value,
Using the first kind as the push-type of multimedia file.
Since user may be interested in the multimedia file of multiple types, the first kind can be that target user is non-mute
Any one type in the type of the multimedia file of broadcasting.Remember from the broadcasting that multimedia file is non-mute broadcast state
After the type for obtaining multimedia file in record, more matchmakers that type in the multimedia file of non-mute broadcasting is the first kind are calculated
The number of body file, and the number of the multimedia file of the first kind and the second preset value are compared, if the first kind
The number of multimedia file when being more than the second preset value, then using the first kind as the push-type of multimedia file,
Belong to the multimedia file of the first kind when target user watches video next time to target user's push.Second preset value can be with
It is configured according to demand by multimedia file push side, for example, it may be 5, can also be 10 etc..By the above method, only
Have when the multimedia file of some type is more than the second preset value by the number of the non-mute broadcasting of target user just by such
Type of the type as the multimedia file pushed to target user can improve to target user and push the accurate of multimedia file
Property.
Step S108:The multimedia file of same type is pushed to target user according to the type of multimedia file.
By the above method, the type of the multimedia file of the non-mute broadcasting of target user can be obtained, in target user
When viewing video next time, multimedia text identical with the type of multimedia file of the non-mute broadcasting of target user is pushed to user
Part.Specifically, after obtaining the type of multimedia file of the non-mute broadcasting of target user, the multimedia file can be obtained
Label, the label of the multimedia file is the keyword for describing the multimedia file, by the type of the multimedia file and
Label codetermines the multimedia file that will be pushed to user, for example, to the type and mark of user's push and the multimedia file
The all identical multimedia file of label.
It can be seen from the above description that the present invention realizes following technique effect:
The embodiment of the present invention remembers the broadcasting that multimedia file plays out in preset time by obtaining target user
Record is that the broadcasting of non-mute broadcast state records from lookup multimedia file in record is played, is non-mute from multimedia file
The type of multimedia file is obtained in the broadcasting record of broadcast state, and is pushed away to target user according to the type of multimedia file
Send the multimedia file of same type.It is more to user's push only to consider whether multimedia file plays in compared with the prior art
Media file, the embodiment of the present invention further judge whether user has viewed on the basis of user has played multimedia file
Multimedia file to push multimedia file to user, i.e., it is more when multimedia file is non-mute broadcasting to be that user has viewed this
Media file, and the type for the multimedia file being had viewed according to user pushes the multimedia file of same type to user, carries
The high accuracy that multimedia file is pushed to user, solves when pushing multimedia file to user that accuracy is relatively low to ask
Topic.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.
Another aspect according to the ... of the embodiment of the present invention provides a kind of pusher of multimedia file, multimedia text
The pusher of part can be used for executing the method for pushing of the multimedia file of the embodiment of the present invention, the method for the embodiment of the present invention
The pusher of multimedia file that can also be through the embodiment of the present invention executes.
Fig. 2 is the schematic diagram of the pusher of multimedia file according to the ... of the embodiment of the present invention.
As shown in Fig. 2, the pusher of the multimedia file includes:First acquisition unit 10, searching unit 20, second obtains
Take unit 30 and push unit 40.
First acquisition unit 10, the broadcasting that multimedia file is played out in preset time for obtaining target user
Record, wherein target user is the object for carrying out multimedia file push, plays the mute broadcasting that record includes multimedia file
Duration and non-mute playing duration.
Target user is the user for carrying out multimedia file push, specifically, includes in the broadcasting record of media file
User identifier can uniquely determine that the family, target user can be that arbitrary progress multimedia file is broadcast by the user identifier
The user put can be a user, can also be multiple users.Multimedia file can be the advertisement being inserted into video,
Other content in video can be inserted into, specifically, the embodiment of the present invention using multimedia file as video in the advertisement be inserted into
For illustrate.Multimedia file broadcasting record can by video player embedded code obtains, every play
Record include user identifier, the title of multimedia file, the total duration of multimedia file, multimedia file mute broadcasting when
The information such as long, multimedia file non-mute playing duration.
Searching unit 20, for being that the broadcasting of non-mute broadcast state records from lookup multimedia file in record is played,
Wherein, non-mute broadcast state is the state that multimedia file is in non-mute broadcasting.
When carrying out multimedia file push to user, for example, when carrying out advertisement pushing, the advertisement energy of push often it is expected
It is enough viewed by a user, to reach better advertisement delivery effect, therefore, it is wide that user's viewing should be analyzed in advance in advertisement
The hobby of announcement is in order to targetedly to user's advertisement.When carrying out advertisement broadcasting due to user, some are not desired to
The advertisement of viewing may select mute broadcasting, for some interested advertisements then can normal play, i.e., non-mute broadcasting, because
This, the advertisement of those non-mute broadcastings usually may be some interested advertisements of user.
Second acquisition unit 30, for obtaining multimedia from the broadcasting record that multimedia file is non-mute broadcast state
The type of file.
The type of multimedia file can be categorical attribute when multimedia file is launched, wide with what is be inserted into video
It being illustrated for announcement, the type of advertisement can be categorical attribute when carrying out advertisement dispensing, for example, electronic product series advertisements,
Clothes series advertisements, sports products series advertisements etc. can also be products propaganda series advertisements, brand promotion series advertisements, marketing activity a surname
Pass series advertisements etc..
Push unit 40, the multimedia text for pushing same type to target user according to the type of multimedia file
Part.
The embodiment of the present invention by first acquisition unit 10 obtain target user in preset time to multimedia file into
The broadcasting record that row plays, searching unit 20 are searched the broadcasting that multimedia file is non-mute broadcast state and are remembered in being recorded from broadcasting
Record, second acquisition unit 30 obtain the class of multimedia file from the broadcasting record that multimedia file is non-mute broadcast state
Type and push unit 40 push the multimedia file of same type according to the type of multimedia file to target user.This hair
Bright embodiment on the basis of user has played multimedia file, further judge user whether have viewed multimedia file to
User pushes multimedia file, i.e., is that user has viewed the multimedia file, and root when multimedia file is non-mute broadcasting
The type for the multimedia file being had viewed according to user pushes the multimedia file of same type to user, improves and is pushed to user
The accuracy of multimedia file, accuracy is relatively low when solving the problems, such as to push multimedia file to user.
Optionally, first acquisition unit 10 includes:First acquisition module, the mark for obtaining target user;And the
Two acquisition modules carry out broadcasting for multimedia file broadcasting for obtaining target user in preset time according to the mark of target user
Put record.
Optionally, searching unit 20 includes:Judgment module plays record for judging to play each in record respectively
The broadcast state of middle multimedia file, wherein broadcast state includes non-mute broadcast state and mute broadcast state;And third
Acquisition module, for when the broadcast state for judging multimedia file is non-mute broadcast state, obtaining and playing record.
Preferably, in order to improve the accuracy of multimedia file push, the type of multimedia file includes the first kind, the
One type is the type of the multimedia file of arbitrary non-mute broadcasting, in the broadcasting from multimedia file for non-mute broadcast state
After the type for obtaining multimedia file in record, which further includes:Computing unit, more matchmakers for calculating non-mute broadcasting
The type of body file is the number of the first kind;Comparing unit, for being the by the type of the multimedia file of non-mute broadcasting
The number of one type is compared with the second preset value;And determination unit, for the multimedia file in non-mute broadcasting
When type is that the number of the first kind is more than the second preset value, using the first kind as the push-type of multimedia file.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
Be performed by computing device in the storage device, either they are fabricated to each integrated circuit modules or by they
In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific
Hardware and software combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.