Invention content
The main purpose of the present invention is to provide a kind of click behavior monitoring method and apparatus for video playing, with solution
Certainly the prior art clicks user the problem for the monitoring result inaccuracy for starting broadcasting behavior.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of click row for video playing
For monitoring method.
This includes for click behavior monitoring method of video playing:It is temporary to obtain the video broadcasting condition of video player
Stop the corresponding attribute value of state;Judge whether the corresponding attribute value of halted state changes;If it is judged that halted state pair
The attribute value answered changes, then corresponding user's operation behavior record is when the corresponding attribute value of halted state changing
Click starts broadcasting behavior, wherein it is that user clicks the behavior for starting to play that click, which starts broadcasting behavior,.
Further, when the corresponding attribute value of halted state changes, corresponding user's operation behavior record is point
It hits after starting broadcasting behavior, which further includes:It is corresponding to obtain halted state
The attribute value changed time;Determine the time clicked and start broadcasting behavior generation, wherein click starts broadcasting behavior generation
Time be the halted state corresponding attribute value changed time;It determines and clicks broadcast start time, wherein click starts
Reproduction time is to click the time for starting broadcasting behavior generation.
Further, after determining click broadcast start time, this is used for the click behavior monitoring method of video playing
Further include:Monitor whether that there are trigger signals, wherein trigger signal is the signal for starting to play for triggering video;If prison
It measures there are trigger signal, obtains video broadcast start time, wherein video broadcast start time is to monitor there is triggering letter
Number time.
Further, when monitoring that there are when trigger signal, after obtaining video broadcast start time, this is used for video
The click behavior monitoring method of broadcasting further includes:It calculates video broadcast start time and clicks the difference of broadcast start time;Really
Determine video load duration, wherein video a length of video broadcast start time and the difference for clicking broadcast start time when loading.
Further, judge the corresponding attribute value of halted state whether change including:Obtain prefixed time interval;Sentence
Whether disconnected timing time reaches set prefixed time interval;Often detect that timing time reaches primary set prefixed time interval,
Then judge whether the corresponding attribute value of a halted state changes.
Further, after judging whether the corresponding attribute value of halted state changes, this is used for video playing
Clicking behavior monitoring method further includes:If detecting that the corresponding attribute value of halted state changes, timing is no longer judged
Whether the time reaches set prefixed time interval.
To achieve the goals above, according to another aspect of the present invention, a kind of click row for video playing is provided
For monitoring device.
This includes for click behavior monitoring device of video playing:First acquisition module, for obtaining video player
Video broadcasting condition be the corresponding attribute value of halted state;Judgment module, for judging that the corresponding attribute value of halted state is
It is no to change;Logging modle, for when judging that the corresponding attribute value of halted state changes, halted state to be corresponded to
Attribute value when changing corresponding user's operation behavior record be to click to start broadcasting behavior, wherein click starts to play
Behavior is that user clicks the behavior for starting to play.
Further, which further includes:Second acquisition module, for obtaining
The corresponding attribute value of the halted state changed time;First determining module occurs for determining that click starts broadcasting behavior
Time, wherein click start broadcasting behavior generation time be the halted state corresponding attribute value changed time;The
Two determining modules click broadcast start time for determining, wherein it is to click to start broadcasting behavior hair to click broadcast start time
The raw time.
Further, which further includes:Monitoring modular, for monitoring whether
There are trigger signals, wherein trigger signal is the signal for starting to play for triggering video;Third acquisition module, for when prison
It measures there are when trigger signal, obtains video broadcast start time, wherein video broadcast start time is to monitor there is triggering
The time of signal.
Further, which further includes:Computing module, for calculating video
Broadcast start time and the difference for clicking broadcast start time;Third determining module, for determining that video loads duration, wherein
Video a length of video broadcast start time and the difference for clicking broadcast start time when loading.
Through the invention, use the video broadcasting condition for obtaining video player for the corresponding attribute value of halted state;Sentence
Whether the disconnected corresponding attribute value of halted state changes;If it is judged that the corresponding attribute value of halted state changes, then
Corresponding user's operation behavior record is to click to start broadcasting behavior when the corresponding attribute value of halted state is changed,
In, it is that user clicks the behavior for starting to play that click, which starts broadcasting behavior, solves the prior art and starts to play to user's click
The problem of the monitoring result inaccuracy of behavior.The invention is by supervising the attribute value of video broadcasting condition placed in a suspend state
It surveys, when monitoring that the corresponding attribute value of halted state changes, captures the operation behavior of user, and user at this time is grasped
It is to click to start broadcasting behavior, and then achieved the effect that accurate analysis user clicks and started broadcasting behavior to make behavior record.
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.
The present invention is intended to provide a kind of click behavior monitoring method and apparatus for video playing.
Fig. 1 is the flow chart of the first embodiment of the click behavior monitoring method according to the present invention for video playing.
As shown in Figure 1, the click behavior monitoring method for being used for video playing includes following step S101 to step S103:
Step S101, the video broadcasting condition for obtaining video player are the corresponding attribute value of halted state.
Video player in the embodiment is preferably video web page player, such as html5video video players.
The click behavior monitoring method for video playing of the embodiment is applicable not only to video web page player, can be applicable to
Other kinds of video player, such as PPTV client players.The video broadcasting condition of video player includes playing shape
State, halted state, halted state etc..The video broadcasting condition of video player is defaulted as halted state, i.e. user clicks and starts
Before broadcast button, the video broadcasting condition of video player is halted state.The click for video playing of the embodiment
Behavior monitoring method executes the detection of primary video broadcast state using the method being periodically executed every fixed interval
Journey.In view of user click start broadcast button after click this again and start broadcast button, video playing in this case
State is still halted state, be easy to cause the false judgment for starting broadcasting behavior to click.Therefore, between the fixation in the embodiment
It is preferably Millisecond every the time, as long as can ensure that the time interval that user clicks twice in succession is more than pre-set milli in this way
Number of seconds, so that it may with capture user click start play behavior, while make user click start broadcast button time and
It captures the click and starts the error of broadcasting behavior in Millisecond, and then the error can be ignored, improve to clicking broadcasting behavior
The accuracy of judgement.
Video broadcasting condition may include broadcast state, halted state, halted state etc..Wherein, each video playing shape
State has corresponding unique attribute value, the attribute value of acquiescence preferably true.The original state of video player is that video is temporary
Stop state, corresponding attribute value is the corresponding attribute value of halted state.By judging that current hang state corresponds in the embodiment
Attribute value whether be really to judge whether current video broadcast state is halted state, if the broadcast state of video is not temporary
Stop state, it was demonstrated that user clicks beginning broadcast button, that is, click has occurred and starts broadcasting behavior.
Step S102, judges whether the corresponding attribute value of halted state changes.
The click behavior monitoring method for video playing of the embodiment is by judging the corresponding attribute value of halted state
Whether change, to judge whether current video broadcasting condition is halted state.If it is judged that halted state is corresponding
Attribute value changes, and illustrates that current video broadcasting condition is changed;If it is judged that the corresponding attribute of halted state
Value does not change, illustrates that current video broadcasting condition does not change, not yet halted state.Video broadcasting condition is defaulted as
Halted state, when judging that the halted state of video changes, which is preferably considered that the broadcast state of video is
The broadcast state since halted state variation is, because video, in initialization, broadcast state stops from halted state variation
State is nonsensical.
Preferably, judge the corresponding category of halted state in the click behavior monitoring method for video playing of the embodiment
Property value whether change including:Obtain prefixed time interval;Judge whether timing time reaches set prefixed time interval;Often
It detects that timing time reaches primary set prefixed time interval, then judges whether the corresponding attribute value of a halted state occurs
Variation.After judging whether the corresponding attribute value of halted state changes, the click for video playing of the embodiment
Behavior monitoring method further includes:If detecting that the corresponding attribute value of halted state changes, timing time is no longer judged
Whether set prefixed time interval is reached.Prefixed time interval in the embodiment is preferably Millisecond, and the embodiment is by setting
It sets whether the current video broadcasting condition of prefixed time interval cycle criterion changes, ensures being broadcast for video for the embodiment
The click behavior monitoring method put can more accurately capture clicking broadcasting behavior and occurring to click broadcasting behavior for user
Time clicks reproduction time.
Step S103, if it is judged that the corresponding attribute value of halted state changes, then by the corresponding category of halted state
Property value when changing corresponding user's operation behavior record be to click to start broadcasting behavior.
When judging that the corresponding attribute value of halted state changes, illustrate user in the corresponding attribute value of halted state
The changed time clicks beginning broadcast button, i.e., the changed time user's of the corresponding attribute value of halted state
Operation behavior is to click to start broadcasting behavior, wherein it is that user clicks the behavior for starting to play that click, which starts broadcasting behavior,.It is preferred that
Ground, the click behavior monitoring method for video playing of the embodiment are clicked the while of starting broadcasting behavior in record and are also wrapped
It includes:Obtain the halted state corresponding attribute value changed time;Determine the time clicked and start broadcasting behavior generation,
In, it clicks and starts the time that broadcasting behavior occurs as the halted state corresponding attribute value changed time;It determines to click and open
Beginning reproduction time, wherein it is to click the time for starting broadcasting behavior generation to click broadcast start time.
The embodiment clicks behavior monitoring method using the video playing for obtaining video player for video playing
State is the corresponding attribute value of halted state;Judge whether the corresponding attribute value of halted state changes;If it is judged that temporarily
Stop the corresponding attribute value of state to change, then corresponding user's operation row when the corresponding attribute value of halted state changing
Start broadcasting behavior to be recorded as clicking, wherein it is that user clicks the behavior for starting to play that click, which starts broadcasting behavior, is solved
The prior art clicks user the problem for the monitoring result inaccuracy for starting broadcasting behavior, has reached accurate analysis user click and has opened
The effect of beginning broadcasting behavior.
Fig. 2 is the flow chart of the second embodiment of the click behavior monitoring method according to the present invention for video playing.
As shown in Fig. 2, the click behavior monitoring method for being used for video playing includes following step S201 to step S205:
Step S201 to step S203, with above-mentioned steps S101 to step S103.
Step S204 obtains video broadcast start time.
Video broadcast start time refers to after user clicks beginning broadcast button, by the loading procedure of video, video
Start the time played.The embodiment is clicked in record user starts broadcast button, i.e., record, which is clicked, starts the same of broadcasting behavior
When, click broadcast start time is obtained, which is that user clicks the time for starting broadcast button.It is practical
For middle user after clicking beginning broadcast button, video can not immediately enter normal playing status, need to carry out adding for video
It carries, the length of video load duration is influenced by network bandwidth, is also influenced by video player at client end performance.
Preferably, video broadcast start time is obtained in the click behavior monitoring method for video playing of the embodiment
Including:Monitor whether that there are trigger signals, wherein trigger signal is the signal for starting to play for triggering video;If monitoring
To there are trigger signals, video broadcast start time is obtained, wherein video broadcast start time is to monitor that there are trigger signals
Time.The embodiment for video playing click behavior monitoring method obtain video broadcast start time the purpose of be in order to
It obtains video and loads duration, accurately analyze video display effect, assessment user watches the experience of video.
Step S205 calculates video and loads duration.
Video a length of video broadcast start time and the difference for clicking broadcast start time when loading.Start obtaining to click
After reproduction time and video broadcast start time, the click behavior monitoring method for video playing of the embodiment further includes
Load video length is calculated, specifically, calculating video load duration includes:Video broadcast start time is calculated to start to broadcast with click
Put the difference of time;Determine that video loads duration, wherein a length of video broadcast start time starts to broadcast with click when video load
Put the difference of time.
The click behavior monitoring method for video playing of the embodiment calculates video load duration can be more specific, accurate
Really analyze video display effect.If it is longer that video loads duration, illustrate that network performance is poor, video display effect is poor;
If it is shorter that video loads duration, illustrate that network performance is preferable, video display effect is preferable.
The embodiment clicks behavior monitoring method using the video playing for obtaining video player for video playing
State is the corresponding attribute value of halted state;Judge whether the corresponding attribute value of halted state changes;If it is judged that temporarily
Stop the corresponding attribute value of state to change, then corresponding user's operation row when the corresponding attribute value of halted state changing
Start broadcasting behavior to be recorded as clicking, wherein it is that user clicks the behavior for starting to play that click, which starts broadcasting behavior,;Acquisition regards
Frequency broadcast start time;It calculates video and loads duration, solve the prior art and click the monitoring knot for starting broadcasting behavior to user
The problem of fruit inaccuracy has achieved the effect that accurate judgement user clicks broadcasting behavior, while but also video display effect
It is more specific, accurate to analyze.
It can be seen from the above description that the click behavior monitoring method for video playing of the embodiment of the present invention
By being monitored to the attribute value of video broadcasting condition placed in a suspend state, when monitoring halted state corresponding attribute value hair
When changing, the operation behavior of user is captured, and is to click to start broadcasting behavior by user's operation behavior record at this time, is solved
The prior art clicks user the problem for the monitoring result inaccuracy for starting broadcasting behavior.Meanwhile it being clicked in capture and starting to broadcast
Record clicks broadcast start time when clearance is, when the signal acquisition video for starting to play by detection triggering video starts to play
Between, so obtain video load duration, achieved the effect that it is more specific, accurately analyze video display effect.
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.
The embodiment of the present invention additionally provides a kind of click behavior monitoring device for video playing.It should be noted that
The click behavior monitoring device for being used for video playing can be used for executing the click for video playing of the embodiment of the present invention
Behavior monitoring method.
Fig. 3 is the schematic diagram of the click behavior monitoring device according to the ... of the embodiment of the present invention for video playing.Such as Fig. 3 institutes
Show, which includes:First acquisition module 10, judgment module 20 and logging modle
30。
First acquisition module 10, the video broadcasting condition for obtaining video player are the corresponding attribute of halted state
Value.
Judgment module 20, for judging whether the corresponding attribute value of halted state changes.
Logging modle 30, for when judging that the corresponding attribute value of halted state changes, halted state to be corresponded to
Attribute value when changing corresponding user's operation behavior record be to click to start broadcasting behavior, wherein click starts to play
Behavior is that user clicks the behavior for starting to play.
Preferably, the click behavior monitoring device for video playing of the embodiment further includes:Second acquisition module is used
In the acquisition halted state corresponding attribute value changed time;First determining module, for determining that click starts to play row
For the time of generation, wherein the time that click starts broadcasting behavior generation is that the corresponding attribute value of halted state is changed
Time;Second determining module clicks broadcast start time for determining, wherein it is to click to start to broadcast to click broadcast start time
It lets pass as the time occurred.
Preferably, the click behavior monitoring device for video playing of the embodiment further includes:Monitoring modular, for supervising
It surveys and whether there is trigger signal, wherein trigger signal is the signal for starting to play for triggering video;Third acquisition module is used
In when monitoring there are when trigger signal, to obtain video broadcast start time, wherein video broadcast start time is to monitor to deposit
In the time of trigger signal.
Preferably, the click behavior monitoring device for video playing of the embodiment further includes:Computing module, based on
It calculates video broadcast start time and clicks the difference of broadcast start time;Third determining module, for determining that video loads duration,
Wherein, a length of video broadcast start time and the difference for clicking broadcast start time when video loads.
The click behavior monitoring device for video playing of the embodiment includes the first acquisition module 10, judgment module 20
With logging modle 30.Solves the prior art to user by the click behavior monitoring device for video playing of the embodiment
Click the problem for the monitoring result inaccuracy for starting broadcasting behavior.
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.