CN106101814A - Picture display method and device - Google Patents

Picture display method and device Download PDF

Info

Publication number
CN106101814A
CN106101814A CN201610412700.0A CN201610412700A CN106101814A CN 106101814 A CN106101814 A CN 106101814A CN 201610412700 A CN201610412700 A CN 201610412700A CN 106101814 A CN106101814 A CN 106101814A
Authority
CN
China
Prior art keywords
video
thumbnail
play
current time
frame images
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
Application number
CN201610412700.0A
Other languages
Chinese (zh)
Inventor
刘玉鑫
魏先哲
陈彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610412700.0A priority Critical patent/CN106101814A/en
Publication of CN106101814A publication Critical patent/CN106101814A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8549Creating video summaries, e.g. movie trailer

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

Present disclose provides a kind of picture display method and device, belong to internet arena.Described method includes: during playing video, the video frame images that caching current time is play;When this video moment in this prior stops to play, this video frame images based on caching determines thumbnail, and this thumbnail is for indicating this video image of display when stopping to play;This thumbnail is shown specifying position.The disclosure is by during playing video, the video frame images that caching current time is play, and when this video moment in this prior stops to play, the playing progress rate of video when determining thumbnail to point out user to stop to play based on this video frame images, therefore need not decoding after this video stops to play and obtain this video frame images, such that it is able to avoid causing the waste of cpu resource.

Description

