CN112866789A - Smooth display method and storage medium for video first frame thumbnail - Google Patents
Smooth display method and storage medium for video first frame thumbnail Download PDFInfo
- Publication number
- CN112866789A CN112866789A CN202110021557.3A CN202110021557A CN112866789A CN 112866789 A CN112866789 A CN 112866789A CN 202110021557 A CN202110021557 A CN 202110021557A CN 112866789 A CN112866789 A CN 112866789A
- Authority
- CN
- China
- Prior art keywords
- pool
- video
- display
- buffer
- item
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000003139 buffering effect Effects 0.000 claims description 20
- 238000004422 calculation algorithm Methods 0.000 claims description 20
- 238000009499 grossing Methods 0.000 claims description 16
- 230000007704 transition Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 238000007405 data analysis Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 claims description 3
- 230000007306 turnover Effects 0.000 claims description 3
- 238000012360 testing method Methods 0.000 description 6
- 230000000903 blocking effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008450 motivation Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000036316 preload Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/73—Querying
- G06F16/738—Presentation of query results
- G06F16/739—Presentation of query results in form of a video summary, e.g. the video summary being a video sequence, a composite still image or having synthesized frames
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Television Signal Processing For Recording (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to the technical field of picture display, and provides a smooth display method of a video first frame thumbnail.
Description
Technical Field
The invention relates to the technical field of picture display, in particular to a smooth display method and a storage medium for a first frame thumbnail of a video.
Background
A digital video converter Box (STB), usually called a Set-Top Box or Set-Top Box, is a device for connecting a television Set to an external signal source. It can convert the compressed digital signal into television content and display it on the television. Signal sources include cable, satellite antennas, broadband networks, and terrestrial broadcasts. The content received by the set-top box includes digital content such as an electronic program guide, an internet web page, subtitles, and the like, in addition to images and sound that can be provided by an analog television. Enabling users to watch digital television programs on existing television sets and to conduct interactive digital entertainment, education, and commercialization activities over a network.
In the current local playing function of the set-top box, a user wants to find a desired video from a plurality of videos, and the set-top box needs to provide a way for the user to browse a local video file, and the browsing method is generally as follows: the picture + video name of the logo video is customized for display, see fig. 1 in particular.
But the method is limited by the performance of the set-top box chip, and the method is generally about 1 to 3 seconds due to the fact that the first frame thumbnail of one video is obtained and has long time loss. Therefore, when browsing a video page, the image is displayed slowly, the page turning is not smooth, and the problems of blocking, time delay and the like occur due to the slow picture caching; if all video pages are cached uniformly, the memory will be occupied too much.
Disclosure of Invention
The invention provides a smooth display method and a storage medium for a video first frame thumbnail, which solve the technical problems of slow image display, unsmooth page turning and excessive memory occupation of the existing video page browsing method.
In order to solve the technical problem, the invention provides a smooth display method of a video first frame thumbnail, which comprises the following steps:
s1, acquiring the data processing performance of the current equipment, and acquiring the average viewing duration of the video items in the equipment viewed by the user;
s2, acquiring a time difference value required by the smooth transition of the video project, and designing a preset smoothing algorithm;
s3, substituting the data processing performance and the average checking duration into the preset algorithm, and calculating a target grouping length and a target thread amount;
s4, creating a display pool and a buffer pool according to the target grouping length, and creating a thread pool according to the target thread amount;
and S5, acquiring the view intention of the user, and starting the thread pool to buffer the target video item to the display pool for display.
The basic scheme is that according to the data processing performance of current equipment, the individual viewing habit of a user and the time difference required by the smooth transition of a video project, a standard preset smoothing algorithm is designed, the target grouping length and the target thread quantity which are most fit with the current equipment and the user are calculated, so that a display pool and a buffer pool are divided according to the target grouping length, the thread pool of the target thread quantity thread is supplemented during the display of the display pool, the buffer data (video thumbnails) of the next group can be buffered in the buffer pool in advance, under the limitation of the time difference, the buffer mechanism can realize the smooth display of the video thumbnails, and the low memory occupation is realized by limiting the grouping length (target grouping length) of the display pool and the buffer pool.
In further embodiments, the step S1 includes:
s11, acquiring the processing time of each thread of the current equipment for processing the thumbnail of each video item;
s12, acquiring historical viewing data from the current equipment, and calculating the average viewing duration of the user; or the average viewing time of the user is preset according to the big data analysis.
According to the scheme, the actual processing time for processing the thumbnail of each video item by each thread of the current equipment can be fitted with the actual processing performance of the current equipment, so that the calculated data is more real; the average viewing time of the user is calculated according to the historical viewing data, the personal habits of the user can be fitted, the display of the video project thumbnail is more humanized and personalized, the average viewing time obtained through analysis and calculation according to the big data is faster, most of the user habits can be considered, and the data processing flow is saved.
In further embodiments, the step S2 includes:
s21, calculating the total browsing time length after the buoy reaches a preloading critical point and the total buffering time length of the video items with corresponding quantity;
s22, designing a preset smoothing algorithm according to the total browsing time length, the total buffering time length and the time difference value.
According to the scheme, a pre-loading critical point is set as a trigger buffer mark, the trigger time of the trigger buffer mark is used as a starting point, the total browsing time of a user entering the next display pool from the current display pool at the moment can be directly obtained, and the total buffer length from pre-loading to loading completion can be counted according to the number of video items; and finally, carrying out equation transformation by combining the time difference value, and designing to obtain a preset smoothing algorithm, so that the most appropriate number of threads can be determined by controlling the controllable variables of the preset smoothing algorithm, and the smooth display effect of the video item thumbnail is realized.
In further embodiments, when the pre-load critical point is a display pool center coordinate:
the preset smoothing algorithm is as follows: t is1-T2>Δt;
Wherein, T1For the total browsing duration, T2The total buffer duration, R the average look-up duration, X the target packet length, T the processing duration, P the target thread count, and Δ T the time difference.
According to the scheme, the total browsing time length can be obtained by calculating according to the average viewing time length of a user and the number of the remaining video items according to the coordinates of the pre-loaded critical points, the total buffering time length from triggering buffering to buffering completion of the current equipment can be clearly determined according to the processing time length of each thread, and in order to realize smooth transition, the difference value between the total browsing time length and the total buffering time length is greater than the time difference value, so that a corresponding numerical value relation can be obtained, namely a smooth algorithm formula is preset.
In further embodiments said step S4 comprises:
s41, acquiring the total item number of the video items in the current video list;
s42, dividing the video item into a plurality of item groups according to the target grouping length in sequence;
s43, creating a display pool and a buffer pool according to the number of the project groups;
and S44, creating the thread of the target thread amount to form a thread pool.
In a further embodiment, the step S43 specifically includes: and when the number of the item groups is more than 2, setting a rear buffer pool, a display pool and a front buffer pool from front to back.
According to the scheme, all video items in the current video list area are divided, and the blocking area is creatively combined with the buffer pool, so that a picture pool with unknown length is changed into a display pool and a buffer pool with controllable length, the display pool and the buffer pool with fixed length are limited, and any target video item in the current video list can be reasonably buffered by using a limited memory.
In a further embodiment, in the step S5, the acquiring of the viewing intention of the user specifically includes:
acquiring coordinates of the buoy in the display pool, and determining that the viewing intention of the user is forward turning when the coordinates are judged to move forward to carry and reach a pre-loading critical point; and when the coordinate is judged to move backwards to reach the pre-loading critical point, determining that the viewing intention of the user is to look backwards.
According to the scheme, the specific browsing position of the user in the current display pool can be determined according to the coordinates of the buoy in the display pool, and the viewing intention of the user can be predicted according to the motivation of the user after the buoy reaches the preloading critical point and performs related actions.
In a further embodiment, said starting the thread pool to buffer the target video item to the display pool and display specifically comprises:
when the view intention is to turn over forward, preloading the buffer data of all the video items in the previous item group, and advancing the coordinates of the rear buffer pool, the display pool and the front buffer pool by one bit; and displaying the video items in the display pool in a display screen;
when the view intention is to look backwards, preloading buffer data of all the video items in the next item group, and backing the coordinates of the back buffer pool, the display pool and the front buffer pool by one bit backwards; and displaying the video items in the display pool in a display screen.
Further comprising, when the display pool is at the beginning/end of the current video list, it coincides with the back buffer pool/the front buffer pool; and displaying the video items in the display pool in a display screen.
According to the scheme, corresponding preloading processes are set according to different viewing intentions of users, and the regional changes of a rear buffer pool, a display pool and a front buffer pool under different viewing intentions are clearly planned; the pre-loading changes the rear buffer pool, the display pool and the front buffer pool in a stepping mode, so that the equipment only needs to acquire buffer data of a group of video items with target packet length during each time of buffering, and the minimum data buffering amount can meet the browsing requirement of a user.
The invention also provides a storage medium, on which a computer program is stored, where the computer program is used to be loaded by the voice wake-up rate testing system or the testing device to implement the voice wake-up rate testing method. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
Drawings
Fig. 1 is a schematic diagram of a thumbnail browsing method provided in the background art according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for smoothly displaying a thumbnail of a first frame of a video according to embodiment 1 of the present invention;
fig. 3 is a schematic diagram of the states of the back buffer pool, the display pool, the front buffer pool and the buoy when the buoy moves forward (moves downward in the video list) according to embodiment 1 of the present invention;
FIG. 4 is a schematic view of the buoy of FIG. 3 moving forward as provided by embodiment 1 of the present invention;
FIG. 5 is a schematic view of the buoy of FIG. 4 being moved forward in accordance with embodiment 1 of the present invention;
fig. 6 is a schematic diagram of states of a back buffer pool, a display pool, a front buffer pool and a buoy when the buoy provided in embodiment 1 of the present invention moves backward (moves upward in a video list);
FIG. 7 is a schematic illustration of the buoy of FIG. 6 continuing to move backwards as provided by embodiment 1 of the present invention;
fig. 8 is a schematic view of the buoy of fig. 7 moving backward according to embodiment 1 of the present invention.
Detailed Description
The embodiments of the present invention will be described in detail below with reference to the accompanying drawings, which are given solely for the purpose of illustration and are not to be construed as limitations of the invention, including the drawings which are incorporated herein by reference and for illustration only and are not to be construed as limitations of the invention, since many variations thereof are possible without departing from the spirit and scope of the invention.
Example 1
As shown in fig. 2, the smooth display method for the first frame thumbnail of the video according to the embodiment of the present invention includes steps S1 to S5:
s1, acquiring the data processing performance of the current equipment, and acquiring the average viewing duration of the video items in the user viewing equipment, wherein the method comprises the following steps of S11-S12:
s11, acquiring the processing time of each thread of the current equipment for processing the thumbnail of each video item;
s12, acquiring historical viewing data from the current equipment, and calculating the average viewing duration of the user; or the average viewing time of the user is preset according to the big data analysis.
According to the actual processing time of each thread of the current equipment for processing the thumbnail of each video item, the actual processing performance of the current equipment can be fitted, so that the calculated data is more real; the average viewing time of the user is calculated according to the historical viewing data, the personal habits of the user can be fitted, the display of the video project thumbnail is more humanized and personalized, the average viewing time obtained through analysis and calculation according to the big data is faster, most of the user habits can be considered, and the data processing flow is saved.
S2, acquiring a time difference value required by the smooth transition of the video item, and designing a preset smoothing algorithm, wherein the method comprises the following steps of S21-S22:
s21, calculating the total browsing time length after the buoy reaches the preloading critical point and the total buffering time length of the corresponding number of video items;
and S22, designing a preset smoothing algorithm according to the total browsing time length, the total buffering time length and the time difference value.
In this embodiment, when the pre-loading critical point is the center coordinate of the display pool, and the length of the display pool is the target grouping length X, the distance from the user to the current display pool is leftA video item, at this time;
the preset smoothing algorithm is as follows: t is1-T2>Δt;
Namely:
wherein, T1Total browsing duration, T2The total buffer duration, R the average look-up duration, X the target packet length, T the processing duration, P the target thread count, and Δ T the time difference.
Preferably, the time difference value Δ t is most appropriately set to 0 according to the requirement of smooth display. In other embodiments, the specific value of the time difference Δ t may be set according to specific user requirements.
In this embodiment, a pre-loading critical point is set as a trigger buffer flag, and the trigger time of the trigger buffer flag is used as a starting point, so that the total browsing duration of the current user from the current display pool to the next display pool can be directly obtained, and the total buffer length from the determination of pre-loading to the completion of loading can be counted according to the number of video items; and finally, carrying out equation transformation by combining the time difference value, and designing to obtain a preset smoothing algorithm, so that the most appropriate number of threads can be determined by controlling the controllable variables of the preset smoothing algorithm, and the smooth display effect of the video item thumbnail is realized.
In this embodiment, the total browsing duration may be obtained by calculating according to the average viewing duration of the user and the number of the remaining video items, the total buffering duration from the triggering buffering to the buffering completion of the current device may be clearly determined according to the processing duration of each thread, and to implement the smooth transition, the difference between the total browsing duration and the total buffering duration should be greater than the time difference, so that a corresponding numerical relationship, that is, a preset smoothing algorithm formula, may be obtained.
S3, substituting the data processing performance and the average checking duration into a preset algorithm, and calculating the target grouping length and the target thread quantity;
s4, creating a display pool and a buffer pool according to the target grouping length, creating a thread pool according to the target thread quantity, and comprising the following steps of S41-S44:
s41, acquiring the total item number of the video items in the current video list;
s42, dividing the video item into a plurality of item groups according to the target grouping length in sequence;
s43, creating a display pool and a buffer pool according to the number of the project groups;
when the remainder does not satisfy the target grouping length, the division into the item groups is still performed. For example, when the total number of items is 65 and the target grouping length is 10, the items are divided into 7 item groups.
When the number of the item groups is equal to 1, only one display pool needs to be set to directly obtain the buffer data (i.e. thumbnails) of all the video items in the current list.
When the number of the item groups is equal to 2, only one display pool and one buffer pool need to be set, and the buffer data (i.e. thumbnails) of all the video items in the current list can be directly acquired.
When the number of the item groups is more than 2, a rear buffer pool, a display pool and a front buffer pool are arranged from front to back. In this embodiment, the rear buffer pool and the front buffer pool are respectively set to be located at the left and right sides of the display pool.
S44, creating the thread with the target thread amount to form a thread pool.
In the embodiment, all video items in the current video list area are divided, and the blocking area is creatively combined with the buffer pool, so that a picture pool with unknown length is changed into a display pool and a buffer pool with controllable length, the display pool and the buffer pool with fixed length are limited, and any target video item in the current video list can be reasonably buffered by using a limited memory.
And S5, acquiring the view intention of the user, and starting the thread pool to buffer the target video item to the display pool and display the target video item.
The method for acquiring the viewing intention of the user specifically comprises the following steps:
acquiring coordinates of a buoy in a display pool, and determining that the viewing intention of a user is forward turning when the coordinates are judged to move forward to carry and reach a pre-loading critical point; and when the coordinate is judged to move backwards to reach the pre-loading critical point, determining that the viewing intention of the user is backward looking.
According to the embodiment, the specific browsing position of the user in the current display pool can be determined according to the coordinates of the buoy in the display pool, and after the buoy reaches the preloading critical point and performs related actions, the viewing intention of the user can be predicted according to the motivation of the user.
Starting the thread pool to buffer the target video item to the display pool and display the target video item specifically comprises the following steps:
when the view intention is to turn over and look ahead, preloading the buffer data of all the video items in the previous item group, and advancing the coordinates of the rear buffer pool, the display pool and the front buffer pool by one bit; displaying the video items in the display pool in a display screen;
when the view intention is to look backwards, preloading the buffer data of all video items in the next item group, and backing the coordinates of the back buffer pool, the display pool and the front buffer pool by one bit backwards; and displaying the video items in the display pool in the display screen.
Further comprising, when the display pool is at the beginning/end of the current video list, it coincides with the back buffer pool/front buffer pool; and displaying the video items in the display pool in the display screen.
According to different viewing intentions of a user, the corresponding preloading process is set, and the regional changes of the rear buffer pool, the display pool and the front buffer pool under different viewing intentions are clearly planned; the pre-loading changes the rear buffer pool, the display pool and the front buffer pool in a stepping mode, so that the equipment only needs to acquire buffer data of a group of video items with target packet length during each time of buffering, and the minimum data buffering amount can meet the browsing requirement of a user.
In the present embodiment, referring to fig. 3 to 8, the work procedure of buffering the thumbnail of the video item according to the user's intention is as follows:
the current video list is divided into a plurality of item groups in advance according to the target grouping length X, for example: (0 to X), (X to 2X), (2X to 3X) … …
Wherein, back, focus, forward respectively represent a back buffer pool, a display pool, and a front buffer pool.
When the display pool focus is at the start end of the current video list (the start and stop sequence is from left to right), the display pool focus and the back buffer pool back are overlapped, and the display pool focus specifically comprises (0-X) th video items.
When the buoy moves to the second position in the display pool focusAnd when the video items are in the first buffer pool, preloading the first (X-2X) video items into the forward buffer pool. When the display pool focus is moved to the (X2X) position, and when the float is moved to the second position in the display pool focus againFor each video item, the back buffer pool back includes the first 0 to X video items, that is, at this time, the back buffer pool back, the display pool focus, and the front buffer pool forward are respectively located at the positions of the current video lists (0 to X), (X to 2X), and (2X to 3X).
When the number of the item groups is 7 and the display pool focus is at the end of the current video list (starting and ending sequence from left to right), the display pool focus coincides with the front buffer pool forward, specifically including the (6X-7X) th video item, and the back buffer pool back specifically includes the (5X-6X) th video item.
At this time, when the user turns the current video list to the bottom and returns to the starting end, initially, the display pool focus is overlapped with the front buffer pool forward, and the display pool focus and the rear buffer pool back are respectively located at the positions of the current video list (6X-7X) and (5X-6X); then, the display pool focus coincides with the back buffer pool back, the display pool focus and the front buffer pool forward are respectively located at the positions of the current video lists (5X-6X) and (6X-7X), and if the buoy moves to the fourth position in the display pool focusAnd (4) obtaining the (4X-5X) th video item and buffering the (4X-5X) th video item to a back buffer pool back.
And so on, as above.
Finally, the thumbnail of the video item buffered in the display pool can be displayed in the display screen, and smooth transition is realized.
According to the data processing performance of the current equipment, the embodiment of the invention combines the personal viewing habit of a user and the time difference value required by the smooth transition of the video item, a standard preset smoothing algorithm is designed, the target grouping length and the target thread quantity which are most fit with the current equipment and the user are calculated, so that a display pool focus and a buffer pool are divided according to the target grouping length, a thread pool of a target thread quantity thread is supplemented during the display of the display pool focus, the buffer data (video thumbnails) of the next group can be buffered in the buffer pool in advance, the buffer mechanism can realize the smooth display of the video thumbnails under the limitation of the time difference value, and the low memory occupation is realized by limiting the grouping length (target grouping length) of the display pool focus and the buffer pool.
Example 2
The invention also provides a storage medium, on which a computer program is stored, wherein the computer program is used for being loaded by the voice wake-up rate testing system or the testing equipment so as to realize the voice wake-up rate testing method. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above embodiments are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and all such changes, modifications, substitutions, combinations, and simplifications are intended to be included in the scope of the present invention.
Claims (10)
1. A smooth display method of a video initial frame thumbnail is characterized by comprising the following steps:
s1, acquiring the data processing performance of the current equipment, and acquiring the average viewing duration of the video items in the equipment viewed by the user;
s2, acquiring a time difference value required by the smooth transition of the video project, and designing a preset smoothing algorithm;
s3, substituting the data processing performance and the average checking duration into the preset algorithm, and calculating a target grouping length and a target thread amount;
s4, creating a display pool and a buffer pool according to the target grouping length, and creating a thread pool according to the target thread amount;
and S5, acquiring the view intention of the user, and starting the thread pool to buffer the target video item to the display pool for display.
2. The method for smoothly displaying a thumbnail of a first frame of a video according to claim 1, wherein said step S1 comprises:
s11, acquiring the processing time (T) for each thread of the current equipment to process the thumbnail of each video item;
s12, acquiring historical viewing data from the current equipment, and calculating the average viewing duration of the user; or the average viewing time of the user is preset according to the big data analysis.
3. The method for smoothly displaying a thumbnail of a first frame of a video according to claim 2, wherein said step S2 comprises:
s21, calculating the total browsing time length after the buoy reaches a preloading critical point and the total buffering time length of the video items with corresponding quantity;
s22, designing a preset smoothing algorithm according to the total browsing time length, the total buffering time length and the time difference value.
4. The method of claim 2, wherein when the pre-loaded critical point is a display pool center coordinate:
the preset smoothing algorithm is as follows: t is1-T2>Δt;
Wherein, T1For the total browsing duration, T2And the total buffer time length is, R is the average viewing time length, X is the target grouping length, T is the processing time length, P is the target thread quantity, and delta T is the time difference and is greater than or equal to 0.
5. The method for smoothly displaying a thumbnail of a first frame of a video according to claim 1, wherein said step S4 comprises:
s41, acquiring the total item number of the video items in the current video list;
s42, dividing the video item into a plurality of item groups according to the target grouping length in sequence;
s43, creating a display pool and a buffer pool according to the number of the project groups;
and S44, creating the thread of the target thread amount to form a thread pool.
6. The method for smoothly displaying the thumbnail of the first frame of the video according to claim 5, wherein the step S43 specifically comprises: and when the number of the item groups is more than 2, setting a rear buffer pool, a display pool and a front buffer pool from front to back.
7. The method for smoothly displaying a thumbnail of a first frame of a video according to claim 6, wherein in the step S5, the obtaining of the viewing intention of the user specifically includes:
acquiring coordinates of the buoy in the display pool, and determining that the viewing intention of the user is forward turning when the coordinates are judged to move forward to carry and reach a pre-loading critical point; and when the coordinate is judged to move backwards to reach the pre-loading critical point, determining that the viewing intention of the user is to look backwards.
8. The method of claim 7, wherein the starting of the thread pool to buffer the target video item into the display pool and display the target video item specifically comprises:
when the view intention is to turn over forward, preloading the buffer data of all the video items in the previous item group, and advancing the coordinates of the rear buffer pool, the display pool and the front buffer pool by one bit; and displaying the video items in the display pool in a display screen;
when the view intention is to look backwards, preloading buffer data of all the video items in the next item group, and backing the coordinates of the back buffer pool, the display pool and the front buffer pool by one bit backwards; and displaying the video items in the display pool in a display screen.
9. The method of claim 4, wherein said starting the thread pool to buffer and display the target video item to the display pool further comprises:
when the display pool is at the beginning/end of the current video list, the display pool is superposed with the rear buffer pool/the front buffer pool; and displaying the video items in the display pool in a display screen.
10. A storage medium having a computer program stored thereon, characterized in that: the computer program is used for implementing the method for smoothly displaying the thumbnail of the first frame of the video according to claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110021557.3A CN112866789B (en) | 2021-01-08 | 2021-01-08 | Smooth display method of video first frame thumbnail and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110021557.3A CN112866789B (en) | 2021-01-08 | 2021-01-08 | Smooth display method of video first frame thumbnail and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112866789A true CN112866789A (en) | 2021-05-28 |
CN112866789B CN112866789B (en) | 2023-05-05 |
Family
ID=76005122
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110021557.3A Active CN112866789B (en) | 2021-01-08 | 2021-01-08 | Smooth display method of video first frame thumbnail and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112866789B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067679A (en) * | 2011-10-20 | 2013-04-24 | 四川长虹电器股份有限公司 | Television local picture displaying method |
CN104111813A (en) * | 2014-06-23 | 2014-10-22 | 小米科技有限责任公司 | Method and device for picture synchronous display, mobile terminal and terminal device |
CN104135692A (en) * | 2014-07-18 | 2014-11-05 | 北京奇虎科技有限公司 | Method and device of loading and displaying video information |
US20160314819A1 (en) * | 2015-04-24 | 2016-10-27 | Wowza Media Systems, LLC | Systems and methods of thumbnail generation |
CN106484755A (en) * | 2016-07-29 | 2017-03-08 | 深圳市美贝壳科技有限公司 | The method of asynchronous quick loading video thumbnails |
CN106658218A (en) * | 2016-12-26 | 2017-05-10 | 深圳Tcl数字技术有限公司 | Information paging display type data loading method and apparatus |
-
2021
- 2021-01-08 CN CN202110021557.3A patent/CN112866789B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067679A (en) * | 2011-10-20 | 2013-04-24 | 四川长虹电器股份有限公司 | Television local picture displaying method |
CN104111813A (en) * | 2014-06-23 | 2014-10-22 | 小米科技有限责任公司 | Method and device for picture synchronous display, mobile terminal and terminal device |
CN104135692A (en) * | 2014-07-18 | 2014-11-05 | 北京奇虎科技有限公司 | Method and device of loading and displaying video information |
US20160314819A1 (en) * | 2015-04-24 | 2016-10-27 | Wowza Media Systems, LLC | Systems and methods of thumbnail generation |
CN106484755A (en) * | 2016-07-29 | 2017-03-08 | 深圳市美贝壳科技有限公司 | The method of asynchronous quick loading video thumbnails |
CN106658218A (en) * | 2016-12-26 | 2017-05-10 | 深圳Tcl数字技术有限公司 | Information paging display type data loading method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN112866789B (en) | 2023-05-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2738430C (en) | Delete viewed portions of recorded programs | |
KR101542274B1 (en) | Fast and smooth scrolling of user interfaces operating on thin clients | |
EP2680576B1 (en) | System and method for enhanced trick-play functions | |
ES2618580T3 (en) | Procedure for distributing a few seconds multimedia content elements in a list of first multimedia content elements | |
US8555167B2 (en) | Interactive access to media or other content related to a currently viewed program | |
US8855467B2 (en) | Content recorder multi-angle viewing and playback | |
US20170171274A1 (en) | Method and electronic device for synchronously playing multiple-cameras video | |
JP2006525755A (en) | Method and system for browsing video content | |
US20100031282A1 (en) | Display device, remote operation device and computer-readable medium storing display program | |
EP1500270A1 (en) | Method and system for providing complementary information for a video program | |
EP3047644A1 (en) | Method and apparatus for generating a text color for a group of images | |
US8811797B2 (en) | Switching between time order and popularity order sending of video segments | |
GB2500746A (en) | Obtaining video playlist based on address in received broadcast video data, the playlist in turn containing location information for stored transport stream | |
US20100257156A1 (en) | Moving picture indexing method and moving picture reproducing device | |
US7757184B2 (en) | Method for selecting a button in a graphic bar and receiver for carrying out said method | |
US20050273810A1 (en) | Method and system for providing personalized news | |
EP2262234A1 (en) | Broadcasting receiver and method for providing information in the same | |
CN112866789B (en) | Smooth display method of video first frame thumbnail and storage medium | |
JP4966917B2 (en) | Recording / playback device | |
CN102256173A (en) | PVR (Personal Video Record)-based television program playback marking method, playback mark using method and playback mark deletion method | |
KR101218921B1 (en) | Method of processing the highlights of a broadcasting program for a broadcasting receiver | |
US9420249B2 (en) | Method and apparatus for generating thumbnail file | |
CN105578262A (en) | Method and system for positioning playing of online video | |
US20130057773A1 (en) | Method and apparatus for storing a broadcast | |
KR20110049393A (en) | Digital broadcast receiver for displaying moving picture file after dividing and editing the moving picture file, and control method for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240111 Address after: 516025 Hui'ao Avenue, Huizhou City, Guangdong Province, No. 5 Huitai Road, Huinan High-tech Industrial Park Patentee after: Unionman Technology Co.,Ltd. Patentee after: Guangdong Jiulian Kaihong Technology Development Co.,Ltd. Address before: 516025 Hui'ao Avenue, Huizhou City, Guangdong Province, No. 5 Huitai Road, Huinan High-tech Industrial Park Patentee before: Unionman Technology Co.,Ltd. |
|
TR01 | Transfer of patent right |