Method and device for analyzing video preference of user according to plot granularity
By analyzing the heartbeat information of the terminal during video playback, sharing the video playback time to the time period, calculating the per capita playback time, solving the problem that users' video viewing preferences in the prior art are difficult to accurately determine, and improving the accuracy of content creation.
Patent Information
- Application Number
- CN202410929198.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-07-11
AI Technical Summary
The prior art is difficult to accurately determine the user's video viewing preferences in content creation, especially the impact of specific plot points, resulting in insufficient review of content creation.
By obtaining the heartbeat information of the terminal when playing videos, the video playback time is allocated to the corresponding period, the actual playback time and per capita playback time of each period are calculated, reflecting the user's preference for the plot.
It improves the accuracy of content creators' preference for plot points, and can review and optimize content creation more accurately.
Smart Images

Figure CN118890515A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of video technology, and in particular to a method and device for analyzing user video preferences according to plot point granularity. Background Art
[0002] With the development of video technology, it is now possible to automatically determine user preferences through comprehensive analysis of massive amounts of video viewing data, extract exciting content, and generate the most popular "highlights" video. Users can choose to watch the full video or the highlights when they enter the video playback page. The above technology can only reflect the video clips that are more popular with users. Compared to the content creators of the video, this can only determine user preferences within a wide range. There is no way to determine which specific plot points affect users' viewing or abandonment of the show, and content creation cannot be accurately reviewed. Summary of the invention
[0003] In order to solve the above technical problem or at least partially solve the above technical problem, the present application provides a method and device for analyzing user video preferences according to plot point granularity.
[0004] In a first aspect, the present application provides a method for analyzing user video preferences according to plot point granularity, the method comprising:
[0005] Acquire heartbeat information delivered by the terminal when playing the target video, wherein the heartbeat information is used to indicate the plot point preference reflected by the user behavior;
[0006] After the target video is played, the video playing time of the target video is apportioned to corresponding time periods according to the heartbeat information to obtain the actual playing time of the target video in each time period, wherein the video playing time is divided into m consecutive time periods;
[0007] Determine the duration and value of actual playback duration of multiple terminals in the nth time period, and the number of terminals in the nth time period, wherein each terminal represents a user id, 0≤n≤m;
[0008] The average playing time per person in the nth time period is determined according to the quotient between the duration sum and the number of terminals, wherein the average playing time per person is used to indicate the user's preference for the video plot in the nth time period.
[0009] Optionally, allocating the video playback duration of the target video to corresponding time periods according to the heartbeat information to obtain the actual playback duration of the target video in each time period includes:
[0010] Obtain video playback information reported by each heartbeat in the heartbeat information;
[0011] By analyzing the video playback information, determining the starting position and ending position of the progress bar and the video playback speed at each heartbeat report;
[0012] If the designated position range corresponding to the target time period contains a progress bar, then the single playback duration of each time the target video is played in the target time period is determined according to the starting position, the ending position and the video playback speed of the progress bar;
[0013] The actual playback duration of the target time period is determined according to at least one single playback duration in the target time period.
[0014] Optionally, determining the single playback duration of each time the target video is played in the target time period according to the start position, end position and video playback speed of the progress bar includes:
[0015] Obtaining an initial playback duration according to a difference between a time corresponding to the end position of the progress bar and a time corresponding to the start position, wherein the time is the playback time indicated by the progress bar in the target video;
[0016] The single playback duration of each time the target video is played in the target time period is determined according to the quotient of the initial playback duration and the video playback speed.
[0017] Optionally, determining the actual playback duration of the target time period according to at least one single playback duration in the target time period includes:
[0018] If the video in the target time period is played only once within the set duration, the single playback duration is used as the actual playback duration of the target time period;
[0019] If the video in the target time period is played multiple times within the set duration, the actual playback duration of the target time period is determined according to the sum of the multiple single playback durations.
[0020] Optionally, the conditions for heartbeat reporting include: reaching a heartbeat sending cycle, playback pause, user exiting playback, video playback ending, switching playback speed, and advertisement starting and ending.
[0021] Optionally, after obtaining the video playback information reported by each heartbeat in the heartbeat information, the method further includes:
[0022] If the video playing information is advertisement playing, video pausing and progress bar dragging, it is determined that the current position of the progress bar remains unchanged.
[0023] Optionally, after determining the average playing time per person in the nth time period, the method further includes:
[0024] Set multiple time periods arranged in the order of playback as the horizontal axis, and the average playback time per person in each time period as the vertical axis;
[0025] A curve graph is generated based on the abscissa and the ordinate.
[0026] In a second aspect, the present application provides a device for analyzing user video preferences according to plot point granularity, the device comprising:
[0027] An acquisition module, used to acquire heartbeat information delivered by a terminal when playing a target video, wherein the heartbeat information is used to indicate a plot point preference reflected by a user behavior;
[0028] An allocating module is used to allocate the video playing time of the target video to corresponding time periods according to the heartbeat information after the target video is played, so as to obtain the actual playing time of the target video in each time period, wherein the video playing time is divided into m consecutive time periods;
[0029] A first determination module is used to determine the duration and value of the actual playback duration of multiple terminals in the nth time period, and the number of terminals in the nth time period, wherein each terminal represents a user id, 0≤n≤m;
[0030] The second determination module is used to determine the average playing time per person in the nth time period according to the quotient between the duration sum value and the number of terminals, wherein the average playing time per person is used to indicate the user's preference for the video plot in the nth time period.
[0031] In a third aspect, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0032] Memory, used to store computer programs;
[0033] The processor is used to implement any of the steps of the method for analyzing user video preferences according to plot node granularity when executing the program stored in the memory.
[0034] In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any of the steps of the method for analyzing user video preferences according to plot node granularity is implemented.
[0035] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0036] The server allocates the video playback time to the corresponding time periods according to the heartbeat information reported by the terminals, and obtains the actual playback time of the video in each time period. For a certain time period, the quotient of the sum of the actual playback times of multiple terminals and the number of terminals is taken as the average playback time per person. The heartbeat information reflects the user's preference for plot points. The actual playback time after allocation reflects the user's preference for plot points in the time period. Based on the average playback time, a unified dimension reflecting the user's preference for plot points is given. Compared with long video clips, this application allows content creators to review according to the granularity of plot points, thereby improving the accuracy of content review. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0039] Figure 1 A schematic diagram of the hardware environment of a method for analyzing user video preferences according to plot point granularity provided in an embodiment of the present application;
[0040] Figure 2 A flowchart of a method for analyzing user video preferences according to plot point granularity provided in an embodiment of the present application;
[0041] Figure 3 A schematic diagram of user behavior and preference expression provided in an embodiment of the present application;
[0042] Figure 4 A flowchart for determining the actual playback duration of each time period provided in an embodiment of the present application;
[0043] Figure 5 A schematic diagram of user playback behavior provided in an embodiment of the present application;
[0044] Figure 6 A schematic diagram of heartbeat reporting provided in an embodiment of the present application;
[0045] Figure 7 A schematic diagram of time granularity allocation provided in an embodiment of the present application;
[0046] Figure 8 A curve chart of average playback time per person provided in an embodiment of the present application;
[0047] Fig. 9A schematic diagram of the structure of a device for analyzing user video preferences according to plot point granularity provided in an embodiment of the present application;
[0048] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0050] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application and have no specific meaning. Therefore, "module" and "component" can be used interchangeably.
[0051] In order to solve the problem mentioned in the background technology, according to one aspect of an embodiment of the present application, an embodiment of a method for analyzing user video preferences according to plot point granularity is provided.
[0052] Optionally, in the embodiment of the present application, the above method for analyzing user video preferences according to plot point granularity can be applied to: Figure 1 In the hardware environment composed of the terminal 101 and the server 103 shown in FIG. Figure 1 As shown, the server 103 is connected to the terminal 101 via a network, and can be used to provide services for the terminal or a client installed on the terminal. A database 105 can be set on the server or independently of the server to provide data storage services for the server 103. The above-mentioned network includes but is not limited to: a wide area network, a metropolitan area network or a local area network, and the terminal 101 includes but is not limited to a PC, a mobile phone, a tablet computer, etc.
[0053] In the following, a method for analyzing user video preferences according to plot point granularity provided by the embodiment of the present application will be described in detail by taking application to the server 103 as an example in combination with a specific implementation manner. Figure 2 As shown, the specific steps are as follows:
[0054] Step 201: Acquire the heartbeat information delivered by the terminal when playing the target video, where the heartbeat information is used to indicate the plot point preference reflected by the user behavior.
[0055] Step 202: After the target video is played, the video play time of the target video is allocated to corresponding time periods according to the heartbeat information to obtain the actual play time of the target video in each time period, wherein the video play time is divided into m consecutive time periods.
[0056] Step 203: Determine the actual playing duration and value of multiple terminals in the nth time period, and the number of terminals in the nth time period, wherein each terminal represents a user id, 0≤n≤m.
[0057] Step 204: Determine the average playing time per person in the nth time period according to the quotient between the duration sum and the number of terminals, wherein the average playing time per person is used to indicate the user's preference for the video plot in the nth time period.
[0058] When watching a video, users may perform the following operations according to their preferences, including but not limited to: dragging the progress bar forward, dragging the progress bar backward, playing at high speed, playing at low speed, long pressing to fast forward, etc. These operations reflect the user's interest in the plot. Figure 3 This is a schematic diagram of user behavior and preference expression. It can be seen that if the user drags the video progress bar backwards, it indicates that the user is not interested in the current plot but is interested in the next plot; if the user switches to high-speed video playback, it indicates that the user is not interested in the current plot; if the user switches to low-speed video playback, it indicates that the user is interested in the current plot.
[0059] If the user is interested in the current plot, he or she may play the plot video at a low speed or drag the progress bar to play the plot video repeatedly. If the user is not interested in the current plot, he or she may long press the button to fast forward or drag the progress bar to skip the plot. In this case, the actual playback time of a certain plot video may be different from its theoretical playback time. Therefore, it is necessary to distribute the actual playback time to the corresponding time periods according to the plot point preferences under the user's operation behavior, so as to obtain the actual playback time of each time period.
[0060] Target videos include but are not limited to movies, TV series, variety shows, micro-movies, short videos, etc.
[0061] If the terminal detects that the heartbeat reporting conditions are met, such as the heartbeat reporting period, advertisement insertion, video pause, etc., the terminal reports the current video playback information to the server. After the target video is played, the server obtains the heartbeat information containing all video playback information.
[0062] The server allocates the video playback time of the entire video to the corresponding time period according to the heartbeat information, for example, dividing the video playback time into m consecutive time periods to obtain the actual playback time of the terminal in each time period. The video playback time mentioned in the embodiment of the present application refers to the playback time from the start of the video to the end of the video. The end of the video can be automatically ended after the video is played, or the user can exit the video.
[0063] For the nth time period among the m time periods, 0≤n≤m, the server obtains the actual playback time of each terminal in the nth time period according to the above allocation method, and then determines the duration and value of the actual playback time of multiple terminals in the nth time period. In addition, the server also obtains the number of terminals in the nth time period, and finally determines the average playback time per person in the nth time period based on the quotient between the duration and value and the number of terminals. Devices with different IP addresses accessing the target video are recorded as one terminal.
[0064] Average playing time per person in the nth period = the sum of actual playing time of multiple terminals in the nth period / number of terminals in the nth period.
[0065] The embodiment of the present application assumes that one terminal corresponds to one user ID, and the sum of the durations of multiple terminals in the nth time period is actually the sum of the durations of multiple users watching videos in the nth time period. The number of terminals in the nth time period is the number of users watching the target video in the nth time period, so that the average playback time per person in the nth time period is obtained.
[0066] The average playback time per user combines the playback time of different users in the same period. Since the playback time indicates the user's preference, the average playback time per user indicates the user's preference for the video plot in a certain period.
[0067] The time period mentioned in the embodiments of the present application can be at the second level or at the minute level, specifically three seconds, five seconds, one minute, three minutes, etc., and the division of the time period is related to the length of the video. The time period can be pre-set by a technician or automatically determined by a server, and the automatic determination method can adopt a neural network model, a corresponding relationship between the time period length and the video length, etc.
[0068] For short videos, the granularity of one second can be divided more finely. For TV series, the granularity of seconds cannot provide more information, and the granularity of three minutes is too coarse. The granularity of one minute is just right for a single episode of a TV series of more than 40 minutes.
[0069] In the present application, the server allocates the video playback time to the corresponding time periods according to the heartbeat information reported by the terminal, and obtains the actual playback time of the video in each time period. For a certain time period, the quotient of the sum of the actual playback times of multiple terminals and the number of terminals is taken as the average playback time per person. The heartbeat information reflects the user's preference for plot points. The actual playback time after allocation reflects the user's preference for plot points in the time period. Based on the average playback time, a unified dimension reflecting the user's preference for plot points is given. Compared with long video clips, the present application allows content creators to review according to the granularity of plot points, thereby improving the accuracy of content review.
[0070] As an optional implementation, Figure 4 As shown, allocating the video playback time to corresponding time periods according to the heartbeat information to obtain the actual playback time of the terminal in each time period includes the following steps:
[0071] Step 401: Obtaining a single playback duration including video playback information reported by each heartbeat in the heartbeat information;
[0072] Step 402: Determine the starting position and ending position of the progress bar and the video playback speed each time a heartbeat is reported by analyzing the video playback information;
[0073] Step 403: If the designated position range corresponding to the target time period includes a progress bar, then the single playback duration of each time the target video is played in the target time period is determined according to the start position, end position and video playback speed of the included progress bar;
[0074] Step 404: Determine the actual playback duration of the target time period according to at least one single playback duration in the target time period.
[0075] If the user performs the following actions during video playback: dragging the progress bar, long pressing to fast forward, playing at high speed or low speed, etc., the actual playback time of the video in a certain period of time will be affected. Figure 5 As shown, the user has three behaviors in the few minutes of watching the video, namely, normal playback, dragging the progress bar forward, and double-speed playback. First, the video is played normally for 195 seconds, that is, 180 seconds from the first minute to the third minute are played normally and the first 15 seconds of the fourth minute are played normally. If the user suddenly wants to watch a certain video again, he drags the progress bar forward for 62 seconds, and slides to the last 47 seconds of the third minute. Then the user starts double-speed playback for 60 seconds, then double-speed playback is performed in the last 47 seconds of the third minute and double-speed playback is performed in the first 13 seconds of the fourth minute. After the double-speed playback is completed, the user exits the video.
[0076] It can be seen that the user spends the most time in the third minute, so it can be considered that the user is relatively more interested in the third minute. The playback time can be apportioned to each minute of the progress bar, as follows.
[0077] After being apportioned to each minute of the progress bar, the first minute is played normally for 60 seconds, the second minute is played normally for 60 seconds, and the third minute includes two situations: first playing normally for 60 seconds and then playing at double speed for 47 seconds, so the third minute actually plays for 60+47 / 2=83.5 seconds, and the fourth minute also includes two situations: first playing normally for 15 seconds and then playing at double speed for 13 seconds, so the fourth minute actually plays for 15+13 / 2=21.5 seconds. In this way, the server apportions the video's playback time under normal playback and double speed playback to the corresponding playback time of each minute.
[0078] Specifically, after the terminal reports multiple heartbeat signals to the server, the server analyzes the video playback information reported by each heartbeat, obtains the starting position, ending position and video playback speed of the progress bar at each heartbeat report, and then determines the actual playback duration of any time period (target time period).
[0079] Specifically, the video position range corresponding to a plot node in each time period is specified in advance, and then the specified position range of the target time period is determined. If the starting position and the ending position of the progress bar fall within the specified position range of the target time period, it is considered that the playback duration can be determined based on the progress bar.
[0080] The server obtains the starting position, ending position and video playback speed of the progress bar that falls within the specified range, and determines the single playback duration of each time the target video is played in the target time period based on the starting position, ending position and video playback speed of the progress bar. If the progress bar falls within the specified position range more than once, for example, the user has just watched the content and dragged the progress bar forward to watch it again, in this case, the progress bar will appear twice within the specified position range, then the sum of the two single playback durations is used as the actual playback duration of the target time period; if the progress bar only falls within the specified position range once, then the single playback duration is used as the actual playback duration of the target time period.
[0081] This application divides the target video into multiple time periods, and obtains the actual playback time of the time period based on the number of video playbacks in the same time period and the single playback time of each playback. In essence, the video playback progress corresponding to the operation playback behavior in the heartbeat information is allocated to each time period, thereby obtaining the actual playback time of each time period. In this way, the actual playback time also incorporates the plot point preference reflected by the operation playback behavior.
[0082] As an optional implementation method, the single playback duration of each time the target video is played in a time period is determined according to the starting position, ending position and video playback speed of the progress bar. Specifically, the starting position and ending position of the progress bar correspond to specific moments, and the moment here refers to the visible time when the progress bar is dragged in the target video. The moment corresponding to the end position of the progress bar is subtracted from the moment corresponding to the starting position to obtain the initial playback duration, and then the quotient of the initial playback duration and the video playback speed is used as the single playback duration.
[0083] If the video in the target time period is played only once within the set duration, then the single playback duration will be used as the actual playback duration; if the video in the target time period is played multiple times within the set duration, for example, the user drags the progress bar forward to watch the video in the target time period again, then the sum of the multiple single playback durations will be used as the actual playback duration of the target time period.
[0084] As an optional implementation method, a method for determining whether a video within a target time period is played multiple times within a set duration includes: determining a specified position range corresponding to the target time period, wherein each time period in the video corresponds to a position range where a plot point segment is located; if a progress bar appears once within the specified position range within the set duration, then one is added to the number of times the last play occurred until no progress bar appears within the specified position range.
[0085] The position range of a plot point segment corresponding to each time period is specified in advance, and then the specified position range of the target time period is determined. If the starting position and the ending position of the progress bar fall within the specified position range of the target time period, then at least part of the video in the target time period is played once. If the starting position and the ending position of the progress bar fall within the standard position range again after a period of time, then at least part of the video in the target time period is played again. In this way, each time it is played, one is added based on the previous playback, until the progress bar is no longer detected in the specified position range, and it is considered that it is not played again.
[0086] The set duration is manually set. Multiple playbacks within the set duration refer to repeated viewings of the target video by the user without exiting. This may be the user just finishing watching the content of the target time period and then watching it again, or the user finishing watching the content of other time periods and then watching the content of the target time period again.
[0087] This application determines the number of times a video is played within a target time period, and the single playback duration of each playback, and then adds up multiple single playback durations to obtain the actual playback duration of the target time period.
[0088] In this application, the conditions for heartbeat reporting include: reaching the heartbeat sending cycle, playback pause, user exiting playback, video playback ending, switching playback speed, and advertisement starting and ending.
[0089] Based on such fine-grained heartbeat delivery, the analysis of plot point granularity has a data foundation.
[0090] Each heartbeat reported by the terminal carries a reporting condition, such as exiting playback or starting an ad, so that the server can determine whether to continue calculating the single playback duration or stop calculating the single playback duration based on the reporting condition, because the duration during video pauses and ads is not included in the playback duration. This way, only focusing on the video content can ensure that the final average playback duration of the video is more accurate. If the reporting condition is other than video pauses and ads, the server will calculate the single playback duration normally.
[0091] The heartbeat sending cycle can be fixed, or the cycle can be smaller in the early stage of video playback and larger in the later stage of video playback. In this way, the user's preference for the video plot points can be more accurately detected when the video just starts playing. For example, after the video starts playing, a heartbeat is sent after 15 seconds of playback, and a heartbeat is sent again after 60 seconds of playback, and then a heartbeat is sent every 120 seconds of playback.
[0092] When the terminal switches the playback speed, reporting the heartbeat can enable the server to determine the playback speed, and thus determine the single playback duration based on the playback speed.
[0093] The terminal sends heartbeats to the server at the start and end of playback pauses, and at the start and end of advertisements, so that the server can ensure that the progress bar position remains unchanged during playback pauses and advertisements, thereby avoiding the impact of playback pauses and advertisements on the length of a single playback.
[0094] This application can obtain the time granularity allocation information of the video playback information reported by the heartbeat, Figure 6 This is a schematic diagram of heartbeat reporting. It can be seen that it includes five heartbeat reports, which are described in detail as follows.
[0095] NO1: The video is played normally from 0 to 14 seconds, and the heartbeat is reported at the 15th second (the video is played for 15 seconds).
[0096] NO2: The video is played normally from 15 to 74 seconds, and the heartbeat is reported at the 74th second (60 seconds of playback again).
[0097] NO3: The video is played normally from 75 to 194 seconds, and the heartbeat is reported at the 194th second (120 seconds of playback again).
[0098] NO4: The user drags the progress bar forward from 195 seconds back to 132 seconds. Dragging the progress bar is not counted in the playback time.
[0099] NO5: The video is played at double speed between 133 and 192 seconds. A heartbeat is reported at 133 seconds (double speed playback) and at 192 seconds (end of video).
[0100] The progress bar will not count during advertisements, pauses, or when you drag the progress bar quickly.
[0101] Figure 7 This is a schematic diagram of time granularity allocation, which is divided into four minutes in total. The details are as follows.
[0102] Minute 1: The video plays normally from 0 to 59 seconds.
[0103] Minute 2: The video plays normally from 60 to 119 seconds.
[0104] The 3rd minute: The 3rd minute includes 120 to 179 seconds. Among the above-mentioned NO3, 75 to 194 seconds are regular playback, so 120 to 179 seconds of the 3rd minute are also regular playback. Among the above-mentioned NO5, 133 to 192 seconds are played at double speed, so 133 to 179 seconds of the 3rd minute are played at double speed again. Therefore, the playback time of the 3rd minute includes two parts, regular playback and double speed playback. Playback time = (179-120+1) + (179-133+1) / 2 = 83.5 seconds.
[0105] The 4th minute: The video is played up to the 194th second, so the 4th minute includes 180 to 194 seconds. In the above NO3, 75 to 194 seconds are regular playback, so 180 to 194 seconds in the 4th minute are also regular playback. In the above NO5, 133 to 192 seconds are played at double speed, so 180 to 192 seconds in the 4th minute are played at double speed again. Therefore, the playback time of the 4th minute includes two parts, regular playback and double speed playback, and the playback time = (194-180+1) + (192-180+1) / 2 = 21.5 seconds.
[0106] according to Figure 6 and Figure 7 The comparison shows that Figure 6 The total video playback time is calculated to be 225 minutes based on the heartbeat report. Figure 7 The total video playback time calculated by allocating it to each time period is also 225 minutes.
[0107] It can be seen that this application distributes all the video playback information delivered by the heartbeat to the minute-level granularity, and calculates the total playback time according to the playback time and number of playbacks of the target video each time within the minute, so that the actual playback time of the terminal per minute is obtained. Figure 7 The playback time of each line in . Later, multiple other terminals and the number of terminals are also taken into account to obtain the average playback time per minute.
[0108] As an optional implementation, after determining the average playing time per person in the nth time period, the method further includes: setting multiple time periods arranged in the order of playing as the horizontal axis, and the average playing time per person in each time period as the vertical axis; and generating a curve graph based on the horizontal axis and the vertical axis.
[0109] The server can also use multiple time periods arranged in the order of playback as the horizontal axis, and the average playback time per person in each time period as the vertical axis, and then generate a curve graph based on the horizontal axis and the vertical axis. Figure 8 This is a curve chart of average playback time per person.
[0110] The server feeds the graph back to the terminal so that personnel can view the most popular time period based on the graph and find the plot points corresponding to the time period. The most popular plot points are used to provide data support for content workers in script development. Subsequently, the connection between user viewing behavior and plot points can also be analyzed to assess the risk of users abandoning the show.
[0111] In addition, advertisements can be inserted in corresponding time periods according to the curve graph, such as inserting advertisements at unpopular plot points to reduce the impact of advertisements on users' viewing, or inserting advertisements at popular plot points to enhance users' attention to subsequent content.
[0112] Based on the same technical concept, the embodiment of the present application also provides a device for analyzing user video preferences according to plot point granularity, such as Fig. 9 As shown, the device comprises:
[0113] An acquisition module 901 is used to acquire heartbeat information delivered by a terminal when playing a target video, where the heartbeat information is used to indicate a plot point preference reflected by a user behavior;
[0114] The allocation module 902 is used to allocate the video playback time of the target video to corresponding time periods according to the heartbeat information after the target video is played, and obtain the actual playback time of the target video in each time period, wherein the video playback time is divided into m consecutive time periods;
[0115] The first determination module 903 is used to determine the duration and value of the actual playback duration of multiple terminals in the nth time period, and the number of terminals in the nth time period, wherein each terminal represents a user id, 0≤n≤m;
[0116] The second determination module 904 is used to determine the average playing time per person in the nth time period according to the quotient between the duration sum value and the number of terminals, wherein the average playing time per person is used to indicate the user's preference for the video plot in the nth time period.
[0117] Optionally, the allocation module 902 is used to:
[0118] Get the video playback information reported by each heartbeat in the heartbeat information;
[0119] By analyzing the video playback information, determine the starting position and ending position of the progress bar and the video playback speed at each heartbeat report;
[0120] If the specified position range corresponding to the target time period contains a progress bar, the single playback duration of each time the target video is played in the target time period is determined according to the start position, end position and video playback speed of the progress bar;
[0121] The actual playback duration of the target time period is determined according to at least one single playback duration in the target time period.
[0122] Optionally, the allocation module 902 is used to:
[0123] The initial playback duration is obtained according to the difference between the time corresponding to the end position of the progress bar and the time corresponding to the start position, and the time is the playback time indicated by the progress bar in the target video;
[0124] The single playback duration of each time the target video is played in the target time period is determined according to the quotient of the initial playback duration and the video playback speed.
[0125] Optionally, the allocation module 902 is used to:
[0126] If a video in the target time period is played only once within the set duration, the single playback duration will be taken as the actual playback duration of the target time period;
[0127] If the video in the target time period is played multiple times within the set duration, the actual playback duration of the target time period is determined based on the sum of the multiple single playback durations.
[0128] Optionally, the conditions for heartbeat reporting include: reaching a heartbeat sending cycle, playback pause, user exiting playback, video playback ending, switching playback speed, and advertisement starting and ending.
[0129] Optionally, the device is also used for:
[0130] If the video playback information is advertisement playback, video pause, and progress bar dragging, it is determined that the current position of the progress bar remains unchanged.
[0131] Optionally, the device is also used for:
[0132] Set multiple time periods arranged in the order of playback as the horizontal axis, and the average playback time per person in each time period as the vertical axis;
[0133] Generate a curve graph based on the horizontal and vertical axes.
[0134] Based on the same technical concept, an embodiment of the present invention further provides an electronic device, such as Fig.10 As shown, it includes a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002, and the memory 1003 communicate with each other through the communication bus 1004.
[0135] Memory 1003, used for storing computer programs;
[0136] The processor 1001 is used to implement the above steps when executing the program stored in the memory 1003.
[0137] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0138] The communication interface is used for communication between the above electronic device and other devices.
[0139] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0140] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0141] In another embodiment of the present invention, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any of the above methods is implemented:
[0142] Obtain the heartbeat information delivered by the terminal when playing the target video. The heartbeat information is used to indicate the plot point preference reflected by the user behavior;
[0143] After the target video is played, the video playing time of the target video is allocated to corresponding time periods according to the heartbeat information to obtain the actual playing time of the target video in each time period, wherein the video playing time is divided into m consecutive time periods;
[0144] Determine the duration and value of actual playback duration of multiple terminals in the nth time period, and the number of terminals in the nth time period, wherein each terminal represents a user id, 0≤n≤m;
[0145] The average playing time per person in the nth time period is determined according to the quotient between the duration sum value and the number of terminals, wherein the average playing time per person is used to indicate the user's preference for the video plot in the nth time period.
[0146] Optionally, the video playback duration of the target video is allocated to corresponding time periods according to the heartbeat information, and the actual playback duration of the target video in each time period is obtained, including:
[0147] Get the video playback information reported by each heartbeat in the heartbeat information;
[0148] By analyzing the video playback information, determine the starting position and ending position of the progress bar and the video playback speed at each heartbeat report;
[0149] If the specified position range corresponding to the target time period contains a progress bar, the single playback duration of each time the target video is played in the target time period is determined according to the start position, end position and video playback speed of the progress bar;
[0150] The actual playback duration of the target time period is determined according to at least one single playback duration in the target time period.
[0151] Optionally, determining the single playback duration of each time the target video is played in the target time period according to the start position, end position and video playback speed of the progress bar includes:
[0152] The initial playback duration is obtained according to the difference between the time corresponding to the end position of the progress bar and the time corresponding to the start position, and the time is the playback time indicated by the progress bar in the target video;
[0153] The single playback duration of each time the target video is played in the target time period is determined according to the quotient of the initial playback duration and the video playback speed.
[0154] Optionally, determining the actual playback duration of the target time period according to at least one single playback duration in the target time period includes:
[0155] If a video in the target time period is played only once within the set duration, the single playback duration will be taken as the actual playback duration of the target time period;
[0156] If the video in the target time period is played multiple times within the set duration, the actual playback duration of the target time period is determined based on the sum of the multiple single playback durations.
[0157] Optionally, the conditions for heartbeat reporting include: reaching a heartbeat sending cycle, playback pause, user exiting playback, video playback ending, switching playback speed, and advertisement starting and ending.
[0158] Optionally, after obtaining the video playback information reported by each heartbeat in the heartbeat information, the method further includes:
[0159] If the video playback information is advertisement playback, video pause, and progress bar dragging, it is determined that the current position of the progress bar remains unchanged.
[0160] Optionally, after determining the average playing time per person in the nth time period, the method further includes:
[0161] Set multiple time periods arranged in the order of playback as the horizontal axis, and the average playback time per person in each time period as the vertical axis;
[0162] Generate a curve graph based on the horizontal and vertical axes.
[0163] In another embodiment of the present invention, a computer program product including instructions is provided, which enables the computer to execute any one of the methods in the above embodiments when the computer program product is executed on the computer.
[0164] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0165] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0166] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for analyzing user video preferences based on plot point granularity, characterized in that: The method comprises: Acquire heartbeat information delivered by the terminal when playing the target video, wherein the heartbeat information is used to indicate the plot point preference reflected by the user behavior; After the target video is played, the video playing time of the target video is apportioned to corresponding time periods according to the heartbeat information to obtain the actual playing time of the target video in each time period, wherein the video playing time is divided into m consecutive time periods; Determine the duration and value of actual playback duration of multiple terminals in the nth time period, and the number of terminals in the nth time period, wherein each terminal represents a user id, 0≤n≤m; The average playing time per person in the nth time period is determined according to the quotient between the duration sum and the number of terminals, wherein the average playing time per person is used to indicate the user's preference for the video plot in the nth time period.
2. The method according to claim 1, characterized in that The video playback duration of the target video is apportioned to corresponding time periods according to the heartbeat information, and the actual playback duration of the target video in each time period is obtained, including: Obtain video playback information reported by each heartbeat in the heartbeat information; By analyzing the video playback information, determining the starting position and ending position of the progress bar and the video playback speed at each heartbeat report; If the designated position range corresponding to the target time period contains a progress bar, then the single playback duration of each time the target video is played in the target time period is determined according to the starting position, the ending position and the video playback speed of the progress bar; The actual playback duration of the target time period is determined according to at least one single playback duration in the target time period.
3. The method according to claim 2, characterized in that Determining the single playback duration of each time the target video is played in the target time period according to the starting position, the ending position and the video playback speed of the progress bar includes: Obtaining an initial playback duration according to a difference between a time corresponding to the end position of the progress bar and a time corresponding to the start position, wherein the time is the playback time indicated by the progress bar in the target video; The single playback duration of each time the target video is played in the target time period is determined according to the quotient of the initial playback duration and the video playback speed.
4. The method according to claim 2, characterized in that: Determining the actual playback duration of the target time period according to at least one single playback duration in the target time period includes: If the video in the target time period is played only once within the set duration, the single playback duration is used as the actual playback duration of the target time period; If the video in the target time period is played multiple times within the set duration, the actual playback duration of the target time period is determined according to the sum of the multiple single playback durations.
5. The method according to claim 2, characterized in that: The conditions for heartbeat reporting include: reaching the heartbeat sending cycle, playback pause, user exiting playback, video playback ending, switching playback speed, and advertisement start and end.
6. The method according to claim 2, characterized in that After obtaining the video playback information reported by each heartbeat in the heartbeat information, the method further includes: If the video playing information is advertisement playing, video pausing and progress bar dragging, it is determined that the current position of the progress bar remains unchanged.
7. The method according to claim 1, characterized in that After determining the average playing time per person in the nth time period, the method further includes: Set multiple time periods arranged in the order of playback as the horizontal axis, and the average playback time per person in each time period as the vertical axis; A curve graph is generated based on the abscissa and the ordinate.
8. A device for analyzing user video preferences based on plot point granularity, characterized in that: The device comprises: An acquisition module, used to acquire heartbeat information delivered by a terminal when playing a target video, wherein the heartbeat information is used to indicate a plot point preference reflected by a user behavior; An allocating module is used to allocate the video playing time of the target video to corresponding time periods according to the heartbeat information after the target video is played, so as to obtain the actual playing time of the target video in each time period, wherein the video playing time is divided into m consecutive time periods; A first determination module is used to determine the duration and value of the actual playback duration of multiple terminals in the nth time period, and the number of terminals in the nth time period, wherein each terminal represents a user id, 0≤n≤m; The second determination module is used to determine the average playing time per person in the nth time period according to the quotient between the duration sum value and the number of terminals, wherein the average playing time per person is used to indicate the user's preference for the video plot in the nth time period.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 7 when executing a program stored in a memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Video content processing method and video content processing device
CN104581400A
Video preference information processing method, device and system
CN106792209A
Method and apparatus for providing video information
CN112040280A
Method and device for determining user preference
CN116708882A
Advertisement display method and device and storage medium
CN117440200A
