[go: up one dir, main page]

CN113055704A - Method and system for fast playing video on demand - Google Patents

Method and system for fast playing video on demand Download PDF

Info

Publication number
CN113055704A
CN113055704A CN202110210839.8A CN202110210839A CN113055704A CN 113055704 A CN113055704 A CN 113055704A CN 202110210839 A CN202110210839 A CN 202110210839A CN 113055704 A CN113055704 A CN 113055704A
Authority
CN
China
Prior art keywords
video data
playing
video
node
temporary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110210839.8A
Other languages
Chinese (zh)
Inventor
邢波
陈明灏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chuangsheng Shilian Digital Technology Beijing Co Ltd
Original Assignee
Chuangsheng Shilian Digital Technology Beijing 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 Chuangsheng Shilian Digital Technology Beijing Co Ltd filed Critical Chuangsheng Shilian Digital Technology Beijing Co Ltd
Publication of CN113055704A publication Critical patent/CN113055704A/en
Pending legal-status Critical Current

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/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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
    • 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
    • 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/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • 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
    • 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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440236Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display by media transcoding, e.g. video is transformed into a slideshow of still pictures, audio is converted into text
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4524Management of client data or end-user data involving the geographical location of the client

Landscapes

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

Abstract

The invention discloses a method and a system for fast playing video on demand, relates to the technical field of internet, and can meet the use requirement of a user on fast playing of video data. The method comprises the following steps: receiving original video data uploaded by a user, and distributing the original video data to a transcoding machine of a nearby machine room for video transcoding; the transcoded video data are transmitted to a temporary node which is deployed in the same machine room with a transcoding machine for caching, and the temporary node gradually distributes the cached video data to a corresponding storage node for storage; and acquiring a video-on-demand request, and preferentially acquiring video data from the storage node for playing when the corresponding video data is stored in the storage node, or else acquiring the video data from the temporary node for playing. The system is applied with the method provided by the scheme.

Description

