[go: up one dir, main page]

CN109982143B - A method, device, medium and device for determining video playback delay - Google Patents

A method, device, medium and device for determining video playback delay Download PDF

Info

Publication number
CN109982143B
CN109982143B CN201711462192.8A CN201711462192A CN109982143B CN 109982143 B CN109982143 B CN 109982143B CN 201711462192 A CN201711462192 A CN 201711462192A CN 109982143 B CN109982143 B CN 109982143B
Authority
CN
China
Prior art keywords
video
playback
selection
play
reference service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711462192.8A
Other languages
Chinese (zh)
Other versions
CN109982143A (en
Inventor
耶旭立
曾强
刘立宇
康萌
赵亚云
张昊程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Shaanxi Co Ltd
Original Assignee
China Mobile Communications Corp
China Mobile Group Shaanxi Co Ltd
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 China Mobile Communications Corp, China Mobile Group Shaanxi Co Ltd filed Critical China Mobile Communications Corp
Priority to CN201711462192.8A priority Critical patent/CN109982143B/en
Publication of CN109982143A publication Critical patent/CN109982143A/en
Application granted granted Critical
Publication of CN109982143B publication Critical patent/CN109982143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/4508Management of client data or end-user data

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请提供一种确定视频播放时延的方法、装置、介质及设备,该方法包括:针对指定用户的每个选择播放标识,确定该选择播放标识对应的选择播放时间戳以及开始播放时间戳,其中,所述选择播放标识根据指定用户在预设时间段内对应的选择播放视频操作生成,每次被选择播放的视频所对应的选择播放标识不同;将所述开始播放时间戳与所述选择播放时间戳的差值对应的时长,确定为该选择播放标识对应的视频播放时延,其中,视频播放时延为所述指定用户选择播放该选择播放标识对应的视频到观看到该选择播放标识对应的视频所需的时长。利用本申请提供的确定视频播放时延的实施方式,能够得到准确度更高的视频播放时延。

Figure 201711462192

The present application provides a method, device, medium and device for determining a video playback time delay. The method includes: for each selection playback identifier of a designated user, determining a selection playback time stamp and a start playback time stamp corresponding to the selection playback ID, Wherein, the selection play identifier is generated according to the operation of selecting and playing a video corresponding to a specified user within a preset time period, and the selection play identifier corresponding to the video selected to play is different each time; The duration corresponding to the difference between the playback time stamps is determined as the video playback delay corresponding to the selected playback identifier, wherein the video playback delay is the time when the specified user selects to play the video corresponding to the selected playback identifier until the selected playback identifier is viewed. The required duration of the corresponding video. By using the implementation manner of determining the video playback delay provided by the present application, it is possible to obtain the video playback delay with higher accuracy.

Figure 201711462192

Description

Method, device, medium and equipment for determining video playing time delay
Technical Field
The present application relates to the field of video playing technologies, and in particular, to a method, an apparatus, a medium, and a device for determining a video playing time delay.
Background
At present, more and more users watch videos through a mobile communication network, wherein a certain time delay is required from the time when a user clicks a video to be played to the time when the user formally starts to play the video, which is called video playing time delay, and the greater the video playing time delay is, the worse the experience of watching the video by the user is. Therefore, the mobile communication network operator may determine the video playing time delay of the user watching the video, and improve the experience of the user watching the video by reducing the video playing time delay as much as possible.
A common method for determining video playing delay of a user watching a video is as follows:
acquiring a signaling generated when a user watches a video; extracting a video watching request sent to a network side by a user from the signaling; extracting domain name resolution signaling and TCP connection signaling corresponding to the video viewing request from the extracted signaling; determining domain name resolution duration according to the domain name resolution signaling, and determining network connection duration according to the TCP connection signaling; determining the buffering time required by the video buffering to a set size according to the information such as the video downloading rate, the video code rate and the like; and taking the sum of the domain name resolution time, the network connection time and the buffering time as the video playing time delay.
The inventor finds that, because the calculation of the buffering duration needs to be based on the video code rate, and under many conditions, the video code rate is not carried in a signaling generated by a user watching a video, so that a technician needs to set the video code rate according to experience, an error between the artificially set video code rate and the actual video code rate is relatively large, and at this time, the problem that the accuracy of the finally calculated video playing delay is relatively low occurs.
Disclosure of Invention
The application provides a method, a device, a medium and equipment for determining video playing time delay, which are used for solving the problem that the accuracy of video playing time delay obtained by calculation in the prior art is low.
In a first aspect, an embodiment of the present application provides a method for determining a video playing time delay, including:
aiming at each selective play identifier of a specified user, determining a selective play timestamp and a play start timestamp corresponding to the selective play identifier, wherein the selective play identifier is generated according to the corresponding selective play video operation of the specified user within a preset time period, and the selective play identifiers corresponding to the videos which are selected to be played each time are different;
and determining the time length corresponding to the difference value of the playing start timestamp and the playing selection timestamp as the video playing time delay corresponding to the playing selection identifier, wherein the video playing time delay is the time length required by the appointed user to select the video corresponding to the playing selection identifier to watch the video corresponding to the playing selection identifier.
Optionally, determining a selective playing time stamp and a play start time stamp corresponding to the selective playing identifier specifically includes:
extracting entries which simultaneously comprise the user identification of the specified user and the selective playing identification from a pre-stored video playing fingerprint table, wherein each entry in the video playing fingerprint table comprises a user identification, a selective playing timestamp and a playing starting timestamp;
and taking the selective playing time stamp in the extracted table entry as the selective playing time stamp corresponding to the selective playing identifier, and taking the play starting time stamp in the extracted table entry as the play starting time stamp corresponding to the selective playing identifier.
Optionally, the video playing fingerprint table is pre-stored in the following manner:
acquiring a stored user service record in a preset time period;
extracting the user service record with the service type being the video type from the user service records as a reference service record;
dividing the reference service records carrying the same selective playing identifier into a group;
aiming at each group of reference service records, extracting a first reference service record carrying a selective playing video operation identifier and a second reference service record carrying a starting playing video operation identifier in the group of reference service records;
and taking the timestamp in the first service reference service record as a selective playing timestamp corresponding to the selective playing identifier corresponding to the group of reference service records, and taking the timestamp in the second reference service record as a playing starting timestamp corresponding to the selective playing identifier corresponding to the group of reference service records.
And storing the user identifier of the user corresponding to the group of reference service records, the selective playing identifier corresponding to the group of reference service records, the selective playing timestamp and the playing start timestamp corresponding to the selective playing identifier corresponding to the group of reference service records into the video playing fingerprint table as an entry.
Optionally, the extracting the first reference service record and the second reference service record specifically includes:
extracting a first Uniform Resource Locator (URL) used for indicating that a video is selected to be played and a second URL used for indicating that the video is started to be played in the group of reference service records;
and taking the reference service record to which the first URL belongs as a first reference service record, and taking the reference service record to which the second URL belongs as a second reference service record.
Optionally, after determining the video playing delay corresponding to the selective playing identifier, the method further includes:
and deleting the list item to which the selected playing identifier belongs in the video playing fingerprint list.
In a second aspect, an embodiment of the present application provides an apparatus for determining a video playing time delay, including:
the device comprises a first determining module, a second determining module and a playing starting module, wherein the first determining module is used for determining a selective playing time stamp and a playing starting time stamp corresponding to each selective playing identifier of an appointed user, the selective playing identifiers are generated according to the corresponding selective playing video operation of the appointed user within a preset time period, and the selective playing identifiers corresponding to the videos selected to be played each time are different;
and the second determining module is used for determining the time length corresponding to the difference value between the play starting timestamp and the play selecting timestamp as the video play time delay corresponding to the play selecting identifier, wherein the video play time delay is the time length required by the appointed user to select the video corresponding to the play selecting identifier to be played until the video corresponding to the play selecting identifier is watched.
Optionally, the first determining module is specifically configured to:
extracting entries which simultaneously comprise the user identification of the specified user and the selective playing identification from a pre-stored video playing fingerprint table, wherein each entry in the video playing fingerprint table comprises a user identification, a selective playing timestamp and a playing starting timestamp;
and taking the selective playing time stamp in the extracted table entry as the selective playing time stamp corresponding to the selective playing identifier, and taking the play starting time stamp in the extracted table entry as the play starting time stamp corresponding to the selective playing identifier.
Optionally, the apparatus for determining video playing delay provided in this embodiment of the present application further includes:
the storage module is used for pre-storing the video playing fingerprint table in the following way:
acquiring a stored user service record in a preset time period;
extracting the user service record with the service type being the video type from the user service records as a reference service record;
dividing the reference service records carrying the same selective playing identifier into a group;
aiming at each group of reference service records, extracting a first reference service record carrying a selective playing video operation identifier and a second reference service record carrying a starting playing video operation identifier in the group of reference service records;
and taking the timestamp in the first service reference service record as a selective playing timestamp corresponding to the selective playing identifier corresponding to the group of reference service records, and taking the timestamp in the second reference service record as a playing starting timestamp corresponding to the selective playing identifier corresponding to the group of reference service records.
And storing the user identifier of the user corresponding to the group of reference service records, the selective playing identifier corresponding to the group of reference service records, the selective playing timestamp and the playing start timestamp corresponding to the selective playing identifier corresponding to the group of reference service records into the video playing fingerprint table as an entry.
Optionally, when the storage module extracts the first reference service record and the second reference service record, the storage module is specifically configured to:
extracting a first Uniform Resource Locator (URL) used for indicating that a video is selected to be played and a second URL used for indicating that the video is started to be played in the group of reference service records;
and taking the reference service record to which the first URL belongs as a first reference service record, and taking the reference service record to which the second URL belongs as a second reference service record.
Optionally, the apparatus for determining video playing delay provided in this embodiment of the present application further includes:
and the deleting module is used for deleting the table entry to which the selected playing identifier belongs in the video playing fingerprint table after the second determining module determines the video playing time delay corresponding to the selected playing identifier.
In a third aspect, an embodiment of the present application provides a computer storage medium, where an executable program is stored in the computer storage medium, and the executable program is executed by a processor to implement the steps of the method for determining video playback delay.
In a fourth aspect, an embodiment of the present application provides a computing device, which includes a memory, a processor, and a computer program stored on the memory, where the processor implements the steps of the method for determining video playback delay when executing the program.
By utilizing the method, the device, the medium and the equipment for determining the video playing time delay, the following beneficial effects are achieved: after the user selects the playing video, the video playing time delay is calculated according to the selected playing time stamp corresponding to the selected playing identification and the playing starting time stamp, a more simple and convenient video playing time delay calculation mode is provided, system resources are saved, and parameters for calculating the video playing time delay are not required to be set by technical staff experience in the calculation process of the video playing time delay, so that the video playing time delay with higher accuracy can be obtained.
Drawings
Fig. 1 is a schematic flowchart of a method for determining video playing latency according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for determining a selective play timestamp and a play start timestamp corresponding to a selective play identifier according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a method for pre-storing the video playing fingerprint table according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus for determining video playing delay according to an embodiment of the present application;
fig. 5 is a schematic hardware structure diagram of a computing device according to an embodiment of the present application.
Detailed Description
The method, apparatus, medium, and device for determining video playback delay provided by the present application are described in more detail below with reference to the accompanying drawings and embodiments.
An embodiment of the present application provides a method for determining video playing delay, as shown in fig. 1, including:
step 101, determining a selective playing time stamp and a play starting time stamp corresponding to each selective playing identifier of a designated user, wherein the selective playing identifiers are generated according to the corresponding selective playing video operation of the designated user within a preset time period, and the selective playing identifiers corresponding to the videos selected to be played each time are different.
Specifically, a user may select a video to be watched from an application program having a video playing function of the mobile terminal, and the user may click the video to be watched and send a URL (hereinafter referred to as a URL indicating a video to be selectively played) requesting to watch the video to the network side, where the selective playing operation in the URL is the selective playing operation of the user, and the URL carries a selective playing identifier for the user to watch the video this time. The designated user may be any user who has viewed the video, and is not limited herein. The URL is called as Uniform Resource Locator in English, and Chinese is called as Uniform Resource Locator in Chinese.
In a mobile communication network, recording user service records of users who have performed service operations; the user service record includes a network accessed by a user, a cell, a reporting timestamp of the service record, a service type, device information held by the user, URL information generated by the user accessing the network, a user identifier, and the like, wherein the service type may include types of video, music, navigation, and the like, and in the case that the service type is a video type, the URL information generated by the user accessing the network includes: specifically, after the user clicks the video to be played, the device held by the user sends the URL for indicating the video to be played to the network side, and after the device held by the user receives a certain flow response of the video buffer sent by the network side, the device held by the user sends the URL for indicating the video to be played to the network side, so that the network side sends the video data of the response to the device held by the user and plays the video.
According to the method, the user service record corresponding to the video playing operation is extracted aiming at the video playing operation corresponding to the user in the preset time period, and the video identifier selected to be played is extracted from the extracted user service record; and determining the selective playing time stamp and the starting playing time stamp corresponding to the extracted selective playing identifier.
In specific implementation, for the same selective play identifier, extracting a user service record carrying the selective play operation identifier and a user service record carrying the play start operation identifier from the user service record corresponding to the selective play identifier, taking a timestamp in the user service record carrying the selective play operation identifier as a selective play timestamp, and taking a timestamp in the user service record carrying the play start operation identifier as a play start timestamp.
It should be noted that the selective playing identifiers corresponding to different videos are different, and the selective playing identifier corresponding to each selective playing of the same video is also different.
And 102, determining the duration corresponding to the difference value between the play starting timestamp and the play selecting timestamp as the video play delay corresponding to the play selecting identifier, wherein the video play delay is the duration required by the appointed user to select to play the video corresponding to the play selecting identifier and watch the video corresponding to the play selecting identifier.
Specifically, the duration corresponding to the difference between the play start timestamp corresponding to the play selection identifier and the play selection timestamp is used as the duration required by the specified user from the time of selecting to play the video corresponding to the video play identifier to the time of viewing the video corresponding to the video play identifier, that is, the video play delay corresponding to the play selection identifier.
According to the embodiment of the application, after the user selects the playing video, the video playing time delay is calculated according to the selected playing time stamp corresponding to the selected playing identification and the playing starting time stamp, a more convenient video playing time delay calculation mode is provided, system resources are saved, and parameters for calculating the video playing time delay are set without experience of technicians in the calculation process of the video playing time delay, so that the video playing time delay with higher accuracy can be obtained.
It should be noted that, the mobile communication network operator may use the video playing delay as the user experience for evaluating the user using the mobile communication network, and the more accurate the video playing delay is, the more accurate the user experience evaluation result is.
Optionally, according to the content provided in fig. 2, determining a selective play timestamp and a play start timestamp corresponding to the selective play identifier:
step 201, extracting entries including both the user identifier of the specified user and the selected play identifier from a pre-stored video play fingerprint table, where each entry in the video play fingerprint table includes a user identifier, a selected play timestamp, and a play start timestamp.
Specifically, a video playing fingerprint table is pre-stored, and each entry in the table includes a user identifier, a play selection timestamp, and a play start timestamp, where the user identifier may be a mobile phone number of a user or other identifiers for uniquely identifying a user identity. One entry in the video play fingerprint table can be uniquely determined according to the user identifier and the selected play identifier.
In specific implementation, a table entry that includes both the user identifier of the specified user and the selected play identifier in step 101 is extracted from the video play fingerprint table.
Step 202, using the selective playing time stamp in the extracted entry as the selective playing time stamp corresponding to the selective playing identifier, and using the playing start time stamp in the extracted entry as the playing start time stamp corresponding to the selective playing identifier.
Specifically, the selective playing timestamp in the extracted entry is used as the selective playing timestamp corresponding to the selective playing identifier in step 101, and the play start timestamp in the extracted entry is used as the play start timestamp corresponding to the selective playing identifier in step 101.
According to the embodiment of the application, the play starting timestamp and the play selecting timestamp corresponding to the play selecting identification can be rapidly acquired from the pre-stored video play fingerprint table, so that the play starting timestamp and the play selecting timestamp corresponding to the play selecting identification are prevented from being searched in a large number of user service records in a traversing manner, and the speed of video play time delay is increased.
Optionally, after determining the video playing delay corresponding to the selective playing identifier in the embodiment provided in fig. 1, the method further includes: and adding the video playing time delay corresponding to the selected playing identifier to the table entry of the selected playing identifier in the video playing index table. Therefore, the corresponding video playing time delay can be conveniently checked, for example, the video playing time delay corresponding to the selected playing identifier can be checked from the video playing fingerprint table according to the selected playing identifier.
Optionally, according to the content provided in fig. 3, the video playing fingerprint table is stored in advance:
step 301, obtaining a stored user service record in a preset time period.
In specific implementation, a user accesses a network through a mobile communication network, a user service record is generated, the user service record can be mirrored to a convergence and distribution processing server through the light splitting device, the user service record is obtained from the convergence and distribution processing server, and the user service record is obtained from the convergence and distribution processing server.
Step 302, extracting the user service record with the service type being the video type from the user service records as a reference service record.
Specifically, the user service related to the embodiment of the present application is a video service, and therefore, the user service record with the service type being a video type is extracted from the stored user service records within the preset time period and is used as a reference service record, so as to obtain a video playing fingerprint table in the following.
And 303, dividing the reference service records carrying the same selective play identifier into a group.
Specifically, after the user selects to play the video, the equipment held by the user sends a URL for indicating that the video is selected to be played to the network side, and then if the video needs to be played before the video starts to be played, the equipment held by the user automatically sends an advertisement playing URL and an advertisement playing ending URL to the network side, and after the advertisement is played and the video sent by the network side is received and buffered to a certain flow response, the URL for indicating that the video starts to be played is automatically sent to the network side; if the advertisement does not need to be played before the video starts to be played, the equipment held by the user automatically sends the URL for indicating the video starts to be played to the network side after receiving the response that the video sent by the network side is buffered to a certain flow. After the user selects to play the video at this time, the URLs generated aiming at the selective playing operation all carry the same selective playing identification, and as the user service records comprise the URLs, the same selective playing identification can correspond to a plurality of reference service records. In this step, the reference service records carrying the same selective play identifier are divided into a group, so as to obtain a reference service record group corresponding to each selective play identifier.
Step 304, for each group of reference service records, extracting a first reference service record carrying the selected playing video operation identifier and a second reference service record carrying the starting playing video operation identifier in the group of reference service records.
Specifically, for each group of reference service records, the reference service record carrying the selective playing operation identifier in the group of reference service records is extracted as a first reference service record, and the reference service record carrying the start playing operation identifier in the group of reference service records is extracted as a second reference service record.
More specifically, a URL indicating that a video is selected to be played in the set of reference service records may be extracted as a first URL, and a URL indicating that the video starts to be played may be extracted as a second URL; and taking the reference service record to which the first URL belongs as a first reference service record, and taking the reference service record to which the second URL belongs as a second reference service record. The URL of the video to be played is selected to carry a play-selecting operation identifier, for example, the content of the field ac in the URL is launch, that is, the operation corresponding to the URL is a video to be played selectively; the URL where the video starts to be played carries the play start operation identifier, for example, the content of the field ac in the URL is play, that is, the operation corresponding to the URL is the video play start operation.
Step 305, using the timestamp in the first reference service record as the selective playing timestamp corresponding to the selective playing identifier corresponding to the group of reference service records, and using the timestamp in the second reference service record as the playing start timestamp corresponding to the selective playing identifier corresponding to the group of reference service records.
Step 306, storing the user identifier of the user corresponding to the group of reference service records, the selective playing identifier corresponding to the group of reference service records, the selective playing timestamp and the playing start timestamp corresponding to the selective playing identifier corresponding to the group of reference service records as a table entry in the video playing fingerprint table.
Specifically, a table entry is generated for each group of reference services, and the obtained table entry generated for each group of reference service records is stored in the video playing fingerprint table. For example, a video playing fingerprint table is described, as shown in table one, the video playing fingerprint table includes a user identifier, a play selection timestamp, and a play start timestamp.
Watch 1
User identification Selection playing identifier Selective play time stamp Start playing time stamp
MSISDN1 UUID1 T11 T12
MSISDN2 UUID2 T21 T22
In table one, the MSISDN is specifically a mobile phone number of a user, and the user identifier may also be other identifiers used for uniquely identifying the user, which is not limited herein.
In specific implementation, a convergence distribution processing server can extract key fields of user service records, and the extracted key fields form new user service records and send the new user service records to a distributed database; generating a video playing fingerprint table by the distributed database according to the new user service record; the distributed database sends the generated video playing fingerprint table to the application server, and the application server executes the step of determining the video playing time delay provided in fig. 1. The key fields comprise service types, user identifications, playing selection identifications, URLs for selecting videos to be played, URLs for starting to play videos, timestamps in service records to which the URLs for selecting videos to be played belong and timestamps in service records to which the URLs for starting to play videos belong. Of course, each of the embodiments provided in the embodiments of the present application may also be executed by an application server, and an execution subject of the embodiments of the present application is not limited herein.
It should be noted that the user identifier, the selective play timestamp, and the play start timestamp in any entry in the generated video play fingerprint table are all not empty, and if there is an entry in which at least one of the user identifier, the selective play timestamp, and the play start timestamp is empty, the entry is deleted.
After the method for determining video playing time delay according to the embodiment of the present application is introduced, a device for determining video playing time delay according to the embodiment of the present application is introduced next.
An embodiment of the present application provides a device for determining video playing time delay, as shown in fig. 4, including:
a first determining module 401, configured to determine, for each selective play identifier of an appointed user, a selective play timestamp and a play start timestamp corresponding to the selective play identifier, where the selective play identifier is generated according to a selective play video operation corresponding to the appointed user within a preset time period, and the selective play identifiers corresponding to videos that are selectively played each time are different;
a second determining module 402, configured to determine a duration corresponding to a difference between the play start timestamp and the play selection timestamp as a video play delay corresponding to the play selection identifier, where the video play delay is a duration required by the specified user to select to play the video corresponding to the play selection identifier and view the video corresponding to the play selection identifier.
Optionally, the first determining module 401 is specifically configured to:
extracting entries which simultaneously comprise the user identification of the specified user and the selective playing identification from a pre-stored video playing fingerprint table, wherein each entry in the video playing fingerprint table comprises a user identification, a selective playing timestamp and a playing starting timestamp;
and taking the selective playing time stamp in the extracted table entry as the selective playing time stamp corresponding to the selective playing identifier, and taking the play starting time stamp in the extracted table entry as the play starting time stamp corresponding to the selective playing identifier.
Optionally, the apparatus for determining video playing delay provided in this embodiment of the present application further includes:
a storage module 403, configured to store the video playing fingerprint table in advance in the following manner:
acquiring a stored user service record in a preset time period;
extracting the user service record with the service type being the video type from the user service records as a reference service record;
dividing the reference service records carrying the same selective playing identifier into a group;
aiming at each group of reference service records, extracting a first reference service record carrying a selective playing video operation identifier and a second reference service record carrying a starting playing video operation identifier in the group of reference service records;
and taking the timestamp in the first service reference service record as a selective playing timestamp corresponding to the selective playing identifier corresponding to the group of reference service records, and taking the timestamp in the second reference service record as a playing starting timestamp corresponding to the selective playing identifier corresponding to the group of reference service records.
And storing the user identifier of the user corresponding to the group of reference service records, the selective playing identifier corresponding to the group of reference service records, the selective playing timestamp and the playing start timestamp corresponding to the selective playing identifier corresponding to the group of reference service records into the video playing fingerprint table as an entry.
Optionally, when the storage module 403 extracts the first reference service record and the second reference service record, it is specifically configured to:
extracting a first Uniform Resource Locator (URL) used for indicating that a video is selected to be played and a second URL used for indicating that the video is started to be played in the group of reference service records;
and taking the reference service record to which the first URL belongs as a first reference service record, and taking the reference service record to which the second URL belongs as a second reference service record.
Optionally, the apparatus for determining video playing delay provided in this embodiment of the present application further includes:
a deleting module 404, configured to delete the entry to which the selected playing identifier belongs in the video playing fingerprint table after the second determining module determines that the video playing delay corresponding to the selected playing identifier is delayed.
After the method and the apparatus for determining video playing latency according to the embodiments of the present application are introduced, a computer storage medium for determining video playing latency according to the embodiments of the present application is introduced next.
The embodiment of the application provides a computer storage medium, wherein an executable program is stored in the computer storage medium, and the executable program is executed by a processor to implement the steps of the method for determining the video playing time delay. Optionally, the computer storage media is non-volatile computer storage media.
Having described the method, apparatus, and medium for determining video playback delay according to embodiments of the present application, a computing device for determining video playback delay according to embodiments of the present application is described next.
The embodiment of the present application provides a computing device, which includes a memory, a processor, and a computer program stored on the memory, where the processor implements the steps of any method for determining video playing time delay in the foregoing embodiments when executing the program.
An embodiment of the present application provides a computing device, configured to execute the method for determining video playing delay in the foregoing embodiment, as shown in fig. 5, which is a schematic diagram of a hardware structure of the computing device in the implementation of the present application, where the computing device may specifically be a desktop computer, a portable computer, a smart phone, a tablet computer, and the like. Specifically, the computing device may include a memory 501, a processor 502 and a computer program stored on the memory, wherein the processor executes the program to implement the steps of any one of the above-mentioned methods for determining video playback latency. Memory 501 may include Read Only Memory (ROM) and Random Access Memory (RAM), among other things, and provides processor 502 with program instructions and data stored in memory 501.
Further, the computing device described in this embodiment of the present application may further include an input device 503, an output device 504, and the like. The input device 503 may include a keyboard, a mouse, a touch screen, etc.; the output device 504 may include a Display device such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), a touch screen, or the like. The memory 501, the processor 502, the input device 503 and the output device 504 may be connected by a bus or other means, and fig. 5 illustrates the connection by a bus as an example.
The processor 502 calls the program instructions stored in the memory 501 and executes the method for determining the video playing time delay provided by the above embodiment according to the obtained program instructions.
By utilizing the method, the device, the medium and the equipment for determining the video playing time delay, the following beneficial effects are achieved: after the user selects the playing video, the video playing time delay is calculated according to the selected playing time stamp corresponding to the selected playing identification and the playing starting time stamp, a more simple and convenient video playing time delay calculation mode is provided, system resources are saved, and parameters for calculating the video playing time delay are not required to be set by technical staff experience in the calculation process of the video playing time delay, so that the video playing time delay with higher accuracy can be obtained.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (8)

