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

CN102868682BActive Publication Date: 2015-02-25BEIJING UNIV OF POSTS & TELECOMM
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2015-02-25

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method and a device for sharing streaming media resources, and belongs to the field of network communication. The method comprises the following steps of: transmitting a request message to a streaming media server so that the streaming media server adds a request node into a session corresponding to resources to be requested, wherein the request message carries an identifier of the resources to be requested, an identifier of the request node and bottom-layer topology information of the request node; receiving a service node set which is returned by the streaming media server and provides the resources to be requested for the request node, wherein the service node set is found in the session by the streaming media server according to the bottom-layer topology information of the request node; and acquiring the resources to be requested according to the received service node set. The device comprises a transmission module, a receiving module and an acquisition module. By the method and the device, when the request node is continually increased or a node in a network moves, the phenomenon of heavy network load can be avoided, and search efficiency of the resources and user experiences can be improved.
Need to check novelty before this filing date? Find Prior Art

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...