主权项 |
1. A method of providing video-on-demand content, comprising:
storing, by a system comprising a processor, a plurality of beginning portions of a plurality of video-on-demand content; receiving, by the system, a request from a set-top box for selected content of the plurality of video-on-demand content; streaming, by the system, to the set-top box a beginning portion of the selected content from the plurality of beginning portions of the plurality of video-on-demand content; determining, by the system, that a remaining portion of the selected content of the plurality of video-on-demand content is not stored locally; identifying, by the system, a plurality of peers that are likely to have the remaining portion of the selected content by checking a plurality of bloom filters responsive to determining that the remaining portion is not stored locally, wherein the plurality of bloom filters indicate the plurality of video-on-demand content that is stored at the plurality of peers; selecting, by the system, a first peer of the plurality of peers that are identified, wherein the first peer stores a copy of the selected content according to a source policy that is received from a directory server based on factors that affect transmission of the selected content, and wherein the first peer is selected from the plurality of peers according to a hash of a content identifier associated with the selected content; receiving, by the system, the remaining portion of the selected content from the first peer that is selected; and streaming, by the system, to the set-top box the received remaining portion of the selected content. |