1.一种确定视频播放时延的方法,其特征在于,包括:1. a method for determining video playback time delay, is characterized in that, comprises: 针对指定用户的每个选择播放标识,确定该选择播放标识对应的选择播放时间戳以及开始播放时间戳,其中,所述选择播放标识根据指定用户在预设时间段内对应的选择播放视频操作生成,每次被选择播放的视频所对应的选择播放标识不同;For each selection and playback identifier of the designated user, determine the selection and playback time stamp and the start-playing time stamp corresponding to the selection and playback identifier, wherein the selection and playback identifier is generated according to the operation of selecting and playing the video corresponding to the designated user within a preset time period. , the selected playback identifiers corresponding to the videos selected to be played are different each time; 将所述开始播放时间戳与所述选择播放时间戳的差值对应的时长,确定为该选择播放标识对应的视频播放时延,其中,视频播放时延为所述指定用户选择播放该选择播放标识对应的视频到观看到该选择播放标识对应的视频所需的时长;Determining the duration corresponding to the difference between the start playback timestamp and the selected playback timestamp as the video playback delay corresponding to the selected playback identifier, wherein the video playback delay is the selected playback selected by the designated user. The time required for the identification of the corresponding video to the viewing of the video corresponding to the selected playback identification; 其中,确定该选择播放标识对应的选择播放时间戳以及开始播放时间戳,具体包括:Wherein, determining the selected playback time stamp and the start playback time stamp corresponding to the selected playback identification specifically includes: 从预先存储的视频播放指纹表中,提取同时包括所述指定用户的用户标识以及该选择播放标识的表项,其中,所述视频播放指纹表中每个表项包括用户标识、选择播放标识、选择播放时间戳以及开始播放时间戳;From the pre-stored video playback fingerprint table, extract entries that include both the user ID of the designated user and the selection playback ID, wherein each entry in the video playback fingerprint table includes a user ID, a selection playback ID, Select playback timestamp and start playback timestamp; 将提取的表项中的选择播放时间戳作为该选择播放标识对应的选择播放时间戳,将提取的表项中的开始播放时间戳作为该选择播放标识对应的开始播放时间戳;Using the selection play time stamp in the extracted entry as the selection play time stamp corresponding to the selection play mark, and using the start play time stamp in the extracted entry as the start play time stamp corresponding to the selection play mark; 进一步的,采用如下方式预先存储所述视频播放指纹表:Further, the video playback fingerprint table is pre-stored in the following manner: 获取保存的预设时间段内的用户业务记录;Obtain the user's business records within the saved preset time period; 提取所述用户业务记录中业务类型为视频类型的用户业务记录,作为参考业务记录;Extracting the user service record whose service type is video type in the user service record, as a reference service record; 将参考业务记录中携带同一选择播放标识的参考业务记录划分到一组;Divide the reference service records that carry the same selection and playback identifier in the reference service records into one group; 针对每组参考业务记录,提取该组参考业务记录中携带选择播放视频操作标识的第一参考业务记录以及携带开始播放视频操作标识的第二参考业务记录;For each group of reference service records, extract the first reference service record carrying the operation identifier of selecting and playing video and the second reference service record carrying the operation identifier of starting to play video in the group of reference service records; 将所述第一参考业务记录中的时间戳,作为该组参考业务记录对应的选择播放标识对应的选择播放时间戳,以及,将所述第二参考业务记录中的时间戳,作为该组参考业务记录对应的选择播放标识对应的开始播放时间戳;Use the time stamp in the first reference service record as the selection play time stamp corresponding to the selection play mark corresponding to the group reference service record, and use the time stamp in the second reference service record as the group reference the start time stamp corresponding to the selected play identifier corresponding to the service record; 将该组参考业务记录对应的用户的用户标识、该组参考业务记录对应的选择播放标识、该组参考业务记录对应的选择播放标识对应的选择播放时间戳和开始播放时间戳作为一个表项,存储到所述视频播放指纹表中。The user ID of the user corresponding to the group of reference service records, the selection play mark corresponding to the group reference service record, the selection play time stamp and the start play time stamp corresponding to the selection play mark corresponding to the group reference service record are used as an entry, Stored in the video playback fingerprint table. 2.根据权利要求1所述的方法,其特征在于,提取第一参考业务记录以及第二参考业务记录,具体包括:2. The method according to claim 1, wherein extracting the first reference service record and the second reference service record specifically comprises: 提取该组参考业务记录中用于表示选择播放视频的第一统一资源定位符URL,以及,用于表示开始播放该视频的第二URL;Extract the first Uniform Resource Locator URL that is used to indicate that the video is selected to be played in the group of reference service records, and the second URL that is used to indicate that the video is started to be played; 将所述第一统一资源定位符URL所属的参考业务记录作为第一参考业务记录,以及,将所述第二URL所属的参考业务记录作为第二参考业务记录。The reference service record to which the first uniform resource locator URL belongs is used as the first reference service record, and the reference service record to which the second URL belongs is used as the second reference service record. 3.根据权利要求1-2任一所述的方法,其特征在于,确定该选择播放标识对应的视频播放时延之后,还包括:3. The method according to any one of claims 1-2, characterized in that, after determining the video playback time delay corresponding to the selection playback identifier, further comprising: 删除所述视频播放指纹表中该选择播放标识所属的表项。Delete the entry in the video playback fingerprint table to which the selected playback identifier belongs. 4.一种确定视频播放时延的装置,其特征在于,包括:4. a device for determining video playback time delay, is characterized in that, comprises: 第一确定模块,用于针对指定用户的每个选择播放标识,确定该选择播放标识对应的选择播放时间戳以及开始播放时间戳,其中,所述选择播放标识根据指定用户在预设时间段内对应的选择播放视频操作生成,每次被选择播放的视频所对应的选择播放标识不同;The first determination module is configured to determine the selection and playback time stamp and the start-playing time stamp corresponding to the selection and playback ID for each selection and playback ID of the specified user, wherein the selection and playback ID is within a preset time period according to the specified user. The corresponding selection and playback video operations are generated, and the selection and playback identifiers corresponding to the videos selected for playback each time are different; 第二确定模块,用于将所述开始播放时间戳与所述选择播放时间戳的差值对应的时长,确定为该选择播放标识对应的视频播放时延,其中,视频播放时延为所述指定用户选择播放该选择播放标识对应的视频到观看到该选择播放标识对应的视频所需的时长;The second determining module is configured to determine the duration corresponding to the difference between the start playing time stamp and the selected playing time stamp as the video playing delay corresponding to the selected playing identifier, wherein the video playing delay is the Specify the time required for the user to choose to play the video corresponding to the selected play mark to watch the video corresponding to the selected play mark; 其中,所述第一确定模块,具体用于:Wherein, the first determining module is specifically used for: 从预先存储的视频播放指纹表中,提取同时包括所述指定用户的用户标识以及该选择播放标识的表项,其中,所述视频播放指纹表中每个表项包括用户标识、选择播放标识、选择播放时间戳以及开始播放时间戳;From the pre-stored video playback fingerprint table, extract entries that include both the user ID of the designated user and the selection playback ID, wherein each entry in the video playback fingerprint table includes a user ID, a selection playback ID, Select playback timestamp and start playback timestamp; 将提取的表项中的选择播放时间戳作为该选择播放标识对应的选择播放时间戳,将提取的表项中的开始播放时间戳作为该选择播放标识对应的开始播放时间戳;Taking the selection play time stamp in the extracted entry as the selection play time stamp corresponding to the selection play mark, and using the start play time stamp in the extracted entry as the start play time stamp corresponding to the selection play mark; 进一步的,还包括:Further, it also includes: 存储模块,用于采用如下方式预先存储所述视频播放指纹表:A storage module, used to pre-store the video playback fingerprint table in the following manner: 获取保存的预设时间段内的用户业务记录;Obtain the user's business records within the saved preset time period; 提取所述用户业务记录中业务类型为视频类型的用户业务记录,作为参考业务记录;Extracting the user service record whose service type is video type in the user service record, as a reference service record; 将参考业务记录中携带同一选择播放标识的参考业务记录划分到一组;Divide the reference service records that carry the same selection and playback identifier in the reference service records into one group; 针对每组参考业务记录,提取该组参考业务记录中携带选择播放视频操作标识的第一参考业务记录以及携带开始播放视频操作标识的第二参考业务记录;For each group of reference service records, extract the first reference service record carrying the operation identifier of selecting and playing video and the second reference service record carrying the operation identifier of starting to play video in the group of reference service records; 将所述第一参考业务记录中的时间戳,作为该组参考业务记录对应的选择播放标识对应的选择播放时间戳,以及,将所述第二参考业务记录中的时间戳,作为该组参考业务记录对应的选择播放标识对应的开始播放时间戳;Use the time stamp in the first reference service record as the selection play time stamp corresponding to the selection play mark corresponding to the group reference service record, and use the time stamp in the second reference service record as the group reference the start time stamp corresponding to the selected play identifier corresponding to the service record; 将该组参考业务记录对应的用户的用户标识、该组参考业务记录对应的选择播放标识、该组参考业务记录对应的选择播放标识对应的选择播放时间戳和开始播放时间戳作为一个表项,存储到所述视频播放指纹表中。The user ID of the user corresponding to the group of reference service records, the selection play mark corresponding to the group reference service record, the selection play time stamp and the start play time stamp corresponding to the selection play mark corresponding to the group reference service record are used as an entry, Stored in the video playback fingerprint table. 5.根据权利要求4所述的装置,其特征在于,所述存储模块在提取第一参考业务记录以及第二参考业务记录时,具体用于:5. The device according to claim 4, wherein, when the storage module extracts the first reference service record and the second reference service record, it is specifically used for: 提取该组参考业务记录中用于表示选择播放视频的第一统一资源定位符URL,以及,用于表示开始播放该视频的第二URL;Extract the first Uniform Resource Locator URL that is used to indicate that the video is selected to be played in the group of reference service records, and the second URL that is used to indicate that the video is started to be played; 将所述第一统一资源定位符URL所属的参考业务记录作为第一参考业务记录,以及,将所述第二URL所属的参考业务记录作为第二参考业务记录。The reference service record to which the first uniform resource locator URL belongs is used as the first reference service record, and the reference service record to which the second URL belongs is used as the second reference service record. 6.根据权利要求4-5任一所述的装置,其特征在于,还包括:6. The device according to any one of claims 4-5, characterized in that, further comprising: 删除模块,用于在所述第二确定模块确定该选择播放标识对应的视频播放时延之后,删除所述视频播放指纹表中该选择播放标识所属的表项。The deletion module is configured to delete the entry to which the selected playback ID belongs in the video playback fingerprint table after the second determination module determines the video playback delay corresponding to the selected playback ID. 7.一种计算机存储介质,其特征在于,所述计算机存储介质存储有可执行程序,该可执行程序被处理器执行实现权利要求1-3任一所述方法的步骤。7. A computer storage medium, wherein the computer storage medium stores an executable program, and the executable program is executed by a processor to implement the steps of any one of the methods of claims 1-3. 8.一种计算设备,其特征在于,包括存储器、处理器及存储在存储器上的计算机程序,所述处理器执行所述程序时实现权利要求1-3任一所述方法的步骤。8. A computing device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor implements the steps of any one of the methods of claims 1-3 when the processor executes the program.
CN201711462192.8A 2017-12-28 2017-12-28 A method, device, medium and device for determining video playback delay Active CN109982143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711462192.8A CN109982143B (en) 2017-12-28 2017-12-28 A method, device, medium and device for determining video playback delay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711462192.8A CN109982143B (en) 2017-12-28 2017-12-28 A method, device, medium and device for determining video playback delay

