CN112711726A - Method and device for caching video data, computer equipment and storage medium - Google Patents

Method and device for caching video data, computer equipment and storage medium Download PDF

Info

Publication number
CN112711726A
CN112711726A CN202011501507.7A CN202011501507A CN112711726A CN 112711726 A CN112711726 A CN 112711726A CN 202011501507 A CN202011501507 A CN 202011501507A CN 112711726 A CN112711726 A CN 112711726A
Authority
CN
China
Prior art keywords
video data
video
display area
cached
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011501507.7A
Other languages
Chinese (zh)
Other versions
CN112711726B (en
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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202011501507.7A priority Critical patent/CN112711726B/en
Publication of CN112711726A publication Critical patent/CN112711726A/en
Application granted granted Critical
Publication of CN112711726B publication Critical patent/CN112711726B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application relates to a method, a device, a computer device and a storage medium for caching video data. The method comprises the following steps: acquiring page information of an information flow page, wherein the information flow page comprises a visible area and an invisible area; acquiring a video identifier set and a total time length to be cached of video data contained in a cache pool; calculating the estimated duration according to the position difference of the video display areas of the visible area and the invisible area; and when the estimated time length is less than the total time length to be cached and the video data corresponding to the video display area without the invisible area in the cache pool is not covered, adding the video data into the cache pool, and caching the video data through the cache pool. All videos in a visible area in the caching information flow page and invisible videos determine whether to cache or not through sliding time length and caching time length, the problem that caching data is insufficient or too much when a fixed caching strategy is adopted is avoided, and the performance of a product is balanced while watching experience of a user is guaranteed.

Description

Method and device for caching video data, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for caching video data, a computer device, and a storage medium.
Background
When watching a video, if the video content is not cached in advance, the playing rate is influenced when the user wants to watch the corresponding video, so that the watching experience is influenced. To avoid affecting the viewing experience of the user, this problem is currently mainly solved by caching a fixed number of video information. However, when a fixed amount of video data is cached, if the cached video data is too much, system resources are wasted, and system performance is affected, and if the cached video data is too little, user experience is also affected, and the user experience and the system resources cannot be effectively balanced.
Disclosure of Invention
In order to solve the technical problem, the present application provides a method, an apparatus, a computer device, and a storage medium for caching video data that balance product performance while ensuring user viewing experience.
In a first aspect, the present application provides a method for caching video data, including:
acquiring page information of an information flow page, wherein the information flow page comprises a current display area and an area to be displayed, the current display area is an area displayed on a terminal of the information flow page, the page information comprises a video display area, position information of the video display area and a video identifier of video data corresponding to the video display area, and the area to be displayed comprises a first video display area;
acquiring a video data identification set of video data contained in a cache pool;
acquiring the total time length to be cached of the video data in the cache pool;
calculating the estimated duration of the first video display area being displayed according to the position information of the current display area and the position difference of the position information of the first video display area;
when the estimated duration is less than the total duration to be cached and the video data identification set does not contain the first video identification corresponding to the first video display area, adding the first video identification into the video data identification set so as to cache the video data corresponding to each video identification in the video data identification set through the cache pool.
In a second aspect, the present application provides an apparatus for caching video data, including:
the information acquisition page is used for acquiring page information of an information flow page, the information flow page comprises the current display area and an area to be displayed, the current display area is an area displayed on a terminal of the information flow page, the page information comprises a video display area, position information of the video display area and a video identifier of video data corresponding to the video display area, and the area to be displayed comprises a first video display area;
the data identification acquisition page is used for acquiring a video data identification set of video data contained in the cache pool;
a to-be-cached total duration obtaining module, configured to obtain a to-be-cached total duration of the video data in the cache pool;
the estimated time length calculation module is used for calculating the estimated time length of the first video display area according to the position information of the current display area and the position difference of the position information of the first video display area;
and the cache module is used for adding the first video identifier into the video data identifier set when the estimated duration is less than the total duration to be cached and the video data identifier set does not contain the first video identifier corresponding to the first video display area, so as to cache the video data corresponding to each video identifier in the video data identifier set through the cache pool.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the above method of buffering video data when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the above-mentioned method of buffering video data.
The method, the device, the computer equipment and the storage medium for caching the video data comprise the following steps: acquiring page information of an information flow page, wherein the information flow page comprises a current display area and an area to be displayed, the current display area is an area displayed on a terminal of the information flow page, the page information comprises a video display area, position information of the video display area and a video identifier of video data corresponding to the video display area, and the area to be displayed comprises a first video display area; acquiring a video data identification set of video data contained in a cache pool; acquiring the total time length to be cached of the video data in the cache pool; calculating the estimated duration of the first video display area to be displayed according to the position information of the current display area and the position difference of the position information of the first video display area; and when the estimated duration is less than the total duration to be cached and the video data identification set does not contain the first video identification corresponding to the first video display area, adding the first video identification into the video data identification set so as to cache the video data corresponding to each video identification in the video data identification set through the cache pool. And entering an information flow page, caching all video information in the visible area, and caching the invisible video information by a sliding caching strategy, namely determining whether to cache the video data in the invisible area or not by judging whether the sliding time length is greater than the caching time length or not, so that the problems of insufficient caching data or excessive caching data when a fixed caching strategy is adopted are avoided, and the viewing experience of a user is ensured while the product performance is balanced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a flow diagram illustrating a method for caching video data according to one embodiment;
FIG. 2 is a flow diagram illustrating a method for caching video data in accordance with an exemplary embodiment;
FIG. 3 is a diagram of an information flow page in one embodiment;
FIG. 4 is a block diagram of an apparatus for buffering video data according to an embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In one embodiment, as shown in FIG. 1, a method of buffering video data is provided. Referring to fig. 1, the method for caching video data specifically includes the following steps:
in step S201, page information of an information flow page is acquired.
In this specific embodiment, the information stream page includes a current display area and an area to be displayed, the current display area is an area displayed on the terminal by the information stream page, the page information includes a video display area, position information of the video display area, and a video identifier of video data corresponding to the video display area, and the area to be displayed includes a first video display area.
In particular, an information flow page is a page for carrying information. The current display area refers to an area displayed on the terminal by any one of the current time information flow pages. Including but not limited to mobile terminals and desktop terminals, etc. The area to be displayed refers to an area which is not displayed on the terminal at the current moment in the information flow page, and the area to be displayed can be displayed by sliding the information flow page. The area to be displayed refers to an area which can be displayed after sliding along the information flow page in a preset direction. The preset direction refers to a direction in which the sliding distance of the information flow page is increased. The page information may include display areas of various forms of content, position information corresponding to each display area, display content corresponding to each display area, and the like. For example, the information flow page includes a video display area, a text display area, a picture display area, and the like. The video display area is used for displaying video content, the picture display area is used for displaying pictures, and the character display area is used for displaying character information. Each type of presentation area of the information flow page contains a corresponding data identifier, for example, there is a corresponding video data identifier for each video presentation area. The video identification is used to uniquely identify the video data. The first video presentation area refers to an area for presenting video data in the area to be presented. The video display area corresponding to the area to be displayed may include one or more areas, where the first video display area may refer to one or more video display areas closest to the current display area. The distance may refer to a distance in a height direction or a width direction of the information flow page, the distance in the height direction refers to that the to-be-displayed area is located below/above the current display area, and the distance in the width direction refers to that the to-be-displayed area is located on the left/right of the current display area. The height and width of the information flow page are not completely consistent with those of the terminal, for example, the height of the terminal display screen may be the width of the information flow page, and similarly, the width of the terminal display screen may be the height of the information flow page.
Step S202, acquiring a video data identification set of the video data contained in the cache pool.
Specifically, the buffer pool refers to a data buffer area for buffering video data. And if the cache pool contains video data, acquiring a video data identifier corresponding to the video data contained in the cache pool to obtain a video identifier set. And if the video data does not exist in the cache pool, the video identification set does not contain the video identification. Each video presentation area corresponds to a video data, and a video data may refer to a episode of a television show, a movie fragment, a television show fragment, and the like.
Step S203, obtaining the total duration of the video data to be cached in the cache pool.
Specifically, the total duration to be cached refers to a duration required for caching the video data which is not cached completely in the cache pool. The duration may be determined according to the memory size occupied by the uncompleted cached video data included in the cache pool and the cache rate. The caching rate can be determined according to the network downloading rate at the current moment, and can also be determined according to the downloading rate of the video data which is cached completely. According to the downloading rate of the cached video data, the cache rate can be estimated according to the memory size of the cached video data and the total consumed cache duration. Or may be selected from the buffering rates of the single finished buffered video data, such as the minimum buffering rate. If the uncompleted cached video data does not exist in the cache pool, the total duration to be cached is a preset duration, the duration can be obtained by calculation according to the size of a terminal display screen, the maximum sliding speed of an information flow page and the like, and the duration can also be set manually.
Step S204, calculating the estimated duration of the first video display area according to the position information of the current display area and the position difference of the position information of the first video display area.
Specifically, the first video display area belongs to an invisible area, and the time when the first video display area is possibly displayed is determined according to the position difference between the current display area and the first video display area. The farther the first video display area is from the current display area, the longer the estimated duration is, and vice versa. The estimated time length can be artificially defined, can also be determined according to the maximum sliding speed and the position difference of the information flow page, and can also be determined according to the historical sliding speed of the user by counting the historical sliding speed of the user. And if the user selects the fastest sliding speed and position difference in the using process, calculating the estimated time length.
Step S205, when the estimated duration is less than the total duration to be cached and the video data identifier set does not include the first video identifier corresponding to the first video display area, adding the first video identifier into the video data identifier set, so as to cache the video data corresponding to each video identifier in the video data identifier set through the cache pool.
Specifically, the estimated duration is less than the total duration to be cached, which indicates that the user may slide to the first video display area within the estimated duration, and at this time, if the video data corresponding to the first video display area is not cached, the video playing rate is affected, so that the viewing experience of the user is affected. Therefore, under the condition that the estimated duration is less than the total duration to be cached, and the video data corresponding to the first video display area is not cached in the cache pool, that is, the first video identifier is not found in the video identifier set, the first video identifier is added into the video identifier set, so that the video data corresponding to each video identifier in the video identifier set is cached through the cache pool. If the first video identifier is found in the video identifier set, it indicates that the video data corresponding to the video identifier has been added to the cache pool, and no repeated addition is needed.
In one embodiment, the cached memory size of each video data in the cache pool is consistent. I.e. each video data buffers the same size data. The memory of the data cache can be effectively controlled, if the whole video data is cached, the required caching time is long when the memory of the video data is large, the content occupied by the cache is large, and resources are wasted.
According to the method for caching the video data, whether the video data in the invisible area is cached is determined according to whether the duration that the video data is seen is smaller than the total caching duration required by the data in the caching pool, the problem that the caching data is insufficient or the caching data is excessive when a fixed caching strategy is adopted is avoided, and the performance of the product is balanced while the watching experience of a user is ensured.
In one embodiment, the current display area includes a second video display area, and before obtaining the total duration to be cached of the video data in the cache pool, the method further includes: and when the video data identification set does not contain a second video identification corresponding to the second video display area, adding the second video identification into the video data identification set.
Specifically, the second video presentation area refers to an area for presenting video data located in the current presentation area. The video display areas included in the current display area include one or more video display areas, that is, the second video display areas may be one or more video display areas, if a plurality of second video display areas exist, the video identifier corresponding to each second video display area is matched with the video identifier set, and if a video identifier corresponding to any one of the second video display areas exists in the video identifier set, it indicates that the video data corresponding to the second video display area is added to the cache pool, and does not need to be added again. If the video identifier corresponding to any one second video display area does not exist in the video identifier set, it indicates that the video data corresponding to the second video display area is not added to the cache pool, adds the video identifier corresponding to the second video display area to the video identifier set, and passes through the cache pool to obtain the video data corresponding to the video identifier.
If the video display area exists in the visible area and the video data corresponding to the video display area is not added into the cache pool, all the video data which are not added into the cache pool in the visible area are added into the cache pool, and the playing of the video corresponding to the video display area in the visible area is possibly large, so that the video data need to be cached in time if the video data which are not cached in the visible area exist.
In one embodiment, obtaining the total duration to be cached of the video data in the cache pool includes: if the uncompleted cached video data exist in the cache pool, calculating the sum of the time lengths to be cached of each uncompleted cached video data in the cache pool to obtain the total time length to be cached.
Specifically, the uncompleted buffered video data includes a complete uncached and a partial buffered. The cache of the video data can be represented by a cache state, the cache state can be customized, the defined cache state comprises three types of states of waiting for caching, caching and caching, the waiting for caching is used for representing that the video data is not cached completely, the caching is used for representing that the video data is cached partially, and the caching is used for representing that the video data is cached completely. And acquiring the cache duration required by each uncompleted cached video data in the cache pool, and calculating the sum of the cache durations required by each uncompleted cached video data to obtain the total duration to be cached. The buffering time length required by each uncompleted buffering video data is the estimated time length. The estimated time length can be estimated according to the caching time length of the video data which is cached completely, and can also be estimated according to the current network downloading speed.
In one embodiment, obtaining the total duration to be cached of the video data in the cache pool includes: if the uncompleted cached video data exist in the cache pool, calculating the sum of the time length to be cached of each uncompleted cached video data in the cache pool and the first preset time length to obtain the total time length to be cached.
Specifically, the first preset time length is a preset time length, and the total time length to be cached is equal to the sum of the estimated cache time length required for completing all uncompleted cached video data and the first preset time length. The first preset time is set because the network environment changes at any time, and more time cache data are reserved when one preset time is added.
In one embodiment, obtaining the total duration to be cached of the video data in the cache pool includes: and if the video data in the cache pool are cached completely, taking the second preset time length as the total time length to be cached.
Specifically, if video data which is not cached does not exist in the cache pool, that is, the caching is already completed, or no video data exists, the preset second preset time length is used as the total time length to be cached. The second preset time length may be determined according to the previous sliding speed of the user and the height of the display screen of the terminal, may be predefined, may also be determined according to the maximum sliding speed of the information flow page and the height/width of the display screen of the terminal, and may also be determined according to the time length required by the video data that has completed caching. If the second preset time length is equal to the ratio of the height/width of the display screen to the maximum sliding speed, the second preset time length can also be equal to the maximum buffering time length in all the buffered video data.
In one embodiment, when video data of which caching is completed exists in the cache pool, the size of a memory of the video data of which caching is completed is counted, the total caching duration is counted, the ratio of the memory size to the caching duration is calculated to obtain a caching rate, and the required caching duration of data which is not cached is calculated according to the caching rate to obtain the total duration to be cached.
In one embodiment, when there is video data whose buffering has been completed in the buffer pool, before obtaining the total duration of the video data to be buffered in the buffer pool, the method further includes: acquiring the memory size and the caching duration of each video data which is cached; calculating the caching rate according to the memory size and the caching duration of each video data which is cached; and calculating to obtain the total time length to be cached according to the minimum caching rate and the memory size of the video data which is not cached in the cache pool.
Specifically, the caching rate of each video data that has completed caching is calculated, that is, the caching efficiency corresponding to the video data is calculated according to the memory size and the corresponding caching duration of each video data that has completed caching, and the minimum caching efficiency is selected from the caching efficiencies of the video data that have completed caching. And estimating the cache duration required by the video data which is not cached completely by adopting the minimum cache efficiency. Namely, the total time length to be cached is obtained according to the memory size ratio of the video data which is not cached completely to the minimum caching efficiency. The minimum buffering rate is adopted because the minimum buffering rate represents a required maximum buffering time period of the video data for which buffering has been completed.
In an embodiment, the size of the memory to be cached of each video data in the cache pool is the same, and when the cached video data exists in the cache pool, before obtaining the total duration to be cached of the video data in the cache pool, the method further includes: acquiring the maximum caching duration in each video data which is cached completely; calculating a cache rate according to the memory to be cached and the maximum cache duration; and calculating to obtain the total time length to be cached according to the caching rate and the size of the memory of the uncompleted cached video in the cache pool.
Specifically, the memory size of each video data that has been buffered is the same. The memory to be cached refers to the size of the cache memory of each piece of video data, the size of the memory can be set according to requirements, and different sizes can be set in different situations. If the interval in the video display area is large, and the value of the memory to be cached corresponding to less video display area may be smaller than the value of the memory to be cached corresponding to more video display area and smaller distance. Under the condition that the memory to be cached is fixed, the larger the caching duration is, the smaller the caching rate is, so that the maximum caching duration in the video data which is cached completely is selected, the caching rate is calculated according to the ratio of the memory to be cached to the maximum caching duration, and the caching duration required by the uncompleted cached video in the caching pool is calculated according to the caching rate to obtain the total duration to be cached. The method includes the steps that the size of a memory of video data which are not cached in a cache pool is counted, and the total duration of the video data to be cached is obtained by comparing the size of the memory with a cache rate.
In one embodiment, the method for acquiring the total duration of the video data in the cache pool to be cached includes: acquiring the maximum caching duration in each video data which is cached completely; and taking the maximum caching duration as the total duration to be cached.
Specifically, if there is no unfinished cached video data in the cache pool and there is already finished cached video data, selecting a maximum cache duration from cache durations corresponding to already finished cached video data, and taking the maximum cache duration as a total duration to be cached. The reason why the maximum caching duration is selected as the total duration to be cached is that if the video data corresponding to the first video identifier needs to be cached, the duration required for completing the video data is estimated to be the maximum caching duration. If the estimated duration of the first video display area being displayed is less than the duration of the video data corresponding to the first video display area to be completed (the maximum buffer duration), the video data can be added into the buffer pool, and the video data is buffered in advance.
In one embodiment, the position information of the current display area comprises height information of the current display area on the information flow page, and the position information of the first video display area comprises height information of the first video display area on the information flow page; calculating the estimated duration of the displayed first video display area according to the position difference between the position information of the current display area and the position information of the first video display area, and the method comprises the following steps: acquiring the screen height of a terminal display screen; calculating to obtain a first sliding distance according to the height information of the current display area on the information flow page, the screen height and the height information of the first video display area on the information flow page; and calculating to obtain the estimated duration according to the first sliding distance and the preset sliding speed.
Specifically, the height information of the information flow page refers to the height of a side corresponding to the movable direction of the information flow page, and if the information flow page can slide up and down, the height information is the distance between the upper side and the lower side of the information flow page, and if the information flow page can slide left and right, the height information is the distance between the left side and the right side of the information flow page. The screen height refers to a height corresponding to a side parallel to the height direction of the information flow. And if the height information of the current display area is the sliding distance of the information flow page, calculating the sum of the sliding distance and the screen height, and subtracting the sum by adopting the height information of the first video display area to obtain a first sliding distance. And if the height information of the current display area comprises the sum of the sliding distance and the screen height, directly subtracting the height information of the current display area from the height information of the first video display area to obtain a first sliding distance. And calculating to obtain the estimated duration according to the first sliding distance and the preset sliding speed. The preset sliding speed can be customized, such as defined as the maximum sliding speed of the information flow page. The maximum slip speed is a limit slip speed obtained by a previous test. The preset sliding speed can also be obtained by performing statistical analysis on the historical sliding speed of the user. And calculating to obtain the shortest estimated time length by adopting the maximum sliding speed. The estimated time length is shortest, and the estimated time length represents the fastest time for the first video display area to be displayed. That is, the video data corresponding to the first video presentation area may be cached before the first video presentation area is presented.
In one embodiment, when the sliding operation aiming at the information flow page is detected, a second sliding distance and a sliding direction corresponding to the sliding operation are obtained; and when the second sliding distance is greater than the preset distance threshold value and the sliding direction is consistent with the first direction, updating the current display area according to the second sliding distance and the sliding direction, taking the updated current display area as the current display area, and executing acquisition of a video data identifier set of video data contained in the cache pool, wherein the first direction is a direction pointing to the first edge of the information flow display page.
In this embodiment, when the second sliding distance is greater than the preset distance threshold and the sliding direction is consistent with the second direction, the current display area is updated according to the second sliding distance and the sliding direction, and the updated current display area is used as the current display area, where the second direction is a direction pointing to a second edge of the information stream display page, and the first edge is opposite to the second edge.
Specifically, the sliding operation for the information flow page means that the sliding operation is used for sliding the information flow page. And determining the sliding distance of the information flow page according to the sliding operation to obtain a second sliding distance. And judging whether the sliding distance is greater than a preset distance threshold, if so, indicating that the sliding operation is effective, and updating the current display area. And detecting the sliding direction of the sliding operation, wherein the sliding direction is a direction pointing to a first edge or a second edge of the information flow page, the first edge and the second edge are opposite edges, the upper edge, the lower edge, the left edge and the right edge are the opposite edges, the first edge can be in any pass, the second edge is the opposite edge to the first edge, namely the first edge is the left edge and the second edge is the right edge. When the sliding direction is the direction pointing to the first side, the sliding distance of the information flow page is increased, and on the contrary, when the sliding direction is the second side, the sliding distance of the information flow page is decreased.
For convenience of explanation, the first side is taken as the left side, and the second side is taken as the right side. When the second sliding distance is greater than the preset distance threshold value and the sliding direction is the direction pointing to the left (leftward sliding), updating the current display page according to the second sliding distance and the sliding direction to obtain an updated current display area, determining whether the area to be displayed corresponding to the updated current display area contains a video display area, and if the area to be displayed contains the video display area, determining whether to add video data corresponding to the video display area contained in the new area to be displayed into the cache pool according to the total time length to be cached of the video data contained in the cache pool and the estimated time length of the video display area contained in the new area to be displayed. And if the second sliding distance is greater than the preset distance threshold value and the sliding direction is the direction pointing to the right (sliding to the right), updating the current display page according to the second sliding distance and the sliding direction to obtain an updated current display area. The reason is that the cache judgment of the video data corresponding to the video display area of the to-be-displayed area is not performed when the information flow page is slid leftward, that is, when the slid distance of the information flow page is increased, the cache judgment of the video data corresponding to the video display area of the to-be-displayed area is performed when the slid distance of the information flow page is reduced.
In an embodiment, the method for buffering video data includes:
step S301, entering an information flow page, defining the characteristics contained in each piece of information to be unique identification, coordinate points, whether the piece of information is video information and whether the piece of information is cached, defining the maximum caching time, wherein the default value of the maximum caching time is the caching time of the data information with the fixed memory size cached under the current network condition, and creating a video caching pool.
Step S302, whether a video display area exists or not. That is, whether the information flow page has a video display area is determined, if yes, the step S303 is performed, otherwise, the process is ended.
Step S303, traverse the page information of the information flow page. And dividing the video display area according to the traversal result. The video data corresponding to the video display area contained in the visible area (current display area) on the display screen of the terminal are added to the first array, the video identification of the video data which is not cached is added to the second array, and the video data corresponding to the video display area contained in the invisible area (area to be displayed) is added to the second array.
In this embodiment, step S303 includes:
step S3031 extracts the first information. The first information is any piece of information in the information flow page.
Step S3032, whether the first information is empty. If it is empty, the process ends, otherwise, the process proceeds to step S3033.
Step S3033, if the video display area is included, if yes, step S3034 is entered, otherwise, step S3031 is returned.
Step S3034, determining whether the cache is not cached. And judging whether the video data corresponding to the video display area contained in the first information is cached, if not, entering the step S3035, otherwise, returning to the step S3031.
Step 3035, whether the screen is visible or not. And judging whether the video display area contained in the first information is visible in the screen (the current display area), if so, entering step 3036, otherwise, entering step 3037.
Step 3036, adding the first array. And adding the video identification corresponding to the video display area visible in the screen into the first array.
Step 3037, adding a second array. And adding the video identifier corresponding to the invisible video display area in the screen into the second array.
And step S304, adding a cache pool. And adding the video data corresponding to the video data identifier in the first array into a cache pool.
Step S305, calculating the total time length to be cached. And obtaining the caching duration required by the video data which is not cached in the caching pool, and obtaining the total duration to be cached.
Step S306, a second array is obtained.
In this embodiment, step S306 includes:
in step S3061, the second information is extracted. The second information is any one piece of information in the second array.
Step S3062, whether the second information is empty. If yes, the process ends, otherwise, the process proceeds to step S3063.
Step S3063, whether the estimated time length is smaller than the sum of the total time length to be cached and the maximum caching time length or not is judged. If so, the process proceeds to step S3064, otherwise, the process ends. The estimated duration refers to the estimated duration of the second information to be displayed, and the maximum cache duration refers to the longest cache duration in the video data which has been cached in the cache pool. The memory size of each video data cache in the cache pool is the same.
Step S3064, add a third array. And adding the video data identifier, which is smaller than the sum of the total time to be cached and the maximum caching time, of the estimated time length in the video display area corresponding to the video data identifier in the second array into the third array.
Step S3065, accumulate the maximum cache duration for the total duration to be cached. If the second array also includes information, then the method proceeds to step 3061.
In step S307, a third array is obtained.
And step S308, adding a cache pool. And adding the video data corresponding to the video identification in the third array into a cache pool.
In this embodiment, step S308 includes:
and step S3081, removing the duplicate according to the video identification. And removing the duplicate of the video in the cache pool and the identifiers of the video data of the first array and the third array according to the defined video identifiers, if the video exists in the cache pool, adding the video data repeatedly, otherwise, adding the video data, and marking the cache state of the video data as to-be-cached.
Step S3082, the video data in the cache pool is loaded.
Step S3083, cache mark. And modifying the loaded video data into the cached video data.
Step S3084, the maximum buffer duration is updated. And updating the maximum cache duration according to the cache duration of the loaded video data, namely taking the maximum value of the cache duration of the loaded video data as the maximum cache duration. Namely, according to the cache time of the cached video data in the cache pool, finding out the maximum value of the cache time, and assigning the maximum cache time.
And step S3085, updating the total duration to be cached. And calculating the total time length to be cached according to the video data which is not cached in the cache pool.
Step S309, leave the information flow page.
Step S310, clearing and destroying the cache pool. When the App leaves the information flow page, the cache pool is emptied and destroyed, traceless use is achieved, and increase of the operating memory of the App is effectively reduced.
In a specific embodiment, the method for caching video data includes:
defining that each piece of information in the information flow contains a unique identifier ItemId of a characteristic field, a coordinate point P (x, y), whether video information is video information isVideoInfo or not and whether cached isCached or not; defining the maximum cache time CacheTime-Max; defining total buffer time TotalCacheTime; defining a first Array1, a second Array2, and a third Array 3; a cache pool CachePool is created.
Traversing the information flow, referring to fig. 3, fig. 3 is a schematic diagram of an information flow page. From the vertical coordinate point P.y, it is known whether or not it is within the visible region, and it is defined that it is identified by a boolean value isvisiblelnfo, information that isvisiblelnfo and isVideoInfo have YES, iscache has NO is added to Array1, and information that isvisiblelnfo and iscache has NO, isceidinfo has YES is added to Array 2.
Defining that the cached video information in the cache pool comprises a unique characteristic field identifier ItemId, information flow information InfoItem, whether cached isCached and cache duration cacheTime; comparing the information in Array1 with the information in the cache pool according to ItemId, removing duplication, adding the information into the cache pool for caching, setting cached information iscache as YES, and updating cached information cacheTime; TotalCacheTime is the sum of cacheTime of uncached information, and TotalCacheTime is zero when cache pool information isCached is YES.
And finding out the maximum value of a cache duration according to the cacheTime of the cached video information in the CachePool, and assigning the maximum value to cacheTime-Max.
The sliding height of the known device is ScroledHeight, and the screen height is Screen height; the limit slip speed of the device is known as maxsrolspeed.
Traversing Array2, defining H as the height of a piece of information from a visible region, and defining the time length for sliding to the information as ScrollTime; h is found to be P.y minus ScrolledHeight minus ScreenHeight; if the ScrollTime is less than TotalCacheTime plus CacheTime-Max, which indicates that the ScrollTime is not enough to cache the information, the ScrollTime is added to Array3, and TotalCacheTime accumulates CacheTime-Max; otherwise, stopping traversal.
Comparing the information in Array3 with the information in CachePool according to ItemId, removing duplication, adding the information into CachePool for caching, setting cached information iscache as YES, and updating the cacheTime of the cached information; TotalCacheTime is the sum of cacheTimes of uncached information, and TotalCacheTime is zero when information isCached in CachePool is YES.
When the information flow list starts to slide, monitoring a system sliding notification, when the list slides upwards and slides for a certain distance, re-determining a new display area, executing a caching strategy, and dividing a first array, a second array and a third array from the new to determine whether the corresponding video data in each array is added into a caching pool; not performing a caching policy when sliding down the list; while ScrollHeight accumulates ScrollDistance.
When all the video information iscache in the information flow list is YES, the caching strategy flow is not executed.
When leaving the flow list page, CachePool is emptied and destroyed.
The method for caching the video data is encapsulated in a management class, is suitable for all information flow list pages, increases reusability and transportability, and improves development efficiency. The method for caching the video data selectively caches the video by using the sliding speed and the caching duration, reduces the caching quantity, improves the product performance, ensures that the videos watched by a user are cached, and can directly start to play the cached videos without waiting. The cache data is stored in the operation memory and cannot be stored in a local disk, the packet size and volume of the App after use are effectively reduced, the cache pool is emptied and destroyed when the App leaves an information flow page, traceless use is achieved, and the increase of the App operation memory is effectively reduced.
Fig. 1 is a flowchart illustrating a method for caching video data according to an embodiment. It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided an apparatus 200 for buffering video data, comprising:
the information acquisition page 201 is used for acquiring page information of an information flow page, the information flow page comprises a current display area and an area to be displayed, the current display area is an area displayed on a terminal of the information flow page, the page information comprises a video display area, position information of the video display area and a video identifier of video data corresponding to the video display area, and the area to be displayed comprises a first video display area;
a data identifier obtaining module 202, configured to obtain a video data identifier set of video data included in the cache pool;
a to-be-cached total duration obtaining module 203, configured to obtain a to-be-cached total duration of the video data in the cache pool;
the estimated time length calculation module 204 is configured to calculate an estimated time length for the first video display area to be displayed according to the position information of the current display area and the position difference of the position information of the first video display area;
the caching module 205 is configured to add the first video identifier to the video data identifier set when the estimated duration is less than the total duration to be cached and the video data identifier set does not include the first video identifier corresponding to the first video display area, so as to cache video data corresponding to each video identifier in the video data identifier set through the caching pool.
In one embodiment, the current presentation area comprises a second video presentation area,
the cache module 205 is further configured to add the second video identifier to the video data identifier set when the video data identifier set does not include the second video identifier corresponding to the second video display area.
In an embodiment, the to-be-cached total duration obtaining module 203 is specifically configured to, if there is unfinished cached video data in the cache pool, calculate a sum of to-be-cached durations of each unfinished cached video data in the cache pool, and obtain the to-be-cached total duration.
In an embodiment, the to-be-cached total duration obtaining module 203 is specifically configured to, if there is unfinished cached video data in the cache pool, calculate a to-be-cached duration of each unfinished cached video data in the cache pool and a sum of a first preset duration to obtain the to-be-cached total duration.
In an embodiment, the to-be-cached total duration obtaining module 203 is specifically configured to, if all the video data in the cache pool are cached, take the second preset duration as the to-be-cached total duration.
In an embodiment, the to-be-cached total duration obtaining module 203 is further configured to, when video data that has been cached already exists in the cache pool, obtain a memory size and a cache duration of each video data that has been cached already; calculating the caching rate according to the memory size and the caching duration of each video data which is cached; and calculating to obtain the total time length to be cached according to the minimum caching rate and the memory size of the video data which is not cached in the cache pool.
In one embodiment, the memory size to be cached of each video data in the cache pool is the same,
the to-be-cached total duration obtaining module 203 is further configured to obtain a maximum caching duration in each video data that has been cached when the video data that has been cached already exists in the cache pool; calculating a cache rate according to the memory to be cached and the maximum cache duration; and calculating to obtain the total time length to be cached according to the caching rate and the size of the memory of the uncompleted cached video in the cache pool.
In an embodiment, the to-be-cached memories of the video data in the cache pool have the same size, and when the cached video data exists in the cache pool and the caching of the video data in the cache pool is completed, the to-be-cached total duration obtaining module 203 is further configured to obtain a maximum caching duration in each cached video data; and taking the maximum caching duration as the total duration to be cached.
In one embodiment, the estimated duration calculation module 204 is configured to calculate the position information of the current display area, where the position information of the current display area includes height information of the current display area on the information flow page, and the position information of the first video display area includes height information of the first video display area on the information flow page; acquiring the screen height of a terminal display screen; calculating to obtain a first sliding distance according to the height information of the current display area on the information flow page, the screen height and the height information of the first video display area on the information flow page; and calculating to obtain the estimated duration according to the first sliding distance and the preset sliding speed.
In an embodiment, the apparatus 200 for buffering video data further includes:
the sliding operation detection module is used for acquiring a second sliding distance and a sliding direction corresponding to the sliding operation when the sliding operation aiming at the information flow page is detected;
the page updating module is used for updating the current display area according to the second sliding distance and the sliding direction when the second sliding distance is greater than the preset distance threshold and the sliding direction is consistent with the first direction, taking the updated current display area as the current display area, and executing acquisition of a video data identifier set of video data contained in the cache pool, wherein the first direction is a direction pointing to a first edge of the information flow display page;
and the page updating module is further configured to update the current display area according to the second sliding distance and the sliding direction when the second sliding distance is greater than the preset distance threshold and the sliding direction is consistent with the second direction, and use the updated current display area as the current display area, where the second direction is a direction pointing to a second edge of the information stream display page, and the first edge is opposite to the second edge.
In an embodiment, the apparatus 200 for buffering video data further includes:
and the cache pool creating module is used for creating a cache pool when the entering operation of entering the information flow page is detected and the information flow page comprises a video display area.
In an embodiment, the apparatus 200 for buffering video data further includes:
and the cache destroying module is used for emptying and destroying the cache pool when the closing of the information flow page is detected.
FIG. 5 is a diagram illustrating an internal structure of a computer device in one embodiment. As shown in fig. 5, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected via a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement a method of caching video data. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a method of caching video data. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the apparatus for buffering video data provided herein may be implemented in the form of a computer program that is executable on a computer device such as the computer device shown in fig. 5. The memory of the computer device may store various program modules constituting the apparatus for caching video data, such as an information obtaining page 201, a data identifier obtaining module 202, a total duration to be cached obtaining module 203, an estimated duration calculating module 204, and a caching module 205 shown in fig. 4. The computer program constituted by the program modules causes the processor to execute the steps of the method for caching video data according to the embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 5 may execute, through the information obtaining page 201 in the apparatus for caching video data shown in fig. 4, obtaining page information of an information stream page, where the information stream page includes a current display area and a to-be-displayed area, the current display area is an area where the information stream page is displayed on a terminal, the page information includes a video display area, position information of the video display area, and a video identifier of video data corresponding to the video display area, and the to-be-displayed area includes a first video display area. The computer device may execute, by the data identifier obtaining module 202, obtaining a video data identifier set of video data included in a cache pool, where the cache pool is used for caching video data corresponding to each video identifier in the video data identifier set. The computer device may execute the step of obtaining the total duration to be cached of the video data in the cache pool through the total duration to be cached obtaining module 203. The computer device may calculate the estimated time length for the first video display area to be displayed by executing the position difference according to the position information of the current display area and the position information of the first video display area through the estimated time length calculation module 204. The computer device may perform, by using the caching module 205, when the estimated duration is less than the total duration to be cached, and the video data identifier set does not include the first video identifier corresponding to the first video display area, add the first video identifier to the video data identifier set, so as to cache the video data corresponding to each video identifier in the video data identifier set through the caching pool.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the steps of any of the above-described methods for caching video data when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of any of the above-mentioned methods of caching video data.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (13)

1. A method for buffering video data, the method comprising:
acquiring page information of an information flow page, wherein the information flow page comprises a current display area and an area to be displayed, the current display area is an area displayed on a terminal of the information flow page, the page information comprises a video display area, position information of the video display area and a video identifier of video data corresponding to the video display area, and the area to be displayed comprises a first video display area;
acquiring a video data identification set of video data contained in a cache pool;
acquiring the total time length to be cached of the video data in the cache pool;
calculating the estimated duration of the first video display area being displayed according to the position information of the current display area and the position difference of the position information of the first video display area;
when the estimated duration is less than the total duration to be cached and the video data identification set does not contain the first video identification corresponding to the first video display area, adding the first video identification into the video data identification set so as to cache the video data corresponding to each video identification in the video data identification set through the cache pool.
2. The method according to claim 1, wherein the current presentation area comprises a second video presentation area, and before the obtaining of the total duration of the video data to be cached in the cache pool, the method further comprises:
and when the video data identification set does not contain a second video identification corresponding to the second video display area, adding the second video identification into the video data identification set.
3. The method according to claim 1, wherein the obtaining the total duration of the video data in the buffer pool to be buffered comprises:
if the uncompleted cached video data exist in the cache pool, calculating the sum of the to-be-cached time lengths of each uncompleted cached video data in the cache pool to obtain the total to-be-cached time length; or
If the uncompleted cached video data exist in the cache pool, calculating the sum of the time length to be cached of each uncompleted cached video data in the cache pool and a first preset time length to obtain the total time length to be cached.
4. The method according to claim 3, wherein the obtaining the total duration of the video data in the buffer pool to be buffered comprises:
and if the video data in the cache pool are cached completely, taking a second preset time length as the total time length to be cached.
5. The method according to claim 1, wherein the memory size to be cached of each video data in the cache pool is the same, and when the cached video data exists in the cache pool, before the obtaining of the total duration to be cached of the video data in the cache pool, the method further comprises:
acquiring the maximum caching duration in each video data which is cached completely;
calculating a cache rate according to the memory to be cached and the maximum cache duration;
and calculating to obtain the total time length to be cached according to the caching rate and the size of the memory of the video which is not cached in the caching pool.
6. The method according to claim 1, wherein the memory size to be cached of each video data in the cache pool is the same, and when the video data whose caching is completed exists in the cache pool and the video data in the cache pool are all cached, the obtaining of the total duration to be cached of the video data in the cache pool comprises:
acquiring the maximum caching duration in each video data which is cached completely;
and taking the maximum caching duration as the total duration to be cached.
7. The method according to claim 1, wherein the position information of the current display area comprises height information of the current display area on the information flow page, and the position information of the first video display area comprises height information of the first video display area on the information flow page;
the calculating the estimated duration of the displayed first video display area according to the position difference between the position information of the current display area and the position information of the first video display area includes:
acquiring the screen height of the terminal display screen;
calculating to obtain a first sliding distance according to the height information of the current display area on the information flow page, the height of the screen and the height information of the first video display area on the information flow page;
and calculating to obtain the estimated duration according to the first sliding distance and a preset sliding speed.
8. The method of claim 1, further comprising:
when the sliding operation aiming at the information flow page is detected, acquiring a second sliding distance and a sliding direction corresponding to the sliding operation;
when the second sliding distance is greater than a preset distance threshold value and the sliding direction is consistent with a first direction, updating the current display area according to the second sliding distance and the sliding direction, taking the updated current display area as the current display area, and executing acquisition of a video data identifier set of video data contained in a cache pool, wherein the first direction is a direction pointing to a first edge of the information flow display page;
and when the second sliding distance is greater than the preset distance threshold value and the sliding direction is consistent with the second direction, updating the current display area according to the second sliding distance and the sliding direction, and taking the updated current display area as the current display area, wherein the second direction is a direction pointing to a second edge of the information flow display page, and the first edge is opposite to the second edge.
9. The method of claim 1, further comprising:
and when an entering operation of entering the information flow page is detected and the information flow page comprises the video display area, creating the cache pool.
10. The method of claim 1, further comprising:
and when the information flow page is detected to be closed, emptying and destroying the cache pool.
11. An apparatus for buffering video data, the apparatus comprising:
the information acquisition page is used for acquiring page information of an information flow page, the information flow page comprises the current display area and an area to be displayed, the current display area is an area displayed on a terminal of the information flow page, the page information comprises a video display area, position information of the video display area and a video identifier of video data corresponding to the video display area, and the area to be displayed comprises a first video display area;
the data identification acquisition page is used for acquiring a video data identification set of video data contained in a cache pool, and the cache pool is used for caching the video data corresponding to each video identification in the video data identification set;
a to-be-cached total duration obtaining module, configured to obtain a to-be-cached total duration of the video data in the cache pool;
the estimated time length calculation module is used for calculating the estimated time length of the first video display area according to the position information of the current display area and the position difference of the position information of the first video display area;
and the cache module is used for adding the first video identifier into the video data identifier set when the estimated duration is less than the total duration to be cached and the video data identifier set does not contain the first video identifier corresponding to the first video display area, so as to cache the video data corresponding to each video identifier in the video data identifier set through the cache pool.
12. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 10 are implemented by the processor when executing the computer program.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.
CN202011501507.7A 2020-12-17 2020-12-17 Method, device, computer equipment and storage medium for caching video data Active CN112711726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011501507.7A CN112711726B (en) 2020-12-17 2020-12-17 Method, device, computer equipment and storage medium for caching video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011501507.7A CN112711726B (en) 2020-12-17 2020-12-17 Method, device, computer equipment and storage medium for caching video data

Publications (2)

Publication Number Publication Date
CN112711726A true CN112711726A (en) 2021-04-27
CN112711726B CN112711726B (en) 2023-09-01

Family

ID=75544472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011501507.7A Active CN112711726B (en) 2020-12-17 2020-12-17 Method, device, computer equipment and storage medium for caching video data

Country Status (1)

Country Link
CN (1) CN112711726B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205680A (en) * 2021-12-01 2022-03-18 广州方硅信息技术有限公司 Video cover display method and device, equipment, medium and product thereof

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1227029A (en) * 1996-07-01 1999-08-25 太阳微系统公司 Video delivery system and method which displays slider bar on subscriber video screen for indexing into video stream
US20060168631A1 (en) * 2005-01-21 2006-07-27 Sony Corporation Method and apparatus for displaying content information
US20100125792A1 (en) * 2008-11-20 2010-05-20 Canon Kabushiki Kaisha Information processing system, information processing apparatus, display processing method therefor, and computer-readable storage medium
US20130151786A1 (en) * 2011-12-09 2013-06-13 International Business Machines Corporation Logical buffer pool extension
US20140201773A1 (en) * 2009-05-29 2014-07-17 Zeev Neumeier Systems and methods for on-screen graphics detection
CN105095200A (en) * 2014-04-16 2015-11-25 北大方正集团有限公司 Method and device for displaying picture in waterfall flow manner
CN107066632A (en) * 2017-06-05 2017-08-18 厦门美柚信息科技有限公司 The method and device that a kind of info web is preloaded
CN108416000A (en) * 2018-02-27 2018-08-17 百度在线网络技术(北京)有限公司 Method for exhibiting data, device, equipment and storage medium
CN109815367A (en) * 2019-01-24 2019-05-28 北京字节跳动网络技术有限公司 The interaction control method and device of displayed page
CN110276032A (en) * 2019-06-26 2019-09-24 深圳市迅雷网络技术有限公司 Information data acquisition methods, device, system and computer storage medium to be presented
CN111083217A (en) * 2019-12-11 2020-04-28 北京达佳互联信息技术有限公司 Method and device for pushing Feed stream and electronic equipment
CN111580732A (en) * 2020-05-06 2020-08-25 北京奇艺世纪科技有限公司 Page content display method and device, electronic equipment and computer storage medium
CN111966887A (en) * 2019-05-20 2020-11-20 北京沃东天骏信息技术有限公司 Dynamic caching method and device, electronic equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1227029A (en) * 1996-07-01 1999-08-25 太阳微系统公司 Video delivery system and method which displays slider bar on subscriber video screen for indexing into video stream
US20060168631A1 (en) * 2005-01-21 2006-07-27 Sony Corporation Method and apparatus for displaying content information
US20100125792A1 (en) * 2008-11-20 2010-05-20 Canon Kabushiki Kaisha Information processing system, information processing apparatus, display processing method therefor, and computer-readable storage medium
US20140201773A1 (en) * 2009-05-29 2014-07-17 Zeev Neumeier Systems and methods for on-screen graphics detection
US20130151786A1 (en) * 2011-12-09 2013-06-13 International Business Machines Corporation Logical buffer pool extension
CN105095200A (en) * 2014-04-16 2015-11-25 北大方正集团有限公司 Method and device for displaying picture in waterfall flow manner
CN107066632A (en) * 2017-06-05 2017-08-18 厦门美柚信息科技有限公司 The method and device that a kind of info web is preloaded
CN108416000A (en) * 2018-02-27 2018-08-17 百度在线网络技术(北京)有限公司 Method for exhibiting data, device, equipment and storage medium
CN109815367A (en) * 2019-01-24 2019-05-28 北京字节跳动网络技术有限公司 The interaction control method and device of displayed page
CN111966887A (en) * 2019-05-20 2020-11-20 北京沃东天骏信息技术有限公司 Dynamic caching method and device, electronic equipment and storage medium
CN110276032A (en) * 2019-06-26 2019-09-24 深圳市迅雷网络技术有限公司 Information data acquisition methods, device, system and computer storage medium to be presented
CN111083217A (en) * 2019-12-11 2020-04-28 北京达佳互联信息技术有限公司 Method and device for pushing Feed stream and electronic equipment
CN111580732A (en) * 2020-05-06 2020-08-25 北京奇艺世纪科技有限公司 Page content display method and device, electronic equipment and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205680A (en) * 2021-12-01 2022-03-18 广州方硅信息技术有限公司 Video cover display method and device, equipment, medium and product thereof

Also Published As

Publication number Publication date
CN112711726B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
US11573693B2 (en) Display controlling method, terminal, information processing apparatus, and storage medium
US20210020199A1 (en) Methods for serving interactive content to a user
BR112012030176B1 (en) apparatus and method of display control, and, recording media
TWI671647B (en) Method, device and electronic device for calculating the duration of the first screen of a page
CN110740339B (en) Live content preview method and device
CN110475140B (en) Bullet screen data processing method and device, computer readable storage medium and computer equipment
CN109388317B (en) Picture loading method, terminal device and storage medium
US10198147B2 (en) Object management and visualization using a computing device
CN110780939B (en) Method, device, computer equipment and storage medium for loading resource file
CN112711726B (en) Method, device, computer equipment and storage medium for caching video data
CN111698548B (en) Video playing method and device
CN111597480A (en) Webpage resource preloading method and device, computer equipment and storage medium
CN105989012B (en) page display method, device, mobile terminal and system
CN112541140A (en) List loading method, terminal device, electronic device and storage medium
JP6718524B2 (en) Delete items based on user interaction
CN104731824A (en) Picture display method and picture display device
CN111435284B (en) Method, device and storage medium for detecting false click of media content display bit
CN114254224A (en) Page rendering method, device, server and storage medium
CN114428899A (en) Multimedia resource pushing method and device, electronic equipment and storage medium
KR20220042930A (en) Method, apparatus and computer program for providing contents list
CN111444064A (en) Component exposure statistical method and device and mobile terminal
JP6194435B1 (en) Information processing system, information processing method, and information processing program
CN109299414A (en) A kind of method and terminal of loading page
CN114518815B (en) Method, device, equipment, medium and program product for displaying building drawing
CN112306901B (en) Disk refreshing method and device based on layered storage system, electronic equipment and medium

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