WO2009046671A1 - Procédé, système et appareil pour obtenir des informations de gestion d'utilisateur - Google Patents

Procédé, système et appareil pour obtenir des informations de gestion d'utilisateur Download PDF

Info

Publication number
WO2009046671A1
WO2009046671A1 PCT/CN2008/072554 CN2008072554W WO2009046671A1 WO 2009046671 A1 WO2009046671 A1 WO 2009046671A1 CN 2008072554 W CN2008072554 W CN 2008072554W WO 2009046671 A1 WO2009046671 A1 WO 2009046671A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
program
management information
user management
user
Prior art date
Application number
PCT/CN2008/072554
Other languages
English (en)
French (fr)
Inventor
Jian Yang
Guoqiao Chen
Lei Wang
Ting Dong
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Priority to JP2010526139A priority Critical patent/JP5242690B2/ja
Priority to KR1020107008233A priority patent/KR101159556B1/ko
Priority to EP08837169A priority patent/EP2190231A4/en
Publication of WO2009046671A1 publication Critical patent/WO2009046671A1/zh
Priority to US12/749,104 priority patent/US20100186044A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/16Implementing security features at a particular protocol layer
    • H04L63/168Implementing security features at a particular protocol layer above the transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/535Tracking the activity of the user
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6131Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via a mobile phone network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/173Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal
    • H04N7/17309Transmission or handling of upstream communications
    • H04N7/17318Direct or substantially direct transmission and handling of requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/508Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement
    • H04L41/509Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement wherein the managed service relates to media content delivery, e.g. audio, video or TV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Definitions

  • the present invention relates to the field of mobile communications, and more particularly to a method, system and apparatus for obtaining user management information. Background technique
  • the mobile TV service is a business that uses a smartphone with an operating system and video functions to watch TV. Obviously, due to the high penetration rate of mobile phone users and the convenience of carrying the mobile phone, the mobile TV service has shown a wider influence than ordinary TV.
  • the first is a way of using mobile networks, such as the mobile TV service launched by China Mobile.
  • the second is to use satellite broadcasting, and Korean operators plan to use this method.
  • the third is to install a digital TV receiver module in the mobile phone to directly receive digital TV signals.
  • the way to realize the mobile network is that the mobile TV service launched by China Mobile is mainly implemented by the existing GPRS (General Packet Radio Service) mobile network.
  • This mobile TV service actually uses streaming media technology to introduce mobile TV as a data service.
  • the customer needs to download and install the corresponding playback software on the mobile terminal (usually a PDA (Personal Digital Assisitan) mobile phone) equipped with an operating system, and the corresponding TV program content is transmitted by China Mobile and
  • the content provider SP Service Provider
  • a disadvantage of the prior art is that the terminal can obtain the program content sent by the server by means of broadcasting, but there is a lot of terminal information, which cannot be managed by means of broadcasting. For example, ratings statistics and an updated process for interactive documents that are watching TV.
  • the SG Service Guide
  • the update content cannot be sent to the appropriate user in time; and the server cannot know the user's status (online online status, watch channel status, etc.) in time.
  • Embodiments of the present invention provide a method, system, and device for acquiring user management information, which are used to implement statistics on terminal user management information.
  • an embodiment of the present invention provides a method for acquiring user management information, including:
  • the embodiment of the present invention further provides a system for acquiring user management information, including: a server, configured to receive user management information sent by the terminal, and save the obtained user management information of the terminal;
  • the terminal is configured to send user management information to the server.
  • An embodiment of the present invention further provides a server, configured to obtain user management information, including:
  • a receiving module configured to receive user management information sent by the terminal
  • An embodiment of the present invention further provides a terminal, configured to send user management information to a server, including:
  • a user management information generating module configured to generate user management information
  • a user management information sending module configured to send the generated user management information as a message.
  • FIG. 1 is a flowchart of a method for acquiring user management information according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for acquiring user management information according to Embodiment 2 of the present invention
  • FIG. 3 is a third embodiment of the present invention
  • FIG. 4 is a flowchart of a method for acquiring user management information according to Embodiment 4 of the present invention
  • FIG. 5 is a structural diagram of a system for acquiring user management information according to Embodiment 5 of the present invention. detailed description
  • a method for obtaining user management information is as shown in FIG. 1, and includes the following steps:
  • Step slOl receiving a message sent by the terminal carrying user management information.
  • Step s 102 Obtain user management information of the terminal from the message.
  • Step sl03 Perform information processing on user management information.
  • the interaction between the terminal and the server is used to achieve the purpose of interactive update and the statistics of the audience rate and other related information.
  • the interaction message between the terminal and the server can be specified, and a certain format can be satisfied and a small amount of necessary information can be carried. Such a message is beneficial to the server processing and also helps to reduce the server. Burden.
  • the server records the terminal information and the result of the statistics can be completed according to a certain policy, and the interactive information reported by the server processing terminal is also completed according to the policy.
  • the main implementation method of the present invention is: After the user accesses a certain channel, the terminal saves the user management information such as the service identifier Service ID and the user ID user ID locally, and after receiving the program for a certain period of time, the terminal needs to User management information such as Service ID, User ID, and Channel ID Channel ID are sent to the server. After the terminal exits the program, user management information such as Service ID, Channel ID, and User ID is also sent to the server to complete an exit (Logout).
  • Login and Logout is mainly to provide the user management information of the terminal for the server, and provide the basis for the server to count the ratings and define the viewing behavior of the terminal.
  • the terminal can directly send user management information such as Service ID and User ID to the server without waiting for the program of the channel to reach a certain time.
  • the user management information does not include channel information, that is, a Channel ID.
  • user management information such as Service ID, Channel ID, and User ID can be sent to the server to complete a logout.
  • the server may also perform information processing on the obtained user management information, including at least one of the following operations:
  • the user login status includes at least one of the following information: a terminal identifier, a user identifier, a service subscription relationship, a login time, a login mode, and an expiration date of the user key; and the user viewing the program status information includes at least one of the following information: the user views The program identifier, the channel identifier viewed by the user, the start time of the user watching the channel, and the exit time of the user watching the channel; the service information that the user needs to update includes at least one of the following information: whether the user key needs to be updated, whether the user interaction information needs to be Update, whether the user service SG needs to be updated.
  • the server may also obtain the viewing time of the channel program, where the viewing time of the channel program may be acquired according to the message sending time carried in the user management information; or the first frame and the last one of the program are sent to the terminal according to the server. Frame time Get between.
  • the server can also obtain the rating of the channel or the program.
  • the specific steps of obtaining the rating of the channel or the program may include: setting an identifier for a channel or a program that needs to be counted; receiving a message sent by the terminal when receiving or exiting the content of the channel or the program; and obtaining the rating of the channel or the program according to the message. . It may also include: transmitting a message to any terminal or a specific terminal whether to watch a particular channel or program; receiving a response message sent by a terminal that is watching a particular channel or program; and obtaining a rating of the channel or program based on the response message.
  • Embodiment 2 of the present invention provides a method for a server to acquire user management information when a terminal accesses a program channel (Login) and when the terminal exits a program (Logout).
  • the user management information includes one or more of the following information: a message type identifier, a message sending time, a terminal identifier, a service identifier, a program identifier, a status of whether the terminal is online, a terminal identifier, a user identifier information, and a channel identifier,
  • the message type identifier includes a login message identifier and a logout message identifier.
  • the terminal does not send any messages to the server after it has subscribed to the channel.
  • the state of the terminal, the condition of the user, the update of the subscribed channel, etc. are not known to the server, so it is necessary to provide a method to solve such a problem.
  • the method provided by the solution can further provide a means for the server to further grasp the situation and interaction of the terminal receiving the program.
  • the implementation idea of the scheme mainly lies in that when the terminal user receives the program at a certain moment, the terminal will access (Login) to the channel that plays the program.
  • User management information after access including user IDs such as Service ID and User ID, is sent to the server by the terminal.
  • the form of user management information can be sent to the server in a variety of ways.
  • the server saves user management information and responds to received messages.
  • the terminal exits (Logout) to receive the program, it also interacts with the server:
  • the terminal sends the user management information, such as Service ID, Channel ID, and User ID, to the server.
  • the server performs a comprehensive recording of the stored terminal access program according to the exited user management information.
  • step s201 the terminal starts, and sends a Loglnlnfo message to the server.
  • the contents of the Loglnlnfo message can be as follows:
  • ⁇ Program_ID Program—ID—Type " 11 "/>
  • the Loglnlnfo message is added to the HTTP (Hyper Text Transfer Protocol) in the form of XML (Extensible Markup Language). ) Behind the POST header, bring it to the server. The message header and the message body are separated by a carriage return ⁇ 0>, the message header is above the carriage return, and the message body is below. The host and port to be requested are described in the header. The connection method is close, which means that the connection does not have to be continued. HTTP1.1 supports non-persistent connections.
  • the Loglnlnfo message includes the Service ID (Identifier) and the User ID. (Example: IMSI (International Mobile Subscriber Identification Number) information), and other access user management information.
  • the Loglnlnfo message of the terminal has a certain format, as shown in FIG. 2, for example.
  • the sending of the message is done through the interactive channel.
  • the server that holds the Loglnlnfo message can be an interactive server or a server dedicated to logging statistics. In this embodiment, Loglnlnfo is sent to the server in the form of html.
  • the method of sending LoglnInfo can be done in a variety of ways, such as the HTTP POST method. Here is just an example. If there are other ways to replace it, the principle and the idea are the same.
  • the terminal When the terminal starts, the Login message Loglnlnfo is reported to the server, and the server makes the user status online.
  • the terminal takes the SG and other related data on the server.
  • the server can send a notification to the online user that the Push message is sent to the online terminal, and the terminal can timely sense the data change on the server and retrieve the data in time.
  • Step s202 The terminal acquires the SG.
  • the premise that the mobile TV terminal receives the channel program is that the terminal has been registered on the server and has been activated to access the channel to receive the program.
  • Step s203 The terminal that has not ordered the channel re-establishes the channel order according to the acquired SG.
  • the determined ordering relationship describes the user's subscription to the channel in the SG. It can be saved on the server side as a table. Synchronize the terminal with the server.
  • a way of ordering can be external: for example, by surfing the Internet or by calling. The results of the order will be recorded on the server;
  • B can also be internal: ordered through the terminal on the SG. Whenever a terminal orders or deselects a channel, the order relationship table on the server is modified once and then synchronized to the terminal.
  • the ordering relationship may be that the server synchronizes with the terminal, and the server synchronizes the ordering relationship with the user in the online state when the terminal is started, or periodically according to the server policy; the ordering relationship may also be maintained by the terminal, and synchronized to the server. After the user orders, the local order relationship will be sent to the server via HTTP POST. Synchronize with the server.
  • the user can receive the SG after accessing the channel. There is a preview of the channel content in the SG. Through the SG, the terminal can obtain a related channel list and receive the program content according to the channel provided by the channel list.
  • the terminal navigates according to the previously received mobile channel.
  • the terminal will start receiving the program.
  • Step s204 The server sends the program content to the terminal.
  • the server can send the content by broadcast, or send the content by streaming media.
  • the terminal does not exit after receiving the program content for a period of time (which can be set to 1 minute), the information will be sent to the server.
  • the server can record the terminal access time.
  • the process after the terminal side accesses the channel first needs to record the current state information locally, and the specified period of time may be set by the network or by the content provider. This time is used by the terminal to determine whether to send statistics to the server. If the terminal accesses the channel for more than the set time, the user can be considered to be watching the program; otherwise, if the terminal exits the channel during this time, the user is deemed not to view the channel section.
  • Step s205 The server authenticates the terminal.
  • the content of the authentication message can be as follows:
  • the server receives the POST message sent by the terminal, and performs authentication once for the terminal, and the server sends a challenge to the terminal.
  • the so-called "issue challenge” is to send an HTTP response to the client, its status code is 401 (Unauthorized), and contains the message header WWW-Authenticate, the client sees this response to know the URI (Uniform Resource Identifier, universal resource flag Symbol) requires authentication.
  • URI Uniform Resource Identifier, universal resource flag Symbol
  • Nonce A random string, each time 401 is different.
  • Algorithm class i ⁇ X Base64 force time-stamp H(time-stamp ": " ETag ": " private-key) .
  • Time-stam is the server clock and ETag is the requested Etag header.
  • Opaque The server generates the return as it is sent by the client. It is best to have a Base64 string or a hex string. Realm-value is a case-sensitive string with quotes at both ends, indicating the "realm" that requires authentication.
  • the domain is determined by the server itself. Different servers can set their own domains, and the same server can have multiple domains. The domain information is included in the challenge to let the client know which range of usernames is legal.
  • the message that the server authenticates the terminal may have no message body.
  • the server In order to obtain the identity of the terminal access user, the server needs to authenticate when the terminal just accesses or switches programs or channels. This authentication is different from the authentication purpose of the user registration. This authentication for the access user ensures that the user watching the program is the access user, and the objectivity of the rating statistics can be guaranteed. There are several ways to authenticate, such as HTTP digest authentication.
  • the server receives the Loglnlnfo sent by the user. Before writing the data in the message to the database, in order to determine the identity of the user accessing the program and the rationality of the Loglnlnfo, the user must be authenticated once. Because the user does not know whether to authenticate when sending LoglnInfo, the service will send an HTTP 401 message when it receives Loglnlnfo.
  • the message includes a challenge. The challenge requires the user name and password and other related authentication information to be encrypted.
  • the method is sent to the server. Step S206: The terminal sends a response to the authentication to the server.
  • the content of the response message can be as follows:
  • the server When the authentication is successful, the server will keep receiving the previous terminal; if the terminal authentication is not passed, the user can continue to watch the program, but it is invalid for the server statistics Loglnlnfo.
  • Steps s201 - s206 are standard HTTP digest authentication methods, and each field can refer to RFC2617.
  • the method of abstract authentication is only an example here.
  • step s207 the server sends a 200 OK message to the terminal.
  • the user name and password of the terminal are authenticated by the server, and the server sends 200 Ok to the terminal.
  • the HTTP method is used as an example. Therefore, 200 OK is used here to indicate that the authentication is successful.
  • Step s208 the server normally sends the program content to the terminal.
  • the server may use the method of broadcast transmission, or may use other transmission methods to send the program content. If the server transmits the program content by broadcast, the terminal receives the content from the broadcast of the channel. If you use other methods (such as streaming media), the server The content can be sent on the link established with the terminal. For streaming media, you can use unicast or multicast to send program content.
  • Step S209 The terminal exits the currently viewed program.
  • the content of the exit message can be as follows:
  • the time when the user quits the current viewing program is arbitrary, and may be quit after the program ends or during the broadcast.
  • the terminal When the user logs out, the terminal will be triggered to send a status message to the server.
  • Step s210 the terminal sends a LogOutlnfo message to the server.
  • the contents of the LogOutlnfo message can be as follows:
  • ⁇ Program_ID Program_ID_ Type 11 "/>
  • the XML data information of LogOutlnfo is sent to the server by the HTTP POST method, and the meaning of the POST message is the same as that of step 4.
  • the XML form data of LogOutlnfo is the message body.
  • the message includes the Service ID, User ID, and the server records the terminal exit time End Time.
  • the terminal's LogOutlnfo message has a format, as shown in Figure 3.
  • the transmission of the message is done through an interactive channel.
  • the server that holds the LogOutlnfo message can be an interactive server or a server dedicated to logging statistics.
  • the LogOutlnfo message can be sent to the server by the HTTP method and processed by the server and added to the database. It can also use SMS (Short Message Service) or other means. In this example, the way to bring a message to the server through the HTTP POST method is only an example, and other bearer means can be used instead, but the principles and ideas involved are consistent.
  • SMS Short Message Service
  • Step s211 After the LogOutlnfo message is correctly received by the server, a 200 OK message is returned to the terminal.
  • the return response can be through an interactive channel or in other ways.
  • 200 OK is used to indicate that the sent content has arrived successfully.
  • Other modes of response can be used in different network environments, and the ideas and principles involved are the same.
  • Step s212 After the terminal exits the program, the server saves the state information of the terminal.
  • the server adds the Loglnlnfo and LogOutlnfo status information reported by the terminal to the present In the local database or in other servers.
  • the server obtains the required data from the Loglnlnfo and LogOutlnfo messages. Based on this data, the server can have a basic understanding of the subscription of the terminal and the viewing of the program.
  • the status information saved in the server database may be the same as or similar to the statistical table of Table 4.
  • the SG presents a list of channels, and the terminal can select a program of one channel to enter the viewing.
  • the terminal accesses the channel through the channel list provided by the SG, the terminal records the currently accessed user management information, including the accessed User ID, Service ID, and Program ID.
  • the terminal accesses a program of the channel for a certain period of time (e.g., one minute), it can be considered that the user is watching the program, and the terminal needs to send the user management information to the server.
  • the terminal exits the channel or exits watching the program, the terminal records the currently exited user management information, including the accessed User ID, Service ID, and Program ID.
  • the server may be an interactive server or a service dedicated to recording terminal information.
  • the Loglnlnfo and LogOutlnfo messages may be data structures as shown in Table 1 below.
  • the message type between the terminal and the server involved in the present invention is both a mandatory message and a Loglnlnfo message and a LogOutlnfo message.
  • the direction is from the terminal to the server.
  • IMSI Mandatory String Customer Identification Number
  • the table simulates some data to represent the content of the information stored on the server side.
  • each user has a unique User ID.
  • Service IDs for different channels.
  • the user with User ID 01234 and User with User ID 02462 in the above table are watching the channel with Service ID 01.
  • the program content is the same, and the program ID of the program they watch is 011.
  • Their viewing time starts at 10:50 and 10:20 respectively.
  • Users with User ID 55208 and users with User ID 49653 are watching channels with Service ID 02, and the programs they watch are the same, all with Program ID 021, but the former 12: 05 access watch, while the latter from 12 : 15 began to watch, they stopped watching after the show ended, so EndTime is 12: 25.
  • the form of saving records on the server can be various. This scheme is only an example.
  • the statistics can be organized by other data structures, but the ideas and methods involved are the same.
  • One channel in Table 4 corresponds to one server. There is only one program for the same channel at the same time.
  • the Service ID and Program ID are specified by the content provider that provides the program. It can also be a channel that only provides one program for the user to watch for a period of time.
  • the User ID, Service ID, Program ID, EndTime, and StartTime attributes are just examples of the status information of the terminal watching the program, and can be modified and expanded if necessary.
  • the server in this embodiment may be an interactive server or a server dedicated to storing statistical information. Since the message in this embodiment has less content and the data is easy to count, the burden on the server is small. In addition, for the server in this example, if you can support a certain number of users, adding such statistics will not change the number of supported users.
  • the messages Loglnlnfo and LogOutlnfo for transmitting user management information involved in this embodiment are only examples. Other message methods similar to carrying status information can also complete the transmission of status information, and the principles and ideas involved are consistent.
  • Embodiment 3 of the present invention provides a method for transmitting user management information to a server when the terminal accesses a program channel (Login) and when the terminal exits the program (Logout), and the server performs statistics on the program or user preference according to the user management information.
  • This method can Providing means for the server to further grasp the situation in which the terminal receives programs and channels.
  • the implementation idea of the scheme mainly lies in that when the terminal user receives a program for a certain period of time, the terminal will log (Login) to the channel that plays the program. After the terminal receives the program for a certain period of time, the terminal's user management information, including Service ID, Program ID, User ID, and Channel ID, is sent to the server by the terminal. User management information can be sent to the server as a message. The server will determine whether to receive the end user management information according to the local policy and save it, and respond accordingly. When the terminal exits (Logout) to receive the program, it also interacts with the server: the terminal will exit the user management information, including Service ID, Program ID, User ID, and Channel ID, to the server.
  • the terminal will exit the user management information, including Service ID, Program ID, User ID, and Channel ID, to the server.
  • the server performs statistics on the stored terminal access program according to the exited user management information.
  • the server can calculate the total duration of the user accessing the program according to the recorded time of the terminal Login and Logout, and the server also counts the channel with the highest degree of attention and the program with the highest degree of attention according to the User ID, Service ID, Program ID and Channel ID. content. According to such statistics, the server can add more network resources to channels and programs with high degree of attention, and ensure the viewing quality of these programs when the user views; content providers can also do the channels and programs provided according to such statistics. Certain adjustments, increased playback of programs with high attention, and development of programs based on user interests.
  • Step s301 the terminal starts, and acquires the SG.
  • the premise that the mobile TV terminal receives the channel program is that the terminal has been registered on the server and has been activated to access the channel to receive the program.
  • step s302 the terminal that has not subscribed to the channel re-establishes the channel order according to the acquired SG.
  • the determined ordering relationship describes the user's subscription to the channel in the SG. It can be saved on the server side as a table. Synchronize the terminal with the server.
  • a way of ordering can be external: for example, by surfing the Internet or by calling. The results of the order will be recorded on the server;
  • B can also be internal: Ordering on the SG via the terminal. Whenever a terminal orders or debits a channel, the server's order relationship table will be modified once, and then Synchronize to the terminal.
  • the ordering relationship may be that the server synchronizes with the terminal, and the server synchronizes the ordering relationship with the user in the online state when the terminal is started, or periodically according to the server policy; the ordering relationship may also be maintained by the terminal, and synchronized to the server. After the user makes an order, the local order relationship will be sent to the server via HTTP POST to synchronize with the server.
  • the user can receive the SG after accessing the channel. There is a preview of the channel content in the SG.
  • the relevant channel list can be obtained through the SG terminal, and the program content is received according to the channel provided by the channel list.
  • the terminal selects the channel that you want to watch according to the previously received mobile channel navigation SG. Through the channel identification displayed on the SG, after the user terminal is selected, the terminal will start receiving the program.
  • Step s303 The server sends the program content to the terminal.
  • the server can send the content by broadcast, or send the content by streaming media.
  • the terminal does not exit after receiving the program content for a period of time (which can be set to 1 minute), the information will be sent to the server.
  • the server can record the terminal access time.
  • the current user management information is first recorded locally, and the specified period of time may be set by the network or by the content provider. This time is used by the terminal to determine whether to send statistics to the server. If the terminal accesses the channel for more than the set time, the user can be considered to be watching the program; otherwise, if the terminal exits the channel during this time, the user is considered not to watch the channel program.
  • Step s304 The terminal sends a Loglnlnfo message to the server.
  • the contents of the Loglnlnfo message can be as follows:
  • ⁇ Program_ID Program—ID—Type " 11 "/>
  • the Loglnlnfo message is added to the HTTP (Hyper Text Transfer Protocol) in the form of XML (Extensible Markup Language). ) Behind the POST header, bring it to the server. The message header and the message body are separated by a carriage return ⁇ 0>, the message header is above the carriage return, and the message body is below. The host and port to be requested are described in the header. The connection method is close, which means that the connection does not have to be continued. HTTP1.1 supports non-persistent connections.
  • the Loglnlnfo message includes the Service ID, User ID (for example: IMSI information), and other access status information.
  • the Loglnlnfo message of the terminal has a certain format, as shown in FIG. 2, for example.
  • the sending of the message is done through the interactive channel.
  • the server that holds the Loglnlnfo message can be an interactive server or a server dedicated to logging statistics.
  • Loglnlnfo is sent to the server in the form of html.
  • the method of sending LoglnInfo can be done by a variety of methods, such as the HTTP POST method. This is just an example. If there are other ways to replace it, the principle and the idea are the same.
  • the Login message Loglnlnfo is reported to the server, and the server makes the user status online.
  • the terminal and the server take SG and other related data.
  • the server can send a notification of the data update to the online terminal to send the online message to the online terminal, and the terminal can timely sense the data change on the server and retrieve the data in time. .
  • Step s305 The server authenticates the terminal.
  • the content of the authentication message can be as follows:
  • the server receives the POST message sent by the terminal, and authenticates the terminal once, and the server sends a challenge to the terminal.
  • the so-called "issue challenge” is to send an HTTP response to the client, its status code is 401 (Unauthorized), and contains the message header WWW-Authenticate, the client sees this response to know the URI (Uniform Resource Identifier, universal resource flag Symbol) requires authentication.
  • URI Uniform Resource Identifier, universal resource flag Symbol
  • Nonce Random string, each time 401 is different.
  • Algorithm class i ⁇ X Base64 force time-stamp H(time-stamp ": " ETag ": " private-key) .
  • Time-stam is the server clock and ETag is the requested Etag header.
  • Opaque The server generates the return as it is sent by the client. It is best to have a Base64 string or a hex string. Realm-value is a case-sensitive string with quotes at both ends, indicating the "realm" that requires authentication.
  • the domain is determined by the server itself. Different servers can set their own domains, and the same server can have multiple domains. The domain information is included in the challenge to let the client know which range of usernames is legal.
  • the message that the server authenticates the terminal may have no message body.
  • the server In order to obtain the identity of the terminal access user, the server needs to authenticate the terminal once. This authentication is different from the authentication purpose when the user registers. This authentication for the access user can ensure that the user watching the program is the access user, and the objectivity of the rating statistics can be guaranteed. There are several ways to authenticate, such as HTTP digest authentication.
  • the server receives the Loglnlnfo sent by the user. Before writing the data in the message to the database, in order to determine the identity of the user accessing the program and the reasonableness of LoglnInfo, the user must be authenticated once. Because the user does not know whether to authenticate when sending LoglnInfo, the service will send an HTTP 401 message when it receives Loglnlnfo.
  • the message includes a challenge. The challenge requires the user name and password and other related authentication information to be encrypted. The method is sent to the server.
  • Step s306 The terminal sends a response to the authentication to the server.
  • the content of the response message can be as follows:
  • the server When the authentication is successful, the server will keep receiving the previous terminal; if the terminal authentication is not passed, the user can continue to watch the program, but it is invalid for the server statistics Loglnlnfo.
  • Step s301-s306 is a standard HTTP digest authentication method, and each field can refer to RFC2617.
  • the method of abstract authentication is only an example here.
  • Step s307 the server sends a 200 OK message to the terminal.
  • the user name and password of the terminal are authenticated by the server, and the server sends 200 Ok to the terminal.
  • the HTTP method is used as an example. Therefore, 200 OK is used here to indicate that the authentication is successful.
  • Step s308 the server normally sends the program content to the terminal
  • the server may use the method of broadcast transmission, or may use other transmission methods to send the program content. If the server transmits the program content by broadcast, the terminal receives the content from the broadcast of the channel. If other methods (such as streaming media) are used, the server can send content on the link established with the terminal. For streaming media, you can use unicast or multicast to send program content.
  • Step s309 the terminal exits the currently viewed program.
  • the time when the user quits the current viewing program is arbitrary, and may be quit after the program ends or during the broadcast.
  • the terminal When the user logs out, the terminal will be triggered to send a status message to the server.
  • Step s310 the terminal sends a LogOutlnfo message to the server.
  • the contents of the LogOutlnfo message can be as follows:
  • ⁇ Program_ID Program_ID_ Type 11 "/>
  • the XML data information of LogOutlnfo is sent to the server by the HTTP POST method, and the meaning of the POST message is the same as that of step 4.
  • the message body is the XML form data of LogOutlnfo.
  • the message includes the Service ID, User ID, and current exit time EndTime.
  • the terminal's LogOutlnfo message has a format, as shown in Figure 3.
  • the sending of the message is done through the interactive channel.
  • the server that holds the LogOutlnfo message can be an interactive server or a server dedicated to logging statistics.
  • the LogOutlnfo message can be sent to the server by HTTP to be processed by the server and added to the database. It can also be SMS or other means. In this example, the way to bring a message to the server through the HTTP POST method is only an example, and other bearer means can be used instead, but the principles and ideas involved are consistent. Step s311, when the server correctly receives the LogOutlnfo message, returns a 200 OK message to the terminal.
  • the return response can be through an interactive channel or in other ways.
  • 200 OK is used to indicate that the sent content has arrived successfully.
  • Other modes of response can be used in different network environments, and the ideas and principles involved are the same.
  • Step s312 The server saves the state information of the terminal after the terminal exits the program, and performs statistics.
  • the server performs channel frequency statistics or program rating statistics according to the Loglnlnfo and LogOutlnfo status information reported by the terminal;
  • the server sends a message to all users or some of the user terminals that are currently online, asking the user to feedback whether the channel is currently being watched, the user terminal replies to the message, and carries relevant information to indicate The reply to the request of the server, so that the statistical work of the relevant data on the server can be realized;
  • the server draws the StartTime and EndTime of the program from the recorded terminal to determine the total duration of the user watching the program. According to the programs viewed by different users, it can be counted which Program ID has the largest number of participating users, and it can also be counted which Service ID has the largest number of accesses.
  • the server can perform statistics on the user's preferences according to the data previously saved by the user on the server, and can find out which Program ID and Service ID the user participated most. Based on this data, the content provider can provide the user with a service similar to the monthly subscription.
  • the status information saved by the user on the server may be in the form of Table 8.
  • the terminal can select a channel to enter the viewing.
  • the terminal accesses the channel through the channel list provided by the SG, the terminal records the currently accessed user management information, including the accessed User ID, Service ID, and Program ID.
  • the terminal accesses a program of the channel for a certain period of time (for example, one minute), it can be considered that the user is watching the program, and the terminal needs to send the user management information to the server.
  • the terminal When the terminal exits the channel or exits watching the program, the terminal records the current user management information, including the accessed User ID, Service ID, and Program ID.
  • the server can be an interactive server or a server dedicated to recording terminal information. For example, the definition data structure of the Loglnlnfo and LogOutlnfo messages is shown in Table 5 below.
  • IMSI Mandatory String Customer Identification Number
  • IMSI Mandatory String Customer Identification Number
  • Table 8 above simulates some data to represent the content of the information stored on the server side.
  • each user has a unique User ID, which is different for different channels.
  • the Service ID for example, the user with User ID 01234 in the above table and the user with User ID 02462 are watching the channel with Service ID 01.
  • the program content is the same, and the program ID of the program they watch is 011. Their viewing time starts at 10:50 and 10:20 respectively.
  • the form of saving records on the server can be various. This scheme is only an example.
  • the statistics can be organized by other data structures, but the ideas and methods involved are the same.
  • One channel in Table 8 corresponds to one server. There is only one program for the same channel at the same time.
  • the Service ID and Program ID are specified by the content provider that provides the program. It can also be a channel that only provides one program for the user to watch for a period of time.
  • the User ID, Service ID, Program ID, EndTime, and StartTime attributes are just examples of the status information of the terminal watching the program, and can be modified and expanded if necessary.
  • StartTime and EndTime are the time when the terminal records and exits the channel recorded by the server.
  • the time is the time when the terminal records the content of the currently broadcasted program, and Time is the difference between the two, indicating the length of time the user continuously watches the program. Because each program content is sent by the server to the terminal in the form of data packets one frame at a time, each frame will have a time stamp information, which is added by the server, so it can be from the first frame.
  • the access time is extracted from the data packet, and the exit time is extracted from the last frame, and the obtained difference is the duration of the terminal access channel.
  • the time of the data packet is the network time independent of the local time of the terminal, which is determined by the server.
  • the duration of the terminal accessing the channel is not affected.
  • Such a time record is reasonable for statistical user viewing time, and basically can ensure that the recording time is the viewing time. And for the server to get more accurate statistics.
  • the server in this embodiment may be an interactive server, or may be dedicated to saving The server for statistics. Since the message in this embodiment has less content and the data is easy to count, the burden on the server is small. In addition, for the server in this example, if you can support a certain amount of users, adding such statistics will not change the number of supported users.
  • a message for transmitting user management information (status information) involved in this embodiment is a message for transmitting user management information (status information) involved in this embodiment
  • Loglnlnfo LogOutlnfo is only an example.
  • Other message methods similar to carrying user management information can also complete the transmission of status information. The principles and ideas involved are consistent.
  • Embodiment 4 of the present invention provides a method for transmitting user management information to a server when the terminal accesses the program channel (Login) and when the terminal exits the program (Logout), and the server performs the interaction update with the terminal according to the user management information.
  • Methods After the user successfully subscribes to the channel, they may participate in the interaction of the program during the process of watching a channel, such as interactive discussion, interactive games, and so on. Through the interactive update between the terminal and the server, it is possible to achieve the effect of watching and interacting with the program at the same time in the local terminal.
  • the server may send the program interaction information to the terminal, if the program is in the program.
  • the interactive information is updated, and the server can send the updated update information to the terminal according to the status information of the terminal.
  • the interactive information can be sent to the terminal together with the program content, but the type of the interactive information is consistent in the form of a program. Therefore, as long as the interactive information of the program is updated, the user can continuously participate in the interactive program.
  • the update of such interactive information is sent according to the status information sent by the terminal to the server.
  • Step s401 the terminal starts, and sends a Loglnlnfo message to the server.
  • the contents of the Loglnlnfo message can be as follows:
  • ⁇ Program_ID Program—ID—Type " 11 "/>
  • the Loglnlnfo message is added to the HTTP (Hyper Text Transfer Protocol) in the form of XML (Extensible Markup Language). ) Behind the POST header, bring it to the server. The message header and the message body are separated by a carriage return ⁇ 0>, the message header is above the carriage return, and the message body is below. The host and port to be requested are described in the header. The connection method is close, which means that the connection does not have to be continued. HTTP1.1 supports non-persistent connections.
  • the Loglnlnfo message includes the Service ID, User ID (for example: IMSI information), and other access status information.
  • the Loglnlnfo message of the terminal has a certain format, as shown in FIG. 2, for example.
  • the sending of the message is done through the interactive channel.
  • the server that holds the Loglnlnfo message can be an interactive server or a server dedicated to logging statistics.
  • Loglnlnfo is sent to the server in the form of html.
  • the method of sending LoglnInfo can be done by a variety of methods, such as the HTTP POST method. This is just an example. If there are other ways to replace it, the principle and the idea are the same.
  • the terminal When the terminal starts, the Login message Loglnlnfo is reported to the server, and the server makes the user status online.
  • the terminal takes the SG and other related data on the server.
  • the server can send a notification of the data update to the online terminal to send the online message to the online terminal, and the terminal can timely sense the data change on the server and retrieve the data in time. .
  • Step s402 the terminal acquires the SG.
  • the premise that the mobile TV terminal receives the channel program is that the terminal has been registered on the server and has been activated to access the channel to receive the program.
  • Step s403 the terminal of the unordered channel re-establishes the channel order according to the acquired SG.
  • the determined ordering relationship describes the user's subscription to the channel in the SG. It can be saved on the server side as a table. Synchronize the terminal with the server.
  • a way of ordering can be external: for example, by surfing the Internet or by calling. The results of the order will be recorded on the server;
  • B can also be internal: ordered through the terminal on the SG. Whenever a terminal orders or deselects a channel, the order relationship table on the server is modified once and then synchronized to the terminal.
  • the ordering relationship may be that the server synchronizes with the terminal, and the server synchronizes the ordering relationship with the user in the online state when the terminal is started, or periodically according to the server policy; the ordering relationship may also be maintained by the terminal, and synchronized to the server. After the user makes an order, the local order relationship will be sent to the server via HTTP POST to synchronize with the server.
  • the user can receive the SG after accessing the channel. There is a preview of the channel content in the SG.
  • the relevant channel list can be obtained through the SG terminal, and the program content is received according to the channel provided by the channel list.
  • the terminal selects the channel that is desired to be viewed by navigating the SG according to the previously received mobile phone channel. Through the channel identifier displayed on the SG, the user terminal is After selection, the terminal will start receiving the program.
  • Step S404 The server sends the program content to the terminal.
  • the server can send the content by broadcast, or send the content by streaming media.
  • the terminal does not exit after receiving the program content for a period of time (which can be set to 1 minute), the information will be sent to the server.
  • the server can record the terminal access time.
  • the process after the terminal side accesses the channel first needs to record the current state information locally, and the specified period of time may be set by the network or by the content provider. This time is used by the terminal to determine whether to send statistics to the server. If the terminal accesses the channel for more than the set time, the user can be considered to be watching the program; otherwise, if the terminal exits the channel during this time, the user is deemed not to view the channel section.
  • Step s405 The server authenticates the terminal.
  • the content of the authentication message can be as follows:
  • the server receives the POST message sent by the terminal, and authenticates the terminal once, and the server sends a challenge to the terminal.
  • the so-called "issue challenge” is to send an HTTP response to the client, its status code is 401 (Unauthorized), and contains the message header WWW-Authenticate, the client sees this response to know the URI (Uniform Resource Identifier, universal resource flag Symbol) requires authentication.
  • Domain A list of URIs indicating the domains to protect. May be a list that prompts the user to use the same authentication for these URIs, and if it is empty or ignored, it will cry for the entire service.
  • Nonce A random string, each time 401 is different.
  • Algorithm class i ⁇ X Base64 force time-stamp H(time-stamp ": " ETag ": " private-key) .
  • Time-stam is the server clock and ETag is the requested Etag header.
  • Opaque The server generates the return as it is sent by the client. It is best to have a Base64 string or a hex string. Realm-value is a case-sensitive string with quotes at both ends, indicating the "realm" that requires authentication.
  • the domain is determined by the server itself. Different servers can set their own domains, and the same server can have multiple domains. The domain information is included in the challenge to let the client know which range of usernames is legal.
  • the message that the server authenticates the terminal may have no message body.
  • the server In order to obtain the identity of the terminal access user, the server needs to authenticate the terminal once. This authentication is different from the authentication purpose when the user registers. This authentication for the access user can ensure that the user watching the program is the access user, and the objectivity of the rating statistics can be guaranteed. There are several ways to authenticate, such as HTTP digest authentication.
  • the server receives the Loglnlnfo sent by the user. Before writing the data in the message to the database, in order to determine the identity of the user accessing the program and the reasonableness of LoglnInfo, the user must be authenticated once. Because the user does not know whether to authenticate when sending LoglnInfo, the service will send an HTTP 401 message when it receives Loglnlnfo.
  • the message includes a challenge. The challenge requires the user name and password and other related authentication information to be encrypted. The method is sent to the server.
  • Step s406 The terminal sends a response to the authentication to the server.
  • the content of the response message can be as follows:
  • the server When the authentication is successful, the server will keep receiving the previous terminal; if the terminal authentication is not passed, the user can continue to watch the program, but it is invalid for the server statistics Loglnlnfo.
  • Steps s401 - s406 are standard HTTP digest authentication methods, and each field can refer to RFC2617.
  • the method of abstract authentication is only an example here.
  • Step s407 the server sends a 200 OK message to the terminal.
  • the user name and password of the terminal are authenticated by the server, and the server sends 200 Ok to the terminal.
  • the HTTP method is used as an example. Therefore, 200 OK is used here to indicate that the authentication is successful.
  • Step s408 The server sends the program content and the interaction information to the terminal.
  • the server may use the method of broadcast transmission, or may use other transmission methods to send the program content. If the server transmits the program content by broadcast, the terminal receives the content from the broadcast of the channel. If other methods (such as streaming media) are used, the server can send content on the link established with the terminal. For streaming media, you can use unicast or multicast to send program content.
  • the interactive media document and the included interactive media object may be delivered together with the program content, or may be delivered before the program content is viewed.
  • Step s409 the server sends an interactive update to the terminal.
  • the server can send an update of the interactive information to the terminal.
  • the server needs to report the Loglnlnfo information reported by the terminal before sending. Judging the viewing status of the terminal, such as Channel ID, User ID, etc., with these information servers, the interactive update can be accurately sent to the user watching the program; there are many ways to send updates, such as the carrying of the message body or Short messages, etc., but the principles and ideas are consistent;
  • Step s410 The terminal user sends the interaction information to the server.
  • the content of the interactive information can be as follows:
  • the user can send the personal selection in the form of message body to the server through the HTTP POST method, or in the process of interactive topic discussion in the SMS mode. Send the content of the discussion to the server for the purpose of completing the program interaction.
  • the process of editing the message by the user may be a simple choice or an opinion in the form of a text description, and these operations will not affect the terminal to continue receiving the program content sent by the server. Therefore, during the interactive participation, the user can complete the interactive operation without stopping the viewing of the program.
  • the server receives the interaction information sent by the user and processes it.
  • the interactive server receives the interactive information sent by the user, and according to the strategy of the interactive server, the information can be processed in real time or after the program ends.
  • the interactive server extracts the user's interactive information and sends the interactive content to the user based on the content. For example, when the user selects the A clip in the selection of the interactive program, then The interactive server will play the A clip based on the user's interaction.
  • Step s412 The server sends the currently processed interactive participation result to the terminal together with the program content.
  • the user can immediately send the interactive statistical results processed by the server to the end user after participating in an interaction, so that the end user can immediately know the result of the participation, or the overall participation of the current interactive program. Therefore, the current interactive participation result sent can be the result of the individual after the user participates, or the overall participation result of all current participants.
  • This interactive process can be repeated multiple times in an interactive program.
  • the returned participation result is indicated by a dotted line, which means that the participation result can be returned to the user or not. This is based on the strategy of the interactive server and the interactive program.
  • Step s413 the terminal exits the currently viewed program.
  • the time when the user quits the current viewing program is arbitrary, and may be quit after the program ends or during the broadcast.
  • the terminal When the user logs out, the terminal will be triggered to send a status message to the server.
  • Step s414 the terminal sends a LogOutlnfo message to the server.
  • the contents of the LogOutlnfo message can be as follows:
  • the XML data information of LogOutlnfo is sent to the server by the POST method of HTTP, and the meaning of the POST message is the same as that of step s404.
  • the content of the message body is the data in the form of XML of LogOutlnfo.
  • the message includes the Service ID and User ID, and the server can record the current exit time EndTime.
  • the terminal's LogOutlnfo message has a certain format as shown in Figure 7.
  • the sending of the message is done through the interactive channel.
  • the server that holds the LogOutlnfo message can be an interactive server or a server dedicated to logging statistics.
  • the LogOutlnfo message can be sent to the server by the HTTP POST method and processed by the server and added to the database. It can also be carried by SMS.
  • the way to bring a message to the server through the HTTP POST method is only an example, and other bearer means can be used instead, but the principles and ideas involved are consistent.
  • Step s415 after the LogOutlnfo message received by the server correctly, a 200 OK message is returned to the terminal.
  • the return response can be through an interactive channel or in other ways.
  • the server can end-to-end the terminal that will send the response, or push to the terminal.
  • 200 OK is used to indicate that the sent content has arrived successfully.
  • Other modes of response can be used in different network environments, and the ideas and principles involved are the same.
  • Step s416 After the terminal exits the program, the server saves the interactive information of the user, and performs statistics according to the participation of the user in the interactive program.
  • the server saves the interactive information sent by the user in the interactive program, after the program is finished User interaction information is counted. Finally, the results of the statistics can be fed back to the user.
  • the statistical content can be the participation of the program or the result of the overall interaction of the program. For example, after a selective interactive program ends, the interactive server counts the number of viewers who choose A and the number of viewers who choose B. Such an example is only intended to more clearly illustrate the results and form of the interactive update.
  • Step s417 the server sends the final interactive program statistics to the user.
  • a result of the participation can be obtained, and the result may include the participation result of the end user and the participation result of the overall program.
  • This embodiment indicates the transmission of the final result by a broken line, indicating that this step is optional.
  • the feedback of the interactive program in the process of receiving the program content by the terminal and the corresponding selection of the server to the user can achieve the purpose of interactive update.
  • the message bearer and the message sending mode used in this embodiment are only examples, and may be replaced by other bearer modes and sending modes, but the principles and concepts are the same.
  • the LogOutlnfo and Loglnlnfo messages in this embodiment may be stored on the server for performing statistics on the program viewing information of the terminal.
  • the saved data structure can be similar or identical to Table 8, which can be saved on the server or in a database dedicated to recording statistical results.
  • Embodiment 5 of the present invention provides a system for acquiring user management information in a mobile phone television service, as shown in FIG. 5, including:
  • the server 10 is configured to provide the terminal 20 with an optional program included in the service guide, and send the program content selected by the terminal 20 to the terminal 20 that passes the authentication; and store the user management information of the terminal 20 according to the user management information sent by the terminal 20. ;
  • the terminal 20 is configured to send user management information to the server 10 at startup.
  • the server 10 further includes:
  • the receiving module 11 is configured to receive user management information sent by the terminal 20;
  • the authentication module 12 is configured to authenticate the terminal 20 that requests to view the program; and
  • the program sending module 13 is configured to the terminal 20 that authenticates through the authentication module. Transmitting the program content selected by the terminal 20;
  • the statistics module 14 is configured to acquire the terminal 20 according to the content stored by the receiving module 11 User management information.
  • the program ordering module 15 is configured to accept the terminal 20 to order or unsubscribe from the optional program included in the service guide, and update the locally stored terminal 20 to subscribe to the program information according to the order or unsubscribe result.
  • the interactive program processing module 16 is configured to implement an interaction function with the terminal 20 in the interactive program.
  • the interactive program processing module 16 further includes:
  • the interactive information adding submodule 161 is configured to add the interactive information and/or the interactive update information to the program sending module and send the information to the terminal 20;
  • the interactive response receiving sub-module 162 is configured to receive, by the receiving terminal 20, the interactive information response returned by the interaction information and/or the interactive update information sent by the sub-module 171; the interaction result obtaining sub-module 163 is configured to process the interactive response receiving sub-module The interactive information received by the response 172 is processed, and the interactive participation result of the terminal 20 is obtained.
  • the terminal 20 further includes:
  • a user management information generating module 21 configured to generate user management information
  • the user management information sending module 22 is configured to send the generated user management information as a message.

