# Patent

## Title
Limiting concurrent viewing sessions on multiple user devices

## Abstract

System devices include network interfaces to communicate with user devices associated with a user, memories for storing instructions to be executed by processors, and the processors. The processors are configured to execute the instructions to receive, from a first user device, among the user devices, a request for content; initiate an upload of the requested content to the first user device in response to the request; receive a request for a license key from the first user device in response to the initiation of the upload; determine whether a number of concurrent sessions with the user devices exceeds a maximum number; and send the license key to the first user device when the processors determine that the number of concurrent sessions does not exceed the maximum number.

## Background
BACKGROUND
Multi-screen video architecture generally provides cross-platform access to a single content source. Among other benefits, multi-screen video provides consumers the possibility to watch video on a screen/device of their choice. For example, a live broadcast television event may also be available for viewing on various types of mobile devices.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is an exemplary network in which systems and/or methods described herein may be implemented;
FIG. 2 is a block diagram of exemplary components of a device that may correspond to one of the devices of FIG. 1;
FIG. 3 is a block diagram of exemplary functional components of the user device of FIG. 1;
FIG. 4 is a block diagram of exemplary functional components of the video content management system (VCMS) of FIG. 1;
FIG. 5 is a block diagram of exemplary functional components of the account manager of FIG. 1;
FIG. 6 is a diagram of an exemplary tracking counter in the tracking counter database of FIG. 5;
FIG. 7 is a flow diagram of an exemplary process that is associated with registering the user device of FIG. 1;
FIG. 8 is a diagram illustrating flow of messages between the video application of FIG. 3 or a browser and the account manager of FIG. 1 or the device registration server of FIG. 5;
FIG. 9 is a flow diagram of an exemplary process for obtaining a license key for user-requested content;
FIG. 10 is a diagram illustrating flow of messages between the video application of FIG. 3, the content delivery system of FIG. 1, the digital rights management (DRM) server of FIG. 1, and the entitlement rights manager of FIG. 5; and
FIG. 11 is a flow diagram of an exemplary process that is associated with validating entitlement.



DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
The following detailed description refers to the accompanying drawings. The same reference numbers in different drawings may identify the same or similar elements.
As described herein, a system limits the total number of devices that a user(s) uses for concurrent viewing sessions. To use a user device, the user may download an application onto the user device after which, the user may register the device at the system. During the registration, the system may send a unique device registration token to the user device.
When the application requests user-selected content to be streamed from the system, the system ensures that the user device receiving the content has: the registration token; a streaming/downloading right; a right to view the content at a particular level of quality; etc. In addition, the system and the application ensure that the total number of concurrent viewing sessions associated with user devices is below the maximum specified in a subscription package purchased by the user.
FIG. 1 is an exemplary network 100 in which systems and/or methods described herein may be implemented. As illustrated, network 100 may include user devices 170-1 and 170-2 (collectively “user devices 170” and individually “user device 170”), public network 190, and system 130. As further shown, system 130 may include a video content management system (VCMS) 110, a data center 120, a billing server 140, a partner system 150, a customer support system 160, and a private network 180.
VCMS 110 may aggregate content and content metadata, process content, and distribute content. For example, VCMS 110 may transcode content into a digital format suitable for consumption on particular user devices 170. In some implementations, VCMS 110 may include a transcoder (hardware or software) to convert a video file from one format to another (e.g., from one bit rate to another bit rate, from one resolution to another, from one standard to another, from one file size to another, etc). VCMS 110 may also encrypt data.
In one implementation, VCMS 110 may coordinate with other components of system 130 to limit or control the total number of concurrent sessions for user devices 170 associated with a user. VCMS 110 may control user device 170's access to content via other components in system 130, such as components in data center 120.
As further shown in FIG. 1, VCMS 110 may include a content delivery system 112 and a digital rights management (DRM) server 114. Content delivery system 112 may deliver digital content from a backend server to user devices 170 via, for example, a content delivery network (CDN). In one implementation, content delivery system 112 may include a server that provides streaming data (e.g., via a streaming URL) to user devices 170 (e.g., via public network 190). In one implementation, a streaming URL can be used only once for one user device 170 for security purposes.
DRM server 114 may issue, validate, and/or enforce DRM licenses to a client, such as an application running on one of user devices 170. In some implementations, DRM server 114 may determine entitlement rights and/or other authorization parameters via interfaces of data center 120. Such information may be used to authorize a user to access particular content (e.g., issue a license to user device 170), and control/limit the number of concurrent viewing sessions for the user.
Data center 120 may manage user authentication, authorization for playing content, selection of content, and/or purchase of content by a user of user devices 170. As shown in FIG. 1, data center 120 may include a catalog server 122, an application server 124, and an account manager 126. In one implementation, data center 120 may be accessed by user devices 170 via public network 190.
Catalog server 122 may provide a unified catalog of both digital and physical content for users (e.g., of user devices 170) to consume (e.g., buy, rent, or subscribe). In one implementation, catalog server 122 may collect and/or present listings of content available to user devices 170. For example, catalog server 122 may receive digital and/or physical content metadata, such as lists or categories of content, from VCMS 110 and/or partner system 150. Catalog server 122 may use the content metadata to provide currently-available content options to user devices 170. Catalog server 122 may provide the content metadata to user device 170 directly or may communicate with user device 170 via application server 124.
Application server 124 may provide a backend support system for mobile applications residing on user devices 170. For example, application server 124 may authenticate (e.g., via account manager 126 and/or partner system 150) a user who desires to purchase, rent, or subscribe to digital or physical content. In another example, application server 124 may permit user device 170 to download a video application that enables a user to find content of interest or play downloaded or streaming content. In some implementations, the downloaded video application may participate in registration of user device 170 at VCMS 110 as well as in limiting/controlling concurrent viewing sessions by multiple user devices 170.
Once user device 170 is registered at/via data center 120, the downloaded video application may enable user device 170 to present to a user of user device 170 information received from data center 120 in an interactive format, to allow selection of particular digital or physical content. Furthermore, the video application may coordinate with VCMS 110 and data center 120 in authorizing user device 170 to access the selected content, for concurrent viewing sessions or otherwise.
Application server 124 may also provide content metadata, such as lists or categories of content, to user device 170. In one implementation, the interactions between application server 124 and user device 170 may be performed using hypertext transfer protocol (HTTP) or secure HTTP (HTTPS) via public network 190.
Account manager 126 may receive a login request associated with a user via another component in system 130 (e.g., application server 124, VCMS 110, etc.), and may initiate a login process. In one implementation, account manager 126 may participate in a federated authentication process that involves partner system 150. Additionally, or alternatively, account manager 126 may request/receive device information (e.g., a registration token) associated with user device 170 via VCMS 110, and may compare the device information with stored information to validate/authenticate user device 170. Depending on the implementation, the stored information may reside in catalog server 122, account manager 126, etc.
Account manager 126 may also store or access, on behalf of another component (e.g., VCMS 110), information that is associated with limiting and/or controlling concurrent viewing sessions by user devices 170. The information may include, for example, entitlement rights, a device tracking counter (to be described below), total viewing session counter, etc. The information may be stored in data center 120.
Account manager 126 may also store or retrieve profiles of users (e.g., users of user devices 170). The user profiles may include various information regarding a user. Application server 124 may use a user profile via account manager 126 and may update the user profile, via account manager 126, based on the user's activity (e.g., with a user's express permission).
In some implementations, a user profile in account manager 126 may include information needed for limiting/controlling the total number of concurrent viewing sessions associated with user devices 170 of a user. For example, a profile may include a device registration token, the maximum number of viewing sessions for the user, the maximum number of total viewing sessions for the user, video quality right, user device identifiers (e.g., a media player identifier, a mobile device identifier, a set top box identifier, a personal computer identifier) for user devices 170 associated with the user.
Billing server 140 may manage charging users for services provided via system 130. Billing server 140 may include, for example, a payment processing component, a billing component, and/or a settlement component.
Partner system 150 may coordinate with other components of system 130 to provide federated authentication. In some implementations, partner system 150 may include user account information and/or user profiles, such as user contact information, billing information, login credentials (e.g., a user ID and a password), billing history, etc.
Depending on the implementation, partner system 150 may also track physical content (e.g., DVDs, Blu-ray discs, memory cards, etc.) and provide metadata of physical content for inclusion in catalog information provided to users of user devices 170. In implementations described herein, partner system 150 may be controlled by a different entity (e.g., a third-party provider) than the entity controlling VCMS 110, data center 120, and/or other components of system 130.
Customer support system 160 may solicit and/or receive user feedback, questions, or credit-related requests. In one implementation, customer support system 160 may include interfaces for accessing data center 120 and/or billing server 140, for example, to receive problem reports and to resolve customer billing disputes.
User device 170 may include a computational or communication device. User device 170 may enable a user to view video content or interact with another user device 170 or a video display device (e.g., a set-top box and/or television). User device 170 may include, for example, a personal communications system (PCS) terminal (e.g., a smartphone that may combine a cellular radiotelephone with data processing and data communications capabilities), a tablet computer, a smartphone, a personal computer, a laptop computer, a gaming console, an Internet television, or other types of computation or communication devices.
In one implementation, user device 170 may include a video application that enables user device 170 to communicate with, for example, data center 120 and/or to present information received from data center 120 to a user. The video application may permit a user of user device 170 to login to an account (e.g., via application server 124, account manager 126, and partner system 150), access catalog information (e.g., from catalog server 122), submit an order, and/or consume live streaming video content (e.g., from VCMS 110). The video application may also coordinate with VCMS 110 and data center 120 in limiting and/or controlling concurrent video sessions of user devices 170 that are associated with a user (e.g., participate in registration).
Private network 180 may include, for example, one or more private IP networks that use a private IP address space. Private network 180 may include a local area network (LAN), an intranet, a private wide area network (WAN), etc. In one implementation, private network 180 may implement one or more Virtual Private Networks (VPNs) for providing communication between, for example, any of VCMS 110, data center 120, billing server 140, partner system 150, and/or customer support system 160. Private network 180 may be protected/separated from other networks, such as public network 190, by a firewall. Although shown as a single element in FIG. 1, private network 180 may include a number of separate networks.
Public network 190 may include a local area network (LAN), a wide area network (WAN), such as a cellular network, a satellite network, a fiber optic network, a private WAN, or a combination of the Internet and a private WAN, etc. that is used to transport data. Although shown as a single element in FIG. 1, public network 190 may include a number of separate networks that function to provide services to user devices 170.
In FIG. 1, the particular arrangement and number of components of network 100 are illustrated for simplicity. In practice there may be more VCMSs 110, data centers 120, billing servers 140, partner systems 150, customer support systems 160, user devices 170, and/or networks 180/190. Components of system 100 may be connected via wired and/or wireless links.
FIG. 2 is a diagram of exemplary components of a network device 200. Each of VCMS 110, content delivery system 112, DRM server 114, data center 120, catalog server 122, application server 124, account manager 126, billing server 140, partner system 150, and customer support system 160 may be implemented/installed as software, hardware, or a combination of hardware and software, on one or more of network device 200. As shown in FIG. 2, device 200 may include a bus 210, a processing unit 220, a memory 230, an input device 240, an output device 250, and a communication interface 260.
Bus 210 may permit communication among the components of device 200. Processing unit 220 may include one or more processors or microprocessors that interpret and execute instructions. In other implementations, processing unit 220 may be implemented as or include one or more application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or the like.
Memory 230 may include a random access memory (RAM) or another type of dynamic storage device that stores information and instructions for execution by processing unit 220, a read only memory (ROM) or another type of static storage device that stores static information and instructions for the processing unit 220, and/or some other type of magnetic or optical recording medium and its corresponding drive for storing information and/or instructions.
Input device 240 may include a device that permits an operator to input information to device 200, such as a keyboard, a keypad, a mouse, a pen, a microphone, one or more biometric mechanisms, and the like. Output device 250 may include a device that outputs information to the operator, such as a display, a speaker, etc.
Communication interface 260 may include any transceiver-like mechanism that enables device 200 to communicate with other devices and/or systems. For example, communication interface 260 may include mechanisms for communicating with other devices, such as other devices of system 100.
As described herein, device 200 may perform certain operations in response to processing unit 220 executing software instructions contained in a computer-readable medium, such as memory 230. A computer-readable medium may include a non-transitory memory device. A memory device may include space within a single physical memory device or spread across multiple physical memory devices. The software instructions may be read into memory 230 from another computer-readable medium or from another device via communication interface 260. The software instructions contained in memory 230 may cause processing unit 220 to perform processes described herein. Alternatively, hardwired circuitry may be used in place of or in combination with software instructions to implement processes described herein. Thus, implementations described herein are not limited to any specific combination of hardware circuitry and software.
Although FIG. 2 shows exemplary components of device 200, in other implementations, device 200 may include fewer components, different components, differently arranged components, or additional components than depicted in FIG. 2. As an example, in some implementations, a display may not be included in device 200. In these situations, device 200 may be a “headless” device that does not include an input device. Alternatively, or additionally, one or more components of device 200 may perform one or more other tasks described as being performed by one or more other components of device 200.
FIG. 3 is a block diagram of exemplary functional components of user device 170. The functions described in connections with FIG. 3 may be performed by one or more components of FIG. 2. As shown in FIG. 3, user device 170 may include video application 300, user profile data 350, device registration data 360, and license data 370. Depending on the implementation, user device 170 may include additional, fewer, different, or a different arrangement of devices than those illustrated in FIG. 3.
Video application 300 may include hardware and software components. The software components may be downloaded from application server 124 in data center 120 when user device 170 contacts application server 124 to enable user device 170 to play content from/via VCMS 110. Video application 300 may coordinate with VCMS 110 and data center 120 in limiting and/or controlling concurrent video sessions of user devices 170 that are associated with a user.
In addition, video application 300 may enable user device 170 to perform functions that are described above, such as: playing video content or interact with another user device 170 or a video display device (e.g., a set-top box and/or television); communicating with, for example, data center 120 and/or presenting information received from data center 120 to a user; permitting a user of user device 170 to login to an account (e.g., via application server 124); accessing catalog information (e.g., from catalog server 122); submitting an order; and/or consuming live streaming video content (e.g., from VCMS 110).
As further shown in FIG. 3, video application 300 may include a device registration client 310, a DRM/license client 320, a media player 330, and a user interface 340. Depending on the implementation, video application 300 may include additional, fewer, different, or differently arranged components than those illustrated in FIG. 3. For example, in one implementation, video application 300 may not include media player 330. In such implementations, media player 330 may be or have been installed on user device 170 as a separate application.
Device registration client 310 may participate in registration of user device 170. For example, device registration client 310 may initiate a registration. To start a registration, device registration client 310 may send a message to VCMS 110 to determine whether user device 170 is registered (e.g., recognized by VCMS 110 as a device that can receive content from VCMS 110). The message may include an identifier, also known as a client ID, that is associated and distributed with video application 300.
Upon receipt of the message, VCMS 110 may indicate to device registration client 310 whether user device 170 has been registered at VCMS 110. If user device 170 has not been registered at VCMS 110, VCMS 110 may send an activation code and an activation URL to device registration client 310.
In response, the user of user device 170 may manually register user device 170. The registration may entail the user bringing up a browser at user device 170, visiting the activation URL provided by VCMS 110, authenticating the user/user device 170 at the activation URL, and upon successful authentication, inputting the activation code provided by VCMS 110. Upon successful registration, account manager 126 may return (e.g., via application server 124), a globally unique registration token to the browser. The browser may store the registration token, the activation code, and/or the client ID as device registration data 360.
DMR/license client 320 acquires licenses for content that is selected by a user for viewing or playing at user device 170. When a user selects particular content via user interface 340, video application 300 begins to download either metadata or the video via VCMS 110. Furthermore, DMR/license client 320 sends a request for a license to VCMS 110. The request may include all or a portion of device registration data 360 (e.g., registration token). If DMR/license client 320 receives a license for the selected content from VCMS 110, DRM/license client 320 stores the license as license data 370. The license may include a decryption key, for example, to decrypt the particular content. The particular content may have been encrypted for copyright protection.
Media player 330 may decode and play content that is received via VCMS 110 and/or a CDN. Media player 330 may output the decoded video to output components (e.g., a display, speakers, etc.) of user device 170.
User interface 340 may enable a user to request a list of available content (e.g., both digital and physical content) and select from the list of available content. User interface 340 may also include an account login interface. For example, user interface 340 may request, from data center 120, a list of content available for downloading and may present the list of content to a user of user device 170. User interface 340 may include an interactive client interface that allows a user to provide input, such as user passwords, preferences, and selections from the list of available content. In one implementation, user interface 340 may indicate a user's selection (e.g., from the catalog) to data center 120 and, in return, receive session-specific information to obtain the selected content.
User profile data 350 may include a copy of a user-specific information and session-specific information obtained from data center 120. For example, user profile data 350 may include a profile. As described above with reference to account manager 126, a profile a may include information needed for limiting/controlling the total number of concurrent viewing sessions associated with a user. For example, a profile may include/specify a device registration token, the maximum number of viewing sessions for the user, the maximum number of total viewing sessions for the user, video quality right, user device identifiers (e.g., a media player identifier, a mobile device identifier, a set top box identifier, a personal computer identifier) for user devices 170 associated with the user.
User profile data 350 may also include, for example, login information (e.g., a user identifier and a password); billing information; address information; types of services to which the user has subscribed; a list of digital/physical content purchased by the user; a list of video content rented by the user; a list of video content to which the user has subscribed; a video application identifier associated with the video application obtained from application server 124; etc. User profile data 350 may also include session-specific information, such as, for example, cookies, URLs, or other information to enable user device 170 to access content delivery system 112 and DRM server 114.
Device registration data 360 may include, as described above, for example, information received from VCMS 110 or data center 120 during registration. For example, device registration data 360 may include the registration token, the activation code, and/or the client ID.
License data 370 may include a license key or a decryption key received from VCMS 110. When DRM/license client 320 sends a request for a license key for selected content to VCMS 110, VCMS 110 may issue a license key to DRM/license client 320. As described above, DRM/license client 320 may store the license key as license data 370. A license key may be used (e.g., by media player 330 or another component) to decrypt video content that was encrypted for copyright restriction.
FIG. 4 is a diagram of exemplary functional components of VCMS 110. In one implementation, the functions described in connection with FIG. 4 may be performed by one or more components of device 200 (FIG. 2). As shown in FIG. 4, VCMS 110 may include content delivery system 112, DRM server 114, and VCMS engine 410. Content delivery system 112 and DRM server 114 may include some features described above in connection with, for example, FIGS. 1-3.
VCMS engine 410 receives catalog item descriptors and/or metadata (e.g., for physical assets) from partner system 150. VCMS engine 410 may also receive catalog metadata for digital content from other partner systems and content providers (not shown). VCMS engine 410 may compile catalog metadata from partner system 150 and from digital content providers and provide a unified catalog file to catalog server 122.
VCMS engine 410 may also receive and encrypt digital content (e.g., corresponding to catalog metadata) for secure distribution to user devices 170. In some instances, encryption may require an encryption key, which VCMS engine 410 may retrieve via DRM server 114. After encryption, VCMS engine 410 may provide the encrypted content to content delivery system 112.
In one implementation, VCMS engine 410 may also generate a settlement file that may be used to help billing server 140 determine settlement cost with content sources. For example, VCMS engine 410 may generate a monthly statement summarizing and/or itemizing downloads or streaming events by content source.
DRM server 114 may provide a DRM license to user device 170 for requested content (e.g., content selected from catalog server 122). DRM server 114 may connect to account manager 126 and forward a registration token received from user device 170 to data center 120, to verify that a requesting user device 170 is entitled to receive the requested content before issuing a DRM license. If user device 170 is entitled, DRM server 114 may issue the DRM license.
Depending on the implementation, either DRM server 114 or VCMS engine 410 may respond to a request from user device 170 to determine whether user device 170 is registered. Upon receipt of a client ID from user device 170, DRM server 114/VCMS engine 410 may determine whether user device 170 is registered, for example, by consulting account manager 126. If account manager 126 indicates that user device 170 is registered, DRM server 114/VCMS engine 410 may indicate to user device 170 that user device 170 has been registered. If account manager 126 indicates that user device 170 is not registered, DRM server 114/VCMS engine 410 may generate, via account manager 126 or on its own, an activation code (e.g., a 16 bit code) and an activation URL identified based on the client ID. DRM server 114/VCMS engine 410 may forward the activation code to user device 170.
Content delivery system 112 may receive encrypted content from VCMS engine 410 and may provide the encrypted content to requesting user devices 170.
FIG. 5 is a diagram of exemplary functional components of account manager 126. In one implementation, the functions described in connection with FIG. 5 may be performed by one or more components of device 200 (FIG. 2). As shown in FIG. 5, account manager 126 may include a device registration server 510, an entitlement rights manager 520, a device database 530, an entitlement database 540, preferences 550, and a tracking counter database 560. Depending on the implementation, account manager 126 may include additional, fewer, different, or a different arrangement of components than those illustrated in FIG. 5.
Device registration server 510 may register user device 170 when device registration server 510 receives, via VCMS 110, a request for device registration from video application 300 on user device 170. When device registration server 510 receives a registration request, which includes a client ID and an activation code, from user device 170, device registration server 510 validates the client ID and the activation code (e.g., looking up a table (not shown)). Upon successful validation, device registration server 510 creates a globally unique registration token for identifying user device 170, and associates the registration token with a user account of the user of user device 170. Device registration server 510 may store the association in device database 530 (e.g., along with the activation code and the client ID).
In some implementations, device registration server 510 may receive a request, from user device 170 via VCMS 110, to determine whether user device 170 associated with a client ID is registered (“active”). In such implementations, device registration server 510 may determine whether the client ID is in device database 530 (or another database). If the matching ID is found in device database 530 (or another database), device registration server 510 may send a message to user device 170, indicating that user device 170 is already registered. If user device 170 has not been registered (e.g., there is no matching client ID in registration database 530), device registration server 510 may generate an activation code and an activation URL and forward them to user device 170.
Entitlement rights manager 520 may receive a request, from DRM server 114, to verify that video application 300 on user device 170 is entitled to view/play selected digital content. In verifying the entitlement, entitlement rights manager 520 may consult entitlement database 540 to: determine whether a registration token, which was issued by device registration server 510 during user device 170 registration, is valid; determine whether content streaming right has been granted; determine whether, if selected content is blackout content, user device 170 is located outside of a corresponding blackout region; determine whether a particular video quality right has been granted to the user; determine whether the total number of concurrent viewing/playing sessions on user devices 170 associated with a user exceeds a maximum provided in the subscription package purchased by the user; and determine whether a total number of viewing session for the user of user device 170 does not exceed the maximum provided in the subscription package purchased by the user. In determining whether user device 170 is located outside of a blackout region, entitlement rights manager 520 may compare information provided, from user device 170, that identifies the location of user device 170 to information provided in entitlement database 540 or another component/database.
Device database 530 may include a database of user devices 170 that have been registered. In some implementations, for each device that is registered, device database 530 may include a registration token, a client ID, an activation code, an activation URL, the type of device, etc.
Entitlement database 540 may include a database of users' entitlement rights. Entitlement rights manager 520 may use entitlement database 540 to enforce what content a user can view on which device. For example, if a user purchased a particular movie, the user may be able to view the movie only on certain user devices 170 (e.g., a television, a personal computer, and/or or registered mobile devices). The entitlement data may identify/indicate, for example: contents for which the user has a streaming right; video quality rights and blackout regions corresponding to the contents; a total number of allowed sessions for the user's subscription; and the maximum allowed number of concurrent viewing sessions; type of content (e.g., movies, TV shows, games, etc.) which the user is entitled to play/view; different types of devices on which the user may view/play content; whether the user is allowed to download; etc. Entitlement database 540 may have been built/constructed from data obtained from other systems/devices, such as a catalog in data center 120, partner system 150, etc.
Preferences 550 may include users' preferences that are associated with accessing, purchasing, and/or playing content. For example, preferences 550 may include indications what genre of content the user prefers (e.g., adventure, comedy, drama, horror, etc.); preferred ratings (e.g., PG, G, R, etc.), user's bookmarks, parental settings for the user, etc.
Tracking counter database 560 may include one or more tracking counters. Each tracking counter corresponds to a user. Entitlement rights manager 520 uses tracking counter database 540 to determine whether the total number of viewing sessions for a user exceeds the maximum number specified in a subscription package of the user. In addition, entitlement rights manager 520 uses tracking counter database 560 to determine whether the total number of concurrent viewing sessions exceeds the maximum number specified in the subscription package.
FIG. 6 is a diagram of an exemplary tracking counter 600 of tracking counter database 560. As shown, tracking counter 600 may include total viewing session counter record 640 and tracking records 650, 660, and 670). Total viewing session counter record 640 indicates the total number of viewing sessions for the user. Each of tracking records 650 tracks the current session status of user devices 170. Although three tracking records 650-670 are shown in FIG. 6, tracking counter 600 may include fewer or additional records.
As further shown, each of tracking records 650-670 may include device identifier field 610, timer field 620, and a flag field 630. Depending on the implementation, a tracking record may include additional, fewer, or different fields than those illustrated in FIG. 6.
Device identifier field 610 may designate or identify user device 170 that has been registered at system 130. Device identifier field 610 may include, for example, a device registration token, a name of the user device, a MAC address of user device 170, an IP address of the user device, etc. Timer field 620 may indicate a numerical value that corresponds to the time until expiry of the flag in flag field 630. Timer 620 is periodically decremented to reflect passage of time. Flag field 630 indicates whether user device 170 corresponding to device identifier 610 is viewing/playing content.
In FIG. 6, when account manager 126 (or some logic in account manager 126) receives an in-use message from user device 170 (e.g., via VCMS 110), account manager 126 sets timer field 620 of a record, whose device identifier field 610 value matches the identify of user device 170, to a pre-determined value and sets the flag in flag field 530 to “on” (e.g., 1, “true,” etc.). As time elapses, account manager 126 periodically decrements the value in timer field 620. If the timer value goes to zero, the value of flag field 630 is set to “off” (e.g., 0, “false,” etc.), indicating that the corresponding user device 170 is no longer viewing/playing content. During a live content viewing/playing session (e.g., when application 300 on user device 170 is playing content), application 300 sends keep alive messages at preconfigured time periods to account manager 126. If application 300 sends a keep alive message before the value of timer reaches zero, account manager 126 resets the value of timer field 520 to the pre-determined value, to indicate that user device 170 is still playing the content.
In addition, when the timer value reaches zero, total viewing session counter record 640 is decremented by one, to indicate that the total number of user's viewing sessions has decreased by one. In some implementations, the value in total viewing session counter record 640 may be periodically set to a predetermined number (e.g., monthly). Also, in some implementations, tracking counter 600 may also include a field for storing the total viewing time for the current session. In this case, total viewing session counter 640 is decremented when both timer 620 goes to zero and incremented when the total viewing time for the current session exceeds some threshold time. Total viewing session counter record 640 is increased by one when user device 170 completes a session for the content.
In determining whether the total number of viewing sessions exceeds a maximum number specified in a subscription package of the user, entitlement rights manager 520 compares the number specified in total viewing session counter record 640 to the maximum number. If the number in total viewing session counter record 640 is not less than the maximum number, entitlement rights manager 520 may indicate, to DRM server 114, that user device 170 is not entitled to play/view the content.
In determining whether the total number of concurrent viewing sessions exceeds the maximum number specified in a subscription package, entitlement rights manager 520 counts, in tracking counter 600 for the user, a number of flag fields 630 whose values are “on.” If the total number of “on” flags exceeds the maximum, entitlement rights manager 520 may indicate, to DRM server 114, that user device 170 is not entitled to play/view the content. This limits the number of concurrent viewing sessions for the user.
In system 130, user device 170 has to be registered with system 130 before user device 170 can request a license key. After the registration, during an acquisition of a license key, if entitlement rights manager 520 of data center 120 determines that the number of concurrent viewing/playing sessions exceeds a maximum number specified in the subscription package purchased by the user, DRM server 114 withholds the license key from being issued to user device 170, thus limiting concurrent viewing sessions at user devices 170.
FIG. 7 is a flow diagram of an exemplary process 700 that is associated with registering user device 170. Process 700 is described below with reference to FIG. 8, which shows a flow of messages between video application 300 of user device 170 and device registration server 510. Assume that video application 300 is installed on user device 170.
Process 700 includes video application 300 polling or querying device registration server 510 (via VCMS 110) (block 702). As shown in FIG. 8, the polling or querying device registration server 510 may entail sending a message that includes a client ID 802 to device registration server 510 via VCMS 110. Upon receipt of the message, device registration server 510 may determine whether user device 170 is registered (block 704). In some implementations, device registration server 510 may examine information associated with the client ID (provided in the poll/query) in device database 530, for example.
If the information indicates that user device 170 is registered (block 704: yes), device registration server 510 may notify user device 170 that user device 170 is registered/active (block 706). If the information indicates that user device 170 is not registered (block 704: no), device registration server 510 or DRM server 114 may generate an activation code and an activation URL and send the code 804 and the URL to user device 170 (block 708). Upon receipt of the authentication code and the authentication URL from device registration server 510, user device 170 may display the code and the URL to the user. The user may open a browser, and visit the URL.
Account manager 126 may receive, from the user at user device 170, a request for authentication 806 (block 710) via the browser. Account manager 126 may receive the URL and perform a federated authentication process with one or more partner systems 150. If the authentication is not successful (block 712: no), account manager 126 may notify user device 170 of the authentication failure (e.g., via application server 124) (block 714).
Otherwise (block 712: yes), account manager 125 sends a session cookie 808 to user device 170. Given the session cookie, the browser may establish a session with a component in system 130 (e.g., device registration server 510). During the session, device registration server 510 may receive, via application server 124, the activation code (input by the user at user device 170) and the client ID. Device registration server 510 may then validate the activation code and the client ID; generate a globally unique registration token; and associate the registration token with the user account (block 716). Device registration server 510 may send the globally unique registration token 810 to user device 170 (e.g., via application server 124) (block 718). Furthermore, device registration server 510 may store the registration information (e.g., the registration token, the client ID, the activation code, the association between the token and the user account, etc) in device database 530 (block 720). User device 170 may store the registration token in its local storage.
FIG. 9 is a flow diagram of an exemplary process 900 for obtaining a license key for user-requested content. After a registration of user device 170, user device 170 may request user-selected content and a license key from VCMS 110 in accordance with process 900. If the total number of concurrent viewing/playing sessions is not less than a maximum number specified in a subscription package that the user purchased, VCMS 110 withholds a license key from being issued to user device 170. In this manner, system 130 limits/controls the total number of concurrent viewing/sessions.
Process 900 is described below with reference to FIG. 10, which shows a flow of messages between video application 300 of user device 170, content delivery system 112, DRM server 114, and entitlement rights manager 520 of account manager 126. Assume that video application 300 is installed on user device 170, and that user device 170 has been registered via device registration server 510.
Process 900 may include video application 300 in user device 170 sending a request 1002 for user selected content to VCMS 110 (block 902). When content delivery system 112 of VCMS 110 receives the request, content delivery system 112 may begin to stream/upload content 1004 to user device 170, including a header associated with the content (block 904). The content may be encrypted, and video application 300 may be unable to play/view the content without a license or a decryption key.
When the header associated with the content is downloaded to video application 300, video application 300 may issue, to DRM server 114 in VCMS 110, a request for license/decryption key 1006 (block 906). Upon receipt of the request, DRM server 114 may request 1008 entitlement rights manager 520 to determine whether user device 170 is entitled to play/view the content. In response, entitlement rights manager 520 may consult entitlement database 540 to verify whether the user is entitled (block 908), and return the result 1010 of the verification to DRM server 114. A process that is associated with verifying the entitlement is described below with reference to FIG. 11. The process associated with verifying the entitlement includes determining whether the total number of concurrent viewing sessions for user devices 170 exceeds a maximum number prescribed in the subscription package that the user purchased.
If user device 170 is not entitled to play the content (block 910: no), DRM server 114 may notify user device 170 that user device 170 may not view/play the content (block 912). If user device 170 is entitled to play the content (block 910: yes), DRM server 114 may generate/produce a license key and/or a decryption key. DRM server 114 may send the license key/decryption key 1012 to user device 170 (block 914). Video application 300 may store the license key/decryption key as license data 370 and use the license key/decryption key to decrypt the content. Video application 300 may play the decrypted content via output devices 250 (e.g., display, speakers, etc.).
FIG. 11 is a flow diagram of an exemplary process 1100 that is associated with validating entitlement. Process 1100 is also associated with block 908 of process 900, and includes determining whether the total number of concurrent viewing sessions at user devices 170 of the user exceeds a maximum number specified in the subscription package purchased by the user.
As shown, process 1100 may include determining whether a registration token provided (by user device 170) to entitlement rights manager 520 (e.g., via VCMS 110) is valid (block 1102). For example, entitlement rights manager 520 may request device registration server 510 in account manager 126 to provide a registration token stored in device database 530. Furthermore, entitlements rights manager 520 may compare the registration token provided by user device 170 to the registration token provided by device registration server 510.
If the registration token from user device 170 is not valid (e.g., the registration token from user device 170 does not match the token provided by device registration server 510) (block 1104: no), entitlement rights manager 520 may notify DRM server 114 that user device 170 is not entitled to play/view the content (block 1104). Otherwise (block 1102: yes), entitlement rights manager 520 may proceed to block 1106.
At each of blocks 1106, 1110, 1114, 1118, 1122, and 1126, entitlement rights manager 520 may consult device database 530, entitlement database 540, a content catalog (not shown), preferences 550, and/or tracking counter database 560 to determine whether user device 170 or the user of user device 170 satisfies conditions(s) for a particular entitlement. At block 1106, entitlement rights manager 520 may determine whether user device 170 has a streaming right for the selected content (block 1106). If entitlement database 540 indicates that the user/user device 170 does not have a streaming right (block 1106: no), entitlement rights manager 520 may notify DRM server 114 that the user/user device 170 lacks the entitlement right (block 1108). Otherwise (block 1106: yes), process 1100 may proceed to block 1110.
Entitlement rights manager 520 may determine whether the selected content is blackout content (content that is prohibited from being distributed or played in a blackout region(s)) (block 1110). In determining whether the selected content is blackout content, depending on the implementation, entitlement right manager 520 may inspect information received from user device 170 via DRM server 114 and/or examine the following databases/data source for an indication of whether the content is blackout content: a catalog of contents; entitlement database 540; user account information in account manager 126 or partner system 150; etc.
If the content is not blackout content (block 1110: no), entitlement rights manager 520 may proceed to block 1118. If the content is blackout content (block 1110: yes), entitlement rights manager 520 may determine whether user device 170 is outside of a blackout region (e.g., a region in which the content is to be blacked out) (block 1114).
In determining whether user device 170 is outside the blackout region, entitlement rights manager 520 may use location information, provided by/via DRM server 114 or another component that identifies blackout regions(s) for the selected content. If user device 170 is not outside of the blackout region (block 1114: no), entitlement rights manager 520 may notify DRM server 114 that user device 170 is not entitled to play the content (block 1116). Otherwise (block 1114: yes), process 1100 may proceed to block 1118.
Entitlement rights manager 520 may determine whether user device 170 is entitled to play the content at a particular quality (e.g., high definition) (block 1118). The quality may depend on the package to which the user of user device 170 is subscribed. If the user is not entitled (block 1118: no), entitlement rights manager 520 may notify DRM server 114 the user device 170 is not entitled to play the content (block 1120). Otherwise (block 1118: yes), entitlement rights manager 520 may proceed to block 1122.
Entitlement rights manager 520 may determine whether the number of concurrent viewings is less than the maximum number of current viewings specified in the subscription package to which the user of user device 170 is subscribed (block 1122). Entitlement rights manager 520 may determine the number of concurrent viewings by examining tracking counter database 560 and counting the number of user devices 170 (that belong to the user) whose flags are “on.” In addition, depending on the implementation, entitlement rights manager 520 may determine the maximum number of allowable concurrent viewings by looking up a database (e.g., device database 530, entitlement database 540, preferences 550, or another database in partner system 150).
If the number of concurrent viewings is not less than the maximum (block 1122: no), entitlement rights manager 520 may notify DRM server 114 that user device 170 is not entitled to play the content (block 1124). Otherwise (block 1122: yes), entitlement rights manager 520 may proceed to block 1126.
Entitlement rights manager 520 may determine whether the total number of viewings is greater than the maximum number of total viewing allowed under the user's subscription package (block 1126). Entitlement rights manager 520 may obtain the total number of viewings by looking in total viewing session counter 640 of tracking counter 600 corresponding to the user of user device 170. In addition, depending on the implementation, entitlement rights manager 520 may obtain the maximum total number of allowed viewings that is allowed under the user's subscription package by looking up the information in a database (e.g., device database 530, entitlement database 540, preferences 550, or another databases in partner system 150).
If the total number of viewings for the user is not less than the maximum (block 1126: no), entitlement rights manager 520 may notify DRM server 114 that user device 170 is entitled to play the content (block 1128). If the total number of viewings is less than the maximum (block 1126: yes), entitlement rights manager 520 may issue a notification to DRM server 114, indicating that user device 170 has the entitlement right to play the content (block 1130).
As described above, system 130 limits the total number of devices 170 that a user(s) can use for concurrent viewing sessions. To use user device 170, the user may download video application 300 onto user device 170, after which the user may register user device 170 at system 130. During the registration, system 130 may send a unique device registration token to user device 170.
When video application 300 requests user-selected content from system 130, system 130 ensures that user device 170 receiving the content has: the registration token; a streaming/downloading right; a right to view the content at a particular level of quality; etc. In addition, system 130 and video application 300 ensure that the total number of concurrent viewing sessions associated with user devices 170 is below the maximum specified in a subscription package purchased by the user.
In the preceding specification, various preferred embodiments have been described with reference to the accompanying drawings. It will, however, be evident that various modifications and changes may be made thereto, and additional embodiments may be implemented, without departing from the broader scope of the invention as set forth in the claims that follow. The specification and drawings are accordingly to be regarded in an illustrative rather than restrictive sense. For example, while series of blocks have been described with respect to FIGS. 7, 9, and 11, the order of the blocks may be modified in other implementations. Further, non-dependent blocks may be performed in parallel.
It will be apparent that different aspects of the description provided above may be implemented in many different forms of software, firmware, and hardware in the implementations illustrated in the figures. The actual software code or specialized control hardware used to implement these aspects is not limiting of the invention. Thus, the operation and behavior of these aspects were described without reference to the specific software code—it being understood that software and control hardware can be designed to implement these aspects based on the description herein.
Further, certain portions of the invention may be implemented as a “component” or “system” that performs one or more functions. These components/systems may include hardware, such as a processor, an ASIC, or a FPGA, or a combination of hardware and software. No element, act, or instruction used in the present application should be construed as critical or essential to the invention unless explicitly described as such. Also, as used herein, the article “a” and “one of” is intended to include one or more items. Further, the phrase “based on” is intended to mean “based, at least in part, on” unless explicitly stated otherwise.

