WO2016062220A1 - 视频播放检测方法和装置 - Google Patents

视频播放检测方法和装置 Download PDF

Info

Publication number
WO2016062220A1
WO2016062220A1 PCT/CN2015/092032 CN2015092032W WO2016062220A1 WO 2016062220 A1 WO2016062220 A1 WO 2016062220A1 CN 2015092032 W CN2015092032 W CN 2015092032W WO 2016062220 A1 WO2016062220 A1 WO 2016062220A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
time
detected
playing
behavior
Prior art date
Application number
PCT/CN2015/092032
Other languages
English (en)
French (fr)
Inventor
杜宁
林斐
陈杰
Original Assignee
北京国双科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京国双科技有限公司 filed Critical 北京国双科技有限公司
Priority to US15/519,776 priority Critical patent/US10104428B2/en
Publication of WO2016062220A1 publication Critical patent/WO2016062220A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring 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/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2407Monitoring of transmitted content, e.g. distribution time, number of downloads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring 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/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Definitions

  • the present application relates to the field of the Internet, and in particular to a video playback detection method and apparatus.
  • the related art captures the number of times a video is played by an arbitrary user per unit time by embedding a data acquisition code in a video playback device (video playback software). Further, all users are summed for the number of times of playing at each moment of the video, and the total peace of the number of times played at each moment is placed on the time axis of the video playing, and the user can be presented to watch the video at various moments. The number of times. By analyzing the number of times the user views the video at various moments, the user's viewing behavior and popularity of the video content at a particular moment can be reflected.
  • the related technology since the related technology only performs a simple summation operation for each user's video playback times at various times, the user's video viewing behavior cannot be specifically analyzed. For example, the number of times the video is played abnormally high at a certain time causes the overall user to play a large number of times at that moment, which in turn affects the accuracy of analyzing the user's viewing behavior and preference for the video content at a specific moment. For another example, when the number of times the video is played by the user at a certain time is 0, the related technology cannot judge the behavior of the user at the moment, that is, the user cannot judge whether the user ends the viewing of the video or the user skips the video content at the moment.
  • the main purpose of the present application is to provide a video playback detection method and apparatus to solve the problem that the video playback behavior cannot be accurately analyzed in the related art.
  • a video playback detecting method includes: acquiring the number of times the video is played at the time to be detected; obtaining the exit time of the video, wherein the exit time is the time at which the video is ended; determining whether the number of times the video is to be detected is zero; if the video is The number of times to be detected is zero, and it is determined whether the time to be detected is before the exit time; if the time to be detected is before the exit time, it is determined that the video is not ended at the time to be detected.
  • the number of times the video is played at the time to be detected includes: searching for a play record of the video stored in the preset database, wherein the play record in the preset time is stored in the preset database, and the play record includes The number of times of playing at each moment of the video; determining the time to be detected; and finding the number of times of playing corresponding to the time to be detected in the playing record.
  • the exit time of the video is: traversing the play record of the video in the preset time stored in the preset database, determining whether the play count at each moment of the video is 0; acquiring the first time, wherein the first time is a time when the number of times of play is 0; determining whether there is still a time when the number of times of play is not 0 after the first time; if there is no time when the number of times of play is not 0 after the first time, the first time is an exit time; After the first time, there is also a time when the number of times of play is not 0, and the first time is not the exit time.
  • the video playing detection method further includes: counting the ending playing behavior of the video, wherein the ending playing behavior is a video playing behavior at the exiting moment, traversing the plurality of playing records to detect the exiting time, and each time detecting the exiting moment, the video is Performing an operation of adding 1 at the end of the exiting time; acquiring a first ratio, wherein the first ratio is a ratio of the number of times the ending playing behavior is to the sum of the plurality of playing records; and detecting the video at the time to be detected according to the first ratio Play behavior.
  • the video playback detection method further includes: determining whether the number of times of playing of the video at the previous moment of the time to be detected is 0; if the number of times of playing of the video at the previous moment of the time to be detected is not 0, counting the jump behavior of the video,
  • the jump behavior is a video playing behavior at a time to be detected, traversing a plurality of play records, and each time a time before the detected time is detected, performing an operation of adding 1 to the number of jump behaviors of the video at the time to be detected; a second ratio, wherein the second ratio is a ratio of the number of jump behaviors to the sum of the plurality of play records; and the play behavior of the video at the time to be detected is detected according to the second ratio.
  • the video play detection method further includes: determining that the video is Whether the number of times to be detected is greater than 1; if the number of times the video is played at the time to be detected is greater than 1, the playback behavior of the video is counted, wherein the playback behavior is the video playback behavior of the time to be detected, and the multiple playback records are traversed.
  • the third ratio is a ratio of the number of playback behaviors to the sum of the plurality of playback records And detecting the playing behavior of the video at the time to be detected according to the third ratio.
  • the preset database stores a plurality of pieces of play records corresponding to the plurality of users within a preset time. After acquiring the number of times the video is played at the time to be detected, the method further includes: determining that the video is to be detected.
  • the number of times of playing is greater than 1; if the number of times the video is played at the time to be detected is greater than 1, the playback behavior of the video is counted, wherein the playback behavior is the video playing behavior of the time to be detected, and the plurality of playback records are traversed, if The number of times to be detected is greater than 1 in a certain play record, and the number of playback actions of the video corresponding to the play record at the time to be detected is increased by one; the fourth ratio is obtained, wherein the fourth ratio is the playback behavior. of The ratio of the number of times to the sum of the plurality of play records; and detecting the play behavior of the video at the time to be detected according to the fourth ratio.
  • the video playback detection method further includes: obtaining a first chart according to the first ratio and the playing time of the video, wherein the abscissa of the first chart is the playing time of the video, and the ordinate of the first chart is the first ratio;
  • the first chart is output.
  • the video playback detection method further includes: obtaining a second chart according to the second ratio and the playing time of the video, wherein the abscissa of the second chart is the playing time of the video, and the ordinate of the second chart is the second ratio;
  • the second chart is output.
  • the video playback detection method further includes: obtaining a third chart according to the third ratio and the playing time of the video, wherein the abscissa of the third chart is the playing time of the video, and the ordinate of the third chart is the third ratio;
  • the third chart is output.
  • a video playback detecting apparatus includes: a first acquiring module, configured to acquire a number of times the video is played at a time to be detected; and a second acquiring module, configured to acquire an exit time of the video, where the exit time is a time at which the video is ended; a judging module, configured to determine whether the number of times of playing of the video at the time to be detected is zero; the second determining module is configured to determine whether the time to be detected is before the exit time when the number of times of playing of the video at the time to be detected is zero; The detecting module is configured to determine that the video is not ended at the time to be detected when it is determined that the time to be detected is before the exit time.
  • the video playback detecting apparatus further includes: a third determining module, configured to determine whether the number of times of playing of the video at a previous moment of the time to be detected is 0; the first counting module is configured to use the video before the time to be detected When the number of times of play is not 0, the jump behavior of the video is counted, wherein the jump behavior is the video play behavior of the time to be detected, and the plurality of play records are traversed, and each time the time to be detected is detected is detected.
  • the third obtaining module is configured to obtain a second ratio, wherein the second ratio is a ratio of the number of times of the jump behavior to the sum of the plurality of play records;
  • the second detecting module is configured to detect, according to the second ratio, a playing behavior of the video at the time to be detected.
  • the video playback detecting apparatus further includes: a fourth determining module, configured to determine whether the number of times the video is played at the time to be detected is greater than 1; and the second counting module is configured to: when the number of times the video is played at the time to be detected is greater than 1, Counting the playback behavior of the video, wherein the playback behavior is the video playback behavior at the time to be detected, traversing the plurality of playback records, and the number of playback behaviors of the video at the time to be detected each time the detected time is detected.
  • the third obtaining module is configured to obtain a third ratio, wherein the third ratio is a ratio of the number of playback actions to the sum of the plurality of play records; and the third detecting module is configured to detect the video according to the third ratio. The playing behavior at the moment to be detected.
  • the video playback detection method and device of the present application adopts the video playback detection method to obtain the number of times the video is played at the time to be detected; and the exit time of the video, where the exit time is the end of the video. Determining whether the number of times the video is played at the time to be detected is zero; if the number of times the video is to be detected is zero, it is determined whether the time to be detected is before the exit time; if the time to be detected is before the exit time, then the video is determined to be The playback of the to-be-detected time is not completed, and the problem that the video playback behavior cannot be accurately analyzed in the related art is solved.
  • the video playback detection method introduces the video by comparing the context of the current time and the exit time of the video (that is, the chronological relationship). Leave behavior and jump behavior and count them to more accurately detect the video playback behavior at the current moment. At the same time, the method introduces the playback behavior. When the number of times the video is played at the current time is greater than 1, only the count of the playback behavior is incremented by one, thereby avoiding the situation that the abnormal loop plays the current number of times, thereby ensuring the analysis of the user. The accuracy of the quality and enjoyment of video content at the current moment.
  • the video playback detection method enhances the interpretation of the user's viewing of the video behavior by introducing the leaving behavior, the jumping behavior, and the playback behavior.
  • FIG. 1 is a flow chart of a first embodiment of a video play detecting method according to the present application.
  • FIG. 2 is a flow chart of a second embodiment of a video play detecting method according to the present application.
  • FIG. 3 is a flow chart of a third embodiment of a video play detecting method according to the present application.
  • FIG. 4 is a schematic diagram of a first embodiment of a video play detecting apparatus according to the present application.
  • Figure 5 is a schematic diagram of a second embodiment of a video play detecting apparatus according to the present application.
  • Figure 6 is a schematic diagram of a third embodiment of a video playback detecting apparatus according to the present application.
  • the present application aims to provide a video playback detection method and apparatus.
  • 1 is a flowchart of a first embodiment of a video play detection method according to the present application. As shown in FIG. 1, the video play detection method includes the following steps S101 to S105:
  • Step S101 Acquire the number of times the video is played at the time to be detected.
  • the user can view the related information of the video by embedding the code in the video player that plays the video, wherein the video player is a software video player, such as a Tencent video, a Sohu video, and the like.
  • the video player is a software video player, such as a Tencent video, a Sohu video, and the like.
  • the play record includes the identifier of the user who viewed the video, the information of the video, and the number of times the video is played at each moment.
  • Acquiring the play record of the video can return the play record of the video to the server by directly embedding the code in the video player, or can directly read the play record within the preset time from the database of the play record in which the video is stored.
  • the number of times the video is played at the time to be detected in the video play detection method of the embodiment includes: searching for a play record of the video stored in the preset database, wherein the preset time is stored in the preset database. Recording, the playing record includes the number of times of playing at each moment of the video; determining the time to be detected; and finding the number of times of playing corresponding to the time to be detected in the playing record.
  • the time to be detected is any time of the video.
  • the video playback detection method in this embodiment detects each moment of the video, and from the detected video playback behavior of the video at each moment, statistically analyzes the quality of the video content and the user pair at each moment of the video. The video's favorite level of video content at each moment.
  • the embodiment obtains the play record of the video from the preset database, and reduces the consumption of the system performance relative to the play record obtained by embedding the code in the video player, thereby improving the system operation speed.
  • the video play record selected from the preset database within the preset time has one or more than one, and then the play record needs to be sorted when performing statistical analysis on the play record of the video, and the sorting manner can be followed by watching the video.
  • the user's logo is sorted in ascending or descending order, and the sorted play record is stored in the play record data table or in a database for storing the sorted play record.
  • Step S102 Acquire an exit time of the video.
  • the exit moment of the video is the moment when the video ends.
  • Each play record in the play record data table or the database for storing the sorted play record has an exit time, and the exit time of the video in the play record is included: traversing the video in the preset time stored in the preset database a play record, determining whether the number of times of playing at each moment of the video is 0; acquiring the first time, wherein the first time is a time when the number of times of play is 0; and determining whether there is still a time when the number of times of play is not 0 after the first time If there is no time when the number of times of play is not 0 after the first time, the first time is the exit time; if there is still a time when the number of times of play is not 0 after the first time, the first time is not the exit time.
  • the video playback detection method of this embodiment is obtained.
  • the exit time of the video in the play record is to distinguish the video play behavior at the time to be detected.
  • the positional relationship between the time to be detected and the exit time that is, the time-sequence relationship
  • the video playing behavior at the time to be detected can be determined, and the time to be detected is exited.
  • the video playback is not finished at the time to be detected.
  • step S103 it is determined whether the number of times the video is played at the time to be detected is zero.
  • the video playing behavior can be determined by judging the number of times of playing at the time to be detected. When it is determined that the number of times of playing at the time to be detected is not 0, the video is not ended at the time to be detected. When it is determined that the number of times of playing at the time to be detected is 0, the video playing behavior at the time to be detected cannot be determined. When the number of times of playing at the time to be detected is 0, the video may be in a state that has ended playing, or may be The state in which the playback is not ended, that is, the user skips the video content at the time to be detected.
  • the video playing detection method of the embodiment needs to further determine the positional relationship between the time to be detected and the exit time (that is, the chronological relationship), and needs to be explained.
  • the time of obtaining the exit time of the video in the play record may also be implemented by: determining, in the preset database, the time corresponding to the number of times the last video of the video in the play record of each video is not 0; and The next time of the last time corresponding to the number of times of play that is not 0 is taken as the exit time of the video.
  • Step S104 If the number of times the video is played at the time to be detected is zero, it is determined whether the time to be detected is before the exit time.
  • the video playing detection method of this embodiment determines the time to be detected after determining that the number of times the video is played at the time to be detected is zero. Whether it is before the exit time. On the time axis of the video playing, the exit time may be any time on the time axis of the video playing. When the time to be detected is before the exit time, the number of times of playing the video at the time to be detected is 0, and the video at the time to be detected is not ended. Play, but the user skips the video content of the moment to be detected.
  • the video playback detection method of this embodiment continues to determine the positional relationship between the to-be-detected time and the exit time (ie, the chronological relationship) after determining whether the to-be-detected time is 0, and overcomes the technical bias that the number of plays is 0 to represent the end of the video. .
  • Step S105 If the time to be detected is before the exit time, it is determined that the video is not ended at the time to be detected.
  • the exit time of acquiring the video includes acquiring the exit time of each play record, and recording the exit time of the video in each play record.
  • the exit time in each play record is different on the video play timeline.
  • the video playback detection method of the embodiment includes: acquiring the number of times the video is played at the time to be detected; acquiring the exit time of the video; determining whether the number of times the video is played at the time to be detected is zero; if the number of times the video is to be detected is zero, It is determined whether the time to be detected is before the exit time; if the time to be detected is before the exit time, it is determined that the video is not ended at the time to be detected.
  • the video playback detection method of the embodiment determines the time sequence of the to-be-detected time and the exit time when the number of times of playing is 0 by acquiring the exit time of the video, and solves the problem that the video playing behavior cannot be accurately analyzed in the related art, and overcomes the traditional technology.
  • the technical bias that the video ends when the number of plays is 0.
  • FIG. 2 is a flow chart of a second embodiment of a video playback detecting method according to the present application, and FIG. 2 may be a preferred embodiment of the embodiment shown in FIG. 1.
  • the video playback detection method includes the following steps S201 to S212:
  • Steps S201 to S202 are the same as steps S101 to S102 described above, and are not described herein again.
  • Step S203 counting the ending playing behavior of the video, wherein the ending playing behavior is the video playing behavior of the exiting moment, traversing the plurality of playing records to detect the exiting time, and each time the exiting moment is detected, the ending of the video at the exiting moment The number of playback actions is incremented by one.
  • the end playback behavior is the video playback behavior at the exit time, that is, the video ends playing at the exit time.
  • a plurality of play records corresponding to a plurality of users are stored in the preset database, and an exit time of one video exists in each play record, and multiple exit times in the plurality of play records may be located in the video play The same time on the timeline can also be distributed at different times on the video playback timeline.
  • the video play detection method of this embodiment counts the end play behavior at each moment on the video playback time axis by detecting the exit time by traversing a plurality of play records, and each time an exit time is detected, the video is played at the end of the exit time. The number of times the behavior is performed plus one.
  • the analysis of the video playing behavior is digitized by counting the ending playing behavior, and the video playing behavior at the time to be detected is visually displayed in the form of data or a graph.
  • the number of times the end of the video is counted at the first moment of the video is N, and it can be analyzed that N users end the viewing of the video at the first moment, thereby obtaining a lower quality of the video content at the first moment or in the first
  • the video content at one moment cannot cause the user's viewing interest.
  • the first time is any time of the video playing, and N is less than the total number of the plurality of playing records corresponding to the plurality of users stored in the preset database in the preset time.
  • Step S204 Acquire a first ratio, wherein the first ratio is a ratio of the number of times the ending playing behavior is to the sum of the plurality of playing records.
  • the ratio of the number of times the ending playing behavior is compared with the sum of the plurality of playing records, that is, the first ratio is obtained.
  • the sum of the multiple play records in this embodiment is the video at that moment.
  • the video play detection method of this embodiment obtains the relative value of the end play behavior, that is, the first ratio, as an important index for measuring the video play behavior, and can more objectively reflect the quality information of the video at each moment. Because during the preset time, as the video playing time elapses, the user watching the video successively ends watching the video, so that the absolute value of the video playing behavior (such as the number of ending playing behaviors) is continuously decreased, so the absolute use is used.
  • the numerical value as an indicator to measure the behavior of video playback cannot guarantee the consistency of the information contained in the indicators before and after the video.
  • Step S205 detecting a playing behavior of the video at the time to be detected according to the first ratio.
  • the first ratio is the ratio of the number of times the end of the play behavior is to the sum of the plurality of play records.
  • the first graph is obtained according to the first ratio and the playing time of the video, wherein the abscissa of the first graph is the playing time of the video, and the ordinate of the first graph is the first ratio.
  • the first ratio is displayed in the form of a first chart. By viewing the first graph, statistical analysis analyzes the number of times the playback behavior ends at each moment of the video, and the quality of the video content at each moment and the user's preference for the video content at each moment can be obtained.
  • the video play detection method of this embodiment counts the end of the play behavior, and displays the relative value of the end play behavior in the form of a graph, which more intuitively reflects the video play behavior of the video at each moment, thereby facilitating the rapid determination of the video content at each moment.
  • Steps S206 to S208 are the same as steps S103 to S105 described above, and are not described herein again.
  • step S209 it is determined whether the number of times of playing of the video at the previous moment of the time to be detected is 0.
  • the video playing detection method of this embodiment needs to determine whether the number of times of playing of the video at the previous moment of the time to be detected is zero.
  • Step S210 If the number of times the video is played at the previous moment of the time to be detected is not 0, the jump behavior of the video is counted, wherein the jump behavior is the video playing behavior of the time to be detected, and the plurality of play records are traversed. The previous time of the time to be detected is detected, and the number of times of the jump behavior of the video at the time to be detected is performed.
  • the number of times the video is played at the time when the video is to be detected is 0, it can be determined that the action of the user not playing the video does not occur at the time to be detected, and the video playing behavior at the time to be detected is in a jump state.
  • the jump state of the detection time is counted, and the number of times of the to-be-detected time is 0, and the number of times of the previous time of the time to be detected is also 0, by traversing the plurality of pieces of the play record.
  • the addition operation is performed on the number of times the video jumps at the time to be detected.
  • the video play detection method of this embodiment also acquires the ratio of the number of jump states to the number of pieces of play records, and uses the ratio as the ordinate, and the time at which the video is played as the abscissa, draws a chart, and each of the videos The jump state of the moment is visually displayed. This facilitates an intuitive and fast analysis of the quality of the video at various times.
  • the video is at the moment before the moment to be detected
  • the number of times of playing is not 0, it can be determined that the action that the user does not play the video occurs at the time to be detected.
  • the jump behavior of the video is counted, wherein the jump behavior is a video playback behavior at the moment to be detected.
  • the plurality of play records are traversed, and each time a time before the time to be detected is detected, an operation of adding 1 to the number of jumps of the video at the time to be detected is performed.
  • the number of jump behaviors of the video at each moment is counted. By comparing the number of jump behaviors at each moment of the video, it can be analyzed that the video content quality at the time when the jump behavior is high on the video play time axis is lower than the number of jump behaviors. Video content at low times, or at times when the number of jumps is low, is more popular with users.
  • the video playback detection method of this embodiment introduces two metrics of the number of jump states and the number of jump behaviors. Compared with the number of times the video is played, the video playback detection method of the embodiment enhances the analysis video.
  • the explanatory power of the playing behavior also makes the detection of the video playing behavior at the time of detection more specific and intuitive.
  • Step S211 obtaining a second ratio, wherein the second ratio is a ratio of the number of jump behaviors to the sum of the plurality of play records.
  • the ratio of the number of jump behaviors to the sum of the plurality of play records is obtained. Since the jump behavior occurs before the exit time, the effective play count at the time to be detected is the number of the plurality of play records corresponding to the plurality of users stored in the preset database within the preset time.
  • the reason why the video play detection method of this embodiment acquires the second ratio is the same as the reason for analyzing the relative value of the end playback behavior in step S204, and details are not described herein again.
  • Step S212 detecting a playing behavior of the video at the time to be detected according to the second ratio.
  • the second ratio is the ratio of the number of jump behaviors to the sum of multiple play records. After acquiring the second ratio, the second ratio is used as the ordinate, and the playing time of the video is taken as the abscissa, and a second graph is generated, which is used to count the probability of the jump behavior occurring at each moment of the video playing.
  • the number of jump behaviors corresponding to the time when the second ratio is high is higher than the time when the second ratio is low, that is, the user has low satisfaction with the video content at the time when the second ratio is high.
  • the video play detection method of the embodiment counts the number of jump behaviors, and displays the relative value of the jump behavior in the form of a graph, which more intuitively reflects the video playing behavior of the video at each moment, thereby facilitating the rapid determination of the video at each moment.
  • the video play detection method of the embodiment adopts the number of times the video is played at the time to be detected; the time of the exit of the video is acquired; the end play behavior of the video is counted, and the plurality of play records are traversed to detect the exit time, and each exit is detected once.
  • the video play detection method of this embodiment counts the end play behavior, the jump state, and the jump behavior of the time to be detected, and obtains the relative play value of the end play behavior, the jump state, and the jump behavior as a measure of video quality and user preference.
  • the indicators are displayed in the form of graphs, which solves the problem that the related technologies cannot accurately analyze the video playing behavior, and thus achieves the effect of visually analyzing the quality and the degree of favorite video content at various moments.
  • FIG. 3 is a flow chart of a third embodiment of a video playback detecting method according to the present application, and FIG. 3 may be a preferred embodiment of the embodiment shown in FIG. 1.
  • the video play detection method includes the following steps S301 to S309:
  • Step S301 is the same as step S101 above, and details are not described herein again.
  • step S302 it is determined whether the number of times the video is played at the time to be detected is greater than 1.
  • the time to be detected is any time during the video playback.
  • the number of times of playing at the time to be detected may be 0, may be 1, or may be greater than 1.
  • the video playing behavior at the time to be detected is the ending playing behavior, the jumping state or the jumping behavior.
  • the number of times of playing at the time to be detected is 1, the video playing behavior at the time to be detected is the actual playing behavior.
  • the video playing behavior at the time to be detected is a playback behavior, wherein the playback behavior is a video playing behavior at a time when the number of times of playing is greater than 1, and the playback behavior is used to play back the playback.
  • the video content of the moment of the behavior is repeatedly played more than once.
  • the video play detection method of this embodiment ensures the integrity and accuracy of the video play behavior judgment analysis of the time to be detected by increasing whether the number of play times of the time to be detected is greater than 1.
  • Step S303 If the number of times the video is played at the time to be detected is greater than 1, the playback behavior of the video is counted, wherein the playback behavior is the video playback behavior at the time to be detected, and the multiple playback records are traversed, and each time the detection is detected, the detection is performed. At the moment, an operation of adding 1 to the number of playback actions of the video at the time to be detected is performed.
  • the number of times of playing at the time to be detected is less than 1, there are two cases.
  • the first case when the number of times of playing at the time to be detected is 1, the video playing behavior at the time to be detected is the actual playing behavior, and is waiting. The detection time video is played normally.
  • the second case is that the number of times of playing the time to be detected is 0, and the method for detecting the video playing behavior at the time of detecting has been analyzed in the first embodiment of the video playing detecting method of the present application, and details are not described herein again.
  • the number of times of playing at the time to be detected is greater than 1
  • the video playing behavior occurring at the time to be detected is a playback behavior, and the playback behavior of the video is counted at this time.
  • the video play detection method of this embodiment counts the number of playback actions at each moment of the video in order to analyze the degree of popularity of the video content at various times of the video.
  • Step S304 obtaining a third ratio, wherein the third ratio is the number of playback behaviors and multiple play records The ratio of the sum.
  • the ratio of the number of playback actions to the sum of the plurality of playback records is obtained. Since the playback behavior occurs before the exit time, the number of effective playbacks at the time to be detected is the number of the plurality of play records corresponding to the plurality of users stored in the preset database within the preset time.
  • the reason why the video play detection method of this embodiment acquires the third ratio is the same as the reason for analyzing the relative value of the end play behavior in step S204, and details are not described herein again.
  • Step S305 detecting a playing behavior of the video at the time to be detected according to the third ratio.
  • the third ratio is the ratio of the number of playback plays to the sum of multiple play records. After obtaining the third ratio, obtaining a third chart according to the third ratio and the playing time of the video, wherein the abscissa of the third chart is the playing time of the video, the ordinate of the third chart is the third ratio, and the third chart is output. .
  • This third chart is used to count the probability of a playback event occurring at various moments of video playback. The number of playback actions corresponding to the moment when the third ratio is high is higher than the moment when the third ratio is low, that is, the video content at the time when the third ratio is high is more popular with the user.
  • the video play detection method of this embodiment introduces a playback behavior as an indicator for measuring the quality of the video content to be detected, and displays the relative value of the playback behavior in the form of a graph, which intuitively reflects the video content of each moment of the video. Quality and the degree of love.
  • a playback behavior as an indicator for measuring the quality of the video content to be detected
  • displays the relative value of the playback behavior in the form of a graph which intuitively reflects the video content of each moment of the video. Quality and the degree of love.
  • Steps S306 to S309 are the same as steps S102 to S105 described above, and are not described herein again.
  • the video playback detection method of the embodiment uses the number of times the video is played at the time to be detected; whether the number of times the video is played at the time to be detected is greater than 1; if the number of times the video is played at the time to be detected is greater than 1, the playback behavior of the video Counting, traversing a plurality of play records, each time a time to be detected is detected, performing an operation of adding 1 to the number of playback actions of the video at the time to be detected; acquiring a third ratio; detecting the video at the time to be detected according to the third ratio Playback behavior; obtain the exit time of the video; determine whether the number of times the video is played at the time to be detected is zero; if the number of times the video is to be detected is zero, determine whether the time to be detected is before the exit time; if the time to be detected is exiting Before the moment, it is determined that the video is not finished playing at the time to be detected.
  • the video playback detection method of this embodiment solves the problem that the video playback behavior cannot be accurately analyzed in the related art.
  • the video playback detection method of the embodiment introduces a playback behavior. When the number of times the video is played at the current time is greater than 1, only the count of the playback behavior is incremented by one, thereby avoiding the abnormal loop playback and the current playback time. In this case, it is guaranteed to analyze the accuracy of the user's quality and preference for the current time video content.
  • the plurality of play records corresponding to the multiple users in the preset time are stored in the preset database.
  • the method further includes: determining that the video is to be detected. Whether the number of times of playing is greater than 1; if the number of times the video is played at the time to be detected is greater than 1, the playback behavior of the video is counted, wherein the playback behavior is the video playing behavior of the time to be detected, and the plurality of playback records are traversed if The number of times that the time to be detected is detected in a certain play record is greater than 1, and the video corresponding to the record is played.
  • the number of playback actions at the time to be detected is incremented by one; a fourth ratio is obtained, wherein the fourth ratio is a ratio of the number of playback plays to the sum of the plurality of play records; and the fourth ratio is used to detect the video at the time to be detected. Play behavior.
  • the video play detection method provided by the embodiment of the present application detects the video play behavior by determining the play times of the time to be detected, and introduces the end play behavior, the jump behavior, the playback behavior measurement index, and The second number is used for statistics, and the relative values of these indicators are analyzed to know the quality and popularity of the video content at various times.
  • the video playback detection method in the embodiment of the present invention solves the problem that the video playback behavior cannot be accurately analyzed in the related art, and achieves the effect of quickly and accurately detecting the video playback behavior.
  • the embodiment of the present application further provides a video playback detecting apparatus. It should be noted that the video play detection apparatus may be used to perform the video play detection method in the embodiment of the present application.
  • the video playback detecting apparatus provided in the embodiment of the present application is introduced below.
  • the video playback detection apparatus includes: a first acquisition module 10, a second acquisition module 20, a first determination module 30, a second determination module 40, and a first detection module 50.
  • the first obtaining module 10 is configured to acquire the number of times the video is played at the time to be detected.
  • the first obtaining module 10 includes: a first searching module, configured to search for a play record of the video stored in the preset database, where the play record in the preset time is stored in the preset database, and the play record is included in the The number of times of playing at each moment of the video; the determining module is configured to determine the time to be detected; and the second searching module is configured to search for the number of times of playing corresponding to the time to be detected in the playing record.
  • a first searching module configured to search for a play record of the video stored in the preset database, where the play record in the preset time is stored in the preset database, and the play record is included in the The number of times of playing at each moment of the video
  • the determining module is configured to determine the time to be detected
  • the second searching module is configured to search for the number of times of playing corresponding to the time to be detected in the playing record.
  • the second obtaining module 20 is configured to acquire an exit time of the video, where the exit time is a time at which the video is ended.
  • the second obtaining module 20 includes: a traversing module, configured to traverse the playing record of the video in the preset time stored in the preset database, and determine whether the number of times of playing at each moment of the video is 0;
  • the first time instant is a time when the number of times of playing is 0.
  • the first determining sub-module is configured to determine whether there is still a time when the number of times of playing is not 0 after the first time, where One moment When there is no time when the number of times of play is not 0, the first time is the exit time; when there is a time when the number of times of play is not 0 after the first time, the first time is not the exit time.
  • the first determining module 30 is configured to determine whether the number of times the video is played at the time to be detected is zero.
  • the second determining module 40 is configured to determine whether the time to be detected is before the exit time when the number of times the video is played at the time to be detected is zero.
  • the first detecting module 50 is configured to: when it is determined that the time to be detected is before the exit time, determine that the video is not ended at the time to be detected.
  • the video playback detection apparatus of this embodiment includes a first acquisition module 10, a second acquisition module 20, a first determination module 30, a second determination module 40, and a first detection module 50.
  • the video playback detection device solves the problem that the video playback behavior cannot be accurately analyzed in the related art.
  • FIG. 5 is a schematic diagram of a second embodiment of a video playback detecting apparatus according to the present application, and FIG. 5 may be a preferred embodiment of the embodiment shown in FIG.
  • the video playback detection apparatus includes: a first acquisition module 10, a second acquisition module 20, a first determination module 30, a second determination module 40, a first detection module 50, a third determination module 60, and a A counting module 70, a third obtaining module 80 and a second detecting module 90.
  • the functions of the first obtaining module 10, the second obtaining module 20, the first determining module 30, the second determining module 40, and the first detecting module 50 are the same as those in the foregoing embodiment, and are not described herein again.
  • the third determining module 60 is configured to determine whether the number of times of playing of the video at a previous moment of the time to be detected is 0.
  • the first counting module 70 is configured to count the jump behavior of the video when the number of times of playing of the video at the previous moment of the time to be detected is not 0, wherein the jump behavior is the video playing behavior of the time to be detected, traversing A plurality of play records, each time a time before the time to be detected is detected, an operation of adding 1 to the number of jump actions of the video at the time to be detected is performed.
  • the third obtaining module 80 is configured to obtain a second ratio, wherein the second ratio is a ratio of the number of times of the jump behavior to the sum of the plurality of play records.
  • the second detecting module 90 is configured to detect, according to the second ratio, a playing behavior of the video at the time to be detected.
  • the video playback detection apparatus of this embodiment includes: a first acquisition module 10, a second acquisition module 20, a first determination module 30, a second determination module 40 and a first detection module 50, a third determination module 60, and a first counting module. 70.
  • the third acquisition module 80 block and the second detection module 90.
  • the video playback detection device solves the problem that the video playback behavior cannot be accurately analyzed in the related art.
  • the video playback detection device introduces the jump behavior and counts the jump behavior, and displays the relative value of the jump behavior in the form of a graph, thereby enabling fast and accurate analysis of the quality and content of the video content to be detected. Degree of love.
  • FIG. 6 is a schematic diagram of a third embodiment of a video playback detecting apparatus according to the present application, and FIG. 6 may be a preferred embodiment of the embodiment shown in FIG. 1.
  • the video playback detecting apparatus includes: first obtaining The module 10, the second obtaining module 20, the first determining module 30, the second determining module 40, the first detecting module 50, the fourth determining module 110, the second counting module 120, the fourth obtaining module 130, and the third detecting module 140.
  • the functions of the first obtaining module 10, the second obtaining module 20, the first determining module 30, the second determining module 40, and the first detecting module 50 are the same as those in the foregoing embodiment, and are not described herein again.
  • the fourth determining module 110 is configured to determine whether the number of times the video is played at the time to be detected is greater than 1.
  • the second counting module 120 is configured to count the playback behavior of the video when the number of times the video is played at the time to be detected is greater than 1, wherein the playback behavior is a video playback behavior at the time to be detected, and the plurality of playback records are traversed. Each time a time to be detected is detected, an operation of adding 1 to the number of playback actions of the video at the time to be detected is performed.
  • the fourth obtaining module 130 is configured to obtain a third ratio, where the third ratio is a ratio of the number of playback actions to the sum of the plurality of play records.
  • the third detecting module 140 is configured to detect, according to the third ratio, a playing behavior of the video at the time to be detected.
  • the video playback detection apparatus of this embodiment includes: a first acquisition module 10, a second acquisition module 20, a first determination module 30, a second determination module 40 and a first detection module 50, a fourth determination module 110, and a second counting module. 120.
  • the video playback detection device solves the problem that the video playback behavior cannot be accurately analyzed in the related art.
  • the video playback detection device introduces the playback behavior and counts the playback behavior, and displays the relative value of the playback behavior in the form of a graph, thereby avoiding the situation of abnormally looping the playback times and improving the number of playback times. Analyze the quality of the video content to be detected and the accuracy of the degree of preference.
  • the video playback detecting device includes a processor and a memory, and the first acquiring module, the second acquiring module, the first determining module, the second determining module, the first detecting module, the fourth determining module, the second counting module, and the fourth
  • the acquisition module and the third detection module and the like are each stored as a program unit in a memory, and the above-described program unit stored in the memory is executed by the processor to implement a corresponding function.
  • the processor contains a kernel, and the kernel removes the corresponding program unit from the memory.
  • the kernel can be set to one or more to detect video playback behavior by adjusting kernel parameters.
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory (flash RAM), the memory including at least one Memory chip.
  • RAM random access memory
  • ROM read only memory
  • flash RAM flash memory
  • the present application also provides an embodiment of a computer program product, when executed on a data processing device, adapted to perform a program code that initializes the following method steps: obtaining the number of times the video is played at the time to be detected; and obtaining the exit time of the video Wherein, the exit time is the time at which the video is ended; whether the number of times the video is played at the time to be detected is zero; if the number of times the video is played at the time to be detected is zero, it is determined whether the time to be detected is before the exit time; if it is to be detected At the moment before the exit time, it is determined that the video is not played at the time to be detected. bundle.
  • modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in a storage device by a computing device, or they may be fabricated into individual integrated circuit modules, or Multiple modules or steps are made into a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Television Signal Processing For Recording (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请公开了一种视频播放检测方法和装置,该视频播放检测方法包括获取视频在待检测时刻的播放次数;获取视频的退出时刻,其中,退出时刻为结束播放视频的时刻;判断视频在待检测时刻的播放次数是否为零;如果视频在待检测时刻的播放次数为零,判断待检测时刻是否在退出时刻之前;如果待检测时刻在退出时刻之前,则确定视频在待检测时刻播放未结束。通过本申请,解决了相关技术中无法准确分析视频播放行为的问题。

Description

视频播放检测方法和装置 技术领域
本申请涉及互联网领域,具体而言,涉及一种视频播放检测方法和装置。
背景技术
随着互联网视频点播服务的广泛普及和视频相关技术的快速发展,相关技术已经能够从视频播放数据中提取用户的视频观看行为特征。相关技术通过在视频播放装置(视频播放软件)中内嵌数据采集代码,采集视频在单位时间内被任意用户播放的次数。进一步地,将所有用户对该视频每一时刻上的播放次数求和,并将每个时刻的播放次数的总和平铺在视频播放的时间轴上,可以呈现出用户在各个时刻上观看该视频的次数。通过分析用户在各个时刻上观看该视频的次数可以反映用户对特定时刻的视频内容的观看行为和喜爱程度。但是,由于相关技术仅是对每个用户的视频播放次数在各个时刻做简单的求和运算,并不能对用户的视频观看行为进行具体的分析。比如,用户在某时刻循环播放视频异常高的次数,导致总体用户在该时刻的视频播放次数变得很大,进而影响了分析用户对特定时刻视频内容的观看行为和喜爱程度的准确性。又如,用户在某个时刻的视频播放次数为0时,相关技术无法判断用户在该时刻的行为,即无法判断用户是结束观看视频还是用户跳过了该时刻的视频内容。
针对相关技术中无法准确分析视频播放行为的问题,目前尚未提出有效的解决方案。
发明内容
本申请的主要目的在于提供一种视频播放检测方法和装置,以解决相关技术中无法准确分析视频播放行为的问题。
为了实现上述目的,根据本申请的一个方面,提供了一种视频播放检测方法。该视频播放检测方法包括:获取视频在待检测时刻的播放次数;获取视频的退出时刻,其中,退出时刻为结束播放视频的时刻;判断视频在待检测时刻的播放次数是否为零;如果视频在待检测时刻的播放次数为零,判断待检测时刻是否在退出时刻之前;如果待检测时刻在退出时刻之前,则确定视频在待检测时刻播放未结束。
进一步地,获取视频在待检测时刻的播放次数包括:查找预设数据库中存储的视频的播放记录,其中,在预设数据库中存储有预设时间内的播放记录,播放记录包括 在视频各个时刻的播放次数;确定待检测时刻;在播放记录中查找待检测时刻对应的播放次数。
进一步地,获取视频的退出时刻包括:遍历预设数据库中存储的预设时间内的视频的播放记录,判断在视频各个时刻的播放次数是否为0;获取第一时刻,其中,第一时刻为播放次数为0的时刻;判断在第一时刻之后是否还存在播放次数不为0的时刻;如果在第一时刻之后不存在播放次数不为0的时刻,则第一时刻是退出时刻;如果在第一时刻之后还存在播放次数不为0的时刻,则第一时刻不是退出时刻。
进一步地,在预设数据库中存储有在预设时间内的对应于多个用户的多条播放记录,在判断出在播放次数为0的时刻之后不存在其他播放次数不为0的时刻之后,该视频播放检测方法还包括:对视频的结束播放行为进行计数,其中,结束播放行为是退出时刻的视频播放行为,遍历多条播放记录对退出时刻进行检测,每检测到一次退出时刻,对视频在退出时刻的结束播放行为的次数执行加1操作;获取第一比值,其中,第一比值为结束播放行为的次数与多条播放记录总和的比值;根据第一比值检测视频在待检测时刻的播放行为。
进一步地,在预设数据库中存储有在预设时间内的对应于多个用户的多条播放记录,在如果待检测时刻早于退出时刻,则确定视频在待检测时刻播放未结束之后,该视频播放检测方法还包括:判断视频在待检测时刻的前一时刻的播放次数是否为0;如果视频在待检测时刻的前一时刻的播放次数不为0,对视频的跳转行为进行计数,其中,跳转行为是待检测时刻的视频播放行为,遍历多条播放记录,每检测到一次待检测时刻的前一时刻,对视频在待检测时刻的跳转行为的次数执行加1操作;获取第二比值,其中,第二比值为跳转行为的次数与多条播放记录总和的比值;根据第二比值检测视频在待检测时刻的播放行为。
进一步地,在预设数据库中存储有在预设时间内的对应于多个用户的多条播放记录,在获取视频在待检测时刻的播放次数之后,该视频播放检测方法还包括:判断视频在待检测时刻的播放次数是否大于1;如果视频在待检测时刻的播放次数大于1,对视频的回播行为进行计数,其中,回播行为是待检测时刻的视频播放行为,遍历多条播放记录,每检测到一次待检测时刻,对视频在待检测时刻的回播行为的次数执行加1操作;获取第三比值,其中,第三比值为回播行为的次数与多条播放记录总和的比值;根据第三比值检测视频在待检测时刻的播放行为。
进一步地,在预设数据库中存储有在预设时间内的对应于多个用户的多条播放记录,在获取视频在待检测时刻的播放次数之后,该方法还包括:判断视频在待检测时刻的播放次数是否大于1;如果视频在待检测时刻的播放次数大于1,对视频的回播行为进行计数,其中,回播行为是待检测时刻的视频播放行为,遍历多条播放记录,如果在某条播放记录中检测到待检测时刻的次数大于1,对该条播放记录对应的视频在待检测时刻的回播行为的次数加1;获取第四比值,其中,第四比值为回播行为的 次数与多条播放记录总和的比值;以及根据第四比值检测视频在待检测时刻的播放行为。
进一步地,该视频播放检测方法还包括:根据第一比值和视频的播放时刻得到第一图表,其中,第一图表的横坐标为视频的播放时刻,第一图表的纵坐标为第一比值;输出第一图表。
进一步地,该视频播放检测方法还包括:根据第二比值和视频的播放时刻得到第二图表,其中,第二图表的横坐标为视频的播放时刻,第二图表的纵坐标为第二比值;输出第二图表。
进一步地,该视频播放检测方法还包括:根据第三比值和视频的播放时刻得到第三图表,其中,第三图表的横坐标为视频的播放时刻,第三图表的纵坐标为第三比值;输出第三图表。
为了实现上述目的,根据本申请的另一方面,提供了一种视频播放检测装置。该视频播放检测装置包括:第一获取模块,用于获取视频在待检测时刻的播放次数;第二获取模块,用于获取视频的退出时刻,其中,退出时刻为结束播放视频的时刻;第一判断模块,用于判断视频在待检测时刻的播放次数是否为零;第二判断模块,用于当视频在待检测时刻的播放次数为零时,判断待检测时刻是否在退出时刻之前;第一检测模块,用于当判断出待检测时刻在退出时刻之前时,确定视频在待检测时刻播放未结束。
进一步地,该视频播放检测装置还包括:第三判断模块,用于判断视频在待检测时刻的前一时刻的播放次数是否为0;第一计数模块,用于当视频在待检测时刻的前一时刻的播放次数不为0时,对视频的跳转行为进行计数,其中,跳转行为是待检测时刻的视频播放行为,遍历多条播放记录,每检测到一次待检测时刻的前一时刻,对视频在待检测时刻的跳转行为的次数执行加1操作;第三获取模块,用于获取第二比值,其中,第二比值为跳转行为的次数与多条播放记录总和的比值;第二检测模块,用于根据第二比值检测视频在待检测时刻的播放行为。
进一步地,该视频播放检测装置还包括:第四判断模块,用于判断视频在待检测时刻的播放次数是否大于1;第二计数模块,用于当视频在待检测时刻的播放次数大于1时,对视频的回播行为进行计数,其中,回播行为是待检测时刻的视频播放行为,遍历多条播放记录,每检测到一次待检测时刻,对视频在待检测时刻的回播行为的次数执行加1操作;第四获取模块,用于获取第三比值,其中,第三比值为回播行为的次数与多条播放记录总和的比值;第三检测模块,用于根据第三比值检测视频在待检测时刻的播放行为。
本申请的视频播放检测方法和装置,通过该视频播放检测方法采用获取视频在待检测时刻的播放次数;获取视频的退出时刻,其中,退出时刻为结束播放视频的时 刻;判断视频在待检测时刻的播放次数是否为零;如果视频在待检测时刻的播放次数为零,判断待检测时刻是否在退出时刻之前;如果待检测时刻在退出时刻之前,则确定视频在待检测时刻播放未结束,解决了相关技术中无法准确分析视频播放行为的问题,该视频播放检测方法通过比较当前时刻和视频的退出时刻的前后关系(也即,时间先后关系),引入视频的离开行为和跳转行为,并且对其进行计数,从而更准确的检测当前时刻的视频播放行为。同时该方法引入了回播行为,当视频在当前时刻的播放次数大于1时,仅对回播行为的计数加1,进而避免了异常循环播放拉高当前时刻播放次数的情形,保证了分析用户对当前时刻视频内容的质量和喜爱程度的准确性。该视频播放检测方法通过引入离开行为,跳转行为以及回播行为增强了对用户观看视频行为的解释力度。
附图说明
构成本申请的一部分的附图用来提供对本申请的进一步理解,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据本申请的视频播放检测方法的第一实施例的流程图;
图2是根据本申请的视频播放检测方法的第二实施例的流程图;
图3是根据本申请的视频播放检测方法的第三实施例的流程图;
图4是根据本申请的视频播放检测装置的第一实施例的示意图;
图5是根据本申请的视频播放检测装置的第二实施例的示意图;以及
图6是根据本申请的视频播放检测装置的第三实施例的示意图。
具体实施方式
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。
为了使本领域的技术人员更好的理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,在本领域普通技术人员没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请的保护范围。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除 了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。
本申请旨在提供一种视频播放检测方法和装置。图1是根据本申请的视频播放检测方法的第一实施例的流程图,如图1所示,该视频播放检测方法包括如下的步骤S101至步骤S105:
步骤S101,获取视频在待检测时刻的播放次数。
用户观看视频时,通过在用户播放视频的视频播放器中嵌入代码获取用户观看该视频的相关信息,其中,上述的视频播放器为软件视频播放器,比如腾讯视频,搜狐视频等。为了研究分析用户对视频(比如一档综艺节目)的观看行为,需要从用户观看视频的相关信息中获取该用户在预设时间内(比如一个小时或者一天等)对该视频的播放记录。播放记录中包含观看该视频的用户的标识,该视频的信息以及该视频每个时刻的播放次数等。获取视频的播放记录可以通过在视频播放器中直接嵌入代码将视频的播放记录返回至服务器,或者可以通过从存储有视频的播放记录的数据库中直接读取在预设时间内的播放记录。
优选地,该实施例的视频播放检测方法中获取视频在待检测时刻的播放次数包括:查找预设数据库中存储的视频的播放记录,其中,在预设数据库中存储有预设时间内的播放记录,播放记录包括在视频各个时刻的播放次数;确定待检测时刻;以及在播放记录中查找待检测时刻对应的播放次数。其中,待检测时刻为该视频的任意时刻。通过该实施例中的视频播放检测方法对该视频的每个时刻进行检测,从检测到的该视频在每个时刻的视频播放行为,统计分析该视频每个时刻的视频内容的质量和用户对该视频每个时刻的视频内容的喜爱程度。该实施例从预设数据库中获取视频的播放记录,相对于通过在视频播放器中嵌入代码获取视频的播放记录减小了系统性能的消耗,可以提高系统运算速度。从预设数据库中筛选出的在预设时间内的视频播放记录有一条或者多于1条,再对该视频的播放记录进行统计分析时需要将播放记录进行排序,排序方式可以按照观看该视频的用户的标识进行升序或者降序,并将排序好的播放记录存入播放记录数据表或者是用于存储排序好的播放记录的数据库中。
步骤S102,获取视频的退出时刻。
视频的退出时刻就是结束播放视频的时刻。播放记录数据表或者用于存储排序好的播放记录的数据库中的每条播放记录都会有一个退出时刻,获取播放记录中视频的退出时刻包括:遍历预设数据库中存储的预设时间内的视频的播放记录,判断在视频各个时刻的播放次数是否为0;获取第一时刻,其中,第一时刻为播放次数为0的时刻;判断在第一时刻之后是否还存在播放次数不为0的时刻;如果在第一时刻之后不存在播放次数不为0的时刻,则第一时刻是退出时刻;如果在第一时刻之后还存在播放次数不为0的时刻,则第一时刻不是退出时刻。该实施例的视频播放检测方法获取 播放记录中视频的退出时刻是为了区分在待检测时刻的视频播放行为。当在待检测时刻上视频的播放次数为0时,通过判断待检测时刻与退出时刻的位置关系(也即,时间先后关系)可以判断在待检测时刻的视频播放行为,当待检测时刻在退出时刻之前时,在待检测时刻该视频播放未结束。通过获取退出时刻可以解决相关技术中当待检测时刻的播放次数为0时无法判断视频是否结束播放的问题,从而达到了准确分析视频播放行为的效果。
步骤S103,判断视频在待检测时刻的播放次数是否为零。
通过判断在待检测时刻的播放次数可以确定视频播放行为。当判断出在待检测时刻的播放次数不为0时,在待检测时刻视频未结束播放。当判断出在待检测时刻的播放次数为0时,在待检测时刻的视频播放行为不能确定,当在待检测时刻的播放次数为0时,该视频可以是已经结束播放的状态,也可以是未结束播放的状态,即用户跳过了待检测时刻的视频内容。因此,该实施例的视频播放检测方法为了确定在待检测时刻的播放次数为0时的视频播放行为,需要进一步判断待检测时刻与退出时刻的位置关系(也即,时间先后关系),需要说明的是,获取播放记录中视频的退出时刻还可以通过以下步骤实现:在预设数据库中分别确定每条视频的播放记录中视频的最后一个不为0的播放次数对应的时刻;以及将视频的最后一个不为0的播放次数对应的时刻的下一个时刻作为视频的退出时刻。
步骤S104,如果视频在待检测时刻的播放次数为零,判断待检测时刻是否在退出时刻之前。
为了准确分析视频播放行为,确定当待检测时刻的播放次数为零时的视频播放行为,该实施例的视频播放检测方法在判断出视频在待检测时刻的播放次数为零之后,判断待检测时刻是否在退出时刻之前。在视频播放的时间轴上,退出时刻可以是视频播放时间轴上的任意时刻,当待检测时刻在退出时刻之前时,待检测时刻上的视频播放次数为0证明待检测时刻上的视频未结束播放,而是用户跳过了待检测时刻的视频内容。当待检测时刻在退出时刻之后时,由于在退出时刻上该视频已经结束播放,所以可以确定在待检测时刻上视频结束播放。该实施例的视频播放检测方法在判断待检测时刻是否为0之后继续判断待检测时刻与退出时刻的位置关系(也即,时间先后关系),克服了播放次数为0代表视频结束播放的技术偏见。
步骤S105,如果待检测时刻在退出时刻之前,则确定视频在待检测时刻播放未结束。
当预设数据库中存储的预设时间内的视频的播放记录多于1条时,获取视频的退出时刻包括获取每条播放记录的退出时刻,并记录每条播放记录中视频的退出时刻。每条播放记录中的退出时刻在视频播放时间轴上的位置不同。在判断出待检测时刻在退出时刻之后时,则视频在待检测时刻播放已经结束;当判断出待检测时刻在退出时 刻之前时,则视频在待检测时刻播放未结束,其中,如果待检测时刻的播放次数为0,则用户跳过了待检测时刻的视频内容,如果待检测时刻的播放次数不为0,则用户观看了待检测时刻的视频内容。该实施例的视频播放检测方法通过引入视频的退出时刻能够准确的分析用户在待检测时刻的播放次数为0时的视频播放行为。
该实施例的视频播放检测方法包括获取视频在待检测时刻的播放次数;获取视频的退出时刻;判断视频在待检测时刻的播放次数是否为零;如果视频在待检测时刻的播放次数为零,判断待检测时刻是否在退出时刻之前;如果待检测时刻在退出时刻之前,则确定视频在待检测时刻播放未结束。该实施例的视频播放检测方法通过获取视频的退出时刻,判断播放次数为0时的待检测时刻与退出时刻的时间顺序,解决了相关技术中无法准确分析视频播放行为的问题,克服了传统技术中认为播放次数为0时视频结束播放的技术偏见。
图2是根据本申请的视频播放检测方法的第二实施例的流程图,图2可以作为图1所示实施例的一种优选实施方式。如图2所示,该视频播放检测方法包括如下的步骤S201至步骤S212:
步骤S201至S202,同上述步骤S101至S102,在此不再赘述。
步骤S203,对视频的结束播放行为进行计数,其中,结束播放行为是退出时刻的视频播放行为,遍历多条播放记录对退出时刻进行检测,每检测到一次退出时刻,对视频在退出时刻的结束播放行为的次数执行加1操作。
结束播放行为是退出时刻的视频播放行为,即在退出时刻该视频结束播放。在预设数据库中存储有预设时间内的对应于多个用户的多条播放记录,每条播放记录中存在一个视频的退出时刻,且多条播放记录中的多个退出时刻可以位于视频播放时间轴上的同一个时刻,也可以分布在视频播放时间轴上的多个不同的时刻。该实施例的视频播放检测方法统计视频播放时间轴上的每个时刻的结束播放行为是通过遍历多条播放记录对退出时刻进行检测,每检测到一次退出时刻,对视频在退出时刻的结束播放行为的次数执行加1操作。通过对结束播放行为进行计数将视频播放行为的分析数据化,以数据或者图表的形式直观地显示出在待检测时刻的视频播放行为。比如,在视频的第一时刻上统计得到结束播放行为的次数为N,可以分析出有N个用户在第一时刻结束观看该视频,进而得到在第一时刻的视频内容质量较低或者在第一时刻的视频内容不能引起用户的观看兴趣。其中,第一时刻为视频播放的任意时刻,N为小于预设数据库中存储有预设时间内的对应于多个用户的多条播放记录的总个数。
步骤S204,获取第一比值,其中,第一比值为结束播放行为的次数与多条播放记录总和的比值。
在统计完视频的结束播放行为的次数之后,获取结束播放行为的次数与多条播放记录总和的比值,即第一比值。该实施例中多条播放记录的总和就是视频在该时刻的 有效播放次数。该实施例的视频播放检测方法获取结束播放行为的相对值,即第一比值,作为衡量视频播放行为的一种重要指标,它能够更加客观的反映视频在每个时刻的质量信息。因为在预设时间内,随着视频播放时间的流逝,观看该视频的用户相继结束观看该视频,使得衡量视频播放行为的绝对数值(比如结束播放行为的次数等)不断下降,因此,使用绝对数值作为衡量视频播放行为的指标无法保证视频前后衡量指标所含信息的一致性。
步骤S205,根据第一比值检测视频在待检测时刻的播放行为。
第一比值为结束播放行为的次数与多条播放记录总和的比值。在获取第一比值之后,根据第一比值和视频的播放时刻得到第一图表,其中,第一图表的横坐标为视频的播放时刻,第一图表的纵坐标为第一比值。将第一比值以第一图表的形式显示输出。通过查看第一图表,统计分析在视频的各个时刻上结束播放行为次数的高低,可以得到在各个时刻视频内容的质量以及用户对各个时刻视频内容的喜爱程度。该实施例的视频播放检测方法统计结束播放行为,并将结束播放行为的相对值以图表的形式进行显示,更加直观地反映了视频每个时刻的视频播放行为,进而便于快速确定各个时刻视频内容的质量以及受喜爱程度。
步骤S206至步骤S208,同上述步骤S103至S105,在此不再赘述。
步骤S209,判断视频在待检测时刻的前一时刻的播放次数是否为0。
当待检测时刻的播放次数为0且待检测时刻在退出时刻之前时,可以确定视频在待检测时刻播放未结束。但是,视频在待检测时刻播放未结束只是能得到在待检测时刻未播放该视频,不能准确的分析出用户未播放该视频的动作是否发生在待检测时刻。该实施例的视频播放检测方法为了进一步分析在待检测时刻的视频播放行为,需要判断视频在待检测时刻的前一时刻的播放次数是否为0。
步骤S210,如果视频在待检测时刻的前一时刻的播放次数不为0,对视频的跳转行为进行计数,其中,跳转行为是待检测时刻的视频播放行为,遍历多条播放记录,每检测到一次待检测时刻的前一时刻,对视频在待检测时刻的跳转行为的次数执行加1操作。
当视频在待检测时刻的前一时刻的播放次数为0时,则可以确定用户未播放该视频的动作不是发生在待检测时刻,此时在待检测时刻的视频播放行为处于跳转状态。对待检测时刻的跳转状态进行计数,通过遍历多条播放记录,每检测到一次上述待检测时刻,即待检测时刻的播放次数为0且待检测时刻的前一时刻的播放次数也为0,对视频在待检测时刻的跳转状态的次数执行加1操作。该实施例的视频播放检测方法还会获取跳转状态次数与多条播放记录个数的比值,并将该比值作为纵坐标,将视频播放的时刻作为横坐标,绘制图表,将视频的每个时刻的跳转状态直观地显示出来。这样有利于直观快速的分析在各个时刻该视频的质量。当视频在待检测时刻的前一时 刻的播放次数不为0时,则可以确定用户未播放该视频的动作发生在待检测时刻。对视频的跳转行为进行计数,其中,跳转行为是待检测时刻的视频播放行为。遍历多条播放记录,每检测到一次待检测时刻的前一时刻,对视频在待检测时刻的跳转行为的次数执行加1操作。统计该视频在每个时刻的跳转行为次数,通过比较视频各个时刻的跳转行为次数,可以分析得到在视频播放时间轴上跳转行为次数高的时刻的视频内容质量低于跳转行为次数低的时刻,或者在跳转行为次数低的时刻的视频内容更受用户喜爱。该实施例的视频播放检测方法引入跳转状态的次数和跳转行为的次数两个衡量指标,相较于仅以视频的播放次数为衡量指标,该实施例的视频播放检测方法增强了分析视频播放行为的解释力度,同时也使得对待检测时刻的视频播放行为的检测更加具体,直观。
步骤S211,获取第二比值,其中,第二比值为跳转行为的次数与多条播放记录总和的比值。
在统计完视频每个时刻的跳转行为的次数之后,获取跳转行为的次数与多条播放记录总和的比值,即第二比值。由于跳转行为发生在退出时刻之前,所以在待检测时刻的有效播放次数就是预设数据库中存储有在预设时间内的对应于多个用户的多条播放记录的个数。该实施例的视频播放检测方法获取第二比值的原因与步骤S204中分析获取结束播放行为的相对值的原因一样,此处不再赘述。
步骤S212,根据第二比值检测视频在待检测时刻的播放行为。
第二比值为跳转行为的次数与多条播放记录总和的比值。在获取第二比值之后,将第二比值作为纵坐标,将视频的播放时刻作为横坐标,制作第二图表,该第二图表用于统计在视频播放的各个时刻上发生跳转行为的概率。第二比值高的时刻对应的跳转行为次数要高于第二比值低的时刻,即用户对第二比值高的时刻的视频内容满意度低。该实施例的视频播放检测方法统计跳转行为次数,并将跳转行为的相对值以图表的形式进行显示,更加直观地反映了视频每个时刻的视频播放行为,进而便于快速确定各个时刻视频内容的质量以及受喜爱程度。
该实施例的视频播放检测方法采用获取视频在待检测时刻的播放次数;获取视频的退出时刻;对视频的结束播放行为进行计数,遍历多条播放记录对退出时刻进行检测,每检测到一次退出时刻,对视频在退出时刻的结束播放行为的次数执行加1操作;获取第一比值;根据第一比值检测视频在待检测时刻的播放行为;判断视频在待检测时刻的播放次数是否为零;如果视频在待检测时刻的播放次数为零,判断待检测时刻是否在退出时刻之前;以及如果待检测时刻在退出时刻之前,则确定视频在待检测时刻播放未结束;判断视频在待检测时刻的前一时刻的播放次数是否为0;如果视频在待检测时刻的前一时刻的播放次数不为0,对视频的跳转行为进行计数,遍历多条播放记录,每检测到一次待检测时刻的前一时刻,对视频在待检测时刻的跳转行为的次数执行加1操作;获取第二比值;根据第二比值检测视频在待检测时刻的播放 行为。该实施例的视频播放检测方法通过对待检测时刻的结束播放行为,跳转状态以及跳转行为进行计数,获取结束播放行为,跳转状态以及跳转行为的相对值作为衡量视频质量和用户喜爱程度的指标,并将这些指标以图表的形式显示出来,解决了相关技术中无法准确分析视频播放行为的问题,进而达到了便于直观分析各个时刻视频内容的质量和受喜爱程度的效果。
图3是根据本申请的视频播放检测方法的第三实施例的流程图,图3可以作为图1所示实施例的一种优选实施方式。如图3所示,该视频播放检测方法包括如下的步骤S301至步骤S309:
步骤S301,同上述步骤S101,在此不再赘述。
步骤S302,判断视频在待检测时刻的播放次数是否大于1。
待检测时刻为视频播放过程中的任意时刻。在待检测时刻的播放次数可以为0,可以为1,也可以大于1。当待检测时刻的播放次数为0时,在待检测时刻的视频播放行为是结束播放行为,跳转状态或者跳转行为。当待检测时刻的播放次数为1时,在待检测时刻的视频播放行为是实际播放行为。当待检测时刻的播放次数大于1时,在待检测时刻的视频播放行为是回播行为,其中,回播行为是播放次数大于1的时刻的视频播放行为,回播行为用于对发生回播行为的时刻的视频内容进行重复播放大于1次。为了准确检测在待检测时刻的视频播放行为,在获取在待检测时刻的播放次数之后,首先判断视频在待检测时刻的播放次数是否大于1,判断在待检测时刻的视频播放行为是否是回播行为。该实施例的视频播放检测方法通过增加判断待检测时刻的播放次数是否大于1,保证了对待检测时刻的视频播放行为判断分析的完整性和准确性。
步骤S303,如果视频在待检测时刻的播放次数大于1,对视频的回播行为进行计数,其中,回播行为是待检测时刻的视频播放行为,遍历多条播放记录,每检测到一次待检测时刻,对视频在待检测时刻的回播行为的次数执行加1操作。
当判断出在待检测时刻的播放次数小于1时,包含两种情况,第一种情况是当待检测时刻的播放次数为1时,在待检测时刻的视频播放行为是实际播放行为,在待检测时刻视频被正常播放。第二种情况是当待检测时刻的播放次数为0,对待检测时刻的视频播放行为的检测方法已经在本申请的视频播放检测方法的第一实施例中分析过了,此处不再赘述。当判断出在待检测时刻的播放次数大于1时,在待检测时刻发生的视频播放行为为回播行为,此时对视频的回播行为进行计数。通过遍历多条播放记录,每检测到一次待检测时刻,对视频在待检测时刻的回播行为的次数执行加1操作。该实施例的视频播放检测方法统计视频每个时刻的回播行为的次数是为了分析在视频的各个时刻视频内容的受喜爱程度。
步骤S304,获取第三比值,其中,第三比值为回播行为的次数与多条播放记录 总和的比值。
在统计完视频每个时刻的回播行为的次数之后,获取回播行为的次数与多条播放记录总和的比值,即第三比值。由于回播行为发生在退出时刻之前,所以在待检测时刻的有效播放次数就是预设数据库中存储有在预设时间内的对应于多个用户的多条播放记录的个数。该实施例的视频播放检测方法获取第三比值的原因与步骤S204中分析获取结束播放行为的相对值的原因一样,此处不再赘述。
步骤S305,根据第三比值检测视频在待检测时刻的播放行为。
第三比值为回播行为的次数与多条播放记录总和的比值。在获取第三比值之后,根据第三比值和视频的播放时刻得到第三图表,其中,第三图表的横坐标为视频的播放时刻,第三图表的纵坐标为第三比值;输出第三图表。该第三图表用于统计在视频播放的各个时刻上发生回播行为的概率。第三比值高的时刻对应的回播行为次数要高于第三比值低的时刻,即在第三比值高的时刻的视频内容比较受用户喜爱。该实施例的视频播放检测方法引入回播行为作为衡量待检测时刻视频内容质量的指标,并将回播行为的相对值以图表的形式进行显示,直观地反映了视频每个时刻的视频内容的质量以及受喜爱程度。该实施例的视频播放检测方法采用即时待检测时刻的播放次数大于1时仅对回播行为的次数执行加1操作,从而避免了异常循环播放导致视频播放行为分析不准确的情形。
步骤S306至S309,同上述步骤S102至S105,在此不再赘述。
该实施例的视频播放检测方法采用获取视频在待检测时刻的播放次数;判断视频在待检测时刻的播放次数是否大于1;如果视频在待检测时刻的播放次数大于1,对视频的回播行为进行计数,遍历多条播放记录,每检测到一次待检测时刻,对视频在待检测时刻的回播行为的次数执行加1操作;获取第三比值;根据第三比值检测视频在待检测时刻的播放行为;获取视频的退出时刻;判断视频在待检测时刻的播放次数是否为零;如果视频在待检测时刻的播放次数为零,判断待检测时刻是否在退出时刻之前;如果待检测时刻在退出时刻之前,则确定视频在待检测时刻播放未结束。通过该实施例的视频播放检测方法,解决了相关技术中无法准确分析视频播放行为的问题。同时该实施例的视频播放检测方法引入了回播行为,当视频在当前时刻的播放次数大于1时,仅对回播行为的计数加1,进而避免了异常循环播放拉高当前时刻播放次数的情形,保证了分析用户对当前时刻视频内容的质量和喜爱程度的准确性。
可选地,在预设数据库中存储有在预设时间内的对应于多个用户的多条播放记录,在获取视频在待检测时刻的播放次数之后,该方法还包括:判断视频在待检测时刻的播放次数是否大于1;如果视频在待检测时刻的播放次数大于1,对视频的回播行为进行计数,其中,回播行为是待检测时刻的视频播放行为,遍历多条播放记录,如果在某条播放记录中检测到待检测时刻的次数大于1,对该条播放记录对应的视频 在待检测时刻的回播行为的次数加1;获取第四比值,其中,第四比值为回播行为的次数与多条播放记录总和的比值;以及根据第四比值检测视频在待检测时刻的播放行为。
通过以上技术方案,对同一播放记录中超过1次的回播次数只进行1次计数,解决了相关技术中无法准确分析视频播放行为的问题,同时该实施例的视频播放检测方法引入了回播行为,当视频在当前时刻的播放次数大于1时,对回播行为的计数加1,进而避免了异常循环播放拉高当前时刻播放次数的情形,保证了分析用户对当前时刻视频内容的质量和喜爱程度的准确性。
从以上的描述中,可以看出,本申请实施例提供的视频播放检测方法通过判断待检测时刻的播放次数检测视频播放行为,引入结束播放行为,跳转行为,回播行为衡量指标,并对其次数进行统计,分析这些指标的相对值获知在各个时刻视频内容的质量和受喜爱程度。通过本申请实施例的视频播放检测方法解决了相关技术中无法准确分析视频播放行为的问题,达到了快速准确检测视频播放行为的效果。
需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
本申请实施例还提供了一种视频播放检测装置。需要说明的是,该视频播放检测装置可以用于执行本申请实施例的视频播放检测方法。以下对本申请实施例提供的视频播放检测装置进行介绍。
图4是根据本申请的视频播放检测装置的第一实施例的示意图。如图4所示,该视频播放检测装置包括:第一获取模块10、第二获取模块20、第一判断模块30、第二判断模块40和第一检测模块50。
第一获取模块10,用于获取视频在待检测时刻的播放次数。
具体地,第一获取模块10包括:第一查找模块,用于查找预设数据库中存储的视频的播放记录,其中,在预设数据库中存储有预设时间内的播放记录,播放记录包括在视频各个时刻的播放次数;确定模块,用于确定待检测时刻;第二查找模块,用于在播放记录中查找待检测时刻对应的播放次数。
第二获取模块20,用于获取视频的退出时刻,其中,退出时刻为结束播放视频的时刻。
具体地,第二获取模块20包括:遍历模块,用于遍历预设数据库中存储的预设时间内的视频的播放记录,判断在视频各个时刻的播放次数是否为0;第一获取子模块,用于获取第一时刻,其中,第一时刻为播放次数为0的时刻;第一判断子模块,用于判断在第一时刻之后是否还存在播放次数不为0的时刻,其中,当在第一时刻之 后不存在播放次数不为0的时刻时,则第一时刻是退出时刻;当在第一时刻之后还存在播放次数不为0的时刻时,则第一时刻不是退出时刻。
第一判断模块30,用于判断视频在待检测时刻的播放次数是否为零。
第二判断模块40,用于当视频在待检测时刻的播放次数为零时,判断待检测时刻是否在退出时刻之前。
第一检测模块50,用于当判断出待检测时刻在退出时刻之前时,确定视频在待检测时刻播放未结束。
该实施例的视频播放检测装置包括:第一获取模块10,第二获取模块20,第一判断模块30,第二判断模块40和第一检测模块50。通过该视频播放检测装置,解决了相关技术中无法准确分析视频播放行为的问题。
图5是根据本申请的视频播放检测装置的第二实施例的示意图,图5可以作为图4所示实施例的一种优选实施方式。如图5所示,该视频播放检测装置包括:第一获取模块10、第二获取模块20、第一判断模块30、第二判断模块40、第一检测模块50、第三判断模块60、第一计数模块70、第三获取模块80和第二检测模块90。
第一获取模块10、第二获取模块20、第一判断模块30、第二判断模块40和第一检测模块50的作用与上述实施例中作用相同,在此不再赘述。
第三判断模块60,用于判断视频在待检测时刻的前一时刻的播放次数是否为0。
第一计数模块70,用于当视频在待检测时刻的前一时刻的播放次数不为0时,对视频的跳转行为进行计数,其中,跳转行为是待检测时刻的视频播放行为,遍历多条播放记录,每检测到一次待检测时刻的前一时刻,对视频在待检测时刻的跳转行为的次数执行加1操作。
第三获取模块80,用于获取第二比值,其中,第二比值为跳转行为的次数与多条播放记录总和的比值。
第二检测模块90,用于根据第二比值检测视频在待检测时刻的播放行为。
该实施例的视频播放检测装置包括:第一获取模块10,第二获取模块20,第一判断模块30,第二判断模块40和第一检测模块50,第三判断模块60,第一计数模块70,第三获取模80块和第二检测模块90。通过该视频播放检测装置,解决了相关技术中无法准确分析视频播放行为的问题。同时,该视频播放检测装置通过引入跳转行为,并对跳转行为进行计数,将跳转行为的相对值以图表的形式显示输出,从而能够快速准确地分析待检测时刻视频内容的质量和受喜爱程度。
图6是根据本申请的视频播放检测装置的第三实施例的示意图,图6可以作为图1所示实施例的一种优选实施方式。如图6所示,该视频播放检测装置包括:第一获 取模块10、第二获取模块20、第一判断模块30、第二判断模块40、第一检测模块50,第四判断模块110、第二计数模块120、第四获取模块130和第三检测模块140。
第一获取模块10、第二获取模块20、第一判断模块30、第二判断模块40和第一检测模块50的作用与上述实施例中作用相同,在此不再赘述。
第四判断模块110,用于判断视频在待检测时刻的播放次数是否大于1。
第二计数模块120,用于当视频在待检测时刻的播放次数大于1时,对视频的回播行为进行计数,其中,回播行为是待检测时刻的视频播放行为,遍历多条播放记录,每检测到一次待检测时刻,对视频在待检测时刻的回播行为的次数执行加1操作。
第四获取模块130,用于获取第三比值,其中,第三比值为回播行为的次数与多条播放记录总和的比值。
第三检测模块140,用于根据第三比值检测视频在待检测时刻的播放行为。
该实施例的视频播放检测装置包括:第一获取模块10,第二获取模块20,第一判断模块30,第二判断模块40和第一检测模块50,第四判断模块110,第二计数模块120,第四获取模块130和第三检测模块140。通过该视频播放检测装置,解决了相关技术中无法准确分析视频播放行为的问题。同时,该视频播放检测装置通过引入回播行为,并对回播行为进行计数,将回播行为的相对值以图表的形式显示输出,从而能够避免异常循环播放拉高播放次数的情形,提高了分析待检测时刻视频内容的质量和受喜爱程度的准确性。
所述视频播放检测装置包括处理器和存储器,上述第一获取模块、第二获取模块、第一判断模块、第二判断模块、第一检测模块,第四判断模块、第二计数模块、第四获取模块和第三检测模块等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元实现相应功能。
处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数检测视频播放行为。
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。
本申请还提供了一种计算机程序产品的实施例,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序代码:获取视频在待检测时刻的播放次数;获取视频的退出时刻,其中,退出时刻为结束播放视频的时刻;判断视频在待检测时刻的播放次数是否为零;如果视频在待检测时刻的播放次数为零,判断待检测时刻是否在退出时刻之前;如果待检测时刻在退出时刻之前,则确定视频在待检测时刻播放未结 束。
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (13)

  1. 一种视频播放检测方法,其特征在于,包括:
    获取视频在待检测时刻的播放次数;
    获取所述视频的退出时刻,其中,所述退出时刻为结束播放所述视频的时刻;
    判断所述视频在所述待检测时刻的播放次数是否为零;
    如果所述视频在所述待检测时刻的播放次数为零,判断所述待检测时刻是否在所述退出时刻之前;以及
    如果所述待检测时刻在所述退出时刻之前,则确定所述视频在所述待检测时刻播放未结束。
  2. 根据权利要求1所述的视频播放检测方法,其特征在于,获取视频在待检测时刻的播放次数包括:
    查找预设数据库中存储的所述视频的播放记录,其中,在所述预设数据库中存储有预设时间内的播放记录,所述播放记录包括在所述视频各个时刻的播放次数;
    确定所述待检测时刻;以及
    在所述播放记录中查找所述待检测时刻对应的播放次数。
  3. 根据权利要求2所述的视频播放检测方法,其特征在于,获取所述视频的退出时刻包括:
    遍历所述预设数据库中存储的所述预设时间内的所述视频的播放记录,判断在所述视频各个时刻的播放次数是否为0;
    获取第一时刻,其中,所述第一时刻为播放次数为0的时刻;
    判断在所述第一时刻之后是否还存在播放次数不为0的时刻;
    如果在所述第一时刻之后不存在播放次数不为0的时刻,则所述第一时刻是所述退出时刻;以及
    如果在所述第一时刻之后还存在播放次数不为0的时刻,则所述第一时刻不是所述退出时刻。
  4. 根据权利要求3所述的视频播放检测方法,其特征在于,在所述预设数据库中存储有在所述预设时间内的对应于多个用户的多条播放记录,在判断出在所述播放次数为0的时刻之后不存在其他播放次数不为0的时刻之后,所述方法还包括:
    对所述视频的结束播放行为进行计数,其中,所述结束播放行为是所述退出时刻的视频播放行为,遍历所述多条播放记录对所述退出时刻进行检测,每检测到一次所述退出时刻,对所述视频在所述退出时刻的结束播放行为的次数执行加1操作;
    获取第一比值,其中,所述第一比值为所述结束播放行为的次数与所述多条播放记录总和的比值;以及
    根据所述第一比值检测所述视频在所述待检测时刻的播放行为。
  5. 根据权利要求2所述的视频播放检测方法,其特征在于,在所述预设数据库中存储有在所述预设时间内的对应于多个用户的多条播放记录,在如果所述待检测时刻早于所述退出时刻,则确定所述视频在所述待检测时刻播放未结束之后,所述方法还包括:
    判断所述视频在所述待检测时刻的前一时刻的播放次数是否为0;
    如果所述视频在所述待检测时刻的前一时刻的播放次数不为0,对所述视频的跳转行为进行计数,其中,所述跳转行为是所述待检测时刻的视频播放行为,遍历所述多条播放记录,每检测到一次所述待检测时刻的前一时刻,对所述视频在所述待检测时刻的跳转行为的次数执行加1操作;
    获取第二比值,其中,所述第二比值为所述跳转行为的次数与所述多条播放记录总和的比值;以及
    根据所述第二比值检测所述视频在所述待检测时刻的播放行为。
  6. 根据权利要求2所述的视频播放检测方法,其特征在于,在所述预设数据库中存储有在所述预设时间内的对应于多个用户的多条播放记录,在获取视频在待检测时刻的播放次数之后,所述方法还包括:
    判断所述视频在所述待检测时刻的播放次数是否大于1;
    如果所述视频在所述待检测时刻的播放次数大于1,对所述视频的回播行为进行计数,其中,所述回播行为是所述待检测时刻的视频播放行为,遍历所述多条播放记录,每检测到一次所述待检测时刻,对所述视频在所述待检测时刻的回播行为的次数执行加1操作;
    获取第三比值,其中,所述第三比值为所述回播行为的次数与所述多条播放记录总和的比值;以及
    根据所述第三比值检测所述视频在所述待检测时刻的播放行为。
  7. 根据权利要求2所述的视频播放检测方法,其特征在于,在所述预设数据库中存储有在所述预设时间内的对应于多个用户的多条播放记录,在获取视频在待检测时刻的播放次数之后,所述方法还包括:
    判断所述视频在所述待检测时刻的播放次数是否大于1;
    如果所述视频在所述待检测时刻的播放次数大于1,对所述视频的回播行为进行计数,其中,所述回播行为是所述待检测时刻的视频播放行为,遍历所述多条播放记录,如果在某条播放记录中检测到所述待检测时刻的次数大于1,对该条播放记录对应的视频在所述待检测时刻的回播行为的次数加1;
    获取第四比值,其中,所述第四比值为所述回播行为的次数与所述多条播放记录总和的比值;以及
    根据所述第四比值检测所述视频在所述待检测时刻的播放行为。
  8. 根据权利要求4所述的视频播放检测方法,其特征在于,所述方法还包括:
    根据所述第一比值和所述视频的播放时刻得到第一图表,其中,所述第一图表的横坐标为所述视频的播放时刻,所述第一图表的纵坐标为所述第一比值;以及
    输出所述第一图表。
  9. 根据权利要求5所述的视频播放检测方法,其特征在于,所述方法还包括:
    根据所述第二比值和所述视频的播放时刻得到第二图表,其中,所述第二图表的横坐标为所述视频的播放时刻,所述第二图表的纵坐标为所述第二比值;以及
    输出所述第二图表。
  10. 根据权利要求6所述的视频播放检测方法,其特征在于,所述方法还包括:
    根据所述第三比值和所述视频的播放时刻得到第三图表,其中,所述第三图表的横坐标为所述视频的播放时刻,所述第三图表的纵坐标为所述第三比值;以及
    输出所述第三图表。
  11. 一种视频播放检测装置,其特征在于,包括:
    第一获取模块,用于获取视频在待检测时刻的播放次数;
    第二获取模块,用于获取所述视频的退出时刻,其中,所述退出时刻为结束播放所述视频的时刻;
    第一判断模块,用于判断所述视频在所述待检测时刻的播放次数是否为零;
    第二判断模块,用于当所述视频在所述待检测时刻的播放次数为零时,判断所述待检测时刻是否在所述退出时刻之前;以及
    第一检测模块,用于当判断出所述待检测时刻在所述退出时刻之前时,确定所述视频在所述待检测时刻播放未结束。
  12. 根据权利要求11所述的视频播放检测装置,其特征在于,所述装置还包括:
    第三判断模块,用于判断所述视频在所述待检测时刻的前一时刻的播放次数是否为0;
    第一计数模块,用于当所述视频在所述待检测时刻的前一时刻的播放次数不为0时,对所述视频的跳转行为进行计数,其中,所述跳转行为是所述待检测时刻的视频播放行为,遍历多条播放记录,每检测到一次所述待检测时刻的前一时刻,对所述视频在所述待检测时刻的跳转行为的次数执行加1操作;
    第三获取模块,用于获取第二比值,其中,所述第二比值为所述跳转行为的次数与所述多条播放记录总和的比值;以及
    第二检测模块,用于根据所述第二比值检测所述视频在所述待检测时刻的播放行为。
  13. 根据权利要求11所述的视频播放检测装置,其特征在于,所述装置还包括:
    第四判断模块,用于判断所述视频在所述待检测时刻的播放次数是否大于1;
    第二计数模块,用于当所述视频在所述待检测时刻的播放次数大于1时,对所述视频的回播行为进行计数,其中,所述回播行为是所述待检测时刻的视频播放行为,遍历多条播放记录,每检测到一次所述待检测时刻,对所述视频在所述待检测时刻的回播行为的次数执行加1操作;
    第四获取模块,用于获取第三比值,其中,所述第三比值为所述回播行为的次数与所述多条播放记录总和的比值;以及
    第三检测模块,用于根据所述第三比值检测所述视频在所述待检测时刻的播放行为。
PCT/CN2015/092032 2014-10-20 2015-10-15 视频播放检测方法和装置 WO2016062220A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/519,776 US10104428B2 (en) 2014-10-20 2015-10-15 Video playing detection method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410559610.5A CN104270674B (zh) 2014-10-20 2014-10-20 视频播放检测方法和装置
CN201410559610.5 2014-10-20

Publications (1)

Publication Number Publication Date
WO2016062220A1 true WO2016062220A1 (zh) 2016-04-28

Family

ID=52162151

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/092032 WO2016062220A1 (zh) 2014-10-20 2015-10-15 视频播放检测方法和装置

Country Status (3)

Country Link
US (1) US10104428B2 (zh)
CN (1) CN104270674B (zh)
WO (1) WO2016062220A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270674B (zh) * 2014-10-20 2018-04-06 北京国双科技有限公司 视频播放检测方法和装置
CN108736998B (zh) * 2017-04-13 2020-02-18 中国移动通信有限公司研究院 一种节目播放方法、装置及终端
CN109936755A (zh) * 2017-12-15 2019-06-25 优酷信息技术(北京)有限公司 视频的用户观看行为的分析方法及装置
CN109936754A (zh) * 2017-12-15 2019-06-25 优酷信息技术(北京)有限公司 视频的用户观看行为的分析方法及装置
CN108521582B (zh) * 2018-05-02 2020-04-10 中广热点云科技有限公司 一种基于区块链技术的版权视频全网收视纪录系统
CN108882056B (zh) * 2018-07-18 2020-09-29 深圳市茁壮网络股份有限公司 流媒体播放状态检测方法及装置
CN113259724B (zh) * 2021-06-25 2021-10-12 大学长(北京)网络教育科技有限公司 一种网课内容的检测方法及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030212993A1 (en) * 2002-05-07 2003-11-13 Pere Obrador System and method for efficiently managing video files
CN101079975A (zh) * 2007-06-06 2007-11-28 康佳集团股份有限公司 一种记录用户操作的电视机及其实现方法
CN101783915A (zh) * 2010-03-19 2010-07-21 北京国双科技有限公司 一种实现视频量化的方法
CN102929938A (zh) * 2012-09-28 2013-02-13 北京奇艺世纪科技有限公司 一种可播放型网络资源的排序方法及装置
CN103501434A (zh) * 2013-09-17 2014-01-08 北京奇艺世纪科技有限公司 一种视频的质量分析方法及装置
CN104270674A (zh) * 2014-10-20 2015-01-07 北京国双科技有限公司 视频播放检测方法和装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6184918B1 (en) * 1997-09-30 2001-02-06 Intel Corporation Method and apparatus for monitoring viewing of broadcast data
JP3836030B2 (ja) * 2002-01-30 2006-10-18 富士通株式会社 ストリーミング配信コンテンツの視聴状況指標算出方法及びシステム
JP4359810B2 (ja) * 2002-10-01 2009-11-11 ソニー株式会社 ユーザ端末、データ処理方法、およびプログラム、並びにデータ処理システム
CN101345853B (zh) * 2008-08-07 2010-07-14 深圳市迅雷网络技术有限公司 一种获取视频资源截取时间点的方法及系统
US7603682B1 (en) * 2008-10-07 2009-10-13 International Business Machines Corporation Digest video browsing based on collaborative information
JP2010114723A (ja) * 2008-11-07 2010-05-20 Brother Ind Ltd 再生情報出力装置、再生情報出力方法、及び再生情報出力処理プログラム
US9008489B2 (en) * 2012-02-17 2015-04-14 Kddi Corporation Keyword-tagging of scenes of interest within video content
US9191687B2 (en) * 2012-04-06 2015-11-17 Apple Inc. Content package modification based on performance data
CN102833622A (zh) * 2012-09-19 2012-12-19 北京国双科技有限公司 视频文件播放次数的探测方法和装置
CN103442270B (zh) * 2013-09-17 2017-10-27 北京奇艺世纪科技有限公司 一种采集用户的收视数据的方法及装置
CN103686238B (zh) * 2013-12-02 2017-10-27 北京国双科技有限公司 视频播放检测方法和装置
CN103747331B (zh) * 2013-12-23 2018-08-10 乐视致新电子科技(天津)有限公司 一种观看视频时的交互方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030212993A1 (en) * 2002-05-07 2003-11-13 Pere Obrador System and method for efficiently managing video files
CN101079975A (zh) * 2007-06-06 2007-11-28 康佳集团股份有限公司 一种记录用户操作的电视机及其实现方法
CN101783915A (zh) * 2010-03-19 2010-07-21 北京国双科技有限公司 一种实现视频量化的方法
CN102929938A (zh) * 2012-09-28 2013-02-13 北京奇艺世纪科技有限公司 一种可播放型网络资源的排序方法及装置
CN103501434A (zh) * 2013-09-17 2014-01-08 北京奇艺世纪科技有限公司 一种视频的质量分析方法及装置
CN104270674A (zh) * 2014-10-20 2015-01-07 北京国双科技有限公司 视频播放检测方法和装置

Also Published As

Publication number Publication date
US10104428B2 (en) 2018-10-16
CN104270674B (zh) 2018-04-06
CN104270674A (zh) 2015-01-07
US20170245010A1 (en) 2017-08-24

Similar Documents

Publication Publication Date Title
WO2016062220A1 (zh) 视频播放检测方法和装置
US11783585B2 (en) Detection of demarcating segments in video
CN110475155B (zh) 直播视频热度状态识别方法、装置、设备及可读介质
JP2021168940A5 (zh)
CN110290419B (zh) 视频播放方法、装置及电子设备
CN110941738B (zh) 推荐方法、装置、电子设备及计算机可读存储介质
CN110012302A (zh) 一种网络直播监测方法及装置、数据处理方法
CN105718861B (zh) 一种识别视频流数据类别的方法及装置
CN110019954A (zh) 一种作弊用户的识别方法及系统
CN110047513B (zh) 一种视频监测方法、装置、电子设备和存储介质
WO2019165697A1 (zh) 刷人气用户的识别方法、装置、终端设备及储存介质
US9300997B2 (en) Consumption likelihood of linear content streams
TWI629899B (zh) Method and device for evaluating quality of multimedia resources
CN106911927B (zh) 评估网络视频用户体验质量的方法、装置和dpi设备
CN109697247B (zh) 一种数据准确性的检测方法及装置
CN103442270B (zh) 一种采集用户的收视数据的方法及装置
EP3324326B1 (fr) Procédé et système de détection de vulnérabilité d'un dispositif embarqué
CN110769285B (zh) 一种播放资源的播放量估测方法及播放量估测装置
CN110557660B (zh) 一种直播视频处理方法及装置
CN114650239A (zh) 一种数据的刷量识别方法、存储介质和电子设备
CN104469495A (zh) 用于视频播放的点击行为监测方法和装置
CN111314792B (zh) 一种笔记生成方法、电子设备及存储介质
Mathews et al. SMERC: Social media event response clustering using textual and temporal information
Loures et al. StinkyCheese: Chat-Based Model for Subscription Classification.
CN115002517B (zh) 一种视频学习时长防盗刷方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15853088

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15519776

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 03/08/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15853088

Country of ref document: EP

Kind code of ref document: A1