Method and system for fast playing video on demand
Technical Field
The invention relates to the technical field of internet, in particular to a method and a system for fast playing video on demand.
Background
After a user uploads a video, the video can be played on demand only by waiting for the completion of all distribution after transcoding the video, the video distribution process often needs to be transmitted across a machine room and in a long distance, and the transmission may need to be performed among different broadband operators ISP in the middle, so that the time required by the video for completing the distribution is not controllable, the user can play on demand only by waiting for the completion of the distribution of the video with patience, namely, the video to be transcoded can be played on demand by the user after falling to a storage machine room.
Therefore, the existing video distribution scheme cannot meet the use requirement of a user on the rapid playing of video data.
Disclosure of Invention
The invention aims to provide a method and a system for fast playing video on demand, which can meet the use requirement of a user on fast playing of video data.
In order to achieve the above object, a first aspect of the present invention provides a video-on-demand fast playing method, including:
receiving original video data uploaded by a user, and distributing the original video data to a nearby transcoding machine for video transcoding;
the transcoded video data are transmitted to a temporary node which is deployed in the same machine room with a transcoding machine for caching, and the temporary node gradually distributes the cached video data to a corresponding storage node for storage;
and acquiring a video-on-demand request, and preferentially acquiring video data from the storage node for playing when the corresponding video data is stored in the storage node, or else acquiring the video data from the temporary node for playing.
Preferably, before receiving the video original data uploaded by the user and distributing the video original data to a nearby transcoding machine for video transcoding, the method further comprises the following steps:
correspondingly deploying a plurality of machine rooms in a plurality of regions, wherein each machine room is provided with at least one transcoding machine and two temporary nodes, and each machine room is provided with a plurality of remotely deployed storage nodes;
the transcoding machine is respectively connected with the two temporary nodes, and each temporary node is respectively connected with the corresponding storage nodes.
Preferably, the method for receiving the video original data uploaded by the user and distributing the video original data to the nearby transcoding machine for video transcoding comprises the following steps:
and the data distribution system receives the original video data uploaded by the user and selects a transcoding machine which is sent to the nearby machine room based on the position of the user to perform video transcoding.
Further, the method for transmitting the transcoded video data to a temporary node deployed in the same machine room as the transcoding machine for caching, and gradually distributing the cached video data to the corresponding storage nodes by the temporary node for storage comprises the following steps:
the method comprises the steps of gradually transmitting transcoded video data to two temporary nodes in the same machine room for caching, and configuring attribute information of each temporary node, wherein the attribute information comprises playing priority and playing weight;
and respectively distributing the video data cached in the temporary nodes to corresponding storage nodes for storage.
Preferably, the method for acquiring a video-on-demand request, when the storage node stores corresponding video data, preferentially acquiring the video data from the storage node for playing, and otherwise acquiring the video data from the temporary node for playing comprises:
acquiring a video-on-demand request initiated by a user through a video-on-demand system, and judging whether video data corresponding to the video-on-demand request is stored in any storage node corresponding to a nearby machine room;
if the judgment result is yes, the corresponding video data is preferentially acquired from the storage node to be played;
if the judgment result is negative, the corresponding video data is obtained from any temporary node of the nearby machine room based on the playing priority and the playing weight for playing.
Preferably, the method for acquiring corresponding video data from any temporary node of the nearby computer room to play based on the play priority and the play weight includes:
comparing the playing priorities of two temporary nodes in the nearby machine room, and preferentially providing video data playing by the temporary node with the higher playing priority;
when the playing priorities of the two temporary nodes in the nearby computer room are equal, the temporary node with high playing weight provides video data playing preferentially.
Further, the method for acquiring corresponding video data from any temporary node of the nearby machine room to play based on the playing priority and the playing weight includes:
comparing the playing priorities of two temporary nodes in the nearby machine room, and preferentially providing video data playing by the temporary node with the higher playing priority;
when the playing priorities of the two temporary nodes in the nearby computer room are equal, the temporary node with high playing weight provides video data playing preferentially.
Preferably, the play priority and play weight in the temporary node support dynamic adjustment based on the current on-demand number.
Compared with the prior art, the video-on-demand quick playing method provided by the invention has the following beneficial effects:
the video on demand quick playing method comprises the steps of firstly receiving original video data uploaded by a user, distributing the original video data to a transcoding machine of a nearby machine room based on the geographical position of the user to perform video transcoding to obtain video data, then transmitting the video data to a temporary node which is deployed in the same machine room with the transcoding machine to perform caching, then gradually distributing the cached video data to a corresponding storage node by the temporary node to perform floor storage, when a video on demand request is obtained, self-checking whether the corresponding video data are stored in the storage node or not, preferentially obtaining the corresponding video data from the storage node to play if the corresponding video data are stored in the storage node, and obtaining the corresponding video data from the temporary node to play if the corresponding video data are not stored in the storage node.
Therefore, after the video transcoding is finished, the video data is temporarily distributed to a temporary node which is in the same machine room with the transcoding machine for temporary storage, when the requirement of a user on the real-time performance is higher, a temporary video playing function can be provided through the temporary node, the temporary node and the transcoding machine are distributed in the same machine room, the network transmission belongs to intranet transmission, the distribution can be finished within a short time (generally within 10 seconds), the video playing service can be provided without waiting for the video data to be completely distributed to a remote storage node, and after the video data in the storage node is completely distributed to the storage node, the storage node preferentially provides the video playing service.
A second aspect of the present invention provides a video-on-demand fast playing system, which is applied to the video-on-demand fast playing method in the foregoing technical solution, and the system includes:
the transcoding and distributing unit is used for receiving the original video data uploaded by the user and distributing the original video data to a nearby transcoding machine for video transcoding;
the video storage unit is used for transmitting the transcoded video data to a temporary node which is deployed in the same machine room with the transcoding machine for caching, and then the temporary node gradually distributes the cached video data to the corresponding storage node for storage;
and the video-on-demand unit is used for acquiring the video-on-demand request, preferentially acquiring the video data from the storage node for playing when the corresponding video data is stored in the storage node, and otherwise acquiring the video data from the temporary node for playing.
Compared with the prior art, the beneficial effects of the video-on-demand quick playing system provided by the invention are the same as those of the video-on-demand quick playing method provided by the technical scheme, and the details are not repeated herein.
A third aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the steps of the above-mentioned vod fast-play method.
Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the invention are the same as those of the video-on-demand quick playing method provided by the technical scheme, and the detailed description is omitted here.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic flow chart illustrating a VOD fast playing method according to an embodiment of the present invention;
fig. 2 is a block diagram of an embodiment of a video-on-demand fast-playing system.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1 and fig. 2, the present embodiment provides a fast playing method for video on demand, including:
receiving original video data uploaded by a user, and distributing the original video data to a nearby transcoding machine for video transcoding; the transcoded video data are transmitted to a temporary node which is deployed in the same machine room with a transcoding machine for caching, and the temporary node gradually distributes the cached video data to a corresponding storage node for storage; and acquiring a video-on-demand request, and preferentially acquiring video data from the storage node for playing when the corresponding video data is stored in the storage node, or else acquiring the video data from the temporary node for playing.
In the video-on-demand fast playing method provided by this embodiment, first, original video data uploaded by a user is received, and then the original video data is distributed to a transcoding machine in a nearby machine room based on a geographical position of the user to perform video transcoding to obtain video data, the video data is transmitted to a temporary node disposed in the same machine room as the transcoding machine to be cached, and then the cached video data is gradually distributed to a corresponding storage node by the temporary node to be stored on the ground, when a video-on-demand request is obtained, whether the corresponding video data is stored in the storage node is self-checked, if so, the corresponding video data is preferentially obtained from the storage node to be played, and if not, the corresponding video data is obtained from the temporary node to be played.
It can be seen that in this embodiment, after video transcoding is completed, the video is temporarily distributed to a temporary node in the same machine room as a transcoding machine for temporary storage, and when a user has a high requirement on real-time performance, a temporary video playing function can be provided through the temporary node, because the temporary node and the transcoding machine are distributed in the same machine room, and network transmission thereof belongs to intranet transmission, distribution can be completed within a short time (generally within 10 seconds), video on demand service can be provided without waiting for all videos to be distributed to a remote storage node, and after video data in the storage node is completely distributed to the storage node, the storage node preferentially provides video playing service.
In the above embodiment, before receiving the original video data uploaded by the user and distributing the original video data to a nearby transcoding machine for video transcoding, the method further includes:
correspondingly deploying a plurality of machine rooms in a plurality of regions, wherein each machine room is provided with at least one transcoding machine and two temporary nodes, and each machine room is provided with a plurality of remotely deployed storage nodes; the transcoding machine is respectively connected with the two temporary nodes, and each temporary node is respectively connected with the corresponding storage nodes.
In specific implementation, machine rooms need to be deployed in multiple regions throughout the country in advance, for example, machine rooms are deployed in three regions of beijing, shanghai and guangzhou respectively, a transcoding machine and a temporary storage cluster are deployed in each machine room of each region, one temporary storage cluster is generally composed of two temporary node machines, each machine room is generally remotely and correspondingly provided with multiple storage nodes, for example, 3 storage nodes, so that the transcoding machine is respectively in data connection with the two temporary nodes, and each temporary node is respectively in data connection with the 3 remote storage nodes. And a plurality of machine rooms are deployed nationwide, so that users can upload original video data more quickly and stably.
In the above embodiment, the method for receiving the original video data uploaded by the user and distributing the original video data to the nearby transcoding machine for video transcoding includes:
and the data distribution system receives the original video data uploaded by the user and selects a transcoding machine which is sent to the nearby machine room based on the position of the user to perform video transcoding.
In specific implementation, the original video data uploaded by a user is received through a video data distribution system, then the uploading position of the user is identified, and a nearby machine room is selected based on the position of the user and sent to a transcoding machine line for video transcoding. For example, the original video data uploaded by the user in suzhou is obviously closest to the shanghai computer room in suzhou, so that the transcoding machine of the shanghai computer room is selected to perform transcoding operation on the original video data.
In the above embodiment, the method for transmitting the transcoded video data to the temporary node deployed in the same machine room as the transcoding machine for caching, and then gradually distributing the cached video data to the corresponding storage node by the temporary node for storage includes:
the method comprises the steps of gradually transmitting transcoded video data to two temporary nodes in the same machine room for caching, and configuring attribute information of each temporary node, wherein the attribute information comprises playing priority and playing weight; and respectively distributing the video data cached in the temporary nodes to corresponding storage nodes for storage.
During specific implementation, transcoded video data can be synchronously distributed to 2 temporary nodes for storage, and the purpose of the 2 temporary nodes is set, so that on one hand, the pressure of video playing can be relieved, corresponding adjustment can be made according to the network bandwidth of a user, and service interruption caused by machine breakdown of one temporary node is avoided. On the other hand, when the temporary node distributes the data to the storage node, more distribution sources can be provided, so that the data distribution of the storage node can be completed more quickly.
It should be noted that the video data on the temporary nodes can already be played by the user on demand, because the video data in the two temporary nodes are the same, when the user requests to play, the video-on-demand system will select one of the temporary nodes to provide the video data for playing according to the priority weighting algorithm.
In the above embodiment, the method for acquiring a video-on-demand request, when the storage node stores corresponding video data, preferentially acquiring the video data from the storage node to play, and otherwise acquiring the video data from the temporary node to play includes:
acquiring a video-on-demand request initiated by a user through a video-on-demand system, and judging whether video data corresponding to the video-on-demand request is stored in any storage node corresponding to a nearby machine room; if the judgment result is yes, the corresponding video data is preferentially acquired from the storage node to be played; if the judgment result is negative, the corresponding video data is obtained from any temporary node of the nearby machine room based on the playing priority and the playing weight for playing.
In specific implementation, the playing priority of the storage node is higher than that of the temporary node, after all the video data are distributed to the storage node, the video-on-demand system can preferentially acquire the video data from the corresponding storage node for playing, namely preferentially play from the local storage, and if the storage node does not have a video data source on demand, acquire the video data from the temporary node for playing. The video data after the user transcoding can be rapidly distributed and played, and the requirement of the user on the real-time performance of video playing is met. As is well known, the bandwidth of the temporary node in the same computer room as the transcoding machine is relatively expensive, and after video data is distributed to the local storage node, the bandwidth of the local storage node is relatively cheap, and the video resources are reasonably distributed according to the priority, so that the playing request is preferentially played from the local storage node, and the bandwidth resources are saved.
In the above embodiment, the method for acquiring corresponding video data from any temporary node in the nearby computer room based on the play priority and the play weight to play includes:
comparing the playing priorities of two temporary nodes in the nearby machine room, and preferentially providing video data playing by the temporary node with the higher playing priority; when the playing priorities of the two temporary nodes in the nearby computer room are equal, the temporary node with high playing weight provides video data playing preferentially.
In specific implementation, each temporary node comprises attribute information which is respectively a playing priority and a playing weight, the playing service is provided with a priority with a high priority, and the playing service is provided with the temporary nodes with the same priority according to the order of the weight. For example, referring to table 1, if the priority of the temporary node a is 8 and the priority of the temporary node B is 7 in the same computer room, the temporary node a provides the playing service in preference to the temporary node B, and the weight values of the temporary node a and the temporary node B at this time are not functional. Referring to table 2, if the priorities of the temporary node a and the temporary node B are the same, the play order is given according to the weights. Generally, the weight value represents the distribution of the whole number of times of playing of the temporary node, and if the weight value of the temporary node B is 80, it indicates that nearly 80% of the number of times of temporary playing provided by the machine room is provided by the temporary node B, and if the weight value of the temporary node a is 20, it indicates that nearly 20% of the number of times of temporary playing provided by the machine room is provided by the temporary node a. Of course, the above algorithm may also be extended to be performed among multiple temporary nodes in the same computer room, so as to perform flexible node configuration selection.
Temporary node Priority of playing Play weight
Temporary node A 8 30
Temporary node B 7 70
TABLE 1
Temporary node Priority of playing Play weight
Temporary node A 6 20
Temporary node B 6 80
TABLE 2
In the above embodiment, when the temporary node providing video data playing in the machine room goes down, the temporary node is automatically switched to another temporary node to continue providing the remaining video data for playing. By the arrangement, the disaster recovery capability of the machine room can be improved, so that when one temporary node goes down, the other temporary node is switched to in an emergency to continue providing on-demand service for users. Optionally, when the downtime switching is completed, the temporary node which provides the on-demand service again can seamlessly provide the remaining video data for the user to play, so that the user is not sensitive, and the on-demand experience of the user is improved. Of course, it may also be set to provide complete video data for the user to replay when the downtime switching is completed, and the two schemes may be manually configured and selected by a developer in specific implementation, which is not described in detail in this embodiment.
In the above embodiment, the play priority and the play weight in the temporary node support dynamic adjustment based on the current on-demand number. In specific implementation, if the weight value of the temporary node B is 80, more than 80% of temporary playing times are provided by the temporary node B, and then when a new temporary on-demand request is received, the temporary node a is defaulted to provide the temporary playing service, so that reasonable utilization of resources can be ensured, and a certain temporary node is prevented from being overloaded for a long time.
Example two
The embodiment provides a video-on-demand fast playing system, which comprises:
the transcoding and distributing unit is used for receiving the original video data uploaded by the user and distributing the original video data to a nearby transcoding machine for video transcoding;
the video storage unit is used for transmitting the transcoded video data to a temporary node which is deployed in the same machine room with the transcoding machine for caching, and then the temporary node gradually distributes the cached video data to the corresponding storage node for storage;
and the video-on-demand unit is used for acquiring the video-on-demand request, preferentially acquiring the video data from the storage node for playing when the corresponding video data is stored in the storage node, and otherwise acquiring the video data from the temporary node for playing.
Compared with the prior art, the beneficial effects of the video-on-demand quick playing system provided by the embodiment of the invention are the same as those of the video-on-demand quick playing method provided by the embodiment one, and the details are not repeated herein.
EXAMPLE III
The present embodiment provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program performs the steps of the above-mentioned vod fast playback method.
Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment are the same as the beneficial effects of the video-on-demand fast playing method provided by the above technical scheme, and no further description is given here.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the invention may be implemented by hardware instructions related to a program, the program may be stored in a computer-readable storage medium, and when executed, the program includes the steps of the method of the embodiment, and the storage medium may be: ROM/RAM, magnetic disks, optical disks, memory cards, and the like.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A video-on-demand fast playing method is characterized by comprising the following steps:
receiving original video data uploaded by a user, and distributing the original video data to a nearby transcoding machine for video transcoding;
the transcoded video data are transmitted to a temporary node which is deployed in the same machine room with a transcoding machine for caching, and the temporary node gradually distributes the cached video data to a corresponding storage node for storage;
and acquiring a video-on-demand request, and preferentially acquiring video data from the storage node for playing when the corresponding video data is stored in the storage node, or else acquiring the video data from the temporary node for playing.
2. The method of claim 1, wherein, before receiving the video raw data uploaded by the user and distributing the video raw data to a nearby transcoding machine for video transcoding, the method further comprises:
correspondingly deploying a plurality of machine rooms in a plurality of regions, wherein each machine room is provided with at least one transcoding machine and two temporary nodes, and each machine room is provided with a plurality of remotely deployed storage nodes;
the transcoding machine is respectively connected with the two temporary nodes, and each temporary node is respectively connected with the corresponding storage nodes.
3. The method of claim 2, wherein the method of receiving the video raw data uploaded by the user and distributing the video raw data to a nearby transcoding machine for video transcoding comprises:
and the data distribution system receives the original video data uploaded by the user and selects a transcoding machine which is sent to the nearby machine room based on the position of the user to perform video transcoding.
4. The method according to claim 2 or 3, wherein the method for transmitting the transcoded video data to a temporary node deployed in the same machine room as the transcoding machine for caching, and gradually distributing the cached video data to the corresponding storage nodes by the temporary node for storage comprises the following steps:
the method comprises the steps of gradually transmitting transcoded video data to two temporary nodes in the same machine room for caching, and configuring attribute information of each temporary node, wherein the attribute information comprises playing priority and playing weight;
and respectively distributing the video data cached in the temporary nodes to corresponding storage nodes for storage.
5. The method of claim 4, wherein the method of obtaining a video-on-demand request, when the storage node stores corresponding video data, preferentially obtaining the video data from the storage node for playing, and otherwise obtaining the video data from the temporary node for playing comprises:
acquiring a video-on-demand request initiated by a user through a video-on-demand system, and judging whether video data corresponding to the video-on-demand request is stored in any storage node corresponding to a nearby machine room;
if the judgment result is yes, preferentially acquiring corresponding video data from the storage node for playing;
if the judgment result is negative, the corresponding video data is obtained from any temporary node of the nearby machine room based on the playing priority and the playing weight for playing.
6. The method of claim 5, wherein the method for obtaining the corresponding video data from any temporary node of the nearby machine room for playing based on the playing priority and the playing weight comprises:
comparing the playing priorities of two temporary nodes in the nearby machine room, and preferentially providing video data playing service by the temporary node with the higher playing priority;
when the playing priorities of the two temporary nodes in the nearby computer room are equal, the temporary node with high playing weight provides video data playing service preferentially.
7. The method according to claim 6, characterized in that when the temporary node providing video data playing in the machine room goes down, automatically switching to another temporary node to continue providing the remaining video data for playing.
8. The method of claim 4, wherein the play priority and play weight in the temporary node support dynamic adjustment based on the current on-demand number.
9. A video-on-demand fast-play system, comprising:
the transcoding and distributing unit is used for receiving the original video data uploaded by the user and distributing the original video data to a nearby transcoding machine for video transcoding;
the video storage unit is used for transmitting the transcoded video data to a temporary node which is deployed in the same machine room with the transcoding machine for caching, and then the temporary node gradually distributes the cached video data to the corresponding storage node for storage;
and the video-on-demand unit is used for acquiring the video-on-demand request, preferentially acquiring the video data from the storage node for playing when the corresponding video data is stored in the storage node, and otherwise acquiring the video data from the temporary node for playing.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of the claims 1 to 8.
CN202110210839.8A 2020-12-30 2021-02-25 Method and system for fast playing video on demand Pending CN113055704A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011610987 2020-12-30
CN2020116109870 2020-12-30