Publications (2)

Publication Number Publication Date
CN109982143A CN109982143A (en) 2019-07-05
CN109982143B true CN109982143B (en) 2021-04-23

Family

ID=67074871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711462192.8A Active CN109982143B (en) 2017-12-28 2017-12-28 A method, device, medium and device for determining video playback delay

Country Status (1)

Country Link
CN (1) CN109982143B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554237B (en) * 2022-02-18 2023-12-26 北京有竹居网络技术有限公司 Information processing method, device and equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021888A (en) * 2007-03-20 2007-08-22 陆小潮 Monitoring device and method for digital multimedia content playing
CN203151681U (en) * 2013-01-21 2013-08-21 北京十分科技有限公司 Detection system for remote media playing signal time delay
CN103905881A (en) * 2014-03-13 2014-07-02 北京奇艺世纪科技有限公司 Video data and audio data synchronized playing method and device and equipment
CN103905879A (en) * 2014-03-13 2014-07-02 北京奇艺世纪科技有限公司 Video data and audio data synchronized playing method and device and equipment
CN106469388A (en) * 2015-08-18 2017-03-01 阿里巴巴集团控股有限公司 The implementation method of user comment and device
CN106792069A (en) * 2015-11-19 2017-05-31 北京国双科技有限公司 Method for broadcasting multimedia file and device
CN106899843A (en) * 2016-03-24 2017-06-27 中国移动通信集团设计院有限公司 A kind of video service quality appraisal procedure and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8149530B1 (en) * 2006-04-12 2012-04-03 Winview, Inc. Methodology for equalizing systemic latencies in television reception in connection with games of skill played in connection with live television programming
US8990673B2 (en) * 2008-05-30 2015-03-24 Nbcuniversal Media, Llc System and method for providing digital content

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021888A (en) * 2007-03-20 2007-08-22 陆小潮 Monitoring device and method for digital multimedia content playing
CN203151681U (en) * 2013-01-21 2013-08-21 北京十分科技有限公司 Detection system for remote media playing signal time delay
CN103905881A (en) * 2014-03-13 2014-07-02 北京奇艺世纪科技有限公司 Video data and audio data synchronized playing method and device and equipment
CN103905879A (en) * 2014-03-13 2014-07-02 北京奇艺世纪科技有限公司 Video data and audio data synchronized playing method and device and equipment
CN106469388A (en) * 2015-08-18 2017-03-01 阿里巴巴集团控股有限公司 The implementation method of user comment and device
CN106792069A (en) * 2015-11-19 2017-05-31 北京国双科技有限公司 Method for broadcasting multimedia file and device
CN106899843A (en) * 2016-03-24 2017-06-27 中国移动通信集团设计院有限公司 A kind of video service quality appraisal procedure and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《多媒体通信中的音视频同步问题研究》;刘可钊;《中国优秀硕士学位论文全文数据库》;20070615;全文 *

