CN112954383B - Video on demand method, video on demand proxy server, base station and storage medium - Google Patents

Video on demand method, video on demand proxy server, base station and storage medium Download PDF

Info

Publication number
CN112954383B
CN112954383B CN202110230694.8A CN202110230694A CN112954383B CN 112954383 B CN112954383 B CN 112954383B CN 202110230694 A CN202110230694 A CN 202110230694A CN 112954383 B CN112954383 B CN 112954383B
Authority
CN
China
Prior art keywords
video
base station
data blocks
cached
demand
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
CN202110230694.8A
Other languages
Chinese (zh)
Other versions
CN112954383A (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.)
Shandong Computer Science Center National Super Computing Center in Jinan
Original Assignee
Shandong Computer Science Center National Super Computing Center in Jinan
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 Shandong Computer Science Center National Super Computing Center in Jinan filed Critical Shandong Computer Science Center National Super Computing Center in Jinan
Priority to CN202110230694.8A priority Critical patent/CN112954383B/en
Publication of CN112954383A publication Critical patent/CN112954383A/en
Application granted granted Critical
Publication of CN112954383B publication Critical patent/CN112954383B/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/222Secondary servers, e.g. proxy server, cable television Head-end
    • H04N21/2225Local VOD servers
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23406Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving management of server-side video buffer
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • 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/47202End-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 requesting content on demand, e.g. video on demand
    • 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
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention relates to a video-on-demand method, a video-on-demand proxy server, a base station and a storage medium, wherein the method comprises the following steps: receiving a transmission request of a video in a request video server sent by a mobile terminal through a local network; sending an inquiry message to a base station corresponding to the mobile terminal according to the transmission request, inquiring a first caching condition of a data block corresponding to the cached video, and inquiring a second caching condition of a data block corresponding to the locally cached video; according to the first buffer condition and the second buffer condition, sending the data blocks which are not buffered by the base station to the base station for buffer; the control base station sends all data blocks of the cached video to the mobile terminal; the video on demand proxy server of the local network sends the data blocks required by the base station to the base station for caching, reduces the load of the backhaul link of the base station, and controls the base station to directly send all the cached data blocks to one or more mobile terminals, thereby realizing the efficient content distribution of the discrete users.

Description