Publications (1)

Publication Number Publication Date
CN113055704A true CN113055704A (en) 2021-06-29

Family

ID=76509150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110210839.8A Pending CN113055704A (en) 2020-12-30 2021-02-25 Method and system for fast playing video on demand

Country Status (1)

Country Link
CN (1) CN113055704A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120054818A1 (en) * 2010-08-30 2012-03-01 Stanford University Enhanced video streaming to mobile clients
CN104202356A (en) * 2014-08-07 2014-12-10 西安交通大学 A video file deploying method of a video cloud on-demand system based on a multi-code-rate version
CN104702987A (en) * 2015-03-27 2015-06-10 南京视海网络科技有限公司 High-compatibility bandwidth self-adaption streaming media and method for serving multiple different terminals
CN108337537A (en) * 2017-01-20 2018-07-27 创盛视联数码科技(北京)有限公司 A kind of method of cloud platform video playing scheduling
CN110290402A (en) * 2019-07-31 2019-09-27 腾讯科技(深圳)有限公司 A kind of video code rate method of adjustment, device, server and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120054818A1 (en) * 2010-08-30 2012-03-01 Stanford University Enhanced video streaming to mobile clients
CN104202356A (en) * 2014-08-07 2014-12-10 西安交通大学 A video file deploying method of a video cloud on-demand system based on a multi-code-rate version
CN104702987A (en) * 2015-03-27 2015-06-10 南京视海网络科技有限公司 High-compatibility bandwidth self-adaption streaming media and method for serving multiple different terminals
CN108337537A (en) * 2017-01-20 2018-07-27 创盛视联数码科技(北京)有限公司 A kind of method of cloud platform video playing scheduling
CN110290402A (en) * 2019-07-31 2019-09-27 腾讯科技(深圳)有限公司 A kind of video code rate method of adjustment, device, server and storage medium

