CN106791911A - A kind of loading method of picture and video - Google Patents
A kind of loading method of picture and video Download PDFInfo
- Publication number
- CN106791911A CN106791911A CN201611237862.1A CN201611237862A CN106791911A CN 106791911 A CN106791911 A CN 106791911A CN 201611237862 A CN201611237862 A CN 201611237862A CN 106791911 A CN106791911 A CN 106791911A
- Authority
- CN
- China
- Prior art keywords
- video
- video data
- picture
- preloading
- data
- 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
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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23106—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
-
- 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- 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/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
Abstract
The invention provides a kind of picture and the loading method of video, comprise the following steps:The step of preloading of image data, preloading of the image data, includes:By judging the behavior of user, when user rests on the page, first will stop the page picture all load, afterwards using CPU and network idle time again by front and rear each screen wouldn't visible picture load out;The step of preloading of video data, preloading of the video data, includes:Video rises and broadcasts preceding preloading, this set cache in playing process, next collection is preloaded, the present invention can be realized when user rests on the page, first it will be seen that picture all load, afterwards using CPU and network idle time again by front and rear each screen wouldn't visible picture also load out, and make full use of network idle state continue preload second collection video data, the seamless switching of two collection, the viewing experience of significant increase user can be realized.
Description
Technical field
The present invention relates to data loading technique field, and in particular to the loading method of a kind of picture and video.
Background technology
Smart machine needs the resource from network download mainly including two major classes:Picture and video.Picture and video are intelligence
Can two maximum types of equipment loading data volume.The loading of picture is typically all just to be loaded when display is needed.
The loading of video is loaded after startup is played.
CPU and network are the bottlenecks of smart machine, and the performance of CPU and the speed of network and stability directly affect intelligence and set
Standby use fluency.The cpu performance of each smart machine is fixed, and the network bandwidth residing for user is also fixed and not
Stabilization.So user is often easily occurred when using smart machine, picture presentation is very slow, video rise broadcast it is very slow, block very much
Situation.On the other hand, when user rests on current page to be browsed, the CPU and network of smart machine are substantially at idle shape
State.Axle presentation Wave crest and wave trough acutely shakes state to the utilization rate of CPU and network over time, what current smart machine Loaded Image
Way is all that, only by the visible picture loading of user, user enters the operation such as line slip, page turning and loads visible picture one by one again, slides
During need newly-built never visible visible control to compare consumption smart machine CPU, and network there is also unstability,
Picture often for a long time can just show when this results in slip and page turning, and the process of video loading also has similar problem.
The content of the invention
In order to solve the defect of above-mentioned deficiency, the invention provides a kind of picture and the loading method of video, when user stops
When staying in the page, the picture that first will be seen that all is loaded, afterwards again wouldn't by front and rear each screen using CPU and network idle time
Visible picture also loads out, and makes full use of network idle state to continue to preload the video data of the second collection, can be with
Realize the seamless switching of two collection, the viewing experience of significant increase user.
The invention provides a kind of picture and the loading method of video, comprise the following steps:
The step of preloading of image data, preloading of the image data, includes:By judging the behavior of user, when
When user rests on the page, the picture that the page will be stopped first is all loaded, afterwards again will be preceding using CPU and network idle time
Afterwards each screen wouldn't visible picture load out;
The step of preloading of video data, preloading of the video data, includes:Video rises and broadcasts preceding preloading, plays
During this set cache, next collection preloads.
Above-mentioned method, wherein, also include the step of the preloading of the image data:By the slip of user, page turning,
Again the image data of adjacent two screen of visible screen is preloaded.
Above-mentioned method, wherein, include the step of preloading before video rises and broadcasts in the preloading of the video data:
Start to load video data when user browses video information, by regarding for the video cache of loading to smart machine
Frequency Buffer Pool;
Video data is played out based on above-mentioned video buffer pond.
Above-mentioned method, wherein, include the step of this set cache in playing process in the preloading of the video data:
Video buffer pond is downloaded to by video data is continual based on video server;
Video player is based on above-mentioned video buffer pond and obtains video data and play out.
Above-mentioned method, wherein, include the step of next collection preloading in the preloading of the video data:
After the video data buffering that server will played terminates, next collection video data is entered by row buffering and stored
To video buffer pond;
After the video data broadcasting that player will played terminates, server terminates to being played in video buffer pond
Video data destroyed.
Above-mentioned method, wherein, described after the video data broadcasting that player will played terminates, server pair
The step of video data that end is played in video buffer pond is destroyed includes:
After the video data broadcasting that player will played terminates, the video of next part is obtained from video buffer pond
Data are simultaneously played out.
The present invention has advantages below:When user rests on the page, the picture that first will be seen that all is loaded, and is utilized afterwards
CPU and network idle time again by front and rear each screen wouldn't visible picture also load out, and make full use of network idle
State continues to preload the video data of the second collection, it is possible to achieve the seamless switching of two collection, the viewing experience of significant increase user.
Brief description of the drawings
By the detailed description made to non-limiting example with reference to the following drawings of reading, the present invention and its feature, outward
Shape and advantage will become more apparent upon.Identical mark indicates identical part in whole accompanying drawings.Not deliberately proportionally
Draw accompanying drawing, it is preferred that emphasis is purport of the invention is shown.
Fig. 1 be a kind of picture of the invention and video loading method in picture preload schematic flow sheet.
Fig. 2, Fig. 3, Fig. 4, Fig. 5 are the schematic flow sheet that middle video of the invention is preloaded.
Specific embodiment
In the following description, a large amount of concrete details are given to provide more thorough understanding of the invention.So
And, it is obvious to the skilled person that the present invention can be able to without one or more of these details
Implement.In other examples, in order to avoid obscuring with the present invention, do not enter for some technical characteristics well known in the art
Row description.
In order to thoroughly understand the present invention, detailed step and detailed structure will be proposed in following description, so as to
Explaination technical scheme.Presently preferred embodiments of the present invention is described in detail as follows, but in addition to these detailed descriptions, this
Invention can also have other embodiment.
Shown in reference picture 1- Fig. 5, the invention provides a kind of picture and the loading method of video, comprise the following steps:
Step S1:The preloading of image data, wherein specifically including:By judging the behavior of user, when user rests on
During the page, the picture that the page will be stopped first is all loaded, and using CPU and network idle time, each screen is temporary by before and after again afterwards
Sightless picture loads out, that is to say, that shown in reference picture 1, and when user rests on the page, the picture that first will be seen that is complete
Portion load, afterwards using CPU and network idle time again by front and rear each screen wouldn't visible picture also load out, so use
The loading of imperceptible picture when line slip, page turning is entered at family, once out all loading is good.And slip with user,
Page turning, preloads the image data of adjacent two screen of visible screen again.
Step S2:The step of preloading of video data, preloading of the video data, includes:Video rises and broadcasts preceding pre-add
Carry, this set cache in playing process, next collection is preloaded.
Video preload principle be:Video is preloaded includes three treatment logics:(1) information of film is browsed in user
When, preloading intelligent engine and judge the video that user will play, the play history record according to user helps user to preload
The video data that will be watched so that starting can watch rapidly when playing.(2) using broadcasting caching skill in playing process
Art, continues to cache played data, and the viewing effect of smoothness can be issued in low network speed and unstable network environment.(3) when
The preceding video played all is downloaded and finished, and starts to preload next video data that will be played.As watched the
Network has been in relative free shape to last video data loaded time point for will having watched during one collection
State, the present invention makes full use of this section of network idle state to continue to preload the video data of the second collection, it is possible to achieve the nothing of two collection
Seaming and cutting are changed.
Preferably and in non-limiting embodiment, shown in reference picture 3, video rises the present invention one in the preloading of video data
The step of being preloaded before broadcasting includes:
Start to load video data when user browses video information, by regarding for the video cache of loading to smart machine
Frequency Buffer Pool;Video data is played out based on above-mentioned video buffer pond, that is to say, that browse film information in user
When begin to load video data, the local buffer pool of video cache to smart machine, when user start play after broadcasting
Device obtains video data from local buffer pool, and similar to playing local video file, preloading technology by this can be by
Internet video is played and accomplishes that playing the same with local video broadcasts speed.
Of the invention one preferably and in non-limiting embodiment, this set cache in playing process in the preloading of video data
The step of include:Video buffer pond is downloaded to by video data is continual based on video server;Video player is based on upper
The video buffer pond stated obtains video data and plays out, and shown in reference picture 4, during video is played, there is individual this collection number
According to Buffer Pool.One side player takes data playback from the Buffer Pool, does not stop to download the data to Buffer Pool from server on one side.Only
Wanting to have in Buffer Pool data playback interim card would not occurs, so only needing to the average speed of foradownloaded video more than playing video
Average speed would not occur Caton phenomenon.The program can obtain smoothness under the scene that network speed is unstable but average network speed is enough
Experience is played, the program can do a smoothing processing to network speed, the fluctuation less than network speed is perceived during user's viewing video.
Of the invention one preferably and in non-limiting embodiment, shown in reference picture 5, next collection in the preloading of video data
The step of preloading, includes:After the video data buffering that server will played terminates, next collection video data is carried out
Buffer and be stored into video buffer pond;After the video data broadcasting that player will played terminates, server is to video
The video data that end is played in Buffer Pool is destroyed, specifically, user is in programs such as the TV play of viewing many collection, variety,
When watched one collection be switched to it is next collection the transition stage for buffering next collection again can all occur.Because normal users be along when
Between watched and be switched to next collection and continue to watch, the present invention is using the net downloaded after this collection video data for watching
Network free time, the video data of next collection is preloaded in advance, when user has watched this collection, next collection has been preloaded
One section of video data, realizes the seamless switching between two collection programs.
Presently preferred embodiments of the present invention is described above.It is to be appreciated that the invention is not limited in above-mentioned
Particular implementation, wherein the equipment and structure that do not describe in detail to the greatest extent are construed as giving reality with the common mode in this area
Apply;Any those of ordinary skill in the art, in the case where technical solution of the present invention ambit is not departed from, all using the disclosure above
Methods and techniques content make many possible variations and modification to technical solution of the present invention, or be revised as equivalent variations etc.
Effect embodiment, this has no effect on substance of the invention.Therefore, every content without departing from technical solution of the present invention, foundation
Technical spirit of the invention still falls within the present invention to any simple modification, equivalent variation and modification made for any of the above embodiments
In the range of technical scheme protection.
Claims (6)
1. the loading method of a kind of picture and video, it is characterised in that comprise the following steps:
The step of preloading of image data, preloading of the image data, includes:By judging the behavior of user, work as user
When resting on the page, the picture that the page will be stopped first is all loaded, and utilizes CPU and network idle time each by before and after again afterwards
One screen wouldn't visible picture load out;
The step of preloading of video data, preloading of the video data, includes:Video rises and broadcasts preceding preloading, playing process
Middle set cache, next collection is preloaded.
2. the loading method of a kind of picture as claimed in claim 1 and video, it is characterised in that the pre-add of the image data
The step of load, also includes:By the slip of user, page turning, the image data of adjacent two screen of visible screen is preloaded again.
3. the loading method of a kind of picture as claimed in claim 1 and video, it is characterised in that the pre-add of the video data
The step of video is preloaded before rising and broadcasting in load includes:
Start to load video data when user browses video information, the video of the video cache of loading to smart machine is delayed
Rush pond;
Video data is played out based on above-mentioned video buffer pond.
4. the loading method of a kind of picture as claimed in claim 2 and video, it is characterised in that the pre-add of the video data
Include the step of this set cache in playing process in load:
Video buffer pond is downloaded to by video data is continual based on video server;
Video player is based on above-mentioned video buffer pond and obtains video data and play out.
5. a kind of picture and the loading method of video as described in claim any one of 1-4, it is characterised in that the video counts
According to preloading in it is next collection preload the step of include:
After the video data buffering that server will played terminates, next collection video data is entered row buffering and is stored into regard
Frequency Buffer Pool;
After the video data broadcasting that player will played terminates, server is regarded to playing end in video buffer pond
Frequency evidence is destroyed.
6. the loading method of a kind of picture as claimed in claim 5 and video, it is characterised in that described when player will
The video data of broadcasting is played after terminating, and server is to playing the step that the video data of end is destroyed in video buffer pond
Suddenly include:
After the video data broadcasting that player will played terminates, the video data of next part is obtained from video buffer pond
And play out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611237862.1A CN106791911A (en) | 2016-12-28 | 2016-12-28 | A kind of loading method of picture and video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611237862.1A CN106791911A (en) | 2016-12-28 | 2016-12-28 | A kind of loading method of picture and video |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106791911A true CN106791911A (en) | 2017-05-31 |
Family
ID=58925345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611237862.1A Pending CN106791911A (en) | 2016-12-28 | 2016-12-28 | A kind of loading method of picture and video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106791911A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259975A (en) * | 2018-02-01 | 2018-07-06 | 广州市百果园信息技术有限公司 | Video broadcasting method, storage medium and terminal |
CN108337553A (en) * | 2018-02-08 | 2018-07-27 | 深圳市兆驰股份有限公司 | A kind of multi-medium data pre-download method |
CN108521608A (en) * | 2018-03-13 | 2018-09-11 | Oppo广东移动通信有限公司 | Processing method, device, terminal and the storage medium of video file |
CN108762622A (en) * | 2018-06-04 | 2018-11-06 | 北京搜狐新动力信息技术有限公司 | A kind of the switching display methods and device of the page |
CN110162394A (en) * | 2019-05-31 | 2019-08-23 | 北京字节跳动网络技术有限公司 | Playback method, device, electronic equipment and the storage medium of media object |
CN111400633A (en) * | 2020-04-13 | 2020-07-10 | 网易(杭州)网络有限公司 | Page resource loading method and device |
CN111552872A (en) * | 2020-04-15 | 2020-08-18 | 携程旅游网络技术(上海)有限公司 | Method and system for restoring user behavior, electronic device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103246526A (en) * | 2012-02-07 | 2013-08-14 | 腾讯科技(深圳)有限公司 | Client pre-loading method and device |
CN103686414A (en) * | 2013-12-19 | 2014-03-26 | 北京奇艺世纪科技有限公司 | Network video playing method and device |
US20140115020A1 (en) * | 2012-07-04 | 2014-04-24 | International Medical Solutions, Inc. | Web server for storing large files |
KR20150004459A (en) * | 2013-07-02 | 2015-01-13 | 에스케이텔레콤 주식회사 | Method for preloading in content delivery system and apparatus thereof |
CN104793945A (en) * | 2015-04-27 | 2015-07-22 | 深圳市美贝壳科技有限公司 | Large-batch picture displaying method for preventing memory overflow and device thereof |
CN105045592A (en) * | 2015-07-24 | 2015-11-11 | 北京金山安全软件有限公司 | Picture display method and device |
CN105338409A (en) * | 2014-06-30 | 2016-02-17 | 小米科技有限责任公司 | Network video pre-loading method and device |
-
2016
- 2016-12-28 CN CN201611237862.1A patent/CN106791911A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103246526A (en) * | 2012-02-07 | 2013-08-14 | 腾讯科技(深圳)有限公司 | Client pre-loading method and device |
US20140115020A1 (en) * | 2012-07-04 | 2014-04-24 | International Medical Solutions, Inc. | Web server for storing large files |
KR20150004459A (en) * | 2013-07-02 | 2015-01-13 | 에스케이텔레콤 주식회사 | Method for preloading in content delivery system and apparatus thereof |
CN103686414A (en) * | 2013-12-19 | 2014-03-26 | 北京奇艺世纪科技有限公司 | Network video playing method and device |
CN105338409A (en) * | 2014-06-30 | 2016-02-17 | 小米科技有限责任公司 | Network video pre-loading method and device |
CN104793945A (en) * | 2015-04-27 | 2015-07-22 | 深圳市美贝壳科技有限公司 | Large-batch picture displaying method for preventing memory overflow and device thereof |
CN105045592A (en) * | 2015-07-24 | 2015-11-11 | 北京金山安全软件有限公司 | Picture display method and device |
Non-Patent Citations (1)
Title |
---|
鲁士文: "《网络多播和实时通信技术》", 30 April 2016 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259975A (en) * | 2018-02-01 | 2018-07-06 | 广州市百果园信息技术有限公司 | Video broadcasting method, storage medium and terminal |
CN108259975B (en) * | 2018-02-01 | 2020-11-06 | 广州市百果园信息技术有限公司 | Video playing method, storage medium and terminal |
CN108337553A (en) * | 2018-02-08 | 2018-07-27 | 深圳市兆驰股份有限公司 | A kind of multi-medium data pre-download method |
CN108521608A (en) * | 2018-03-13 | 2018-09-11 | Oppo广东移动通信有限公司 | Processing method, device, terminal and the storage medium of video file |
CN108521608B (en) * | 2018-03-13 | 2021-01-08 | Oppo广东移动通信有限公司 | Video file processing method and device, terminal and storage medium |
CN108762622A (en) * | 2018-06-04 | 2018-11-06 | 北京搜狐新动力信息技术有限公司 | A kind of the switching display methods and device of the page |
CN110162394A (en) * | 2019-05-31 | 2019-08-23 | 北京字节跳动网络技术有限公司 | Playback method, device, electronic equipment and the storage medium of media object |
CN111400633A (en) * | 2020-04-13 | 2020-07-10 | 网易(杭州)网络有限公司 | Page resource loading method and device |
CN111552872A (en) * | 2020-04-15 | 2020-08-18 | 携程旅游网络技术(上海)有限公司 | Method and system for restoring user behavior, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106791911A (en) | A kind of loading method of picture and video | |
CN106791953B (en) | Multi-player control method, server and client | |
CN110557670A (en) | Method, device, terminal and storage medium for playing video in webpage | |
WO2019105467A1 (en) | Method and device for sharing information, storage medium, and electronic device | |
CN104168507B (en) | A kind of method of video playing, video process apparatus, browsing apparatus | |
CN108337553A (en) | A kind of multi-medium data pre-download method | |
CN102364905B (en) | Data reproducing method, device and mobile terminal | |
CN102426685B (en) | Interactive internet video advertisement broadcasting method | |
CN105187939A (en) | Method and device of playing video in webpage game | |
CN102905170A (en) | Screen popping method and system for video | |
CN110795056B (en) | Method, device, terminal and storage medium for adjusting display parameters | |
CN105306997A (en) | Mobile terminal play mode switching method and device | |
CN103294782B (en) | A kind of data exhibiting process and device | |
CN103399802A (en) | Method and device for preloading of picture | |
CN103517154A (en) | Method for preloading video files and system thereof | |
CN105898291A (en) | Network video playing method and device | |
CN105898518A (en) | Interface display method and device in video loading process | |
CN105760490A (en) | Resource storage method and device and electronic equipment | |
CN108875068B (en) | Data information positioning method applied to smart television | |
CN104284214A (en) | Downloading system of film and television resources | |
CN104202652A (en) | Television set top box and playback control method thereof | |
KR20120114270A (en) | Rendering a web page comprising plug-in content | |
CN105744338B (en) | A kind of method for processing video frequency and its equipment | |
CN104994429B (en) | A kind of method and device playing video | |
CN105828176A (en) | Program switching realization method, device and equipment and computer program product |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |
|
RJ01 | Rejection of invention patent application after publication |