Video on demand method, video on demand proxy server, base station and storage medium
Technical Field
The invention relates to the technical field of video on demand, in particular to a video on demand method, a video on demand proxy server, a base station and a storage medium.
Background
Mobile networks have exploded over the last decades, greatly changing people's lifestyle and becoming one of the main ways of internet access. Video-on-demand is an important application in the mobile internet. And the current monthly video on demand flow will be equivalent to the capacity of 72 hundred million DVDs; such a huge amount of video content is difficult to transmit over the internet. To solve the above-mentioned problems, pre-caching content at the network edge becomes an important approach to video content distribution. Because of the massive nature of video content and the limited storage space, network edges typically only cache highly popular video content. Therefore, how to effectively transmit video contents remains a problem to be solved.
Multicast is widely recognized as an ideal way of one-to-many communication. Video-on-demand users, however, typically request video content discretely, which is detrimental to the distribution of video content to users via multicast. Existing multicast solutions to the discrete on-demand problem mainly include batch multicast and stream patch multicast. In batch multicasting, users requesting the same video within a specified time window become recipients of the same multicast group, and video sources distribute video data to these recipients by multicasting. The larger the time window is, the greater the multicast can play, but the longer the average response time of the video request. Conversely, the shorter the average response time of a video request, the less the multicast can play. The above situation results in that batch multicasting does not solve the discrete on-demand problem well. In stream patch multicasting, when a user requests a certain video, a video source transmits video data starting from a certain position to the user through a current multicast stream, and the missing video part is transmitted to the user through a unicast mode. Stream patch multicasting can improve video distribution efficiency on the basis of ensuring user experience, but the distribution performance of the patch stream cannot be effectively improved, so that the overall distribution performance is limited by non-negligible limits. In general, multicast techniques for discrete on-demand problems have been of long interest and study, but have not significantly improved video-on-demand distribution performance.
Disclosure of Invention
The invention aims to solve the technical problem of providing a video-on-demand method, a video-on-demand proxy server, a base station and a storage medium, wherein the video-on-demand proxy server of a local network transmits data blocks required by the base station to a base station for caching, so that the load of a backhaul link of the base station is reduced, and the base station is controlled to directly transmit all cached data blocks to one or more mobile terminals, thereby realizing the efficient content distribution of discrete users.
The technical scheme for solving the technical problems is as follows: a video on demand method applied to a video on demand proxy server located in a local network, the video on demand method comprising:
receiving a transmission request of a video in a request video server sent by a mobile terminal through the local network;
sending an inquiry message to a base station corresponding to the mobile terminal according to the transmission request, inquiring a first caching condition of the data block corresponding to the video, and inquiring a second caching condition of the data block corresponding to the video, which is locally cached;
transmitting the data blocks which are not cached by the base station to the base station for caching according to the first caching condition and the second caching condition;
and controlling the base station to send all the cached data blocks of the video to the mobile terminal.
The beneficial effects of the invention are as follows: the video transmission request in a request video server sent by a mobile terminal is acquired through a video on demand proxy server of a local network, and the corresponding data blocks of the video are cached in a base station and the video on demand proxy server, so that the caching conditions of the base station and the video are obtained, and further according to each caching condition, the video on demand proxy server sends the data blocks required by the base station to the base station, so that the base station caches all the data blocks of the video, and further the base station is controlled to send all the cached data blocks to the mobile terminal; because the base station caches all the data blocks, the base station can be controlled to directly send video to the mobile terminal, the high-efficiency content distribution of discrete users is realized by an asynchronous multicast mode, and the video on demand proxy server of the local network only sends the data blocks required by the base station to the base station, so that the load of a backhaul link of the base station is reduced.
Based on the technical scheme, the invention can also be improved as follows:
further, before the second buffering condition of the video corresponding data block of the query local buffer, the method further includes:
judging whether the base station caches all data blocks of the video according to a first cache condition;
if yes, the base station is controlled to send all the data blocks to the mobile terminal;
if not, inquiring a second caching condition of the data block corresponding to the video cached locally.
The beneficial effects of adopting the further scheme are as follows: when the base station caches all the data blocks of the video, the base station directly transmits the video to the mobile terminal, so that the pressure of a backhaul link of the base station is reduced, and resources are saved.
Further, the sending the data block that is not cached by the base station to the base station according to the first caching situation and the second caching situation for caching includes:
when the base station caches part of data blocks of the video or any data blocks of the video which are not cached, sending the data blocks which are cached locally and are not cached by the base station to the base station for caching;
and when the base station and the local area do not cache all the data blocks, sending request information of the data blocks which are not cached by the base station to the video server, and caching and forwarding the data blocks from the video server to the base station.
The beneficial effects of adopting the further scheme are as follows: firstly, data blocks which are cached by the base station but not cached by the base station are sent to the base station, and when all the data blocks are not cached, data which are not cached are sent through a video server, so that more video contents are prevented from being transmitted through the Internet.
Further, the controlling the base station to transmit all the cached data blocks of the video to the mobile terminal includes:
when the base station caches partial data blocks of the video, the base station is controlled to send the partial data blocks to the mobile terminal;
the method for transmitting the data blocks which are locally cached and not cached by the base station to the base station for caching comprises the following steps:
controlling the base station to send the data block which is cached locally and not cached by the base station to the mobile terminal;
and when the base station and the local area do not cache all the data blocks, controlling the base station to send the data blocks from the video server to the mobile terminal.
The beneficial effects of adopting the further scheme are as follows: and by batch transmission, a part of all the data blocks and a part of all the data blocks are transmitted to the mobile terminal, so that the load pressure of transmitting the data blocks can be reduced, and resources can be saved.
Further, the method further comprises:
and deleting the base station and/or the local cached data block according to the activity state and the caching time of the cached data block when the base station and/or the local database capacity required to be cached is larger than the corresponding maximum caching capacity.
The beneficial effects of adopting the further scheme are as follows: because the caching space of the base station and the video on demand proxy server is limited, the data blocks are deleted according to the active state and caching time principle of the data blocks, so that the base station and the video on demand proxy server can cache other data blocks conveniently.
Further, the deleting the base station and/or the locally cached data block according to the active state and the caching time of the cached data block comprises:
taking the data blocks of the video which are transmitted to the mobile terminal as active data blocks and taking the data blocks of other videos as inactive data blocks;
when the base station and/or the local area simultaneously comprise active data blocks and inactive data blocks, controlling the base station and/or the local area to delete the inactive data blocks;
and when the base station and/or the local area only comprises the active data block or the inactive data block, controlling the base station and/or the local area to delete the data block with the longest buffering time.
The beneficial effects of adopting the further scheme are as follows: and deleting part of the content according to the inactive priority deleting and the oldest content priority deleting principles, so as to ensure the reliability and rationality of deleting the data blocks.
In order to solve the above problems, an embodiment of the present invention further provides a video-on-demand method, applied to a base station corresponding to a mobile terminal, where the video-on-demand method includes:
acquiring an inquiry message sent by a video-on-demand proxy server positioned in a local network, and sending a first cache condition of a data block corresponding to a local cache video to the video-on-demand proxy server;
receiving and caching the data blocks which are sent by the video on demand proxy server and are not cached locally;
and transmitting all the cached data blocks of the video to the mobile terminal according to the control of the video on demand proxy server.
In order to solve the above problems, an embodiment of the present invention further provides a video on demand proxy server, where the video on demand proxy server includes a first processor and a first memory;
the first processor is configured to execute one or more computer programs stored in the first memory to implement the steps according to the video on demand method as described above.
In order to solve the above problems, an embodiment of the present invention further provides a base station, including a second processor and a second memory;
the second processor is configured to execute one or more computer programs stored in the second memory to implement the steps according to the video on demand method as described above.
To solve the above-mentioned problems, the embodiments of the present invention further provide a storage medium, where the storage medium includes one or more computer programs stored therein, where the one or more computer programs are executable by one or more processors to implement the steps of the video-on-demand method according to the video-on-demand proxy server as above, or to implement the steps of the video-on-demand method according to the base station implementation as above.
Drawings
FIG. 1 is a flow chart of a video on demand method implemented by a video on demand proxy server according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a video on demand correspondence system according to an embodiment of the present invention;
FIG. 3 is a flow chart of a video on demand method implemented by a base station according to an embodiment of the present invention;
fig. 4 is a flowchart of another video-on-demand method according to an embodiment of the present invention.
Detailed Description
The principles and features of the present invention are described below with reference to the drawings, the examples are illustrated for the purpose of illustrating the invention and are not to be construed as limiting the scope of the invention.
As shown in fig. 1, fig. 1 is a flowchart of a video on demand method provided by an embodiment of the present invention, where the video on demand method is applied to a video on demand proxy server located in a local network, and the local network is a backhaul network or a local core network; as shown in fig. 2, fig. 2 is a schematic structural diagram of a video on demand correspondence system, in which a base station has a certain cache space, and a video on demand proxy server also has a cache function, and the cache space is larger than that of the base station, and the video on demand method includes:
s101, receiving a transmission request of requesting video in a video server, which is sent by a mobile terminal through a local network;
s102, sending an inquiry message to a base station corresponding to the mobile terminal according to the transmission request, inquiring a first cache condition of a data block corresponding to the video, and inquiring a second cache condition of a data block corresponding to the video cached locally;
s103, sending the data blocks which are not cached by the base station to the base station for caching according to the first caching condition and the second caching condition;
and S104, the control base station transmits all the data blocks of the cached video to the mobile terminal.
In this embodiment, a video transmission request in a request video server sent by a mobile terminal is acquired through a video on demand proxy server of a local network, and as data blocks corresponding to videos are cached in a base station and the video on demand proxy server, the caching conditions of the base station and the video can be obtained, and further according to each caching condition, the data blocks required by the base station are sent to the base station for caching by the video on demand proxy server of the local network, so that the load of a backhaul link of the base station is reduced, and the base station is controlled to directly send all cached data blocks to one or more mobile terminals, thereby realizing efficient content distribution of discrete users; because the base station caches all the data blocks, the base station can be controlled to directly send the video to the mobile terminal, and the high-efficiency content distribution is realized by an asynchronous multicast mode.
In this embodiment, the video server blocks the video, and the video server, the vod proxy server and the base station all transmit in units of blocks.
In this embodiment, the mobile terminal sends a transmission request of the video in the video server to the video on demand proxy server through the local network to view one video in the video server, the transmission request including video information such as what video is; after receiving the transmission request, the video on demand proxy server sends an inquiry message to the base station corresponding to the mobile terminal so as to acquire a first caching condition of the data blocks of the video cached by the base station, wherein the inquiry message comprises video information, and further, the data blocks of the video cached by the base station can be acquired. It can be appreciated that the vod proxy server may receive a transmission request sent by the mobile terminal for the same video within a preset period of time, for example, when the mobile terminal a requests the same video X1 minute later, the mobile terminals B and C also request the same video X, and then the subsequent vod proxy server controls the base station to send the data blocks of the video X to the mobile terminals A, B and C together; the method can also receive the transmission request sent by the mobile terminal in real time, and feed back the data block of the video in real time, for example, after the mobile terminal A requests the video X, the follow-up video on demand proxy server controls the base station to send the data block of the video X to the mobile terminal A, and after the mobile terminal B requests the video X, the base station is controlled to send the data block of the video X to the mobile terminal B.
In this embodiment, before the second buffering condition of querying the locally cached video corresponding data block in step S102, the method further includes: judging whether the base station caches all data blocks of the video according to the first cache condition; if yes, the control base station sends all the data blocks to the mobile terminal; if not, inquiring a second caching condition of the data block corresponding to the locally cached video. When the base station does not cache all the data blocks of the video, the base station can cache part of the data blocks, or can not cache any data blocks of the video, and because the video-on-demand proxy server also has a cache function, the base station can check whether the data blocks of the video are cached or not and which data blocks are cached.
In this embodiment, step S103 specifically includes: when the base station caches partial data blocks of the video or any data blocks of the uncached video, the data blocks which are cached locally and are not cached by the base station are sent to the base station for caching; and when all the data blocks are not cached in the base station and the local, sending request information of the data blocks which are not cached in the base station to the video server, caching and forwarding the data blocks from the video server to the base station. For example, the video includes n total data blocks, when knowing that k data blocks are buffered by the base station (k data blocks are different from each other) through the query message, the video on demand proxy server sends x data blocks buffered by itself but not buffered by the base station to the base station, where (x+k) may be equal to n, i.e., the video on demand proxy server sends the remaining video data blocks not buffered by the base station to the base station without obtaining the data blocks from the video server; the (x+k) may also be smaller than n, i.e. the video on demand proxy server and the base station do not cache n data blocks, send a request message to the video server requesting (n-x-k) data blocks, it will be understood that the video server includes all data blocks of the video, and the video on demand proxy server may cache and forward the (n-x-k) data blocks to the base station, and the base station may obtain and cache all n data blocks of the video, where x, k and n are positive integers.
In this embodiment, in step S104, after buffering all the data blocks, the base station may control the base station to send all the data blocks to the mobile terminal, or may send the data blocks to the mobile terminal in batches, where the step of sending the data blocks to the mobile terminal in batches specifically includes: when the base station caches partial data blocks of the video, the base station is controlled to send the partial data blocks to the mobile terminal; after sending the data blocks which are locally cached and not cached by the base station to the base station for caching, controlling the base station to send the data blocks which are locally cached and not cached by the base station to the mobile terminal; when the base station and the local do not cache all the data blocks, after caching and forwarding the data blocks from the video server to the base station, the base station is controlled to send the data blocks from the video server to the mobile terminal; namely, the control base station firstly transmits the data blocks cached by the base station, then the control base station transmits the data blocks from the video on demand proxy server, and the control base station transmits the data blocks from the video server, so that all the data blocks are transmitted to the mobile terminal in batches, and the load pressure of transmitting the data blocks can be reduced.
It should be understood that when the control base station transmits the data blocks buffered by the base station itself, or transmits the data blocks from the video on demand proxy server, or transmits the data blocks from the video server, the control base station may also transmit the data blocks in batches, for example, when the data blocks to be transmitted are greater than a preset threshold, the control base station transmits the data blocks in batches, if the control base station transmits the data blocks buffered by the base station itself, the control base station may transmit 10 data blocks to the mobile terminal first, and then the control base station transmits the rest data blocks to the mobile terminal, if the control base station transmits the data blocks buffered by the base station itself to 20 data blocks, which are greater than the threshold 10 data blocks.
Notably, since the buffer space of the base station and the vod proxy server is limited, the method in this embodiment further includes: and when the capacity of the base station and/or the local database to be cached is larger than the corresponding maximum cache capacity, deleting the base station and/or the local cached data block according to the activity state and the cache time of the cached data block. The cached data blocks can be deleted in real time according to the active state and the caching time of the data blocks, so that the base station and/or the local can cache other video data blocks.
Specifically, deleting the base station and/or the locally cached data block according to the activity state and the cache time of the cached data block includes: taking the data blocks of the video sent to the mobile terminal as active data blocks and taking the data blocks of other videos as inactive data blocks; when the base station and/or the local area simultaneously comprise active data blocks and inactive data blocks, controlling the base station and/or the local area to delete the inactive data blocks; when the base station and/or the local area only comprises active data blocks or inactive data blocks, the base station and/or the local area is controlled to delete the data blocks with the longest buffering time. For example, the base station caches the data blocks of the X video and the data blocks of the Y video, and the data blocks of the X video are sent by the mobile terminal, the data blocks of the X video are active data blocks, the data blocks of the Y video are inactive data blocks, and the base station cache capacity is larger than the maximum cache capacity, and part or all of the data blocks of the Y video are deleted; when only data blocks 1-20 of X video are cached in the base station, the data blocks 1-10 are cached first, and then the data blocks with longest caching time of 1-10, namely the data blocks with oldest data block contents, are controlled to be deleted.
Example 2
The embodiment provides a video-on-demand method, as shown in fig. 3, which is applied to a base station corresponding to a mobile terminal, and includes:
s301, acquiring an inquiry message sent by a video-on-demand proxy server positioned in a local network, and sending a first cache condition of a data block corresponding to a local cache video to the video-on-demand proxy server;
s302, receiving and caching the data blocks which are sent by the video on demand proxy server and are not cached locally;
s303, transmitting all data blocks of the cached video to the mobile terminal according to the control of the video on demand proxy server.
The base station receives the inquiry information sent by the video-on-demand proxy server, wherein the inquiry information contains video information, so that the base station locally inquires whether the video is cached, which data blocks of the video are cached, and sends the first caching condition to the video-on-demand proxy server, and the video-on-demand proxy server sends the data blocks which are not cached by the base station to the base station according to the first caching condition and the second caching condition; the base station receives and caches the uncached data blocks, wherein the uncached data blocks can be from the video on demand proxy server or from the video server, and finally the base station sends all the data blocks of the video to the mobile terminal together or batchwise according to the control of the video on demand proxy server.
For ease of understanding, this embodiment will also describe a video-on-demand method by way of a more specific example, and it is assumed that mobile device a is to watch video X in a video server, as shown in fig. 4, and the video-on-demand method includes:
s401, the mobile terminal A sends a transmission request of the video X to the video on demand proxy server.
S402, the video on demand proxy server sends a message to the base station to inquire the caching condition of the video X, and checks the caching condition of the video X.
S403, the base station sends the caching condition of the video to the video on demand proxy server.
S404-1, when the base station caches all the data blocks of the video X, the video on demand proxy server informs the base station to send the data blocks of the video X to the mobile terminal A.
S404-2, when the base station caches partial data blocks of the video X or does not cache any data blocks, the video on demand proxy server informs the base station to send partial data blocks to the mobile terminal, and sends the data blocks cached by the base station but not cached by the base station to the base station, and informs the base station to forward the data blocks to the mobile terminal A;
s404-3, when the base station and the video on demand proxy server do not cache all the data blocks of the video X, the video on demand proxy server requests the video on demand proxy server to send the data blocks which are not cached by the base station to the base station, and after receiving the video data blocks from the video player, the data blocks are forwarded to the base station, and the base station is notified to further forward to the mobile terminal A.
When the base station/vod proxy server receives the data block, the received data block is buffered in addition to being forwarded as described above.
When mobile terminal a requests video X for a while, mobile terminals B and C also request the same video X, and the vod proxy server directly transmits the data block of video X to mobile terminals B and C through the base station.
The video-on-demand method provided by the embodiment can realize high-efficiency content distribution in an asynchronous multicast mode when the same video content is requested by a plurality of mobile terminals in a period of time, thereby reducing the load of a network link, particularly a base station backhaul link. And the base station caches the content, and the base station directly transmits the content to the mobile terminal without requesting video from a video server located in the Internet, so that the pressure of a backhaul link is obviously reduced.
Example 3
The embodiment provides a video on demand proxy server, which comprises a first processor and a first memory; the first processor is configured to execute one or more computer programs stored in the first memory to implement the steps of the video-on-demand method implemented by the video-on-demand proxy server in the above embodiment. And will not be described in detail herein.
The embodiment also provides a base station, which comprises a second processor and a second memory;
the second processor is configured to execute one or more computer programs stored in the second memory to implement the steps of the video-on-demand method implemented by the base station in the above embodiment. And will not be described in detail herein.
The present embodiment also provides a storage medium including one or more computer programs stored therein, where the one or more computer programs are executable by one or more processors to implement the steps of the video-on-demand method implemented by the video-on-demand proxy server in the above embodiment, and to implement the steps of the video-on-demand method implemented by the base station in the above embodiment. And will not be described in detail herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus and units described above may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above description of the technical solution provided by the embodiments of the present invention has been provided in detail, and specific examples are applied in this patent to illustrate the principles and implementation of the embodiments of the present invention, where the above description of the embodiments is only suitable for helping to understand the principles of the embodiments of the present invention; the foregoing is only illustrative of the present invention and is not to be construed as limiting thereof, but rather as various modifications, equivalent arrangements, improvements, etc., within the spirit and principles of the present invention.

