WO2014067289A1 - Media content scheduling method, system and device - Google Patents

Media content scheduling method, system and device Download PDF

Info

Publication number
WO2014067289A1
WO2014067289A1 PCT/CN2013/077763 CN2013077763W WO2014067289A1 WO 2014067289 A1 WO2014067289 A1 WO 2014067289A1 CN 2013077763 W CN2013077763 W CN 2013077763W WO 2014067289 A1 WO2014067289 A1 WO 2014067289A1
Authority
WO
WIPO (PCT)
Prior art keywords
media server
time
service
server
shift
Prior art date
Application number
PCT/CN2013/077763
Other languages
French (fr)
Chinese (zh)
Inventor
陈宇
兑继英
岳春荣
Original Assignee
华为技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2014067289A1 publication Critical patent/WO2014067289A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/613Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for the control of the source by the destination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Definitions

  • the present invention relates to the field of communications, and in particular, to a media content scheduling method, system, and apparatus. Background technique
  • IPTV Internet Protocol Television
  • the services provided by the IPTV system include Time Shift (TSTV) services, and TSTV supports users to review live programs within a certain time frame.
  • the time shift service supports operations such as pause, rewind, locate, switch, status display, and time display. Compared with traditional TV live broadcasts, time-shifting services bring a new feeling to users.
  • the invention provides a media content scheduling method, device and system for saving storage resources.
  • a media content scheduling method including: a client establishes a live broadcast service session with a first media server by scheduling a server; receiving a time shift service request of a current channel, and determining the first media server Whether to support the time shift service of the current channel; if the first media server does not support the time shift service of the current channel, disconnect the live broadcast service session with the first media server; initiate the current channel to the dispatch server Time-shifting service request; receiving a time-shifted service response from the dispatch server, the time-shifted service response including an address of a second media server providing a time-shifted service to the current channel; when transmitting to the second media server Transmitting a service request, establishing a time-shifted service session with the second media server.
  • the method further includes: if it is determined that the first media server supports the time shift service, using the current live service session, sending the time shift to the first media server request.
  • the client initiates a live broadcast service request to the dispatch server, and receives a live broadcast service response returned by the dispatch server, the live broadcast service
  • the response includes the address of the first media server, where the first media server is determined by the scheduling server according to the location of the client and the load condition of the media server; the client establishes and the first according to the address of the first media server. Live business session between media servers.
  • the live broadcast service response further includes a time shift state parameter of the first media server, where the time shift state parameter indicates whether the first media server is Supporting the time-shift service of the current channel; determining whether the first media server supports the time-shift service of the current channel is: determining whether the first media server is determined according to the time-shift parameter of the first media server Support the time shift service of the current channel.
  • the determining whether the first media server supports the time shift service of the current channel is specifically: determining, according to the time shift state parameter of the first media server, Whether the first media server supports the time shift service of the current channel; the time shift parameter is sent by the first media server to the client in the process of establishing a live broadcast service session, where the time shift parameter indication Whether the first media server supports the time shift service of the current channel.
  • a client including: a session unit, configured to establish a live broadcast service session with a first media server by scheduling a scheduling server, and a receiving unit, configured to establish, with the first media server, the session unit After the live broadcast service session, the time shift service request of the current channel is received; the determining unit is configured to determine, according to the time shift service request received by the receiving unit, whether the first media server supports the time shift service of the current channel; a processing unit, configured to: when the determining unit determines that the first media server does not support the time shift service of the current channel, disconnect the session with the first media server; and send, by the processing unit, the first When the media server does not support the time shift service, the time shift service request of the current channel is initiated to the scheduling server; the session unit is further configured to provide the current channel according to the second media server address returned by the scheduling server. Transmitting a second media server of the service to send a time shift service request, establishing the second When the shift between the server industry body Business session.
  • the processing unit is further configured to: when the determining unit determines that the first media server supports a time shift service, using the current live broadcast service session, by using the sending unit A time shift play request of the current channel is sent to the first media server.
  • the sending unit is further configured to: initiate a live broadcast service request to the scheduling server; and the receiving unit is configured to receive, by the scheduling server, the included Providing a response message of the first media server address of the live service; the session unit is configured to establish a live service session with the first media server according to the first media server address.
  • the response message received by the receiving unit further includes whether the first media server supports a time shift parameter of the current channel time shift service.
  • the receiving unit further receives the feedback of the first media server during a live broadcast service session with the session unit and the first media server. Whether to support the time shift state parameter of the current channel time shift service.
  • the determining unit is specifically configured to determine, according to the time shift state parameter, whether the first media server supports time shift service
  • the third aspect provides a media content scheduling system, including a client, a scheduling server, configured to receive a client live broadcast service request, and return a response message to the client according to the location of the client and the load of the media server, where
  • the response message includes a first media server address that provides a live broadcast service, and is further configured to receive a time shift service request of the current channel sent by the client, and return a second media server address that supports the current channel time shift service to the client.
  • a first media server configured to provide a channel live broadcast service to the client
  • a second media server configured to provide a channel time shift service to the client.
  • the system only selects a part of the media server to record the program.
  • the client determines that the current live media server cannot provide the current channel time shift service. Redirecting through a dispatch server to a time-shifted media server capable of providing a current channel time-shifting service, the time-shifted media server providing time shifting to the user Service. The problem of wasted storage resources caused by time-shifted programs recorded by all media servers is avoided.
  • FIG. 1 is a schematic diagram of an application scenario system architecture according to an embodiment of the invention.
  • FIG. 2 is a schematic flow chart of a media content scheduling method according to an embodiment of the present invention.
  • FIG. 3 is a diagram showing a signaling interaction diagram of a media content scheduling method according to another embodiment of the present invention.
  • FIG. 4 is a diagram showing a signaling interaction diagram of a media content scheduling method according to still another embodiment of the present invention.
  • FIG. 5 is a block diagram showing a structure of a client according to an embodiment of the present invention.
  • FIG. 6 is a block diagram showing the structure of a client according to another embodiment of the present invention.
  • FIG. 7 is a block diagram showing the structure of a media content scheduling system according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an application scenario C ⁇ according to an embodiment of the present invention.
  • a IPTV system deploys a content delivery network (Content De l ivery Ne twork, CDN) in a distributed networking manner.
  • CDN Content Delivery network
  • the CDN network includes a central node 101, an area node 102, and an edge node 103.
  • the edge node is generally deployed close to the user.
  • the CDN selects the node with the content closest to the user to serve the user.
  • Each node includes a live media server that provides live broadcast services to users and a time-shifted media server that provides time-shift services.
  • FIG. 2 is a schematic flowchart of a method for scheduling a media content according to an embodiment of the present invention.
  • an IPTV system selects a media server with a high degree of access to a live channel according to the access heat of the media server in each node. Time shift recording.
  • the media content scheduling method includes:
  • the client establishes a live broadcast with the first media server by scheduling the scheduling server.
  • Business session
  • the user selects a live broadcast service, such as a unicast request for a live channel.
  • a live broadcast service such as a unicast request for a live channel.
  • the client sends a unicast service request of the live channel to the scheduling server, and the scheduling server may select the first media server that is closer to the user and is lighter in load according to the distribution of the live channel according to the nearest and lightest scheduling policy.
  • the live broadcast service of the live channel is provided to the user, and the address of the first media server is returned to the client.
  • the client requests the broadcast content from the first media server according to the address of the first media server, and establishes a live broadcast service session with the first media server.
  • the scheduling server when the scheduling server returns the first media server address to the client, the scheduling server further sends the time shift state parameter of the time shift service of the channel requested by the client to the client.
  • the first media server may also send the time shift state parameter of the time shift service of the channel requested by the client to the client.
  • the client detects that the user is watching the live channel, and performs a back-and-forward time shift operation on the live channel, and determines whether the first media server supports the time shift service of the current channel according to the time shift state parameter of the first media server.
  • the first media server does not support the time shift service of the current channel, disconnect the live broadcast service session with the first media server, and initiate a time shift service request to the scheduling server.
  • the user performs a back-off and time-shift operation on the live channel in the live channel, and the client determines whether the first media server that provides the live broadcast service supports the time-shift service, and if the first media server that provides the live broadcast service is determined. If the time shift service of the current channel is not supported, the live broadcast service session with the first media server is disconnected, a new session is established with the dispatch server, and a time shift service request of the current channel is initiated to the dispatch server.
  • the scheduling server selects a time-shifted media server that is closer to the user and is lighter in load according to the nearest and least-loaded scheduling policy, and provides time shifting to the user.
  • Service and return the address of the time-shifted media server to the client.
  • the client requests the time-shifted service from the time-shifted media server according to the returned time-shifted media server address, and establishes a time-shifted service session with the time-shifted server.
  • the media server supporting the time shift service also supports the live broadcast service by default.
  • the system selects a part of the media server to record the time-shifted content.
  • the client determines that the current media server cannot provide the content.
  • the time shifting media server capable of providing the time shift service is redirected by the dispatching server, and the time shifting media server provides the time shifting service to the user, thereby avoiding waste of storage resources caused by all the media servers recording the time shifting program.
  • FIG. 3 is a diagram showing a signaling interaction diagram of a media content scheduling method according to another embodiment of the present invention. As shown in FIG. 3, the media content scheduling method includes:
  • the user selects to play the live content
  • the client sends a live broadcast request (RTSP DESCRIBE) to the scheduling server, where the RTSP DESCRIBE request message carries a live service identifier, such as carrying TimeShif t: 0;
  • the scheduling server parses the RTSP DESCRIBE request message initiated by the client, and determines that the client needs to request the live broadcast service.
  • the scheduling server preferentially selects the live media server that does not perform channel recording according to the distribution of the live channel according to the principle of the nearest and the lightest load. Provide services, if there is no live media server available, you can choose to provide services for time-shifted media servers that support time-shifted services.
  • the scheduling server returns a live request response message to the client, where the response message carries a Uniforma Resource Loca tor (URL) of the live media server that provides the live broadcast service.
  • URL Uniforma Resource Loca tor
  • the client establishes a live broadcast service session with the live media server according to the returned URL of the live media server.
  • the client sends a live broadcast request (RTSP DESCRIBE) to the live media server according to the URL
  • the RTSP DESCRI BE request message carries a live service identifier, such as carrying T i meSh ift: 0; the live media server returns a response to the client.
  • the message, the response message may include whether the live media server supports the time shift state parameter of the time shift service of the channel, such as: Timeshif tS ta tus: 0, indicating Time-shifted services are not supported.
  • the client initiates a play request to the live media server, and the play request carries
  • the Range parameter indicates that the live content is played, and the live media server sends the channel live media data to the client according to the play request.
  • the user selects a backward time shift operation for the current channel
  • the client determines, according to the current live media server time-shift parameter, that the current live media server does not support the time-shift service, and disconnects the live broadcast service session with the current live media server.
  • the client establishes a new session with the scheduling server, and initiates a time shift service request (RTSP DESCRIBE) of the current channel to the scheduling server, and the RTSP DESCRIBE request message carries the time shift service identifier, such as carrying TimeShif t: 1;
  • the scheduling server After receiving the current channel time-shift service request sent by the client, the scheduling server selects a time-shifted media server that is closer to the user and has a lighter load to provide a time-shift service to the user according to the nearest and lightest-loaded scheduling policy. Returning the address URL of the time-shifted media server to the client;
  • the client sends a time shift request (RTSP DESCRIBE) to the time-shifted media server according to the returned media server address URL, and the RTSP DESCRIBE request message carries the time-shift service identifier, such as carrying TimeShi f t: 1;
  • the time-shifted media server returns a response message to the client, where the message includes time-shifting parameters of the time-shifted service of the current channel, such as Timeshif t-Sta tus: 1 indicating that the current channel is supported. Time shift service.
  • the client initiates a play request to the time-shifted media server, and the play request carries a Range play range parameter, a multiple parameter, and the like, and the time-shifted media server sends the current channel time-shifted media data to the client according to the play request of the client.
  • the IPTV system selects a media server with a higher popularity to record time-shifted content according to the user access heat of the channel content.
  • the media server provides services to the user.
  • the client redirects to the time shift service through the dispatch server if it determines that the current live media server cannot provide the time shift service.
  • a time-shifted media server that provides time-shifted services to users by the time-shifted media server.
  • FIG. 4 is a diagram showing a signaling interaction diagram of a media content scheduling method according to another embodiment of the present invention. As shown in FIG. 4, the media content scheduling method includes:
  • the user selects to play the live content.
  • the client sends a live broadcast request (RTSP DESCRIBE) to the scheduling server, where the RTSP DESCRIBE request message carries a live service identifier, such as carrying TimeShi ft: 0;
  • the scheduling server parses the RTSP DESCRIBE request message initiated by the client, determines that the client needs to request the live broadcast service, and the scheduling server preferentially selects the live media server that does not perform channel recording to provide services for the user according to the nearest and the lightest load principle, if not available.
  • the live media server can select a time-shifted media server that supports time-shifted services to provide services.
  • the scheduling server returns a live request response message to the client, where the response message carries a Uniform resource locator (URL) of the time-shifted media server that provides the live broadcast service.
  • URL Uniform resource locator
  • the client establishes a live broadcast service session with the time-shifted media server according to the returned time-shifted media server URL.
  • the user selects a backward time shift operation for the current channel
  • the client determines, according to the current time shifting media server transition state parameter, that the current time shift media server supports the time shift service
  • the client initiates a play request to the time shifting media server by using a live broadcast service session with the current time shift media server, where the play request carries a Range play range parameter, a multiple parameter, and the like; 408.
  • the time shift media server is configured according to the client.
  • the end play request sends the current channel time-shifted media data to the client.
  • FIG. 5 is a block diagram of a client structure according to an embodiment of the present invention.
  • the client includes: a session unit 501, a receiving unit 502, a determining unit 503, a processing unit 504, and a sending unit 505.
  • the session unit 501 is configured to establish a live broadcast service session with the first media server by using the scheduling of the scheduling server.
  • the receiving unit 502 is configured to receive the live broadcast service session with the first media server after the session unit 501 is established. a time-shift service request of the current channel; the determining unit 503, configured to determine, according to the time-shift service request received by the receiving unit 502, whether the first media server supports the time-shift service of the current channel; the processing unit 504, configured to determine the first media server Current channel not supported When the service is time-shifted, the session with the first media server is disconnected; the sending unit 505 is configured to: when the processing unit 504 determines that the first media server does not support the current channel time-shift service, initiate a time-shift service to the scheduling server.
  • the receiving unit 502 is further configured to receive a time shift service response from the scheduling server, where the time shift service response includes an address of a second media server that provides a time shift service to the current channel, and a session unit 501. And sending, by the second media server that provides the current channel time shift service, a time shift service request, and establishing a time shift service session with the second media server according to the second media server address returned by the scheduling server.
  • the processing unit 504 is further configured to: when the determining unit determines that the first media server supports the time shift service, and uses the current live broadcast service session to send the current channel to the first media server by using the sending unit 505. Move the play request.
  • the sending unit 505 is further configured to: initiate a live broadcast service request to the scheduling server; the receiving unit 502 is configured to receive, by the scheduling server, a response message that includes a first media server address that provides a live broadcast service; 501.
  • the method is used to establish a live service session with the first media server according to the first media server address.
  • the client as described above may be a terminal such as a set top box or a smart phone, and may be used to execute the media content scheduling method as illustrated in FIG.
  • FIG. 6 is a structural block diagram of a media content scheduling system according to an embodiment of the present invention.
  • the media content scheduling system includes a client 601 as shown in FIG. 5, and a scheduling server 602, configured to receive a client live broadcast.
  • the service request returns a response message to the client according to the client location and the media server load status, where the response message includes a first media server address that provides a live broadcast service, and is further configured to receive the current sent by the client.
  • the time-shift service request of the channel returns a second media server address supporting the current channel time-shift service to the client; the media server 603 is configured to provide the media live broadcast or time-shift service to the client.
  • the media server 603 may include a live media server that provides only a live broadcast service and a time-shifted media server that supports time-shifted services, and the time-shifted media server also supports a live broadcast service.
  • media content scheduling system as described above can be used to perform the media content scheduling method as illustrated in Figures 2 through 4.
  • FIG. 7 is a schematic block diagram of a client according to another embodiment of the present invention.
  • the embodiment of the present invention further provides an apparatus embodiment for implementing the steps and methods in the foregoing method embodiment.
  • the subscriber terminal includes: at least one processor 701, such as a CPU, at least one communication interface 704 or other communication interface, memory 702, and at least one communication bus 705 for enabling session communication between the devices.
  • the processor 701 is configured to execute an executable module stored in the memory, such as a computer program; the user terminal optionally further includes a user interface 703, including but not limited to a display, a keyboard, and a pointing device (eg, a mouse, a trackball (t rackba ll ), touch panel or touch display).
  • a user interface 703 including but not limited to a display, a keyboard, and a pointing device (eg, a mouse, a trackball (t rackba ll ), touch panel or touch display).
  • the memory 702 may include a high speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
  • the communication session between the user terminal and at least one other computer is implemented by at least one network interface (which may be wired or wireless), and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
  • the memory 702 can optionally include at least one storage device (e.g., an external storage device) located remotely from the CPU 701.
  • memory 702 stores executable modules or data structures as shown in Figure 5 above, or a subset thereof, or their extensions.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication session shown or discussed may be an indirect coupling or communication session through some interface, device or unit, also It can be an electrical, mechanical or other form of conversation.
  • the components displayed by the unit may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM, Random Acces s Memory), a magnetic disk or an optical disk, and the like, which can store program codes. medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Provided in an embodiment of the present invention are a media content scheduling method, system and device, the method comprising: a client terminal establishes a live broadcast service session with a first media server through the scheduling of a scheduling server; receiving a time shifting service request from the current channel, and if the first media server does not support the time shifting service of the current channel, then disconnecting the live broadcast service session with the first media server; initiating the time shifting service request from the current channel to the scheduling server; and transmitting a time shifting service request to a second media server according to a time shifting service response from the scheduling server, so as to establish a time shifting service session with the second media server. The media content scheduling method in the embodiment of the present invention avoids the problem of wasting storage resources due to the fact that time shifting programs are recorded by all media servers.