Picture display method and device
Technical field
It relates to internet arena, particularly to a kind of picture display method and device.
Background technology
Along with the development of science and technology, use terminal viewing video the most increasingly common in daily life. In video display process, terminal be potentially based on various reason stop play video, that is to say, video play time When length is also not up to total duration of video, terminal stops playing this video.In this case, in order to make user understand this video Playing progress rate when stopping broadcasting, terminal can show near the play options of this video that thumbnail, this thumbnail are used for The image of display when reflecting video stops to play.
In correlation technique, after terminal aborts plays a certain video, terminal can obtain the header of this video and regard with this Frequency stops the playing duration when playing, and terminal obtains the coded system of this video according to this header, and plays based on this Duration location target video data bag, this target video data bag is decoded by terminal coded system based on this video, root According to the video data obtained after decoding, terminal can generate thumbnail, display when this thumbnail can stop to play with reflecting video Image, wherein, this target video data bag is the packet that video server sends to terminal, and terminal can be regarded by decoding Frequently the packet that server sends obtains video data, and plays video based on this video data.
Summary of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of picture display method and device.
First aspect according to disclosure embodiment, it is provided that a kind of picture display method, including:
During playing video, the video frame images that caching current time is play;
When described video stops to play at described current time, determine thumbnail based on caching described video frame images, Described thumbnail is for indicating described video image of display when stopping to play;
Described thumbnail is shown specifying position.
In the first possible embodiment of first aspect, described caching current time play video frame images it Before, also include:
Judge that whether frame of video that current time plays is last frame of video of described video;
Correspondingly, the video frame images that described caching current time is play, including:
When the frame of video that described current time is play is not for last frame of video of described video, cache current time The video frame images play.
In the embodiment that the second of first aspect is possible, the video frame images that described caching current time is play, Including:
The playing duration of described video frame images with video described in described current time is bound, and regards described Frequently during two field picture is stored in designated memory space;
Correspondingly, described when described video stops to play at described current time, described frame of video figure based on caching As determining thumbnail, including:
When described video stops to play at described current time, during according to the broadcasting of video described in described current time Long, from described designated memory space, obtain described video frame images;
It is compressed obtaining described thumbnail to described video frame images.
In the third possible embodiment of first aspect, the video frame images that described caching current time is play, Including:
It is compressed obtaining described thumbnail to described video frame images;
The playing duration of described thumbnail with video described in described current time is bound, and by described thumbnail It is stored in designated memory space;
Correspondingly, described when described video stops to play at described current time, described frame of video figure based on caching As determining thumbnail, including:
When described video stops to play at described current time, during according to the broadcasting of video described in described current time Long, from described designated memory space, obtain described thumbnail.
In the 4th kind of possible embodiment of first aspect, described caching current time play video frame images it After, also include:
Obtain the thumbnail number of storage in described designated memory space;
When described thumbnail number is more than the first predetermined threshold value, delete target thumbnail, described target thumbnail is institute State the thumbnail with the binding of minimum playing duration in designated memory space.
In the 5th kind of possible embodiment of first aspect, described caching current time play video frame images it After, also include:
Obtain the occupancy of described designated memory space;
When described occupancy is more than the second predetermined threshold value, delete target video frame images, described target video frame figure As the video frame images for binding with minimum playing duration in described designated memory space.
Second aspect according to disclosure embodiment, it is provided that a kind of picture display device, including:
Cache module, for during playing video, caches the video frame images that current time is play;
Determine module, for when described video stops to play at described current time, caching based on described cache module Described video frame images determine thumbnail, described thumbnail for indicate described video stop play time display image;
Display module, for specifying position to show the described described thumbnail determining that module determines.
In the first possible embodiment of second aspect, described device also includes: judge module, works as judgement Whether the frame of video that the front moment plays is last frame of video of described video;
Correspondingly, described cache module, the frame of video for playing when described current time is not the last of described video During one frame of video, the video frame images that caching current time is play.
In the embodiment that the second of second aspect is possible, described cache module, for by described video frame images Bind with the playing duration of video described in described current time, and described video frame images is stored in appointment storage sky In between;
Correspondingly, described determine module, for when described video stops to play at described current time, working as according to described The playing duration of video described in the front moment, obtains described video frame images from described designated memory space;To described video Two field picture is compressed obtaining described thumbnail.
In the third possible embodiment of second aspect, described device also includes: compression module, for described Video frame images is compressed obtaining described thumbnail;
Described cache module, for tying up the playing duration of described thumbnail with video described in described current time Fixed, and by described thumbnail storage in designated memory space;
Correspondingly, described determine module, for when described video stops to play at described current time, working as according to described The playing duration of video described in the front moment, obtains described thumbnail from described designated memory space.
In the 4th kind of possible embodiment of second aspect, described device also includes acquisition module, described acquisition mould Block, for obtaining the thumbnail number of storage in described designated memory space;
Described device also includes removing module, and described removing module, for presetting more than first when described thumbnail number During threshold value, delete target thumbnail, described target thumbnail is to bind with minimum playing duration in described designated memory space Thumbnail.
In the 5th kind of possible embodiment of second aspect, described device also includes acquisition module, described acquisition mould Block, for obtaining the occupancy of described designated memory space;
Described device also includes removing module, and described removing module, for when described data volume is more than the second predetermined threshold value Time, delete target video frame images, described target video two field picture be in described designated memory space with minimum playing duration The video frame images of binding.
The third aspect according to disclosure embodiment, it is provided that a kind of picture display device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
During playing video, the video frame images that caching current time is play;
When described video stops to play at described current time, described video frame images based on caching determines breviary Figure, described thumbnail is for indicating described video image of display when stopping to play;
Described thumbnail is shown specifying position.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
By during playing video, cache the video frame images that current time is play, and deserving at this video When the front moment stops to play, this video frame images based on caching determines thumbnail, is then specifying position to show this thumbnail, To show the image that video shows when stopping to play, so that user it will be seen that the broadcasting when termination is play of this video is entered Degree.During due to video playback, terminal natively need to be decoded operation could normal play video, therefore, terminal can be It is decoded operation during playing video and obtains video frame images, without being decoded behaviour after only playing in video Make to obtain this video frame images, such that it is able to avoid causing the waste of cpu resource.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The disclosure can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure Example, and for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart according to a kind of picture display method shown in an exemplary embodiment.
Fig. 2 is the flow chart according to a kind of picture display method shown in an exemplary embodiment.
Fig. 3 is the block diagram according to a kind of picture display device 300 shown in an exemplary embodiment.
Fig. 4 is the block diagram according to a kind of picture display device 400 shown in an exemplary embodiment.
Fig. 5 is the block diagram according to a kind of picture display device 500 shown in an exemplary embodiment.
Detailed description of the invention
For making the purpose of the disclosure, technical scheme and advantage clearer, below in conjunction with accompanying drawing to disclosure embodiment party Formula is described in further detail.
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
Fig. 1 is the flow chart according to a kind of picture display method shown in an exemplary embodiment, as it is shown in figure 1, this figure Sheet methods of exhibiting, in terminal, comprises the following steps.
Step 110: during playing video, the video frame images that terminal buffers current time is play.
Step 120: when this video moment in this prior stops to play, terminal this video frame images based on caching determines Thumbnail, this thumbnail is for indicating this video image of display when stopping to play.
Step 130: terminal shows this thumbnail in appointment position.
In sum, the picture display method that the present embodiment provides, by playing during video, when caching current Carve the video frame images play, and when this video moment in this prior stops to play, this video frame images based on caching is true Reduced sketch map, is then specifying position to show this thumbnail, to show the image that video shows when stopping to play, so that user It will be seen that this video playing progress rate when stopping broadcasting.During due to video playback, terminal natively needs to be decoded behaviour Making ability normal play video, therefore, terminal can be decoded operation during playing video and obtain video frame images, Without being decoded after only playing in video operating to obtain this video frame images, such that it is able to avoid causing CPU to provide The waste in source.
Optionally, before the video frame images that this caching current time is play, also include:
Judge that whether frame of video that this current time plays is last frame of video of this video;
Correspondingly, the video frame images that this caching current time is play, including:
When the frame of video that this current time is play is not for last frame of video of this video, caching current time is play Video frame images.
Optionally, the video frame images that this caching current time is play, including:
The playing duration of this video frame images with this this video of current time is bound, and by this video frame images It is stored in designated memory space;
Correspondingly, when deserving the termination broadcasting of this video moment in this prior, this video frame images based on caching determines contracting Sketch map, including:
When this video moment in this prior stops to play, according to the playing duration of this this video of current time, from this Designated memory space obtains this video frame images;
It is compressed obtaining this thumbnail to this video frame images.
Optionally, the video frame images that this caching current time is play, including:
It is compressed obtaining this thumbnail to this video frame images;
The playing duration of this thumbnail with this this video of current time is bound, and by this thumbnail storage in finger Determine in memory space;
Correspondingly, when deserving the termination broadcasting of this video moment in this prior, this video frame images based on caching determines contracting Sketch map, including:
When this video moment in this prior stops to play, according to the playing duration of this this video of current time, from this Designated memory space obtains this thumbnail.
Optionally, after the video frame images that this caching current time is play, also include:
Obtain the thumbnail number of storage in this designated memory space;
When this thumbnail number is more than the first predetermined threshold value, delete target thumbnail, this target thumbnail is this appointment The thumbnail bound with minimum playing duration in memory space.
Optionally, after the video frame images that this caching current time is play, also include:
Obtain the occupancy of this designated memory space;
When occupancy is more than the second predetermined threshold value for this, delete target video frame images, this target video two field picture is The video frame images bound with minimum playing duration in this designated memory space.
Above-mentioned all optional technical schemes, can use and arbitrarily combine the alternative embodiment forming the disclosure, at this no longer Repeat one by one.
Fig. 2 is the flow chart according to a kind of picture display method shown in an exemplary embodiment, as in figure 2 it is shown, this figure Sheet methods of exhibiting, in terminal, comprises the following steps.
Step 210: during playing video, whether the frame of video that terminal judges current time is play is this video Last frame of video, if last frame of video that frame of video is this video that current time is play, then terminates flow process, if working as The frame of video that the front moment plays is not last frame of video of this video, then perform step 220.
Present disclose provides a kind of picture display method, when the most only playing, terminal can be broadcast based at video During putting, the video frame images of caching generates a thumbnail in real time, display when this thumbnail is used for indicating video to stop to play Image, terminal specify position show this thumbnail so that user know stop play time video playing progress rate.
In actual applications, if last frame of video that frame of video is this video that terminal current time is play, then regard Frequency is play the most completely, and now terminal need not the playing progress rate of regeneration thumbnail prompting user video, the most now disclosure Flow process can be terminated.If the frame of video that current time is play is not last frame of video of this video, if then explanation video exists Current time stops, and terminal needs to generate a thumbnail to point out user, and now, terminal needs to perform step 220.
Step 220: the video frame images that terminal buffers current time is play.
In actual applications, video playback the most likely stops, such as, video playback because user exit operation and Stop, video playback termination etc. because network condition is abnormal, owing to when the unpredictable video playback of terminal stops, therefore eventually End needs real-time buffered video two field picture, in order to utilize the video frame images of caching in real time to determine breviary when only playing in video Figure stops playing progress rate when playing with prompting user video.
In an embodiment of the disclosure, terminal can receive video server send video data bag, and based on The coded system of this video data bag is decoded obtaining above-mentioned video frame images to this video data bag, and then, terminal is permissible Cache this video frame images.
In actual application, terminal is also required to obtain this video frame images when playing video, and based on this video frame images Carry out the broadcasting of video, thus realize the normal play to this video.
From above-mentioned narration, terminal decodes the video frame images obtained and on the one hand may be used for when carrying out video playback The broadcasting of video, on the other hand can store so that terminal can regard based on this when current time stops video playback Frequently two field picture determines thumbnail.And in correlation technique, terminal needs to stop in video after playing again to above-mentioned video data bag Being decoded obtaining above-mentioned video frame images, the frame of video being additionally, since video termination broadcasting moment broadcasting may not be Independent frame, now, the video data bag that terminal not only needs the frame of video that this termination is play the moment corresponding is decoded, and also needs The video data bag that frame of video before this termination broadcasting moment and/or after this termination broadcasting moment is corresponding is decoded, this Greatly taking cpu resource can be caused, and the disclosure can cache this video frame images during video playback, then eventually End need not after only playing in video perform the decoding step of video data bag i.e. can be obtained this video frame images, thus can To avoid cpu resource is taken.
Step 230: the playing duration of this video frame images with this this video of current time is bound by terminal, and will This video frame images is stored in designated memory space.
It should be noted that in an embodiment of the disclosure, terminal can that is to say terminal when opening this video When receiving first video data bag that video server sends, generating space application instruction, the application instruction of this space is used for Instruction terminal is one memory space of this video distribution, that is to say " designated memory space " mentioned above.
In actual applications, it is somebody's turn to do to position rapidly in this designated memory space when making terminal only play in video Video frame images, the playing duration of this video frame images with current time video can also be bound, simultaneously by the disclosure This video frame images can be stored in above-mentioned designated memory space for index by terminal with playing duration.
From the above mentioned, in actual applications, terminal cannot judge when video stops to play, and therefore terminal needs the most slow Deposit video frame images, in order to when only playing in video, utilize the video frame images of caching in real time to determine that thumbnail is to point out user Video stops playing progress rate when playing.But, when this video the most do not stop play, i.e. this video a certain Playing duration does not stop to play, then terminal is also no longer necessary to preserve the video frame images of this certain playing duration binding, then The video frame images of this certain playing duration binding can be deleted, to save memory space, on reaching by terminal Stating purpose, terminal is in some embodiments of the disclosure, and terminal can perform following technology after step 230 or step 220 Process:
Terminal obtains the occupancy of this designated memory space;When occupancy is more than the second predetermined threshold value for this, terminal Delete target video frame images, this target video two field picture be in this designated memory space with minimum playing duration binding regard Frequently two field picture.
In actual application, terminal can in real time, or every scheduled duration by binding in this designated memory space Playing duration is deleted less than the video frame images of current time playing duration, it is also possible in this designated memory space Above-mentioned target video two field picture is deleted by occupancy more than during the second predetermined threshold value, and this is not specifically limited by the disclosure, its In, above-mentioned scheduled duration and above-mentioned second predetermined threshold value all can be set by technical staff in advance, it is also possible to by user's root Being set according to the demand of self, this is also not especially limited by the disclosure.
In some embodiments of the disclosure, terminal can not store this video frame images in this designated memory space, That is to say, terminal can not perform above-mentioned steps 240, and accordingly, this video frame images can be compressed being contracted by terminal Sketch map, then binds the playing duration of this thumbnail with this this video of current time, and by this thumbnail storage in In designated memory space.
In actual application, if terminal stops to play this video at current time, then terminal needs according to above-mentioned frame of video figure Image shown in time generating thumbnail to indicate this video to stop to play.Owing to the size of video frame images is general very big, because of These needs are compressed obtaining above-mentioned thumbnail to this video frame images, in actual applications, are carried out by this video frame images The algorithm of compression can include RGB compression algorithm, JPG compression algorithm etc., and this is not specifically limited by the disclosure.Therefore, terminal This video frame images can not be stored in this designated memory space, but directly with playing duration for index storage based on this Video frame images compresses the thumbnail obtained, and such terminal can save memory space.
Similarly, in terminal, the playing duration of thumbnail with this this video of current time is bound, and by this contracting In the case of sketch map is stored in designated memory space, when this video does not the most stop to play, and i.e. this video is at certain One playing duration does not stop to play, then terminal is also no longer necessary to preserve the thumbnail of this certain playing duration binding, then The thumbnail of this certain playing duration binding can be deleted, to save memory space, in order to reach above-mentioned mesh by terminal , terminal is in some embodiments of the disclosure, and terminal can perform following technical process:
Terminal obtains the thumbnail number of storage in this designated memory space;When this thumbnail number presets threshold more than first During value, delete target thumbnail, this target thumbnail is the breviary in this designated memory space with the binding of minimum playing duration Figure, it should be noted that above-mentioned first predetermined threshold value can be set in advance by technical staff, it is also possible to by user according to certainly Body needs to be set, and this is not especially limited by the disclosure.
Step 240: when this video moment in this prior stops to play, terminal is broadcast according to this this video of current time Put duration, from this designated memory space, obtain this video frame images.
When this video moment in this prior stops to play, terminal can obtain the playing duration of this video, such as, In one embodiment of the disclosure, terminal, when playing the video of entitled A, at a time stops to broadcast because network occurs abnormal Put this A video, terminal obtain the playing duration of this certain moment A video be 2 points 30 seconds 10 milliseconds, then terminal is according to these 2 points 30 seconds 10 milliseconds for index from above-mentioned designated memory space obtain video frame images.
With above-mentioned terminal, this video frame images is compressed obtaining thumbnail, and by this thumbnail storage in specifying storage Embodiment in space is corresponding, and in some embodiments of the disclosure, terminal can not perform above-mentioned steps 250, accordingly, When this video moment in this prior stops to play, terminal can refer to from this according to the playing duration of this video of current time Determine memory space obtains this thumbnail.Wherein, terminal, according to the playing duration of this video of current time, stores from this appointment Space obtains the technical process of this thumbnail with above-mentioned terminal according to the playing duration of this this video of current time, refer to from this Determining to obtain the technical process of this video frame images in memory space in like manner, the disclosure does not repeats them here.
Step 250: this video frame images is compressed obtaining this thumbnail by terminal.
As it has been described above, the size of video frame images is the biggest, it is therefore desirable to be compressed this video frame images obtaining To above-mentioned thumbnail, then disclosure terminal needs after performing step 240 to perform step 250, as terminal to this frame of video Image is compressed obtaining the technical process disclosure of this thumbnail and is described above, the most superfluous in this disclosure State.
It should be noted that when terminal does not perform above-mentioned steps 230 and step 240, terminal can not also perform above-mentioned Step 250.
Step 260: terminal shows this thumbnail in appointment position.
In actual applications, terminal is after obtaining above-mentioned thumbnail, and terminal can show this breviary specifying position Figure is to point out user, and specifically, this appointment position can be near the play options of this video, it is also possible at this video The informative presentations page on, this appointment position is not especially limited by the disclosure, wherein, above-mentioned play options in a triggered, Terminal can generate play command, and this play command is for indicating terminal playing duration based on this video to continue this video Play out.
In sum, the picture display method that the present embodiment provides, by playing during video, when caching current Carve the video frame images play, and when this video moment in this prior stops to play, this video frame images based on caching is true Reduced sketch map, is then specifying position to show this thumbnail, to show the image that video shows when stopping to play, so that user It will be seen that this video playing progress rate when stopping broadcasting.During due to video playback, terminal natively needs to be decoded behaviour Making ability normal play video, therefore, terminal can be decoded operation during playing video and obtain video frame images, Without being decoded after only playing in video operating to obtain this video frame images, such that it is able to avoid causing CPU to provide The waste in source.
Fig. 3 is the block diagram according to a kind of picture display device 300 shown in an exemplary embodiment.With reference to Fig. 3, this device Including cache module 310, determine module 320 and display module 330.
This cache module 310, for during playing video, caches the video frame images that current time is play.
This determines module 320, for when this video moment in this prior stops to play, delays based on this cache module 310 This video frame images deposited determines thumbnail, and this thumbnail is for indicating this video image of display when stopping to play.
This display module 330, for specifying position to show that this determines this thumbnail that module determines.
See Fig. 4, in another embodiment of the disclosure, additionally provide another kind of picture display device 400, this device Example structure based on above-mentioned Fig. 3, also includes judge module 340, acquisition module 350, compression module 360 and removing module 370。
This judge module 340, for judging that whether frame of video that current time plays is last video of this video Frame.
Correspondingly, this cache module 310, the frame of video for playing when this current time is not last of this video During frame of video, the video frame images that caching current time is play.
This cache module 310, for tying up the playing duration of this video frame images with this this video of current time Fixed, and this video frame images is stored in designated memory space.
Correspondingly, this determines module 320, for when this video moment in this prior stop play time, according to this current time Carve the playing duration of this video, from this designated memory space, obtain this video frame images;This video frame images is pressed Contracting obtains this thumbnail.
This compression module 360, for being compressed obtaining this thumbnail to this video frame images.
This cache module 310, for the playing duration of this thumbnail with this this video of current time is bound, and By this thumbnail storage in designated memory space.
Correspondingly, this determines module 320, for when this video moment in this prior stop play time, according to this current time Carve the playing duration of this video, from this designated memory space, obtain this thumbnail.
This acquisition module 350, for obtaining the thumbnail number of storage in this designated memory space.
This removing module 370, is used for when this thumbnail number is more than the first predetermined threshold value, and delete target thumbnail should Target thumbnail is the thumbnail in this designated memory space with the binding of minimum playing duration.
This acquisition module 350, for obtaining the occupancy of this designated memory space.
This removing module 370, is used for when this data volume is more than the second predetermined threshold value, and delete target video frame images should Target video two field picture is the video frame images in this designated memory space with the binding of minimum playing duration.
In sum, the picture display device that the present embodiment provides is logical
Cross during playing video, the video frame images that caching current time is play, and at this video in this prior When moment stops to play, this video frame images based on caching determines thumbnail, is then specifying position to show this thumbnail, with Show the image of display when video stops to play, so that user it will be seen that this video playing progress rate when termination is play. During due to video playback, terminal natively needs to be decoded operation ability normal play video, and therefore, terminal can play Be decoded operation during video and obtain video frame images, without be decoded after only playing in video operating with Obtain this video frame images, such that it is able to avoid causing the waste of cpu resource.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 5 is the block diagram according to a kind of picture display device 500 shown in an exemplary embodiment.Such as, device 500 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium, strong Body equipment, personal digital assistant etc..
With reference to Fig. 5, device 500 can include following one or more assembly: processes assembly 502, memorizer 504, power supply Assembly 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, and Communications component 516.
Process assembly 502 and generally control the integrated operation of device 500, such as with display, call, data communication, phase The operation that machine operation and record operation are associated.Process assembly 502 and can include that one or more processor 520 performs to refer to Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 502 can include one or more module, just Mutual in process between assembly 502 and other assemblies.Such as, process assembly 502 and can include multi-media module, many to facilitate Media component 508 and process between assembly 502 mutual.
Memorizer 504 is configured to store various types of data to support the operation at device 500.Showing of these data Example includes any application program for operating on device 500 or the instruction of method, contact data, telephone book data, disappears Breath, thumbnail, video etc..Memorizer 504 can by any kind of volatibility or non-volatile memory device or they Combination realizes, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
The various assemblies that power supply module 506 is device 500 provide electric power.Power supply module 506 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 500, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 508 is included between described device 500 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensing Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch or sliding action Border, but also detect the persistent period relevant to described touch or slide and pressure.In certain embodiments, many matchmakers Body assembly 508 includes a front-facing camera and/or post-positioned pick-up head.When device 500 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and Post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 510 is configured to output and/or input audio signal.Such as, audio-frequency assembly 510 includes a Mike Wind (MIC), when device 500 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is joined It is set to receive external audio signal.The audio signal received can be further stored at memorizer 504 or via communication set Part 516 sends.In certain embodiments, audio-frequency assembly 510 also includes a speaker, is used for exporting audio signal.
I/O interface 512 provides interface for processing between assembly 502 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Set button.
Sensor cluster 514 includes one or more sensor, for providing the state of various aspects to comment for device 500 Estimate.Such as, what sensor cluster 514 can detect device 500 opens/closed mode, the relative localization of assembly, such as described Assembly is display and the keypad of device 500, and sensor cluster 514 can also detect device 500 or 500 1 assemblies of device Position change, the presence or absence that user contacts with device 500, device 500 orientation or acceleration/deceleration and device 500 Variations in temperature.Sensor cluster 514 can include proximity transducer, is configured to when not having any physical contact detect The existence of neighbouring object.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, is used for becoming Use as in application.In certain embodiments, this sensor cluster 514 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 516 is configured to facilitate the communication of wired or wireless mode between device 500 and other equipment.Device 500 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.An exemplary enforcement In example, communication component 516 receives the broadcast singal from external broadcasting management system or broadcast related information via broadcast channel. In one exemplary embodiment, described communication component 516 also includes near-field communication (NFC) module, to promote junction service.Example As, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 500 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, be used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 504 of instruction, above-mentioned instruction can have been performed said method by the processor 520 of device 500.Such as, Described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium, when described storage is situated between When instruction in matter is performed by the processor of mobile terminal so that mobile terminal is able to carry out following picture display method: broadcasting During putting video, the video frame images that caching current time is play;When this video moment in this prior stops to play, base This video frame images in caching determines thumbnail, and this thumbnail is for indicating this video image of display when stopping to play; This thumbnail is shown specifying position.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by above Claim is pointed out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a picture display method, it is characterised in that described method includes:
During playing video, the video frame images that caching current time is play;
When described video stops to play at described current time, described video frame images based on caching determines thumbnail, institute State thumbnail for indicating described video image of display when stopping to play;
Described thumbnail is shown specifying position.
Method the most according to claim 1, it is characterised in that described caching current time play video frame images it Before, also include:
Judge that whether frame of video that current time plays is last frame of video of described video;
Correspondingly, the video frame images that described caching current time is play, including:
When the frame of video that described current time is play is not for last frame of video of described video, caching current time is play Video frame images.
Method the most according to claim 1, it is characterised in that the video frame images that described caching current time is play, bag Include:
The playing duration of described video frame images with video described in described current time is bound, and by described frame of video Image is stored in designated memory space;
Correspondingly, described when described video stops to play at described current time, described video frame images based on caching is true Reduced sketch map, including:
When described video stops to play at described current time, according to the playing duration of video described in described current time, Described video frame images is obtained from described designated memory space;
It is compressed obtaining described thumbnail to described video frame images.
Method the most according to claim 1, it is characterised in that the video frame images that described caching current time is play, bag Include:
It is compressed obtaining described thumbnail to described video frame images;
The playing duration of described thumbnail with video described in described current time is bound, and by described thumbnail storage In designated memory space;
Correspondingly, described when described video stops to play at described current time, described video frame images based on caching is true Reduced sketch map, including:
When described video stops to play at described current time, according to the playing duration of video described in described current time, Described thumbnail is obtained from described designated memory space.
Method the most according to claim 4, it is characterised in that described described video data based on caching obtains frame of video After image, also include:
Obtain the thumbnail number of storage in described designated memory space;
When described thumbnail number is more than the first predetermined threshold value, delete target thumbnail, described target thumbnail is described finger Determine the thumbnail with the binding of minimum playing duration in memory space.
Method the most according to claim 3, it is characterised in that described described video data based on caching obtains frame of video After image, also include:
Obtain the occupancy of described designated memory space;
When described occupancy is more than the second predetermined threshold value, delete target video frame images, described target video two field picture is The video frame images bound with minimum playing duration in described designated memory space.
7. a picture display device, it is characterised in that described device includes:
Cache module, for during playing video, caches the video frame images that current time is play;
Determine module, be used for when described video stops to play at described current time, the institute cached based on described cache module Stating video frame images and determine thumbnail, described thumbnail is for indicating described video image of display when stopping to play;
Display module, for specifying position to show the described described thumbnail determining that module determines.
Device the most according to claim 7, it is characterised in that described device also includes:
Judge module, for judging that whether frame of video that current time plays is last frame of video of described video;
Correspondingly, described cache module, the frame of video for playing when described current time is not last of described video During frame of video, the video frame images that caching current time is play.
Device the most according to claim 7, it is characterised in that described cache module, for by described video frame images with The playing duration of video described in described current time is bound, and described video frame images is stored in designated memory space In;
Correspondingly, described determine module, for when described video stops to play at described current time, according to described current time Carve the playing duration of described video, from described designated memory space, obtain described video frame images;To described frame of video figure As being compressed obtaining described thumbnail.
Device the most according to claim 7, it is characterised in that described device also includes:
Compression module, for being compressed obtaining described thumbnail to described video frame images;
Described cache module, for the playing duration of described thumbnail with video described in described current time is bound, And by described thumbnail storage in designated memory space;
Correspondingly, described determine module, for when described video stops to play at described current time, according to described current time Carve the playing duration of described video, from described designated memory space, obtain described thumbnail.
11. devices according to claim 10, it is characterised in that described device also includes acquisition module, described acquisition mould Block, for obtaining the thumbnail number of storage in described designated memory space;
Described device also includes removing module, and described removing module, for when described thumbnail number is more than the first predetermined threshold value Time, delete target thumbnail, described target thumbnail is the contracting in described designated memory space with the binding of minimum playing duration Sketch map.
12. devices according to claim 9, it is characterised in that described device also includes acquisition module, described acquisition mould Block, for obtaining the occupancy of described designated memory space;
Described device also includes removing module, and described removing module, for when described data volume is more than the second predetermined threshold value, deleting Except target video two field picture, described target video two field picture is to bind with minimum playing duration in described designated memory space Video frame images.
13. 1 kinds of picture display devices, it is characterised in that described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
During playing video, the video frame images that caching current time is play;
When described video stops to play at described current time, described video frame images based on caching determines thumbnail, institute State thumbnail for indicating described video image of display when stopping to play;
Described thumbnail is shown specifying position.
CN201610412700.0A 2016-06-13 2016-06-13 Picture display method and device Pending CN106101814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610412700.0A CN106101814A (en) 2016-06-13 2016-06-13 Picture display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610412700.0A CN106101814A (en) 2016-06-13 2016-06-13 Picture display method and device