Similar Documents

Publication Publication Date Title
CN108737405B (en) A method, CCL server and system for diverting live video stream
KR101541259B1 (en) Method and apparatus for synchronizing popularity value of cache data and method, apparatus, and system for distributed caching
CN114501073B (en) Live broadcast source returning method and device
US11386350B2 (en) Model parameter combination method and apparatus
CN113811013B (en) Cluster capacity dynamic adjustment method, equipment, storage media and communication system
CN105723680A (en) Audio distribution
CN105307010A (en) System and method for uploading video of cloud video living broadcast platform
CN100463516C (en) An Interactive Internet TV System
US20210344971A1 (en) A method and system for downloading a data resource
US11010341B2 (en) Tiered cache filling
KR102309718B1 (en) Apparatus and method for managing network automatically
CN102624565B (en) Method for processing single-point failure in application layer multicast system
CN110602545A (en) Distributed recording execution method for network live broadcast
US8284659B2 (en) Communication apparatus, communication method, and recording medium storing program
CN106209824A (en) The cloud edit methods of data, system and the client of cloud editor
CN104602035A (en) Streaming media on-demand method and streaming media on-demand system
CN115361379B (en) Video uploading server allocation method and device
KR20190118002A (en) Multivision System and method for synchronization
CN113055704A (en) Method and system for fast playing video on demand
US20240314184A1 (en) Data transmission method, apparatus, and system, device, and storage medium
US10348597B2 (en) Monitoring server, resolution server, request device, and node selection method
KR102488791B1 (en) Association redirection method and device
WO2011131098A1 (en) Method, equipment and system for dispatching devices
CN108322922B (en) Link switching method and device
CN112788135B (en) Resource scheduling method, device and storage 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210629