WO2010022603A1 - A method, a system and an apparatus for attaching to the peer to peer network and obtaining iptv contents - Google Patents
A method, a system and an apparatus for attaching to the peer to peer network and obtaining iptv contents Download PDFInfo
- Publication number
- WO2010022603A1 WO2010022603A1 PCT/CN2009/071770 CN2009071770W WO2010022603A1 WO 2010022603 A1 WO2010022603 A1 WO 2010022603A1 CN 2009071770 W CN2009071770 W CN 2009071770W WO 2010022603 A1 WO2010022603 A1 WO 2010022603A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network
- peer
- information
- user terminal
- iptv
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1016—IP multimedia subsystem [IMS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/611—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method, system and apparatus for attaching to a peer-to-peer network and acquiring IPTV (IP Television) content based on an IP Multimedia Subsystem (IMS).
- IPTV IP Television
- IMS IP Multimedia Subsystem
- the streaming media service or IPTV service is a new service that has developed rapidly in recent years.
- the streaming media service uses streaming technology to transmit multimedia files, including video and audio files, on a packet-switched network. This content can be played immediately without having to download it completely.
- the key technology for streaming media implementation is streaming technology. Streaming technology processes continuous video and audio information and puts it on the server, allowing users to download and watch while listening, without having to wait for the entire file to download to themselves.
- the network transmission technology that can be viewed after the machine.
- IP Multimedia Subsystem is a subsystem for providing multimedia services proposed by 3GPP R5. It includes Call Session Control Function (CSCF) and Media Gateway Control Function (MGCF, Media Gateway Control Function). Functional entities such as Media Source Function (MRF), mainly adopting Session Initiation Protocol (SIP), which is an upper-level control subsystem and has nothing to do with specific access technologies. It is the ideal solution and development direction of mobile fixed convergence that is widely recognized by the industry.
- CSCF Call Session Control Function
- MGCF Media Gateway Control Function
- Functional entities such as Media Source Function (MRF), mainly adopting Session Initiation Protocol (SIP), which is an upper-level control subsystem and has nothing to do with specific access technologies. It is the ideal solution and development direction of mobile fixed convergence that is widely recognized by the industry.
- SIP Session Initiation Protocol
- a user terminal accesses an IMS IPTV system through different access networks, where a media node (MS, MediaStation) serves as a content server. Provide content.
- MS media node
- IMS-based IPTV provides IPTV services under the overall architecture of IMS.
- the current IMS-based IPTV architecture is in major standards organizations such as Telecommunications and Internet Converged Services and Protocols for Advanced Networking (TISPAN).
- TISPAN Internet Converged Services and Protocols for Advanced Networking
- the ITU-T for ITU Telecommunication Standardization Sector and the Open IPTV Forum have all been recognized, and their standards have developed rapidly.
- FIG. 2 is TISPAN's IMS-based IPTV architecture.
- the figure includes user terminals (UE), application and IPTV service functions, core IMS, transport functions, and media delivery distribution & storage.
- UE user terminals
- IPTV service functions application and IPTV service functions
- core IMS core IMS
- transport functions transport functions
- media delivery distribution & storage media delivery distribution & storage
- UE User equipment
- IPTV Service Functions include:
- SSF Service Selection Function
- the Service Discovery Function can generate and provide service attachment information, and can provide personalized discovery information to the terminal.
- UPSF User Profile Server Function
- SCF IPTV Service Control Functions
- AS SIP Application Server
- Core IMS Core IMS
- the Core IMS is used for the service verification, authorization, and signaling interaction process of the IPTV service establishment and content delivery process, routing signaling or performing service triggering, and also interacting with the Resource Admission Control Subsystem (RACS). Reservation of resources required by the business.
- RAS Resource Admission Control Subsystem
- Media Delivery Distribution & Storage includes:
- the IPTV media function (MF, Media Function) provides content for users. In the standard, it is further divided into a Media Control Function and a Media Delivery Function, the former controlling the latter for content delivery.
- CDN Content Delivery/Distribution Network
- CC Cluster Controller
- CDF Content Delivery Function
- CDF with content storage and content delivery capabilities, can deliver content to terminals under CC control; Content Delivery Network Controller (CDNC) In the content routing, the appropriate CC and CDF can be selected in the service process to provide content to the user terminal; in the Open IPTV forum specification, the IPTV service discovery (IPTV service Discovery) function is used to discover the IPTV service provider discovery (IPTV Service Provider Discovery) ); IPTV Service Provider Discovery is used to provide service provider information to the UE.
- IPTV service Discovery IPTV service Discovery
- IPTV Service Provider Discovery IPTV Service Provider Discovery
- IPTV adopts the client/server mode when providing content to users. Even if content is provided by CDN, the content delivery mode has not changed fundamentally. It only decentralizes the server and optimizes the client and server. Between the traffic. With the expansion of the scale of IPTV users, the number of users of a single IPTV system service will exceed one million or even ten million, which poses a huge challenge to the media server providing content. It is necessary to deploy hundreds of servers to provide good. Service. At the same time, the cost of CDN is still high; simply relying on increasing the number of servers is not an economic means.
- Peer-to-peer (P2P, peer to peer) has matured from the technical means and has been well applied on the Internet.
- P2P content sharing interaction between users By means of P2P content sharing interaction between users, the processing power, bandwidth and other pressures faced by the server can be effectively alleviated; thereby reducing CDN investment.
- the P2P technology currently popular on the Internet has corresponding shortcomings and limitations: including, for example, disordered data traffic between user terminals, which easily causes network congestion and unstable business effects; in addition, Internet P2P is generally ineffective for users.
- the authentication mechanism the lack of data protection mechanisms between peer nodes, and so on. Summary of the invention
- An embodiment of the present invention provides an IMS-based method, system, and device for attaching to a peer-to-peer network to implement attaching to a P2P network through an IMS network, thereby avoiding network congestion and unstable service effects.
- Another aspect of the embodiments of the present invention provides a method, system, and apparatus for acquiring IPTV content based on IMS, so as to reduce system investment cost.
- the user terminal obtains peer P2P network attachment information through the IMS network.
- a terminal based on an IP multimedia subsystem is attached to a peer-to-peer network according to an embodiment of the present invention.
- System including:
- a user terminal configured to acquire P2P network attachment information through an IMS network, and attach the information to the P2P network according to the attached information of the network;
- the P2P attaching information providing function pBoot is configured to provide the P2P network attaching information to the UE.
- the attaching function is used to interact with the user terminal through the IMS network, and the UE is attached to the P2P network.
- the user terminal obtains peer P2P network attachment information through the IMS network.
- the requested IPTV content is obtained from the peer node using a peer-to-peer mechanism.
- the network television system based on the IP multimedia subsystem provided by the embodiment of the present invention includes: a user terminal, configured to acquire P2P network attachment information through an IMS network, and attach the P2P network attachment information to the P2P network according to the P2P network; Obtaining the requested IPTV content from the peer node;
- the P2P attachment information providing function pBoot is configured to provide P2P network attachment information corresponding to the area where the UE is located;
- the attaching function is used to interact with the user terminal through the IMS network to provide peer node information in the area where the UE is located.
- An attaching information acquiring unit configured to acquire P2P network attaching information by using an IMS network
- an attaching unit configured to attach to the P2P network according to the P2P network attaching information.
- a P2P-attached information providing function pBoot entity provided by the embodiment of the present invention includes: a receiving unit, configured to receive a P2P attach request or a third-party registration request from a requesting party; and an information providing unit, configured to provide a P2P network according to the request Attach information.
- a P2P attaching function BootS entity provided by the embodiment of the present invention includes:
- An attaching unit configured to interact with the user terminal, to connect the user terminal to the P2P network
- an information providing unit configured to provide the UE with peer node information in an area in which the UE is located.
- the method, system and device for acquiring IPTV content enable the UE to download through the P2P mode between the UEs, thereby reducing the load on the media server and reducing the system investment.
- the available P2P network attachment information is provided to the UE according to the area where the UE is located, so that the UE is divided according to the area, so that the P2P traffic between the UEs is restricted to one part, and the unordered inter-domain does not occur. Traffic, thus avoiding network congestion and unstable business conditions.
- the P2P mode download between UEs the CDN network load is reduced, and the system investment is reduced.
- FIG. 1 is a schematic diagram of a scenario in which an existing IMS IPTV system is accessed through different access networks;
- FIG. 2 is a IMS architecture defined by TISPAN based on IMS;
- Figure 3 is the CDN used in the Open IPTV forum specification
- FIG. 4 is a schematic diagram of a logical structure of an IMS-based IPTV system according to an embodiment of the present invention
- FIG. 5 is a schematic diagram of deployment of an IMS-based IPTV system according to an embodiment of the present invention
- FIG. 6 is a schematic diagram of a UE acquiring a P2P network according to an embodiment of the present invention
- FIG. 7 is a flowchart of obtaining P2P network attachment information in a pull manner according to an embodiment of the present invention
- FIG. 8 is a flowchart of acquiring P2P network attachment information in a push manner according to an embodiment of the present invention
- Is a flowchart of acquiring, by the UE, IPTV content according to an embodiment of the present invention
- FIG. 10a is a schematic structural diagram of a UE according to an embodiment of the present invention.
- FIG. 10b is a schematic structural diagram of another UE according to an embodiment of the present invention.
- FIG. 11 is a schematic structural diagram of a pBoot according to an embodiment of the present invention.
- FIG. 12 is a schematic structural view of a BooSt according to an embodiment of the present invention. detailed description
- FIG. 4 is a schematic diagram showing the logical structure of an IMS-based IPTV system according to an embodiment of the present invention.
- the UE 401, the IMS core network (IMScore) 402, and the application server (AS) 403 are existing functions in the IMS system defined by the 3GPP, wherein the SCF in the TISP AN IMS IPTV is the AS here, and the Open IPTV forum IPTV
- the IPTV control in the architecture is also equivalent to the AS here.
- P2P attachment information providing function pBoot 404 which is used for providing P2P network attachment information to user terminals through IMS;
- P2P attachment function BootS 405, configured to register a P2P node attached to the area; including a registration UE and optional regional MS information; may provide other peer node information for the UE;
- the Media Node (MS, MediaStation) 406 can provide content to the UE.
- the MS can also optionally serve as a node in the P2P network to provide content to the UE in P2P mode.
- the MF (specifically divided into MCF and MDF) in the TISPAN architecture can implement the functions of the MS here.
- the CC and CDF in the Open IPTV forum architecture can implement the MS functions here.
- the user terminal (UE) 401 can perform content sharing interaction with each other in a P2P manner; optionally, the content can also be obtained from the MS in a P2P manner.
- ISC and Gm are existing interfaces in the IMS system defined by 3GPP.
- Interface between IMScore and MS this interface is used for direct signaling interaction between IMScore and MS; IMScore can send content request directly to MS through this interface. This interface uses the SIP protocol.
- the interface between MS and BootS this interface is optional.
- the MS can serve as a P2P node to provide content to the UE, the MS sends the peer node registration information to the BootS through the interface.
- An interface between the UE and the BootS; the UE is attached to the P2P network through the interface. After the UE obtains the P2P network attachment information, the UE registers itself with the BootS through this interface.
- the directory P2P architecture is adopted, the UE interacts with the BootS to exchange content status information when acquiring content.
- the interface between the UEs is used to perform the signaling and data interaction between the P2P nodes.
- the specific protocol depends on the P2P mechanism used, which is not limited by the present invention.
- FIG. 5 a deployment diagram is shown in FIG. Referring to FIG. 5, the UE is divided into different areas according to different access locations, and BootS is deployed in each area. In addition, the MS may also be deployed by area to provide content for the UE.
- the pBoot can specify the BootS of the specific area for the UE, so that the UE can be connected to different P2P networks by region.
- FIG. 5 is only a deployment diagram, and some connections that do not affect the inventive idea are omitted; the actual deployment situation should satisfy the logical structure shown in FIG.
- the present invention logically includes the following aspects:
- the UE is attached to the P2P network:
- attaching to the P2P network can be described as two basic steps:
- Step 1 P2P attachment information providing function pBoot sends P2P network attachment information to the UE through the IMS.
- the pBoot determines the BootS serving as the user according to the location information of the UE; the related information is expressed as the P2P network attachment information.
- P2P network attachment information can be sent to the UE:
- Case 1 After the UE registers with the IMS network, the IMS can perform third-party registration with pBoot instead of the UE. After the third-party registration is completed, the pBoot may send the P2P network attachment information to the UE based on the service configuration. In case 2, after the UE registers with the IMS network, the UE may send a SIP subscribe request to the pBoot, and the pBoot sends a SIP notification ( SIP notify) Request to send P2P network attachment information to the UE.
- SIP notify SIP notify
- the UE provides P2P network attachment information.
- the P2P network attachment information sent by the pBoot to the UE may include a protocol, a version, an attached server address, a port, a connection key (p2p_master_key), and the like. Therefore, the P2P network attachment information is corresponding to the area where the UE is located. of;
- a specific MIME type such as ⁇ application/p2pBootInfo+xml> may be defined, and schmea is specifically defined in an Extensible Markup Language (XML) to describe that it can be carried.
- Information can be carried in the message body of the SIP.
- the content-type application/p2pBootInfo+xml header indicates that the SIP message body carries the P2P network attachment information.
- An example of a schema provided by this idea is as follows:
- the P2P network attachment information in Case 3 may be carried in the form described in Cases 1 and 2, or may be carried by the Extended Session Description Protocol (SDP) protocol.
- SDP Extended Session Description Protocol
- Step 2 The UE interacts with the P2P attachment function BootS and attaches to the P2P network.
- the UE After obtaining the P2P network attachment information, the UE interacts with the BootS by using the P2P protocol specified by the attachment information; the BootS joins the first node of the P2P network connection as the UE, and provides the other peer information of the peer nodes;
- the connection key p2p_master_key provided by the pBoot for the UE can be used as the root key, and can be directly used for verifying the P2P interaction between the BootS and the UE, and/or between the UE and the UE.
- the key generation derivative key is used in the related process.
- the BootS can perform connection verification with the UE based on the p2p-master_key. After the verification, the BootS generates a derived key token for the UE, and the key token is used for connection verification when the UE is connected.
- the BootS only transmits the UE peer information in the area to the intra-area UE, so that the data interaction between the UEs in the same area is restricted to the area, and the P2P data traffic across the area is avoided.
- the UE obtains the content by using the P2P method; after attaching to the P2P network, the UE obtains the content by using the P2P technology.
- the present invention does not limit the specific P2P protocol used.
- the BootS functions as a directory server.
- the UE participates in content acquisition, it uses the P2P existing tracker protocol to interact with the BootS to exchange information about the content being acquired.
- a new UE participates in content acquisition, it acquires content information from the BootS.
- the BootS is only responsible for providing the UE with information of other nodes, and these nodes will be used for the UE to acquire information of more other nodes; during the content acquisition process, the UE may no longer interact with the BootS.
- MS can work in two mechanisms:
- the UE obtains content from the MS according to the existing service mode. In this manner, the UE obtains the peers information of the same content from the BootS or other peer node query, and the content required by the UE can be obtained from the MS and other UEs at the same time; the UE determines the location and the content of the part according to the need;
- the MS registers as a peer node to the BootS and provides services to the UE through the P2P mechanism. At this time, the MS is returned as the information of the peer in the IMS service process, and this information can be described by the SDP extension.
- the UE obtains information of more peer nodes acquiring the same content from the BootS or other nodes through the P2P mechanism; the UE performs content acquisition accordingly.
- a reliability indication is added to the peer node information registered by the BootS.
- the value can be (0,1), indicating that the reliability of the node is greater than or equal to 0, less than 1.
- the MS reliability is set higher than the UE when set, and can reach up to [1].
- the reliability information is also transmitted at the same time.
- the UE preferentially acquires from the MS for the initial part of the content requested by the user; for the subsequent part, the UE randomly selects the content in the peer node with the required content. If the content fails to be obtained, the MS can be selected according to the reliability indicator; to avoid increasing the acquisition delay.
- both pBoot and BootS are logical functions, where the pBoot function can be implemented by SDF, BootS can be implemented with MF (including MCF and MDF) or only by MCF.
- both pBoot and BootS are logical functions, where the pBoot function can be implemented by the IPTV service Disco very; the BootS can be implemented by the CDNC or CC.
- the embodiment of the present invention does not limit the P2P topology adopted.
- BootS can act as a directory server
- the BootS can also be used as the first node of the DHT to help the UE join the DHT network; the P2P interaction between the subsequent UEs can be independent of the BootS;
- the UE can obtain content from different MSs without being limited to the MS of the local domain, which is consistent with the existing standards; the scheme only restricts P2P traffic to the local domain;
- the present invention provides an IP-based multimedia subsystem network television system, including: a user terminal 401, configured to acquire, by using an IMS network, P2P network attachment information corresponding to an area in which the area is located, according to the P2P network. Attaching information to the P2P network; utilizing a peer-to-peer mechanism to obtain the requested IPTV content from a peer node in the area;
- the P2P attachment information providing function pBoot 404 is configured to provide P2P network attachment information corresponding to the area where the UE is located;
- the attaching function BootS 405 is configured to interact with the user terminal through the IMS network, and provide peer node information in an area where the UE is located.
- the system further includes: an application server 403, configured to receive, by using, the IMS network
- the IPTV service request of the user terminal sends the IPTV service request to the media node according to the service logic;
- the IPTV service request includes the content identifier of the content requested by the user terminal;
- the media node 406 is configured to provide the required IPTV content to the user terminal according to the content identifier when the media node is not a node in the peer-to-peer network.
- the peer node in the area where the UE is located includes other UEs in the area; or the peer node in the area where the UE is located includes other UEs in the area and media nodes that have been attached to the P2P network .
- the P2P attach information providing function pBoot is implemented by the SDF in the TISPAN IMS IPTV architecture, and the attaching function BootS is implemented by the MF in the TISPAN IMS IPTV architecture, or by the MCF in the MF; or
- the P2P attach information providing function pBoot is implemented by the IPTV service Discovery in the Open IPTV forum IPTV architecture, and the attach function BootS is implemented by the CDNC or CC in the Open IPTV forum IPTV architecture.
- the embodiment of the present invention further provides a system for attaching a terminal based on an IP multimedia subsystem to a peer-to-peer network, including:
- a user terminal configured to acquire P2P network attachment information through an IMS network, and attach the information to the P2P network according to the attached information of the network;
- the P2P attaching information providing function pBoot is configured to provide the P2P network attaching information to the UE.
- the attaching function is used to interact with the user terminal through the IMS network, and the UE is attached to the P2P network.
- the P2P attach information providing function pBoot is implemented by the SDF in the TISPAN IMS IPTV architecture, and the attach function BootS is implemented by the MF in the TISPAN IMS IPTV architecture, or by the MCF in the MF; or the P2P attach information providing function pBoot is implemented by the IPTV service Discovery in the Open IPTV forum IPTV architecture, which is implemented by CDNC or CC in the Open IPTV forum IPTV architecture.
- the embodiment of the present invention further provides a user terminal, as shown in FIG. 10a, including: an attachment information obtaining unit 1001, configured to acquire P2P network attachment information through an IMS network; and an attaching unit 1002, configured to attach according to the network Information is attached to the P2P network.
- Step 1 The UE sends a P2P network attach information request by using the SIP protocol; where the UE may carry the description information when the UE is used as a peer node, such as the peer node identifier peer-id, address, port, and the like.
- Step 2 The P2P network attach information request is forwarded by the IMS core and sent to the pBoot;
- steps 1 and 2 may be actual requests or implicit requests.
- the IMS initiates a third-party registration with the pBoot instead, and the third-party registration may be regarded as an implicit request;
- the attachment information is transmitted accordingly, and the embodiment is specifically described in the following embodiments.
- Step 3 The pBoot determines the area in which the user is located according to the location information of the user, and specifies an attach server for the user.
- the location information of the user may be carried by the UE when the request is initiated, or may be collected by other entities on the network by the pBoot.
- the pBoot sends the P2P network attachment information to the UE by using the SIP protocol, which can carry the ⁇ P2P protocol, version, attached server address, port, and connection key (p2p_master_key) >, etc. P2P network attachment information corresponding to the area.
- Step 6 The UE requests to join the P2P network, that is, the actual p2p network attachment according to the P2P network attachment information provided by the pBoot.
- the UE may perform identity verification based on the p2p-master_key to indicate that it is a legitimate IMS IPTV user;
- the UE may also carry the node reliability information in the join request, and the reliability value is between (0, 1). The larger the value, the higher the reliability.
- Step 7 The BootS sends an attach response message to the UE, allowing the UE to join; the response information may carry a ⁇ root key token, a peer list (peer_list)> information, where the token can be used for subsequent peer-to-peer connections.
- peer_list peer list
- peer-list provides the UE with information about other nodes.
- the UE joins the P2P peer-to-peer network corresponding to the area where the UE is located according to the P2P network attachment information.
- FIG. 7 is a flowchart of acquiring P2P network attachment information in a pull manner according to an embodiment of the present invention.
- This embodiment is implemented based on the TISP AN architecture.
- the pBoot function is implemented by SDF, and the BootS function is implemented by MF.
- the OIF-based situation is similar and can be easily introduced.
- Steps 1 ⁇ 2 after the UE registers with the IMS network, the SIP subscription request (SIP SUBSCRIBE) is sent to the pBoot or SDF through the IMS network to request to obtain the network attachment information.
- the SIP event header field (event) can be set to obtain UE configuration information, such as setting the event header to ue-profile, SIP accepting
- the header field ( accept ) can contain acceptable content types for P2P network attachment information, such as ⁇ application/p2pBootInfo+xml >;
- Steps 3 ⁇ 4 if the subscription is successful, 80? ⁇ 8 0 ( ⁇ ) to 1; £ returns 200 (*successful response, the request is sent to the UE via IMScore;
- Step 5 The SDF (pBoot) determines the area in which the UE is located according to the location information of the UE, and specifies an attach server for the UE.
- the location information of the user may be carried by the UE when the request is initiated, or may be actively taken from other entities of the network by the SDF (pBoot). Collected.
- Step 6 ⁇ 7 SDF (pBoot) generates a SIP NOTIFY notification request for the UE, where the P2P network attachment information is carried; the information may include a ⁇ p2p protocol, a version, an attached server address, a port, a connection key (p2p_master_key), etc.; The information may be carried in the SIP message body. The information may be carried in the content/type as application/p2pBootInfo+xml. The specific form of the information is defined by XML shema. The information is sent to the UE via the IMScore;
- the UE After receiving the SIP NOTIFY notification request, the UE sends a 200 ok success response to the SDF ( pBoot ); the response is sent to the SDF ( pBoot ) via the IMS core ;
- Step 10 The UE according to the SDF
- the P2P network attachment information provided by (pBoot) is requested to join the P2P network.
- the P2P_master_key can be used for identity verification to indicate that it is a legitimate IMS IPTV user.
- the UE can also carry the node in the join request. Reliability information. This reliability value is between (0, 1). The larger the value, the higher the reliability.
- Step 11 The BootS sends the attach response information to the UE, and allows the UE to join.
- the message can carry the ⁇ token, peer_list information, where the token can be used for peer-to-peer authentication during the peer-to-peer connection, and the peer-list provides the UE with other Node information.
- the UE joins the P2P peer-to-peer network corresponding to the area where the UE is located according to the P2P network attachment information.
- FIG. 8 is a flowchart of obtaining P2P network attachment information in a push manner according to an embodiment of the present invention.
- This embodiment is implemented based on the TISP AN architecture.
- the pBoot function is implemented by SDF, and the BootS function is implemented by MF.
- the situation based on OIF is similar and can be easily introduced.
- Step 1 The UE sends a registration request to the IMS core.
- Step 2 the IMScore completes the registration, and sends an acknowledgement (200 ok) to the UE;
- Step 3 The IMS core matches the UE service configuration, and matches the SDF that the UE subscribes to, that is, pBoot;
- Step 4 IMScore sends a third party registration to SDF, ie pBoot;
- Step 5 The SDF (pBoot) acquires the registration status of the UE, and sends a 200 ok response to the IMS core.
- Step 6 the SDF (pBoot) determines the area where the UE is located according to the location information of the UE, and specifies an attachment server for the user; The information may be carried by the UE when the request is initiated, or may be collected by the pBoot from other entities of the network.
- the SDF sends a SIP message to the UE, where the P2P network attachment information is carried, and the information may include a ⁇ p2p protocol, a version, an attached server address, a port, a connection key p2p_master_key>, and the like; It can be carried in the SIP message body.
- the information can be carried in the content/type application/p2pBootInfo+xml.
- the specific form of the information is defined by XML shema.
- the information is sent to the UE via the IMScore;
- the UE After receiving the SIP message request, the UE sends a 200 ok success response to the pBoot; the response is sent to the pBoot via the IMScore;
- Step 11 The UE according to the pBoot
- the P2P network attachment information is requested to be added to the P2P network.
- the P2P-master_key can be used for identity verification to indicate that it is a legitimate IMS IPTV user.
- the UE can also carry the node reliability information in the join request. The value of this reliability is between (0, 1). The larger the value, the higher the reliability.
- Step 12 The BootS sends the attach response information to the UE, and allows the UE to join.
- the message can carry the ⁇ token, peer_list information, where the token can be used for peer-to-peer authentication during the peer-to-peer connection, and the peer-list provides the UE with other Node information.
- the UE joins the P2P peer-to-peer network corresponding to the area where the UE is located according to the P2P network attachment information.
- the UE-1 sends an IPTV service request, requests the specified content, and may carry the content identifier.
- the specified location or time period in the content to be acquired may be further specified.
- the request is sent by the IMScore to the AS providing the service. ;
- Step 3 The AS sends a content request to the MS according to the service logic
- Step 4 The MS returns a content request response to the AS, where the MS-info can be carried; where MS-info represents the description information of the media node. If the MS participates in providing the content to the UE-1 in the P2P mode, the MS-info may carry the information indicating the MS as the P2P node, such as the peer node identifier, the content identifier, the peer IP, the port, and the like. .
- the MS may also carry the P2P network attachment information to the UE-1, and the attachment information includes the ⁇ 2 protocol, the version, the attached server address, the port, and the connection key p2p_master_key>
- the specific carrying manner may be carried in the message body according to the carrying manner described in the embodiments of FIG. 6 and FIG. 7; or may be carried by extending the SDP protocol.
- Step 5-6 The AS sends a service response to the UE-1, where the description information of the media node is carried.
- the AS may also carry the P2P network attachment information to the UE-1, where the attachment information includes the 2 protocol, the version, the attached server address, the port, and the connection key p2p_master_key>
- the specific carrying manner may be carried in the message body as described in the embodiments of FIG. 6 and FIG. 7; or may be carried by extending the SDP protocol.
- the AS can check whether the information in the response of the MS already exists before adding the P2P network attachment information to the response message. If yes, the AS does not need to add it again; or the information given by the MS may be deleted according to the policy. Add the attachment information stored in the AS.
- the specific strategy depends on the implementation of AS.
- This response message is sent to UE-1 via IMScore;
- Step 7 UE-1 sends a content request to the MS; this step may be optional according to specific services, that is, UE-1 may not need to explicitly send a content request to the MS.
- the request is a P2P content acquisition request.
- Step 8 UE-1 requests peer node information from BootS. If BootS is a directory server at the same time, it may request to download peer node information of the same content. If DHT structure is adopted, only limited available node information is requested from BootS. The content query request is made through the available nodes. Step 9, the BootS returns the peer node information to the UE-1.
- Step 10 UE-1 requests content from other available nodes by using a P2P peer-to-peer protocol, including available content query, content acquisition, and the like.
- the UE-1 obtains the information of the MS and the multiple UEs.
- the UE-1 preferentially acquires from the MS for the initial part of the requested content; Obtained from a UE with low reliability.
- the acquisition fails, it selects an MS with a higher reliability value for content acquisition.
- the user terminal utilizes the peer-to-peer mechanism to obtain the requested IPTV content from the peer nodes in the area in which it is located.
- connection key p2p_master_key provided by the AS or the MS for the UE can be used as the root key directly between the BootS and the UE, and/or the P2P interaction between the UE and the UE. Verification; a derived key may also be generated based on the root key for use in the correlation process.
- the BootS can perform connection verification with the UE based on the p2p-master_key. After the verification, the BootS generates a derived key token for the UE, and the key token is used for connection verification when the UE is connected.
- the P2P attachment information is obtained through the IMS network, and then attached to the P2P network, thereby avoiding the Internet P2P generally lacking an effective authentication mechanism for the user, and between the peer nodes. Lack of defects such as data protection mechanisms.
- An embodiment of the present invention further provides a user terminal, as shown in FIG. 10b, including:
- the attachment information obtaining unit 1001 is configured to acquire, by using the IMS network, P2P network attachment information corresponding to the area where the IMS network is located;
- the attaching unit 1002 is configured to attach to the P2P network according to the P2P network attaching information
- the content obtaining unit 1003 is configured to obtain the requested IPTV content from a peer node in the located area by using a peer-to-peer mechanism.
- the peer nodes in the area where the UE is located may include other UEs in the area; or may include other UEs in the area and media nodes that have been attached to the P2P network.
- the embodiment of the invention further provides a P2P attachment information providing function pBoot entity, see figure
- the receiving unit 1101 is configured to receive a P2P attach request or a third-party registration request from the requesting party.
- the information providing unit 1102 is configured to provide P2P network attaching information according to the request.
- An embodiment of the present invention further provides a P2P attaching function BootS entity.
- the method includes: The attaching unit 1201 is configured to interact with the user terminal, so that the user terminal is attached to the P2P network;
- the information providing unit 1202 is configured to provide the UE with peer node information in an area in which it is located.
- the foregoing BootS may further include a recording unit 1303 for recording reliability indicators of peer nodes in the P2P network.
- the UE can download the P2P mode between the UEs, thereby reducing the load on the media server and reducing the system investment.
- the available P2P network attachment information is provided to the UE according to the area where the UE is located, so that the UE is divided according to the area, so that the P2P traffic between the UEs is restricted to a local part, and the unordered inter-domain traffic does not occur. .
- the embodiment of the present invention further provides a method for attaching an IMS-based terminal to a peer-to-peer network, including:
- the user terminal obtains peer P2P network attachment information through the IMS network.
- the method for the user terminal to obtain the P2P network attachment information through the IMS network may include the following three methods:
- the mode A the user terminal acquiring the P2P network attachment information by using the IMS network includes: after the user terminal registers with the IMS network, the P2P attach information providing function pBoot initiates a P2P attach request, and receives the area returned by the pBoot and the UE.
- the P2P attach request is sent by means of a SIP subscription SIP SUBSCRIBE message
- the information returned by the pBoot is sent by means of SIP notification SIP NOTIFY message.
- the IMS network replaces the UE with the P2P attach information providing function pBoot to initiate a third-party registration.
- the pBoot sends the UE to the UE.
- the P2P network attachment information corresponding to the area; the pBoot sends the P2P network attachment information to the UE in the manner of the SIP message SIP MESSAGE.
- the mode C the user terminal acquiring the P2P network attachment information by using the IMS network includes: the user terminal initiates an IPTV service request by using the IMS network, and obtains the P2P network attachment information corresponding to the area where the UE is located in the received IPTV service response;
- the P2P network attachment information in the IPTV service response is added by the application server AS in the IMS network, and/or is added by the media node MS.
- the foregoing P2P network attachment information is described in the manner of Extensible Markup Language (XML), and is carried in the SIP message body.
- the foregoing P2P network attachment information may also be carried in the manner of extending the session description protocol SDP.
- the P2P network attachment information includes a combination of one or more of the following information: a P2P protocol, a version, an attached server address, a port, and a connection key.
- a P2P protocol a version
- an attached server address a port
- a connection key a connection key that specifies the connection key.
- it may include only: 2P protocol, attached server address, and port information, and may also include information such as version, connection key, and the like.
- the method for attaching an IMS-based terminal to a peer-to-peer network implements attaching to a P2P network through an IMS network, so that P2P traffic between UEs is restricted to a local part without disordered inter-domain Traffic, thus avoiding network congestion and unstable business conditions.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
附着到对等网络及获取 IPTV内容的方法、 系统和装置 本申请要求于 2008 年 8 月 26 日提交中国专利局、 申请号为 200810147299.8、 发明名称为"附着到对等网络及获取 IPTV内容的方法、 系统 和装置 "的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 Method, system and device for attaching to a peer-to-peer network and acquiring IPTV content The present application claims to be submitted to the Chinese Patent Office on August 26, 2008, the application number is 200810147299.8, and the invention name is "attached to a peer-to-peer network and obtain IPTV content. The priority of the Chinese Patent Application, the entire disclosure of which is incorporated herein by reference. Technical field
本发明涉及通信技术领域, 特别涉及基于 IP 多媒体子系统 (IMS , IP Multimedia Subsystem ) 的附着到对等网络及获取网络电视 ( IPTV , IP Television ) 内容的方法、 系统和装置。 The present invention relates to the field of communications technologies, and in particular, to a method, system and apparatus for attaching to a peer-to-peer network and acquiring IPTV (IP Television) content based on an IP Multimedia Subsystem (IMS).
背景技术 Background technique
流媒体业务或 IPTV业务是近儿年迅速发展的一种新业务, 流媒体业务利 用流式传输技术, 在包交换网络上传输多媒体文件, 包括视频、 音频等文件内 容。 这些内容在访问时无需完全下载就可以立即播放。 流媒体实现的关键技术 就是流式传输技术,而流式传输技术是把连续的视频和音频信息经过处理后放 上服务器, 让用户一边下载一边观看、 收听, 而不需要等整个文件下载到自己 机器后就可以观看的网络传输技术。 The streaming media service or IPTV service is a new service that has developed rapidly in recent years. The streaming media service uses streaming technology to transmit multimedia files, including video and audio files, on a packet-switched network. This content can be played immediately without having to download it completely. The key technology for streaming media implementation is streaming technology. Streaming technology processes continuous video and audio information and puts it on the server, allowing users to download and watch while listening, without having to wait for the entire file to download to themselves. The network transmission technology that can be viewed after the machine.
IP多媒体子系统 (IMS , IP Multimedia Subsystem)是 3GPP R5提出的提供 多媒体业务的子系统, 它包括呼叫会话控制功能( CSCF, Call Session Control Function )、 媒体网关控制功能 ( MGCF, Media Gateway Control Function )、 媒 体源功能 (MRF, Media Resource Function )等功能实体, 主要采用会话初始 4乜十办议(SIP, Session Initiation Protocol ), Diameter十办议, 属于上层控制子系 统, 与具体接入技术无关, 是业界普遍认同的移动固定融合的理想方案和发展 方向。 IP Multimedia Subsystem (IMS) is a subsystem for providing multimedia services proposed by 3GPP R5. It includes Call Session Control Function (CSCF) and Media Gateway Control Function (MGCF, Media Gateway Control Function). Functional entities such as Media Source Function (MRF), mainly adopting Session Initiation Protocol (SIP), which is an upper-level control subsystem and has nothing to do with specific access technologies. It is the ideal solution and development direction of mobile fixed convergence that is widely recognized by the industry.
目前业界正在基于 IMS进行新一代 IPTV系统的研发,在图 1示例场景中, 用户终端( UE )通过不同的接入网络接入 IMS IPTV系统,其中媒体节点( MS, MediaStation )作为内容服务器为 UE提供内容。 Currently, the industry is developing a new generation IPTV system based on IMS. In the example scenario of FIG. 1, a user terminal (UE) accesses an IMS IPTV system through different access networks, where a media node (MS, MediaStation) serves as a content server. Provide content.
基于 IMS的 IPTV ( IMS based IPTV )就是在 IMS的整体架构下提供 IPTV 业务。 目前基于 IMS的 IPTV架构在各大标准组织里, 如电信和互联网融合业 务及高级网络协议 ( TISPAN , TelecommunicationsandlnternetConverged Services and Protocols for Advanced Networking )、 国际电信联盟远程通信标准 化组 (ITU-T for ITU Telecommunication Standardization Sector),开放网络电视标 准论坛 ( Open IPTV Forum ) 等都得到了认同, 其标准发展迅速。 IMS-based IPTV (IMS-based IPTV) provides IPTV services under the overall architecture of IMS. The current IMS-based IPTV architecture is in major standards organizations such as Telecommunications and Internet Converged Services and Protocols for Advanced Networking (TISPAN). The ITU-T for ITU Telecommunication Standardization Sector and the Open IPTV Forum have all been recognized, and their standards have developed rapidly.
参见图 2, 其为 TISPAN基于 IMS定义的 IPTV架构。 图中包括用户终端 ( UE ), 应用和 IPTV业务功能 ( Application and IPTV Service Functions ), 核 心 IMS , 传输功能 (Transport Functions ), 以及媒体交付分发和存储(Media Delivery Distribution & Storage ) 这几部分。 See Figure 2, which is TISPAN's IMS-based IPTV architecture. The figure includes user terminals (UE), application and IPTV service functions, core IMS, transport functions, and media delivery distribution & storage.
用户终端 (UE, user equipment ), 用于 IPTV业务请求及内容显示等。 Application and IPTV Service Functions中又包括: User equipment (UE, user equipment), used for IPTV service request and content display. Application and IPTV Service Functions include:
业务选择功能( SSF, Service Selection Function ), 用于提供可用的业务信 息, 用户指南或业务元数据等; Service Selection Function (SSF), which is used to provide available service information, user guide or service metadata, etc.
业务发现功能 (SDF, Service Discovery Function ), 可以产生和提供业务 附着信息, 可以向终端提供个性化发现信息; The Service Discovery Function (SDF) can generate and provide service attachment information, and can provide personalized discovery information to the terminal.
用户描述业务功能( UPSF, User Profile Server Function ),用于存储与 IPTV 业务相关的用户数据; User Profile Server Function (UPSF) for storing user data related to the IPTV service;
IPTV业务控制功能( SCF, Service Control Functions ), 执行不同 IPTV业 务所需的业务逻辑, 实际就是 SIP应用服务器 (AS )。 IPTV Service Control Functions (SCF), the business logic required to implement different IPTV services, is actually the SIP Application Server (AS).
核心 IMS(Core IMS)用于 IPTV业务建立及内容交付过程的业务验证、 授 权、 信令交互过程, 对信令进行路由或进行业务触发, 同时还可以与资源接纳 控制子系统(RACS ) 交互进行业务所需资源的预留。 The Core IMS (Core IMS) is used for the service verification, authorization, and signaling interaction process of the IPTV service establishment and content delivery process, routing signaling or performing service triggering, and also interacting with the Resource Admission Control Subsystem (RACS). Reservation of resources required by the business.
Media Delivery Distribution & Storage中又包括: Media Delivery Distribution & Storage includes:
IPTV媒体功能 (MF, Media Function), 为用户提供内容, 在标准中其进一 步被分为媒体控制功能 (Media Control Function ) 和媒体交付功能 (Media Delivery Function) , 前者控制后者进行内容交付。 The IPTV media function (MF, Media Function) provides content for users. In the standard, it is further divided into a Media Control Function and a Media Delivery Function, the former controlling the latter for content delivery.
在 Open IPTV forum规范中,所采用的内容交付 /分发网络( CDN, Content Delivery/Distribution Network )如图 3。 其中, In the Open IPTV forum specification, the Content Delivery/Distribution Network (CDN) used is shown in Figure 3. among them,
集群控制器( CC, Cluster Controller ), 用于控制多个内容交付功能( CDF, Content Delivery Function )进行内容提供; a cluster controller (CC, Cluster Controller) for controlling content delivery functions (CDF, Content Delivery Function);
CDF,具有内容存储和内容交付能力,可以在 CC控制下向终端交付内容; 内容交付网络控制器 (CDNC, Content Delivery Network Controller ), 用 于内容路由, 可以在业务过程中选择合适的 CC和 CDF向用户终端提供内容; 在 Open IPTV forum规范中, IPTV业务发现( IPTV service Discovery )功 能用于发现 IPTV业务提供者发现 ( IPTV Service Provider Discovery ) 功能; 而 IPTV Service Provider Discovery则用于提供业务提供者信息给 UE。 CDF, with content storage and content delivery capabilities, can deliver content to terminals under CC control; Content Delivery Network Controller (CDNC) In the content routing, the appropriate CC and CDF can be selected in the service process to provide content to the user terminal; in the Open IPTV forum specification, the IPTV service discovery (IPTV service Discovery) function is used to discover the IPTV service provider discovery (IPTV Service Provider Discovery) ); IPTV Service Provider Discovery is used to provide service provider information to the UE.
传统的 IPTV在向用户提供内容时, 大多采用客户端 /服务器模式, 即使采 用 CDN方式提供内容, 其内容提供模式依然没有发生根本性变化, 只是将服 务器分散化布置并且优化了客户端和服务器之间的流量。 随着 IPTV用户规模 的扩展, 目前单个 IPTV系统服务的用户数将超过百万、 甚至千万, 这对于提 供内容的媒体服务器带来巨大的挑战,动辄需要部署成百上千的服务器以提供 良好的服务。 于此同时, CDN 的造价依然居高不下; 单纯依靠增加服务器的 数量并不是经济的手段。 Traditional IPTV adopts the client/server mode when providing content to users. Even if content is provided by CDN, the content delivery mode has not changed fundamentally. It only decentralizes the server and optimizes the client and server. Between the traffic. With the expansion of the scale of IPTV users, the number of users of a single IPTV system service will exceed one million or even ten million, which poses a huge challenge to the media server providing content. It is necessary to deploy hundreds of servers to provide good. Service. At the same time, the cost of CDN is still high; simply relying on increasing the number of servers is not an economic means.
对等 (P2P, peer to peer )从技术手段上已经逐步成熟, 并在互联网络上 得到了良好的应用。借助于用户间的 P2P内容共享交互,可以有效的减轻服务 器面临的处理能力、 带宽等压力; 从而降低 CDN投资。 但是需要注意到, 目 前在互联网上流行的 P2P技术具有相应的缺点和限制:包括如用户终端间的数 据流量无序, 容易造成网络拥塞及业务效果不稳定; 另外, 互联网 P2P对于用 户普遍缺乏有效的认证机制、 对等节点之间缺乏数据保护机制等。 发明内容 Peer-to-peer (P2P, peer to peer) has matured from the technical means and has been well applied on the Internet. By means of P2P content sharing interaction between users, the processing power, bandwidth and other pressures faced by the server can be effectively alleviated; thereby reducing CDN investment. However, it should be noted that the P2P technology currently popular on the Internet has corresponding shortcomings and limitations: including, for example, disordered data traffic between user terminals, which easily causes network congestion and unstable business effects; in addition, Internet P2P is generally ineffective for users. The authentication mechanism, the lack of data protection mechanisms between peer nodes, and so on. Summary of the invention
本发明实施例一方面提供一种基于 IMS 的附着到对等网络的方法、 系统 和装置, 以实现通过 IMS网络附着到 P2P网络, 避免了网络拥塞及业务效果 不稳定的情况。 An embodiment of the present invention provides an IMS-based method, system, and device for attaching to a peer-to-peer network to implement attaching to a P2P network through an IMS network, thereby avoiding network congestion and unstable service effects.
本发明实施例另一方面提供一种基于 IMS的获取 IPTV内容的方法、系统 和装置, 以降低系统投资成本。 Another aspect of the embodiments of the present invention provides a method, system, and apparatus for acquiring IPTV content based on IMS, so as to reduce system investment cost.
本发明实施例提供的一种基于 IP多媒体子系统的终端附着到对等网络的 方法, 包括: A method for attaching a terminal based on an IP multimedia subsystem to a peer-to-peer network according to an embodiment of the present invention includes:
用户终端通过 IMS网络获取对等 P2P网络附着信息; The user terminal obtains peer P2P network attachment information through the IMS network.
根据所述 P2P网络附着信息附着到 P2P网络。 Attached to the P2P network according to the P2P network attachment information.
本发明实施例提供的一种基于 IP多媒体子系统的终端附着到对等网络的 系统, 包括: A terminal based on an IP multimedia subsystem is attached to a peer-to-peer network according to an embodiment of the present invention. System, including:
用户终端, 用于通过 IMS网络获取 P2P网络附着信息, 根据所述网络附 着信息附着到 P2P网络; a user terminal, configured to acquire P2P network attachment information through an IMS network, and attach the information to the P2P network according to the attached information of the network;
P2P附着信息提供功能 pBoot, 用于为所述 UE提供 P2P网络附着信息; 附着功能 BootS , 用于通过 IMS网络与所述用户终端交互, 让所述 UE附 着到 P2P网络。 The P2P attaching information providing function pBoot is configured to provide the P2P network attaching information to the UE. The attaching function is used to interact with the user terminal through the IMS network, and the UE is attached to the P2P network.
本发明实施例提供的一种基于 IP多媒体子系统的终端获取 IPTV内容的方 法, 包括: A method for acquiring IPTV content by a terminal based on an IP multimedia subsystem according to an embodiment of the present invention includes:
用户终端通过 IMS网络获取对等 P2P网络附着信息; The user terminal obtains peer P2P network attachment information through the IMS network.
根据所述对等网络附着信息附着到 P2P网络; Attaching to the P2P network according to the peer-to-peer network attachment information;
利用对等机制从对等节点中获取所请求的 IPTV内容。 The requested IPTV content is obtained from the peer node using a peer-to-peer mechanism.
本发明实施例提供的一种基于 IP多媒体子系统网络电视系统, 包括: 用户终端, 用于通过 IMS网络获取 P2P网络附着信息, 根据所述 P2P网 络附着信息附着到 P2P网络; 利用对等机制从对等节点中获取所请求的 IPTV 内容; The network television system based on the IP multimedia subsystem provided by the embodiment of the present invention includes: a user terminal, configured to acquire P2P network attachment information through an IMS network, and attach the P2P network attachment information to the P2P network according to the P2P network; Obtaining the requested IPTV content from the peer node;
P2P附着信息提供功能 pBoot, 用于提供所述 UE所处区域对应的 P2P网 络附着信息; The P2P attachment information providing function pBoot is configured to provide P2P network attachment information corresponding to the area where the UE is located;
附着功能 BootS, 用于通过 IMS网络与所述用户终端交互, 提供所述 UE 所处区域内的对等节点信息。 The attaching function is used to interact with the user terminal through the IMS network to provide peer node information in the area where the UE is located.
本发明实施例提供的一种用户终端, 包括: A user terminal provided by an embodiment of the present invention includes:
附着信息获取单元, 用于通过 IMS网絡获取 P2P网络附着信息; 附着单元, 用于根据所述 P2P网络附着信息附着到 P2P网络。 An attaching information acquiring unit, configured to acquire P2P network attaching information by using an IMS network, and an attaching unit, configured to attach to the P2P network according to the P2P network attaching information.
本发明实施例提供的一种 P2P附着信息提供功能 pBoot实体, 包括: 接收单元, 用于接收来自请求方的 P2P附着请求或第三方注册请求; 信息提供单元, 用于根据所述请求提供 P2P网络附着信息。 A P2P-attached information providing function pBoot entity provided by the embodiment of the present invention includes: a receiving unit, configured to receive a P2P attach request or a third-party registration request from a requesting party; and an information providing unit, configured to provide a P2P network according to the request Attach information.
本发明实施例提供的一种 P2P附着功能 BootS实体, 包括: A P2P attaching function BootS entity provided by the embodiment of the present invention includes:
附着单元, 用于与用户终端交互, 使所述用户终端附着到 P2P网络上; 信息提供单元, 用于为所述 UE提供其所处区域内的对等节点信息。 应用本发明实施例提供的附着到对等网络的方法、 系统和装置, 实现了通 过 IMS网络附着到 P2P网络, 使得 UE之间的 P2P流量限制在一个局部, 而 不会出现无序的域间流量, 因而避免了网络拥塞及业务效果不稳定的情况。 An attaching unit, configured to interact with the user terminal, to connect the user terminal to the P2P network, and an information providing unit, configured to provide the UE with peer node information in an area in which the UE is located. The method, system and device for attaching to a peer-to-peer network provided by the embodiments of the present invention are implemented The IMS network is attached to the P2P network, so that the P2P traffic between the UEs is restricted to a local area without disordered inter-domain traffic, thus avoiding network congestion and unstable service effects.
应用本发明实施例提供的获取 IPTV 内容的方法、 系统和装置, 使得 UE 可以通过 UE间的 P2P方式下载, 达到了减轻媒体服务器负载, 降低系统投资 的目的。 由于本发明实施例中按 UE所处区域向 UE提供可用的 P2P网络附着 信息, 从而将 UE按区域划分开, 使得 UE之间的 P2P流量限制在一个局部, 而不会出现无序的域间流量, 因而避免了网络拥塞及业务效果不稳定的情况。 并且, 通过 UE间 P2P方式的下载, 达到了减轻 CDN网络负载, 降低了系统 投资的效果。 The method, system and device for acquiring IPTV content provided by the embodiments of the present invention enable the UE to download through the P2P mode between the UEs, thereby reducing the load on the media server and reducing the system investment. In the embodiment of the present invention, the available P2P network attachment information is provided to the UE according to the area where the UE is located, so that the UE is divided according to the area, so that the P2P traffic between the UEs is restricted to one part, and the unordered inter-domain does not occur. Traffic, thus avoiding network congestion and unstable business conditions. Moreover, through the P2P mode download between UEs, the CDN network load is reduced, and the system investment is reduced.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例和现有技术中的技术方案,下面将对实施 例和现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the embodiments of the present invention and the technical solutions in the prior art, the drawings used in the embodiments and the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1是现有的通过不同的接入网接入 IMS IPTV系统的场景示意图; 图 2是 TISPAN基于 IMS定义的 IPTV架构; FIG. 1 is a schematic diagram of a scenario in which an existing IMS IPTV system is accessed through different access networks; FIG. 2 is a IMS architecture defined by TISPAN based on IMS;
图 3是 Open IPTV forum规范中所釆用的 CDN; Figure 3 is the CDN used in the Open IPTV forum specification;
图 4是根据本发明实施例的基于 IMS的 IPTV系统的逻辑结构示意图; 图 5是根据本发明实施例的基于 IMS的 IPTV系统的部署示意图; 图 6是根据本发明实施例的 UE获取 P2P网络附着信息的流程图; 图 7是根据本发明实施例的以 pull方式获取 P2P网络附着信息的流程图; 图 8是根据本发明实施例的以 push方式获取 P2P网络附着信息的流程图; 图 9是根据本发明实施例的 UE获取 IPTV内容的流程图; 4 is a schematic diagram of a logical structure of an IMS-based IPTV system according to an embodiment of the present invention; FIG. 5 is a schematic diagram of deployment of an IMS-based IPTV system according to an embodiment of the present invention; FIG. 6 is a schematic diagram of a UE acquiring a P2P network according to an embodiment of the present invention; FIG. 7 is a flowchart of obtaining P2P network attachment information in a pull manner according to an embodiment of the present invention; FIG. 8 is a flowchart of acquiring P2P network attachment information in a push manner according to an embodiment of the present invention; Is a flowchart of acquiring, by the UE, IPTV content according to an embodiment of the present invention;
图 10a是根据本发明实施例的一 UE的结构示意图; FIG. 10a is a schematic structural diagram of a UE according to an embodiment of the present invention; FIG.
图 10b是根据本发明实施例的另一 UE的结构示意图; FIG. 10b is a schematic structural diagram of another UE according to an embodiment of the present invention; FIG.
图 11是根据本发明实施例的 pBoot的结构示意图; 11 is a schematic structural diagram of a pBoot according to an embodiment of the present invention;
图 12是根据本发明实施例的 BooSt的结构示意图。 具体实施方式 FIG. 12 is a schematic structural view of a BooSt according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative work are within the scope of the present invention.
图 4是根据本发明实施例的基于 IMS的 IPTV系统的逻辑结构示意图。其中, UE 401 , IMS核心网 (IMScore ) 402, 应用服务器 (AS ) 403是 3GPP所定义 的 IMS系统中的现有功能, 其中 TISP AN IMS IPTV中的 SCF就是这里的 AS , 而 Open IPTV forum IPTV架构中的 IPTV control也相当于这里的 AS。 4 is a schematic diagram showing the logical structure of an IMS-based IPTV system according to an embodiment of the present invention. The UE 401, the IMS core network (IMScore) 402, and the application server (AS) 403 are existing functions in the IMS system defined by the 3GPP, wherein the SCF in the TISP AN IMS IPTV is the AS here, and the Open IPTV forum IPTV The IPTV control in the architecture is also equivalent to the AS here.
P2P附着信息提供功能 pBoot 404, 用于通过 IMS为用户终端提供 P2P网络 附着信息; P2P attachment information providing function pBoot 404, which is used for providing P2P network attachment information to user terminals through IMS;
P2P附着功能 BootS 405, 用于登记附着到该区域的 P2P节点; 包括登记 UE 以及可选的区域 MS信息; 可以为 UE提供其它的对等节点信息; P2P attachment function BootS 405, configured to register a P2P node attached to the area; including a registration UE and optional regional MS information; may provide other peer node information for the UE;
媒体节点 ( MS, MediaStation ) 406, 具有媒体存储和交付功能, 可以向 UE提供内容。 同时, MS也可以可选的作为 P2P网络中的一个节点, 向 UE以 P2P 方式提供内容。 The Media Node (MS, MediaStation) 406, with media storage and delivery capabilities, can provide content to the UE. At the same time, the MS can also optionally serve as a node in the P2P network to provide content to the UE in P2P mode.
TISPAN架构中的 MF (具体分为 MCF和 MDF ) 可以实现这里 MS的功能。 Open IPTV forum架构中的 CC和 CDF可以实现这里的 MS功能。 The MF (specifically divided into MCF and MDF) in the TISPAN architecture can implement the functions of the MS here. The CC and CDF in the Open IPTV forum architecture can implement the MS functions here.
综上, 用户终端(UE ) 401 , 相互之间可以以 P2P方式进行内容共享交互; 可选的, 也可以以 P2P方式从 MS获取内容。 In summary, the user terminal (UE) 401 can perform content sharing interaction with each other in a P2P manner; optionally, the content can also be obtained from the MS in a P2P manner.
下面对图 4中的接口进行说明: The interface in Figure 4 is explained below:
ISC、 Gm为 3GPP所定义的 IMS系统中的现有接口。 ISC and Gm are existing interfaces in the IMS system defined by 3GPP.
II: IMScore与 pBoot之间的接口, pBoot通过此接口向 UE发送 P2P网络附 着信息。 釆用 SIP协议。 II: Interface between IMScore and pBoot. Through this interface, pBoot sends P2P network attachment information to the UE. Use the SIP protocol.
12: IMScore和 MS之间的接口, 此接口用于 IMScore与 MS之间直接的信令 交互; IMScore可以通过此接口向 MS直接发送内容请求。 此接口采用 SIP协议。 12: Interface between IMScore and MS, this interface is used for direct signaling interaction between IMScore and MS; IMScore can send content request directly to MS through this interface. This interface uses the SIP protocol.
13 , MS与 BootS之间的接口; 此接口为可选。 在 MS可以作为 P2P节点向 UE 提供内容时, MS通过此接口向 BootS发送对等节点登记信息。 14, UE与 BootS之间的接口; UE通过此接口附着到 P2P网络。在 UE获得 P2P 网络附着信息后, UE通过此接口向 BootS登记自身。 在采用目录式 P2P架构时, UE在获取内容时与 BootS交互内容状态信息。 13, the interface between MS and BootS; this interface is optional. When the MS can serve as a P2P node to provide content to the UE, the MS sends the peer node registration information to the BootS through the interface. 14. An interface between the UE and the BootS; the UE is attached to the P2P network through the interface. After the UE obtains the P2P network attachment information, the UE registers itself with the BootS through this interface. When the directory P2P architecture is adopted, the UE interacts with the BootS to exchange content status information when acquiring content.
15, MS与 UE之间的接口; MS可以按现有 C/S方式与 UE交互内容; 或者 MS也可以通过此接口与 UE进行 P2P方式的内容交互。 The interface between the MS and the UE; the MS can interact with the UE in the existing C/S mode; or the MS can perform P2P content interaction with the UE through the interface.
16, UE之间的接口, 此接口用于进行 P2P节点间的信令和数据交互, 具体 协议取决于采用的 P2P机制, 本发明对此不作限定。 The interface between the UEs is used to perform the signaling and data interaction between the P2P nodes. The specific protocol depends on the P2P mechanism used, which is not limited by the present invention.
为了对上述逻辑结构进一步清晰说明, 如图 5给出一个部署示意图。 参见 图 5 , 将 UE按接入位置不同划分到不同的区域中, 在每一个区域中部署 BootS; 另外, MS也可以按区域部署, 从而就近为 UE提供内容。 当 UE附着到 IMS网络 时, 作为 IMS服务之一, pBoot可以为 UE指定特定区域的 BootS , 从而可以将 UE按区域接入到不同的 P2P网络。 需要说明的是, 图 5仅是一个部署示意图, 省略了一些不影响发明思想的连接; 实际部署情况应满足图 4所示逻辑结构。 In order to further clearly illustrate the above logical structure, a deployment diagram is shown in FIG. Referring to FIG. 5, the UE is divided into different areas according to different access locations, and BootS is deployed in each area. In addition, the MS may also be deployed by area to provide content for the UE. When the UE is attached to the IMS network, as one of the IMS services, the pBoot can specify the BootS of the specific area for the UE, so that the UE can be connected to different P2P networks by region. It should be noted that FIG. 5 is only a deployment diagram, and some connections that do not affect the inventive idea are omitted; the actual deployment situation should satisfy the logical structure shown in FIG.
参见图 4和图 5 , 本发明从逻辑上包括以下几个方面: Referring to Figures 4 and 5, the present invention logically includes the following aspects:
一、 UE附着到 P2P网络: 当 UE附着到 IMS网络后, 附着到 P2P网络可以描 述为两个基本步骤: 1. The UE is attached to the P2P network: When the UE is attached to the IMS network, attaching to the P2P network can be described as two basic steps:
步骤 1 , P2P附着信息提供功能 pBoot通过 IMS向 UE发送 P2P网络附着信息。 这里, pBoot根据 UE的位置信息, 确定为用户服务的 BootS; 相关信息表述为 P2P网络附着信息。 向 UE发送 P2P网络附着信息可以有几种基本情况: Step 1: P2P attachment information providing function pBoot sends P2P network attachment information to the UE through the IMS. Here, the pBoot determines the BootS serving as the user according to the location information of the UE; the related information is expressed as the P2P network attachment information. There are several basic situations in which P2P network attachment information can be sent to the UE:
情形 1 , 当 UE注册到 IMS网络后, IMS可以代替 UE向 pBoot作第三方注册。 第三方注册完成后, pBoot可以基于业务配置向 UE发送 P2P网络附着信息; 情形 2 , 当 UE注册到 IMS网络后, UE可以向 pBoot发送 SIP订阅 ( SIP subscribe )请求, 而 pBoot则以 SIP通知 ( SIP notify )请求向 UE发送 P2P网络附 着信息。 Case 1: After the UE registers with the IMS network, the IMS can perform third-party registration with pBoot instead of the UE. After the third-party registration is completed, the pBoot may send the P2P network attachment information to the UE based on the service configuration. In case 2, after the UE registers with the IMS network, the UE may send a SIP subscribe request to the pBoot, and the pBoot sends a SIP notification ( SIP notify) Request to send P2P network attachment information to the UE.
情形 3, 当 UE发起 IPTV业务请求时, 应用服务器或者 MS在业务响应中为 Case 3: When the UE initiates an IPTV service request, the application server or the MS is in the service response.
UE提供 P2P网络附着信息。 The UE provides P2P network attachment information.
上述 pBoot向 UE发送的 P2P网络附着信息可以包括<?2卩协议、 版本、 附着 服务器地址、 端口、 连接密钥 (p2p— master_key ) >等, 因此, 上述 P2P网络附 着信息是与 UE所在区域对应的; 在上述情形 1 , 2中, 为了在 SIP协议中携带 P2P网络附着信息, 可以定义特 定的 MIME类型如 < application/p2pBootInfo+xml > , 并以可扩展标记语言 ( XML )具体定义 schmea以描述可以携带的信息。 此信息可以携带在 SIP的消 息体中, 如以 content-type application/p2pBootInfo+xml头指示 SIP消息体携带了 P2P网络附着信息。 按照此思路提供的一个 schema示例如下: The P2P network attachment information sent by the pBoot to the UE may include a protocol, a version, an attached server address, a port, a connection key (p2p_master_key), and the like. Therefore, the P2P network attachment information is corresponding to the area where the UE is located. of; In the above cases 1, 2, in order to carry P2P network attachment information in the SIP protocol, a specific MIME type such as <application/p2pBootInfo+xml> may be defined, and schmea is specifically defined in an Extensible Markup Language (XML) to describe that it can be carried. Information. This information can be carried in the message body of the SIP. For example, the content-type application/p2pBootInfo+xml header indicates that the SIP message body carries the P2P network attachment information. An example of a schema provided by this idea is as follows:
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xs: schema xmlns:xs="http:〃 www.w3.org/2001/XMLSchema" <xs: schema xmlns:xs="http:〃 www.w3.org/2001/XMLSchema"
elementFormDefault= "qualified " attributeFormDefault= "unqualified " > elementFormDefault= "qualified " attributeFormDefault= "unqualified " >
<xs:element name="P2PBoot" type="PBootType"> <xs:element name="P2PBoot" type="PBootType">
<xs:annotation> <xs:annotation>
<xs :documentation> Helper infomation for UE p2p boot from IMS</xs: documentation> <xs :documentation> Helper infomation for UE p2p boot from IMS</xs: documentation>
</xs:annotation> </xs:annotation>
</xs:element> </xs:element>
<xs:complexType name="PBootType"> <xs:complexType name="PBootType">
<xs:sequence> <xs:sequence>
<xs:element name="BootInfo" maxOccurs="unbounded"> <xs:element name="BootInfo" maxOccurs="unbounded">
<xs: complexType> <xs: complexType>
<xs:sequence> <xs:sequence>
<xs:element name="ProtocolName" type="xs:string"/> <xs:element name="ProtocolName" type="xs:string"/>
<xs:element name= "Description" <xs:element name= "Description"
type="MultilingualType"/> Type="MultilingualType"/>
<xs:element name="Version"> <xs:element name="Version">
<xs:simpleType> <xs:simpleType>
<xs (restriction base="xs:string"/> <xs (restriction base="xs:string"/>
</xs: simpleTypo </xs: simpleTypo
</xs:element> </xs:element>
<xs : element name= ' ' BootServerlnfo ' ' <xs : element name= ' ' BootServerInfo ' '
maxOccurs="unbounded"> <xs: complexType> maxOccurs="unbounded"> <xs: complexType>
<xs:sequence> <xs:sequence>
<xs:element name="AddressInfo"> <xs:element name="AddressInfo">
<xs: complexType> <xs: complexType>
<xs:choice> <xs:choice>
<xs:sequence> <xs:sequence>
<xs:element <xs:element
name="Location"> Name="Location">
<xs:simpleType> <xs:simpleType>
<xs: restriction base="xs :anyURI"/> <xs: restriction base="xs :anyURI"/>
</xs: simpleTypo </xs: simpleTypo
</xs:element> </xs:element>
<xs:any namespace="##other processContents="lax"/> <xs:any namespace="##other processContents="lax"/>
</xs:sequence> </xs:sequence>
<xs:sequence> <xs:sequence>
<xs:element <xs:element
name="Ip Version" type="IpVersionType" minOccurs="0"/> Name="Ip Version" type="IpVersionType" minOccurs="0"/>
<xs:element <xs:element
name= "TransportType " > Name= "TransportType " >
<xs: simpleTypo <xs: simpleTypo
<xs (restriction base="xs:string"/> <xs (restriction base="xs:string"/>
</xs: simpleTypo </xs: simpleTypo
</xs:element> </xs:element>
<xs:element <xs:element
name="BootServer Address" type="xs:string"/> Name="BootServer Address"type="xs:string"/>
7>cusve vaue0 <s:minlnlilx="7>cusve vaue0 <s:minlnlilx="
g>cto basesteer <sestriinx inx r= "-- g>cto basesteer <sestriinx inx r= "--
ypgedsot7vot tes :ushraeootseveprxnin nmBrr==""-- t <s:eeexlmn <xs:maxlnclusive value="255"/> Ypgedsot7vot tes :ushraeootseveprxnin nmBrr==""-- t <s:eeexlmn <xs:maxlnclusive value="255"/>
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
<xs:complexType name="MultilingualType"> <xs:complexType name="MultilingualType">
<xs :simpleContent> <xs :simpleContent>
<xs:extension base="xs: string "> <xs:extension base="xs: string ">
<xs:attribute name= "Language " type= ' ' LanguageType use="required"/> <xs:attribute name= "Language " type= ' ' LanguageType use="required"/>
</xs:extension> </xs:extension>
</xs :simpleContent> </xs :simpleContent>
</xs:complexType> </xs:complexType>
<xs:simpleType name="LanguageType"> <xs:simpleType name="LanguageType">
<xs:annotation> <xs:annotation>
<xs :documentation> <xs :documentation>
definition xml:lang="en">ISO 639-2 Language code</definition> Definition xml:lang="en">ISO 639-2 Language code</definition>
</xs :documentation> </xs :documentation>
</xs:annotation> </xs:annotation>
<xs: restriction base="xs:string"> <xs: restriction base="xs:string">
<xs:minLength value="3"/> <xs:minLength value="3"/>
<xs:maxLength value="3"/> <xs:maxLength value="3"/>
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
<xs:complexType name="ExtensionType"> <xs:complexType name="ExtensionType">
<xs:sequence> <xs:sequence>
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:schema> 情形 3中的 P2P网络附着信息则可以按情形 1 , 2所述形式进行携带,也可以 通过扩展会话描述协议 (SDP )协议进行携带。 </xs:complexType> </xs:schema> The P2P network attachment information in Case 3 may be carried in the form described in Cases 1 and 2, or may be carried by the Extended Session Description Protocol (SDP) protocol.
步骤 2, UE与 P2P附着功能 BootS交互, 附着到 P2P网络。 Step 2: The UE interacts with the P2P attachment function BootS and attaches to the P2P network.
UE在获得 P2P网络附着信息后, 用附着信息指定的 P2P协议与 BootS交互; BootS作为 UE加入 P2P网络联系的首个节点, 为其提供可用的其它对等节点 ( peers ) 的信息; After obtaining the P2P network attachment information, the UE interacts with the BootS by using the P2P protocol specified by the attachment information; the BootS joins the first node of the P2P network connection as the UE, and provides the other peer information of the peer nodes;
在 UE与 BootS交互时, pBoot为 UE提供的连接密钥 p2p_master_key可以作 为根密钥, 直接用于 BootS与 UE之间, 和 /或 UE与 UE之间的 P2P交互的验证; 也可以根据该根密钥产生衍生密钥用于相关过程。如 BootS可以与 UE之间基于 p2p— master— key进行连接验证, 在通过验证后 BootS为 UE产生衍生密钥 token , 该密钥 token用于后续 UE间连接时的连接验证; When the UE interacts with the BootS, the connection key p2p_master_key provided by the pBoot for the UE can be used as the root key, and can be directly used for verifying the P2P interaction between the BootS and the UE, and/or between the UE and the UE. The key generation derivative key is used in the related process. For example, the BootS can perform connection verification with the UE based on the p2p-master_key. After the verification, the BootS generates a derived key token for the UE, and the key token is used for connection verification when the UE is connected.
BootS只向区域内 UE传递区域内 UE对等信息,这样同区域 UE之间的数据 交互将被限制在区域内, 避免了跨区域的 P2P数据流量; The BootS only transmits the UE peer information in the area to the intra-area UE, so that the data interaction between the UEs in the same area is restricted to the area, and the P2P data traffic across the area is avoided.
二、 UE使用 P2P方式获取内容; 在附着到 P2P网络后, UE借助 P2P技术进 行内容的获取。 本发明对所采用的具体 P2P协议不作限定。 2. The UE obtains the content by using the P2P method; after attaching to the P2P network, the UE obtains the content by using the P2P technology. The present invention does not limit the specific P2P protocol used.
BootS登记有所有对等节点的信息: BootS registers information about all peer nodes:
对于具有目录服务器的 P2P结构而言, BootS作为目录服务器, 当 UE在参 与内容获取时, 其使用 P2P现有 tracker协议与 BootS交互, 交互当前正被获取内 容的信息。 当有新 UE参与到内容获取时 , 其从 BootS获取内容信息。 For a P2P structure with a directory server, the BootS functions as a directory server. When the UE participates in content acquisition, it uses the P2P existing tracker protocol to interact with the BootS to exchange information about the content being acquired. When a new UE participates in content acquisition, it acquires content information from the BootS.
对于 DHT结构的 P2P网络而言, BootS只负责向 UE提供其它节点的信息, 这些节点将用于 UE获取更多其它节点的信息; 在内容获取过程中, UE可以不 再与 BootS交互。 For the P2P network of the DHT structure, the BootS is only responsible for providing the UE with information of other nodes, and these nodes will be used for the UE to acquire information of more other nodes; during the content acquisition process, the UE may no longer interact with the BootS.
在采用 P2P进行内容获取过程中, MS可以按两种机制工作: In the process of content acquisition using P2P, MS can work in two mechanisms:
UE从 MS按现有业务方式获取内容。 此方式下, UE从 BootS或其它对等节 点查询获取同一内容的 peers信息, UE所需内容可以从 MS以及其它 UEs同时获 取; 由 UE根据需要决定从何处以及获取哪一部分的内容; The UE obtains content from the MS according to the existing service mode. In this manner, the UE obtains the peers information of the same content from the BootS or other peer node query, and the content required by the UE can be obtained from the MS and other UEs at the same time; the UE determines the location and the content of the part according to the need;
MS作为对等节点注册到 BootS, 并通过 P2P机制向 UE提供服务; 此时, 在 IMS业务过程中返回 MS作为 peer的信息, 此信息可以通过 SDP扩 展加以描述。 而 UE通过 P2P机制从 BootS或其它节点获得获取同一内容的更多 对等节点的信息; UE据此进行内容获取。 The MS registers as a peer node to the BootS and provides services to the UE through the P2P mechanism. At this time, the MS is returned as the information of the peer in the IMS service process, and this information can be described by the SDP extension. The UE obtains information of more peer nodes acquiring the same content from the BootS or other nodes through the P2P mechanism; the UE performs content acquisition accordingly.
为了有效降低 MS的负荷以及考虑可靠性,在 BootS登记的对等节点信息中 增加可靠性指示。 其取值可以为 (0,1] , 表示节点的可靠性大于等于 0, 小于 1。 在设置时 MS可靠性设置为高于 UE,并可以最高达到 [1]。 UE在附着到 BootS时, 也同时传送可靠性信息。 当 UE进行内容获取时, 对于用户所请求内容的初始 部分, UE优先从 MS进行获取; 对于后续部分, UE在具有所需内容的对等节点 中进行随机选择获取内容, 若获取内容失败, 则可以依据可靠性指标选择 MS 获取内容; 以避免增大获取延时。 In order to effectively reduce the load of the MS and consider reliability, a reliability indication is added to the peer node information registered by the BootS. The value can be (0,1), indicating that the reliability of the node is greater than or equal to 0, less than 1. The MS reliability is set higher than the UE when set, and can reach up to [1]. When the UE is attached to the BootS, The reliability information is also transmitted at the same time. When the UE performs content acquisition, the UE preferentially acquires from the MS for the initial part of the content requested by the user; for the subsequent part, the UE randomly selects the content in the peer node with the required content. If the content fails to be obtained, the MS can be selected according to the reliability indicator; to avoid increasing the acquisition delay.
对 TISPAN架构而言, pBoot和 BootS都为逻辑功能, 其中 pBoot功能可以由 SDF实现, BootS可以和 MF (包括 MCF和 MDF )或者仅由 MCF实现。 For the TISPAN architecture, both pBoot and BootS are logical functions, where the pBoot function can be implemented by SDF, BootS can be implemented with MF (including MCF and MDF) or only by MCF.
对于 Open IPTV fomm架构而言, pBoot和 BootS都为逻辑功能, 其中 pBoot 功能可以由 IPTV service Disco very实现; BootS则可以由 CDNC或者 CC实现。 For the Open IPTV fomm architecture, both pBoot and BootS are logical functions, where the pBoot function can be implemented by the IPTV service Disco very; the BootS can be implemented by the CDNC or CC.
本发明实施例不限制采用的 P2P拓朴。 The embodiment of the present invention does not limit the P2P topology adopted.
对于中心化 P2P结构而言, BootS可以作为目录服务器; For a centralized P2P structure, BootS can act as a directory server;
对于 DHT结构 P2P而言, BootS也可以单纯作为 DHT启动的首个节点, 帮 助 UE加入 DHT网络; 后续 UE之间的 P2P交互可以不依赖于 BootS; For the DHT structure P2P, the BootS can also be used as the first node of the DHT to help the UE join the DHT network; the P2P interaction between the subsequent UEs can be independent of the BootS;
理论上, UE可以从不同的 MS获得内容而不限于本地域的 MS , 这一点保 持与现有标准一致; 方案只是限制 P2P流量于本地域; In theory, the UE can obtain content from different MSs without being limited to the MS of the local domain, which is consistent with the existing standards; the scheme only restricts P2P traffic to the local domain;
参见图 4和图 5 , 本发明提供的一种基于 IP多媒体子系统网絡电视系统, 包括: 用户终端 401 , 用于通过 IMS 网络获取自身所处区域对应的 P2P网络 附着信息, 根据所述 P2P网络附着信息附着到 P2P网络; 利用对等机制从所 处区域内的对等节点中获取所请求的 IPTV内容; Referring to FIG. 4 and FIG. 5, the present invention provides an IP-based multimedia subsystem network television system, including: a user terminal 401, configured to acquire, by using an IMS network, P2P network attachment information corresponding to an area in which the area is located, according to the P2P network. Attaching information to the P2P network; utilizing a peer-to-peer mechanism to obtain the requested IPTV content from a peer node in the area;
P2P附着信息提供功能 pBoot 404 ,用于提供所述 UE所处区域对应的 P2P 网络附着信息; The P2P attachment information providing function pBoot 404 is configured to provide P2P network attachment information corresponding to the area where the UE is located;
附着功能 BootS 405, 用于通过 IMS网络与所述用户终端交互, 提供所述 UE所处区域内的对等节点信息。 The attaching function BootS 405 is configured to interact with the user terminal through the IMS network, and provide peer node information in an area where the UE is located.
上述系统, 还包括: 应用服务器 403, 用于通过 IMS网络接收来自所述用 户终端的 IPTV业务请求, 根据业务逻辑将所述 IPTV业务请求发送至媒体节 点; 所述 IPTV业务请求中包含所述用户终端所请求内容的内容标识; The system further includes: an application server 403, configured to receive, by using, the IMS network The IPTV service request of the user terminal sends the IPTV service request to the media node according to the service logic; the IPTV service request includes the content identifier of the content requested by the user terminal;
媒体节点 406, 用于在所述媒体节点不是对等网络中的一个节点时, 根据 所述内容标识向用户终端提供所需的 IPTV内容。 The media node 406 is configured to provide the required IPTV content to the user terminal according to the content identifier when the media node is not a node in the peer-to-peer network.
上述 UE所处区域内的对等节点包括所述区域内的其他 UE; 或者, 上述 UE所处区域内的对等节点包括所述区域内的其他 UE以及已经附着 到所述 P2P网络的媒体节点。 The peer node in the area where the UE is located includes other UEs in the area; or the peer node in the area where the UE is located includes other UEs in the area and media nodes that have been attached to the P2P network .
上述 P2P附着信息提供功能 pBoot由 TISPAN IMS IPTV架构中的 SDF实 现, 所述附着功能 BootS由 TISPAN IMS IPTV架构中的 MF实现, 或由 MF 中的 MCF实现; 或者, The P2P attach information providing function pBoot is implemented by the SDF in the TISPAN IMS IPTV architecture, and the attaching function BootS is implemented by the MF in the TISPAN IMS IPTV architecture, or by the MCF in the MF; or
上述 P2P附着信息提供功能 pBoot由 Open IPTV forum IPTV架构中的 IPTV service Discovery实现, 所述附着功能 BootS由 Open IPTV forum IPTV 架构中的 CDNC或 CC实现。 The P2P attach information providing function pBoot is implemented by the IPTV service Discovery in the Open IPTV forum IPTV architecture, and the attach function BootS is implemented by the CDNC or CC in the Open IPTV forum IPTV architecture.
可以理解, 本发明实施例还提供了一种基于 IP多媒体子系统的终端附着 到对等网络的系统, 包括: It is to be understood that the embodiment of the present invention further provides a system for attaching a terminal based on an IP multimedia subsystem to a peer-to-peer network, including:
用户终端, 用于通过 IMS网絡获取 P2P网络附着信息, 根据所述网絡附 着信息附着到 P2P网络; a user terminal, configured to acquire P2P network attachment information through an IMS network, and attach the information to the P2P network according to the attached information of the network;
P2P附着信息提供功能 pBoot, 用于为所述 UE提供 P2P网络附着信息; 附着功能 BootS , 用于通过 IMS网络与所述用户终端交互, 让所述 UE附 着到 P2P网络。 The P2P attaching information providing function pBoot is configured to provide the P2P network attaching information to the UE. The attaching function is used to interact with the user terminal through the IMS network, and the UE is attached to the P2P network.
所述 P2P附着信息提供功能 pBoot由 TISPAN IMS IPTV架构中的 SDF实 现, 所述附着功能 BootS由 TISPAN IMS IPTV架构中的 MF实现, 或由 MF 中的 MCF实现;或者,所述 P2P附着信息提供功能 pBoot由 Open IPTV forum IPTV架构中的 IPTV service Discovery实现,所述附着功能 BootS由 Open IPTV forum IPTV架构中的 CDNC或 CC实现。 The P2P attach information providing function pBoot is implemented by the SDF in the TISPAN IMS IPTV architecture, and the attach function BootS is implemented by the MF in the TISPAN IMS IPTV architecture, or by the MCF in the MF; or the P2P attach information providing function pBoot is implemented by the IPTV service Discovery in the Open IPTV forum IPTV architecture, which is implemented by CDNC or CC in the Open IPTV forum IPTV architecture.
与此同时, 本发明实施例还提供了一种用户终端, 参见图 10a, 包括: 附着信息获取单元 1001 , 用于通过 IMS网络获取 P2P网络附着信息; 附着单元 1002, 用于根据所述网络附着信息附着到 P2P网络。 In the meantime, the embodiment of the present invention further provides a user terminal, as shown in FIG. 10a, including: an attachment information obtaining unit 1001, configured to acquire P2P network attachment information through an IMS network; and an attaching unit 1002, configured to attach according to the network Information is attached to the P2P network.
下面结合具体流程对本发明再做详细说明。 参见图 6, 其是根据本发明实施例的 UE获取 P2P网络附着信息的流程图。 步骤 1 , UE使用 SIP协议发送 P2P网络附着信息请求; 其中可以携带 UE作 为对等 (peer ) 节点时的描述信息, 如对等节点标识 peer-id, 地址、 端口等。 The present invention will be further described in detail below with reference to specific procedures. Referring to FIG. 6, which is a flowchart of a UE acquiring P2P network attachment information according to an embodiment of the present invention. Step 1: The UE sends a P2P network attach information request by using the SIP protocol; where the UE may carry the description information when the UE is used as a peer node, such as the peer node identifier peer-id, address, port, and the like.
步骤 2 , P2P网络附着信息请求经 IMScore转发后发送给 pBoot; Step 2: The P2P network attach information request is forwarded by the IMS core and sent to the pBoot;
这里步骤 1 , 2可以是实际的请求, 也可以是隐式请求, 比如 UE在 IMS网络 注册后, IMS代替其向 pBoot发起第三方注册, 此时第三方注册可以视为隐式 请求; pBoot可以据此发送附着信息, 该实施方式具体见后面实施例。 Here, steps 1 and 2 may be actual requests or implicit requests. For example, after the UE registers with the IMS network, the IMS initiates a third-party registration with the pBoot instead, and the third-party registration may be regarded as an implicit request; The attachment information is transmitted accordingly, and the embodiment is specifically described in the following embodiments.
步骤 3, pBoot根据用户的位置信息确定其所在的区域, 并为其指定附着服 务器; 这里用户的位置信息可以由 UE发起请求时携带, 也可以由 pBoot主动从 网络其它实体收集得到。 Step 3: The pBoot determines the area in which the user is located according to the location information of the user, and specifies an attach server for the user. The location information of the user may be carried by the UE when the request is initiated, or may be collected by other entities on the network by the pBoot.
步骤 4~5, pBoot使用 SIP协议向 UE发送 P2P网络附着信息, 其中可以携带 <P2P协议、 版本、 附着服务器地址、 端口、 连接密钥 (p2p_master_key ) >等; 至此, UE通过 IMS网络获取自身所处区域对应的 P2P网絡附着信息。 In the step 4 to 5, the pBoot sends the P2P network attachment information to the UE by using the SIP protocol, which can carry the <P2P protocol, version, attached server address, port, and connection key (p2p_master_key) >, etc. P2P network attachment information corresponding to the area.
步骤 6, UE根据 pBoot提供的 P2P网络附着信息, 请求加入 P2P网络即实际 的 p2p网络附着, 在与 BootS交互时可以基于 p2p— master_key进行身份验证, 以 表明自身为合法 IMS IPTV用户; 另夕卜, UE还可以在加入请求中携带节点可靠 性信息, 此可靠性取值介于 (0,1]之间, 取值越大, 表示可靠性越高。 Step 6: The UE requests to join the P2P network, that is, the actual p2p network attachment according to the P2P network attachment information provided by the pBoot. When interacting with the BootS, the UE may perform identity verification based on the p2p-master_key to indicate that it is a legitimate IMS IPTV user; The UE may also carry the node reliability information in the join request, and the reliability value is between (0, 1). The larger the value, the higher the reliability.
步骤 7, BootS向 UE发送附着响应信息, 允许 UE加入; 该响应信息中可以 携带 <根密钥 token, 对等列表(peer— list ) >信息, 其中 token可以用于后续进行 对等连接时的对等节点间验证, peer— list为 UE提供其它节点的信息。 Step 7: The BootS sends an attach response message to the UE, allowing the UE to join; the response information may carry a <root key token, a peer list (peer_list)> information, where the token can be used for subsequent peer-to-peer connections. Peer-to-node verification, peer-list provides the UE with information about other nodes.
至此, UE根据 P2P网络附着信息加入了与 UE所处区域对应的 P2P对等网 络。 So far, the UE joins the P2P peer-to-peer network corresponding to the area where the UE is located according to the P2P network attachment information.
参见图 7, 其是根据本发明实施例的以 pull方式获取 P2P网络附着信息的流 程图。 本实施例基于 TISP AN架构实现, 具体的由 SDF实现 pBoot功能, 由 MF 实现 BootS功能。 基于 OIF的情形类似, 可以简单推出。 Referring to FIG. 7, which is a flowchart of acquiring P2P network attachment information in a pull manner according to an embodiment of the present invention. This embodiment is implemented based on the TISP AN architecture. The pBoot function is implemented by SDF, and the BootS function is implemented by MF. The OIF-based situation is similar and can be easily introduced.
步 1~2, UE注册到 IMS网络后, 通过 IMS网络向 pBoot即 SDF发送 SIP订 阅请求 (SIP SUBSCRIBE ) , 以请求获取 Ρ2Ρ网络附着信息。 其中 SIP事件头 域(event )可以设置为获取 UE配置信息, 如设置 event头为 ue-profile, SIP接受 头域 ( accept ) 可以包含可接受的 P2P网络附着信息的内容类型, 如< application/p2pBootInfo+xml >; Steps 1~2, after the UE registers with the IMS network, the SIP subscription request (SIP SUBSCRIBE) is sent to the pBoot or SDF through the IMS network to request to obtain the network attachment information. The SIP event header field (event) can be set to obtain UE configuration information, such as setting the event header to ue-profile, SIP accepting The header field ( accept ) can contain acceptable content types for P2P network attachment information, such as < application/p2pBootInfo+xml >;
这里示例了 SDF实现 pBoot功能的情形; This example illustrates the case where SDF implements the pBoot function;
步骤 3~4, 若订阅成功, 80? ^80(^ )向1;£返回200 (*成功响应, 该请求 经 IMScore发送给 UE; Steps 3~4, if the subscription is successful, 80?^8 0 (^) to 1; £ returns 200 (*successful response, the request is sent to the UE via IMScore;
步骤 5, SDF ( pBoot )根据 UE的位置信息确定其所在的区域, 并为其指定 附着服务器; 这里用户的位置信息可以由 UE发起请求时携带, 也可以由 SDF ( pBoot ) 主动从网络其它实体收集得到。 Step 5: The SDF (pBoot) determines the area in which the UE is located according to the location information of the UE, and specifies an attach server for the UE. The location information of the user may be carried by the UE when the request is initiated, or may be actively taken from other entities of the network by the SDF (pBoot). Collected.
步骤 6~7 , SDF ( pBoot ) 为 UE产生 SIP NOTIFY通知请求, 其中携带 P2P 网络附着信息; 该信息可以包括<p2p协议、 版本、 附着服务器地址、 端口、 连 接密钥 (p2p_master_key)>等; 此信息具体可以携带在 SIP消息体中, 可以以内 容类型(content-type )为 application/p2pBootInfo+xml表示携带此信息, 信息的 具体形式由 XML shema定义。 该信息经 IMScore发送给 UE; Step 6~7, SDF (pBoot) generates a SIP NOTIFY notification request for the UE, where the P2P network attachment information is carried; the information may include a <p2p protocol, a version, an attached server address, a port, a connection key (p2p_master_key), etc.; The information may be carried in the SIP message body. The information may be carried in the content/type as application/p2pBootInfo+xml. The specific form of the information is defined by XML shema. The information is sent to the UE via the IMScore;
步骤 8~9收到 SIP NOTIFY通知请求后, UE发送 200 ok成功响应给 SDF ( pBoot ) ; 该响应经 IMScore发送给 SDF ( pBoot ) ; After receiving the SIP NOTIFY notification request, the UE sends a 200 ok success response to the SDF ( pBoot ); the response is sent to the SDF ( pBoot ) via the IMS core ;
至此, UE通过 IMS网络获取自身所处区域对应的 P2P网絡附着信息; 步骤 10, 11 , 这两个步骤与图 6所示实施例中步骤 6, 7同, 具体如下: 步骤 10, UE根据 SDF ( pBoot )提供的 P2P网络附着信息请求加入 P2P网络, 在与 BootS交互时可以基于 p2p_master— key进行身份验证, 以表明自身为合法 IMS IPTV用户; 另夕卜, UE还可以在加入请求中携带节点可靠性信息, 此可靠 性取值介于 (0,1]之间, 取值越大, 表示可靠性越高。 The UE obtains the P2P network attachment information corresponding to the area in the IMS network. Steps 10 and 11 are the same as steps 6 and 7 in the embodiment shown in FIG. 6. The details are as follows: Step 10: The UE according to the SDF The P2P network attachment information provided by (pBoot) is requested to join the P2P network. When interacting with the BootS, the P2P_master_key can be used for identity verification to indicate that it is a legitimate IMS IPTV user. In addition, the UE can also carry the node in the join request. Reliability information. This reliability value is between (0, 1). The larger the value, the higher the reliability.
步骤 11 , BootS向 UE发送附着响应信息, 允许 UE加入; 消息中可以携带 <token, peer_list 息, 其中 token可以用于后续进行对等连接时的对等节点间 验证, peer— list为 UE提供其它节点的信息。 Step 11: The BootS sends the attach response information to the UE, and allows the UE to join. The message can carry the <token, peer_list information, where the token can be used for peer-to-peer authentication during the peer-to-peer connection, and the peer-list provides the UE with other Node information.
至此, UE根据 P2P网络附着信息加入了与 UE所处区域对应的 P2P对等网 络。 So far, the UE joins the P2P peer-to-peer network corresponding to the area where the UE is located according to the P2P network attachment information.
参见图 8,其是根据本发明实施例的以 push方式获取 P2P网络附着信息的流 程图。 本实施例基于 TISP AN架构实现, 具体的由 SDF实现 pBoot功能, 由 MF 实现 BootS功能。 基于 OIF的情形类似, 可以简单推出。 步骤 1 , UE发送注册请求到 IMScore; FIG. 8 is a flowchart of obtaining P2P network attachment information in a push manner according to an embodiment of the present invention. This embodiment is implemented based on the TISP AN architecture. The pBoot function is implemented by SDF, and the BootS function is implemented by MF. The situation based on OIF is similar and can be easily introduced. Step 1: The UE sends a registration request to the IMS core.
步骤 2, IMScore完成注册, 并发送确认( 200 ok )成功响应给 UE; Step 2, the IMScore completes the registration, and sends an acknowledgement (200 ok) to the UE;
步骤 3, IMScore匹配 UE业务配置, 并匹配 UE订阅的 SDF即 pBoot; Step 3: The IMS core matches the UE service configuration, and matches the SDF that the UE subscribes to, that is, pBoot;
步骤 4, IMScore发送第三方注册到 SDF, 即 pBoot; Step 4, IMScore sends a third party registration to SDF, ie pBoot;
步骤 5, SDF ( pBoot )获取用 UE注册状态, 并发送 200 ok响应给 IMScore; 步骤 6, SDF ( pBoot )根据 UE的位置信息确定其所在的区域, 并为其指定 附着服务器; 这里用户的位置信息可以由 UE发起请求时携带, 也可以由 pBoot 主动从网络其它实体收集得到。 Step 5: The SDF (pBoot) acquires the registration status of the UE, and sends a 200 ok response to the IMS core. Step 6, the SDF (pBoot) determines the area where the UE is located according to the location information of the UE, and specifies an attachment server for the user; The information may be carried by the UE when the request is initiated, or may be collected by the pBoot from other entities of the network.
步骤 7~8, SDF(pBoot)向UE发送SIP Message消息, 其中携带 P2P网络附着 信息, 该信息可以包括<p2p协议、 版本、 附着服务器地址、 端口、 连接密钥 p2p_master— key>等; 此信息具体可以携带在 SIP消息体中, 可以以 content-type 为 application/p2pBootInfo+xml表示携带此信息,信息的具体形式由 XML shema 定义。 该信息经 IMScore发送给 UE; Steps 7 to 8, the SDF (pBoot) sends a SIP message to the UE, where the P2P network attachment information is carried, and the information may include a <p2p protocol, a version, an attached server address, a port, a connection key p2p_master_key>, and the like; It can be carried in the SIP message body. The information can be carried in the content/type application/p2pBootInfo+xml. The specific form of the information is defined by XML shema. The information is sent to the UE via the IMScore;
步骤 9, 10收到 SIP Message请求后, UE发送 200 ok成功响应给 pBoot; 该 响应经 IMScore发送给 pBoot; After receiving the SIP message request, the UE sends a 200 ok success response to the pBoot; the response is sent to the pBoot via the IMScore;
至此, UE通过 IMS网络获取自身所处区域对应的 P2P网絡附着信息; 步骤 11, 12, 这两个步骤与图 6所示实施例中步骤 6, 7同, 具体如下: 步骤 11 , UE根据 pBoot提供的 P2P网络附着信息请求加入 P2P网络, 在与 BootS交互时可以基于 p2p— master_key进行身份验证, 以表明自身为合法 IMS IPTV用户; 另夕卜, UE还可以在加入请求中携带节点可靠性信息, 此可靠性取 值介于 (0,1]之间, 取值越大, 表示可靠性越高。 At this point, the UE obtains the P2P network attachment information corresponding to the area in which the UE is located in the IMS network. Steps 11, 12 are the same as steps 6 and 7 in the embodiment shown in FIG. 6, and the details are as follows: Step 11: The UE according to the pBoot The P2P network attachment information is requested to be added to the P2P network. When interacting with the BootS, the P2P-master_key can be used for identity verification to indicate that it is a legitimate IMS IPTV user. In addition, the UE can also carry the node reliability information in the join request. The value of this reliability is between (0, 1). The larger the value, the higher the reliability.
步骤 12, BootS向 UE发送附着响应信息, 允许 UE加入; 消息中可以携带 <token, peer_list 息, 其中 token可以用于后续进行对等连接时的对等节点间 验证, peer— list为 UE提供其它节点的信息。 Step 12: The BootS sends the attach response information to the UE, and allows the UE to join. The message can carry the <token, peer_list information, where the token can be used for peer-to-peer authentication during the peer-to-peer connection, and the peer-list provides the UE with other Node information.
至此, UE根据 P2P网络附着信息加入了与 UE所处区域对应的 P2P对等网 络。 So far, the UE joins the P2P peer-to-peer network corresponding to the area where the UE is located according to the P2P network attachment information.
参见图 9 , 其是根据本发明实施例的 UE获取 IPTV内容的流程图。 步骤 1~2, UE-1发送 IPTV业务请求, 请求指定内容, 其中可以携带内容标 识, 另外, 还可以进一步指定待获取内容中的指定位置或时间段; 该请求经 IMScore发送给提供业务的 AS; Referring to FIG. 9, which is a flowchart of a UE acquiring IPTV content according to an embodiment of the present invention. In step 1~2, the UE-1 sends an IPTV service request, requests the specified content, and may carry the content identifier. In addition, the specified location or time period in the content to be acquired may be further specified. The request is sent by the IMScore to the AS providing the service. ;
步骤 3 , AS根据业务逻辑发送内容请求给 MS; Step 3: The AS sends a content request to the MS according to the service logic;
步骤 4, MS向 AS返回内容请求响应; 其中可以携带 MS-info; 其中 MS-info 表示媒体节点的描述信息。 若按前述, MS参与以 P2P方式向 UE-1提供内容, 则 MS-info可以携带表述 MS作为 P2P节点的信息, 如对等节点标识, 内容标识, 对等节点 IP ( peer IP ) , 端口等。 Step 4: The MS returns a content request response to the AS, where the MS-info can be carried; where MS-info represents the description information of the media node. If the MS participates in providing the content to the UE-1 in the P2P mode, the MS-info may carry the information indicating the MS as the P2P node, such as the peer node identifier, the content identifier, the peer IP, the port, and the like. .
另夕卜, 若假定 UE此前未加入 P2P网络, 则 MS还可以携带 P2P网络附着信息 给 UE-1 , 该附着信息包括< 2 协议、 版本、 附着服务器地址、 端口、 连接密 钥 p2p_master— key>等; 具体携带方式可以按图 6、 7实施例中描述的携带方式 在消息体中携带; 或者也可以通过扩展 SDP协议携带。 In addition, if it is assumed that the UE has not joined the P2P network before, the MS may also carry the P2P network attachment information to the UE-1, and the attachment information includes the <2 protocol, the version, the attached server address, the port, and the connection key p2p_master_key> The specific carrying manner may be carried in the message body according to the carrying manner described in the embodiments of FIG. 6 and FIG. 7; or may be carried by extending the SDP protocol.
步骤 5~6, AS向 UE-1发送业务响应, 其中携带媒体节点的描述信息。 可选的, 若 AS假定 UE-1此前未加入 P2P网络, 则 AS还可以携带 P2P网络附 着信息给 UE-1 , 该附着信息包括 2 协议、 版本、 附着服务器地址、 端口、 连接密钥 p2p_master_key>等; 具体携带方式可以按图 6、 7实施例中描述的在 消息体中携带; 或者也可以通过扩展 SDP协议携带。 Step 5-6: The AS sends a service response to the UE-1, where the description information of the media node is carried. Optionally, if the AS assumes that the UE-1 has not joined the P2P network before, the AS may also carry the P2P network attachment information to the UE-1, where the attachment information includes the 2 protocol, the version, the attached server address, the port, and the connection key p2p_master_key> The specific carrying manner may be carried in the message body as described in the embodiments of FIG. 6 and FIG. 7; or may be carried by extending the SDP protocol.
为了避免与 MS冲突, AS在响应消息中加入上述 P2P网络附着信息前可以 检查 MS的响应中是否已经存在上述信息, 若存在, 则不用再次添加; 或者也 可以根据策略删除 MS给出的信息, 而添加 AS存储的附着信息。 具体策略取决 于 AS的实现。 In order to avoid conflicts with the MS, the AS can check whether the information in the response of the MS already exists before adding the P2P network attachment information to the response message. If yes, the AS does not need to add it again; or the information given by the MS may be deleted according to the policy. Add the attachment information stored in the AS. The specific strategy depends on the implementation of AS.
此响应消息经 IMScore发送给 UE-1; This response message is sent to UE-1 via IMScore;
步骤 7, UE-1向 MS发送内容请求;这一步根据具体业务不同可能是可选的, 即可能 UE- 1无须向 MS显式的发送内容请求。 Step 7, UE-1 sends a content request to the MS; this step may be optional according to specific services, that is, UE-1 may not need to explicitly send a content request to the MS.
若 MS以 P2P方式提供内容, 则此请求是 P2P方式的内容获取请求。 If the MS provides content in P2P mode, the request is a P2P content acquisition request.
此后 MS向 UE-1提供所请求的 IPTV内容。 Thereafter the MS provides the requested IPTV content to UE-1.
步骤 8, UE-1向 BootS请求对等节点信息; 若 BootS同时为目录服务器, 则 可以请求下载同一内容的对等节点信息; 若采用 DHT结构, 则只从 BootS请求 有限的可用节点信息, 后续的内容查询请求通过可用节点进行。 步骤 9, BootS向 UE-1返回对等节点信息; Step 8: UE-1 requests peer node information from BootS. If BootS is a directory server at the same time, it may request to download peer node information of the same content. If DHT structure is adopted, only limited available node information is requested from BootS. The content query request is made through the available nodes. Step 9, the BootS returns the peer node information to the UE-1.
步骤 10, UE-1采用 P2P对等协议从其它可用节点请求内容, 包括可用内容 查询, 获取内容等。 在所述步骤中, UE-1获得了 MS和多个 UE的信息, 在获取 内容时, 根据可靠性信息, UE-1对于所请求内容的初始部分, 优先从 MS获取; 对于后续内容, 则从可靠性不高的 UE获取, 当获取失败时, 其再选择可靠性 值较高的 MS进行内容获取。 Step 10: UE-1 requests content from other available nodes by using a P2P peer-to-peer protocol, including available content query, content acquisition, and the like. In the step, the UE-1 obtains the information of the MS and the multiple UEs. When acquiring the content, according to the reliability information, the UE-1 preferentially acquires from the MS for the initial part of the requested content; Obtained from a UE with low reliability. When the acquisition fails, it selects an MS with a higher reliability value for content acquisition.
至此, 用户终端利用对等机制从所处区域内的对等节点中获取所请求的 IPTV内容。 So far, the user terminal utilizes the peer-to-peer mechanism to obtain the requested IPTV content from the peer nodes in the area in which it is located.
此外, 在 UE与 AS的交互过程中, AS或 MS为 UE提供的连接密钥 p2p_master— key可以作为根密钥, 直接用于 BootS与 UE之间, 和 /或 UE与 UE之 间的 P2P交互的验证; 也可以根据该根密钥产生衍生密钥用于相关过程。 如 BootS可以与 UE之间基于 p2p— master— key进行连接验证, 在通过验证后 BootS 为 UE产生衍生密钥 token, 该密钥 token用于后续 UE间连接时的连接验证; 本发明实施例在将 UE之间的 P2P流量限制在一个局部的同时, 由于是通过 IMS网络获取 P2P附着信息, 进而附着到 P2P网络上, 因而避免了互联网 P2P对 于用户普遍缺乏有效的认证机制、 对等节点之间缺乏数据保护机制等缺陷。 In addition, during the interaction between the UE and the AS, the connection key p2p_master_key provided by the AS or the MS for the UE can be used as the root key directly between the BootS and the UE, and/or the P2P interaction between the UE and the UE. Verification; a derived key may also be generated based on the root key for use in the correlation process. For example, the BootS can perform connection verification with the UE based on the p2p-master_key. After the verification, the BootS generates a derived key token for the UE, and the key token is used for connection verification when the UE is connected. When the P2P traffic between the UEs is restricted to a local part, the P2P attachment information is obtained through the IMS network, and then attached to the P2P network, thereby avoiding the Internet P2P generally lacking an effective authentication mechanism for the user, and between the peer nodes. Lack of defects such as data protection mechanisms.
本发明实施例还提供了一种用户终端, 参见图 10b, 包括: An embodiment of the present invention further provides a user terminal, as shown in FIG. 10b, including:
附着信息获取单元 1001 , 用于通过 IMS网络获取自身所处区域对应的 P2P 网络附着信息; The attachment information obtaining unit 1001 is configured to acquire, by using the IMS network, P2P network attachment information corresponding to the area where the IMS network is located;
附着单元 1002, 用于根据所述 P2P网络附着信息附着到 P2P网络; 内容获取单元 1003 ,用于利用对等机制从所处区域内的对等节点中获取所 请求的 IPTV内容。 The attaching unit 1002 is configured to attach to the P2P network according to the P2P network attaching information, and the content obtaining unit 1003 is configured to obtain the requested IPTV content from a peer node in the located area by using a peer-to-peer mechanism.
上述 UE所处区域内的对等节点可以包括所述区域内的其他 UE; 或者, 也 可以包括所述区域内的其他 UE以及已经附着到所述 P2P网络的媒体节点。 The peer nodes in the area where the UE is located may include other UEs in the area; or may include other UEs in the area and media nodes that have been attached to the P2P network.
本发明实施例还提供了一种 P2P附着信息提供功能 pBoot实体, 参见图 The embodiment of the invention further provides a P2P attachment information providing function pBoot entity, see figure
11 , 包括: 11 , including:
接收单元 1101 , 用于接收来自请求方的 P2P附着请求或第三方注册请求; 信息提供单元 1102, 用于根据所述请求提供 P2P网络附着信息。 The receiving unit 1101 is configured to receive a P2P attach request or a third-party registration request from the requesting party. The information providing unit 1102 is configured to provide P2P network attaching information according to the request.
本发明实施例还提供了一种 P2P附着功能 BootS实体, 参见图 12, 包括: 附着单元 1201 , 用于与用户终端交互, 使所述用户终端附着到 P2P网络 上; An embodiment of the present invention further provides a P2P attaching function BootS entity. Referring to FIG. 12, the method includes: The attaching unit 1201 is configured to interact with the user terminal, so that the user terminal is attached to the P2P network;
信息提供单元 1202, 用于为所述 UE提供其所处区域内的对等节点信息。 上述 BootS中还可以包括记录单元 1303 ,用于记录 P2P网络中对等节点的可 靠性指标。 The information providing unit 1202 is configured to provide the UE with peer node information in an area in which it is located. The foregoing BootS may further include a recording unit 1303 for recording reliability indicators of peer nodes in the P2P network.
本发明实施例使得 UE可以通过 UE间 P2P方式的下载, 达到了减轻媒体服 务器负载, 降低系统投资的目的。 本发明实施例中按 UE所处区域向 UE提供可 用的 P2P网络附着信息, 从而将 UE按区域划分开, 使得 UE之间的 P2P流量限制 在一个局部, 而不会出现无序的域间流量。 In the embodiment of the present invention, the UE can download the P2P mode between the UEs, thereby reducing the load on the media server and reducing the system investment. In the embodiment of the present invention, the available P2P network attachment information is provided to the UE according to the area where the UE is located, so that the UE is divided according to the area, so that the P2P traffic between the UEs is restricted to a local part, and the unordered inter-domain traffic does not occur. .
可以理解, 本发明实施例还提供了一种基于 IMS的终端附着到对等网络的 方法, 包括: It can be understood that the embodiment of the present invention further provides a method for attaching an IMS-based terminal to a peer-to-peer network, including:
用户终端通过 IMS网络获取对等 P2P网络附着信息; The user terminal obtains peer P2P network attachment information through the IMS network.
根据所述 P2P网络附着信息附着到 P2P网络。 Attached to the P2P network according to the P2P network attachment information.
所述用户终端通过 IMS网络获取 P2P网络附着信息的方法可以包括一下三 种方式: The method for the user terminal to obtain the P2P network attachment information through the IMS network may include the following three methods:
方式 A、所述用户终端通过 IMS网络获取 P2P网络附着信息包括: 用户终端 注册到 IMS网络后, 向 P2P附着信息提供功能 pBoot发起 P2P附着请求, 接收所 述 pBoot返回的与所述 UE所处区域对应的 P2P网络附着信息;所述 P2P附着请求 以 SIP订阅 SIP SUBSCRIBE消息的方式发送; 所述 pBoot返回的信息以 SIP通知 SIP NOTIFY消息的方式发送。 The mode A, the user terminal acquiring the P2P network attachment information by using the IMS network includes: after the user terminal registers with the IMS network, the P2P attach information providing function pBoot initiates a P2P attach request, and receives the area returned by the pBoot and the UE. Corresponding P2P network attachment information; the P2P attach request is sent by means of a SIP subscription SIP SUBSCRIBE message; and the information returned by the pBoot is sent by means of SIP notification SIP NOTIFY message.
方式 B、 用户终端注册到 IMS网络后, 由 IMS网络代替所述 UE向 P2P附着 信息提供功能 pBoot发起第三方注册,第三方注册完成后,所述 pBoot向所述 UE 发送与所述 UE所处区域对应的 P2P网络附着信息; 所述 pBoot以 SIP消息 SIP MESSAGE的方式向UE发送P2P网络附着信息。 After the user terminal is registered to the IMS network, the IMS network replaces the UE with the P2P attach information providing function pBoot to initiate a third-party registration. After the third-party registration is completed, the pBoot sends the UE to the UE. The P2P network attachment information corresponding to the area; the pBoot sends the P2P network attachment information to the UE in the manner of the SIP message SIP MESSAGE.
方式 C、 所述用户终端通过 IMS网络获取 P2P网络附着信息包括: 用户终端通过 IMS网络发起 IPTV业务请求, 在接收到的 IPTV业务响应中 获取与所述 UE所处区域对应的 P2P网络附着信息; 所述 IPTV业务响应中的 P2P 网络附着信息由 IMS网络中的应用服务器 AS添加,和 /或,由媒体节点 MS添加。 可以理解, 上述 P2P网络附着信息以可扩展标记语言 XML的方式进行描 述, 携带在 SIP消息体中。 在方式 C中上述 P2P网络附着信息还可以通过扩展会 话描述协议 SDP的方式进行携带。 The mode C, the user terminal acquiring the P2P network attachment information by using the IMS network includes: the user terminal initiates an IPTV service request by using the IMS network, and obtains the P2P network attachment information corresponding to the area where the UE is located in the received IPTV service response; The P2P network attachment information in the IPTV service response is added by the application server AS in the IMS network, and/or is added by the media node MS. It can be understood that the foregoing P2P network attachment information is described in the manner of Extensible Markup Language (XML), and is carried in the SIP message body. The foregoing P2P network attachment information may also be carried in the manner of extending the session description protocol SDP.
上述 P2P网络附着信息包括后面所述信息的一项或多项的组合: P2P协议、 版本、 附着服务器地址、 端口、 连接密钥。 比如, 可以只包括: 2P协议、 附着 服务器地址和端口三项信息, 并且, 在此基础上还可以包括版本、 连接密钥等 信息。 The P2P network attachment information includes a combination of one or more of the following information: a P2P protocol, a version, an attached server address, a port, and a connection key. For example, it may include only: 2P protocol, attached server address, and port information, and may also include information such as version, connection key, and the like.
应用本发明上述实施例提供的基于 IMS的终端附着到对等网絡的方法, 实 现了通过 IMS网络附着到 P2P网络, 使得 UE间的 P2P流量限制在一个局部, 而 不会出现无序的域间流量, 因而避免了网络拥塞及业务效果不稳定的情况。 The method for attaching an IMS-based terminal to a peer-to-peer network according to the foregoing embodiment of the present invention implements attaching to a P2P network through an IMS network, so that P2P traffic between UEs is restricted to a local part without disordered inter-domain Traffic, thus avoiding network congestion and unstable business conditions.
本领域普通技术人员可以理解实现上述方法实施方式中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于计算机可 读取存储介质中, 这里所称得的存储介质, 如: ROM/RAM、 磁碟、 光盘等。 以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明的保护范围。 凡 在本发明的精神和原则之内所作的任何修改、 等同替换、 改进等, 均包含在本 发明的保护范围内。 A person skilled in the art can understand that all or part of the steps in implementing the above method embodiments can be completed by a program instructing related hardware, and the program can be stored in a computer readable storage medium, which is referred to herein. Storage media, such as: ROM/RAM, disk, CD, etc. The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200810147299.8 | 2008-08-26 | ||
| CN200810147299.8A CN101662407A (en) | 2008-08-26 | 2008-08-26 | Method, system and device for attaching to P2P network and acquiring IPTV content |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2010022603A1 true WO2010022603A1 (en) | 2010-03-04 |
Family
ID=41720809
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2009/071770 Ceased WO2010022603A1 (en) | 2008-08-26 | 2009-05-13 | A method, a system and an apparatus for attaching to the peer to peer network and obtaining iptv contents |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN101662407A (en) |
| WO (1) | WO2010022603A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101867804B (en) * | 2010-06-01 | 2014-04-09 | 中兴通讯股份有限公司 | Internet protocol television direct broadcast system and method |
| US8873757B2 (en) * | 2012-10-19 | 2014-10-28 | Qualcom Incorporated | Methods and apparatus for providing network-assisted key agreement for D2D communications |
| CN115002182A (en) * | 2022-05-31 | 2022-09-02 | 上海新致软件股份有限公司 | Network node connection method, device, electronic equipment and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1801822A (en) * | 2006-01-23 | 2006-07-12 | 北京交通大学 | P2P network SIP realizing method based on host machine mark protocol |
| CN1816053A (en) * | 2006-03-10 | 2006-08-09 | 清华大学 | Flow-media direct-broadcasting P2P network method based on conversation initialization protocol |
| CN101170572A (en) * | 2006-10-23 | 2008-04-30 | 日电(中国)有限公司 | Multimedia network communication system based on P2P SIP technology |
-
2008
- 2008-08-26 CN CN200810147299.8A patent/CN101662407A/en active Pending
-
2009
- 2009-05-13 WO PCT/CN2009/071770 patent/WO2010022603A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1801822A (en) * | 2006-01-23 | 2006-07-12 | 北京交通大学 | P2P network SIP realizing method based on host machine mark protocol |
| CN1816053A (en) * | 2006-03-10 | 2006-08-09 | 清华大学 | Flow-media direct-broadcasting P2P network method based on conversation initialization protocol |
| CN101170572A (en) * | 2006-10-23 | 2008-04-30 | 日电(中国)有限公司 | Multimedia network communication system based on P2P SIP technology |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101662407A (en) | 2010-03-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8332527B2 (en) | Streaming media network system, streaming media service realization method and streaming media service enabler | |
| CN101547189B (en) | Method, system and device for establishing CoD service | |
| JP5647133B2 (en) | Method and system for resuming, transferring or copying a multimedia session | |
| WO2010115331A1 (en) | Content location method and content delivery network node | |
| CN101026617B (en) | A media resource scheduling method in IMS network | |
| WO2009024006A1 (en) | Local session controller, ip multimedia subsystem and session registration method | |
| WO2008134955A1 (en) | Method, system and apparatus for applying terminal capability information in iptv service | |
| US9531816B2 (en) | Method and apparatus for media transfer between user equipment | |
| WO2011015015A1 (en) | Content upload method and content delivery function entity | |
| CN100486206C (en) | Signaling control method for P2P network sharing service based on IMS | |
| WO2009155770A1 (en) | Interactive iptv system and content pushing method thereof | |
| WO2010028601A1 (en) | Method, system and equipment for transmitting media contents by means of files | |
| US20080310637A1 (en) | Method, System And Rights Issuer For Generating And Acquiring Rights Objects | |
| WO2010022603A1 (en) | A method, a system and an apparatus for attaching to the peer to peer network and obtaining iptv contents | |
| WO2010028591A1 (en) | Method and system for realizing recording in client terminal, and recording control entity | |
| WO2009049518A1 (en) | A session establishing method, system and entity of ip internet television system | |
| WO2009100672A1 (en) | Processing method when content route being abnormity, content route function device and system | |
| WO2009092307A1 (en) | A method,system and device for accessing non-sip resource | |
| CN102447681A (en) | Monitoring client sub-system, video monitoring system and video replaying method | |
| WO2008098504A1 (en) | Method and system for providing multicast service and device for providing multicast service parameter | |
| CN101141377B (en) | IMS based peer-to-peer network caching service signalling control method | |
| WO2008122245A1 (en) | Equipment and means for realizing iptv services using internet protocols | |
| WO2009026810A1 (en) | Method, entity and system to realize media delivery control | |
| CN101662654A (en) | Wed TV system based on IMS and method and device for realizing system | |
| CN101146093B (en) | A signaling control method of peer-to-peer networking customized service based on IMS |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 09809188 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 09809188 Country of ref document: EP Kind code of ref document: A1 |