Claims (8)

1. A video-on-demand method, characterized in that it is applied to a video-on-demand proxy server located in a local network, said video-on-demand method comprising:
receiving a transmission request of a video in a request video server sent by a mobile terminal through the local network;
sending an inquiry message to a base station corresponding to the mobile terminal according to the transmission request, inquiring a first caching condition of the data block corresponding to the video, and inquiring a second caching condition of the data block corresponding to the video, which is locally cached;
transmitting the data blocks which are not cached by the base station to the base station for caching according to the first caching condition and the second caching condition;
controlling the base station to send all the cached data blocks of the video to the mobile terminal;
the query of the second buffer status of the video corresponding data block of the local buffer further comprises:
judging whether the base station caches all data blocks of the video according to a first cache condition;
if yes, the base station is controlled to send all the data blocks to the mobile terminal;
if not, inquiring a second cache condition of the data block corresponding to the video cached locally;
the sending the data block which is not cached by the base station to the base station for caching according to the first caching situation and the second caching situation comprises the following steps:
when the base station caches part of data blocks of the video or any data blocks of the video which are not cached, sending the data blocks which are cached locally and are not cached by the base station to the base station for caching;
and when the base station and the local area do not cache all the data blocks, sending request information of the data blocks which are not cached by the base station to the video server, and caching and forwarding the data blocks from the video server to the base station.
2. The video-on-demand method according to claim 1, wherein said controlling the base station to transmit all data blocks of the buffered video to the mobile terminal comprises:
when the base station caches partial data blocks of the video, the base station is controlled to send the partial data blocks to the mobile terminal;
the method for transmitting the data blocks which are locally cached and not cached by the base station to the base station for caching comprises the following steps:
controlling the base station to send the data block which is cached locally and not cached by the base station to the mobile terminal;
and when the base station and the local area do not cache all the data blocks, after caching and forwarding the data blocks from the video server to the base station, controlling the base station to send the data blocks from the video server to the mobile terminal.
3. The video-on-demand method according to claim 1, characterized in that the method further comprises:
and deleting the base station and/or the local cached data block according to the activity state and the caching time of the cached data block when the base station and/or the local database capacity required to be cached is larger than the corresponding maximum caching capacity.
4. A video-on-demand method according to claim 3, wherein said deleting of said base station and/or local cached data block according to the activity status and the caching time of the cached data block comprises:
taking the data blocks of the video which are transmitted to the mobile terminal as active data blocks and taking the data blocks of other videos as inactive data blocks;
when the base station and/or the local area simultaneously comprise active data blocks and inactive data blocks, controlling the base station and/or the local area to delete the inactive data blocks;
and when the base station and/or the local area only comprises the active data block or the inactive data block, controlling the base station and/or the local area to delete the data block with the longest buffering time.
5. The video-on-demand method is characterized by being applied to a base station corresponding to a mobile terminal, and comprises the following steps:
acquiring an inquiry message sent by a video-on-demand proxy server positioned in a local network, and sending a first cache condition of a data block corresponding to a local cache video to the video-on-demand proxy server;
receiving and caching the data blocks which are sent by the video on demand proxy server and are not cached locally;
and transmitting all the cached data blocks of the video to the mobile terminal according to the control of the video on demand proxy server.
6. A video on demand proxy server, comprising a first processor and a first memory;
the first processor is configured to execute one or more computer programs stored in the first memory to implement the steps of the video-on-demand method according to any one of claims 1 to 5.
7. A base station comprising a second processor and a second memory;
said second processor being arranged to execute one or more computer programs stored in a second memory for implementing the steps of the video-on-demand method according to claim 5.
8. A storage medium comprising one or more computer programs stored thereon, the one or more computer programs being executable by one or more processors to implement the steps of the video-on-demand method of any one of claims 1 to 5.
CN202110230694.8A 2021-03-02 2021-03-02 Video on demand method, video on demand proxy server, base station and storage medium Active CN112954383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110230694.8A CN112954383B (en) 2021-03-02 2021-03-02 Video on demand method, video on demand proxy server, base station and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110230694.8A CN112954383B (en) 2021-03-02 2021-03-02 Video on demand method, video on demand proxy server, base station and storage medium