## Claims

1. A method comprising:
receiving, at a system, from a first user device among one or more user devices that belong to a user, a request for video content;
initiating, prior to sending to the first user device any license key that the first user device can use to decode or play the requested video content, an upload of the requested video content to the first user device in response to the request;
receiving a request for a license key, from the first user device, in response to the initiation of the upload, before the first user device uses any other license key to decode or play the requested video content;
determining whether a total number of viewing sessions associated with the user of the one or more user devices exceed a predetermined number, wherein each of the total number of viewing sessions is a past viewing session completed by the one or more user devices;
generating the license key, which includes information for decrypting the video content in response to determining that the total number of viewing sessions associated with the user of the one or more user devices does not exceed the predetermined number;
sending the license key to the first user device that receives the content in a single stream, uses the license key to decrypt the video content and plays the decrypted content; and
determining a total viewing time at the first user device, for a viewing session associated with the upload of the requested video content,
wherein when the total viewing time lasts for longer than a specific threshold period of time, incrementing the total number of viewing sessions by one without issuing a new license key to the first user device for the video content.

2. The method of claim 1, further comprising:
sending a video application to the first user device for installation, the video application including instructions, when executed by the first user device, that cause the first user device to:
decrypt the requested video content using the license key; and
play the decrypted video content.

3. The method of claim 1, wherein the receiving the request for the video content includes:
receiving, at the system, from a video application on the first user device, the request for the video content, wherein the video application is different from a browser.