Publications (1)

Publication Number Publication Date
CN106101814A true CN106101814A (en) 2016-11-09

Family

ID=57845298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610412700.0A Pending CN106101814A (en) 2016-06-13 2016-06-13 Picture display method and device

Country Status (1)

Country Link
CN (1) CN106101814A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563185A (en) * 2020-03-19 2020-08-21 平安城市建设科技(深圳)有限公司 Video picture display method, device, terminal and storage medium based on GIS system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100226621A1 (en) * 2009-03-05 2010-09-09 Canon Kabushiki Kaisha Reproducing apparatus and control method thereof
CN102332001A (en) * 2011-07-26 2012-01-25 深圳市万兴软件有限公司 Video thumbnail generation method and device
CN104616241A (en) * 2014-07-24 2015-05-13 腾讯科技(北京)有限公司 Video screen-shot method and device
CN104808984A (en) * 2015-03-24 2015-07-29 魅族科技(中国)有限公司 Display interface refresh method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100226621A1 (en) * 2009-03-05 2010-09-09 Canon Kabushiki Kaisha Reproducing apparatus and control method thereof
CN102332001A (en) * 2011-07-26 2012-01-25 深圳市万兴软件有限公司 Video thumbnail generation method and device
CN104616241A (en) * 2014-07-24 2015-05-13 腾讯科技(北京)有限公司 Video screen-shot method and device
CN104808984A (en) * 2015-03-24 2015-07-29 魅族科技(中国)有限公司 Display interface refresh method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563185A (en) * 2020-03-19 2020-08-21 平安城市建设科技(深圳)有限公司 Video picture display method, device, terminal and storage medium based on GIS system