Publications (2)

Publication Number Publication Date
CN112954383A CN112954383A (en) 2021-06-11
CN112954383B true CN112954383B (en) 2023-05-16

Family

ID=76247138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110230694.8A Active CN112954383B (en) 2021-03-02 2021-03-02 Video on demand method, video on demand proxy server, base station and storage medium

Country Status (1)

Country Link
CN (1) CN112954383B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040771A (en) * 2018-07-20 2018-12-18 北京交通大学 Based on the video cache method and system to cooperate between more cache servers
CN110177310A (en) * 2019-06-28 2019-08-27 三星电子(中国)研发中心 A kind of content distribution system and method
CN110248206A (en) * 2019-07-29 2019-09-17 北京邮电大学 A kind of resource allocation methods, device and electronic equipment for edge network system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079369A (en) * 2013-03-28 2014-10-01 株式会社日立制作所 Server, data caching method as well as communication system and method using server
US10476806B2 (en) * 2015-08-05 2019-11-12 Qualcomm Incorporated Deep packet inspection indication for a mobile CDN
CN108141465B (en) * 2015-08-11 2021-07-16 高通股份有限公司 HTTP aware content caching
WO2017049488A1 (en) * 2015-09-23 2017-03-30 华为技术有限公司 Cache management method and apparatus
CN106028400A (en) * 2016-06-30 2016-10-12 华为技术有限公司 Content caching method and base station
EP3531745A4 (en) * 2016-11-18 2019-09-18 Huawei Technologies Co., Ltd. Cache data acquisition method, related device and communication system
CN107889160B (en) * 2017-11-15 2020-03-17 北京邮电大学 Small cell network edge part caching method considering user time delay
US10499358B2 (en) * 2018-02-15 2019-12-03 Nokia Technologies Oy Ranking and grouping positioning assistance data for broadcast
CN110022579A (en) * 2019-04-23 2019-07-16 重庆邮电大学 Content caching management method based on base station collaboration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040771A (en) * 2018-07-20 2018-12-18 北京交通大学 Based on the video cache method and system to cooperate between more cache servers
CN110177310A (en) * 2019-06-28 2019-08-27 三星电子(中国)研发中心 A kind of content distribution system and method
CN110248206A (en) * 2019-07-29 2019-09-17 北京邮电大学 A kind of resource allocation methods, device and electronic equipment for edge network system