4. The method of claim 3, further comprising:
registering the first user device with the system, wherein the registering comprises:
sending a globally unique token, which identifies the first user device, to a browser on the first user device; and
storing the globally unique token in a database of the system.

5. The method of claim 4, further comprising:
receiving a client identifier associated with the video application;
determining whether the first user device is registered based on the client identifier; and
sending an activation code and an activation universal resource locator (URL) to the video application when it is determined that the first user device is not registered.

6. The method of claim 1, wherein generating the license key includes:
determining whether the first user device is entitled to receive the license key; and
generating the license key when it is determined that the first user device is entitled to receive the license key.

7. The method of claim 6, wherein determining whether the first user device is entitled to receive the license key includes:
determining whether a number of concurrent viewing sessions for viewing the video content by the one or more user devices exceeds a first maximum number; and
indicating that the first user device is entitled to receive the license key when it is determined that the number of concurrent viewing sessions for viewing the video content does not exceed the first maximum number.

8. The method of claim 7, wherein determining whether the number of concurrent viewing sessions for viewing the video content exceeds the first maximum number includes,
counting a number of set flags in a tracking counter in the system, wherein each of the set flags corresponds to a different one of the one or more user devices that are currently receiving streaming video content.

9. The method of claim 8, further comprising:
resetting a timer that corresponds to a viewing time of the video content by the first user device each time when the first user device sends a message to reset the timer;
changing the timer with passing time; and
modifying one flag, of the set flags, that corresponds to the first user device when the timer reaches a predetermined number.