Similar Documents

Publication Publication Date Title
CN105845124A (en) Audio processing method and device
CN104156236A (en) Storage space saving method and device
CN104618218A (en) Information reminding method and device
CN105491642A (en) Network connection method and device
CN105491289A (en) Method and device for preventing photographing occlusion
CN105224349A (en) The deletion reminding method of application program and device
CN106066770A (en) Memory space management and device
CN106131416A (en) Zoom processing method, device and the mobile terminal of dual camera
CN105093980B (en) Control the method and device of smart machine start and stop
CN105657546A (en) Multimedia file playing method and device and terminal
CN106534562A (en) File deletion method and apparatus
CN104616241A (en) Video screen-shot method and device
CN104850487A (en) Information display method and device
CN106201734A (en) Sharing files method and device
CN106598432A (en) Multimedia playing method and device
CN105224174A (en) The display packing of Paste and device
CN108156506A (en) The progress adjustment method and device of barrage information
CN105578051A (en) Image capturing method and image capturing apparatus
CN105744169A (en) Image shooting method and device
CN105513101B (en) Image processing method and device
CN104899151B (en) Internal storage data reading/writing method and device
CN104539497B (en) Method for connecting network and device
CN106535007A (en) Video play method, device and equipment
CN105704322A (en) Weather information obtaining method and apparatus
CN105245898B (en) Image data recording method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161109

RJ01 Rejection of invention patent application after publication