Also Published As

Publication number Publication date
CN112954383A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
CN108881944B (en) Method and system for accelerating release of streaming media
RU2354068C2 (en) Methods and device for creation and transfer of multimedia content flows
US6427172B1 (en) Method and apparatus for internet cache content delivery via a data distribution system
US20140136644A1 (en) Data storage management in communications
US10033824B2 (en) Cache manifest for efficient peer assisted streaming
EP2288085A1 (en) P2p based method, device and system for playing media
CN111083193A (en) Long connection message sending method, server and storage medium
EP3937434B1 (en) Data distribution method and network device
CN110856007B (en) Content distribution network, storage optimization method thereof, electronic device, and storage medium
KR100934088B1 (en) Methods and apparatus for creation and transport of multimedia content flows to a distribution network
US20200244753A1 (en) Method, system and server for stream-pushing
CN113259874B (en) Message processing method, electronic device and storage medium
CN112954383B (en) Video on demand method, video on demand proxy server, base station and storage medium
CN108337302B (en) Wireless network caching method, device, equipment and medium based on communication scheduling
CN107645475B (en) File resource distribution system and method in heterogeneous network
US20140161125A1 (en) Method, duplication point device, and system for data flow reuse transmission
WO2018090315A1 (en) Data request processing method and cache system
CN111405498B (en) Short message sending control method, device, control equipment, terminal and ISMG
KR102519390B1 (en) Method for distributing a content and apparatus thereof
KR20150045693A (en) Method for distributing a content and apparatus thereof
KR101969652B1 (en) Apparatus and method for transmitting data, iot system employing the same, program recording dataum, and program recorded on medium for executing the method
WO2006050751A1 (en) Provision of a multimedia message
CN117793166A (en) Session synchronization method and device between cloud gateway clusters
KR101524470B1 (en) System for distributed mobile contents delivery network and Method for contents delivery using the same
Kim et al. Collective Segment Request Policy of HTTP Adaptive Streaming in Multipath Environments

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