Description

一种获取用户管理信息的方法、 系统和设备 本申请要求于 2007 年 9 月 30 日提交中国专利局、 申请号为 200710162759.X, 发明名称为 "获取用户管理信息的方法、 系统和设 备"的中国专利申请的优先权,其全部内容通过引用结合在本申请中。 技术领域
本发明涉及移动通信领域, 特别是一种获取用户管理信息的方 法、 系统和设备。 背景技术
手机电视业务,是利用具有操作系统和视频功能的智能手机观看 电视的业务。 显然, 由于手机用户普及率高且手机拥有携带方便等特 性, 手机电视业务显示出了比普通电视更广泛的影响力。
目前, 手机电视业务的实现方式主要有三种。 第一种是利用移动 网络实现的方式, 如中国移动推出的手机电视业务。 第二种是利用卫 星广播的方式, 韩国的运营商计划釆用这种方式。 第三种是在手机中 安装数字电视的接收模块, 直接接收数字电视信号。
利用移动网络实现的方式有目前中国移动推出的手机电视业务, 主要是依靠现有的 GPRS ( General Packet Radio Service, 通用分组无 线服务)移动网络实现的。 这种手机电视业务实际上是利用流媒体技 术, 把手机电视作为一种数据业务推出来。 不过, 客户需要在安装有 操作系统的手机终端 (一般是 PDA ( Personel Digital Assisitan, 个人 数字助理)手机等高档产品)上再下载安装相应的播放软件, 而相应 的电视节目内容则由中国移动与内容提供商 SP ( Service Provider,服 务供应商)合作提供。
利用卫星网络实现的方式即利用手机来接受卫星播发的电视节 目信号是一个非常新颖的想法。 目前只有韩国在力推这种手机电视广 播方式 DMB ( Digital Multimedia Broadcasting, 数字媒体广播)。 据 SK称, 这种 DMB接收机能提供高质量的图像, 使用该接收机模块 能使用户能够同时接收地面无线电视广播和卫星电视广播的信号。
然而, 在手机电视业务中, 服务器获得终端状态以及进行内容统 计等管理手段目前没有方法实现。
现有技术的缺点在于,通过广播的方式可以使终端获取服务器发 送来的节目内容, 但是有很多的终端信息, 釆用广播的方式是无法进 行管理的。比如收视率的统计以及针对正在观看电视的互动文档的更 新的过程。 另外, 当 SG ( Service Guide, 服务指南) 更新后, 无法 及时将更新内容发送到合适的用户;且服务器无法及时地获知用户的 状态 (在线 online状态, 观看频道状态等)。 发明内容
本发明的实施例提供一种获取用户管理信息的方法、 系统和设 备, 用于实现对终端用户管理信息的统计。
为达到上述目的,本发明的实施例提供一种获取用户管理信息的 方法, 包括:
接收终端发送的携带用户管理信息的消息;
从所述消息中获取所述终端的用户管理信息;
对所述用户管理信息进行信息处理。
本发明的实施例还提供一种获取用户管理信息的系统, 包括: 服务器, 用于接收终端发送的用户管理信息, 并保存所获取的所 述终端的用户管理信息;
终端, 用于向所述服务器发送用户管理信息。
本发明的实施例还提供一种服务器, 用于获取用户管理信息, 包 括:
接收模块, 用于接收终端发送的用户管理信息;
统计模块,用于保存所述接收模块获取的所述终端的用户管理信 息。 本发明的实施例还提供一种终端 ,用于向服务器发送用户管理信 息, 包括:
用户管理信息生成模块, 用于生成用户管理信息,
用户管理信息发送模块,用于将所述生成的用户管理信息以消息 形式发送。
与现有技术相比, 本发明的实施例具有以下优点:
通过终端与服务器间的消息交互,实现了对终端用户管理信息的 统计、 交互更新以及收视率的统计等信息的互通的目的。 附图说明
图 1为本发明的实施例一中获取用户管理信息的方法的流程图; 图 2为本发明的实施例二中获取用户管理信息的方法的流程图; 图 3为本发明的实施例三中获取用户管理信息的方法的流程图; 图 4为本发明的实施例四中获取用户管理信息的方法的流程图; 图 5为本发明的实施例五中获取用户管理信息的系统的结构图。 具体实施方式
下面结合附图和实施例,对本发明的具体实施方式作进一步详细 描述:
本发明的实施例一中, 一种获取用户管理信息的方法如图 1 所 示, 包括以下步骤:
步骤 slOl、 接收终端发送的携带用户管理信息的消息。
步骤 s 102、 从消息中获取终端的用户管理信息。
步骤 sl03、 对用户管理信息进行信息处理。
具体地, 本发明的实施例中, 通过终端与服务器间的消息交互, 达到交互更新以及收视率的统计和其他相应信息的互通的目的。终端 与服务器间的交互消息可以进行规定,满足一定的格式并携带少数必 要的信息即可, 这样的消息有利于服务器处理, 也有助于减小服务器 负担。服务器对终端信息的记录以及统计的结果可以按照一定的策略 完成, 并且服务器处理终端上报的互动信息也根据策略来完成。
本发明的主要实施方法在于: 当用户接入(Login ) 某频道后, 终端要将业务标识 Service ID和用户标识 User ID等用户管理信息保 存在本地,当接收节目达到一定时间后,终端要将 Service ID、 User ID 和频道标识 Channel ID等用户管理信息发送到服务器。当终端退出节 目后,还要将 Service ID、 Channel ID和 User ID等用户管理信息发送 到服务器, 完成一次退出 ( Logout )。 Login与 Logout的作用主要在 于为服务器提供终端的用户管理信息, 为服务器统计收视率、 界定终 端的观看行为提供依据。
当用户接入(Login ) 某频道后, 终端也可以直接将 Service ID 和 User ID等用户管理信息发送到服务器, 不需要等待接收该频道的 节目达到一定时间。 上述情况下, 该用户管理信息不包括频道信息, 即 Channel ID。 当终端退出节目后, 可以将 Service ID、 Channel ID 和 User ID等用户管理信息发送到服务器, 完成一次退出 ( Logout )。
服务器获取终端的用户管理信息之后 ,还可以对获取的用户管理 信息进行信息处理, 至少包括以下一种操作:
记录用户登录状态; 记录用户观看节目状态信息; 记录用户需要 更新的业务信息。
其中, 用户登录状态, 至少包括以下一种信息: 终端标识、 用户 标识、 业务订阅关系、 登陆时间、 登陆方式、 用户密钥的有效期; 用 户观看节目状态信息,至少包括以下一种信息:用户观看的节目标识、 用户观看的频道标识、 用户收看频道的开始时间、 用户观看频道的退 出时间; 用户需要更新的业务信息, 至少包括以下一种信息: 用户密 钥是否需要更新、 用户互动信息是否需要更新、 用户业务 SG是否需 要更新。
服务器获取终端的用户管理信息之后,还可以获取频道节目的收 看时间,该频道节目的收看时间可以根据用户管理信息中携带的消息 发送时间获取;或根据服务器向终端发送节目第一帧和最后一帧的时 间获取。
服务器获取终端的用户管理信息之后,还可以获取频道或节目的 收视率。 获取频道或节目的收视率的具体步骤, 可以包括: 对需要进 行统计的频道或节目设置标识;接收终端在接收或退出频道或节目的 内容时发送的消息;根据消息获取频道或节目的收视率。也可以包括: 向所有终端或特定的终端发送是否在收看特定频道或节目的消息;接 收正在收看特定频道或节目的终端发送的响应消息;根据响应消息获 取频道或节目的收视率。
本发明的实施例二提供了一种将终端接入节目频道( Login ) 和 终端退出播放节目 (Logout )时服务器获取用户管理信息的方法。 用 户管理信息包括以下信息中的一种或多种: 消息类型标识、 消息发送 时间、 终端标识、 业务标识、 节目标识、 终端是否在线的状态、 终端 识别码、 用户标识信息以及频道标识, 所述消息类型标识包括登录消 息标识和注销消息标识。对于服务器而言, 终端在订阅了频道后不会 有任何消息发送到服务器。 终端的状态、 用户的情况、 订阅频道的更 新情况等对服务器来说都是不知道的, 因此需要提供一种方法来解决 这样的问题。本方案提供的方法可以为服务器进一步掌握终端接收节 目的情况和交互提供手段。
请参照流程图图 2 , 该方案的实施思想主要在于, 当终端用户收 看某一时刻的节目时, 终端会接入( Login )到播放该节目的频道。 接入后的用户管理信息, 包括 Service ID、 User ID等用户管理信息会 被终端发送到服务器。用户管理信息的形式可以通过多种方式发送到 服务器上。 服务器会保存用户管理信息并对接收到的消息做出响应。 当终端退出 (Logout )接收节目后, 还会与服务器进行一次交互: 终 端将退出时的用户管理信息,包括, Service ID、 Channel ID和 User ID 等用户管理信息发给服务器。服务器根据退出的用户管理信息对保存 的终端接入节目的情况进行一次综合记录。
本实施例具体流程如图 2所示, 步骤如下:
步骤 s201 , 终端启动, 并向服务器发送 Loglnlnfo消息。 Loglnlnfo消息的内容可以如下所示:
POST/HTTP/1.1
Date:Sat,20Jul200720:31 :22GMT
Accept-Ranges:bytes
Accept-Language: zh-cn
Content-Length: 1205
Content- Type: text/xml
Host:host: www.sample.com:8080
Connection: close
<CR>
<?xml version:" 1.0" encoding="UTF-8 " ?>
<!— edited with XML SPY v5 rel. 4 U (http://www.xmlspy.com) by Registred (Registred) -- >
<LogReport
xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\Documents and Settings\Administrator\桌面 \Edit3.xsd">
<Message— Type Message— Type— Type="LogMnfo"/>
<User_ID User_ID_Type="abc"/>
<Service_ID Service— ID— Type="01"/>
<Program_ID Program— ID— Type=" 11 "/> 本实施例中, Loglnlnfo 消息以 XML ( Extensible Markup Language,可扩展标记语言)的形式作为消息体加在 HTTP( Hyper Text Transfer Protocol ,超文本传输协议) POST头的后面,带到服务器上。 消息头和消息体间用回车 <0 >间隔开, 回车上面的为消息头, 下面 的为消息体。消息头中描述了要请求的主机和端口,连接方式为 close , 表示不必持续连接, HTTP1.1支持非持续连接。
Loglnlnfo消息包括了 Service ID( Identification,标识符)、 User ID (例如: IMSI ( International Mobile Subscriber Identification Number, 客户识别码)信息), 以及其他接入用户管理信息。 终端的 Loglnlnfo 消息具有某种格式, 例如如图 2所示。 消息的发送是通过交互信道完 成的。 保存 Loglnlnfo消息的服务器可以是交互服务器, 也可以是专 门用来记录统计数据的服务器。本实施例中 Loglnlnfo以 html的形式 发送到服务器上。
发送 Loglnlnfo的方法可以是通过多种方法, 例如 HTTP POST 方法。 这里只是举例说明, 如有其它方式可以替代, 其原理与思想是 一致的。
终端启动时会将 Login的消息 Loglnlnfo上报给服务器, 同时服 务器将该用户状态制成 online。 终端到服务器上取 SG以及其他相关 数据。 而当服务器上的相关数据有更新的时候, 此时服务器可以向已 经在线的用户进行数据更新的通知 Push消息发送给 online的终端, 则终端可以及时感知服务器上的数据变化, 及时取回数据。
步骤 s202, 终端获取 SG。
手机电视终端接收频道节目的前提是该终端已经注册在服务器 上, 并且已经激活, 可以接入频道接收节目。
步骤 s203 ,未定购频道的终端才艮据获取的 SG重新建立频道定购。 确定的定购关系描述的是用户对 SG中频道订阅的情况。 它可以 是以表的方式保存在服务器端。 以服务器来同步终端。
A 定购的方式可以是外部的: 例如通过上网或拨打电话的方式 来完成。 定购的结果会记录到服务器上;
B 也可以是内部的: 通过终端在 SG上进行定购。 每当终端定 购或退定一个频道, 服务器上的定购关系表都会进行一次修改, 并随 后同步给终端。
C 定购关系可以是服务器向终端同步, 服务器会在终端启动时 将定购关系与 online状态的用户进行同步,也可根据服务器策略定期 同步; 定购关系也可以是终端来维护, 向服务器进行同步, 当用户进 行定购以后,本地的定购关系会通过 HTTP的 POST方式发到服务器 上与服务器同步。
用户接入频道后可以接收 SG。 SG 中有频道内容的预告。 通过 SG, 终端可以获得相关的频道列表, 并根据该频道列表提供的频道 接收节目内容。
如果釆用广播接收的方式, 终端根据之前收到的手机频道导航
SG, 选择希望收看的频道。 通过 SG上显示的频道标识, 用户终端在 选择后, 终端会开始节目的接收。
步骤 s204, 服务器端向终端发送节目内容。
服务器可以釆用广播的方式将内容发送出去,也可以用流媒体的 方式发送内容。
如果终端在接收到节目内容一段时间后(可以设定为 1分钟)没 有退出, 那么该信息就将被发送到服务器。服务器可以记录终端接入 时间。
终端侧接入到频道后的处理首先要在本地记录当前的状态信息, 规定的一段时间可以是网络设定的, 也可以是内容提供商设定的。 该 时间被终端用来判定是否要向服务器发送统计信息。如果终端接入频 道的时间超过了该设定时间, 则可以认为用户是在观看节目; 否则, 如果在这段时间内终端退出了该频道,则认为用户没有收看该频道节 。
步骤 s205 , 服务器对终端进行鉴权。
鉴权消息的内容可以如下所示:
HTTP/1.1 401 Unauthorized
Server: Microsoft-IIS/5.1
WWW- Authenticate: Digest
realm="testrealm(¾host.com" ,
qop="auth,auth-int",
nonce="dcd98b7102dd2f0e8b 11 d0f600bfb0c093
opaque="5ccc069c403ebaf f0171e9517f40e41"
<CR> 服务器收到终端发来的 POST消息, 对终端要进行一次认证, 服 务器会发质询给终端。所谓"发出质询",就是给客户端发送一个 HTTP 响应, 其状态码为 401 (Unauthorized) , 并且包含消息头 WWW-Authenticate , 客户端看到这个响应就知道这个 URI ( Uniform Resource Identifier, 通用资源标志符) 需要认证。
domain: 一个 URI 列表, 指示要保护的域。 可能是一个列表, 提示用户这些 URI釆用一样的认证, 如果为空或忽略则为整个服务 哭口
nonce: 随机字符串, 每次 401 都不一样。 跟算法有关。 算法类 i^X Base64力口密: time-stamp H(time-stamp ": " ETag ": " private-key) 。 time-stam 为服务器时钟, ETag为请求的 Etag头。
opaque : 服务器产生的由客户发送请求时原样返回。 最好是 Base64 串或十六进制字符串。 realm-value是一个两端加引号的大小 写相关的字符串, 表示要求认证的"领域(realm ) "。 领域是由服务器 自己决定的, 不同的服务器可以设置自己的领域, 同一个服务器也可 以有多个领域。质询中包含领域信息是为了让客户端知道哪个范围的 用户名是合法的。 服务器对终端进行鉴权的消息可以没有消息体。
服务器为了获得终端接入用户的身份,需要对终端刚接入时或切 换节目或频道时进行认证。 这个认证与用户注册时认证目的不同, 这 个对接入用户的认证可以保证观看节目的用户为接入用户,可以保证 收视率统计的客观性。 认证的方式有多种, 例如 HTTP的摘要认证方 式。
服务器接收到用户发来的 Loglnlnfo , 在将该消息中的数据写入 数据库前, 为了确定接入节目的用户的身份,及 Loglnlnfo的合理性, 必须对用户进行一次认证。 因为用户在发送 Loglnlnfo的时候不知道 是否认证, 因此服务在收到 Loglnlnfo时会发送一个 HTTP的 401消 息, 该消息包括了一个挑战(challenge ), challenge 需要用户名及密 码等相关认证信息以加密的方式发到服务器。 步骤 S206 , 终端向服务器发送一个对认证的响应。
响应消息的内容可以如下所示:
Authorization: Digest username="Mufasa",
realm="testrealm(¾host.com" ,
nonce="dcd98b7102dd2f0e8b 11 d0f600bfb0c093
Figure imgf000012_0001
qop=auth,
nc=00000001,
cnonce="0a4fl l3b",
response="6629fae49393a05397450978507c4efl ",
opaque="5ccc069c403ebaf f0171e9517f40e41" 终端在收到 Challenge 消息后会将自 己的用户名及密码和 Challenge一起加密传给服务器。 这样的好处是可以不用明文发送密 码。
当认证成功后服务器会保持之前终端的接收;如果终端认证未通 过, 用户也可以继续观看节目, 但对于服务器统计 Loglnlnfo是无效 的。
步骤 s201 -s206为标准的 HTTP摘要认证的方式, 其中的各字段 可参考 RFC2617。 摘要认证的方法在这里只是举例说明。
步骤 s207 , 服务器发送 200 OK消息到终端。
终端的用户名及密码通过服务器的认证, 服务器发送 200 Ok到 终端; 本实施例中是以 HTTP方式举例说明, 因此这里用 200 OK表 示认证成功。
步骤 s208, 服务器向终端正常发送节目内容。
终端接入到频道后如果不在规定的时间内退出,继续接收节目内 容, 则服务器可以釆用广播发送的方式, 也可以釆用其它的发送方式 发送节目内容。 如果服务器釆用广播的方式发送节目内容, 终端从该 频道的广播中接收内容。 如果釆用其它方式(例如流媒体), 服务器 可以在与终端建立的链路上发送内容。 对于流媒体方式可以用单播, 也可以用组播发送节目内容;
步骤 S209 , 终端退出当前观看的节目。
退出消息的内容可以如下所示:
Http/1.1200OK
Server:Microsoft-IIS/5.0
Date:Sat,20Jul200720:31 :22GMT
Accept-Ranges:bytes
Content-Length: 1205
Content- Type: text/html
Options :Post
Loglnlnfo
用户退出当前观看节目的时间是任意的, 可以在节目结束后, 也 可以在播放途中退出。当用户退出后将触发终端发送状态消息到服务 器。
步骤 s210, 终端发送一条 LogOutlnfo消息到服务器。
LogOutlnfo消息的内容可以如下所示:
POST/HTTP/1.1
Date:Sat,20Jul200720:55:22GMT
Accept-Ranges:bytes
Accept-Language: zh-cn
Content-Length: 1205
Content- Type: text/xml
Host:host: www. sam . com :8080
Connection: close
<CR>
<?xml version:" 1.0" encoding="UTF-8 " ?>
<!— edited with XML SPY v5 rel. 4 U (http://www.xmlspy.com) by Registred (Registred) -- > <LogReport
xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\Documents and Settings\Administrator\桌面 \Edit3.xsd">
<Message— Type Message— Type— Type="LogOutInfo"/>
<User_ID User_ID_Type="abc"/>
<Service_ID Service— ID— Type="01 "/>
<Program_ID Program— ID— Type=" 11 "/> 本实施例用 HTTP的 POST方法将 LogOutlnfo的 XML数据信息 发到服务器上, POST 消息中的含义与第 4 步相同。 LogOutlnfo 的 XML形式数据为消息体。
该消息包括了 Service ID、 User ID ,服务器记录终端退出时间 End Time。 终端的 LogOutlnfo消息具有某种格式, 例如如图 3所示。 消 息的发送是通过交互信道完成的。 保存 LogOutlnfo 消息的服务器可 以是交互服务器, 也可以是专门用来记录统计数据的服务器。
LogOutlnfo消息可以用 HTTP方式将消息带到服务器由服务器来 完成处理并加入数据库中, 也可以用 SMS(Short Message Service, 短 消息业务)或其它方式。本例中通过 HTTP POST方法将消息带到服务 器的方式只是举例说明, 也可以用其它的承载手段代替, 但所涉及的 原理和思想是一致的。
步骤 s211 , 服务器正确接收的 LogOutlnfo消息后, 返回 200 OK 消息给终端。
返回应答可以通过交互信道, 也可以通过其它的方式。 本例中用 200 OK代表发送内容成功到达。 在不同的网络环境中也可以釆用其 它的应答方式, 所涉及的思想和原理都是一样的。
步骤 s212,服务器在终端退出节目后,对终端的状态信息进行保 存。
服务器将终端上报的 Loglnlnfo和 LogOutlnfo状态信息加入到本 地数据库中或保存在其它的服务器中。 服务器从 Loglnlnfo 和 LogOutlnfo消息中获得需要的数据。根据这些数据,服务器可以对终 端的订阅以及观看节目的情况有基本的了解。服务器数据库中保存的 状态信息可以是与表 4统计表相同或类似。
手机终端在收看某频道节目内容的时候,比较可行的方式是通过
SG, 呈现出频道列表, 终端可以选择一个频道的节目进入观看。 当 终端通过 SG提供的频道列表接入频道观看时, 终端会记录下当前接 入的用户管理信息, 包括接入的 User ID、 Service ID、 Program ID等。 当终端接入该频道的一个节目一定时间后 (例如一分钟), 则可以认 为用户是在观看该节目, 此时终端需要将用户管理信息发送到服务 器。 当终端退出该频道或退出观看节目的时候, 终端会记录下当前退 出的用户管理信息, 包括接入的 User ID、 Service ID、 Program ID等。 该服务器可以是交互服务器也可以是专门用来记录终端信息的服务 例如 Loglnlnfo和 LogOutlnfo消息可以是如下表 1的数据结构形
Figure imgf000015_0001
本发明涉及到的终端与服务器间的消息类型 Loglnlnfo消息和 LogOutlnfo消息都是强制必须的消息。 方向都 是从终端到服务器。
Loglnlnfo和 LogOutlnfo消息的数据结构组成如下表 2和 3所示:
Figure imgf000015_0002
Message-Type Mandatory String 消息类型标识" Loglnlnfo"
User ID Mandatory String 终端用户 ID
Service ID Mandatory String 业务的 ID ( i.e Channel ID )
Program ID Mandatory String 观看的节目 ID
Online state Mandatory String 在线状态
IMSI Mandatory String 客户识别码(IMSI )
Channel stat Mandatory String 频道标识, 用来标帜该频道 的统计情况 表 2 Loglnlnfo消息组成
Figure imgf000016_0001
表 3 LogOutlnfo消息组成
用 schema表示该数据结构 ¾口下:
<?xml version:" 1.0" encoding="UTF-8 " ?>
<!— edited with XML SPY v5 rel. 4 U (http://www.xmlspy.com) by Registred (Registred) -- >
<xs: schema xmlns :xs="http:〃 www. w3. org/2001 /XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs: element name="LogReport" type="LogReportType'7> <xs: complexType name="LogReportType">
<xs:sequence>
<xs: element name="Message_Type">
<xs: complexType>
<xs: attribute name="Message_Type_Type" use="required">
<xs:simpleType>
<xs: restriction base="xs: NMTOKEN"> <xs: enumeration value="LogOutInfo'7> <xs: enumeration value="LogInInfo"/> </xs:restriction>
</xs: simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs: element name="User_ID">
<xs: complexType>
<xs: attribute name="User_ID_Type" type="xs: string" use="required"/>
</xs:complexType>
</xs:element>
<xs: element name="Service_ID">
<xs: complexType>
<xs: attribute name=" Service— ID— Type " type="xs: string" use="required"/>
</xs:complexType>
</xs:element>
<xs: element name="Program_ID">
<xs: complexType> <xs: attribute name="Program_ID_Type type="xs: string" use="required"/>
</xs:complexType>
</xs:element>
<xs: element name="Online_state">
<xs: complexType>
<xs: attribute name: ' ' Online— state— Type type="xs: string" use="required"/>
</xs:complexType>
</xs:element>
<xs: element name="IMSI">
<xs: complexType>
<xs: attribute name="IMSI_Type" type="xs:string use="required"/>
</xs:complexType>
</xs:element>
<xs: element name="Channel_stat">
<xs: complexType>
<xs: attribute name="Channel— stat— Type type="xs: string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema> 以上的消息都由终端发送到服务器, 并由服务器保存。 在服务器 侧也可以构造一个类似下面的数据结构来保存需要记录的状态信息。 如下表 4所示: User ID Service ID Program ID StartTime EndTime
01234 01 Oil 10: 50 11 : 30
02462 01 Oil 10: 20 11 : 15
55208 02 021 12: 05 12: 25
04567 03 032 12: 00 12: 30
49653 02 021 12: 15 12: 25 表 4 统计表
该数据结构的 schema如下:
<?xml version:" 1.0" encoding="UTF-8 " ?>
<!-W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)-->
<xs: schema xmlns :xs="http:〃 www. w3. org/2001 /XMLSchema" elementFormDefault="qualified">
<xs: element name="Stat">
<xs: complexType>
<xs: attribute name="User ID" type="xs: string use= required"/>
<xs: attribute name=" Service— ID " type="xs: string use= required"/>
<xs: attribute name="Program_ID type="xs: string use= required"/>
<xs: attribute name=" StartTime" type="xs: string use= required"/>
<xs: attribute name="EndTime" type="xs: string use= required"/>
</xs:complexType>
</xs:element> </xs:schema>
该表中模拟了一些数据来表示在服务器侧保存的信息内容。本例 中每一个用户都有一个唯一的 User ID, 对于不同的频道也有不同的 Service ID, 例如上表中 User ID为 01234的用户与 User ID为 02462 的用户都在观看 Service ID为 01的频道, 所看节目内容相同, 他们 观看的节目 Program ID为 011。他们的观看时间分别从 10: 50和 10: 20开始。 User ID为 55208的用户和 User ID为 49653的用户都在观 看 Service ID为 02的频道, 说观看的节目也相同, 都是 Program ID 为 021 , 但是前者 12: 05接入观看, 而后者从 12: 15开始观看, 节 目结束后他们都停止了观看, 因此 EndTime都是 12: 25。
服务器上保存记录形式可以多样, 本方案只是举例说明, 可以用 其它的数据结构组织这些统计数据,但所涉及的思想与方法都是相同 的。
表 4中一个频道对应一个服务器。同一时间相同频道只有一个节 目。 Service ID、 Program ID由提供节目的内容提供商规定。 也可以 是一个频道在一段时间内只提供一个节目给用户观看。 User ID、 Service ID、 Program ID, EndTime、 StartTime这些属性只是举例说明 终端观看节目的状态信息, 如果需要可以进行修改与扩展。
本实施例中的服务器可以是互动服务器,也可以是专门用来保存 统计信息的服务器。由于本实施例中的消息相对内容少,数据易统计, 因此对服务器的负担小。 此外, 对于本例中的服务器, 如果能够支持 一定量的用户数量,增加这样的统计后并不会对支持的用户数有太多 的改变。
本实施例中所涉及的发送用户管理信息的消息 Loglnlnfo、 LogOutlnfo只是举例说明,其他类似携带状态信息的消息方法也可以 完成状态信息的发送, 所涉及的原理与思想都是一致的。
本发明的实施例三提供了一种将终端接入节目频道( Login ) 和 终端退出播放节目 (Logout )时将用户管理信息发送到服务器, 由服 务器根据用户管理信息对节目或用户偏好做统计的方法。该方法可以 为服务器进一步掌握终端接收节目和频道的情况提供手段。
请参照流程图图 3 , 该方案的实施思想主要在于, 当终端用户收 看某一时段的节目时, 终端会接入(Login )到播放该节目的频道。 当终端接收节目达到一定时间后,终端的用户管理信息, 包括 Service ID、 节目标识 Program ID、 User ID和 Channel ID等信息会被终端发 送到服务器。 用户管理信息可以以消息的方式发送到服务器上。服务 器会根据本地策略判断是否要接收到的终端用户管理信息并进行保 存, 做出相应的回答。 当终端退出 (Logout )接收节目后, 还会与服 务器进行一次交互:终端将退出时的用户管理信息,包括, Service ID、 Program ID、 User ID和 Channel ID等信息发给服务器。
服务器根据退出的用户管理信息对保存的终端接入节目的情况 进行统计。 服务器可以根据记录的终端 Login和 Logout的时间算出 用户接入该节目的总时长, 服务器还会根据 User ID和 Service ID、 Program ID和 Channel ID统计出关注度最高的频道,以及关注度最高 的节目内容。根据这样的统计, 服务器可以对那些关注度高的频道和 节目增加更多的网络资源, 保证这些节目在用户观看时的观看质量; 内容提供商也可以根据这样的统计对提供的频道和节目做一定的调 整, 增加关注度高的节目的播放, 根据用户的兴趣开发节目。
本实施例具体流程如图 3所示, 步骤如下:
步骤 s301 , 终端启动, 并获取 SG。
手机电视终端接收频道节目的前提是该终端已经注册在服务器 上, 并且已经激活, 可以接入频道接收节目。
步骤 s302,未定购频道的终端才艮据获取的 SG重新建立频道定购。 确定的定购关系描述的是用户对 SG中频道订阅的情况。 它可以 是以表的方式保存在服务器端。 以服务器来同步终端。
A 定购的方式可以是外部的: 例如通过上网或拨打电话的方式 来完成。 定购的结果会记录到服务器上;
B 也可以是内部的: 通过终端在 SG上进行定购。 每当终端定 购或退定一个频道, 服务器的定购关系表都会进行一次修改, 并随后 同步给终端。
C 定购关系可以是服务器向终端同步, 服务器会在终端启动时 将定购关系与 online状态的用户进行同步,也可根据服务器策略定期 同步; 定购关系也可以是终端来维护, 向服务器进行同步, 当用户进 行定购以后,本地的定购关系会通过 HTTP的 POST方式发到服务器 上与服务器同步。
用户接入频道后可以接收 SG。 SG 中有频道内容的预告。 通过 SG终端可以获得相关的频道列表, 并根据该频道列表提供的频道接 收节目内容。
如果釆用广播接收的方式, 终端根据之前收到的手机频道导航 SG, 选择希望收看的频道。 通过 SG上显示的频道标识, 用户终端在 选择后, 终端会开始节目的接收。
步骤 s303 , 服务器端向终端发送节目内容。
服务器可以釆用广播的方式将内容发送出去,也可以用流媒体的 方式发送内容。
如果终端在接收到节目内容一段时间后(可以设定为 1分钟)没 有退出, 那么该信息就将被发送到服务器。服务器可以记录终端接入 时间。
终端侧接入到频道后的处理首先要在本地记录当前的用户管理 信息, 规定的一段时间可以是网络设定的, 也可以是内容提供商设定 的。 该时间被终端用来判定是否要向服务器发送统计信息。 如果终端 接入频道的时间超过了该设定时间, 则可以认为用户是在观看节目; 否则, 如果在这段时间内终端退出了该频道, 则认为用户没有收看该 频道节目。
步骤 s304, 终端向服务器发送 Loglnlnfo消息。
Loglnlnfo消息的内容可以如下所示:
POST/HTTP/1.1
Date:Sat,20Jul200720:31 :22GMT
Accept-Ranges:bytes Accept-Language: zh-cn
Content-Length: 1205
Content- Type: text/xml
Host:host: www.sample.com:8080
Connection: close
<CR>
<?xml version:" 1.0" encoding="UTF-8 " ?>
<!— edited with XML SPY v5 rel. 4 U (http://www.xmlspy.com) by Registred (Registred) -- >
<LogReport
xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\Documents and Settings\Administrator\桌面 \Edit3.xsd">
<Message— Type Message— Type— Type="LogMnfo"/>
<User_ID User_ID_Type="abc"/>
<Service_ID Service— ID— Type="01 "/>
<Program_ID Program— ID— Type=" 11 "/> 本实施例中, Loglnlnfo 消息以 XML ( Extensible Markup Language ,可扩展标记语言)的形式作为消息体加在 HTTP( Hyper Text Transfer Protocol,超文本传输协议) POST头的后面,带到服务器上。 消息头和消息体间用回车 <0 >间隔开, 回车上面的为消息头, 下面 的为消息体。消息头中描述了要请求的主机和端口,连接方式为 close , 表示不必持续连接, HTTP1.1支持非持续连接。
Loglnlnfo消息包括了 Service ID、 User ID (例如: IMSI信息)、 以及其它接入状态信息。 终端的 Loglnlnfo消息具有某种格式, 例如 如图 2所示。 消息的发送是通过交互信道完成的。 保存 Loglnlnfo消 息的服务器可以是交互服务器,也可以是专门用来记录统计数据的服 务器。 本实施例中 Loglnlnfo以 html的形式发送到服务器上。 发送 Loglnlnfo的方法可以是通过多种方法, 例如 HTTP POST 方法。 这里只是举例说明, 如有其它方式可以替代, 其原理与思想是 一致的。
终端接收节目达到一定时间后, 会将 Login的消息 Loglnlnfo上 报给服务器, 同时服务器将该用户状态制成 online。 终端到服务器上 取 SG以及其他相关数据。 而当服务器上的这些相关数据有更新的时 候, 此时服务器可以向已经在线的用户进行数据更新的通知 Push消 息发送给 online的终端, 则终端可以及时感知服务器上的数据变化, 及时取回数据。
步骤 s305 , 服务器对终端进行鉴权。
鉴权消息的内容可以如下所示:
HTTP/1.1 401 Unauthorized
Server: Microsoft-IIS/5.1
WWW- Authenticate: Digest
realm="testrealm(¾host.com",
qop="auth,auth-int",
nonce="dcd98b7102dd2f0e8b 11 d0f600bfb0c093
opaque="5ccc069c403ebaf f0171e9517f40e41"
<CR> 服务器收到终端发来的 POST消息, 对终端要进行一次认证, 服 务器会发质询给终端。所谓"发出质询",就是给客户端发送一个 HTTP 响应, 其状态码为 401 (Unauthorized) , 并且包含消息头 WWW-Authenticate , 客户端看到这个响应就知道这个 URI ( Uniform Resource Identifier , 通用资源标志符 ) 需要认证。
domain: 一个 URI 列表, 指示要保护的域。 可能是一个列表, 提示用户这些 URI釆用一样的认证, 如果为空或忽略则为整个服务 哭口
nonce: 随机字符串, 每次 401 都不一样。 跟算法有关。 算法类 i^X Base64力口密: time-stamp H(time-stamp ": " ETag ": " private-key) 。 time-stam 为服务器时钟, ETag为请求的 Etag头。
opaque : 服务器产生的由客户发送请求时原样返回。 最好是 Base64 串或十六进制字符串。 realm-value是一个两端加引号的大小 写相关的字符串, 表示要求认证的"领域( realm ) "。 领域是由服务器 自己决定的, 不同的服务器可以设置自己的领域, 同一个服务器也可 以有多个领域。质询中包含领域信息是为了让客户端知道哪个范围的 用户名是合法的。 服务器对终端进行鉴权的消息可以没有消息体。
服务器为了获得终端接入用户的身份, 需要对终端进行一次认 证。 这个认证与用户注册时认证目的不同, 这个对接入用户的认证可 以保证观看节目的用户为接入用户, 可以保证收视率统计的客观性。 认证的方式有多种, 例如 HTTP的摘要认证方式。
服务器接收到用户发来的 Loglnlnfo , 在将该消息中的数据写入 数据库前, 为了确定接入节目的用户的身份,及 Loglnlnfo的合理性, 必须对用户进行一次认证。 因为用户在发送 Loglnlnfo的时候不知道 是否认证, 因此服务在收到 Loglnlnfo时会发送一个 HTTP的 401消 息, 该消息包括了一个挑战(challenge ), challenge 需要用户名及密 码等相关认证信息以加密的方式发到服务器。
步骤 s306 , 终端向服务器发送一个对认证的响应;
响应消息的内容可以如下所示:
Authorization: Digest username="Mufasa",
realm="testrealm(¾host.com" ,
nonce="dcd98b7102dd2f0e8b 11 d0f600bfb0c093
Figure imgf000025_0001
qop=auth,
nc=00000001 ,
cnonce="0a4fl l3b",
response="6629fae49393a05397450978507c4efl ",
opaque="5ccc069c403ebaf f0171e9517f40e41 " 终端在收到 Challenge 消息后会将自 己的用户名及密码和 Challenge一起加密传给服务器。 这样的好处是可以不用明文发送密 码。
当认证成功后服务器会保持之前终端的接收;如果终端认证未通 过, 用户也可以继续观看节目, 但对于服务器统计 Loglnlnfo是无效 的。
步骤 s301-s306为标准的 HTTP摘要认证的方式, 其中的各字段 可参考 RFC2617。 摘要认证的方法在这里只是举例说明。
步骤 s307 , 服务器发送 200 OK消息到终端。
终端的用户名及密码通过服务器的认证, 服务器发送 200 Ok到 终端; 本实施例中是以 HTTP方式举例说明, 因此这里用 200 OK表 示认证成功。
步骤 s308, 服务器向终端正常发送节目内容;
终端接入到频道后如果不在规定的时间内退出,继续接收节目内 容, 则服务器可以釆用广播发送的方式, 也可以釆用其他的发送方式 发送节目内容。 如果服务器釆用广播的方式发送节目内容, 终端从该 频道的广播中接收内容。 如果釆用其它方式(例如流媒体), 服务器 可以在与终端建立的链路上发送内容。 对于流媒体方式可以用单播, 也可以用组播发送节目内容;
步骤 s309, 终端退出当前观看的节目。
用户退出当前观看节目的时间是任意的, 可以在节目结束后, 也 可以在播放途中退出。当用户退出后将触发终端发送状态消息到服务 器。
步骤 s310, 终端发送一条 LogOutlnfo消息到服务器。
LogOutlnfo消息的内容可以如下所示:
POST/HTTP/1.1
Date:Sat,20Jul200720:55:22GMT
Accept-Ranges:bytes Accept-Language: zh-cn
Content-Length: 1205
Content- Type: text/xml
Host:host: www. sam . com :8080
Connection: close
<CR>
<?xml version:" 1.0" encoding="UTF-8 " ?>
<!— edited with XML SPY v5 rel. 4 U (http://www.xmlspy.com) by Registred (Registred) -- >
<LogReport
xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\Documents and Settings\Administrator\桌面 \Edit3.xsd">
<Message— Type Message— Type— Type="LogOutInfo"/>
<User_ID User_ID_Type="abc"/>
<Service_ID Service— ID— Type="01 "/>
<Program_ID Program— ID— Type=" 11 "/> 本实施例用 HTTP的 POST方法将 LogOutlnfo的 XML数据信息 发到服务器上, POST 消息中的含义与第 4 步相同。 消息体为 LogOutlnfo的 XML形式数据。
该消息包括了 Service ID、 User ID、 以及当前退出时间 EndTime 等。 终端的 LogOutlnfo消息具有某种格式, 例如如图 3所示。 消息 的发送是通过交互信道完成的。 保存 LogOutlnfo 消息的服务器可以 是交互服务器, 也可以是专门用来记录统计数据的服务器。
LogOutlnfo消息可以用 HTTP方式将消息带到服务器由服务器来 完成处理并加入数据库中, 也可以用 SMS或其它方式。 本例中通过 HTTP POST方法将消息带到服务器的方式只是举例说明, 也可以用 其它的承载手段代替, 但所涉及的原理和思想是一致的。 步骤 s311 , 当服务器正确接收的 LogOutlnfo消息后返回 200 OK 消息给终端。
返回应答可以通过交互信道, 也可以通过其它的方式。 本例中用 200 OK代表发送内容成功到达。 在不同的网络环境中也可以釆用其 它的应答方式, 所涉及的思想和原理都是一样的。
步骤 s312, 服务器在终端退出节目后对终端的状态信息进行保 存, 并进行统计。
服务器根据终端上报的 Loglnlnfo和 LogOutlnfo状态信息进行频 道的收视率统计或节目的收视率统计;
收视率统计的两种方式:
A SG 中可以包括频道标识, 这样当服务器需要对某时间段的 某个频道做收视率统计的时候, 可以在 SG中该频道设置需要进行收 视率统计的标识, 例如 CCTV2 stat = TRUE 2007-08-09 12: 00 ~ 13: 00, 表明 CCTV2这个频道在 2007-08-09 12: 00 ~ 13: 00, 如果用户 选择的该频道, 则需要向服务器发送消息, 以表明该用户正在收看或 收看结束这样动作, 服务器以此来进行收视率的统计, 或进行其他相 关的统计操作。
B 另一种收视率统计的方式是: 服务器向目前在线的所有用户 或其中一部分用户终端发送消息,要求该用户反馈当前是否在收看该 频道, 用户终端回复该消息, 并携带相关信息 , 以表明对该服务器 请求的答复, 这样可以实现服务器上进行相关数据的统计工作;
并且可以统计该用户对节目的偏好。服务器从记录的终端观看节 目的 StartTime与 EndTime得出该用户观看节目的总时长。 根据不同 用户观看的节目, 可以统计出哪个 Program ID的参与用户人数最多, 也可以统计出哪个 Service ID的接入人数最多。 同时服务器可以根据 用户以前保存在服务器上的数据, 对用户的偏好做出统计, 可以查找 出该用户参与最多的 Program ID和 Service ID是哪些。根据这些数据, 内容提供商可以为该用户提供类似于包月的服务。用户保存在服务器 上的状态信息可以是类似表 8的形式。 手机终端在收看某频道节目内容的时候,比较可行的方式是通过
SG,通过 SG所呈现出来的频道列表, 终端可以选择一个频道进入观 看。 当终端通过 SG提供的频道列表接入频道观看时, 终端会记录下 当前接入的用户管理信息, 包括接入的 User ID、 Service ID, Program ID等。 当终端接入该频道的一个节目一定时间后(例如一分钟), 则 可以认为用户是在观看该节目,此时终端需要将用户管理信息发送到 服务器。 当终端退出该频道或退出观看节目的时候, 终端会记录下当 前退出的用户管理信息, 包括接入的 User ID、 Service ID、 Program ID 等。该服务器可以是交互服务器也可以是专门用来记录终端信息的服 务器。例如 Loglnlnfo和 LogOutlnfo消息的定义数据结构形式如下表 5所示。
Figure imgf000029_0001
表 5 本发明涉及到的终端与服务器间的消息类型 Loglnlnfo消息和 LogOutlnfo消息都是强制必须的消息。 方向都 是从终端到服务器。
Loglnlnfo和 LogOutlnfo消息的数据组成入下表 6和 7所示:
Figure imgf000029_0002
IMSI Mandatory String 客户识别码(IMSI )
Channel stat Mandatory String 频道标识, 用来标帜该频道 的统计情况 表 6 Loglnlnfo消息组成
Information Req Type Description
Element
Message-Type Mandatory String 消息类型标识" Loglnlnfo"
User ID Mandatory String 终端用户 ID
Service ID Mandatory String 业务的 ID ( i.e Channel ID )
Program ID Mandatory String 观看的节目 ID
Online state Mandatory String 在线状态
IMSI Mandatory String 客户识别码 ( IMSI )
Channel stat Mandatory String 频道标识, 用来标帜该频道的 统计情况
表 7 LogOutlnfo消息组成
用 schema表示该数据结构:
<?xml version:" 1.0" encoding="UTF-8 " ?>
<!— edited with XML SPY v5 rel. 4 U (http://www.xmlspy.com) by Registred (Registred) -- >
<xs: schema xmlns :xs="http:〃 www. w3. org/2001 /XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs: element name="LogReport" type="LogReportType'7>
<xs: complexType name="LogReportType">
<xs:sequence>
<xs: element name="Message_Type">
<xs: complexType>
<xs: attribute name="Message_Type_Type" use="required">
<xs:simpleType>
<xs: restriction base="xs: NMTOKEN"> <xs: enumeration value="LogOutInfo'7> <xs: enumeration value="LogInInfo"/> </xs:restriction>
</xs: simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs: element name="User_ID">
<xs: complexType>
<xs: attribute name="User_ID_Type" type="xs: string" use="required"/>
</xs:complexType>
</xs:element>
<xs: element name="Service_ID">
<xs: complexType>
<xs: attribute name=" Service— ID— Type " type="xs: string" use="required"/>
</xs:complexType>
</xs:element>
<xs: element name="Program_ID">
<xs: complexType>
<xs: attribute name="Program_ID_Type" type="xs: string" use="required"/>
</xs:complexType>
</xs:element>
<xs: element name="Online state "> <xs: complexType>
<xs: attribute name: ' ' Online— state— Type type="xs: string" use="required"/>
</xs:complexType>
</xs:element>
<xs: element name="IMSI">
<xs: complexType>
<xs: attribute name="IMSI_Type" type="xs:string use="required"/>
</xs:complexType>
</xs:element>
<xs: element name="Channel_stat">
<xs: complexType>
<xs: attribute name="Channel— stat— Type type="xs: string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema> 以上的消息都由终端发送到服务器, 并由服务器保存。 在服务器 侧也可以构造一个类似下面的数据结构来保存需要记录的状态信息 (用户管理信息):
Figure imgf000032_0001
55208 02 21 12:05 12:25 20m
4567 03 32 12:00 12:30 30m
49653 02 21 12:15 12:25 10m 表 8 统计表
该数据结构的 schema如下:
<?xml version:" 1.0" encoding="UTF-8 " ?>
<!-W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)-->
<xs: schema xmlns :xs="http:〃 www. w3. org/2001 /XMLSchema" elementFormDefault="qualified">
<xs: element name="Stat">
<xs: complexType>
<xs: attribute name="User_ID" type="xs: string use="required"/>
<xs: attribute name=" Service— ID " type="xs: string use="required"/>
<xs: attribute name="Program_ID type="xs: string use="required"/>
<xs: attribute name="StartTime" type="xs: string use="required"/>
<xs: attribute name="EndTime" type="xs: string use="required"/>
</xs:complexType>
</xs:element>
</xs:schema> 上表 8中模拟了一些数据来表示在服务器侧保存的信息内容。本 例中每一个用户都有一个唯一的 User ID, 对于不同的频道也有不同 的 Service ID,例如上表中 User ID为 01234的用户与 User ID为 02462 的用户都在观看 Service ID为 01的频道, 所看节目内容相同, 他们 观看的节目 Program ID为 011。他们的观看时间分别从 10: 50和 10: 20开始。 User ID为 55208的用户和 User ID为 49653的用户都在观 看 Service ID为 02的频道, 说观看的节目也相同, 都是 Program ID 为 021 , 但是前者 12: 05接入观看, 而后者从 12: 15开始观看, 节 目结束后他们都停止了观看, 因此 EndTime都是 12: 25。 Time属性 为该用户收看节目的时长,从表中可以看出 55208用户和 49653用户 的观看节目时长是一致的。
服务器上保存记录形式可以多样, 本方案只是举例说明, 可以用 其它的数据结构组织这些统计数据,但所涉及的思想与方法都是相同 的。
表 8中一个频道对应一个服务器。同一时间相同频道只有一个节 目。 Service ID、 Program ID由提供节目的内容提供商规定。 也可以 是一个频道在一段时间内只提供一个节目给用户观看。 User ID、 Service ID、 Program ID, EndTime、 StartTime这些属性只是举例说明 终端观看节目的状态信息, 如果需要可以进行修改与扩展。
StartTime和 EndTime是服务器记录的终端接入和退出频道时的 时间, 该时间是终端记录当前播发的节目内容的时间, Time 为二者 差值, 表示用户连续观看该节目的时长。 因为每个节目内容都是由服 务器以数据包的形式一帧一帧的发送到终端的,每一帧都会有一个时 间戳信息, 这个时间戳是由服务器加上的, 因此可以从第一帧的数据 包中提取接入时间, 从最后一帧提取退出时间, 所得差值为终端接入 频道的持续时长。 数据包的时间是与终端本地时间无关的网络时间, 由服务器决定,因此无论终端本地时间是否准确都不会影响终端接入 频道的时长。 这样的时间记录对于统计用户观看时间是比较合理的, 基本可以保证记录时间就是观看时间。并且对于服务器而言能够获得 比较准确的统计。
本实施例中的服务器可以是互动服务器,也可以是专门用来保存 统计信息的服务器。由于本实施例中的消息相对内容少,数据易统计, 因此对服务器的负担小。 此外, 对于本例中的服务器, 如果能够支持 一定量的用户数量,增加这样的统计后并不会对支持的用户数有太多 的改变。
本实施例中所涉及的发送用户管理信息 (状态信息) 的消息
Loglnlnfo, LogOutlnfo只是举例说明,其他类似携带用户管理信息的 消息方法也可以完成状态信息的发送,所涉及的原理与思想都是一致 的。
本发明的实施例四提供了一种将终端接入节目频道( Login ) 和 终端退出播放节目 (Logout )时将用户管理信息发送到服务器, 由服 务器才艮据用户管理信息完成与终端的交互更新的方法。用户成功订阅 了频道后, 在观看一个频道的过程中可能会参与节目的互动, 例如互 动话题的讨论, 互动游戏等等。 通过终端与服务器的交互更新可以达 到在本地终端就能同时完成节目观看与互动参与的效果。
请参照流程图图 3 , 该方案的主要思想在于, 终端在接入观看一 个节目的过程中, 如果该节目中有互动参与的部分, 那么服务器可以 给终端发送该节目互动信息,如果在该节目的播放过程中互动信息发 生了更新,那么服务器可以根据终端的状态信息将互动的更新信息发 给终端。通常在观看一个互动节目的时候会有互动信息的下发与更新 两种情况, 互动信息可以与节目内容一起下发到终端, 但是互动信息 的类型在一个节目当中的形式等都会是一致的,因此只要对节目的互 动信息进行更新, 用户就可以不断的参与到该互动节目中来。 而这样 的互动信息的更新是根据终端发给服务器的状态信息进行发送的。
实施例四的具体流程如图 4所示, 步骤如下:
步骤 s401 , 终端启动, 并向服务器发送 Loglnlnfo消息。
Loglnlnfo消息的内容可以如下所示:
POST/HTTP/1.1
Date:Sat,20Jul200720:31 :22GMT
Accept-Ranges:bytes Accept-Language: zh-cn
Content-Length: 1205
Content- Type: text/xml
Host:host: www.sample.com:8080
Connection: close
<CR>
<?xml version:" 1.0" encoding="UTF-8 " ?>
<!— edited with XML SPY v5 rel. 4 U (http://www.xmlspy.com) by Registred (Registred) -- >
<LogReport
xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\Documents and Settings\Administrator\桌面 \Edit3.xsd">
<Message— Type Message— Type— Type="LogMnfo"/>
<User_ID User_ID_Type="abc"/>
<Service_ID Service— ID— Type="01 "/>
<Program_ID Program— ID— Type=" 11 "/> 本实施例中, Loglnlnfo 消息以 XML ( Extensible Markup Language ,可扩展标记语言)的形式作为消息体加在 HTTP( Hyper Text Transfer Protocol,超文本传输协议) POST头的后面,带到服务器上。 消息头和消息体间用回车 <0 >间隔开, 回车上面的为消息头, 下面 的为消息体。消息头中描述了要请求的主机和端口,连接方式为 close , 表示不必持续连接, HTTP1.1支持非持续连接。
Loglnlnfo消息包括了 Service ID、 User ID (例如: IMSI信息), 以及其他接入状态信息。 终端的 Loglnlnfo消息具有某种格式, 例如 如图 2所示。 消息的发送是通过交互信道完成的。 保存 Loglnlnfo消 息的服务器可以是交互服务器,也可以是专门用来记录统计数据的服 务器。 本实施例中 Loglnlnfo以 html的形式发送到服务器上。 发送 Loglnlnfo的方法可以是通过多种方法, 例如 HTTP POST 方法。 这里只是举例说明, 如有其它方式可以替代, 其原理与思想是 一致的。
终端启动时会将 Login的消息 Loglnlnfo上报给服务器, 同时服 务器将该用户状态制成 online。 终端到服务器上取 SG以及其他相关 数据。 而当服务器上的这些相关数据有更新的时候, 此时服务器可以 向已经在线的用户进行数据更新的通知 Push消息发送给 online的终 端, 则终端可以及时感知服务器上的数据变化, 及时取回数据。
步骤 s402, 终端获取 SG。
手机电视终端接收频道节目的前提是该终端已经注册在服务器 上, 并且已经激活, 可以接入频道接收节目。
步骤 s403 ,未定购频道的终端才艮据获取的 SG重新建立频道定购。 确定的定购关系描述的是用户对 SG中频道订阅的情况。 它可以 是以表的方式保存在服务器端。 以服务器来同步终端。
A 定购的方式可以是外部的: 例如通过上网或拨打电话的方式 来完成。 定购的结果会记录到服务器上;
B 也可以是内部的: 通过终端在 SG上进行定购。 每当终端定 购或退定一个频道, 服务器上的定购关系表都会进行一次修改, 并随 后同步给终端。
C 定购关系可以是服务器向终端同步, 服务器会在终端启动时 将定购关系与 online状态的用户进行同步,也可根据服务器策略定期 同步; 定购关系也可以是终端来维护, 向服务器进行同步, 当用户进 行定购以后,本地的定购关系会通过 HTTP的 POST方式发到服务器 上与服务器同步。
用户接入频道后可以接收 SG。 SG 中有频道内容的预告。 通过 SG终端可以获得相关的频道列表, 并根据该频道列表提供的频道接 收节目内容。
如果釆用广播接收的方式, 终端根据之前收到的手机频道导航 SG, 选择希望收看的频道。 通过 SG上显示的频道标识, 用户终端在 选择后, 终端会开始节目的接收。
步骤 S404 , 服务器向终端发送节目内容。
服务器可以釆用广播的方式将内容发送出去,也可以用流媒体的 方式发送内容。
如果终端在接收到节目内容一段时间后(可以设定为 1分钟)没 有退出, 那么该信息就将被发送到服务器。服务器可以记录终端接入 时间。
终端侧接入到频道后的处理首先要在本地记录当前的状态信息, 规定的一段时间可以是网络设定的, 也可以是内容提供商设定的。 该 时间被终端用来判定是否要向服务器发送统计信息。如果终端接入频 道的时间超过了该设定时间, 则可以认为用户是在观看节目; 否则, 如果在这段时间内终端退出了该频道,则认为用户没有收看该频道节 。
步骤 s405 , 服务器对终端进行鉴权。
鉴权消息的内容可以如下所示:
HTTP/1.1 401 Unauthorized
Server: Microsoft-IIS/5.1
WWW- Authenticate: Digest
realm="testrealm(¾host.com" ,
qop="auth,auth-int",
nonce="dcd98b7102dd2f0e8b 11 d0f600bfb0c093
opaque="5ccc069c403ebaf f0171e9517f40e41"
<CR> 服务器收到终端发来的 POST消息, 对终端要进行一次认证, 服 务器会发质询给终端。所谓"发出质询",就是给客户端发送一个 HTTP 响应, 其状态码为 401 (Unauthorized) , 并且包含消息头 WWW-Authenticate , 客户端看到这个响应就知道这个 URI ( Uniform Resource Identifier, 通用资源标志符) 需要认证。 domain: 一个 URI 列表, 指示要保护的域。 可能是一个列表, 提示用户这些 URI釆用一样的认证, 如果为空或忽略则为整个服务 哭口
nonce: 随机字符串, 每次 401 都不一样。 跟算法有关。 算法类 i^X Base64力口密: time-stamp H(time-stamp ": " ETag ": " private-key) 。 time-stam 为服务器时钟, ETag为请求的 Etag头。
opaque : 服务器产生的由客户发送请求时原样返回。 最好是 Base64 串或十六进制字符串。 realm-value是一个两端加引号的大小 写相关的字符串, 表示要求认证的"领域(realm ) "。 领域是由服务器 自己决定的, 不同的服务器可以设置自己的领域, 同一个服务器也可 以有多个领域。质询中包含领域信息是为了让客户端知道哪个范围的 用户名是合法的。 服务器对终端进行鉴权的消息可以没有消息体。
服务器为了获得终端接入用户的身份, 需要对终端进行一次认 证。 这个认证与用户注册时认证目的不同, 这个对接入用户的认证可 以保证观看节目的用户为接入用户, 可以保证收视率统计的客观性。 认证的方式有多种, 例如 HTTP的摘要认证方式。
服务器接收到用户发来的 Loglnlnfo , 在将该消息中的数据写入 数据库前, 为了确定接入节目的用户的身份,及 Loglnlnfo的合理性, 必须对用户进行一次认证。 因为用户在发送 Loglnlnfo的时候不知道 是否认证, 因此服务在收到 Loglnlnfo时会发送一个 HTTP的 401消 息, 该消息包括了一个挑战(challenge ), challenge 需要用户名及密 码等相关认证信息以加密的方式发到服务器。
步骤 s406 , 终端向服务器发送一个对认证的响应;
响应消息的内容可以如下所示:
Authorization: Digest username="Mufasa",
realm="testrealm(¾host.com" ,
nonce="dcd98b7102dd2f0e8b 11 d0f600bfb0c093
Figure imgf000039_0001
qop=auth, nc=00000001,
cnonce="0a4fl l3b",
response="6629fae49393a05397450978507c4efl"
opaque="5ccc069c403ebaf f0171e9517f40e41" 终端在收到 Challenge 消息后会将自 己的用户名及密码和 Challenge一起加密传给服务器。 这样的好处是可以不用明文发送密 码。
当认证成功后服务器会保持之前终端的接收;如果终端认证未通 过, 用户也可以继续观看节目, 但对于服务器统计 Loglnlnfo是无效 的。
步骤 s401 -s406为标准的 HTTP摘要认证的方式, 其中的各字段 可参考 RFC2617。 摘要认证的方法在这里只是举例说明。
步骤 s407 , 服务器发送 200 OK消息到终端。
终端的用户名及密码通过服务器的认证, 服务器发送 200 Ok到 终端; 本实施例中是以 HTTP方式举例说明, 因此这里用 200 OK表 示认证成功。
步骤 s408, 服务器向终端发送节目内容及互动信息。
终端接入到频道后如果不在规定的时间内退出,继续接收节目内 容, 则服务器可以釆用广播发送的方式, 也可以釆用其它的发送方式 发送节目内容。 如果服务器釆用广播的方式发送节目内容, 终端从该 频道的广播中接收内容。 如果釆用其它方式(例如流媒体), 服务器 可以在与终端建立的链路上发送内容。 对于流媒体方式可以用单播, 也可以用组播发送节目内容;
交互媒体文档及包含的交互媒体对象可以随节目内容一起下发, 也可以在收看节目内容之前下发。
步骤 s409, 服务器向终端发送互动更新。
当互动节目的互动信息发生改变时,服务器可以将互动信息的更 新发送到终端。 服务器在发送前需要根据终端上报的 Loglnlnfo信息 对终端的观看情况做出判断, 比如 Channel ID, User ID等, 有了这 些信息服务器才可以将互动更新准确的发给观看节目的用户;发送更 新的方法有很多种, 比如消息体的携带或者短消息等, 但是原理和思 想是一致的;
步骤 s410, 终端用户向服务器发送互动信息。
互动信息的内容可以如下所示:
POST/HTTP/1.1
Date:Sat,20Jul200720:51 :22GMT
Accept-Ranges:bytes
Accept-Language: zh-cn
Content-Length: 1205
Content- Type: text/xml
Host:host: www. sam . com :8080
Connection: close
<CR>
(用户互动信息) 当节目播放过程中出现互动参与时, 用户可以通过 HTTP POST 方法将节目互动过程中个人的选择以消息体的形式发送到服务器,也 可以在互动话题讨论的过程中以 SMS方式将讨论的内容发送到服务 器, 达到完成节目互动的目的。 用户编辑消息的过程可以是一个简单 的选择, 也可以是以文字描述的形式发表意见, 这些操作都不会影响 终端继续接收服务器发送的节目内容。因此在互动参与期间用户可以 不终断节目的观看就完成互动的操作。
步骤 s411 , 服务器收到用户发来的互动信息, 并进行处理。 互动服务器接收到用户发来的互动信息, 根据互动服务器的策 略, 可以将此信息进行实时的处理, 也可以在节目结束后处理。 互动 服务器会提取用户的互动信息, 并根据信息内容向用户发送互动内 容。 比如, 当用户在互动节目的选择中选择了 A 片段, 那么接下来 互动服务器会根据用户的互动选择播放 A片段。
步骤 s412 J良务器将当前处理完毕的互动参与结果连同节目内容 一起发送到终端。
用户可以在参与一次互动后就立刻将服务器处理的互动统计结 果发送到终端用户, 使终端用户可以立刻知道参与后的结果, 或当前 该互动节目的整体参与情况。因此发送的当前互动参与结果可以是用 户参与完毕后个人的结果, 也可以是当前所有参与者的整体参与结 果。
这样的互动过程在一个互动节目中可以有多次。本例中用虚线表 示返回的参与结果, 意味着参与结果可以返回给用户也可以不返回。 这是根据互动服务器及该互动节目的策略所制定。
步骤 s413 , 终端退出当前观看的节目。
用户退出当前观看节目的时间是任意的, 可以在节目结束后, 也 可以在播放途中退出。当用户退出后将触发终端发送状态消息到服务 器。
步骤 s414, 终端发送一条 LogOutlnfo消息到服务器。
LogOutlnfo消息的内容可以如下所示:
POST/HTTP/1.1
Date:Sat,20Jul200720:55:22GMT
Accept-Ranges:bytes
Accept-Language: zh-cn
Content-Length: 1205
Content- Type: text/xml
Host:host: www. sam . com :8080
Connection: close
<CR>
<?xml version:" 1.0" encoding="UTF-8 " ?>
<!— edited with XML SPY v5 rel. 4 U (http://www.xmlspy.com) by Registred (Registred) -- > <LogReport
xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\Documents and Settings\Administrator\桌面 \Edit3.xsd">
<Message— Type Message— Type— Type="LogOutInfo"/>
<User_ID User_ID_Type="abc"/>
<Service_ID Service— ID— Type="01 "/>
<Program_ID Program— ID— Type=" 11 "/> 本实施例用 HTTP的 POST方法将 LogOutlnfo的 XML数据信息 发到服务器上, POST消息中的含义与步骤 s404相同。 消息体的内容 为 LogOutlnfo的 XML形式的数据。
该消息包括了 Service ID、 User ID, 服务器此时可以记录当前退 出时间 EndTime。 终端的 LogOutlnfo消息具有一定的格式如图 7所 示。 消息的发送是通过互动信道完成的。 保存 LogOutlnfo 消息的服 务器可以是交互服务器, 也可以是专门用来记录统计数据的服务器。
LogOutlnfo消息可以用 HTTP POST方法将消息带到服务器由服 务器来完成处理并加入数据库中, 也可以用 SMS的承载方式。 本例 中通过 HTTP POST方法将消息带到服务器的方式只是举例说明, 也 可以用其它的承载手段代替, 但所涉及的原理和思想是一致的。
步骤 s415 ,当服务器正确接收的 LogOutlnfo消息后,返回 200 OK 消息给终端。
返回应答可以通过互动信道, 也可以通过其它的方式。 比如 Λ良务 器可以端对端的将应答发送的终端, 也可以 Push到终端。 本例中用 200 OK代表发送内容成功到达。 在不同的网络环境中也可以釆用其 它的应答方式, 所涉及的思想和原理都是一样的。
步骤 s416,服务器在终端退出节目后,对用户的互动信息进行保 存, 并根据互动节目中用户的参与进行统计。
服务器保存用户在互动节目中发送的互动信息,在节目完毕后对 用户的互动信息进行统计。 最后可以将统计的结果反馈给用户。 统计 的内容可以是节目的参与度或者该节目的整体互动的结果。 比如, 在 一个选择性的互动节目结束后, 互动服务器会统计选择 A 的观众与 选择 B的观众人数。这样的举例只是为了更明确的说明互动更新的结 果和形式。
步骤 s417 , 服务器将最终的互动节目统计结果发送给用户。 终端用户参与完毕一个节目后可以得到一个参与的结果,该结果 可以包括该终端用户的参与结果以及整体节目的参与结果。本实施例 用虚线表示最终结果的发送, 表示这一步是可选的。
通过终端在接收节目内容的过程中对互动节目的反馈,以及服务 器对用户的选择做出的相应可以达到互动更新的目的。本实施例中所 用到的消息承载以及消息发送方式只是举例,可以用其它的承载方式 及发送方式替代, 但其原理和思想是一致的。
本实施例中的 LogOutlnfo和 Loglnlnfo 消息可以保存在服务器 上, 用以对终端的节目观看信息进行统计。保存的数据结构形式可以 用与表 8类似或相同的表,该表可以保存在服务器上也可以保存在专 门用来记录统计结果的数据库中。
本发明的实施例五提供了一种手机电视业务中获取用户管理信 息的系统, 如图 5所示包括:
服务器 10, 用于向终端 20提供服务指南中包括的可选节目, 向 通过鉴权的终端 20发送终端 20选择的节目内容; 并根据终端 20发 送的用户管理信息, 存储终端 20的用户管理信息;
终端 20, 用于在启动时向服务器 10发送用户管理信息。
具体的, 服务器 10进一步包括:
接收模块 11 , 用于接收终端 20发送的用户管理信息; 鉴权模块 12 , 用于对请求收看节目的终端 20进行鉴权; 节目发送模块 13 , 用于向通过鉴权模块鉴权的终端 20发送终端 20选择的节目内容;
统计模块 14, 用于根据接收模块 11存储的内容获取终端 20的 用户管理信息.
节目订购模块 15 , 用于接受终端 20对服务指南中包括的可选节 目的订购或退订, 并根据订购或退订结果更新本地存储的终端 20订 购节目信息。
互动节目处理模块 16 , 用于进行互动节目中与终端 20的互动功 能的实现。
其中, 互动节目处理模块 16进一步包括:
互动信息添加子模块 161 ,用于将互动信息和 /或互动更新信息添 加到节目发送模块中并向终端 20发送;
互动响应接收子模块 162, 用于接收终端 20根据互动信息添加 子模块 171发送的互动信息和 /或互动更新信息返回的互动信息响应; 互动结果获取子模块 163 , 用于处理互动响应接收子模块 172接 收的互动信息响应, 处理得到终端 20的互动参与结果。
具体地, 终端 20进一步包括:
用户管理信息生成模块 21 , 用于生成用户管理信息,
用户管理信息发送模块 22 , 用于将生成的用户管理信息以消息 形式发送。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解 到本发明可借助软件加必需的通用硬件平台的方式来实现, 当然也可 以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以 软件产品的形式体现出来, 该软件产品存储在一个存储介质中, 包括 以上公开的仅为本发明的几个具体实施例, 但是, 本发明并非局 限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护 范围。

Claims

权利要求
1、 一种获取用户管理信息的方法, 其特征在于, 包括: 接收终端发送的携带用户管理信息的消息;
从所述消息中获取所述终端的用户管理信息;
对所述用户管理信息进行信息处理。
2、 如权利要求 1所述获取用户管理信息的方法, 其特征在于, 所述用户管理信息, 至少包括以下一种信息:
消息类型标识、 消息发送时间、终端标识、业务标识、节目标识、 终端是否在线的状态、 终端识别码、 用户标识信息以及频道标识, 所 述消息类型标识包括登录消息标识和注销消息标识。
3、 如权利要求 1所述获取用户管理信息的方法, 其特征在于, 所述对用户管理信息进行信息处理, 至少包括以下一种操作:
记录用户登录状态; 记录用户观看节目状态信息; 记录用户需要 更新的业务信息;
所述用户登录状态, 至少包括以下一种信息: 终端标识、 用户标 识、 业务订阅关系、 登陆时间、 登陆方式、 用户密钥的有效期;
所述用户观看节目状态信息, 至少包括以下一种信息: 用户观看 的节目标识、 用户观看的频道标识、 用户收看频道的开始时间、 用户 观看频道的退出时间;
所述用户需要更新的业务信息, 至少包括以下一种信息: 用户密 钥是否需要更新、 用户互动信息是否需要更新、 用户业务服务指南 SG是否需要更新。
4、 如权利要求 1所述获取用户管理信息的方法, 其特征在于, 所述对用户管理信息进行信息处理, 还包括:
获取频道节目的收看时间,所述频道节目的收看时间根据所述用 户管理信息中携带的消息发送时间获取; 或
根据向所述终端发送节目第一帧和最后一帧的时间获取。
5、 如权利要求 1所述获取用户管理信息的方法, 其特征在于, 所述对用户管理信息进行信息处理, 还包括:
获取频道或节目的收视率。
6、 如权利要求 5所述获取用户管理信息的方法, 其特征在于, 所述获取频道或节目的收视率, 具体包括:
对需要进行统计的频道或节目设置标识;
接收所述终端在接收或退出所述频道或节目的内容时发送的消 息;
根据所述消息获取频道或节目的收视率。
7、 如权利要 5所述获取用户管理信息的方法, 其特征在于, 所 述获取频道或节目的收视率, 具体包括:
向所有终端或特定的终端发送是否在收看特定频道或节目的消 息;
接收正在收看所述特定频道或节目的终端发送的响应消息; 根据所述响应消息获取频道或节目的收视率。
8、 如权利要求 1或 2所述获取用户管理信息的方法, 其特征在 于, 所述从消息中获取终端的用户管理信息之后, 还包括:
获取互动节目统计信息。
9、 如权利要求 8所述获取用户管理信息的方法, 其特征在于, 所述获取互动节目统计信息, 具体包括:
接收到所述终端发送的所述用户管理信息后,向所述终端发送互 动节目, 所述互动节目内容中包括互动信息和 /或互动更新信息; 接收所述终端发送的互动信息响应;
才艮据所述互动信息响应, 处理得到互动节目的统计信息。
10、 如权利要求 1所述获取用户管理信息的方法, 其特征在于, 所述接收终端发送的携带用户管理信息的消息, 具体包括:
接收所述终端在启动时、或切换所观看的节目或频道时发送的所 述用户管理信息。
11、 如权利要求 10所述获取用户管理信息的方法, 其特征在于, 所述从消息中获取终端的用户管理信息之后, 还包括: 根据所述终端在启动时、或切换所观看的节目或频道时发送的鉴 权请求, 发起对所述终端的鉴权。
12、 如权利要求 1所述获取用户管理信息的方法, 其特征在于, 所述从消息中获取终端的用户管理信息之后, 还包括:
向所述终端发送所述终端选择的节目内容;
判断所述终端接收所述节目内容超过预设时间时,发起对所述终 端的鉴权。
13、 如权利要求 1所述获取用户管理信息的方法, 其特征在于, 所述从消息中获取终端的用户管理信息之后, 还包括:
向所述终端提供 SG中包括的可选节目。
14、如权利要求 13所述获取用户管理信息的方法, 其特征在于, 所述向终端提供 SG中包括的可选节目后, 还包括:
接受所述终端对所述服务指南中包括的可选节目的订购或退订; 接收所述终端订购的节目发生变化时对终端订购节目信息的更 新。
15、 一种获取用户管理信息的系统, 其特征在于, 包括: 服务器, 用于接收终端发送的用户管理信息, 并保存所获取的所 述终端的用户管理信息;
终端, 用于向所述服务器发送用户管理信息。
16、如权利要求 15所述获取用户管理信息的系统, 其特征在于, 所述服务器进一步包括:
接收模块, 用于接收所述终端发送的用户管理信息;
统计模块,用于保存所述接收模块获取的所述终端的用户管理信 息。
17、如权利要求 15所述获取用户管理信息的系统, 其特征在于, 所述终端进一步包括:
用户管理信息发送模块,用于向所述服务器发送所述用户管理信 息。
18、 一种服务器, 用于获取用户管理信息, 其特征在于, 包括: 接收模块, 用于接收终端发送的用户管理信息; 统计模块,用于保存所述接收模块获取的所述终端的用户管理信 息。
19、 如权利要求 18所述服务器, 其特征在于, 还包括: 节目订购模块,用于接受所述终端对服务指南中包括的可选节目 的订购或退订,并根据订购或退订结果更新本地存储的终端订购节目 信息。
20、 如权利要求 18所述服务器, 其特征在于, 还包括: 鉴权模块, 用于对请求收看节目的终端进行鉴权。
21、 如权利要求 18所述服务器, 其特征在于, 还包括: 互动节目处理模块,用于进行互动节目中与所述终端的互动功能 的实现。
22、 一种终端, 用于向服务器发送用户管理信息, 其特征在于, 包括:
用户管理信息生成模块, 用于生成用户管理信息,
用户管理信息发送模块,用于将所述生成的用户管理信息以消息 形式发送。
PCT/CN2008/072554 2007-09-30 2008-09-26 Procédé, système et appareil pour obtenir des informations de gestion d'utilisateur WO2009046671A1 (fr)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2010526139A JP5242690B2 (ja) 2007-09-30 2008-09-26 ユーザ管理情報を得るための方法、システム、および装置
KR1020107008233A KR101159556B1 (ko) 2007-09-30 2008-09-26 사용자 관리 정보를 획득하는 방법, 시스템 및 장치
EP08837169A EP2190231A4 (en) 2007-09-30 2008-09-26 A PROCESS, SYSTEM AND DEVICE FOR OBTAINING USER MANAGEMENT INFORMATION
US12/749,104 US20100186044A1 (en) 2007-09-30 2010-03-29 Method, system, and device for obtaining user management information

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710162759.X 2007-09-30
CN200710162759.XA CN101399958B (zh) 2007-09-30 2007-09-30 获取用户管理信息的方法、系统和设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/749,104 Continuation-In-Part US20100186044A1 (en) 2007-09-30 2010-03-29 Method, system, and device for obtaining user management information

Publications (1)

Publication Number Publication Date
WO2009046671A1 true WO2009046671A1 (fr) 2009-04-16

Family

ID=40518172

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072554 WO2009046671A1 (fr) 2007-09-30 2008-09-26 Procédé, système et appareil pour obtenir des informations de gestion d'utilisateur

Country Status (6)

Country Link
US (1) US20100186044A1 (zh)
EP (1) EP2190231A4 (zh)
JP (1) JP5242690B2 (zh)
KR (1) KR101159556B1 (zh)
CN (1) CN101399958B (zh)
WO (1) WO2009046671A1 (zh)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MX2011003524A (es) * 2008-10-07 2011-05-02 Sharp Kk Receptor y metodo de recepcion de difusion digital.
CN101998153B (zh) * 2009-08-17 2013-04-03 中国移动通信集团公司 基于广播式移动多媒体业务上报收看频道的方法及装置
CN103546770A (zh) * 2012-07-11 2014-01-29 上海曜铂信息科技有限公司 智能收视率采集方法
CN104486645A (zh) * 2014-11-20 2015-04-01 小米科技有限责任公司 确定节目收视率的方法、播放设备、服务器及装置
US10776839B1 (en) * 2015-05-29 2020-09-15 Intuit Inc. Photo transactions for financial applications
CN106470347A (zh) * 2015-08-21 2017-03-01 北京国双科技有限公司 基于iptv的订购信息统计方法、服务器及视频播放器
CN105100932A (zh) * 2015-08-29 2015-11-25 天脉聚源(北京)科技有限公司 显示参与互动的用户信息的方法和装置
CN105245963A (zh) * 2015-09-24 2016-01-13 天脉聚源(北京)科技有限公司 一种处理电视互动系统互动信息的方法及装置
CN105228012A (zh) * 2015-09-28 2016-01-06 天脉聚源(北京)科技有限公司 一种管理互动电视系统用户信息的方法及装置
CN105307039A (zh) * 2015-10-28 2016-02-03 天脉聚源(北京)科技有限公司 一种用于电视互动系统电视节目管理的方法及装置
JP6769106B2 (ja) * 2016-05-18 2020-10-14 富士通株式会社 ストレージ制御方法、ストレージ制御プログラムおよび情報処理装置
CN105979300A (zh) * 2016-06-27 2016-09-28 乐视控股(北京)有限公司 身份识别方法及装置
WO2018018456A1 (zh) * 2016-07-27 2018-02-01 黄新勇 电视广播的片源统计方法及系统
WO2018018455A1 (zh) * 2016-07-27 2018-02-01 黄新勇 用户观看内容的统计方法及系统
CN106131677A (zh) * 2016-07-27 2016-11-16 黄新勇 用户观看内容的统计方法及系统
WO2018018453A1 (zh) * 2016-07-27 2018-02-01 黄新勇 电视广播中观看时间统计方法及系统
CN107801186B (zh) * 2016-09-06 2020-10-30 普天信息技术有限公司 一种集群通信系统中非接入层摘要鉴权方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525753A (zh) * 2003-02-24 2004-09-01 华为技术有限公司 交互数字广播电视网络系统及其前端和终端装置
WO2007053211A1 (en) * 2005-11-02 2007-05-10 Sony Ericsson Mobile Communications Ab Mobile device control of mobile television broadcast signals to alternate destinations
WO2007073414A1 (en) * 2005-12-20 2007-06-28 Sony Ericsson Mobile Communications Ab Efficient streamed content delivery to portable mobile communications device
CN1996866A (zh) * 2006-06-21 2007-07-11 华为技术有限公司 实现移动多媒体广播组播的系统及方法
CN2938648Y (zh) * 2006-04-30 2007-08-22 朱大为 一种手机电视终端

Family Cites Families (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3328951B2 (ja) * 1992-02-07 2002-09-30 ソニー株式会社 Tv受像機及び選局方法
US5758257A (en) * 1994-11-29 1998-05-26 Herz; Frederick System and method for scheduling broadcast of and access to video programs and other data using customer profiles
US5796952A (en) * 1997-03-21 1998-08-18 Dot Com Development, Inc. Method and apparatus for tracking client interaction with a network resource and creating client profiles and resource database
US6353929B1 (en) * 1997-06-23 2002-03-05 One River Worldtrek, Inc. Cooperative system for measuring electronic media
US7260823B2 (en) * 2001-01-11 2007-08-21 Prime Research Alliance E., Inc. Profiling and identification of television viewers
JP2001197478A (ja) * 2000-01-17 2001-07-19 Canon Inc 放送管理システム、放送管理装置、受信装置及びそれらの制御方法、コンピュータ可読メモリ
JP2002057645A (ja) * 2000-08-10 2002-02-22 Ntt Docomo Inc データ転送方法および移動体サーバー
US7370073B2 (en) * 2000-11-28 2008-05-06 Navic Systems, Inc. Using viewership profiles for targeted promotion deployment
JP2002223427A (ja) * 2001-01-26 2002-08-09 Ntt Comware Corp 番組視聴関連情報取得方法及び番組視聴関連情報取得装置及び番組視聴関連情報取得システムならびにそのプログラム及びこのプログラムを記録した記録媒体
JP2002271283A (ja) * 2001-03-09 2002-09-20 Tomo-Digi Corp デジタル放送番組を構成するデータ放送データおよびデジタル放送番組の放送方法
JP2003061065A (ja) * 2001-08-10 2003-02-28 Nippon Telegraph & Telephone East Corp 視聴者参加型ストリーミング配信方法ならびにアンケート管理サーバおよび視聴者端末装置
US20030110500A1 (en) * 2001-12-06 2003-06-12 Rodriguez Arturo A. Prediction-based adaptative control of television viewing functionality
JP3853663B2 (ja) * 2002-02-04 2006-12-06 富士通株式会社 抽選方法及び抽選プログラム
JP2005056246A (ja) * 2003-08-06 2005-03-03 Sony Corp 情報端末装置、サーバ装置およびプログラム
JP2006005767A (ja) * 2004-06-18 2006-01-05 Omron Entertainment Kk 端末装置、サーバ装置、通信ネットワークシステム、端末装置の制御方法、サーバ装置の制御方法、プログラム、および、プログラムを記録した記録媒体
JP4334426B2 (ja) * 2004-07-09 2009-09-30 シャープ株式会社 Uiコンテンツ生成方法、uiコンテンツ生成装置及びuiコンテンツ生成システム
CN100556128C (zh) * 2004-07-14 2009-10-28 上海微小卫星工程中心 电视收视率自动采集和统计方法及系统
US8402506B2 (en) * 2005-01-05 2013-03-19 Yahoo! Inc. Informational alert messaging for digital home services
WO2006072825A1 (en) * 2005-01-07 2006-07-13 Nortel Networks Limited Systems and methods for distributing content in wireless networks
JP4727246B2 (ja) * 2005-02-08 2011-07-20 三菱電機株式会社 視聴率集計システム
KR100898226B1 (ko) * 2005-04-08 2009-05-18 티유미디어 주식회사 시청률 조사 시스템 및 그 방법
US8141138B2 (en) * 2005-10-17 2012-03-20 Oracle International Corporation Auditing correlated events using a secure web single sign-on login
KR20070074153A (ko) * 2006-01-06 2007-07-12 에스케이 텔레콤주식회사 위성 dmb 시청율 조사 서비스 시스템 및 방법
JP2007202031A (ja) * 2006-01-30 2007-08-09 Kyocera Corp 移動型放送受信装置及び視聴情報送信方法
JP2007272868A (ja) * 2006-03-07 2007-10-18 Sony Corp 情報処理装置、情報通信システム、および情報処理方法、並びにコンピュータ・プログラム
KR100758507B1 (ko) * 2007-03-14 2007-09-13 주식회사 셀런 쌍방향 방송 시스템에서 광고 시청자의 반응을 유도하여광고시청을 활성화하고 광고 시청률을 조사하는 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525753A (zh) * 2003-02-24 2004-09-01 华为技术有限公司 交互数字广播电视网络系统及其前端和终端装置
WO2007053211A1 (en) * 2005-11-02 2007-05-10 Sony Ericsson Mobile Communications Ab Mobile device control of mobile television broadcast signals to alternate destinations
WO2007073414A1 (en) * 2005-12-20 2007-06-28 Sony Ericsson Mobile Communications Ab Efficient streamed content delivery to portable mobile communications device
CN2938648Y (zh) * 2006-04-30 2007-08-22 朱大为 一种手机电视终端
CN1996866A (zh) * 2006-06-21 2007-07-11 华为技术有限公司 实现移动多媒体广播组播的系统及方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2190231A4 *

Also Published As

Publication number Publication date
EP2190231A1 (en) 2010-05-26
JP5242690B2 (ja) 2013-07-24
CN101399958B (zh) 2010-11-03
KR20100056562A (ko) 2010-05-27
EP2190231A4 (en) 2011-03-09
US20100186044A1 (en) 2010-07-22
KR101159556B1 (ko) 2012-06-25
CN101399958A (zh) 2009-04-01
JP2010541345A (ja) 2010-12-24

Similar Documents

Publication Publication Date Title
WO2009046671A1 (fr) Procédé, système et appareil pour obtenir des informations de gestion d&#39;utilisateur
US8245309B2 (en) Content viewing system, content viewing apparatus, and viewing approval apparatus
KR101494111B1 (ko) 사용자 입력에 기초하여 콘텐츠를 브로드캐스팅하는 방법들 및 시스템들
KR101348454B1 (ko) 모바일 브로드캐스트 네트워크에서 인터랙티버티를 가능하게 하는 방법 및 시스템
US7720463B2 (en) Methods, systems, and computer program products for providing third party control of access to media content available via broadcast and multicast service (BCMCS)
EP2392115B1 (en) Method and user equipment for facilitating service provision
US9615119B2 (en) Method and apparatus for providing timeshift service in digital broadcasting system and system thereof
US20090222858A1 (en) System and Method for Creating Electronic Guides Based on Presence and Group Membership
CN102047628B (zh) 通信网络中的iptv安全性
WO2008040201A1 (fr) Procédé d&#39;obtention d&#39;une clé à long terme (ltk) et serveur de gestion d&#39;abonnement associé
WO2011000227A1 (zh) 通信系统中用于多屏幕业务通知和交互的方法和装置
WO2009140880A1 (zh) 节目播放的控制方法、装置和系统
CN101547402B (zh) 一种建立iptv多播业务的方法及设备
CN101582730B (zh) 提供mbms服务的方法、系统、相应装置及通信终端
CN101355676B (zh) 提供网络电视业务信息的方法和网络电视业务系统
US20090276818A1 (en) Method for providing iptv service and internet broadcasting system therefor
WO2013182069A1 (zh) 一种信息发布方法及设备、系统
KR100889744B1 (ko) Iptv 부가 서비스 제어 시스템 및 이를 이용한 부가서비스 방법
US8625755B2 (en) Method and apparatus for managing contact books
WO2010127627A1 (zh) 获取指定用户实时媒体播放信息的方法、系统和装置
WO2011144105A2 (zh) 互动信息更新方法、装置、服务器及终端
RU2371879C1 (ru) Устройство и способ для доставки содержания управления услугами и информации события уведомления в системе мобильного вещания
KR101174061B1 (ko) 참여형 방송 서비스 제공 방법 및 장치
WO2009076825A1 (zh) 设置临时权限、实现好友电视业务的方法、系统和设备
KR101618781B1 (ko) 브로드캐스트 서비스 및 브로드캐스트 콘텐츠 중 하나 이상에 대한 시청률을 단말 내에서 조사하는 방법

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2010526139

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2008837169

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20107008233

Country of ref document: KR

Kind code of ref document: A