METHOD, DEVICE AND SYSTEM FOR PLAYING NETWORK VIDEOS
First Claim
1. A method for playing network videos, comprising:
- querying, by a first download node, whether a slicing data of a network video requested for playing and satisfying playing conditions exists in a pre-established download cache memory according to a video playing request of a browser, wherein the video address of the browser is preset as the address of the download cache memory;
if no, downloading the video data of the network video from a network video server, slicing the video data into a plurality of slicing data, storing the slicing data in the download cache memory, and notifying a P2P server that the slicing data in the current download cache memory for downloading could be provided; and
if yes, querying a second download node having other slicing data excluding the slicing data in the download cache memory from the P2P server, downloading the other slicing data excluding the slicing data in the download cache memory from the second download node, storing the other slicing data in the download cache memory, and notifying the P2P server that the slicing data in the current download cache memory for downloading may be provided; and
merging and encapsulating the slicing data in the download cache memory into video data and providing the video data to the browser so that the browser acquires and plays the video data.
1 Assignment
0 Petitions
Accused Products
Abstract
The embodiments of the present invention provide a method, a device and a system for playing network videos, wherein the method includes: querying, by a first download node, whether a slicing data of a network video requested for playing and satisfying playing conditions exists in a pre-established download cache memory according to a video playing request of a browser; if no, downloading the video data of the network video from a network video server, slicing the video data into a plurality of slicing data, storing the slicing data in the download cache memory, and notifying a P2P server that the slicing data in a current download cache memory for downloading is provided; if yes, querying a second download node having other slicing data from the P2P server, downloading the other slicing data from the second download node, storing the other slicing data in the download cache memory, and notifying the P2P server that the slicing data in the current download cache memory for downloading is provided; and merging and encapsulating the slicing data in the download cache memory into video data and providing the video data to the browser. The embodiments of the present invention save the bandwidth resources.
4 Citations
12 Claims
-
1. A method for playing network videos, comprising:
-
querying, by a first download node, whether a slicing data of a network video requested for playing and satisfying playing conditions exists in a pre-established download cache memory according to a video playing request of a browser, wherein the video address of the browser is preset as the address of the download cache memory; if no, downloading the video data of the network video from a network video server, slicing the video data into a plurality of slicing data, storing the slicing data in the download cache memory, and notifying a P2P server that the slicing data in the current download cache memory for downloading could be provided; and if yes, querying a second download node having other slicing data excluding the slicing data in the download cache memory from the P2P server, downloading the other slicing data excluding the slicing data in the download cache memory from the second download node, storing the other slicing data in the download cache memory, and notifying the P2P server that the slicing data in the current download cache memory for downloading may be provided; and merging and encapsulating the slicing data in the download cache memory into video data and providing the video data to the browser so that the browser acquires and plays the video data. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for playing network videos, comprising:
-
receiving, by a browser, a video playing request; invoking a first download node to query whether a slicing data of a network video requested for playing and satisfying playing conditions exists in a pre-established download cache memory according to the video playing request;
if no, downloading the video data of the network video from a network video server, slicing the video data into a plurality of slicing data, storing the slicing data in the download cache memory, and notifying a P2P server that the slicing data in the current download cache memory for downloading could be provided; and
if yes, querying a second download node having other slicing data excluding the slicing data in the download cache memory from the P2P server, downloading the other slicing data excluding the slicing data in the download cache memory from the second download node, storing the other slicing data in the download cache memory, and notifying the P2P server that the slicing data in the current download cache memory for downloading could be provided; andacquiring the video data merged and encapsulated from the slicing data in the download cache memory by the first download node from the download cache memory and playing the data.
-
-
7. A device for playing network videos, comprising:
-
a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to; query whether a slicing data of a network video requested for playing and satisfying playing conditions exists in a pre-established download cache memory according to a video playing request of a browser, wherein the video address of the browser is preset as the address of the download cache memory; when the detection result of the detection module is no, download the video data of the network video from the network video server, slice the video data into a plurality of slicing data, store the slicing data in the download cache memory, and notify aP2P server that the slicing data in the current download cache memory for downloading could be provided; if the detection result of the detection module is yes, query a second download node having other slicing data excluding the slicing data in the download cache memory from the P2P server, download the other slicing data excluding the slicing data in the download cache memory from the second download node, store the other slicing data in the download cache memory, and notify the P2P server that the slicing data in the current download cache memory for downloading could be provided; and merge and encapsulate the slicing data in the download cache memory into video data and providing the video data to the browser so that the browser acquires and plays the video data. - View Dependent Claims (8, 9, 10, 12)
-
-
11. A device for playing network videos, comprising:
-
a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to; receive a video playing request; invoke a first download node to query whether a slicing data of a network video requested for playing and satisfying playing conditions exists in a pre-established download cache memory according to the video playing request;
if no, download the video data of the network video from a network video server, slice the video data into a plurality of slicing data, store the slicing data in the download cache memory, and notify a P2P server that the slicing data in the current download cache memory for downloading could be provided; and
if yes, query a second download node having other slicing data excluding the slicing data in the download cache memory from the P2P server, download the other slicing data excluding the slicing data in the download cache memory from the second download node, store the other slicing data in the download cache memory, and notify the P2P server that the slicing data in the current download cache memory for downloading could be provided; andacquire the video data merged and encapsulated from the slicing data in the download cache memory by the first download node from the download cache memory and playing the data.
-
Specification