10. One or more devices, comprising:
one or more network interfaces to:
communicate with one or more user devices associated with a user;

one or more memories for storing instructions to be executed by one or more processors; and
the one or more processors configured to execute the instructions to:
receive, from a first user device among the one or more user devices associated with the user, a request for video content;
initiate, prior to sending to the first user device any license key that the first user device can use to decode or play the video content, an upload of the requested video content to the first user device in response to the request;
receive a request for a license key from the first user device in response to the initiation of the upload, before the first user device uses any other license key to decode or play the video content;
determine whether a total number of viewing sessions associated with the user of the one or more user devices exceed a predetermined number, wherein each of the total number of viewing sessions is a past viewing session completed by the one or more user devices;
generate the license key, which includes information for decrypting the video content, in response to determining that the total number of viewing sessions associated with the user of the one or more user devices does not exceed the predetermined number;

send the generated license key to the first user device when the one or more processors determine that the total number of viewing sessions associated with the user of the one or more user devices does not exceed the predetermined number; and
determine a total viewing time at the first user device, for a viewing session associated with the upload of the requested video content,
wherein when the total viewing time lasts for longer than a specific threshold period of time, incrementing the total number of viewing sessions by one without issuing a new license key to the first user device for the video content.

11. The one or more devices of claim 10, wherein the one or more processors are further configured to execute the instructions to:
send, to the first user device, an application that is to be automatically installed on the first user device.