Description

媒体内容调度方法、 系统及装置  Media content scheduling method, system and device
本申请要求于 2012 年 10 月 31 日提交中国专利局、 申请号为 201210427668.5、 发明名称为 "媒体内容调度方法、 系统及装置" 的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。  The present application claims priority to Chinese Patent Application No. 201210427668.5, entitled "Media Content Scheduling Method, System and Apparatus", filed on October 31, 2012, the entire contents of in.
技术领域 Technical field
本发明涉及通信领域, 尤其涉及一种媒体内容调度方法、 系统及装置。 背景技术  The present invention relates to the field of communications, and in particular, to a media content scheduling method, system, and apparatus. Background technique
网络电视 ( Internet Protocol Television, IPTV )是网络技术和媒体技术发 展到一定阶段后的产物。 与传统的单向广播电视相比, IPTV解决了在观看电 视节目时播放时间对人们的限制问题, 满足了人们收看自由度方面的需求,提 供了强大的交互功能,真正实现了媒体提供者和消费者之间实质性互动的功能。  Internet Protocol Television (IPTV) is the product of the development of network technology and media technology to a certain stage. Compared with the traditional one-way broadcast TV, IPTV solves the problem of restrictions on the playing time when watching TV programs, satisfies the needs of people's freedom of viewing, provides powerful interactive functions, and truly realizes the media provider and The ability to interact substantively with consumers.
IPTV系统提供的业务中包含时移 ( TSTV: Time shift TV )业务, TSTV支 持用户在一定的时间范围内对直播的节目进行回看。时移业务支持暂停、快退、 定位、 切换、 状态显示、 时间显示等操作。 相对于传统电视直播, 时移业务给 用户带来了一种全新的感受。  The services provided by the IPTV system include Time Shift (TSTV) services, and TSTV supports users to review live programs within a certain time frame. The time shift service supports operations such as pause, rewind, locate, switch, status display, and time display. Compared with traditional TV live broadcasts, time-shifting services bring a new feeling to users.
为了提供时移业务, 目前的一种实现方式中, 需要所有的媒体服务器在提 供直播业务的同时启动时移录制, 这样终端用户请求当前频道时移业务时, 由 媒体服务器直接使用本地的录制文件为终端用户提供服务。但是这种方式导致 大量的存储资源浪费, 因为部分媒体服务器很少被请求提供时移服务。  In order to provide a time-shifted service, in a current implementation manner, all media servers are required to start time-shift recording while providing a live broadcast service, so that when the terminal user requests the current channel time-shift service, the media server directly uses the local recording file. Serve end users. However, this approach results in a waste of storage resources, as some media servers are rarely requested to provide time-shifted services.
发明内容 Summary of the invention
本发明提供一种节省存储资源的媒体内容调度方法、 装置及系统。  The invention provides a media content scheduling method, device and system for saving storage resources.
一方面, 提供一种媒体内容调度方法, 包括: 客户端通过调度服务器的调 度, 建立与第一媒体服务器之间的直播业务会话; 接收当前频道的时移业务请 求, 判断所述第一媒体服务器是否支持所述当前频道的时移业务; 如果所述第 一媒体服务器不支持当前频道的时移业务,则断开与所述第一媒体服务器直播 业务会话; 向所述调度服务器发起当前频道的时移业务请求; 接收来自所述调 度服务器的时移业务响应,所述时移业务响应包括对所述当前频道提供时移服 务的第二媒体服务器的地址; 向所述第二媒体服务器发送时移业务请求, 建立 与所述第二媒体服务器之间的时移业务会话。 结合本发明第一方面的第一实施方式中, 该方法还包括: 如果判断得到所 述第一媒体服务器支持时移业务, 则利用当前直播业务会话, 向所述第一媒体 服务器发送时移播放请求。 In one aspect, a media content scheduling method is provided, including: a client establishes a live broadcast service session with a first media server by scheduling a server; receiving a time shift service request of a current channel, and determining the first media server Whether to support the time shift service of the current channel; if the first media server does not support the time shift service of the current channel, disconnect the live broadcast service session with the first media server; initiate the current channel to the dispatch server Time-shifting service request; receiving a time-shifted service response from the dispatch server, the time-shifted service response including an address of a second media server providing a time-shifted service to the current channel; when transmitting to the second media server Transmitting a service request, establishing a time-shifted service session with the second media server. With the first embodiment of the first aspect of the present invention, the method further includes: if it is determined that the first media server supports the time shift service, using the current live service session, sending the time shift to the first media server request.
结合本发明第一方面或本发明第一方面第一实施方式的第二实施方式中, 客户端向所述调度服务器发起直播业务请求;接收所述调度服务器返回的直播 业务响应, 所述直播业务响应包括所述第一媒体服务器的地址, 所述第一媒体 服务器由所述调度服务器根据所述客户端的位置与媒体服务器负载情况确定; 客户端根据所述第一媒体服务器的地址建立与第一媒体服务器之间的直播业 务会话。  In combination with the first aspect of the first aspect of the present invention or the second embodiment of the first aspect of the first aspect of the present invention, the client initiates a live broadcast service request to the dispatch server, and receives a live broadcast service response returned by the dispatch server, the live broadcast service The response includes the address of the first media server, where the first media server is determined by the scheduling server according to the location of the client and the load condition of the media server; the client establishes and the first according to the address of the first media server. Live business session between media servers.
结合本发明第一方面第二实施方式的第三实施方式中,所述直播业务响应 还包括所述第一媒体服务器的时移态参数,所述时移态参数指示所述第一媒体 服务器是否支持当前频道的时移业务;所述判断所述第一媒体服务器是否支持 所述当前频道的时移业务具体为:根据所述第一媒体服务器的时移态参数判断 所述第一媒体服务器是否支持所述当前频道的时移业务。  In a third implementation manner of the second embodiment of the first aspect of the present invention, the live broadcast service response further includes a time shift state parameter of the first media server, where the time shift state parameter indicates whether the first media server is Supporting the time-shift service of the current channel; determining whether the first media server supports the time-shift service of the current channel is: determining whether the first media server is determined according to the time-shift parameter of the first media server Support the time shift service of the current channel.
结合本发明第一方面的第四实施方式中,所述判断所述第一媒体服务器是 否支持所述当前频道的时移业务具体为:根据所述第一媒体服务器的时移态参 数判断所述第一媒体服务器是否支持所述当前频道的时移业务;所述时移态参 数由所述第一媒体服务器在建立直播业务会话的过程中发送给所述客户端,所 述时移态参数指示所述第一媒体服务器是否支持当前频道的时移业务。  With reference to the fourth embodiment of the first aspect of the present invention, the determining whether the first media server supports the time shift service of the current channel is specifically: determining, according to the time shift state parameter of the first media server, Whether the first media server supports the time shift service of the current channel; the time shift parameter is sent by the first media server to the client in the process of establishing a live broadcast service session, where the time shift parameter indication Whether the first media server supports the time shift service of the current channel.
另一方面, 提供一种客户端, 包括: 会话单元, 用于通过调度服务器的调 度, 建立与第一媒体服务器之间的直播业务会话; 接收单元, 用于在会话单元 建立与第一媒体服务器之间的直播业务会话之后,接收当前频道的时移业务请 求; 判断单元, 用于根据接收单元接收的时移业务请求, 判断所述第一媒体服 务器是否支持所述当前频道的时移业务; 处理单元, 用于在所述判断单元确定 所述第一媒体服务器不支持当前频道的时移业务,则断开与所述第一媒体服务 器会话; 发送单元, 用于当处理单元确定所述第一媒体服务器不支持时移业务 时, 向所述调度服务器发起当前频道的时移业务请求; 所述会话单元, 还用于 根据所述调度服务器返回的第二媒体服务器地址,向提供当前频道时移服务的 第二媒体服务器发送时移业务请求,建立与所述第二媒体服务器之间的时移业 务会话。 In another aspect, a client is provided, including: a session unit, configured to establish a live broadcast service session with a first media server by scheduling a scheduling server, and a receiving unit, configured to establish, with the first media server, the session unit After the live broadcast service session, the time shift service request of the current channel is received; the determining unit is configured to determine, according to the time shift service request received by the receiving unit, whether the first media server supports the time shift service of the current channel; a processing unit, configured to: when the determining unit determines that the first media server does not support the time shift service of the current channel, disconnect the session with the first media server; and send, by the processing unit, the first When the media server does not support the time shift service, the time shift service request of the current channel is initiated to the scheduling server; the session unit is further configured to provide the current channel according to the second media server address returned by the scheduling server. Transmitting a second media server of the service to send a time shift service request, establishing the second When the shift between the server industry body Business session.
结合本发明第二方面的第一实施方式中, 所述处理单元还用于, 当所述判 断单元确定所述第一媒体服务器支持时移业务, 则利用当前直播业务会话,通 过所述发送单元向所述第一媒体服务器发送当前频道的时移播放请求。  With the first embodiment of the second aspect of the present invention, the processing unit is further configured to: when the determining unit determines that the first media server supports a time shift service, using the current live broadcast service session, by using the sending unit A time shift play request of the current channel is sent to the first media server.
结合本发明第二方面第一实施方式的第二实施方式中, 所述发送单元,还 用于向所述调度服务器发起直播业务请求; 所述接收单元, 用于接收所述调度 服务器返回的包括提供直播业务的第一媒体服务器地址的响应消息;所述会话 单元,用于根据所述第一媒体服务器地址建立与所述第一媒体服务器之间的直 播业务会话。  According to the second embodiment of the first embodiment of the second aspect of the present invention, the sending unit is further configured to: initiate a live broadcast service request to the scheduling server; and the receiving unit is configured to receive, by the scheduling server, the included Providing a response message of the first media server address of the live service; the session unit is configured to establish a live service session with the first media server according to the first media server address.
结合本发明第二方面第二实施方式的第三实施方式中,所述接收单元接收 的响应消息中,还包括所述第一媒体服务器是否支持当前频道时移服务的时移 态参数。  In the third embodiment of the second embodiment of the second aspect of the present invention, the response message received by the receiving unit further includes whether the first media server supports a time shift parameter of the current channel time shift service.
结合本发明第二方面第二实施方式的第四实施方式中,所述接收单元在与 所述会话单元与所述第一媒体服务器建立直播业务会话过程中,还接收所述第 一媒体服务器反馈的是否支持当前频道时移服务的时移态参数。  In a fourth implementation manner of the second embodiment of the second aspect of the present invention, the receiving unit further receives the feedback of the first media server during a live broadcast service session with the session unit and the first media server. Whether to support the time shift state parameter of the current channel time shift service.
结合本发明第二发明第三实施方式或第四实施方式中的第五实施方式,所 述判断单元具体用于根据所述时移态参数判断所述第一媒体服务器是否支持 时移业务  With reference to the fifth embodiment of the second embodiment or the fourth embodiment of the second invention, the determining unit is specifically configured to determine, according to the time shift state parameter, whether the first media server supports time shift service
第三方面, 提供一种媒体内容调度系统, 包括客户端, 调度服务器, 用于 接收客户端直播业务请求,根据所述客户端的位置与媒体服务器负载情况向所 述客户端返回响应消息,所述响应消息中包括提供直播业务的第一媒体服务器 地址; 还用于接收所述客户端发送的当前频道的时移业务请求, 向所述客户端 返回支持当前频道时移服务的第二媒体服务器地址, 第一媒体服务器, 用于向 所述客户端提供频道直播服务; 第二媒体服务器, 用于向所述客户端提供频道 时移服务。  The third aspect provides a media content scheduling system, including a client, a scheduling server, configured to receive a client live broadcast service request, and return a response message to the client according to the location of the client and the load of the media server, where The response message includes a first media server address that provides a live broadcast service, and is further configured to receive a time shift service request of the current channel sent by the client, and return a second media server address that supports the current channel time shift service to the client. a first media server, configured to provide a channel live broadcast service to the client, and a second media server, configured to provide a channel time shift service to the client.
本发明实施例媒体内容调度方法, 系统仅选择部分媒体服务器录制节目, 当用户在直播过程中,选择当前频道时移业务时,客户端如果确定当前直播媒 体服务器不能提供当前频道的时移服务时,通过调度服务器重新定向到能够提 供当前频道时移服务的时移媒体服务器,由该时移媒体服务器向用户提供时移 服务。 避免了全部媒体服务器录制时移节目导致的存储资源浪费的问题。 In the media content scheduling method of the embodiment of the present invention, the system only selects a part of the media server to record the program. When the user selects the current channel time shift service during the live broadcast process, the client determines that the current live media server cannot provide the current channel time shift service. Redirecting through a dispatch server to a time-shifted media server capable of providing a current channel time-shifting service, the time-shifted media server providing time shifting to the user Service. The problem of wasted storage resources caused by time-shifted programs recorded by all media servers is avoided.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所 需要使用的附图作简单地介绍, 显而易见地, 下面所描述的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图 1示出了本发明一实施例的应用场景系统架构图  FIG. 1 is a schematic diagram of an application scenario system architecture according to an embodiment of the invention.
图 2示出了本发明一实施例的媒体内容调度方法示意流程图;  2 is a schematic flow chart of a media content scheduling method according to an embodiment of the present invention;
图 3示出了本发明另一实施例的媒体内容调度方法信令交互图;  FIG. 3 is a diagram showing a signaling interaction diagram of a media content scheduling method according to another embodiment of the present invention; FIG.
图 4示出了本发明又一实施例的媒体内容调度方法信令交互图;  FIG. 4 is a diagram showing a signaling interaction diagram of a media content scheduling method according to still another embodiment of the present invention; FIG.
图 5示出了本发明一实施例的客户端结构框图;  FIG. 5 is a block diagram showing a structure of a client according to an embodiment of the present invention; FIG.
图 6示出了本发明另一实施例的客户端结构框图。  FIG. 6 is a block diagram showing the structure of a client according to another embodiment of the present invention.
图 7示出了本发明一实施例的媒体内容调度系统结构框图。  FIG. 7 is a block diagram showing the structure of a media content scheduling system 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.
图 1示出了本发明一实施例的应用场景 C匪的架构图, 如图 1所示, IPTV 系统部署内容传输网络 ( Content De l ivery Ne twork, CDN ) 时釆用分布式组 网的方式进行部署, 该 CDN网络包括中心节点 101、 区域节点 102以及边缘节 点 103 , 边缘节点一般部署在靠近用户的位置, 在用户请求服务时, CDN会选 择离用户最近的有内容的节点为用户提供服务。各节点均包括向用户提供直播 服务的直播媒体服务器和提供时移服务的时移媒体服务器,  FIG. 1 is a schematic diagram of an application scenario C匪 according to an embodiment of the present invention. As shown in FIG. 1 , a IPTV system deploys a content delivery network (Content De l ivery Ne twork, CDN) in a distributed networking manner. For deployment, the CDN network includes a central node 101, an area node 102, and an edge node 103. The edge node is generally deployed close to the user. When the user requests the service, the CDN selects the node with the content closest to the user to serve the user. . Each node includes a live media server that provides live broadcast services to users and a time-shifted media server that provides time-shift services.
图 2示出了本发明一实施例的媒体内容调度方法示意流程图,在本发明实 施例中, IPTV 系统根据各节点内媒体服务器的访问热度, 选择部分访问热度 较高的媒体服务器进行直播频道的时移录制。如图 2所示, 该媒体内容调度方 法包括:  FIG. 2 is a schematic flowchart of a method for scheduling a media content according to an embodiment of the present invention. In the embodiment of the present invention, an IPTV system selects a media server with a high degree of access to a live channel according to the access heat of the media server in each node. Time shift recording. As shown in FIG. 2, the media content scheduling method includes:
201、 客户端通过调度服务器的调度, 建立与第一媒体服务器之间的直播 业务会话; 201. The client establishes a live broadcast with the first media server by scheduling the scheduling server. Business session
具体的, 用户选择直播服务, 如某个直播频道的单播请求。 客户端向调度 服务器发送该直播频道的单播业务请求,调度服务器可以根据该直播频道的分 布, 按照就近且负载最轻的调度策略, 选择离用户较近, 和负载较轻的第一媒 体服务器向用户提供该直播频道的直播服务,并将该第一媒体服务器的地址返 回给客户端。客户端根据该第一媒体服务器的地址向该第一媒体服务器请求直 播内容, 建立与该第一媒体服务器的直播业务会话。  Specifically, the user selects a live broadcast service, such as a unicast request for a live channel. The client sends a unicast service request of the live channel to the scheduling server, and the scheduling server may select the first media server that is closer to the user and is lighter in load according to the distribution of the live channel according to the nearest and lightest scheduling policy. The live broadcast service of the live channel is provided to the user, and the address of the first media server is returned to the client. The client requests the broadcast content from the first media server according to the address of the first media server, and establishes a live broadcast service session with the first media server.
202、 接收用户当前频道的时移业务请求, 判断第一媒体服务器是否支持 该当前频道的时移业务;  202. Receive a time shift service request of a current channel of the user, and determine whether the first media server supports the time shift service of the current channel.
可选的,调度服务器在向客户端返回第一媒体服务器地址时,还将该第一 媒体服务器是否支持客户端所请求频道的时移服务的时移态参数发送给该客 户端。  Optionally, when the scheduling server returns the first media server address to the client, the scheduling server further sends the time shift state parameter of the time shift service of the channel requested by the client to the client.
可选的, 第一媒体服务器与客户端建立直播业务会话的过程中, 第一媒体 服务器也可以将其是否支持客户端所请求频道的时移服务的时移态参数发送 给该客户端。  Optionally, in the process of establishing a live broadcast service session between the first media server and the client, the first media server may also send the time shift state parameter of the time shift service of the channel requested by the client to the client.
客户端检测到用户在观看直播频道中 ,对该直播频道进行后退等时移操作 , 根据第一媒体服务器的时移态参数判断第一媒体服务器是否支持当前频道的 时移业务。  The client detects that the user is watching the live channel, and performs a back-and-forward time shift operation on the live channel, and determines whether the first media server supports the time shift service of the current channel according to the time shift state parameter of the first media server.
203、 如果第一媒体服务器不支持当前频道的时移业务, 则断开与第一媒 体服务器的直播业务会话, 向调度服务器发起时移业务请求;  203. If the first media server does not support the time shift service of the current channel, disconnect the live broadcast service session with the first media server, and initiate a time shift service request to the scheduling server.
具体的, 用户在观看直播频道中, 对该直播频道进行后退等时移操作, 客 户端判断当前提供直播业务的第一媒体服务器是否支持时移业务,如果确定当 前提供直播业务的第一媒体服务器不支持当前频道的时移业务,则断开与第一 媒体服务器之间的直播业务会话,与调度服务器建立新的会话并向调度服务器 发起当前频道的时移业务请求。  Specifically, the user performs a back-off and time-shift operation on the live channel in the live channel, and the client determines whether the first media server that provides the live broadcast service supports the time-shift service, and if the first media server that provides the live broadcast service is determined. If the time shift service of the current channel is not supported, the live broadcast service session with the first media server is disconnected, a new session is established with the dispatch server, and a time shift service request of the current channel is initiated to the dispatch server.
204、 接收来自所述调度服务器的时移业务响应, 所述时移业务响应包括 对所述当前频道提供时移服务的第二媒体服务器的地址;  204. Receive a time shift service response from the scheduling server, where the time shift service response includes an address of a second media server that provides a time shift service to the current channel.
205、 向所述第二媒体服务器发送时移业务请求, 建立与所述第二媒体服 务器之间的时移业务会话。。 具体的,调度服务器接收到客户端发送的当前频道的时移业务请求后,按 照就近且负载最轻的调度策略, 选择离用户较近, 和负载较轻的时移媒体服务 器向用户提供时移服务, 并将该时移媒体服务器的地址返回给客户端。客户端 根据返回的时移媒体服务器地址向该时移媒体服务器请求时移业务,建立与该 时移服务器之间的时移业务会话。 205. Send a time shift service request to the second media server, and establish a time shift service session with the second media server. . Specifically, after receiving the time-shift service request of the current channel sent by the client, the scheduling server selects a time-shifted media server that is closer to the user and is lighter in load according to the nearest and least-loaded scheduling policy, and provides time shifting to the user. Service, and return the address of the time-shifted media server to the client. The client requests the time-shifted service from the time-shifted media server according to the returned time-shifted media server address, and establishes a time-shifted service session with the time-shifted server.
需要说明的是, 本发明实施例中, 支持时移业务的媒体服务器默认也支持 直播业务。  It should be noted that, in the embodiment of the present invention, the media server supporting the time shift service also supports the live broadcast service by default.
如上所述的本发明一实施例的媒体内容调度方法,系统选择部分媒体服务 器录制时移内容, 当用户在频道直播过程中, 选择当前频道的时移业务时, 客 户端确定当前媒体服务器不能提供时移服务时,通过调度服务器重新定向到能 够提供时移服务的时移媒体服务器,由该时移媒体服务器向用户提供时移服务, 从而避免了全部媒体服务器录制时移节目导致的存储资源浪费的问题。  In the media content scheduling method of the embodiment of the present invention, the system selects a part of the media server to record the time-shifted content. When the user selects the time-shift service of the current channel during the live broadcast of the channel, the client determines that the current media server cannot provide the content. During the time shift service, the time shifting media server capable of providing the time shift service is redirected by the dispatching server, and the time shifting media server provides the time shifting service to the user, thereby avoiding waste of storage resources caused by all the media servers recording the time shifting program. The problem.
图 3 示出了本发明另一实施例的媒体内容调度方法信令交互图, 如图 3 所示, 该媒体内容调度方法包括:  FIG. 3 is a diagram showing a signaling interaction diagram of a media content scheduling method according to another embodiment of the present invention. As shown in FIG. 3, the media content scheduling method includes:
301、 用户选择播放直播内容;  301. The user selects to play the live content;
302、客户端向调度服务器发起直播请求(RTSP DESCRIBE ), RTSP DESCRIBE 请求消息中携带直播业务标识, 如携带 TimeShif t: 0;  302. The client sends a live broadcast request (RTSP DESCRIBE) to the scheduling server, where the RTSP DESCRIBE request message carries a live service identifier, such as carrying TimeShif t: 0;
303、 调度服务器解析客户端发起的 RTSP DESCRIBE请求消息, 确定客户 端需要请求直播业务,调度服务器根据直播频道的分布,按照就近且负载最轻 原则,优先选择没有进行频道录制的直播媒体服务器为用户提供服务, 如果没 有可用的直播媒体服务器,则可选择支持时移业务的时移媒体服务器提供服务。 调度服务器向客户端返回直播请求响应消息,该响应消息中携带提供直播业务 的直播媒体服务器的统一资源定位符 (Universa l Resource Loca tor , URL )。  303. The scheduling server parses the RTSP DESCRIBE request message initiated by the client, and determines that the client needs to request the live broadcast service. The scheduling server preferentially selects the live media server that does not perform channel recording according to the distribution of the live channel according to the principle of the nearest and the lightest load. Provide services, if there is no live media server available, you can choose to provide services for time-shifted media servers that support time-shifted services. The scheduling server returns a live request response message to the client, where the response message carries a Uniforma Resource Loca tor (URL) of the live media server that provides the live broadcast service.
404、 客户端根据返回的直播媒体服务器的 URL建立与直播媒体服务器之 间的直播业务会话;  404. The client establishes a live broadcast service session with the live media server according to the returned URL of the live media server.
可选的, 客户端根据该 URL 向直播媒体服务器发起直播请求 (RTSP DESCRIBE ), RTSP DESCRI BE请求消息中携带直播业务标识,如携带 T i meSh i f t: 0; 该直播媒体服务器向客户端返回响应消息,响应消息中可以包括该直播媒体服 务器是否支持该频道时移业务的时移态参数, 如: Timeshif t-S ta tus: 0, 表示 不支持时移业务。 Optionally, the client sends a live broadcast request (RTSP DESCRIBE) to the live media server according to the URL, and the RTSP DESCRI BE request message carries a live service identifier, such as carrying T i meSh ift: 0; the live media server returns a response to the client. The message, the response message may include whether the live media server supports the time shift state parameter of the time shift service of the channel, such as: Timeshif tS ta tus: 0, indicating Time-shifted services are not supported.
可选的, 客户端向该直播媒体服务器发起播放请求, 播放请求中携带 Optionally, the client initiates a play request to the live media server, and the play request carries
Range参数表示播放直播内容, 直播媒体服务器根据播放请求向客户端发送频 道直播媒体数据。 The Range parameter indicates that the live content is played, and the live media server sends the channel live media data to the client according to the play request.
305、 在直播过程中, 用户对当前频道选择倒退等时移操作;  305. During the live broadcast, the user selects a backward time shift operation for the current channel;
306、 客户端根据当前直播媒体服务器时移态参数确定当前直播媒体服务 器不支持时移业务, 则断开与当前直播媒体服务器之间的直播业务会话;  306. The client determines, according to the current live media server time-shift parameter, that the current live media server does not support the time-shift service, and disconnects the live broadcast service session with the current live media server.
307、 客户端与调度服务器建立新的会话, 向调度服务器发起当前频道的 时移业务请求(RTSP DESCRIBE ), RTSP DESCRIBE请求消息中携带时移业务标 识, 如携带 TimeShif t: 1 ;  307. The client establishes a new session with the scheduling server, and initiates a time shift service request (RTSP DESCRIBE) of the current channel to the scheduling server, and the RTSP DESCRIBE request message carries the time shift service identifier, such as carrying TimeShif t: 1;
308、 调度服务器接收到客户端发送的当前频道时移业务请求后, 按照就 近且负载最轻的调度策略,选择离用户较近, 和负载较轻的时移媒体服务器向 用户提供时移服务, 并将该时移媒体服务器的地址 URL返回给客户端;  308. After receiving the current channel time-shift service request sent by the client, the scheduling server selects a time-shifted media server that is closer to the user and has a lighter load to provide a time-shift service to the user according to the nearest and lightest-loaded scheduling policy. Returning the address URL of the time-shifted media server to the client;
309、 客户端根据返回的媒体服务器地址 URL向该时移媒体服务器发起时 移请求(RTSP DESCRIBE ), RTSP DESCRIBE请求消息中携带时移业务标识, 如 携带 TimeShi f t: 1 ;  309. The client sends a time shift request (RTSP DESCRIBE) to the time-shifted media server according to the returned media server address URL, and the RTSP DESCRIBE request message carries the time-shift service identifier, such as carrying TimeShi f t: 1;
309、 时移媒体服务器向客户端返回响应消息, 该消息中包括该时移媒体 服务器是否支持当前频道的时移服务的时移态参数,如, Timeshif t-Sta tus: 1 表示支持当前频道的时移服务。 然后,客户端向该时移媒体服务器发起播放请 求, 播放请求中携带 Range播放范围参数、 倍数参数等, 该时移媒体服务器根 据客户端的播放请求向客户端发送当前频道时移媒体数据。  309. The time-shifted media server returns a response message to the client, where the message includes time-shifting parameters of the time-shifted service of the current channel, such as Timeshif t-Sta tus: 1 indicating that the current channel is supported. Time shift service. Then, the client initiates a play request to the time-shifted media server, and the play request carries a Range play range parameter, a multiple parameter, and the like, and the time-shifted media server sends the current channel time-shifted media data to the client according to the play request of the client.
如上所述的本发明一实施例的媒体内容调度方法, IPTV 系统根据频道内 容的用户访问热度选择访问热度较高的媒体服务器录制时移内容,当用户选择 直播服务时,优选选择仅提供直播服务的媒体服务器向用户提供服务, 当用户 在直播过程中,选择当期频道时移业务时,客户端如果确定当前直播媒体服务 器不能提供时移服务时,通过调度服务器重新定向到能够提供时移服务的时移 媒体服务器, 由该时移媒体服务器向用户提供时移服务。从而避免了所有媒体 服务器录制时移节目导致的网络存储资源浪费,也避免了仅部分媒体服务器录 制时移节目导致的部分节点无法提供时移业务的状况,提高了 CDN系统的灵活 性和稳定性。 According to the media content scheduling method of the embodiment of the present invention, the IPTV system selects a media server with a higher popularity to record time-shifted content according to the user access heat of the channel content. When the user selects the live broadcast service, it is preferred to select only the live broadcast service. The media server provides services to the user. When the user selects the current channel time shift service during the live broadcast process, the client redirects to the time shift service through the dispatch server if it determines that the current live media server cannot provide the time shift service. A time-shifted media server that provides time-shifted services to users by the time-shifted media server. Therefore, the waste of the network storage resources caused by the recording of the time-shifted program by all the media servers is avoided, and the situation that some nodes are unable to provide the time-shifted service caused by the time-shifted program of only part of the media server is avoided, and the flexibility of the CDN system is improved. Sex and stability.
图 4 示出了本发明又一实施例的媒体内容调度方法信令交互图, 如图 4 所示, 该媒体内容调度方法包括:  FIG. 4 is a diagram showing a signaling interaction diagram of a media content scheduling method according to another embodiment of the present invention. As shown in FIG. 4, the media content scheduling method includes:
401、 用户选择播放直播内容;  401. The user selects to play the live content.
402、客户端向调度服务器发起直播请求(RTSP DESCRIBE ), RTSP DESCRIBE 请求消息中携带直播业务标识, 如携带 TimeShi f t : 0;  402. The client sends a live broadcast request (RTSP DESCRIBE) to the scheduling server, where the RTSP DESCRIBE request message carries a live service identifier, such as carrying TimeShi ft: 0;
403、 调度服务器解析客户端发起的 RTSP DESCRIBE请求消息, 确定客户 端需要请求直播业务,调度服务器按照就近且负载最轻原则,优先选择没有进 行频道录制的直播媒体服务器为用户提供服务,如果没有可用的直播媒体服务 器, 则可选择支持时移业务的时移媒体服务器提供服务。调度服务器向客户端 返回直播请求响应消息,该响应消息中携带提供直播业务的时移媒体服务器的 统一资源定位符 ( Univer sa l Resource Loca tor , URL )。  403. The scheduling server parses the RTSP DESCRIBE request message initiated by the client, determines that the client needs to request the live broadcast service, and the scheduling server preferentially selects the live media server that does not perform channel recording to provide services for the user according to the nearest and the lightest load principle, if not available. The live media server can select a time-shifted media server that supports time-shifted services to provide services. The scheduling server returns a live request response message to the client, where the response message carries a Uniform resource locator (URL) of the time-shifted media server that provides the live broadcast service.
404、 客户端根据返回的时移媒体服务器的 URL建立与该时移媒体服务器 间的直播业务会话;  404. The client establishes a live broadcast service session with the time-shifted media server according to the returned time-shifted media server URL.
405、 在直播过程中, 用户对当前频道选择倒退等时移操作;  405. During the live broadcast, the user selects a backward time shift operation for the current channel;
406、 客户端根据当前时移媒体服务器时移态参数确定当前时移媒体服务 器支持时移业务;  406. The client determines, according to the current time shifting media server transition state parameter, that the current time shift media server supports the time shift service;
407、 客户端利用与当前时移媒体服务器之间的直播业务会话, 向该时移 媒体服务器发起播放请求,播放请求中携带 Range播放范围参数、倍数参数等; 408、 该时移媒体服务器根据客户端的播放请求向客户端发送当前频道时 移媒体数据。  407. The client initiates a play request to the time shifting media server by using a live broadcast service session with the current time shift media server, where the play request carries a Range play range parameter, a multiple parameter, and the like; 408. The time shift media server is configured according to the client. The end play request sends the current channel time-shifted media data to the client.
图 5示出了本发明一实施例的客户端结构框图,如图 5所示, 该客户端包 括: 会话单元 501、 接收单元 502、 判断单元 503、 处理单元 504、 发送单元 505。  FIG. 5 is a block diagram of a client structure according to an embodiment of the present invention. As shown in FIG. 5, the client includes: a session unit 501, a receiving unit 502, a determining unit 503, a processing unit 504, and a sending unit 505.
其中,会话单元 501用于通过调度服务器的调度, 建立与第一媒体服务器 之间的直播业务会话;接收单元 502用于在会话单元 501建立与第一媒体服务 器之间的直播业务会话之后, 接收当前频道的时移业务请求; 判断单元 503 , 用于根据接收单元 502接收的时移业务请求,判断第一媒体服务器是否支持当 前频道的时移业务; 处理单元 504 , 用于确定第一媒体服务器不支持当前频道 时移业务时, 断开与所述第一媒体服务器的会话; 发送单元 505 , 用于当处理 单元 504确定第一媒体服务器不支持当前频道时移业务时,向所述调度服务器 发起时移业务请求; 接收单元 502 , 还用于接收来自所述调度服务器的时移业 务响应,所述时移业务响应包括对所述当前频道提供时移服务的第二媒体服务 器的地址; 会话单元 501 , 还用于根据所述调度服务器返回的第二媒体服务器 地址, 向提供当前频道时移服务的第二媒体服务器发送时移业务请求, 建立与 所述第二媒体服务器之间的时移业务会话。 The session unit 501 is configured to establish a live broadcast service session with the first media server by using the scheduling of the scheduling server. The receiving unit 502 is configured to receive the live broadcast service session with the first media server after the session unit 501 is established. a time-shift service request of the current channel; the determining unit 503, configured to determine, according to the time-shift service request received by the receiving unit 502, whether the first media server supports the time-shift service of the current channel; the processing unit 504, configured to determine the first media server Current channel not supported When the service is time-shifted, the session with the first media server is disconnected; the sending unit 505 is configured to: when the processing unit 504 determines that the first media server does not support the current channel time-shift service, initiate a time-shift service to the scheduling server. The receiving unit 502 is further configured to receive a time shift service response from the scheduling server, where the time shift service response includes an address of a second media server that provides a time shift service to the current channel, and a session unit 501. And sending, by the second media server that provides the current channel time shift service, a time shift service request, and establishing a time shift service session with the second media server according to the second media server address returned by the scheduling server.
可选的,处理单元 504还用于当所述判断单元确定第一媒体服务器支持时 移业务, 则利用当前直播业务会话,通过所述发送单元 505向所述第一媒体服 务器发送当前频道的时移播放请求。  Optionally, the processing unit 504 is further configured to: when the determining unit determines that the first media server supports the time shift service, and uses the current live broadcast service session to send the current channel to the first media server by using the sending unit 505. Move the play request.
可选的, 发送单元 505 , 还用于向所述调度服务器发起直播业务请求; 接 收单元 502 , 用于接收所述调度服务器返回的包括提供直播业务的第一媒体服 务器地址的响应消息; 会话单元 501 , 用于根据所述第一媒体服务器地址建立 与所述第一媒体服务器之间的直播业务会话。  Optionally, the sending unit 505 is further configured to: initiate a live broadcast service request to the scheduling server; the receiving unit 502 is configured to receive, by the scheduling server, a response message that includes a first media server address that provides a live broadcast service; 501. The method is used to establish a live service session with the first media server according to the first media server address.
需要注意的是, 如上所述的客户端可以为机顶盒、 智能手机等终端, 可用 于执行如图 2-图 4所阐述的媒体内容调度方法。  It should be noted that the client as described above may be a terminal such as a set top box or a smart phone, and may be used to execute the media content scheduling method as illustrated in FIG.
图 6示出了本发明一实施例的媒体内容调度系统结构框图, 如图 6所示, 该媒体内容调度系统包括如图 5所示的客户端 601 , 调度服务器 602 , 用于接 收客户端直播业务请求,根据所述客户端位置与媒体服务器负载情况向所述客 户端返回响应消息,所述响应消息中包括提供直播业务的第一媒体服务器地址; 还用于接收所述客户端发送的当前频道的时移业务请求 ,向所述客户端返回支 持当前频道时移服务的第二媒体服务器地址; 媒体服务器 603 , 用于向所述客 户端提供媒体直播或者时移服务。  FIG. 6 is a structural block diagram of a media content scheduling system according to an embodiment of the present invention. As shown in FIG. 6, the media content scheduling system includes a client 601 as shown in FIG. 5, and a scheduling server 602, configured to receive a client live broadcast. The service request returns a response message to the client according to the client location and the media server load status, where the response message includes a first media server address that provides a live broadcast service, and is further configured to receive the current sent by the client. The time-shift service request of the channel returns a second media server address supporting the current channel time-shift service to the client; the media server 603 is configured to provide the media live broadcast or time-shift service to the client.
需要注意的是,媒体服务器 603可以包括仅提供直播服务的直播媒体服务 器和支持时移业务的时移媒体服务器, 且时移媒体服务器也支持直播服务。  It should be noted that the media server 603 may include a live media server that provides only a live broadcast service and a time-shifted media server that supports time-shifted services, and the time-shifted media server also supports a live broadcast service.
另外, 如上所述的媒体内容调度系统可用于执行如图 2-图 4所阐述的媒 体内容调度方法。  Additionally, the media content scheduling system as described above can be used to perform the media content scheduling method as illustrated in Figures 2 through 4.
图 7示出了本发明另一实施例的客户端示意框图,本发明实施例进一步 给出实现上述方法实施例中各步骤及方法的装置实施例, 如图 7 所示, 该用 户终端包括: 至少一个处理器 701 , 例如 CPU , 至少一个通信接口 704或者 其他通信接口, 存储器 702 , 和至少一个通信总线 705 , 用于实现这些装置 之间的会话通信。 处理器 701 用于执行存储器中存储的可执行模块, 例如 计算机程序; 用户终端可选的还包含用户接口 703 , 包括但不限于显示器, 键盘和点击设备(例如, 鼠标, 轨迹球( t rackba l l ) , 触感板或者触感显 示屏)。 存储器 702可能包含高速 Ram存储器, 也可能还包括非不稳定的存 储器 ( non-vo la t i le memory ), 例如至少一个磁盘存储器。 通过至少一个 网络接口 (可以是有线或者无线) 实现该用户终端与至少一个其他计算机 之间的通信会话, 可以使用互联网, 广域网, 本地网, 城域网等。 FIG. 7 is a schematic block diagram of a client according to another embodiment of the present invention. The embodiment of the present invention further provides an apparatus embodiment for implementing the steps and methods in the foregoing method embodiment. As shown in FIG. The subscriber terminal includes: at least one processor 701, such as a CPU, at least one communication interface 704 or other communication interface, memory 702, and at least one communication bus 705 for enabling session communication between the devices. The processor 701 is configured to execute an executable module stored in the memory, such as a computer program; the user terminal optionally further includes a user interface 703, including but not limited to a display, a keyboard, and a pointing device (eg, a mouse, a trackball (t rackba ll ), touch panel or touch display). The memory 702 may include a high speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory. The communication session between the user terminal and at least one other computer is implemented by at least one network interface (which may be wired or wireless), and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
存储器 702可选的可以包含至少一个位于远离前述 CPU 701 的地方的 存储装置 (例如外接存储装置)。 在一些实施方式中, 存储器 702存储了如 上图 5 所示的可执行模块或者数据结构, 或者他们的子集, 或者他们的扩 展集。  The memory 702 can optionally include at least one storage device (e.g., an external storage device) located remotely from the CPU 701. In some embodiments, memory 702 stores executable modules or data structures as shown in Figure 5 above, or a subset thereof, or their extensions.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示 例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地 描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决 于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用 来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范 围。  Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, for clarity of hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到, 为了描述的方便和简洁, 上述描 述的系统、装置和单元的具体工作过程, 可以参考前述方法实施例中的对应过 程, 在此不再赘述。  A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和方 法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性 的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另 外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系统, 或 一些特征可以忽略, 或不执行。 另夕卜, 所显示或讨论的相互之间的耦合或直接 耦合或通信会话可以是通过一些接口、装置或单元的间接耦合或通信会话,也 可以是电的, 机械的或其它的形式会话。 单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者 也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部 单元来实现本发明实施例方案的目的。 In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication session shown or discussed may be an indirect coupling or communication session through some interface, device or unit, also It can be an electrical, mechanical or other form of conversation. The components displayed by the unit may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单 元中。上述集成的单元既可以釆用硬件的形式实现,也可以釆用软件功能单元 的形式实现。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售 或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发 明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全 部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储 介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而前述 的存储介质包括: U 盘、 移动硬盘、 只读存储器 (ROM, Read-Only Memory ), 随机存取存储器 (RAM, Random Acces s Memory ), 磁碟或者光盘等各种可以存 储程序代码的介质。  The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM, Random Acces s Memory), a magnetic disk or an optical disk, and the like, which can store program codes. medium.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于 此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到 各种等效的修改或替换, 这些修改或替换都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent person can be easily conceived within the technical scope of the present invention. Modifications or substitutions are intended to be included within the scope of the invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权 利 要 求 Rights request
1、 一种媒体内容调度方法, 其特征在于, 包括: 1. A media content scheduling method, characterized by including:
客户端通过调度服务器的调度,建立与第一媒体服务器之间的直播业务会 话; The client establishes a live broadcast service session with the first media server through the scheduling of the scheduling server;
接收当前频道的时移业务请求,判断所述第一媒体服务器是否支持所述当 前频道的时移业务; Receive a time-shift service request of the current channel, and determine whether the first media server supports the time-shift service of the current channel;
如果所述第一媒体服务器不支持当前频道的时移业务,则断开与所述第一 媒体服务器的直播业务会话; If the first media server does not support the time-shift service of the current channel, disconnect the live service session with the first media server;
向所述调度服务器发起当前频道的时移业务请求; Initiate a time-shift service request for the current channel to the scheduling server;
接收来自所述调度服务器的时移业务响应,所述时移业务响应包括对所述 当前频道提供时移服务的第二媒体服务器的地址; Receive a time-shifted service response from the scheduling server, where the time-shifted service response includes the address of a second media server that provides time-shifted services for the current channel;
向所述第二媒体服务器发送时移业务请求,建立与所述第二媒体服务器之 间的时移业务会话。 Send a time-shift service request to the second media server to establish a time-shift service session with the second media server.
2、 如权利要求 1所述的方法, 其特征在于, 如果判断得到所述第一媒体 服务器支持时移业务, 则利用与所述第一媒体服务器的直播业务会话, 向所述 第一媒体服务器发送时移播放请求。 2. The method according to claim 1, characterized in that, if it is determined that the first media server supports the time-shift service, then using the live broadcast service session with the first media server to send the message to the first media server. Send a time-shifted playback request.
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述客户端通过调度服 务器的调度, 建立与第一媒体服务器之间的直播业务会话, 包括: 3. The method of claim 1 or 2, wherein the client establishes a live broadcast service session with the first media server through scheduling by the scheduling server, including:
客户端向所述调度服务器发起直播业务请求; The client initiates a live broadcast service request to the scheduling server;
接收所述调度服务器返回的直播业务响应,所述直播业务响应包括所述第 一媒体服务器的地址,所述第一媒体服务器的地址由所述调度服务器根据所述 客户端的位置与媒体服务器负载情况优先从未进行频道录制的媒体服务器中 选择确定; Receive a live broadcast service response returned by the scheduling server. The live broadcast service response includes the address of the first media server. The address of the first media server is determined by the scheduling server according to the location of the client and the load of the media server. Prioritize selection from media servers that do not record channels;
客户端根据所述第一媒体服务器的地址建立与第一媒体服务器之间的直 播业务会话。 The client establishes a live broadcast service session with the first media server according to the address of the first media server.
4、 如权利要求 3所述的方法, 其特征在于, 所述直播业务响应还包括所 述第一媒体服务器的时移态参数,所述时移态参数指示所述第一媒体服务器是 否支持当前频道的时移业务; 4. The method of claim 3, wherein the live broadcast service response further includes a time-shifted state parameter of the first media server, and the time-shifted state parameter indicates whether the first media server supports the current Channel time shifting service;
所述判断所述第一媒体服务器是否支持所述当前频道的时移业务具体为: 根据所述第一媒体服务器的时移态参数判断所述第一媒体服务器是否支 持所述当前频道的时移业务。 Determining whether the first media server supports the time-shift service of the current channel is specifically: Determine whether the first media server supports the time-shift service of the current channel according to the time-shift state parameter of the first media server.
5、 如权利要求 1至 3任一所述的方法, 其特征在于, 所述判断所述第一 媒体服务器是否支持所述当前频道的时移业务具体为:根据所述第一媒体服务 器的时移态参数判断所述第一媒体服务器是否支持所述当前频道的时移业务; 所述时移态参数由所述第一媒体服务器在建立直播业务会话的过程中发 送给所述客户端 ,所述时移态参数指示所述第一媒体服务器是否支持当前频道 的时移业务。 5. The method according to any one of claims 1 to 3, wherein the step of determining whether the first media server supports the time-shift service of the current channel is: based on the time shift of the first media server. The time-shifting parameter determines whether the first media server supports the time-shifting service of the current channel; the time-shifting parameter is sent to the client by the first media server during the process of establishing a live broadcast service session, so The time-shift state parameter indicates whether the first media server supports the time-shift service of the current channel.
6、 如权利要求 1所述的方法, 其特征在于, 所述第二媒体服务器地址由 所述调度服务器根据所述客户端的位置与媒体服务器负载情况从进行频道录 制的媒体服务器中选择确定。 6. The method of claim 1, wherein the second media server address is selected and determined by the scheduling server from media servers that perform channel recording based on the location of the client and the media server load.
7、 如权利要求 3所述的方法, 其特征在于, 所述第一媒体服务器包括仅 提供直播服务的直播媒体服务器和支持时移服务的时移服务器,所述调度服务 器记录有仅提供直播服务的直播媒体服务器地址和支持时移服务的时移媒体 服务器地址。 7. The method of claim 3, wherein the first media server includes a live media server that only provides live broadcast services and a time-shift server that supports time-shift services, and the scheduling server records that only provides live broadcast services. The address of the live broadcast media server and the address of the time-shifted media server that supports the time-shift service.
8、 一种客户端, 其特征在于, 包括: 8. A client, characterized by including:
会话单元, 用于通过调度服务器的调度, 建立与第一媒体服务器之间的直 播业务会话; The session unit is used to establish a live broadcast service session with the first media server through scheduling by the scheduling server;
接收单元,用于在会话单元建立与第一媒体服务器之间的直播业务会话之 后, 接收当前频道的时移业务请求; A receiving unit, configured to receive a time-shifted service request of the current channel after the session unit establishes a live service session with the first media server;
判断单元, 用于根据接收单元接收的时移业务请求, 判断所述第一媒体服 务器是否支持所述当前频道的时移业务; A judging unit, configured to judge whether the first media server supports the time-shift service of the current channel according to the time-shift service request received by the receiving unit;
处理单元,用于在所述判断单元确定所述第一媒体服务器不支持当前频道 的时移业务, 断开与所述第一媒体服务器会话; 发送单元, 用于当处理单元确 定所述第一媒体服务器不支持当前频道时移业务时,向所述调度服务器发起当 前频道的时移业务请求; a processing unit, configured to disconnect the session with the first media server when the judgment unit determines that the first media server does not support the time-shift service of the current channel; a sending unit, configured to: when the processing unit determines that the first media server does not support the time-shift service of the current channel; When the media server does not support the time-shift service of the current channel, it initiates a time-shift service request of the current channel to the scheduling server;
所述接收单元,还用于接收来自所述调度服务器的时移业务响应, 所述时 移业务响应包括对所述当前频道提供时移服务的第二媒体服务器的地址; The receiving unit is also configured to receive a time-shifted service response from the scheduling server, where the time-shifted service response includes the address of a second media server that provides time-shifted services for the current channel;
所述会话单元, 还用于根据所述调度服务器返回的第二媒体服务器地址, 向提供当前频道时移服务的第二媒体服务器发送时移业务请求,建立与所述第 二媒体服务器之间的时移业务会话。 The session unit is also used to calculate the second media server address returned by the scheduling server, Send a time-shift service request to a second media server that provides time-shift service for the current channel, and establish a time-shift service session with the second media server.
9、 如权利要求 8所述的客户端, 其特征在于, 所述处理单元还用于, 当 所述判断单元确定所述第一媒体服务器支持时移业务,则利用与所述第一媒体 服务器的直播业务会话,通过所述发送单元向所述第一媒体服务器发送当前频 道的时移播放请求。 9. The client of claim 8, wherein the processing unit is further configured to: when the judgment unit determines that the first media server supports the time-shift service, use the For a live broadcast service session, the sending unit sends a time-shift playback request of the current channel to the first media server.
10、 如权利要求 8所述的客户端, 其特征在于: 10. The client as claimed in claim 8, characterized in that:
所述发送单元, 还用于向所述调度服务器发起直播业务请求; The sending unit is also used to initiate a live broadcast service request to the scheduling server;
所述接收单元,还用于接收所述调度服务器返回的包括提供直播业务的第 一媒体服务器地址的响应消息; The receiving unit is also configured to receive a response message returned by the scheduling server including the address of the first media server that provides the live broadcast service;
所述会话单元,用于根据所述第一媒体服务器地址建立与所述第一媒体服 务器之间的直播业务会话。 The session unit is configured to establish a live service session with the first media server according to the first media server address.
11、 如权利要求 10所述的客户端, 其特征在于, 所述接收单元接收的响 应消息中,还包括所述第一媒体服务器是否支持当前频道时移服务的时移态参 数。 11. The client according to claim 10, wherein the response message received by the receiving unit also includes a time-shifting state parameter of whether the first media server supports time-shifting service for the current channel.
12、 如权利要求 10所述的客户端, 其特征在于, 所述接收单元在与所述 会话单元与所述第一媒体服务器建立直播业务会话过程中,还接收所述第一媒 体服务器反馈的是否支持当前频道时移服务的时移态参数。 12. The client according to claim 10, wherein the receiving unit also receives feedback from the first media server during the process of establishing a live service session with the session unit and the first media server. Whether to support the time-shifting parameters of the current channel time-shifting service.
13、 如权利要求 11或 12所述的客户端, 其特征在于, 所述判断单元具体 用于根据所述时移态参数判断所述第一媒体服务器是否支持当前频道的时移 服务。 13. The client according to claim 11 or 12, wherein the determination unit is specifically configured to determine whether the first media server supports the time-shift service of the current channel according to the time-shift state parameter.
14、 一种媒体内容调度系统, 其特征在于, 包括: 14. A media content scheduling system, characterized by including:
如权利要求 8-13任一项所述的客户端。 The client as described in any one of claims 8-13.
15、 如权利要求 14所述的媒体内容调度系统, 其特征在于, 还包括: 调度服务器, 用于接收客户端直播业务请求,根据所述客户端的位置与媒 体服务器负载情况向所述客户端返回响应消息,所述响应消息中包括提供直播 业务的第一媒体服务器地址;还用于接收所述客户端发送的当前频道的时移业 务请求, 向所述客户端返回支持当前频道时移服务的第二媒体服务器地址; 第一媒体服务器, 用于向所述客户端提供频道直播服务; 第二媒体服务器, 用于向所述客户端提供频道时移服务。 15. The media content scheduling system according to claim 14, further comprising: a scheduling server, configured to receive a client's live broadcast service request and return a request to the client according to the client's location and media server load. A response message, the response message includes the address of the first media server that provides the live broadcast service; it is also used to receive the time-shift service request of the current channel sent by the client, and return to the client a request that supports the time-shift service of the current channel. The second media server address; the first media server, used to provide channel live broadcast services to the client; The second media server is used to provide channel time-shifting service to the client.
PCT/CN2013/077763 2012-10-31 2013-06-24 Media content scheduling method, system and device WO2014067289A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210427668.5 2012-10-31
CN2012104276685A CN102932678A (en) 2012-10-31 2012-10-31 Media content scheduling method, system and device

