CN106791898B - Live video loading method and device - Google Patents

Live video loading method and device Download PDF

Info

Publication number
CN106791898B
CN106791898B CN201611136518.3A CN201611136518A CN106791898B CN 106791898 B CN106791898 B CN 106791898B CN 201611136518 A CN201611136518 A CN 201611136518A CN 106791898 B CN106791898 B CN 106791898B
Authority
CN
China
Prior art keywords
live
live video
screen
video
videos
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.)
Active
Application number
CN201611136518.3A
Other languages
Chinese (zh)
Other versions
CN106791898A (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.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201611136518.3A priority Critical patent/CN106791898B/en
Publication of CN106791898A publication Critical patent/CN106791898A/en
Application granted granted Critical
Publication of CN106791898B publication Critical patent/CN106791898B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a live video loading method and device, belongs to the field of internet and aims to shorten the loading time of live video. The method comprises the following steps: displaying items of a plurality of live videos on a screen according to an input operation; caching a data stream corresponding to each live video item in the live video items displayed on the screen while displaying the live video items; loading a triggered live video and displaying a picture of the live video once a triggering operation of an item of one live video in the items of the plurality of live videos is received; wherein the entry comprises a live screenshot of a live video. The invention is used for live video.

Description

Live video loading method and device
Technical Field
The invention relates to the field of internet, in particular to a live video loading method and device.
Background
With the development of internet technology, internet live broadcasting has become a trend nowadays, and more users watch live video programs by using mobile terminals.
The current live video loading process generally comprises: the user opens the live broadcast application program, clicks the interested live video program, then displays the loaded state page of the clicked video on the mobile terminal, and starts to play the live broadcast video when the live broadcast video is loaded to a certain degree.
However, the loading method of the live video has the problem of long loading time, which causes the viewing experience of the user to be reduced.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a live video loading method and apparatus, so as to shorten the loading time of a live video.
In one aspect, a live video loading method is provided, and the method includes:
displaying items of a plurality of live videos on a screen according to an input operation;
caching a data stream corresponding to each live video item in the live video items displayed on the screen while displaying the live video items;
loading a triggered live video and displaying a picture of the live video once a triggering operation of an item of one live video in the items of the plurality of live videos is received;
wherein the entry comprises a live screenshot of a live video.
Optionally, in an embodiment, the method further includes:
under the condition that a sliding screen operation is received, displaying items of a plurality of refreshed live videos on the screen, and meanwhile caching a data stream corresponding to each item of the plurality of refreshed live videos displayed on the screen;
wherein the sliding screen operation comprises: a slide down screen operation, a slide left screen operation, and a slide down screen operation.
Optionally, in another embodiment, the method further comprises:
releasing the data stream cached for the at least one live video entry once the at least one live video entry displayed on the screen no longer appears on the screen via a sliding screen operation.
Optionally, in another embodiment, the method further comprises:
allocating a fixed storage space for each item of live video displayed on the screen;
discarding at least a part of the data streams in the storage space in the order of buffering time from morning to evening once the size of the data streams stored in the storage space reaches a threshold;
the size of the discarded data stream is equal to the size of the data stream buffered at the same time.
Optionally, in another embodiment, the entry further comprises at least one of: the method comprises the steps of introducing live videos, watching people of the live videos, uniform resource locators of live screenshots of the live videos and live video stream addresses, wherein the number of items of the live videos displayed on a screen is at least 3.
On the other hand, a live video loading device is provided, the device includes an input module, a display module, a cache module and a loading module, wherein:
the input module is used for receiving input operation;
the display module is used for displaying a plurality of items of live videos on a screen according to input operation;
the cache module is used for caching a data stream corresponding to each live video item in the live video items displayed on the screen while the display module displays the live video items;
the loading module is used for loading the triggered live video once the input module receives a triggering operation on an entry of one of the entries of the live videos;
the display module is also used for displaying the picture of the live video;
wherein the entry comprises a live screenshot of a live video.
Optionally, in an embodiment, in a case where the input module receives a slide screen operation:
the display module is further used for displaying items of the refreshed live videos on the screen;
the cache module is further configured to: caching a data stream corresponding to each item of the refreshed live videos displayed on the screen;
wherein the sliding screen operation comprises: a slide down screen operation, a slide left screen operation, and a slide down screen operation.
Optionally, in another embodiment, the cache module is further configured to:
releasing the data stream cached for the at least one live video entry once the at least one live video entry displayed on the screen no longer appears on the screen via a sliding screen operation.
Optionally, in another embodiment, the cache module is further configured to:
allocating a fixed storage space for each item of live video displayed on the screen;
discarding at least a part of the data streams in the storage space in the order of buffering time from morning to evening once the size of the data streams stored in the storage space reaches a threshold;
the size of the discarded data stream is equal to the size of the data stream buffered at the same time.
Optionally, in another embodiment, the entry further comprises at least one of: the method comprises the steps of introducing live videos, watching people of the live videos, uniform resource locators of live screenshots of the live videos and live video stream addresses, wherein the number of items of the live videos displayed on a screen is at least 3.
In another aspect, a terminal device is provided, where the terminal device includes a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the processor executes any live video loading method in the embodiments of the present invention.
The terminal equipment can be a mobile phone, a tablet computer, a desktop computer and the like.
In another aspect, a non-transitory storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, any live video loading method in the embodiments of the present invention is executed.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
when the items of the live videos are displayed, the data streams corresponding to the items of the live videos displayed on the cache screen can be stored in advance before the user watches the live videos. Therefore, when the user triggers to play the displayed live video subsequently, the loading time of the live video can be greatly shortened, and even the direct playing of the live video is realized.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a live video loading method according to an embodiment of the present invention.
FIG. 2 is an interface of items presented by a user when opening a live platform application;
FIG. 3 is a schematic diagram of data stream cache maintenance;
fig. 4 is a block diagram of a live video loading apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart of a live video loading method according to an embodiment of the present invention. Referring to fig. 1, a live video loading method provided by an embodiment of the present invention may include:
11. according to the input operation, items of a plurality of live videos are displayed on a screen.
The input operation in the embodiment of the present invention may be various operations. For example, an operation of opening live software (e.g., YY live, etc.), an operation of switching from an initial page of the live software to another page (e.g., a nearby page, a music page, a sports page, etc.), and the like. When the input operation is an operation of opening live broadcast software, displaying an initial page of the live broadcast software on a screen, wherein a plurality of items of live broadcast videos can be displayed on the initial page; when the input operation is switching from an initial page of live software to another page, displayed on the screen are entries of a plurality of live videos under the switched page. For example, after the YY live broadcast is opened, the entries of the plurality of live videos under the hit page are displayed by default, and when the user switches to, for example, a sports page through an input operation, the entries of the plurality of live videos under the sports page are displayed. Of course, the input operation in the embodiment of the present invention may also be other operations, such as a return operation.
The Item (Item) in the embodiment of the invention is a graphical abstraction of live video, and can be used for representing the live video, and various information contained in the Item can represent the concrete situation of the live video. One entry may correspond to one live video. The entry may include a live screenshot of the live video, which may be a live screenshot obtained by screenshot the live video at regular intervals. Of course, the entries also include at least one of: introduction of live video, number of viewers of live video, Uniform Resource Locator (URL) of live screenshot of live video, and live video stream address. That is, any content or material related to live video may be included as part of the entry.
In the embodiment of the present invention, the number of entries of the live video displayed on the screen may be 2 or more, for example, 3, 5, 7, or the like.
12. And caching a data stream corresponding to each live video item in the live video items displayed on the screen while displaying the live video items.
In the embodiment of the present invention, the entries of the different live videos are used to represent the different live videos, and the data stream corresponding to the entry of the live video is the data stream of the live video represented by the entry of the live video.
The live video loading method provided by the embodiment of the invention is different from the related technology, and the displayed items of each live video can be cached while the items of the live video are displayed, so that the live video is cached without waiting for the click operation of a user. In this way, the user can complete the caching of the live video data stream while browsing the items of the live video. Therefore, the cached data stream can be conveniently and directly utilized to display the live video pictures subsequently, the time for loading the live video is further shortened, and the user experience is improved.
13. Upon receiving a trigger operation for an entry of a live video in the entries of the plurality of live videos, loading the triggered live video and displaying a picture of the live video.
The triggering operation in the embodiment of the present invention refers to an operation for triggering the live video playing, and the triggering operation may be a single-click operation, a double-click operation, a right-click operation, and the like, depending on specific settings. And once the trigger operation of the user is received, indicating that the user wants to play the triggered live video.
After receiving the trigger operation, the mobile terminal can start to load the live video and display the picture of the live video.
According to the live video loading method provided by the embodiment of the invention, when the items of the live video are displayed, the data streams corresponding to the items of the live video displayed on the screen are cached, and the data streams of the live video which the user wants to watch can be stored in advance before the user watches the live video. Therefore, when the user triggers to play the displayed live video subsequently, the loading time of the live video can be greatly shortened, and even the direct playing of the live video is realized.
In the embodiment of the present invention, when the user views the entry of the live video displayed on the screen, it is possible that the currently displayed entry of the live video is not the entry of the live video that the user wants to watch, and therefore, the user can refresh or replace the entry of the live video through various sliding operations. For example, after the user opens the live video software, the user can ensure that a new live video item is displayed on the screen through, for example, a sliding operation upwards, and once the user finds a live video which the user wants to see from the newly appearing live video item, the user can watch the live video through a triggering operation. Under the application situation, the live video loading method provided by the embodiment of the invention can directly cache the data streams corresponding to the items of each live video after being refreshed, so that a user can consume less loading time when wanting to watch the live video, and even can watch the live video immediately. Specifically, in the embodiment of the present invention, when a sliding screen operation is received, items of a plurality of refreshed live videos are displayed on a screen, and a data stream corresponding to each item of each of the plurality of refreshed live videos displayed on the screen is cached; wherein the sliding screen operation comprises: a slide down screen operation, a slide left screen operation, and a slide down screen operation.
In the embodiment of the invention, if the storage space on the terminal equipment is large enough, the data stream of the live video can be cached all the time. However, in practical applications, the storage space on the terminal device is often limited, and in order to better save the storage space, the live video loading method provided by the embodiment of the present invention can release the data stream corresponding to the items of live videos that are displayed on the screen before and are not displayed on the screen after the sliding operation. Specifically, in one embodiment of the present invention, the data stream cached for the at least one item of live video displayed on the screen may be released once the item of live video no longer appears on the screen via a slide screen operation. The data stream does not occupy the storage space after being released, so that the aim of saving the storage space can be achieved.
In the embodiment of the present invention, a fixed storage space, for example, 5M, 8M, or the like, may also be allocated for each item of live video displayed on the screen. A threshold may also be set for the data stream of each live video buffer, for example, when the storage space is 8M, the threshold may be set to 5M, and of course, the threshold may also be set to 8M, and the like. Once the size of the data stream stored in the storage space reaches a threshold value, at least a part of the data stream in the storage space can be discarded according to the order of the caching time from early to late; the size of the discarded data stream is equal to the size of the data stream buffered at the same time. That is to say, in the embodiment of the present invention, once the live video that the user wants to see has been cached and reaches the set threshold, while the user watches the live video, the terminal device will cache the data stream of the current live video immediately so as to display the picture of the live video, and on the other hand will discard the data stream of the live video that was cached earliest before, so as to save the storage space. And at the same time, the data stream of the buffered live video is equal to the data stream of the discarded live video. By the method, the condition that the user watches the live video is not influenced can be ensured, the storage space can be saved, and the live video can be loaded and played by using less storage space.
In order to better understand the technical solution of the embodiments of the present invention, the following further explains the specific implementation process. The following exemplary description takes a mobile terminal as an example.
Home page data presentation
When the user opens the live platform application, the interface shown in fig. 2 may be displayed, and the entry shown in fig. 2 includes a live screenshot, and of course, in the embodiment of the present invention, the entry may further include a live screenshot URL, a live video stream address, and the like. In the embodiment of the invention, a live audio/video stream cache (BUFF) can be added to the background memory space corresponding to each entry.
The user can click the live screenshot displayed in the current mobile phone interface and enter a live broadcast room to watch live broadcast. In the embodiment of the invention, when a user enters a home page, a live screenshot of a first screen is displayed, and a background is informed to download the audio and video stream from a live video stream address and cache the audio and video stream in the cache (BUFF).
It should be noted that, in the embodiment of the present invention, before downloading a data stream, it may be determined whether a terminal device downloads the data stream using WIFI, and if so, the data stream may be directly downloaded; otherwise, the data stream can be waited to be downloaded under the WIFI condition, and the phenomenon that the user consumes excessive flow is avoided.
Flow cache (BUFF) maintenance
When the user slides up and down the List of entries (List) of the home page, more live video entries (specifically, live screenshot information, for example, can be hosted) are loaded. However, since the audio/video stream is real-time and the network request data traffic is large, only a certain number of buffers, for example, N stream buffers, may be maintained in the memory. Wherein N may be an integer greater than 2.
Fig. 3 is a schematic diagram of data stream cache maintenance. The downward arrow in FIG. 3 indicates that the finger is dragging upward and the screen shows the Item (Item) down. The solid arrow to the right in fig. 3 indicates an entry located at the center of the screen, which is most likely an entry of the live video that the user wants to watch. The dotted line box represents the display interface range of the terminal device (e.g., a mobile phone). As can be seen, maintaining 3 stream buffers is shown in fig. 3.
As shown in fig. 3, 3 caches are maintained, with entry positions (itempositions) of-1, 0,1, respectively. It is noted here that the number of caches and the entry location representation (i.e., -1,0,1) shown in fig. 3 are by way of example only and not intended to be limiting. In the embodiment of the present invention, other numbers of caches (for example, 5 entries of caches) may be used, and other ways may be used to indicate the entry location, for example, -2,0,2, etc.
When it is monitored that the user slides up and down the home page entry list, the entry position (itempposition) of each entry can be updated, in the embodiment of the present invention, the entry position (itempposition) of the entry occupying the largest height of the screen interface can be set to 0, and the entry position of the entry located in the center of the screen can also be set to 0.
In the embodiment of the present invention, in a specific implementation, an item position update event (ItemPositionUpdateEvent) may be defined, and when the item position (ItemPosition) changes, the item position update event is triggered to notify an application background to download a new media stream. As shown in fig. 3, the user slides up to the current state, closes the data stream corresponding to ItemPosition-2, and destroys its cache (BUFF 0). Meanwhile, initializing the cache (BUFF4) corresponding to ItemPosition 2, and downloading the data stream according to the live broadcasting room information and storing the data stream into the cache BUFF 4.
When the user's sliding direction changes, the item position (itempotion) is reversed, but the item position (itempotion) at the center of the current screen is guaranteed to be always 0.
The buffer in the embodiment of the invention can be a queue, and in order to avoid the continuous increase of the buffer space, when the preset threshold value is reached, a new data stream can be left, and the old data stream can be discarded according to the time sequence. Meanwhile, the size of the buffered data stream is equal to the size of the discarded data stream. I.e. how many data streams are downloaded into the queue, the equivalent data streams are dropped from the queue.
Click into channel
In the embodiment of the invention, when the player is implemented, a pointer (namely, player. get instant (). buf) of a single-case audio and video memory address used by the player can be maintained, when a user clicks one live screenshot displayed on a screen and enters a channel, the pointer points to a cache corresponding to the clicked item, and the player can directly play audio and video due to a certain data volume in the cache, so that the user cannot feel an audio and video loading process from the user experience angle, namely, the duration of a video loading state is shortened to 0.
Fig. 4 is a block diagram of a live video loading apparatus according to an embodiment of the present invention. Referring to fig. 4, a live video loading apparatus 400 according to an embodiment of the present invention may include an input module 401, a display module 402, a cache module 403, and a loading module 404. Wherein:
the input module 401 is configured to receive an input operation;
the display module 402 is configured to display entries of a plurality of live videos on a screen according to an input operation;
the cache module 403 is configured to cache a data stream corresponding to an entry of each of the multiple live videos displayed on the screen while the display module displays the entries of the multiple live videos;
the loading module 404 is configured to load a triggered live video once the input module receives a trigger operation on an entry of a live video in the entries of the plurality of live videos;
the display module is also used for displaying the picture of the live video;
wherein the entry comprises a live screenshot of a live video.
The live video loading device provided by the embodiment of the invention can display the items of the live video, cache the data stream corresponding to the items of each live video displayed on the screen, and pre-store the data stream of the live video which a user wants to watch before the user watches the live video. Therefore, when the user triggers to play the displayed live video subsequently, the loading time of the live video can be greatly shortened, and even the direct playing of the live video is realized.
Optionally, in an embodiment, in a case where the input module 401 receives a slide screen operation:
the display module 402 is further configured to display items of the refreshed live videos on the screen;
the cache module 403 is further configured to: caching a data stream corresponding to each item of the refreshed live videos displayed on the screen;
wherein the sliding screen operation comprises: a slide down screen operation, a slide left screen operation, and a slide down screen operation.
Optionally, in an embodiment, the caching module 403 is further configured to:
releasing the data stream cached for the at least one live video entry once the at least one live video entry displayed on the screen no longer appears on the screen via a sliding screen operation.
Optionally, in an embodiment, the caching module 403 is further configured to:
allocating a fixed storage space for each item of live video displayed on the screen;
discarding at least a part of the data streams in the storage space in the order of buffering time from morning to evening once the size of the data streams stored in the storage space reaches a threshold;
the size of the discarded data stream is equal to the size of the data stream buffered at the same time.
In the present embodiment, the entry may also include at least one of: the method comprises the steps of introducing live videos, watching people of the live videos, uniform resource locators of live screenshots of the live videos and live video stream addresses, wherein the number of items of the live videos displayed on a screen is at least 3.
The live video loading device provided by the embodiment of the invention can pre-load the live video when the user browses the items, further optimize the channel access speed of the user, realize that the user can quickly watch the live video by clicking the items, and improve the watching experience of the user.
It should be noted that: the live video loading device provided in the above embodiment is only exemplified by the division of the above functional modules, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the live video loading device is divided into different functional modules to complete all or part of the above described functions. In addition, the live video loading device and the live video loading method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
The embodiment of the present invention may further provide a terminal device, where the terminal device includes a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the processor executes any live video loading method in the embodiment of the present invention.
The terminal equipment can be a mobile phone, a tablet computer, a desktop computer and the like.
Embodiments of the present invention may further provide a non-transitory storage medium, where a computer program is stored on the non-transitory storage medium, and when the computer program is executed by a processor, any live video loading method in the embodiments of the present invention is executed.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (6)

1. A live video loading method is applied to live software and is characterized by comprising the following steps:
displaying a plurality of live video entries on a screen according to input operation, wherein each entry corresponds to a live audio and video stream cache, and each live audio and video stream cache is provided with a corresponding pointer;
the method comprises the steps that when items of a plurality of live videos are displayed, a data stream corresponding to each item of the live videos displayed on a screen is cached, wherein each item of the live videos is used for indicating one live video, the data stream corresponding to each item of the live videos is used for indicating data of one live video, a plurality of stream caches are correspondingly configured on live software, the number of the configured stream caches is the same as the number of the items of the live videos displayed on the screen, and each stream cache is used for caching the data stream corresponding to the item of one live video displayed on the screen;
once receiving a trigger operation on an entry of a live video in a plurality of entries of live videos, loading the triggered live video through a pointer corresponding to a live audio and video stream cache corresponding to the triggered entry, and displaying a picture of the live video;
wherein the entry comprises a live screenshot of a live video;
wherein the method further comprises:
under the condition that a sliding screen operation is received, once an item of at least one live video displayed on the screen does not appear on the screen any more through the sliding screen operation, destroying data in at least one stream cache corresponding to the item of the at least one live video;
displaying the refreshed entry of at least one live video on the screen, and caching a data stream corresponding to each live video entry in the refreshed entry of the at least one live video displayed on the screen in the destroyed at least one stream cache;
wherein the sliding screen operation comprises: a slide down screen operation, a slide left screen operation, and a slide down screen operation.
2. The method of claim 1, further comprising:
allocating a fixed storage space for each item of live video displayed on the screen;
discarding at least a part of the data streams in the storage space in the order of buffering time from morning to evening once the size of the data streams stored in the storage space reaches a threshold;
the size of the discarded data stream is equal to the size of the data stream buffered at the same time.
3. The method of claim 1, wherein the entry further comprises at least one of: the method comprises the steps of introducing live videos, watching people of the live videos, uniform resource locators of live screenshots of the live videos and live video stream addresses, wherein the number of items of the live videos displayed on a screen is at least 3.
4. The utility model provides a live broadcast video loading device, is applied to live broadcast software, its characterized in that, the device includes input module, display module, buffer module and loading module, wherein:
the input module is used for receiving input operation;
the display module is used for displaying a plurality of items of live videos on a screen according to input operation, each item corresponds to one live audio and video stream cache, and each live audio and video stream cache is provided with a corresponding pointer;
the cache module is configured to cache a data stream corresponding to an entry of each live video in the entries of the plurality of live videos displayed on the screen while the display module displays the entries of the plurality of live videos, where the entry of each live video in the entries of the plurality of live videos is used to indicate one live video, the data stream corresponding to the entry of each live video is used to indicate a data stream of one live video, the live software is correspondingly configured with a plurality of stream caches, the number of the configured stream caches is the same as the number of the entries of the plurality of live videos displayed on the screen, and each stream cache is used to cache the data stream corresponding to the entry of one live video displayed on the screen;
the loading module is used for loading the triggered live video through a pointer corresponding to a live audio and video stream cache corresponding to an item of the triggered operation once the input module receives the triggering operation of the item of one live video in the items of the live videos;
the display module is also used for displaying the picture of the live video;
wherein the entry comprises a live screenshot of a live video;
in the event that the input module receives a slide screen operation:
the cache module is further configured to: destroying data in at least one stream cache corresponding to at least one live video item displayed on the screen once the at least one live video item no longer appears on the screen via a sliding screen operation;
the display module is further used for displaying an item of the refreshed at least one live video on the screen;
the cache module is further configured to: caching a data stream corresponding to each live video item in the refreshed at least one live video item displayed on the screen in the destroyed at least one stream cache;
wherein the sliding screen operation comprises: a slide down screen operation, a slide left screen operation, and a slide down screen operation.
5. The apparatus of claim 4, wherein the caching module is further configured to:
allocating a fixed storage space for each item of live video displayed on the screen;
discarding at least a part of the data streams in the storage space in the order of buffering time from morning to evening once the size of the data streams stored in the storage space reaches a threshold;
the size of the discarded data stream is equal to the size of the data stream buffered at the same time.
6. The apparatus of claim 4, wherein the entry further comprises at least one of: the method comprises the steps of introducing live videos, watching people of the live videos, uniform resource locators of live screenshots of the live videos and live video stream addresses, wherein the number of items of the live videos displayed on a screen is at least 3.
CN201611136518.3A 2016-12-12 2016-12-12 Live video loading method and device Active CN106791898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611136518.3A CN106791898B (en) 2016-12-12 2016-12-12 Live video loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611136518.3A CN106791898B (en) 2016-12-12 2016-12-12 Live video loading method and device

Publications (2)

Publication Number Publication Date
CN106791898A CN106791898A (en) 2017-05-31
CN106791898B true CN106791898B (en) 2020-02-14

Family

ID=58875360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611136518.3A Active CN106791898B (en) 2016-12-12 2016-12-12 Live video loading method and device

Country Status (1)

Country Link
CN (1) CN106791898B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213600A (en) * 2019-04-29 2019-09-06 网易(杭州)网络有限公司 Net cast method, device and equipment

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888968A (en) * 2017-11-21 2018-04-06 广州酷狗计算机科技有限公司 Player method, device and the computer-readable storage medium of live video
CN108256006B (en) * 2018-01-02 2021-01-01 武汉斗鱼网络科技有限公司 Method and system for loading badge pictures in live broadcast room
CN109391851B (en) * 2018-01-09 2020-04-07 深圳市珍爱网信息技术有限公司 Video live broadcast method and device, computer equipment and storage medium
CN109240773B (en) * 2018-08-20 2022-08-16 武汉斗鱼网络科技有限公司 Method, device, terminal and readable storage medium for solving room string data
CN108989907A (en) * 2018-08-22 2018-12-11 深圳市网心科技有限公司 Live data streams processing method and system, electronic device and computer readable storage medium
CN111726641A (en) * 2019-03-18 2020-09-29 北京奇虎科技有限公司 Live video playing processing method and device and server
CN112243155B (en) * 2019-07-16 2022-09-30 腾讯科技(深圳)有限公司 Live broadcast processing method and device
CN115348460B (en) * 2021-05-13 2024-06-07 北京字节跳动网络技术有限公司 Video preloading method, device, equipment and storage medium
CN116996704B (en) * 2023-09-26 2024-02-06 易方信息科技股份有限公司 Single-instance container-based data management method and related device for multiple living rooms

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361071A (en) * 2014-11-12 2015-02-18 沈文策 Page preloading method and device
CN104486339A (en) * 2014-12-16 2015-04-01 广州华多网络科技有限公司 Method and device for displaying recommendation data in social application
CN105338409A (en) * 2014-06-30 2016-02-17 小米科技有限责任公司 Network video pre-loading method and device
CN105824563A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Method and device for loading video preview
CN105898610A (en) * 2015-10-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Automatic video list playing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338409A (en) * 2014-06-30 2016-02-17 小米科技有限责任公司 Network video pre-loading method and device
CN104361071A (en) * 2014-11-12 2015-02-18 沈文策 Page preloading method and device
CN104486339A (en) * 2014-12-16 2015-04-01 广州华多网络科技有限公司 Method and device for displaying recommendation data in social application
CN105898610A (en) * 2015-10-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Automatic video list playing method and device
CN105824563A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Method and device for loading video preview

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213600A (en) * 2019-04-29 2019-09-06 网易(杭州)网络有限公司 Net cast method, device and equipment

Also Published As

Publication number Publication date
CN106791898A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106791898B (en) Live video loading method and device
CN109618177B (en) Video processing method and device, electronic equipment and computer readable storage medium
US10841624B2 (en) Information processing method, terminal, system, and computer storage medium
CN109753617B (en) Page display method, equipment and storage medium
EP4087258A1 (en) Method and apparatus for displaying live broadcast data, and device and storage medium
WO2022156368A1 (en) Recommended information display method and apparatus
CN110110262B (en) Browser memory management method, device and equipment
CN108566561B (en) Video playing method, device and storage medium
US9721616B2 (en) Playback of content pre-delivered to a user device
WO2020233142A1 (en) Multimedia file playback method and apparatus, electronic device, and storage medium
WO2022083427A1 (en) Landscape interaction method and apparatus, electronic device, and storage medium
CN109614194B (en) List interface display method, device, equipment and storage medium
CN113703643B (en) Content display method, device, equipment and medium
CN111240564B (en) Material display method and device, electronic equipment and storage medium
CN107807934B (en) Page display method and device and computing equipment
CN113727170A (en) Video interaction method, device, equipment and medium
CN111596849A (en) Page processing method, device, equipment and storage medium
CN107690093B (en) Video playing method and device
EP4428718A1 (en) Video processing method and apparatus, electronic device, and storage medium
CN111372115A (en) Application program access method and device and communication system
CN109600655A (en) Method, applications client and the electronic equipment that barrage is shown in applications client
CN110740374A (en) multimedia data processing method, device, computer equipment and storage medium
CN113556568A (en) Cloud application program operation method, system, device and storage medium
CN113139123A (en) Resource recommendation method, device, server and storage medium
CN109874044B (en) Data prestoring method, system, equipment and computer readable 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
TR01 Transfer of patent right

Effective date of registration: 20210114

Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 511449 28th floor, block B1, Wanda Plaza, Wanbo business district, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right