12. The one or more devices of claim 10, wherein the one or more processors are further configured to execute the instructions to:
send a globally unique token, which identifies the first user device, to the first user device; and
store the globally unique token in the one or more memories.

13. The one or more devices of claim 10, wherein the one or more processors are further configured to execute the instructions to:
receive, from the first user device, a client identifier associated with a video application on the first user device;
determine whether the first user device is registered based on the client identifier; and
send an activation code and an activation universal resource locator (URL) to the video application when it is determined that the first user device is not registered.

14. The one or more devices of claim 10, wherein the one or more memories include a tracking counter that includes flags, and
wherein, when the one or more processors determine whether a number of concurrent sessions, for viewing the video content, with the one or more user devices exceeds a maximum number, the one or more processors are further configured to execute the instructions to:
count a number flags that are set, among the flags in the tracking counter, wherein each of the set flags corresponds to a different one of the one or more user devices that are concurrently receiving the video content from the one or more devices.

15. The one or more devices of claim 14, wherein the one or more processors are further configured to execute the instructions to:
reset a timer that corresponds to the total viewing time of the video content by the first user device each time when the first user device sends a message to reset the timer;
periodically increment the timer; and
modify one flag, among the flags, associated with the first user device when the timer reaches another predetermined number.

16. The one or more devices of claim 10, wherein, when the one or more processors determine whether the total number of viewing sessions associated with the user of the one or more user devices exceeds the predetermined number, the one or more processors are further configured to execute the instructions to:
determine whether the user has a right to have the video content streamed to the first user device; or
determine whether the first user device has a right to play the video content at a quality level requested by the first user device.

