CN117135399A - Video jamming detection method and device, electronic equipment and storage medium - Google Patents
Video jamming detection method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117135399A CN117135399A CN202310726212.7A CN202310726212A CN117135399A CN 117135399 A CN117135399 A CN 117135399A CN 202310726212 A CN202310726212 A CN 202310726212A CN 117135399 A CN117135399 A CN 117135399A
- Authority
- CN
- China
- Prior art keywords
- video
- image
- images
- marking
- information
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 80
- 238000000034 method Methods 0.000 claims description 65
- 230000015654 memory Effects 0.000 claims description 27
- 238000012545 processing Methods 0.000 claims description 22
- 230000015572 biosynthetic process Effects 0.000 claims description 13
- 238000003786 synthesis reaction Methods 0.000 claims description 13
- 238000000605 extraction Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 7
- 230000000903 blocking effect Effects 0.000 abstract 2
- 238000010586 diagram Methods 0.000 description 17
- 230000008014 freezing Effects 0.000 description 15
- 238000007710 freezing Methods 0.000 description 15
- 238000005516 engineering process Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 238000012360 testing method Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 208000003028 Stuttering Diseases 0.000 description 3
- 238000002372 labelling Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring 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/44204—Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
技术领域Technical field
本发明涉及图像处理技术领域,尤其涉及一种视频卡顿检测方法、装置、电子设备及存储介质。The present invention relates to the field of image processing technology, and in particular to a video freeze detection method, device, electronic equipment and storage medium.
背景技术Background technique
随着多媒体技术的快速发展,使得对多媒体文件比如视频的用户体验程度的要求越来越高,其中,视频播放的流畅程度是用户比较关心的问题。With the rapid development of multimedia technology, the requirements for the user experience of multimedia files such as videos are getting higher and higher. Among them, the smoothness of video playback is a problem that users are more concerned about.
在相关技术中,为了确定视频播放的流畅度,通常是通过观测测试设备播放视频的卡顿情况来确定的,而观测测试设备播放视频是否卡顿是人工主观性地去判断,从而导致对视频卡顿检测的检测精度低、错误率高,无法满足不同用户的视频播放流畅度的需求。In related technologies, in order to determine the smoothness of video playback, it is usually determined by observing the stuttering situation of the video played by the test device. However, observing whether the video played by the test device is stuttered is manually and subjectively judged, which leads to the failure of the video. The detection accuracy of freeze detection is low and the error rate is high, which cannot meet the video playback smoothness needs of different users.
因此,如何实现简单有效的视频卡顿检测是一项亟需解决的问题。Therefore, how to implement simple and effective video freeze detection is an urgent problem that needs to be solved.
发明内容Contents of the invention
本发明实施例的目的是提供一种视频卡顿检测方法、装置、电子设备及存储介质,以解决相关技术中视频卡顿检测的检测精度低、错误率高的技术问题。The purpose of the embodiments of the present invention is to provide a video freeze detection method, device, electronic equipment and storage medium to solve the technical problems of low detection accuracy and high error rate of video freeze detection in related technologies.
第一方面,本发明实施例提供了一种视频卡顿检测方法,包括:In a first aspect, embodiments of the present invention provide a video freeze detection method, including:
对待检测视频进行标记处理,得到含有标记信息的第一视频;Mark the video to be detected to obtain the first video containing marked information;
录制所述第一视频的播放过程,得到第二视频;Record the playback process of the first video to obtain a second video;
获取所述第二视频中目标时间段内采集到的标记信息;Obtain mark information collected within the target time period in the second video;
根据所述第二视频的视频帧率,以及所述采集到的标记信息,确定所述播放过程的卡顿结果。According to the video frame rate of the second video and the collected mark information, the freezing result of the playback process is determined.
第二方面,本发明实施例提供了一种视频卡顿检测装置,包括:In a second aspect, an embodiment of the present invention provides a video freeze detection device, including:
标记模块,用于对待检测视频进行标记处理,得到含有标记信息的第一视频;The marking module is used to mark the video to be detected and obtain the first video containing marked information;
录制模块,用于录制所述第一视频的播放过程,得到第二视频;A recording module, used to record the playback process of the first video to obtain the second video;
获取模块,用于获取所述第二视频中目标时间段内采集到的标记信息;An acquisition module, used to acquire the mark information collected within the target time period in the second video;
卡顿检测模块,用于根据所述第二视频的视频帧率,以及所述采集到的标记信息,确定所述播放过程的卡顿结果。A freeze detection module is configured to determine the freeze result of the playback process based on the video frame rate of the second video and the collected mark information.
在一些实施例中,所述标记模块包括提取单元、标记单元以及合成单元;In some embodiments, the marking module includes an extraction unit, a marking unit and a synthesis unit;
所述提取单元,用于对所述待检测视频进行图像帧提取处理,得到若干个第一图像;The extraction unit is used to perform image frame extraction processing on the video to be detected to obtain several first images;
所述标记单元,用于根据所述第一图像在所述待检测视频中的图像帧序号,对所述第一图像进行标记处理,得到若干个含有标记信息的第二图像,其中,所述标记信息与所述图像帧序号相对应;The marking unit is configured to perform marking processing on the first image according to the image frame number of the first image in the video to be detected, so as to obtain several second images containing marking information, wherein, the The mark information corresponds to the image frame serial number;
所述合成单元,用于对若干个所述第二图像进行视频合成处理,得到含有标记信息的第一视频。The synthesis unit is configured to perform video synthesis processing on a plurality of the second images to obtain a first video containing mark information.
在一些实施例中,所述标记单元具体用于根据所述第一图像的图像帧序号,生成与所述图像帧序号相关联的标记信息;将所述标记信息添加至所述第一图像中,得到若干个含有标记信息的第二图像。In some embodiments, the marking unit is specifically configured to generate marking information associated with the image frame number according to the image frame number of the first image; and add the marking information to the first image. , obtain several second images containing mark information.
在一些实施例中,所述标记信息包括二维码信息;In some embodiments, the mark information includes QR code information;
所述标记单元具体还用于将所述二维码信息以图像的形式,添加至所述第一图像中,得到若干个含有二维码图像的第二图像,其中,所述二维码图像的尺寸小于所述第一图像的尺寸。The marking unit is specifically configured to add the QR code information to the first image in the form of an image to obtain several second images containing QR code images, wherein the QR code image The size is smaller than the size of the first image.
在一些实施例中,所述标记单元具体还用于在所述第一图像中构建标记区域,所述标记区域的像素值与非标记区域的像素值不同,所述非标记区域为所述第一图像中除所述标记区域以外的区域;将所述标记信息添加到所述标记区域中,得到若干个含有标记信息的第二图像。In some embodiments, the marking unit is specifically configured to construct a marked area in the first image, the pixel values of the marked area are different from the pixel values of the non-marked area, and the non-marked area is the third An area in an image other than the marked area; adding the marked information to the marked area to obtain several second images containing marked information.
在一些实施例中,所述合成单元具体用于根据所述标记信息对应的图像帧序号,将若干个所述第二图像进行排序,得到若干个排序后的第二图像;以目标视频帧率对所述若干个排序后的第二图像进行视频重构,得到含有标记信息的第一视频。In some embodiments, the synthesis unit is specifically configured to sort a plurality of the second images according to the image frame sequence number corresponding to the mark information to obtain a plurality of sorted second images; at the target video frame rate Video reconstruction is performed on the plurality of sorted second images to obtain a first video containing mark information.
在一些实施例中,卡顿检测模块,包括第一确定单元、第二确定单元以及卡顿检测单元;In some embodiments, the jam detection module includes a first determination unit, a second determination unit and a jam detection unit;
所述第一确定单元,用于确定所述采集到的标记信息对应的各帧图像的图像帧序号;The first determining unit is used to determine the image frame sequence number of each frame of image corresponding to the collected mark information;
所述第二确定单元,用于确定所述各帧图像的图像帧序号中,序号最小的第一图像帧序号和序号最大的第二图像帧序号;The second determining unit is used to determine the first image frame number with the smallest number and the second image frame number with the largest number among the image frame numbers of each frame image;
所述卡顿检测单元,用于根据所述第一图像帧序号和所述第二图像帧序号之间的差值、所述目标时间段的时间长度,以及所述第二视频的视频帧率,确定所述播放过程的卡顿结果。The freeze detection unit is configured to determine the difference between the first image frame number and the second image frame number, the length of the target time period, and the video frame rate of the second video. , determine the jamming result of the playback process.
第三方面,本发明实施例提供了一种电子设备,电子设备包括处理器、存储器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述任一项所述的视频卡顿检测方法中的步骤。In a third aspect, embodiments of the present invention provide an electronic device. The electronic device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. The processor executes the computer program. The program implements the steps in any of the above video freeze detection methods.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项所述的视频卡顿检测方法中的步骤。In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the video freezing described in any of the above items is achieved. Steps in the detection method.
本发明实施例提供了一种视频卡顿检测方法、装置、电子设备及存储介质,该方法通过对待检测视频进行标记处理,能够得到含有标记信息的第一视频,并通过录制第一视频的播放过程得到第二视频,从而能够根据第二视频中目标时间段内采集到的标记信息,以及第二视频的视频帧率,实现对播放过程的卡顿检测。采用本发明实施例,能够在不依赖待检测视频的视频信息的情况下,实现对待检测视频的卡顿检测,提高了视频卡顿检测的效率。Embodiments of the present invention provide a video freeze detection method, device, electronic equipment and storage medium. The method can obtain a first video containing marked information by marking the video to be detected, and record the playback of the first video. The second video is obtained in the process, so that the stuck detection of the playback process can be realized based on the mark information collected within the target time period in the second video and the video frame rate of the second video. By adopting the embodiments of the present invention, it is possible to implement freeze detection in the video to be detected without relying on the video information of the video to be detected, thereby improving the efficiency of video freeze detection.
附图说明Description of the drawings
图1是本发明实施例提供的视频卡顿检测方法的一种流程示意图;Figure 1 is a schematic flow chart of a video freeze detection method provided by an embodiment of the present invention;
图2是本发明实施例提供的含有标记信息的第二图像的一种示意图;Figure 2 is a schematic diagram of a second image containing mark information provided by an embodiment of the present invention;
图3是本发明实施例提供的含有标记信息的第二图像的另一种示意图;Figure 3 is another schematic diagram of a second image containing mark information provided by an embodiment of the present invention;
图4是本发明实施例提供的视频卡顿检测原理的一种流程示意图;Figure 4 is a schematic flow chart of the video freeze detection principle provided by an embodiment of the present invention;
图5是图4对应的应用场景示意图;Figure 5 is a schematic diagram of the application scenario corresponding to Figure 4;
图6是本发明实施例提供的视频卡顿检测装置的一种结构示意图;Figure 6 is a schematic structural diagram of a video freeze detection device provided by an embodiment of the present invention;
图7是本发明实施例提供的标记模块的一种结构示意图;Figure 7 is a schematic structural diagram of a marking module provided by an embodiment of the present invention;
图8是本发明实施例提供的卡顿检测模块的一种结构示意图;Figure 8 is a schematic structural diagram of a jam detection module provided by an embodiment of the present invention;
图9是本发明实施例提供的电子设备的一种结构示意图;Figure 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;
图10是本发明实施例提供的电子设备的另一种结构示意图。FIG. 10 is another schematic structural diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present invention.
应当理解的是,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that various steps described in the method implementations of the present disclosure may be executed in different orders and/or in parallel. Furthermore, method embodiments may include additional steps and/or omit performance of illustrated steps. The scope of the present disclosure is not limited in this regard.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "include" and its variations are open-ended, ie, "including but not limited to." The term "based on" means "based at least in part on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; and the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below.
在相关技术中,为了确定视频播放的流畅度,通常是通过观测测试设备播放视频的卡顿情况来确定的,而观测测试设备播放视频是否卡顿是人工主观性地去判断,从而导致对视频卡顿检测的检测精度低、错误率高,无法满足不同用户的视频播放流畅度的需求。In related technologies, in order to determine the smoothness of video playback, it is usually determined by observing the stuttering situation of the video played by the test device. However, observing whether the video played by the test device is stuttered is manually and subjectively judged, which leads to the failure of the video. The detection accuracy of freeze detection is low and the error rate is high, which cannot meet the video playback smoothness needs of different users.
因此,如何实现简单有效的视频卡顿检测是一项亟需解决的问题。Therefore, how to implement simple and effective video freeze detection is an urgent problem that needs to be solved.
为了解决相关技术中存在的技术问题,本发明实施例提供了一种视频卡顿检测方法,请参见图1,图1是本发明实施例提供的视频卡顿检测方法的一种流程示意图,该方法包括步骤101至步骤104;In order to solve the technical problems existing in the related art, an embodiment of the present invention provides a video freeze detection method. Please refer to Figure 1. Figure 1 is a schematic flow chart of the video freeze detection method provided by an embodiment of the present invention. The method includes steps 101 to 104;
步骤101,对待检测视频进行标记处理,得到含有标记信息的第一视频。Step 101: Mark the video to be detected to obtain a first video containing mark information.
在相关技术中,通常是观测播放待检测视频的卡顿情况来完成视频的卡顿检测,而通过人工主观性地去通过肉眼去观察视频卡顿情况的错误率较高,无法提高视频卡顿检测的检测精度。因此,本申请通过对待检测视频进行标记处理,从而能够得到含有标记信息的第一视频,然后通过播放该第一视频,并在播放过程中对第一视频中的标记信息进行识别,能够基于第一视频中的标记信息确定播放过程的卡顿情况,相比于人工主观性地通过肉眼去观察视频卡顿情况,本申请能够为视频卡顿情况的判断提供可靠的判断标准,有效的调了视频卡顿检测的检测精度。In related technologies, video freeze detection is usually accomplished by observing the freeze situation of the video to be detected. However, manually and subjectively observing the video freeze situation with the naked eye has a high error rate and cannot improve video freeze. The detection accuracy of the test. Therefore, this application can obtain the first video containing the mark information by performing mark processing on the video to be detected, and then play the first video and identify the mark information in the first video during the playback process, so as to obtain the first video based on the third video. The mark information in a video determines the freezing situation during the playback process. Compared with manually observing the video freezing situation subjectively with the naked eye, this application can provide reliable judgment standards for the judgment of video freezing situations, and effectively adjust the video freezing situation. Detection accuracy of video stutter detection.
在一些实施例中,本实施提供的标记处理可以是对待检测视频中的每帧图像进行标记,从而在待检测视频中的每帧图像中生成特定的标记信息,从而便于后续对含有标记的待检测视频即第一视频进行视频卡顿检测时,能够基于每帧图像中含有的标记信息,确定视频播放的卡顿情况。In some embodiments, the marking process provided by this implementation may be to mark each frame of the image in the video to be detected, thereby generating specific marking information in each frame of the image in the video to be detected, thereby facilitating subsequent processing of the marked to-be-contained images. When detecting video freezes, that is, the first video, the freeze status of the video playback can be determined based on the mark information contained in each frame of the image.
具体的,本实施例提供的对待检测视频进行标记处理,得到含有标记信息的第一视频的步骤,可以为:对待检测视频进行图像帧提取处理,得到若干个第一图像;根据第一图像在待检测视频中的图像帧序号,对第一图像进行标记处理,得到若干个含有标记信息的第二图像;对若干个第二图像进行视频合成处理,得到含有标记信息的第一视频。Specifically, this embodiment provides a step of labeling the video to be detected to obtain the first video containing label information: performing image frame extraction processing on the video to be detected to obtain several first images; The image frame number in the video to be detected is marked, and the first image is marked to obtain several second images containing marked information; the video synthesis process is performed on several second images to obtain the first video containing marked information.
由于视频是由多张连续帧序号的图像构成的,因此本实施例提供的图像帧提取处理主要是将待检测视频进行拆分,以将待检测视频拆分为多张连续帧序号的图像,也即本实施例提供的第一图像。然后根据每张第一图像对应的图像帧序号,对对应的第一图像进行标记处理,即可得到多张含有标记信息的第二图像。其中,本实施例提供的标记信息与图像帧序号相对应,从而根据标记信息即可确定第二图像在对应视频中所处的图像帧序号。Since the video is composed of multiple images with consecutive frame numbers, the image frame extraction process provided in this embodiment mainly splits the video to be detected into multiple images with consecutive frame numbers. That is, the first image provided by this embodiment. Then, according to the image frame number corresponding to each first image, the corresponding first image is marked, and a plurality of second images containing marked information can be obtained. The mark information provided by this embodiment corresponds to the image frame number, so that the image frame number of the second image in the corresponding video can be determined based on the mark information.
在本实施例中,本实施例提供的标记信息可以是与每帧图像的图像帧序号相关的信息,如此,即可根据标记信息确定播放过程中已播放的各帧图像的图像帧序号,进而便于后续根据图像帧序号完成对视频的卡顿检测处理。具体的,本实施例提供的根据第一图像在待检测视频中的图像帧序号,对第一图像进行标记处理,得到若干个含有标记信息的第二图像的步骤,可以为:根据第一图像的图像帧序号,生成与图像帧序号相关联的标记信息;将标记信息添加至第一图像中,得到若干个含有标记信息的第二图像。In this embodiment, the mark information provided by this embodiment can be information related to the image frame serial number of each frame of image. In this way, the image frame serial number of each frame of image that has been played during the playback process can be determined based on the mark information, and then This facilitates the subsequent completion of video freeze detection processing based on the image frame sequence number. Specifically, this embodiment provides a step of labeling the first image according to the image frame number of the first image in the video to be detected, and obtaining several second images containing label information, which may be: according to the first image The image frame serial number is used to generate tag information associated with the image frame serial number; the tag information is added to the first image to obtain several second images containing tag information.
其中,本实施例提供的待检测视频可以包括n帧图像,则本实施例提供的图像帧序号可以为1、2、3、……、n,标记信息可以在识别后得到对应的图像帧序号。Among them, the video to be detected provided by this embodiment may include n frames of images, then the image frame serial numbers provided by this embodiment may be 1, 2, 3,..., n, and the corresponding image frame serial numbers can be obtained after the tag information is recognized. .
作为可选的实施例,请参见图2,图2是本发明实施例提供的含有标记信息的第二图像的一种示意图,如图2所示,本实施例提供的标记信息可以为二维码信息,通过将二维码信息添加至第一图像中,能够避免出现标记信息被第一图像中的内容所遮挡的情况,从而提高标记信息的识别率,进而提高了视频卡顿检测的检测精度。具体的,本实施例提供的将标记信息添加至第一图像中,得到若干个含有标记信息的第二图像的步骤,可以为:将二维码信息以图像的形式,添加至第一图像中,得到若干个含有二维码图像的第二图像,其中,二维码图像的尺寸小于第一图像的尺寸。As an optional embodiment, please refer to Figure 2. Figure 2 is a schematic diagram of a second image containing mark information provided by an embodiment of the present invention. As shown in Figure 2, the mark information provided by this embodiment can be two-dimensional. Code information, by adding the QR code information to the first image, it can avoid the situation where the mark information is blocked by the content in the first image, thereby improving the recognition rate of the mark information, thereby improving the detection of video freeze detection. Accuracy. Specifically, the step of adding mark information to the first image to obtain several second images containing mark information provided in this embodiment may be: adding the QR code information to the first image in the form of an image. , obtain several second images containing two-dimensional code images, where the size of the two-dimensional code image is smaller than the size of the first image.
作为另一种可选的实施例,请参见图3,图3是本发明实施例提供的含有标记信息的第二图像的另一种示意图,如图3所示,本实施例提供的标记信息可以添加到第一图像的预设区域中,以进一步提高标记信息的识别率。具体的,本实施例提供的将标记信息添加至第一图像中,得到若干个含有标记信息的第二图像的步骤,可以为:在第一图像中构建标记区域;将标记信息添加到标记区域中,得到若干个含有标记信息的第二图像。As another optional embodiment, please refer to Figure 3. Figure 3 is another schematic diagram of a second image containing mark information provided by an embodiment of the present invention. As shown in Figure 3, the mark information provided by this embodiment is It can be added to the preset area of the first image to further improve the recognition rate of the mark information. Specifically, this embodiment provides a step of adding mark information to a first image to obtain several second images containing mark information, which may be: constructing a mark area in the first image; adding mark information to the mark area. , several second images containing mark information are obtained.
在本实施例中,预设区域即为标记区域,该区域可以是预先选择的区域,例如图3所示的处于第一图像的下端区域,该区域可以处于第一图像的上端、中端等位置,该标记区域可以为第一图像的1/5,也可以为1/3、1/2等数值,只要不大于第一图像即可。本实施例提供的标记区域的像素值与非标记区域的像素值不同,非标记区域为第一图像中除标记区域以外的区域。可选的,本实施例提供的标记区域的像素值可以为0,也即图3所示的黑色,通过将标记区域的像素值设为0,并将标记信息设置在该黑色的标记区域,能够进一步的提高标记信息的识别率,进而进一步的提高视频卡顿检测的检测精度。In this embodiment, the preset area is the mark area. This area can be a pre-selected area. For example, the area at the lower end of the first image shown in Figure 3. This area can be at the upper end, middle end, etc. of the first image. Position, the marked area can be 1/5 of the first image, or can be 1/3, 1/2, etc., as long as it is not larger than the first image. The pixel values of the marked area provided by this embodiment are different from the pixel values of the non-marked area. The non-marked area is the area in the first image other than the marked area. Optionally, the pixel value of the marking area provided in this embodiment can be 0, that is, black as shown in Figure 3. By setting the pixel value of the marking area to 0 and setting the marking information in the black marking area, It can further improve the recognition rate of mark information, and further improve the detection accuracy of video freeze detection.
需要说明的是,本实施例提供的标记区域的像素值并不限于为0,也可以为1、2、254、255等像素值,只要能够便于精准识别处于该标记区域内的标记信息即可,在此不作具体的限定。It should be noted that the pixel value of the marking area provided by this embodiment is not limited to 0, and can also be pixel values such as 1, 2, 254, 255, etc., as long as the marking information in the marking area can be accurately identified. , no specific limitation is made here.
在一些实施例中,在将标记信息添加至第一图像,得到第二图像后,本实施例需要将含有标记信息的第二图像进行视频合成处理,以得到含有标记信息的第一视频。可选的,本实施例以固定的视频帧率对含有标记信息的第二图像进行视频合成处理,从而便于在播放第二视频的过程中,对第二视频中的第二图像中的标记信息进行识别处理。具体的,本实施例提供的对若干个第二图像进行视频合成处理,得到含有标记信息的第一视频的步骤,可以为:根据标记信息对应的图像帧序号,将若干个第二图像进行排序,得到若干个排序后的第二图像;以目标视频帧率对若干个排序后的第二图像进行视频重构,得到含有标记信息的第一视频。In some embodiments, after adding tag information to the first image to obtain the second image, this embodiment requires video synthesis processing on the second image containing the tag information to obtain the first video containing the tag information. Optionally, this embodiment performs video synthesis processing on the second image containing the mark information at a fixed video frame rate, so as to facilitate the process of playing the second video, in which the mark information in the second image in the second video is processed. Perform identification processing. Specifically, this embodiment provides a step of performing video synthesis processing on several second images to obtain a first video containing mark information, which may be: sorting several second images according to the image frame number corresponding to the mark information. , obtain several sorted second images; perform video reconstruction on several sorted second images at the target video frame rate, and obtain a first video containing mark information.
在本实施例中,本实施例提供的目标视频帧率可以为30帧,也可以为45帧、60帧等大于30帧的帧数即可,在此不作具体的限定。其中,本实施例提供的视频重构主要是将连续的图像帧序号对应的第二图像进行合成,以构成连续的画面从而得到含有标记信息的第一视频。In this embodiment, the target video frame rate provided by this embodiment can be 30 frames, or it can be a frame number greater than 30 frames, such as 45 frames, 60 frames, etc., and is not specifically limited here. Among them, the video reconstruction provided by this embodiment mainly synthesizes the second images corresponding to the consecutive image frame numbers to form a continuous picture to obtain the first video containing the mark information.
步骤102,录制第一视频的播放过程,得到第二视频。Step 102: Record the playback process of the first video to obtain the second video.
在本实施例中,可以采用采集卡或者测试设备自带的录制工具,对第一视频的播放过程进行录制,从而得到第二视频。其中,本实施例对第一视频的播放过程进行录制时,需要采用特定的帧率进行录制,具体的,可以采用30帧,也可以为45帧、60帧等大于30帧的帧数即可,在此不作具体的限定。In this embodiment, a capture card or a recording tool provided with the test equipment can be used to record the playback process of the first video, thereby obtaining the second video. Among them, in this embodiment, when recording the playback process of the first video, a specific frame rate needs to be used for recording. Specifically, 30 frames can be used, or a number of frames greater than 30 frames, such as 45 frames, 60 frames, etc. can be used. , no specific limitation is made here.
步骤103,获取第二视频中目标时间段内采集到的标记信息。Step 103: Obtain mark information collected within the target time period in the second video.
在本实施例中,在得到录制好的第二视频之后,若需要在指定第三方应用中进行视频卡段检测,则需要将录制好的第二视频发布到该第三方应用中以生成第一外网链接,并在该第三方应用中通过该第一外网链接播放录制好的第二视频;若需要在线进行视频卡顿检测,则需要将录制好的第二视频发布到外网服务器中以生成第二外网链接,并于在线模式下通过该第二外网链接播放录制好的第二视频;若需要在本地进行视频卡顿检测,则需要将录制好的第二视频存储在本地设备中,并在本地设备播放存储的第二视频。In this embodiment, after obtaining the recorded second video, if video clip detection needs to be performed in a designated third-party application, the recorded second video needs to be published to the third-party application to generate the first external network link, and play the recorded second video through the first external network link in the third-party application; if video freeze detection needs to be performed online, the recorded second video needs to be published to the external network server To generate a second external network link, and play the recorded second video through the second external network link in online mode; if video freeze detection needs to be performed locally, the recorded second video needs to be stored locally device, and play the stored second video on the local device.
其中,为了完成对播放过程的视频卡顿检测,本实施例需要获取第二视频中目标时间段内采集到的标记信息,从而根据采集到的标记信息,确定该播放过程在目标时间段内播放的图像的帧数是否与第二视频的视频帧率相匹配,从而确定该播放过程的卡顿结果。具体的,本实施例主要是采集第二视频中目标时间段内已播放的第二图像,然后在已播放的第二图像中获取对应的标记信息如二维码信息,从而对标记信息进行识别,以确定第二视频中目标时间段内已播放的图像的图像帧序号,便于后续的视频卡顿检测过程根据已播放的图像的图像帧序号完成视频卡顿检测。Among them, in order to complete the video freeze detection during the playback process, this embodiment needs to obtain the mark information collected within the target time period in the second video, so as to determine that the playback process is played within the target time period based on the collected mark information. Whether the frame number of the image matches the video frame rate of the second video, thereby determining the freezing result of the playback process. Specifically, this embodiment mainly collects the second image that has been played within the target time period in the second video, and then obtains the corresponding mark information such as QR code information in the played second image, thereby identifying the mark information. to determine the image frame sequence number of the image that has been played within the target time period in the second video, so that the subsequent video freeze detection process can complete the video freeze detection based on the image frame sequence number of the played image.
在本实施例中,本实施例提供的目标时间段可以为1秒,也可以为2秒、3秒等数值,只要不大于第二视频的播放时长即可,在此不做具体限定。In this embodiment, the target time period provided by this embodiment can be 1 second, or can be a value such as 2 seconds, 3 seconds, etc., as long as it is not longer than the playback duration of the second video, and is not specifically limited here.
步骤104,根据第二视频的视频帧率,以及采集到的标记信息,确定播放过程的卡顿结果。Step 104: Determine the freezing result during the playback process based on the video frame rate of the second video and the collected mark information.
在本实施例中,本实施例提供的第二视频的视频帧率可以是录制过程中设定的特定的帧率。而当第一视频的录制过程没有采用固定的帧率进行录制时,可以根据第二视频的播放时长以及第二视频所包含的图像的帧数,将第二视频播放时的平均帧率作为第二视频的视频帧率。In this embodiment, the video frame rate of the second video provided in this embodiment may be a specific frame rate set during the recording process. When the first video is not recorded at a fixed frame rate, the average frame rate during playback of the second video can be used as the second video based on the playback duration of the second video and the number of frames of the images contained in the second video. The video frame rate of the second video.
作为可选的实施例,本实施可以根据采集到的标记信息对应的图像帧序号,确定第二视频的播放过程的实际帧率,然后根据实际帧率与第二视频的视频帧率进行比较,当实际帧率与第二视频的视频帧率满足预设关系时,即可确定第二视频的播放过程的卡顿结果为卡顿。其中,本实施例提供的预设关系可以为实际帧率小于第二视频的视频帧率的一半。具体的,本实施例提供的根据第二视频的视频帧率,以及采集到的标记信息,确定播放过程的卡顿结果的步骤,可以为:确定采集到的标记信息对应的各帧图像的图像帧序号;确定各帧图像的图像帧序号中,序号最小的第一图像帧序号和序号最大的第二图像帧序号;根据第一图像帧序号和第二图像帧序号之间的差值、目标时间段的时间长度,以及第二视频的视频帧率,确定播放过程的卡顿结果。As an optional embodiment, this implementation can determine the actual frame rate of the playback process of the second video based on the image frame number corresponding to the collected tag information, and then compare the actual frame rate with the video frame rate of the second video, When the actual frame rate and the video frame rate of the second video meet the preset relationship, it can be determined that the freezing result during the playback process of the second video is freezing. The preset relationship provided by this embodiment may be that the actual frame rate is less than half of the video frame rate of the second video. Specifically, the step of determining the jamming result of the playback process based on the video frame rate of the second video and the collected mark information provided by this embodiment may be: determining the image of each frame corresponding to the collected mark information. Frame serial number; determine the first image frame serial number with the smallest serial number and the second image frame serial number with the largest serial number among the image frame serial numbers of each frame image; according to the difference between the first image frame serial number and the second image frame serial number, the target The length of the time period and the video frame rate of the second video determine the jamming result during playback.
例如,当目标时间段为1秒,在1秒内采集到的标记信息对应的图像帧序号分别为1、2、3、……、25,第二视频的视频帧率为60,则可以确定第一图像帧序号为1,第二图像帧序号为25,从而确定第一图像帧序号和第二图像帧序号之间的差值为24,然后判断第一图像帧序号和第二图像帧序号之间的差值24,是否小于第二视频的视频帧率为60的一半即30。由于24小于30,则可以确定第二视频的播放过程的卡顿结果为卡顿。For example, when the target time period is 1 second, the image frame numbers corresponding to the tag information collected within 1 second are 1, 2, 3,..., 25 respectively, and the video frame rate of the second video is 60, then it can be determined The first image frame number is 1 and the second image frame number is 25, thus determining that the difference between the first image frame number and the second image frame number is 24, and then judging the first image frame number and the second image frame number. Is the difference of 24 smaller than the video frame rate of the second video, which is half of 60, which is 30? Since 24 is less than 30, it can be determined that the freezing result during the playback of the second video is freezing.
在本实施例中,本实施例提供的目标时间段为大于1秒的时间段时,例如2秒,则在确定播放过程在目标时间段内的实际帧率时,需要将第一图像帧序号和第二图像帧序号之间的差值,除以目标时间段也即2,从而才能得到播放过程在目标时间段内的实际帧率。In this embodiment, when the target time period provided by this embodiment is a time period greater than 1 second, such as 2 seconds, then when determining the actual frame rate of the playback process within the target time period, the first image frame serial number needs to be The difference between the frame number of the second image and the frame number of the second image is divided by the target time period, which is 2, so that the actual frame rate of the playback process within the target time period can be obtained.
为了更好的说明本发明实施例的视频卡顿检测原理,请同时参见图4和图5,图4是本发明实施例提供的视频卡顿检测原理的一种流程示意图,图5是图4对应的应用场景示意图。如图4和图5所示,当需要对待检测视频进行视频卡顿检测时,首先将待检测视频进行图像帧提取处理,以将待检测视频拆分为若干个含有图像帧序号的第一图像(包括n帧第一图像),然后在每帧第一图像中添加标记信息,具体的,在每帧图像中添加表征图像帧序号的二维码信息(标记信息),从而得到若干个含有二维码信息的第二图像,然后将这些第二图像进行视频重构处理,得到含有二维码信息的第一视频。之后,采用采集卡或录制工具录制/采集第一视频的播放过程,得到第二视频。在得到第二视频之后,获取第二视频的视频帧率,并将第二视频进行拆帧处理,以得到多张含有二维码信息的第二图像,识别目标时间段内已播放的每帧第二图像中的二维码信息,并根据二维码信息识别出的图像帧序号确定第二视频在目标时间段内的播放过程的实际帧率。最后判断实际帧率是否小于第二视频的视频帧率的一半,若是则确定第二视频的播放过程的卡顿结果为卡顿,否则为不卡顿。In order to better explain the video freeze detection principle of the embodiment of the present invention, please refer to Figure 4 and Figure 5 at the same time. Figure 4 is a schematic flow chart of the video freeze detection principle provided by the embodiment of the present invention. Figure 5 is a flow chart of the video freeze detection principle provided by the embodiment of the present invention. Schematic diagram of the corresponding application scenario. As shown in Figures 4 and 5, when it is necessary to perform video freeze detection on a video to be detected, the video to be detected is first subjected to image frame extraction processing to split the video to be detected into several first images containing image frame serial numbers. (Including n frames of first images), and then add mark information to each frame of the first image. Specifically, add QR code information (mark information) representing the image frame sequence number to each frame of image, thereby obtaining several QR codes containing two The second image containing the QR code information is then subjected to video reconstruction processing to obtain the first video containing the QR code information. After that, use a capture card or recording tool to record/capture the playback process of the first video to obtain the second video. After obtaining the second video, obtain the video frame rate of the second video, and perform frame splitting processing on the second video to obtain multiple second images containing QR code information, and identify each frame that has been played within the target time period. QR code information in the second image, and determine the actual frame rate of the second video during the playback process within the target time period based on the image frame sequence number identified by the QR code information. Finally, it is determined whether the actual frame rate is less than half of the video frame rate of the second video. If so, it is determined that the freezing result during the playback process of the second video is freezing, otherwise it is determined that there is no freezing.
至此,完成对本实施例提供的视频卡顿检测方法的描述。At this point, the description of the video freeze detection method provided by this embodiment is completed.
综上,本发明公开了一种视频卡顿检测方法,该方法包括对待检测视频进行标记处理,得到含有标记信息的第一视频,录制第一视频的播放过程,得到第二视频,获取第二视频中目标时间段内采集到的标记信息,根据第二视频的视频帧率,以及采集到的标记信息,确定播放过程的卡顿结果。采用本发明实施例,能够在不依赖待检测视频的视频信息的情况下,实现对待检测视频的卡顿检测,提高了视频卡顿检测的效率。In summary, the present invention discloses a video freeze detection method. The method includes labeling the video to be detected, obtaining a first video containing label information, recording the playback process of the first video, obtaining a second video, and obtaining a second video. The mark information collected during the target time period in the video is used to determine the jamming result during the playback process based on the video frame rate of the second video and the collected mark information. By adopting the embodiments of the present invention, it is possible to implement freeze detection in the video to be detected without relying on the video information of the video to be detected, thereby improving the efficiency of video freeze detection.
根据上述实施例所描述的方法,本实施例将从视频卡顿检测装置的角度进一步进行描述,该视频卡顿检测装置具体可以作为独立的实体来实现,也可以集成在电子设备,比如终端中来实现,该终端可以包括手机、平板电脑等。According to the method described in the above embodiment, this embodiment will be further described from the perspective of a video freeze detection device. The video freeze detection device can be implemented as an independent entity, or can be integrated in an electronic device, such as a terminal. To achieve this, the terminal can include mobile phones, tablets, etc.
请参见图6,图6是本发明实施例提供的视频卡顿检测装置的一种结构示意图,如图6所示,本发明实施例提供的视频卡顿检测装置600,包括:标记模块601、录制模块602、获取模块603以及卡顿检测模块604;Please refer to Figure 6. Figure 6 is a schematic structural diagram of a video freeze detection device provided by an embodiment of the present invention. As shown in Figure 6, a video freeze detection device 600 provided by an embodiment of the present invention includes: a marking module 601; Recording module 602, acquisition module 603 and freeze detection module 604;
其中,标记模块601,用于对待检测视频进行标记处理,得到含有标记信息的第一视频。Among them, the marking module 601 is used to mark the video to be detected to obtain the first video containing mark information.
录制模块602,用于录制第一视频的播放过程,得到第二视频。The recording module 602 is used to record the playback process of the first video to obtain the second video.
获取模块603,用于获取第二视频中目标时间段内采集到的标记信息。The acquisition module 603 is used to acquire the mark information collected within the target time period in the second video.
卡顿检测模块604,用于根据第二视频的视频帧率,以及采集到的标记信息,确定播放过程的卡顿结果。The freeze detection module 604 is used to determine the freeze result during the playback process based on the video frame rate of the second video and the collected mark information.
在一些实施例中,请参见图7,图7是本发明实施例提供的标记模块的一种结构示意图,如图7所示,本发明实施例提供的标记模块601包括提取单元6011、标记单元6012以及合成单元6013;In some embodiments, please refer to Figure 7. Figure 7 is a schematic structural diagram of a marking module provided by an embodiment of the present invention. As shown in Figure 7, a marking module 601 provided by an embodiment of the present invention includes an extraction unit 6011, a marking unit 6012 and synthesis unit 6013;
提取单元6011,用于对待检测视频进行图像帧提取处理,得到若干个第一图像。The extraction unit 6011 is used to extract image frames of the video to be detected to obtain several first images.
标记单元6012,用于根据第一图像在待检测视频中的图像帧序号,对第一图像进行标记处理,得到若干个含有标记信息的第二图像,其中,标记信息与图像帧序号相对应。The marking unit 6012 is configured to perform marking processing on the first image according to the image frame number of the first image in the video to be detected, to obtain several second images containing marking information, where the marking information corresponds to the image frame number.
合成单元6013,用于对若干个第二图像进行视频合成处理,得到含有标记信息的第一视频。The synthesis unit 6013 is used to perform video synthesis processing on several second images to obtain a first video containing mark information.
在一些实施例中,标记单元6012具体用于根据第一图像的图像帧序号,生成与图像帧序号相关联的标记信息;将标记信息添加至第一图像中,得到若干个含有标记信息的第二图像。In some embodiments, the marking unit 6012 is specifically configured to generate marking information associated with the image frame number according to the image frame number of the first image; add the marking information to the first image to obtain several third images containing marking information. Two images.
在一些实施例中,标记信息包括二维码信息,标记单元6012具体还用于将二维码信息以图像的形式,添加至第一图像中,得到若干个含有二维码图像的第二图像,其中,二维码图像的尺寸小于第一图像的尺寸。In some embodiments, the marking information includes QR code information, and the marking unit 6012 is specifically configured to add the QR code information to the first image in the form of an image to obtain several second images containing QR code images. , wherein the size of the QR code image is smaller than the size of the first image.
在一些实施例中,标记单元6012具体还用于在第一图像中构建标记区域,标记区域的像素值与非标记区域的像素值不同,非标记区域为第一图像中除标记区域以外的区域;将标记信息添加到标记区域中,得到若干个含有标记信息的第二图像。In some embodiments, the marking unit 6012 is specifically configured to construct a marked area in the first image. The pixel values of the marked area are different from the pixel values of the non-marked area. The non-marked area is an area in the first image other than the marked area. ; Add mark information to the mark area to obtain several second images containing mark information.
在一些实施例中,合成单元6013具体用于根据标记信息对应的图像帧序号,将若干个第二图像进行排序,得到若干个排序后的第二图像;以目标视频帧率对若干个排序后的第二图像进行视频重构,得到含有标记信息的第一视频。In some embodiments, the synthesis unit 6013 is specifically configured to sort several second images according to the image frame number corresponding to the mark information to obtain several sorted second images; to sort several sorted second images at the target video frame rate. Perform video reconstruction on the second image to obtain the first video containing mark information.
在一些实施例中,请参见图8,图8是本发明实施例提供的卡顿检测模块的一种结构示意图,如图8所示,本实施例提供的卡顿检测模块604,包括第一确定单元6041、第二确定单元6042以及卡顿检测单元6043;In some embodiments, please refer to Figure 8, which is a schematic structural diagram of a freeze detection module provided by an embodiment of the present invention. As shown in Figure 8, a freeze detection module 604 provided by this embodiment includes a first Determining unit 6041, second determining unit 6042 and stuck detection unit 6043;
其中,第一确定单元6041,用于确定采集到的标记信息对应的各帧图像的图像帧序号。Among them, the first determining unit 6041 is used to determine the image frame sequence number of each frame image corresponding to the collected mark information.
第二确定单元6042,用于确定各帧图像的图像帧序号中,序号最小的第一图像帧序号和序号最大的第二图像帧序号。The second determining unit 6042 is used to determine the first image frame number with the smallest number and the second image frame number with the largest number among the image frame numbers of each frame image.
卡顿检测单元6043,用于根据第一图像帧序号和第二图像帧序号之间的差值、目标时间段的时间长度,以及第二视频的视频帧率,确定播放过程的卡顿结果。The freeze detection unit 6043 is configured to determine the freeze result of the playback process based on the difference between the first image frame number and the second image frame number, the length of the target time period, and the video frame rate of the second video.
具体实施时,以上各个模块和/或单元可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块和/或单元的具体实施可参见前面的方法实施例,具体可以达到的有益效果也请参看前面的方法实施例中的有益效果,在此不再赘述。During specific implementation, each of the above modules and/or units can be implemented as an independent entity, or can be combined in any way and implemented as the same or several entities. For the specific implementation of each of the above modules and/or units, please refer to the previous method implementation. For example, please refer to the beneficial effects in the previous method embodiments for specific beneficial effects that can be achieved, and will not be described again here.
另外,请参见图9,图9是本发明实施例提供的电子设备的一种结构示意图,该电子设备可以是移动终端如智能手机、平板电脑等设备。如图9所示,电子设备900包括处理器901、存储器902。其中,处理器901与存储器902电性连接。In addition, please refer to FIG. 9 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. The electronic device may be a mobile terminal such as a smart phone, a tablet computer, and other devices. As shown in FIG. 9 , the electronic device 900 includes a processor 901 and a memory 902 . Among them, the processor 901 is electrically connected to the memory 902.
处理器901是电子设备900的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器902内的应用程序,以及调用存储在存储器902内的数据,执行电子设备900的各种功能和处理数据,从而对电子设备900进行整体监测。The processor 901 is the control center of the electronic device 900. It uses various interfaces and lines to connect various parts of the entire electronic device, and executes electronic tasks by running or loading applications stored in the memory 902 and calling data stored in the memory 902. Various functions of the device 900 and processing data, thereby monitoring the electronic device 900 as a whole.
在本实施例中,电子设备900中的处理器901会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器902中,并由处理器901来运行存储在存储器902中的应用程序,从而实现上述实施例提供的视频卡顿检测方法中的任一步骤。In this embodiment, the processor 901 in the electronic device 900 will follow the following steps to load instructions corresponding to the processes of one or more application programs into the memory 902, and the processor 901 will run the instructions stored in the memory 902. application in the application, thereby implementing any step in the video freeze detection method provided by the above embodiment.
该电子设备900可以实现本发明实施例所提供的视频卡顿检测方法任一实施例中的步骤,因此,可以实现本发明实施例所提供的任一视频卡顿检测方法所能实现的有益效果,详见前面的实施例,在此不再赘述。The electronic device 900 can implement the steps in any embodiment of the video freeze detection method provided by the embodiments of the present invention, and therefore can achieve the beneficial effects that can be achieved by any video freeze detection method provided by the embodiments of the present invention. , please refer to the previous embodiment for details and will not be described again here.
请参见图10,图10是本发明实施例提供的电子设备的另一种结构示意图,如图10所示,图10示出了本发明实施例提供的电子设备的具体结构框图,该电子设备可以用于实施上述实施例中提供的视频卡顿检测方法。该电子设备1000可以为移动终端如智能手机或笔记本电脑等设备。Please refer to Figure 10. Figure 10 is another schematic structural diagram of an electronic device provided by an embodiment of the present invention. As shown in Figure 10, Figure 10 shows a specific structural block diagram of an electronic device provided by an embodiment of the present invention. The electronic device It can be used to implement the video freeze detection method provided in the above embodiment. The electronic device 1000 may be a mobile terminal such as a smart phone or a laptop computer.
RF电路1010用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。RF电路1010可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF电路1010可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication,GSM)、增强型移动通信技术(EnhancedData GSM Environment,EDGE),宽带码分多址技术(Wideband Code Division MultipleAccess,WCDMA),码分多址技术(Code Division Access,CDMA)、时分多址技术(TimeDivision Multiple Access,TDMA),无线保真技术(Wireless Fidelity,Wi-Fi)(如美国电气和电子工程师协会标准IEEE 802.11a,IEEE 802.11b,IEEE802.11g和/或IEEE802.11n)、网络电话(Voice over Internet Protocol,VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access,Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。The RF circuit 1010 is used to receive and send electromagnetic waves, realize mutual conversion of electromagnetic waves and electrical signals, and thereby communicate with communication networks or other devices. RF circuit 1010 may include a variety of existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, and the like. The RF circuit 1010 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices through a wireless network. The above-mentioned wireless network may include a cellular telephone network, a wireless local area network or a metropolitan area network. The above-mentioned wireless networks can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), broadband code division Multiple access technology (Wideband Code Division Multiple Access, WCDMA), code division multiple access technology (Code Division Access, CDMA), time division multiple access technology (Time Division Multiple Access, TDMA), wireless fidelity technology (Wireless Fidelity, Wi-Fi) ( Such as the Institute of Electrical and Electronics Engineers standards IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE802.11n), Voice over Internet Protocol (VoIP), Worldwide Interoperability for Microwave Access, Wi-Max), other protocols for email, instant messaging and short messaging, and any other suitable communication protocols, even those that are not yet developed.
存储器1020可用于存储软件程序以及模块,如上述实施例中视频卡顿检测方法对应的程序指令/模块,处理器1080通过运行存储在存储器1020内的软件程序以及模块,从而执行各种功能应用以及对视频卡顿检测。The memory 1020 can be used to store software programs and modules, such as the program instructions/modules corresponding to the video freeze detection method in the above embodiment. The processor 1080 executes various functional applications by running the software programs and modules stored in the memory 1020. Detect video freezes.
存储器1020可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1020可进一步包括相对于处理器1080远程设置的存储器,这些远程存储器可以通过网络连接至电子设备1000。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。Memory 1020 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1020 may further include memory located remotely relative to the processor 1080 , and these remote memories may be connected to the electronic device 1000 through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
输入单元1030可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元1030可包括触敏表面1031以及其他输入设备1032。触敏表面1031,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面1031上或在触敏表面1031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面1031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1080,并能接收处理器1080发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面1031。除了触敏表面1031,输入单元1030还可以包括其他输入设备1032。具体地,其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1030 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 1030 may include a touch-sensitive surface 1031 and other input devices 1032. The touch-sensitive surface 1031, also known as a touch display or a touchpad, can collect the user's touch operations on or near it (for example, the user uses a finger, stylus, or any suitable object or accessory on the touch-sensitive surface 1031 or on the operations near the touch-sensitive surface 1031), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface 1031 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the touch controller. to the processor 1080, and can receive commands from the processor 1080 and execute them. In addition, the touch-sensitive surface 1031 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 1031, the input unit 1030 may also include other input devices 1032. Specifically, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, etc.
显示单元1040可用于显示由用户输入的信息或提供给用户的信息以及电子设备1000的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元1040可包括显示面板1041,可选的,可以采用LCD(Liquid CrystalDisplay,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板1041。进一步的,触敏表面1031可覆盖显示面板1041,当触敏表面1031检测到在其上或附近的触摸操作后,传送给处理器1080以确定触摸事件的类型,随后处理器1080根据触摸事件的类型在显示面板1041上提供相应的视觉输出。虽然在图中,触敏表面1031与显示面板1041是作为两个独立的部件来实现输入和输出功能,但是在某些实施例中,可以将触敏表面1031与显示面板1041集成而实现输入和输出功能。The display unit 1040 may be used to display information input by the user or information provided to the user as well as various graphical user interfaces of the electronic device 1000 , which may be composed of graphics, text, icons, videos, and any combination thereof. The display unit 1040 may include a display panel 1041. Optionally, the display panel 1041 may be configured in the form of LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light-emitting diode), etc. Further, the touch-sensitive surface 1031 can cover the display panel 1041. When the touch-sensitive surface 1031 detects a touch operation on or near it, it is sent to the processor 1080 to determine the type of the touch event. The processor 1080 then determines the type of the touch event. Type provides corresponding visual output on display panel 1041. Although in the figure, the touch-sensitive surface 1031 and the display panel 1041 are used as two independent components to implement input and output functions, in some embodiments, the touch-sensitive surface 1031 and the display panel 1041 can be integrated to implement input and output functions. output function.
电子设备1000还可包括至少一种传感器1050,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1041的亮度,接近传感器可在翻盖合上或者关闭时产生中断。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于电子设备1000还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Electronic device 1000 may also include at least one sensor 1050, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may generate an interrupt when the flip is closed or closed. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when stationary. It can be used to identify applications of mobile phone posture (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, knock), etc.; as for the electronic device 1000, it can also be configured with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., here No longer.
音频电路1060、扬声器1061,传声器1062可提供用户与电子设备1000之间的音频接口。音频电路1060可将接收到的音频数据转换后的电信号,传输到扬声器1061,由扬声器1061转换为声音信号输出;另一方面,传声器1062将收集的声音信号转换为电信号,由音频电路1060接收后转换为音频数据,再将音频数据输出处理器1080处理后,经RF电路1010以发送给比如另一终端,或者将音频数据输出至存储器1020以便进一步处理。音频电路1060还可能包括耳塞插孔,以提供外设耳机与电子设备1000的通信。The audio circuit 1060, the speaker 1061, and the microphone 1062 can provide an audio interface between the user and the electronic device 1000. The audio circuit 1060 can transmit the electrical signal converted from the received audio data to the speaker 1061, and the speaker 1061 converts it into a sound signal for output; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, and the audio circuit 1060 After receiving, it is converted into audio data, and then processed by the audio data output processor 1080, and then sent to, for example, another terminal through the RF circuit 1010, or the audio data is output to the memory 1020 for further processing. Audio circuitry 1060 may also include an earphone jack to provide communication of peripheral earphones with electronic device 1000 .
电子设备1000通过传输模块1070(例如Wi-Fi模块)可以帮助用户接收请求、发送信息等,它为用户提供了无线的宽带互联网访问。虽然图中示出了传输模块1070,但是可以理解的是,其并不属于电子设备1000的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。The electronic device 1000 can help users receive requests, send information, etc. through the transmission module 1070 (such as a Wi-Fi module), which provides users with wireless broadband Internet access. Although the transmission module 1070 is shown in the figure, it can be understood that it is not a necessary component of the electronic device 1000 and can be omitted as needed without changing the essence of the invention.
处理器1080是电子设备1000的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1020内的软件程序和/或模块,以及调用存储在存储器1020内的数据,执行电子设备1000的各种功能和处理数据,从而对电子设备进行整体监测。可选的,处理器1080可包括一个或多个处理核心;在一些实施例中,处理器1080可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解地,上述调制解调处理器也可以不集成到处理器1080中。The processor 1080 is the control center of the electronic device 1000, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing software programs and/or modules stored in the memory 1020, and calling data stored in the memory 1020 , perform various functions of the electronic device 1000 and process data, thereby performing overall monitoring of the electronic device. Optionally, the processor 1080 may include one or more processing cores; in some embodiments, the processor 1080 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 1080.
电子设备1000还包括给各个部件供电的电源1090(比如电池),在一些实施例中,电源可以通过电源管理系统与处理器1080逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源1090还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The electronic device 1000 also includes a power supply 1090 (such as a battery) that powers various components. In some embodiments, the power supply can be logically connected to the processor 1080 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions. Power supply 1090 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
尽管未示出,电子设备1000还包括摄像头(如前置摄像头、后置摄像头)、蓝牙模块等,在此不再赘述。具体在本实施例中,电子设备的显示单元是触摸屏显示器,移动终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行一个或者一个以上程序实现上述实施例提供的视频卡顿检测方法中的任一步骤。Although not shown, the electronic device 1000 also includes a camera (such as a front camera, a rear camera), a Bluetooth module, etc., which will not be described again here. Specifically in this embodiment, the display unit of the electronic device is a touch screen display, and the mobile terminal also includes a memory and one or more programs, wherein one or more programs are stored in the memory and are configured to be configured by one or more programs. The above processor executes one or more programs to implement any step in the video freeze detection method provided by the above embodiments.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, each of the above modules can be implemented as an independent entity, or can be combined in any way and implemented as the same or several entities. For the specific implementation of each of the above modules, please refer to the previous method embodiments, and will not be described again here.
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。为此,本发明实施例提供一种存储介质,其中存储有多条指令,该指令能够被处理器执行时实现上述实施例所提供的视频卡顿检测方法中的任一步骤。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling relevant hardware through instructions. The instructions can be stored in a computer-readable storage medium, and loaded and executed by the processor. To this end, embodiments of the present invention provide a storage medium in which a plurality of instructions are stored, and the instructions can implement any step in the video freeze detection method provided in the above embodiments when executed by a processor.
其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。The storage medium may include: read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
由于该存储介质中所存储的指令,可以执行本发明实施例所提供的视频卡顿检测方法任一实施例中的步骤,因此,可以实现本发明实施例所提供的任一视频卡顿检测方法所能实现的有益效果,详见前面的实施例,在此不再赘述。Since the instructions stored in the storage medium can execute the steps in any embodiment of the video freeze detection method provided by the embodiment of the present invention, therefore, any video freeze detection method provided by the embodiment of the present invention can be implemented. The beneficial effects that can be achieved are detailed in the previous embodiments and will not be described again here.
以上对本申请实施例所提供的一种视频卡顿检测方法、装置、电子设备及存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。并且,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。The above is a detailed introduction to a video freeze detection method, device, electronic equipment and storage medium provided by the embodiments of the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The above embodiments The description is only used to help understand the methods and core ideas of this application; at the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the ideas of this application. In summary, The contents of this specification should not be construed as limiting this application. Moreover, for those of ordinary skill in the art, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications are also regarded as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310726212.7A CN117135399A (en) | 2023-06-16 | 2023-06-16 | Video jamming detection method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310726212.7A CN117135399A (en) | 2023-06-16 | 2023-06-16 | Video jamming detection method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117135399A true CN117135399A (en) | 2023-11-28 |
Family
ID=88855470
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310726212.7A Pending CN117135399A (en) | 2023-06-16 | 2023-06-16 | Video jamming detection method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117135399A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118573844A (en) * | 2024-06-22 | 2024-08-30 | 无锡威达智能电子股份有限公司 | Screen fluency detection method and device and electronic equipment |
-
2023
- 2023-06-16 CN CN202310726212.7A patent/CN117135399A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118573844A (en) * | 2024-06-22 | 2024-08-30 | 无锡威达智能电子股份有限公司 | Screen fluency detection method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108430101B (en) | Antenna closing method, device, storage medium and electronic device | |
CN106527949B (en) | A fingerprint unlocking method, device and terminal | |
CN106933351B (en) | A method, device and mobile terminal for starting a camera in a mobile terminal | |
CN106911848B (en) | Method and terminal device for outputting prompt message | |
CN111078523B (en) | Log acquisition method and device, storage medium and electronic equipment | |
WO2018161540A1 (en) | Fingerprint registration method and related product | |
CN106646440A (en) | Drop height detection method and drop height detection device | |
CN104915625B (en) | A method and device for face recognition | |
CN110705497A (en) | Image frame processing method and device, terminal equipment and computer readable storage medium | |
CN117135399A (en) | Video jamming detection method and device, electronic equipment and storage medium | |
CN105513098B (en) | Image processing method and device | |
CN109032482A (en) | Split screen control method, device, storage medium and electronic equipment | |
CN108965042A (en) | Network delay obtaining method and device, terminal equipment and storage medium | |
CN109451295A (en) | A kind of method and system obtaining virtual information | |
CN108829600B (en) | Test method, device, storage medium and electronic device for algorithm library | |
CN107066861B (en) | Fingerprint event processing method and mobile terminal | |
CN109213398A (en) | A kind of application quick start method, terminal and computer readable storage medium | |
CN111143580B (en) | Multimedia data storage method and device, storage medium and electronic equipment | |
CN110061813B (en) | A data encoding method and decoding method, and related device | |
CN115098371A (en) | Interface testing method, device, storage medium and electronic equipment | |
CN114363361A (en) | Data synchronization method and device, electronic equipment and storage medium | |
CN112367428A (en) | Electric quantity display method and system, storage medium and mobile terminal | |
CN112379857B (en) | Audio data processing method, device, storage medium and mobile terminal | |
CN111355991A (en) | Video playing method and device, storage medium and mobile terminal | |
CN111221782B (en) | File searching method and device, storage medium and mobile terminal |
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 |