Method and device for sharing streaming media resources
A resource sharing and streaming media technology, applied in the field of network communication, can solve the problems of large network load, long delay, and reduce user experience, and achieve the effect of large network load, long delay, and improved search efficiency and
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2015-02-25
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of network communication, in particular to a method and device for sharing streaming media resources. Background technique
[0002] With the development and popularization of network communication technology, the transmission of network resources becomes more and more frequent. However, due to the limitation of storage capacity and bandwidth, users need a certain storage capacity and time to download the required resources, so streaming media application has received extensive attention.
[0003] At present, the streaming media system adopts P2P (Peer-to-Peer, peer-to-peer) technology to make full use of idle node resources in the system and improve the sharing degree of streaming media data between nodes. For example, in a semi-structured Mesh network, a streaming media server stores a large amount of streaming media data. When a user requests a streaming media resource, the requesting node sends a request message t...
Examples
Embodiment 1
[0052] see figure 1 , the present embodiment provides a method for sharing streaming media resources, including:
[0053] Step 101: Send a request message to the streaming media server, so that the streaming media server adds the requesting node to the session corresponding to the resource to be requested, the request message carries the identifier of the resource to be requested, the requesting node's identification and underlying topology information of the requesting node;
[0054] Step 102: Receive the set of service nodes that provide the resource to be requested for the requesting node returned by the streaming media server. Searching for a set of service nodes that provide the resource to be requested for the requesting node in the session;
[0055] Step 103: Obtain the resource to be requested according to the received set of service nodes.
[0056] In the embodiment of the present invention, since the requesting node obtains its underlying topology information in a...
Embodiment 2
[0058] see figure 2 , this embodiment provides a method for sharing streaming media resources, wherein, before the requesting node sends a request message to the streaming media server, the requesting node selects from its set of next-hop nodes, the communication quality between the requesting node and the requesting node is greater than The threshold nodes form the neighbor node set of the requesting node, and calculate the cluster membership of the requesting node according to the node-merging node cluster membership function, and select the cluster to be added or generate a cluster independently, thus forming the underlying topology information of the requesting node. When a requesting node needs to request a streaming media resource, it needs to send a request message to the streaming media server. The request message carries the identifier of the resource to be requested, the identifier of the requesting node, and the underlying topology information of the requesting node...
Embodiment 3
[0133] see image 3 , this embodiment provides a device for sharing streaming media resources, including:
[0134] The sending module 301 is configured to send a request message to the streaming media server, so that the streaming media server adds the requesting node to the session corresponding to the resource to be requested, the request message carries the identifier of the resource to be requested, the An identifier of the requesting node and underlying topology information of the requesting node;
[0135] The receiving module 302 is configured to receive a set of service nodes that provide the resource to be requested for the requesting node returned by the streaming media server, the set of service nodes is the underlying topology of the streaming media server according to the requesting node information, searching for a set of service nodes that provide the resource to be requested for the requesting node in the session;
[0136] The obtaining module 303 is configure...