17. A device comprising:
a network interface to communicate with a remote system;
a memory for storing first instructions to be executed by one or more processors; and
the one or more processors configured to execute the first instructions to:
register the device with the remote system when the device is not registered with the remote system;
send a request, to the remote system, for video content;
initiate, prior to receiving by the device any license key that the device can use to decode or play the video content, a download of the video content from the remote system;
send a request to the remote system, for a license key for the video content based on information provided in a header associated with the video content being downloaded, before the device uses any other license key to decode or play the video content on another user device;
receive the license key from the remote system after the remote system:
determines that, when the device decrypts the video content, a number of user devices, which belong to a user and include the device, and are accessing and viewing the video content from the remote system, do not exceed a maximum number, and sends the license key to the device; and
determines that a total number of viewing sessions in a given duration for the remote system and the user devices that belong to the user do not exceed another maximum number, wherein each of the total number of viewing sessions is a past viewing session completed by the number of user devices,
wherein the remote device determines a total viewing time for a viewing session, at the device, associated with the download of the requested video content, and
wherein when the total viewing time lasts for longer than a specific threshold period of time, the remote device increments the total number of viewing sessions by one without issuing a new license key to the device for the video content;

use the license key to decrypt the video content; and
output the decrypted video content on output devices coupled to the device.

18. The device of claim 17, wherein the memory includes second instructions, and wherein the one or more processors are further configured to execute the second instructions, to:
receive the first instructions from the remote system; and
install the first instructions on the device.

19. The device of claim 18, wherein the device includes one of:
a tablet computer; a personal computer; a gaming console; a laptop computer; a cellular telephone; or an Internet television.

20. The device of claim 17, wherein the one or more processors are further configured to execute the instructions to:
receive a video application for installation, the video application including instructions, when executed by the device, that cause the device to:
decrypt the requested video content using the license key.