Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Video asynchronous loading and timeout monitoring method

An asynchronous loading and video technology, applied in the field of video display, can solve the problems of poor user experience, loading and scrolling can not be synchronized, etc., to achieve the effect of good experience

Active Publication Date: 2018-03-09
BEIJING KUWO TECH
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the user clicks on a video in the table, the video is loaded (cached) so that the video can be played to the user. However, during the loading process, the user wants to scroll the table to view other videos. At this time, the loading and scrolling cannot be performed synchronously. , the user's scrolling table operation is not responded, and the user experience is not good

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Video asynchronous loading and timeout monitoring method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0031] Such as figure 1 As shown, the method for video asynchronous loading and overtime monitoring of the present invention comprises the following steps:

[0032] Create an AVURLAsset class that responds to calls to video asynchronous loading operations,

[0033] Save the playback address of the current video,

[0034] Asynchronously load the tracks data of the Asset. After the loading is complete, modify the status of the current video to be loaded. This is based on the principle of "if you want to play the asset, you should load the tracks attribute of the asset".

[0035] Get the playback address of the current video again, and judge whether it is consistent with the previously saved playback address.

[0036] If not, it means that the current video has changed to a new video. At this time, stop playing the video whose status is loaded.

[0037] If t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a video asynchronous loading and timeout monitoring method. The method comprises the following steps that an AVURLAsset class is set up, the playing address of the current video is stored, and tracks data of Asset are asynchronous loaded; after loading is finished, the state of the current video is modified into loading completion, the playing address of the current videois acquired again, and whether the playing address is consistent with the previously stored playing address or not is judged; if not, the video with the state of loading completion is stopped from being played; if yes, the state of Asset tracks is further judged, if state judgment is wrong, playing is turned into playing error reporting treatment, and if state judgment is not wrong, an AVPlayerItem object is set up, and playing is turned into subsequent playing treatment. According to the method, an asynchronous operation mode is adopted, videos and characters are sequentially presented in a table, responses can be made to operation of a user in time, video playing is not influenced, video loading is not influenced by operation of the user, and user experience is good.

Description

technical field [0001] The invention relates to the technical field of video display, in particular to a method for video asynchronous loading and overtime monitoring. Background technique [0002] In the existing video presentation interface in IOS, when a table is used as the frame to present video and text sequentially in the table, since the video loading needs to occupy resources and has a large overhead, the table cannot be scrolled during the loading process, and the user When using it, you will feel stuck and not smooth, which will affect the user experience. For example: [0003] When the user clicks on a video in the table, the video is loaded (cached) so that the video can be played to the user. However, during the loading process, the user wants to scroll the table to view other videos. At this time, the loading and scrolling cannot be performed synchronously. , the user's scrolling table operation is not responded to, and the user experience is not good. Con...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/431H04N21/4425H04N21/482H04N21/6587H04N21/81G06F9/44G06F17/30
CPCG06F8/30G06F16/78H04N21/4312H04N21/4425H04N21/482H04N21/6587H04N21/8166
Inventor 郭艳杰
Owner BEIJING KUWO TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products