Publications (1)

Publication Number Publication Date
WO2014067289A1 true WO2014067289A1 (en) 2014-05-08

Family

ID=47647362

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/077763 WO2014067289A1 (en) 2012-10-31 2013-06-24 Media content scheduling method, system and device

Country Status (2)

Country Link
CN (1) CN102932678A (en)
WO (1) WO2014067289A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108063950A (en) * 2017-12-26 2018-05-22 郑州威科姆科技股份有限公司 A kind of live streaming classroom implementation method

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932678A (en) * 2012-10-31 2013-02-13 华为技术有限公司 Media content scheduling method, system and device
CN104010200B (en) 2013-02-22 2018-01-30 中兴通讯股份有限公司 The video providing method and device of IPTV service
CN105933798A (en) * 2016-05-18 2016-09-07 青岛海信宽带多媒体技术有限公司 Method and device for playing live program based on Internet protocol television
CN108494720B (en) 2017-02-23 2021-02-12 华为软件技术有限公司 Scheduling method based on session migration and server
CN107483974B (en) * 2017-08-29 2020-04-24 深圳市茁壮网络股份有限公司 Service processing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7272298B1 (en) * 1998-05-06 2007-09-18 Burst.Com, Inc. System and method for time-shifted program viewing
CN101094378A (en) * 2006-06-21 2007-12-26 华为技术有限公司 Time shifting method and system of interactive network TV
CN102118634A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Scheduling method, device and system for realizing IP (Internet protocol) television service
CN102932678A (en) * 2012-10-31 2013-02-13 华为技术有限公司 Media content scheduling method, system and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7272298B1 (en) * 1998-05-06 2007-09-18 Burst.Com, Inc. System and method for time-shifted program viewing
CN101094378A (en) * 2006-06-21 2007-12-26 华为技术有限公司 Time shifting method and system of interactive network TV
CN102118634A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Scheduling method, device and system for realizing IP (Internet protocol) television service
CN102932678A (en) * 2012-10-31 2013-02-13 华为技术有限公司 Media content scheduling method, system and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108063950A (en) * 2017-12-26 2018-05-22 郑州威科姆科技股份有限公司 A kind of live streaming classroom implementation method
CN108063950B (en) * 2017-12-26 2020-10-27 郑州威科姆科技股份有限公司 Live broadcast classroom implementation method

Also Published As

Publication number Publication date
CN102932678A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
JP6349356B2 (en) Multi-screen interaction method and system
US9912999B2 (en) System for managing media services
JP6279512B2 (en) System and method for adaptive video communication
US10367880B2 (en) Method and system for presenting media content
WO2014067289A1 (en) Media content scheduling method, system and device
CN101453699B (en) Advertisement playing method and user terminal
CN102055718B (en) Method, device and system for layering request content in http streaming system
US11051078B2 (en) Video distribution method and device
WO2022219363A1 (en) Switching between transmitting a preauthored video frame and a composited video frame
KR20120114016A (en) Method and apparatus for network adaptive streaming user data in a outer terminal
CN102474517A (en) A method of switching media content for a mobile apparatus
US9544630B2 (en) Method and IPTV server for enabling playout of one or more media objects
US20200007920A1 (en) Method and apparatus to deliver a personalized media experience
US9826283B2 (en) Apparatus and method for inserting advertisement in a broadcasting system
EP2088730B1 (en) Method for associated processing service information and service server
CN100563258C (en) A kind of method and system and service discovering device of finding streaming media service
WO2011144176A1 (en) Method, apparatus and system for controlling content provision of content delivery network
JP7237117B2 (en) Terminal device, data processing device and method
WO2015077983A1 (en) Device and method for playing media in home network
WO2010028591A1 (en) Method and system for realizing recording in client terminal, and recording control entity
WO2010057391A1 (en) Control method, equipment and system for playing stream media
WO2010025675A1 (en) Method for playing service contents, system and apparatus thereof
JP6063952B2 (en) Method for displaying multimedia assets, associated system, media client, and associated media server
US20160094891A1 (en) Method and apparatus for distributing content locally
WO2010025635A1 (en) Method of switching of play, media server, user terminal and system thereof

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: 13852316

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: 13852316

Country of ref document: EP

Kind code of ref document: A1