CN1859266A - Method and device for providing stream medium service information - Google Patents
Method and device for providing stream medium service information Download PDFInfo
- Publication number
- CN1859266A CN1859266A CNA200510132864XA CN200510132864A CN1859266A CN 1859266 A CN1859266 A CN 1859266A CN A200510132864X A CNA200510132864X A CN A200510132864XA CN 200510132864 A CN200510132864 A CN 200510132864A CN 1859266 A CN1859266 A CN 1859266A
- Authority
- CN
- China
- Prior art keywords
- information
- client
- presentity
- streaming media
- presentity client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种提供流媒体业务信息的方法及呈现体客户机,用以解决目前用户通过呈现体客户机播放流媒体时,观察体客户端无法获知呈现体客户机的播放状态的问题。进一步解决观察体客户端无法获知呈现体客户机播放的流媒体的具体信息项的问题。本发明方法包括:A.呈现体客户机获取本机播放的流媒体信息,并发布至呈现服务器;B.呈现服务器将所述流媒体信息保存,并发送给观察体客户端。The invention discloses a method for providing streaming media service information and a presentity client, which is used to solve the problem that the observer client cannot know the playing state of the presentity client when the user plays streaming media through the presentity client. It further solves the problem that the watcher client cannot know the specific information items of the streaming media played by the presentity client. The method of the present invention includes: A. the presentity client acquires the streaming media information played by the machine and publishes it to the presence server; B. the presence server saves the streaming media information and sends it to the observer client.
Description
技术领域technical field
本发明涉及网络通信领域,特别是涉及一种提供流媒体业务信息的方法及呈现体客户机。The invention relates to the field of network communication, in particular to a method for providing streaming media service information and a presentity client.
背景技术Background technique
移动流媒体服务是在移动终端上收看流媒体的业务。目前有两种方式可以实现:无线流媒体方式和移动广播方式。相比之下,移动广播在网络建设成本和运营成本上有巨大的优势,因而引起了电信运营商和广播业者的广泛关注。Mobile streaming service is a service of watching streaming media on mobile terminals. There are currently two ways to achieve this: wireless streaming and mobile broadcasting. In contrast, mobile broadcasting has huge advantages in network construction costs and operating costs, and thus has attracted extensive attention from telecom operators and broadcasters.
呈现业务(PRESENCE SERVICE)是一个软件系统,其作用是搜集和分发呈现信息,以满足各种控制和通信的需要。其使用范围包括:PRESENCE SERVICE is a software system whose role is to collect and distribute presentation information to meet various control and communication needs. Its scope of use includes:
1、自然人发布个人呈现信息。他们可以使用其手机的应用程序或者桌面的应用程序。呈现体的状态同时包括通信通道的状态,如:VoIP,或无线一键通。1. A natural person publishes personal presentation information. They can use the app on their phone or the app on their desktop. The state of the presentity also includes the state of the communication channel, such as: VoIP, or PTT.
2、非自然人呈现体可以发布呈现信息。例如,一个无线电台可以发布目前正在播送的歌曲,并且呼叫中心可以发布呼叫拥塞状态的信息。2. A non-natural person presentity can publish presentation information. For example, a radio station can post what song is currently on the air, and a call center can post call congestion status information.
3、网络部件可以产生属于自然人的呈现信息,例如,一个自然人是否在网络中注册。网络部件也可以使用呈现信息。3. The network component can generate presence information belonging to a natural person, for example, whether a natural person is registered in the network. Web components may also use presence information.
关于呈现业务的现有技术具体可以参见开放移动联盟OMA以及互联网工程组IETF制定的相关标准规范,如RFC2778和RFC2779等。在呈现业务中,观察体可以及时获取到呈现体的呈现信息,例如:是否在线、位置、情绪等信息。目前已经商用的微软公司的MSN、腾讯公司的QQ等即时消息工具中都集成了呈现业务功能。For the existing technology of the presence service, please refer to relevant standards and specifications formulated by the Open Mobile Alliance OMA and the Internet engineering group IETF, such as RFC2778 and RFC2779. In the presence service, the watcher can obtain the presence information of the presentity in a timely manner, such as whether online, location, emotion and other information. Currently commercially available instant messaging tools such as Microsoft's MSN and Tencent's QQ all integrate presentation service functions.
用户在观看移动流媒体业务的时候,可能不希望有来电或其他通信方式打扰,或者希望想与其通信的用户分享他目前正在观看的流媒体业务。例如:用户A正在移动终端上观看电视节目,用户A的呈现客户端也同时在线,但用户A却不愿他人打扰其观看电视,此时用户B仅能根据用户A的在线状态获知其在线,进而发送消息,却无法获知用户A正在观看电视。在这种情况下,用户B往往得不到及时或友好的回复。又例如:用户A正在观看移动流媒体点播节目,他希望用户B通过呈现系统马上获得节目信息(包括预览、名称、时长等),从而可以与用户B分享该节目。When a user is watching a mobile streaming service, he may not wish to be disturbed by an incoming call or other means of communication, or may wish to share the streaming service he is currently watching with a user who wants to communicate with him. For example: user A is watching TV programs on a mobile terminal, and user A's presence client is also online at the same time, but user A does not want others to disturb him watching TV. At this time, user B can only know that user A is online based on user A's online status. Then send a message, but can not know that user A is watching TV. In this case, user B often does not get a prompt or friendly reply. Another example: user A is watching a mobile streaming media on-demand program, and he hopes that user B can immediately obtain program information (including preview, name, duration, etc.) through the presentation system, so that he can share the program with user B.
综上所述,目前用户通过呈现体客户机播放流媒体时,观察体客户端无法获知呈现体客户机的播放状态,更无法获知播放的流媒体的具体信息项。To sum up, currently, when the user plays streaming media through the presence client, the observer client cannot know the playing status of the presence client, let alone specific information items of the streaming media being played.
发明内容Contents of the invention
本发明提供一种提供流媒体业务信息的方法及呈现体客户机,用以解决目前用户通过呈现体客户机播放流媒体时,观察体客户端无法获知呈现体客户机的播放状态的问题。The present invention provides a method for providing streaming media service information and a presentity client to solve the current problem that the watcher client cannot know the playing status of the presentity client when the user plays streaming media through the presentity client.
进一步解决观察体客户端无法获知呈现体客户机播放的流媒体的具体信息项的问题。It further solves the problem that the watcher client cannot know the specific information items of the streaming media played by the presentity client.
本发明方法包括:The inventive method comprises:
A、呈现体客户机获取本机播放的流媒体信息,并发布至呈现服务器;A. The presentity client obtains the streaming media information played by the local machine, and publishes it to the presentation server;
B、呈现服务器将所述流媒体信息保存,并发送给观察体客户端。B. The presence server saves the streaming media information and sends it to the watcher client.
所述流媒体信息至少包括:播放状态信息。The streaming media information at least includes: playing state information.
所述流媒体信息还包括:流媒体的信息项。The streaming media information also includes: streaming media information items.
根据用户的设置,呈现体客户机获取播放状态信息,以及从所述流媒体的元数据的数据模型中获取相应的信息项。According to the settings of the user, the presentity client acquires the playing state information, and acquires corresponding information items from the data model of the metadata of the streaming media.
所述呈现体客户机将获取的流媒体信息携带于呈现信息中,并发布至呈现服务器。通过扩展呈现信息,将所述流媒体信息携带于呈现信息中。The presentity client carries the obtained streaming media information in the presence information, and publishes it to the presence server. By extending the presence information, the streaming media information is carried in the presence information.
呈现体客户机按发布的时间顺序将发布的流媒体信息排序,并保存。The presentity client sorts and saves the published streaming media information according to the published time sequence.
所述步骤B中,呈现服务器以呈现体客户机中的呈现体客户端的标识URI为索引,按接收的时间顺序将收到的呈现信息排序,并保存。In the step B, the presence server uses the URIs of the presentity clients in the presentity clients as indexes, sorts the received presence information according to the received time sequence, and saves them.
步骤B中所述观察体客户端向呈现服务器发送查询请求,所述呈现服务器根据查询请求中的检索条件,将符合所述检索条件的呈现信息发送至观察体客户端。In step B, the watcher client sends a query request to the presence server, and the presence server sends the presence information meeting the search conditions to the watcher client according to the search condition in the query request.
步骤B中所述观察体客户端的用户设置通知条件,并上传到呈现服务器;当呈现服务器更新的呈现信息符合所述通知条件时,将该呈现信息发送至观察体客户端。In step B, the user of the watcher client sets notification conditions and uploads them to the presence server; when the presence information updated by the presence server meets the notification conditions, the presence information is sent to the watcher client.
所述呈现体客户机为移动终端。The presentity client is a mobile terminal.
本发明的呈现体客户机,其中的呈现体客户端具有发布呈现信息的功能,所述呈现体客户机还包括:收集装置,用于获取本机播放的流媒体信息;呈现信息生成装置,用于将收集装置获取的流媒体信息添加到呈现信息中。In the presentity client of the present invention, the presentity client has the function of publishing presence information, and the presentity client also includes: a collection device for acquiring streaming media information played by the machine; a presence information generation device for The method is to add the streaming media information acquired by the collecting device to the presentation information.
所述收集装置设置在所述呈现体客户端中,或者与所述呈现体客户端相互独立。The collection device is set in the presentity client, or is independent from the presentity client.
若所述收集装置与呈现体客户端相互独立,则通过进程间通信将获取的流媒体信息发送到呈现体客户端。If the collection device and the presentity client are independent of each other, the acquired streaming media information is sent to the presentity client through inter-process communication.
所述客户机还包括:收集范围设定装置,用于设定收集范围,以限制所述收集装置获取的流媒体信息。The client also includes: a collection range setting device, configured to set a collection range to limit the streaming media information acquired by the collection device.
所述呈现体客户机为移动终端。The presentity client is a mobile terminal.
本发明有益效果如下:The beneficial effects of the present invention are as follows:
呈现体用户在呈现体客户机上播放流媒体时,呈现体客户机会自动获取播放状态,并将所述播放状态添加到呈现信息中,发布到呈现服务器;呈现服务器再将该呈现信息发送给观察体客户端。这样观察体用户即可获知呈现体用户当前是否正在观看流媒体,从而避免了呈现体用户在观看流媒体时被打扰,也避免了观察体用户得不到及时或友好的回复的尴尬。When the presentity user plays streaming media on the presentity client, the presence client automatically obtains the playback status, adds the playback status to the presence information, and publishes it to the presence server; the presence server then sends the presence information to the watcher client. In this way, the watcher user can know whether the presentity user is currently watching streaming media, thereby avoiding the presentity user being disturbed while watching the streaming media, and also avoiding the embarrassment that the watcher user cannot get a timely or friendly reply.
本发明在呈现体客户机自动获取播放状态的同时,进一步还从所述流媒体的元数据的数据模型中获取该流媒体的信息项(例如:名称、预览链接等),并将所述信息项添加到呈现信息中,发布到呈现服务器;呈现服务器再将该呈现信息发送给观察体客户端。这样观察体用户即可获知呈现体用户当前所观看的流媒体的具体信息,从而可以有选择的与呈现体用户一起分享该流媒体。In the present invention, while the presentity client automatically obtains the playing state, it further obtains the information items of the streaming media (such as name, preview link, etc.) from the data model of the metadata of the streaming media, and stores the information Items are added to the presence information and published to the presence server; the presence server then sends the presence information to the watcher client. In this way, the watcher user can know the specific information of the streaming media currently watched by the presentity user, so as to selectively share the streaming media with the presentity user.
当然,观察体用户预先可以设置通知条件,或者在查询呈现信息时携带检索条件。这样观察体用户即可根据自己的喜好获得相应的呈现信息,从而找到与自己兴趣相投的呈现体用户,以便更好的分享流媒体。Of course, the watcher user can set the notification conditions in advance, or carry the retrieval conditions when querying the presence information. In this way, the observer user can obtain corresponding presentation information according to his or her preferences, so as to find presentity users who share similar interests with him, so as to better share streaming media.
为了支撑本发明方法,本发明还提供了一种呈现体客户机,其中的呈现体客户端具有发布呈现信息的功能,所述呈现体客户机还包括:收集装置,用于获取本机播放的流媒体信息;呈现信息生成装置,用于将收集装置获取的流媒体信息添加到呈现信息中。进一步还包括:收集范围设定装置,用于设定收集范围,以限制所述收集装置获取的流媒体信息。In order to support the method of the present invention, the present invention also provides a presentity client, wherein the presentity client has the function of publishing presence information, and the presentity client also includes: a collection device, used to acquire the Streaming media information; presenting information generating means, used to add the streaming media information acquired by the collecting means to presenting information. It further includes: a collection range setting device, which is used to set the collection range to limit the streaming media information obtained by the collection device.
附图说明Description of drawings
图1为本发明呈现体客户机的结构示意图;FIG. 1 is a schematic structural diagram of a presentity client in the present invention;
图2为本发明方法步骤流程图;Fig. 2 is a flowchart of the method steps of the present invention;
图3为订阅呈现信息信令流程图;Fig. 3 is a flow chart of subscribing presence information signaling;
图4为现有技术的呈现系统组网图;FIG. 4 is a network diagram of a presentation system in the prior art;
图5为呈现信息的结构图;FIG. 5 is a structural diagram for presenting information;
图6为现有技术发布呈现信息流程图;Fig. 6 is a flow chart of publishing and presenting information in the prior art;
图7为查询呈现信息信令流程图。Fig. 7 is a signaling flow chart of querying presence information.
具体实施方式Detailed ways
为了在呈现体用户通过呈现体客户机播放流媒体时,使观察体客户端可以获知呈现体客户机的播放状态;进一步可以获知呈现体客户机播放的流媒体的具体信息项,本发明提供了一种呈现体客户机,所述呈现体客户机可为移动终端,但不限于移动终端,参见图1所示,其包括:依次相连的收集装置、呈现信息生成装置和呈现体客户端;进一步还可包括:与所述收集装置相连的收集范围设定装置。In order to enable the watcher client to know the playback state of the presentity client when the presentity user plays the streaming media through the presentity client, and to know the specific information items of the streaming media played by the presentity client, the present invention provides A presentity client, the presentity client can be a mobile terminal, but not limited to a mobile terminal, as shown in Figure 1, it includes: a collection device, a presence information generation device and a presentity client connected in sequence; further It may also include: a collection range setting device connected with the collection device.
所述呈现体客户端,其设置在本发明的呈现体客户机中,用于发布呈现信息。The presentity client, which is set in the presentity client of the present invention, is used to publish presence information.
所述收集范围设定装置,用于设定收集范围,以限制所述收集装置获取的流媒体信息。The collection range setting device is used to set the collection range to limit the streaming media information obtained by the collection device.
所述收集装置,用于根据所述收集范围设定装置中设定的收集范围,相应获取本机播放的流媒体信息。若本发明的呈现体客户机中不包括收集范围设定装置,或者所述收集范围设定装置中没有设定收集范围,则本收集装置至少获取流媒体的播放状态,也可获取全部的流媒体信息。The collecting device is used for correspondingly obtaining the streaming media information played by the machine according to the collection range set in the collection range setting device. If the presentity client of the present invention does not include the collection range setting device, or the collection range setting device does not set the collection range, the collection device at least obtains the playing status of the streaming media, and can also obtain all the streaming media. media information.
所述呈现信息生成装置,用于将收集装置获取的流媒体信息添加到呈现信息中。The presenting information generating means is used for adding the streaming media information acquired by the collecting means to the presenting information.
上述收集装置可设置在所述呈现体客户端中,或者与所述呈现体客户端相互独立。若所述收集装置与呈现体客户端相互独立,则通过进程间通信将获取的流媒体信息发送到呈现体客户端,以使呈现体客户端通过所述呈现信息生成装置生成呈现信息,并发布。The above collection device may be set in the presentity client, or be independent from the presentity client. If the collection device and the presentity client are independent of each other, the acquired streaming media information is sent to the presentity client through inter-process communication, so that the presentity client generates presence information through the presence information generation device, and publishes .
应用上述呈现体客户机,本发明提供了一种提供流媒体业务信息的方法,参见图2所示,包括下列步骤:Applying the above-mentioned presentity client, the present invention provides a method for providing streaming media service information, as shown in Figure 2, including the following steps:
S1、呈现体客户机获取本机播放的流媒体信息。S1. The presentity client acquires the streaming media information played by the presentity client.
S2、发布至呈现服务器。S2. Publish to the presentation server.
S3、呈现服务器保存所述流媒体信息。S3. The presence server saves the streaming media information.
S4、呈现服务器向观察体客户端发送所述流媒体信息。S4. The presence server sends the streaming media information to the watcher client.
以下通过三个实例具体描述本发明方法。The method of the present invention is specifically described below through three examples.
方法实例一:呈现体客户机仅收集播放状态(即本例不包含收集范围设定装置),并发布;观察体作为订阅体,并且没有设置通知条件的情况。参见图3所示并结合图2,包括下述具体内容。Method example 1: the presentity client only collects the playback state (that is, this example does not include the device for setting the collection range) and publishes it; the observer acts as a subscriber and does not set notification conditions. Referring to FIG. 3 and in combination with FIG. 2 , the following specific contents are included.
S101、呈现体客户机获取本机播放的流媒体信息。S101. The presentity client acquires streaming media information played by the presentity client.
参见图4所示,目前呈现系统逻辑上包括两种呈现客户端:呈现体客户端和观察体客户端,当然通常用户的客户端会即作为呈现体客户端又同时作为观察体客户端。Referring to Fig. 4, the current presence system logically includes two types of presence clients: presentity client and viewer client. Of course, usually the user's client will serve as both the presentity client and the viewer client.
呈现体客户端包括:呈现体(PRESENTITY)和呈现体代理(UA1),呈现体代理作为呈现体用户(PRINCIPAL1)和系统交互的平台,且可识别PRINCIPAL1发出的呈现信息;呈现体用于存储并发布呈现信息给呈现服务器。The presentity client includes: the presentity (PRESENTITY) and the presentity agent (UA1). The presentity agent acts as a platform for the presentity user (PRINCIPAL1) to interact with the system, and can identify the presence information sent by PRINCIPAL1; the presentity is used to store and Publish presence information to the presence server.
观察体客户端包括:观察体(WATCHER)和观察体代理(UA2),观察体代理作为观察体用户(PRINCIPAL2)和系统交互的平台;观察体用于接收呈现服务器发送来的呈现体的呈现信息。The watcher client includes: watcher (WATCHER) and watcher agent (UA2), the watcher agent acts as a platform for the watcher user (PRINCIPAL2) to interact with the system; the watcher is used to receive the presence information of the presentity sent by the presence server .
其中,呈现体通过状态协议(PRESENCE PROTOCOL)将呈现信息传送至呈现服务器,服务器再将呈现信息通过状态协议发送给观察体。Among them, the presentity transmits the presence information to the presence server through the state protocol (PRESENCE PROTOCOL), and the server sends the presence information to the observer through the state protocol.
参见图4所示,本发明在呈现体客户机(如:移动终端)中设置有收集装置(AI),所述收集装置(AI)可设置在呈现体客户机中的呈现体客户端中(呈现体代理中),或者与所述呈现体客户端相互独立。Referring to Fig. 4, the present invention is provided with an collecting device (AI) in the presentity client (such as: a mobile terminal), and the collecting device (AI) can be set in the presentity client in the presentity client ( presentity proxy), or independent of the presentity client.
当用户通过呈现体客户机开始播放流媒体时,所述收集装置将自动获取播放状态信息(开始播放状态)。例如:在呈现体客户机收到网络侧发来的流媒体的包头,则判定开始播放。When the user starts to play the streaming media through the presentity client, the collection device will automatically acquire the playing state information (start playing state). For example: after receiving the packet header of the streaming media sent by the network side, the presentity client determines to start playing.
所述收集装置获取所述播放状态后,及时将其发送到呈现体客户端。若所述收集装置集成在呈现体客户端中,则可直接完成传送;若所述收集装置与呈现体客户端相互独立,则可通过进程间通信将播放状态信息发送给呈现体客户端。After the collecting device obtains the playing state, it sends it to the presentity client in time. If the collection device is integrated in the presentity client, the transmission can be completed directly; if the collection device and the presentity client are independent of each other, the playback status information can be sent to the presentity client through inter-process communication.
S102、发布至呈现服务器。S102. Publish to the presence server.
参见图5所示,呈现业务中的呈现信息(PRESENCE INFORMATION)在RFC2778定义的模型中,包括若干呈现信息元组(PRESENCE TUPLE),每个呈现信息元组进一步包括:状态值(STATUS)、通讯地址(COMMUNICATION)和其他标志(OTHER MARKUP)等呈现信息元素。通讯地址进一步包括有联系方式(CONTACT MEANS)和联系地址(CONTACT ADDRESS),联系方式可以是即时消息,短消息,电子邮件等,联系地址则为相应呈现用户帐号(如QQ号码)和电话号码等。Referring to Fig. 5, the presentation information (PRESENCE INFORMATION) in the presence service includes several presentation information tuples (PRESENCE TUPLE) in the model defined by RFC2778, and each presentation information tuple further includes: status value (STATUS), communication Information elements such as address (COMMUNICATION) and other signs (OTHER MARKUP) are presented. The communication address further includes contact means (CONTACT MEANS) and contact address (CONTACT ADDRESS). The contact means can be instant message, short message, email, etc., and the contact address is the corresponding user account (such as QQ number) and phone number, etc. .
本例中,呈现体客户端收到播放状态信息后,通过内置的呈现信息生成装置,将所述播放状态信息转换为呈现信息。具体转换过程为通过扩展呈现信息中的其他标志(OTHER MARKUP),用来存放播放状态信息;也可直接将所述播放状态信息直接添加到状态值(STATUS)中。In this example, after receiving the playing state information, the presentity client converts the playing state information into presence information through a built-in presence information generating device. The specific conversion process is to store the playback status information by expanding other marks (OTHER MARKUP) in the presentation information; the playback status information can also be directly added to the status value (STATUS).
生成包括播放状态信息的呈现信息后,呈现体客户端通过状态协议将该呈现信息发布到呈现服务器。After generating the presence information including the playing state information, the presentity client publishes the presence information to the presence server through the state protocol.
发布后,呈现体客户端按发布的时间顺序将该呈现信息中的播放状态信息保存。After publishing, the presentity client saves the playing state information in the presence information according to the time sequence of publishing.
S103、呈现服务器保存所述流媒体信息。S103. The presence server saves the streaming media information.
呈现服务器收到携带有播放状态信息的呈现信息后,以呈现体客户端的标识URI为索引,按接收的时间顺序将收到的呈现信息排序,并保存。即保存了所述播放状态信息。这样具有权限的观察体用户即可获得所述播放状态信息。After the presence server receives the presence information carrying the playback state information, it takes the URI of the presentity client as an index, sorts the received presence information according to the received time sequence, and saves it. That is, the playing state information is saved. In this way, the watcher user with authority can obtain the playing state information.
S104、呈现服务器向观察体客户端发送所述流媒体信息。S104. The presence server sends the streaming media information to the watcher client.
参见图6所示,举例说明目前呈现系统通知信息的流程。初始呈现体,观察体,呈现服务器上的呈现信息为P1,当呈现体的播放状态信息从P1变为P2时,呈现体向呈现服务器发送最新的播放状态信息P2,呈现服务器将播放状态信息从P1更新为P2,并将修改后的播放状态信息P2发送给观察体。于是呈现体,观察体,呈现服务器上的播放状态信息均变为P2。Referring to FIG. 6 , an example illustrates the process of presenting system notification information at present. The initial presentity, observer, and presence information on the presence server are P1. When the play state information of the presentity changes from P1 to P2, the presentity sends the latest play state information P2 to the presence server, and the presence server transfers the play state information from P1 is updated to P2, and the modified playback state information P2 is sent to the observer. Therefore, the playback state information on the presentity, the watcher, and the presence server all change to P2.
所述观察体可分为查询体(FETCHER)和订阅体(SUBSCRIBER)。查询体仅简单的请求查询呈现体发布的呈现信息,而订阅体则请求当呈现体的呈现信息(未来)变化时,能实时接收到更新的呈现信息。The observer can be divided into a query body (FETCHER) and a subscription body (SUBSCRIBER). The query body simply requests to query the presence information released by the presentity, while the subscription body requests to receive updated presence information in real time when the presence information (future) of the presentity changes.
本处以订阅体请求订阅呈现体客户端发布的呈现信息为例,说明消息流程:Here, the subscriber requests to subscribe to the presence information published by the presentity client as an example to illustrate the message flow:
首先,订阅体通过状态协议向呈现服务器提出请求,呈现服务器将该请求转发到呈现体。呈现体决定是否允许订阅,并确定订阅体能够订阅的范围。如果呈现体拒绝订阅(如匿名请求),则呈现服务器将拒绝通知发送给订阅体,另外,呈现体拒绝某些订阅体还可采用婉拒方式,即表面上接受订阅而不提供内容,避免了彼此的尴尬。如果呈现体授权订阅,则呈现服务器将授权通知发送给订阅体,并且还可将呈现体当前的播放状态信息发送给订阅体。First, the subscriber makes a request to the presence server through the status protocol, and the presence server forwards the request to the presentity. The presentity decides whether to allow subscription, and determines the scope that the subscriber can subscribe to. If the presentity refuses to subscribe (such as an anonymous request), the presence server will send a notification of rejection to the subscriber. In addition, the presentity can also use the method of declining to reject some subscribers, that is, accepting the subscription on the surface without providing content, avoiding mutual embarrassment. If the presentity authorizes the subscription, the presence server sends the authorization notification to the subscriber, and also sends the presentity's current playing state information to the subscriber.
由于本例中订阅体没有设置通知条件,当呈现服务器收到并保存了所述呈现信息后,通过状态协议将该呈现信息转发到具有权限的订阅体。Since the subscriber does not set notification conditions in this example, after the presence server receives and saves the presence information, it forwards the presence information to the subscriber with authority through the status protocol.
当用户停止播放时,所述收集装置将自动获取播放状态信息(停止播放状态)。之后,以同样的流程发送到订阅体。When the user stops playing, the collection device will automatically acquire the playing status information (stop playing status). After that, it is sent to the subscriber in the same process.
呈现体和观察体均可取消订阅。从隐私考虑还可建立可视规则,即订阅或取消订阅时,第三方观察体不知道两人之间的订阅状态,或仅允许部分人知道(如网络管理员)。Both presentities and observers can unsubscribe. From privacy considerations, visual rules can also be established, that is, when subscribing or unsubscribing, the third-party observer does not know the subscription status between the two, or only allows some people to know (such as network administrators).
方法实例二:呈现体客户机收集播放状态及信息项,并发布;观察体作为订阅体,并且设置了通知条件的情况。参见图3所示并结合图2,包括下述具体内容。Method example 2: the presentation client collects the playback status and information items and publishes them; the observer acts as a subscriber and sets notification conditions. Referring to FIG. 3 and in combination with FIG. 2 , the following specific contents are included.
S201、呈现体客户机获取本机播放的流媒体信息。S201. The presentity client acquires streaming media information played by the presentity client.
本例中,在收集范围设定装置中设定了收集范围,例如:只收集播放状态,以及流媒体的名称、流媒体的摘要信息和流媒体的预览链接这三个信息项。In this example, the collection range is set in the collection range setting device, for example: only the playing state, and three information items of the name of the streaming media, the summary information of the streaming media and the preview link of the streaming media are collected.
当用户通过呈现体客户机开始播放流媒体时,所述收集装置将根据所述收集范围设定装置中设定的收集范围自动获取播放状态,以及该流媒体的名称、该流媒体的摘要信息和该流媒体的预览链接。When the user starts to play streaming media through the presentity client, the collection device will automatically obtain the playback status, the name of the streaming media, and the summary information of the streaming media according to the collection range set in the collection range setting device. and a preview link for that stream.
所述播放状态,在呈现体客户机收到网络侧发来的流媒体的包头时,判定开始播放。In the playing state, when the presentity client receives the packet header of the streaming media sent from the network side, it determines to start playing.
目前流媒体可通过SD-5,SD-6通道从媒体服务器端下发,具体下发实现过程参照OMA-TS-BCAST Distribution-V1_0,OMA-AD_BCAST-V1_0_0两个OMA标准文档。流的元数据(METADATA)的数据模型由OMA标准的XML文档格式描述,记录了流的基本信息项,如:名称、描述、预览的链接(截图、图标、音效等)等信息。所以所述信息项可从该流媒体的元数据的数据模型中获取。At present, streaming media can be delivered from the media server through SD-5 and SD-6 channels. For the specific delivery implementation process, refer to the two OMA standard documents OMA-TS-BCAST Distribution-V1_0 and OMA-AD_BCAST-V1_0_0. The data model of stream metadata (METADATA) is described by the OMA standard XML document format, which records the basic information items of the stream, such as: name, description, preview link (screenshot, icon, sound effect, etc.) and other information. So the information item can be obtained from the data model of the metadata of the streaming media.
所述收集装置获取所述播放状态及信息项后,及时将其发送到呈现体客户端。若所述收集装置集成在呈现体客户端中,则可直接完成传送;若所述收集装置与呈现体客户端相互独立,则可通过进程间通信将播放状态信息发送给呈现体客户端。After the collecting device acquires the playing status and information items, it sends them to the presentity client in time. If the collection device is integrated in the presentity client, the transmission can be completed directly; if the collection device and the presentity client are independent of each other, the playback status information can be sent to the presentity client through inter-process communication.
S202、发布至呈现服务器。S202. Publish to the presence server.
参见图5所示,呈现业务中的呈现信息(PRESENCE INFORMATION)在RFC2778定义的模型中,包括若干呈现信息元组(PRESENCE TUPLE),每个呈现信息元组包括:其他标志(OTHER MARKUP)等呈现信息元素。As shown in Figure 5, the presentation information (PRESENCE INFORMATION) in the presentation service includes several presentation information tuples (PRESENCE TUPLE) in the model defined by RFC2778, and each presentation information tuple includes: other flags (OTHER MARKUP), etc. information element.
本例中,呈现体客户端收到播放状态信息及信息项后,通过内置的呈现信息生成装置,将所述播放状态信息及信息项转换为呈现信息。具体转换过程为通过扩展呈现信息中的其他标志(OTHER MARKUP),用来存放播放状态信息及信息项。In this example, after receiving the playing state information and information items, the presentity client converts the playing state information and information items into presence information through a built-in presence information generating device. The specific conversion process is to store playback status information and information items by extending other marks (OTHER MARKUP) in the presentation information.
生成包括播放状态信息及信息项的呈现信息后,呈现体客户端通过状态协议将该呈现信息发布到呈现服务器。After generating presence information including playback state information and information items, the presentity client publishes the presence information to the presence server through the state protocol.
发布后,呈现体客户端按发布的时间顺序将该呈现信息中的播放状态信息及信息项保存。After publishing, the presentity client saves the playback state information and information items in the presence information according to the time sequence of publishing.
S203、呈现服务器保存所述流媒体信息。S203. The presence server saves the streaming media information.
呈现服务器收到携带有播放状态信息及信息项的呈现信息后,以呈现体客户端的标识URI为索引,按接收的时间顺序将收到的呈现信息排序,并保存。即保存了所述播放状态信息及信息项。这样具有权限的观察体用户即可获得所述播放状态信息。After the presence server receives the presence information carrying the playback state information and information items, it takes the URI of the presentity client as an index, sorts the received presence information according to the received time sequence, and saves it. That is, the playing state information and information items are saved. In this way, the watcher user with authority can obtain the playing status information.
S204、呈现服务器向观察体客户端发送所述流媒体信息。S204. The presence server sends the streaming media information to the watcher client.
所述观察体可分为查询体(FETCHER)和订阅体(SUBSCRIBER)。The observer can be divided into a query body (FETCHER) and a subscription body (SUBSCRIBER).
本处以订阅体请求订阅呈现体客户端发布的呈现信息为例,说明消息流程:Here, the subscriber requests to subscribe to the presence information published by the presentity client as an example to illustrate the message flow:
首先,订阅体用户通过状态协议向呈现服务器提出请求,呈现服务器将该请求转发到呈现体。呈现体决定是否允许订阅,并确定订阅体能够订阅的范围。如果呈现体拒绝订阅(如匿名请求),则呈现服务器将拒绝通知发送给订阅体,另外,呈现体拒绝某些订阅体还可采用婉拒方式,即表面上接受订阅而不提供内容,避免了彼此的尴尬。如果呈现体授权订阅,则呈现服务器将授权通知发送给订阅体,并且还可将呈现体当前的播放状态信息发送给订阅体。First, the subscriber user makes a request to the presence server through the status protocol, and the presence server forwards the request to the presentity. The presentity decides whether to allow subscription, and determines the scope that the subscriber can subscribe to. If the presentity refuses to subscribe (such as an anonymous request), the presence server will send a notification of rejection to the subscriber. In addition, the presentity can also use the method of declining to reject some subscribers, that is, accepting the subscription on the surface without providing content, avoiding mutual embarrassment. If the presentity authorizes the subscription, the presence server sends the authorization notification to the subscriber, and also sends the presentity's current playing state information to the subscriber.
之后,订阅体用户可设置通知条件(例如:流媒体名称中包含“足球”时才需要通知),并上传到呈现服务器。Afterwards, the subscribing user can set notification conditions (for example: only when the streaming media name contains "football" is required to be notified), and upload it to the presence server.
当呈现服务器收到并保存了所述呈现信息后,呈现服务器根据订阅体设置的通知条件,对应检索,若该呈现信息中存在“足球”,则通过状态协议将该呈现信息转发到对应的订阅体,并将该订阅体的用户标识发送给呈现体。订阅体收到的呈现信息参见下表:
方法实例三:呈现体客户机收集播放状态及信息项,并发布;观察体作为查询体,并在查询请求中携带检索条件的情况。参见图7所示并结合图2,包括下述具体内容。Method Example 3: The presentity client collects the playback status and information items, and releases them; the observation body is used as the query body, and the query request carries retrieval conditions. Referring to FIG. 7 and in combination with FIG. 2 , the following specific contents are included.
S301、呈现体客户机获取本机播放的流媒体信息。(与S201相同)S301. The presentity client acquires streaming media information played by the presentity client. (same as S201)
S302、发布至呈现服务器。(与S202相同)S302. Publish to the presence server. (same as S202)
S303、呈现服务器保存所述流媒体信息。(与S203相同)S303. The presence server saves the streaming media information. (same as S203)
S304、呈现服务器向观察体客户端发送所述流媒体信息。S304. The presence server sends the streaming media information to the watcher client.
所述观察体可分为查询体(FETCHER)和订阅体(SUBSCRIBER)。The observer can be divided into a query body (FETCHER) and a subscription body (SUBSCRIBER).
本处以查询体请求查询呈现体客户端发布的呈现信息为例,说明消息流程:Here, the query body requests to query the presence information released by the presentity client as an example to illustrate the message flow:
首先,查询体向呈现服务器发送查询请求,在该查询请求中携带有检索条件,例如:检索条件为“足球”。呈现服务器在其存储的呈现信息中检索满足所述检索条件的呈现信息。之后,将所述查询请求转发至发布满足所述检索条件的呈现信息的呈现体客户端。呈现体决定是否允许查询,如果拒绝查询,则将拒绝通知发送给呈现服务器,呈现服务器再通过状态协议将拒绝通知发送给查询体;如果授权查询,进一步决定查询体能够查询的范围,呈现服务器再通过状态协议将对应的信息项发送给查询体。查询体收到的呈现信息参见下表:
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (18)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA200510132864XA CN1859266A (en) | 2005-12-27 | 2005-12-27 | Method and device for providing stream medium service information |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA200510132864XA CN1859266A (en) | 2005-12-27 | 2005-12-27 | Method and device for providing stream medium service information |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1859266A true CN1859266A (en) | 2006-11-08 |
Family
ID=37298130
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA200510132864XA Pending CN1859266A (en) | 2005-12-27 | 2005-12-27 | Method and device for providing stream medium service information |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1859266A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008071083A1 (en) * | 2006-12-14 | 2008-06-19 | Huawei Technologies Co., Ltd. | A method and apparatus for processing flow media service anomaly |
| WO2013127172A1 (en) * | 2012-02-28 | 2013-09-06 | 华为终端有限公司 | Streaming media transmitting method, device and system |
| CN104283847A (en) * | 2013-07-03 | 2015-01-14 | 中兴通讯股份有限公司 | Social contact service achieving method and device based on video sharing |
-
2005
- 2005-12-27 CN CNA200510132864XA patent/CN1859266A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008071083A1 (en) * | 2006-12-14 | 2008-06-19 | Huawei Technologies Co., Ltd. | A method and apparatus for processing flow media service anomaly |
| CN1996997B (en) * | 2006-12-14 | 2011-10-26 | 华为技术有限公司 | A method and device for processing stream media service exception |
| WO2013127172A1 (en) * | 2012-02-28 | 2013-09-06 | 华为终端有限公司 | Streaming media transmitting method, device and system |
| CN104283847A (en) * | 2013-07-03 | 2015-01-14 | 中兴通讯股份有限公司 | Social contact service achieving method and device based on video sharing |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10805250B2 (en) | Method and system for providing a collaborative event-share service | |
| KR101348454B1 (en) | Methods and systems for enabling interactivity in a mobile broadcast network | |
| US10462081B2 (en) | Subscription-based media push service | |
| US8443390B2 (en) | Enhanced method and apparatus for enhancing support for service delivery | |
| US7660572B2 (en) | Community networking using networked audio devices | |
| CN1299219C (en) | Instant messaging system and method for providing notification of one or more events | |
| CN100344102C (en) | Presence information sharing method and system | |
| CN1794708A (en) | Display service system and method of issuring display information | |
| US20090119710A1 (en) | Method and apparatus for enhancing support for user-generated content delivery | |
| US8719341B2 (en) | System and method for accessing and managing mobile device metadata | |
| CN1829202A (en) | System and method for multiple account number simultaneously realizing IMPS service on one client | |
| CN1846401A (en) | Group business with information about group members | |
| CN101599985B (en) | Content-obtaining method, content-receiving method, server and terminals | |
| KR20050016685A (en) | A system and method for distributing promotion messages to a communication terminal | |
| CN1863175A (en) | Presence service access apparatus, presence serkice system and method for issuing and obtaining presence information | |
| WO2008122216A1 (en) | Method, platform, service server and system for providing advertisement in the communication service | |
| KR101705898B1 (en) | Method and system for providing timeshift service in digital broadcasting system | |
| US20050108767A1 (en) | Device and method for instant messaging between TV viewer | |
| JP2006109412A (en) | Method and system for providing user with information relating to broadcast content | |
| WO2008040211A1 (en) | Method for watching network television, group server and group client | |
| CN1863200A (en) | Method and system for subscribing to present information | |
| CN101051922A (en) | Subscribing, publishing and updating method for existing information | |
| CN1859317A (en) | Method and system for sharing presented information | |
| KR101599743B1 (en) | Apparatus, Method and Ad Server for providing MobAd service over BCAST and Sytem thereof | |
| CN1714539A (en) | System and method for the multicast distribution of multimedia messaging service messages |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |
Open date: 20061108 |