Also Published As

Publication number Publication date
CN109982143A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN108683952B (en) Video content segment pushing method and device based on interactive video
CN105163142B (en) A kind of user preference determines method, video recommendation method and system
CN106528813A (en) Multimedia recommendation method and apparatus
CN109766176B (en) Scanning progress calculation method and device based on large-scale network space detection
CN111177165B (en) Method, device and device for data consistency detection
CN103365928B (en) Information recommendation method and information recommendation device
CN109309596A (en) A kind of method for testing pressure, device and server
CN110941738A (en) Recommendation method and device, electronic equipment and computer-readable storage medium
CN111225246B (en) Video recommendation method and device and electronic equipment
CN103997662A (en) Program pushing method and system
CN110674345A (en) Video searching method and device and server
CN112764988A (en) Data segmentation acquisition method and device
CN109189810B (en) Query method, apparatus, electronic device, and computer-readable storage medium
CN104853251A (en) Online collection method and device for multimedia data
WO2015148420A1 (en) User inactivity aware recommendation system
CN114629929A (en) Log recording method, device and system
TWI673670B (en) Menthod and device for processing the voice message of returning visit
CN106998476B (en) Video viewing method and device based on geographic information system
CN109982143B (en) A method, device, medium and device for determining video playback delay
CN110781191B (en) Processing method of layout data and server
CN110097113B (en) Method, device and system for monitoring working state of display information delivery system
CN104268189B (en) Evaluate the method and device of application
CN116610308B (en) Code management method and device, electronic equipment and storage medium
CN104750752B (en) A kind of determining method and apparatus for the preferences user group that surfs the Internet
CN111263195B (en) Barrage processing method and device, server equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant