Content state maintenance for session failover
By having the client device manage and report state information with cryptographic signatures, the system addresses failover inconsistencies in content delivery, ensuring seamless playback and maintaining user experience.
Patent Information
- Application Number
- US18/339060
- Authority / Receiving Office
- US · United States
- Patent Type
- Patents(United States)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2026-12-01
- Estimated Expiration
- 2043-07-11
AI Technical Summary
Existing content delivery systems fail to timely maintain and synchronize session states during failover, leading to inconsistent playback and loss of tracking information due to external events like playback errors or service loss, especially when redundant systems are not synchronized with the actual user's consumption state.
The client device maintains and reports state information, including cryptographic signatures, to the content provider environment, enabling failover by reconstructing the session state accurately and ensuring seamless playback.
This approach ensures consistent playback and maintains user experience by allowing failover to resume content consumption from the previous state, reducing errors and improving reliability in content delivery systems.
Smart Images

Figure US12820265-D00000_ABST
Abstract
Description
BACKGROUND
[0001] Users are increasingly obtaining content in digital form, often downloading or streaming that content from a remote service. For streaming video, this can entail live content fees, stored content feeds, or combinations thereof, and users may be provided with portions of media content that have been supplemented with additional content. This additional content may be provided in line with one or more templates, but specific content elements may be personalized for a given user. A manifest may be prepared on a server-side and provided to the user, where a personal media player executing on one or more client devices may then decode and render the content associated with the manifest for playback. In operation, providers may include backup or redundant systems to ensure playback quality. However, these systems may not be timely, for example, if a user media player has faulty playback or a service connection is lost due to one or more external events. Attempting to restore service to the user may lead to inconsistent playback, loss of tracking information for the additional content, and a reduced user experience.BRIEF DESCRIPTION OF THE DRAWINGS
[0002] Various embodiments in accordance with the present disclosure will be described with reference to the drawings, in which:
[0003] FIG. 1 illustrates an example system for providing content in accordance with various embodiments.
[0004] FIG. 2 illustrates an example system for providing content in accordance with various embodiments.
[0005] FIG. 3A illustrates an example system for health monitoring and state determination in accordance with various embodiments.
[0006] FIG. 3B illustrates an example system for health monitoring and state determination in accordance with various embodiments.
[0007] FIG. 4A illustrates a sequence diagram for providing content using state information in accordance with various embodiments.
[0008] FIG. 4B illustrates a sequence diagram for providing content using state information in accordance with various embodiments.
[0009] FIG. 5 illustrates an example process for providing a content manifest responsive to state information that can be utilized in accordance with various embodiments.
[0010] FIG. 6 illustrates an example process for providing a content manifest responsive to state information that can be utilized in accordance with various embodiments.
[0011] FIG. 7 illustrates an example process for authenticating state information that can be utilized in accordance with various embodiments.
[0012] FIG. 8 illustrates an example environment in which aspects of various embodiments can be implemented.
[0013] FIG. 9 illustrates components of an example data center that can be utilized in accordance with various embodiments.
[0014] FIG. 10 illustrates components of an example computing device that can be used to perform aspects of the various embodiments.DETAILED DESCRIPTION
[0015] In the following description, various embodiments will be described. For purposes of explanation, specific configurations and details are set forth in order to provide a thorough understanding of the embodiments. However, it will also be apparent to one skilled in the art that the embodiments may be practiced without the specific details. Furthermore, well-known features may be omitted or simplified in order not to obscure the embodiment being described
[0016] Various embodiments may be directed toward systems and methods to monitor, record, and report state information for one or more media content streams from a media player perspective. In operation, a media player may receive a content stream from one or more content distribution environments. The content stream may be in the form of one or more manifests that include information for the content stream that the media player can use to obtain the content and render the content for viewing. The manifest may be a combination of different content portions or content elements, such as primary content and / or secondary content (e.g., supplemental content). Primary content may be content provided by a content owner, which may be live content or pre-recorded content, while secondary content may be content that is added into one or more portions of the live content, such as at predetermined locations. As a user consumes the content using the media player, state information for the manifest and / or the content may change. For example, the user may view a first portion of primary content and two portions of supplemental content. As the user continues to consume the content, the user may subsequently consume a second portion of primary content. In certain embodiments, the user may request additional content, for example where the manifest represents portions of content made up of several different windows or segments. While consuming the content, the media player (e.g., the user and / or user device) is in a primary position to identify which portions of content have been received and what has been viewed. In the event of a playback error, such as from the media player itself, a device executing the media player, or the content provider, the user may desire to resume consumption at their previous location after the error is resolved. However, this information may be unknown to the provider because the provider may only know the last manifest sent and / or that a manifest was transmitted, but not how much of the manifest and / or content associate with the manifest was viewed by the user. Systems and methods of the present disclosure may address this problem, among others, by providing state information back to the content provider environment, such as with a request for a new manifest, periodically at intervals, and / or via a proxy, among other options. In this manner, content interruptions can be resolved and users may receive their content at the last state prior to the interruption, thereby providing an improved experience for the user while also permitting the content provider environment to continue to monitor and / or track different portions of the content.
[0017] Embodiments may be directed toward a content provider environment that may include one or more servers or workflows to integrate supplemental content into primary content. The integrated supplemental content may be selected based, at least in part, on the user requesting the content, such that the media stream provided to the end user is personalized for a given session. Session states may be stored in a managed service and when viewers watch personalized streams via the service, the service generates a personalized manifest file and sends it to an appropriate media player. By storing the states at the managed service, the service can continue to service the session because the session data is stored in the service and the media player does not need to be aware of specific details associated with the content stream, such as the particular supplemental content, counters, timestamps, and the like used to generate the manifest. However, storing the states at the managed service may limit failover abilities when one region or instance associated with the personalized service fails or otherwise becomes inaccessible. If the instance that receives a media player request after failover does not have accurate details for the session (e.g., information related to the state), the service may generate a manifest inconsistent with the state of the player, which may cause a failure to play the media stream. Embodiments of the present disclosure address and overcome this problem by modifying a media stream manifest, a request for a manifest, and / or reporting information with additional information related to a state of content associated with one or more users. Because the media player is a source of truth for its own state and what manifests and / or content portions it has previously received from any service instance, the media player may be used to communicate details (e.g., state information) when a new instance is used after failover in order to synchronize the session state. In at least one embodiment, a cryptographic signature or other verification may be used to authenticate information provided to the service instance.
[0018] FIG. 1 illustrates an example system 100 that can be used to implement aspects of the various embodiments. In the system of FIG. 1, a client computing device 102 can submit a request for content across at least one network 104 to be received by a content provider environment 106. The client computing device 102 may be representative and / or act as a proxy for one or more users that may be submitting content requests. By way of example, a user may navigate to one or more applications or access points using the device to submit a content request, among other options. Additionally, in at least one embodiment, the client computing device 102 may act as a proxy to execute stored instructions to make and receive requests for content, among other options. For example, the client computing device 102 may send a request responsive to receiving one or more inputs and / or the like. As another example, a request may be transmitted as part of an automated or semi-automated work flow, which may or may not receive user interaction. Accordingly, the client computing device 102 may be used with direct input from one or more users, from stored software instructions, from executions of various workflows, or combinations thereof.
[0019] In at least some embodiments the request can include a request for content to be displayed on the client computing device 102, and in many cases will include video or other media content that is transcoded for presentation on the client device 102. The network(s) 104 can include any appropriate network, such as the Internet, a local area network (LAN), a cellular network, an Ethernet, or other such wired and / or wireless network. The content provider environment 106 can include any appropriate resources for providing content from a resource provider, as may include various servers, data stores, and other such components known or used for providing content from across a network (or from the “cloud”). As mentioned elsewhere herein, the client computing device 102 can be any appropriate computing or processing device, as may include a desktop or notebook computer, smartphone, tablet, wearable computer (i.e., smart watch, glasses, or contacts), set top box, or other such system or device.
[0020] An interface layer 108, when receiving a request or call, can determine the type of call or request and cause information to be forwarded to the appropriate component or sub-system. For example, a request for content might be forwarded to a media server 110 while a request to specify encoding parameters might be forwarded to a transcoding manager 112, among other such options. As another example that may be used with various embodiments, one or more items from be extracted from requests or calls and forwarded to additional components or sub-systems, such as providing state information to a session manager 114. These various components and sub-systems are represented for clarity only and in various embodiments may be integrated into a single system and / or may share different resources and or commands. For example, the media server 110 may act as a control unit that distributes further commands and instructions and / or executes different workflows for one or more portions of media requests. As another example, the transcoding manager 112 may be a sub-component of the media server 110 that executes different commands based on instructions received from the media server 110. Various calls or requests can also come from third parties, such as third party content providers 116. Additionally, different content may be pulled or requested from remote content servers and / or databases 118, which may be associated with the content provider environment 106, the third party content providers 116, and / or other entities. These additional providers and / or databases may provide at least some media content to be stored in a media repository 120 or the content in the media repository 120 may be stored on behalf of the third party content providers 116 and / or the content provider environment 106. In at least one embodiment, the media repository 120 may include multiple repositories, which may be categorized for different purposes. For example, a first media repository may include primary content and a second media repository may include secondary content, among other options. In at least one embodiment, content portions may be selected from the media repository 120 for transcoding and display on the client device 102.
[0021] In this example, a call received to the content provider environment 106 can be received by the interface layer 108 of the environment. As known for network environments, the interface layer can include components such as interfaces (e.g., APIs), load balancers, request and / or data routers, and the like. If the request is a request for content, such as for a video data stream to be provided to the client device 102, information for the request can be directed to one or more media servers 110, which can obtain the content from the media repository 120 (e.g., media data store) or other such repository to be sent back across the network(s) 104 to the client computing device 102. In some embodiments, information for the request might also be compared against user data in a user data store 122 or other such location to determine, for example, whether the user has access rights to that content, and potentially the formats or versions to which the user has access rights. Moreover, as noted herein, information from the user data store 122 may be accessible to one or more content decision servers 124 that may be used to select content from the media repository 120 and / or the content database 118, such as secondary content, for insertion into a primary content stream.
[0022] In at least some embodiments, a request from an operator, an administrator, the client device 102, one or more third party providers 116, or another such source might include a request to specify one or more sets of encoding parameters to be used with a media file. Accordingly, information regarding the encoding parameters can be provided to the transcoding manager 112, or other such component or service, which is able to receive the information through an appropriate interface (i.e., an API or console) and cause the profile and parameter data to be stored to appropriate repositories 126, 128. When a request for a video file (or other type of content) is received, the transcoding manager 112 can use the profile and parameter data to determine the appropriate encoding information, and can pass that to one or more transcoders 130, which can obtain the media file and transcode the media file per the transcoding information, which can then be provided to the client device 102 by the media server 110 or other such component.
[0023] In some embodiments the transcoding subsystem includes one or more transcoders, a set of bitstreams (or video signals), and a content delivery network. The one or more transcoders can include both encoders and packagers, which can be implemented via an origin server. A packager can receive a signal (e.g., feed), such as a video signal or a live stream. The live stream feed may comprise live video content (e.g., sporting events, concert events, pay-per-view events, etc.), pre-recorded content (e.g., television shows, movies, time-delayed events, sports highlights, etc.), and / or advertisement content (e.g., commercials), among others. The packager may receive one or more input signals (e.g., input) and generate one or more bitstreams. The bitstreams can be delivered by an encoder / packager to a content delivery network (CDN). The bitstreams can represent various encoded / packaged versions of the signal feed, as may be encoded per the encoding parameters from the transcoding manager 112. For example, the bitstream may be a high resolution and / or high bitrate version of the signal feed. In some embodiments, different bitstreams may provide alternate audio (e.g., different languages) and / or closed captions. The number and / or types of the bitstreams may be varied per the profile or other data.
[0024] Each of the bitstreams may comprise a number of content segments, which may represent a portion of the bitstream. Each of the content segment files may represent one segment of playback time of the program feed (e.g., 10 second segment files may contain 10 seconds of video and / or audio). For example, when played back sequentially, the content segments may generate the content of the corresponding bitstream. In another example, the content segments may be stored locally on the end user devices (e.g., buffered) and when enough of the content segments are available the end user devices may decode the content segments for playback. The content segments may be adaptive video content. The content segments may allow the bitstream to be delivered efficiently and reliably. For example, requesting individual content segments may reduce a chance of download failure by one of the client devices. In another example, storing the content segments across the CDN may reduce an amount of storage needed at each node of the CDN. The CDN itself may include a network of computers (e.g., servers). Each of the computers of the CDN can function as a node, and the CDN can store and / or deliver the bitstreams over a wide-area network (e.g., the Internet).
[0025] An encoder / packager can be an origin active bitrate video HTTP server. The encoder / packager can receive a signal (e.g., request) and send a signal (e.g., response). The signal request can represent a data request (e.g., an HTTP request) from one of the client devices forwarded to the origin server by the CDN. For example, the signal request may be an HTTP request for the origin server to send digital data to one of the client devices. The signal response may represent a data response from the origin server to be forwarded by the CDN to one of the client devices. For example, the origin server may send the signal response (e.g., data such as the content segments) as a network packet based on the HTTP protocol to one of the client devices. The type, implementation and / or number of responses and / or requests may be varied according to the design criteria of a particular implementation. The origin server can include a manifest file or list of the available content segments. For example, the manifest file may comprise metadata and / or URLs pointing to the content segments and / or other data. The manifest file may be used by the client devices to request the content segments. A format of the manifest file may be varied according to the design criteria of a particular implementation. The manifest file and / or the content segments may have a respective time-to-live (TTL) value. The TTL value (or property) may be used to ensure certain objects in a network are refreshed. For example, objects in a network may be cached (e.g., throughout the CDN). The TTL value may represent an amount of time, a number of requests and / or a hop count before the object is refreshed (e.g., requested / updated from the origin server). The TTL value for the manifest file and / or the content segments may be set by the operator and / or set at the origin server. In a common CDN implementation, various types of content may remain stored on the CDN until the TTL value expires (e.g., content invalidation may take a long time). Generally, the TTL value of the manifest file is less than the TTL value of the content segments. A lower TTL value for the manifest file may allow the manifest file to be refreshed more frequently / often than the content segments (e.g., to update the pointers to the content segments). A comparatively higher TTL value for the content segments may allow the content segments to remain in cache longer (e.g., to reduce a number of requests made to and / or reduce a load on the origin server). The implementation and / or values set for the TTL values of the manifest file and / or the content segments may be varied according to the design criteria of a particular implementation.
[0026] The origin server may be configured to perform a content invalidation. For example, one or more of the content segments may be invalidated. Content invalidation may prevent and / or stop content from being delivered to the client devices. To initiate an invalidation of content the operator may send the invalidation signal input (e.g., the operator initiated content invalidation) to the origin server. The origin server may invalidate the content segments by updating (or manipulating) the manifest file. For example, the manifest file may be updated to no longer point to the content segments. Since the TTL value for the manifest file is relatively low, the manifest file may be refreshed throughout the CDN. For example, the client device may request the manifest file and when the TTL value expires for the cached manifest in the various nodes of the CDN, the updated manifest file (e.g., the invalidated manifest) may be distributed throughout the CDN to the client device.
[0027] A change in video stream may be initiated by a user in one example. In another example, a quality of service test may be implemented. For example, if the video stream represented using the content segments was of such a poor quality that an advertiser and / or a broadcaster would not be satisfied, the content segments may be rearranged (e.g., by providing the alternate content) and / or removed quickly. For example, if the content segments represent an advertisement of poor quality (e.g., fails the quality of service test), an alternate advertisement could be displayed by invalidating the content segments. The content segments may be invalidated automatically if the content segments do not pass the quality of service test.
[0028] An example manifest file can include various data, such as a file header, metadata, and / or pointers / links. The data can be human-readable or coded using an encoded format, an encrypted format and / or computer readable (e.g., binary) format. The format of the data in the manifest file may be varied according to the design criteria of a particular implementation. The file header can provide an indicator to identify the manifest file as a particular type of file. For example, the file header may be used by the origin server, cache nodes, and / or any other computing device to recognize the manifest file as a particular type of file (e.g., a pointer file, a manifest file, etc.). The metadata may indicate the type of file to be served when following specified links. For example, the metadata may indicate that the links represent a video stream, a bandwidth needed to playback the content segments, the codecs implemented for the content segments, the resolution (e.g., in pixels) of the content segments, and / or any other relevant data. The type of data available in the metadata may be varied according to the design criteria of a particular implementation. The pointers may point to various types of stored data. The stored data may be the content segments. For example, a pointer can be an HTTP URL link. In some embodiments, the pointers may be implemented as a RTMP link and / or an FTP link. The format of the pointers may be varied according to the design criteria of a particular implementation. The pointers of the manifest file can point to the respective content segments. The content segments in some embodiments can be implemented as Transport Stream (e.g., .ts) files. For example, the content segments may comprise MPEG-2 data. In some embodiments, the manifest file may be embedded within the bitstreams.
[0029] The type of invalidation and / or recovery may be varied according to the design criteria of a particular implementation. The type of invalidation may be based on the invalidation information (e.g., instructions) provided in the invalidation signal input. For example, the signal input may be a content invalidation signal initiated by the operator.
[0030] In various embodiments, the client device 102 may be in a better position to determine its current state with respect to one or more content streams. For example, the media server 110 may provide a content stream, but the client device 102 may pause the stream at different locations and / or wait to view the stream. As a result, merely sending the stream is insufficient to identify a current state of the content stream, such as which portions of primary content have been viewed, which portions of supplemental content have been viewed, and / or which portions were previously viewed or will be subsequently viewed. Embodiments of the present disclosure address these problems, and more, by using the client device 102 to maintain the state of the content stream, rather than relying on the media server 110 to monitor the current state.
[0031] In at least one embodiment, the media server 110 may act as an intermediary / control between different components of the content provider environment 106, such as between the content decision server 124 and / or the client device 102 and / or one or more CDNs. The media server 110, along with the content decision server 124 and / or session manager 114 may stich or otherwise form one or more content streams that integrate primary content and secondary content into a single stream, such as based on one or more templates extracted from a template repository 132.
[0032] In at least one embodiment, the client device 102 and / or a CDN may send a request to the media server 110 for content, which may be live content or pre-recorded content, or some combination thereof. The request may also contain parameters from a media player executing on the client device 102 with information about the user, which is used for content stream personalization. To service the request, the media server 101 may retrieve a content manifest and / or generate a content manifest and also specifications for one or more portions of secondary content to be provided with the requested primary content. For example, the media server 110 may send a request to the content decision server 124 that includes user information, such as information provided with the request and / or information from the user data store 122. The content decision server 124 may then access a portion of the media repository 120, such as a portion that contains supplemental content, and may select different supplement content segments based on the user information, current templates, current campaigns, and / or the like. The content decision server 124 may then provide the selected secondary content to the media server 110, such as by providing URLs to the secondary content portions. The media server 110 may then insert the secondary content into the manifest, for example at designated areas associated with one or more templates, and then provide the information for transcoding and preparation to the transcoding manager 112. Thereafter, personalized content can be provided back to the user 102. The content decision server 124 may track the secondary content viewed based on viewing milestones such as start, a middle, and an end. As playback progresses, the player or media server 110 sends tracking beacons to the content decision server 124 to record how much of the secondary content has been viewed.
[0033] In the event of a playback failure, state information for the manifest may be stored or otherwise known at the media player (e.g., the client device 102), but not necessarily back at the media server 110. As a result, if the media server 110 is alerted to an error in playback and attempts to resolve the error, such as by sending an updated manifest or other information, the media player may fail with playback because the manifest information may be different from the original manifest used. Additionally, the user may need to restart or otherwise lose certain content segments due to the differences in manifest information because the media server 110 was unaware of the state of the content stream at the client device 102. Furthermore, if the media server 110 is inaccessible, such as due to an instance or region failure, obtaining new information from a different region may also be challenging because starting up a new instance and new session may also be done without knowing state information for the client device 102, which may cause a loss in tracking viewed content segments, viewed secondary content segments, and / or the like. Accordingly, systems and methods of the present disclosure may overcome these and other problems by providing state information from the client device 102 back to the media server 110, such as via information embedded within the manifest or as an update request, so that failover may be permitted between different regions and / or instances of the content stream. Furthermore, various embodiments may also provide authentication information regarding the state of the content stream.
[0034] In operation, a content owner may provide content for use with the content provider environment 106, such as via one or more third party content providers 116, content databases 118, and / or media repositories 120, among other options. Content may be live content and / or pre-recorded and may be combined with additional content to form a content stream, which may be represented as a manifest, as noted herein. The content may be structured according to one or more templates such that markers within the template provide indicators for breaks or supplemental content insertion. In various embodiments, the content decision server 124 selects different segments of supplemental content and the media server 110 may stitch these portions of content together to form the manifest, which is provided for consumption by the client device 102. As noted herein, the manifest may be personalized for the user and / or an account associated with the client device 102 based on information such as user preferences, device properties, and / or the like. Because each viewer (e.g., user device, user, account, etc.) receives a personalized stream, a state of the stream may be different for a given user. For example, some users may have different supplemental content inserted. Additionally, some users may have different levels of access, and as a result, periods of supplemental content may be longer than others. In each instance, the manifest is received at the media player for the user device and then a sequence within the manifest (e.g., a content portion, supplemental content portions, etc.) is rendered and provided for viewing. Over time, manifests may be updated as users request additional content (such as for live events), or changes may be made based on user behavior when viewing the content. As a result, it may be difficult to synchronize content streams across different servers, instances, and / or regions. Replication of the data (e.g., replicating and sending the most recent manifest to another instance) may not propagate in a timely manner, and moreover, is still unaware of the actual state of the media player on the client device. Systems and methods address these problems by reconstructing and / or receiving state information from the user device.
[0035] FIG. 2 illustrates an example system 200 that can be used to implement aspects of the various embodiments. In the system of FIG. 2, the network 104 is used to transmit messages and / or information between different regions 202A, 202N of the content provider environment 106 and one or more destinations, such as the client device 102 and one or more CDNs 204. As shown, content may be provided to various requestors from different regions 202A, 202N to provide failover and redundancy in the event of an outage, such as a severe weather event, technical problems, power failure, and / or the like. In this example, each region 202A, 202N may be executing multiple different media instances 204 (e.g., instances 204A-204N). These instances 204 may be executing on separate underlying hardware or resources, such that if instance 204A were to fail then instance 204B could potentially continue to operate undisturbed. Additionally, in certain embodiments, common underlying hardware could be executing multiple instances and their respective backups.
[0036] In operation, the client device 102 may track information associated with a present state of media content being consumed by one or more users. This state information may be used to maintain playback in the event of one or more failures or outages from the respective providing media servers. For example, playback may be considered a priority such that resuming and / or maintaining the feed may be prioritized over other properties of the feed, such as resolution, tracking supplemental content, and / or the like. In the event of a failure at Region A 202A, state information may be provided to Region N 202N such that a different media instance may be used to provide content back to the client device 102 in a manner that allows the user to resume consumption at their previous location prior to the failure / outage. By maintaining state information from the perspective of the client device 102, failover is enabled because failure at a given region or instance would also result in a loss of that state information. Moreover, simply replicating the state information between regions and / or instances may result in untimely delivery of content to the client device 102, which may reduce a user experience and / or cause errors with playback. Accordingly, systems and methods of the present disclosure permit failover between different regions and / or instances based on state information that is transmitted and monitored from the client device 102.
[0037] FIG. 3A illustrates an example environment 300 that may be used with various embodiments of the present disclosure. In this example, the client device 102 receives a manifest 302 from the media server 112A responsive to a content request. As noted herein, the manifest 302 may include information to retrieve one or more content elements. The manifest 302 may be based, or at least structured, based on one or more templates. For example, the manifest 302 may represent a filled in template that includes sections for primary content, sections for secondary content, markers or beacons to track viewing information, and / or the like. Furthermore, the manifest 302 may be representative of a window of content that is less than an entire content portion. In at least one embodiment, the manifest 302 is personalized for the particular user associated with the client device 102, which may be based on information provided by the user when submitting the request, based on an account the user has with a provider associated with the media server, and / or the like. In at least one embodiment, the content associated with the manifest 302 is structured such that the client device 102 may receive the content from multiple sources in the event of a failure or error. In this example, a second media server 112B may also be executing a backup instance associated with the stream of the manifest 302. The second media server 112B may be prepared to provide an updated manifest in the event of a detected failure, as noted herein.
[0038] Various embodiments of the present disclosure may use the client device 102 to maintain state information for a given content stream associated with the manifest 302. For example, a state manager 304 may monitor consumption of the content associated with the manifest by a media player 306. In at least one embodiment, the state manager 304 may be integrated into the media player 306. The state manager 304 may track portions of content that are viewed, may be used to maintain a record of manifests received and / or requests sent, and / or the like. As a result, when failover occurs, the client device 102 may provide information when requesting an updated or new manifest to restore service to maintain or otherwise synchronize state between different servers and / or instances. In at least one embodiment, the state of the content and / or the manifest may be signed or otherwise verified using one or more signatures or keys generated by an authentication module 308. The authentication module 308 may be used to add a signature to a request and / or to the manifest 302 returned to the server indicative of the state of the content and / or client device 102. By adding an authentication criteria or signature to the manifest and / or state information, the servers 112A, 112B may confidently process and provide new information with a level of certainty that the previously requested manifest was provided in the form indicated by the client device 102. Without the authentication, one or more bad actors could potentially modify the manifest and / or stream, such as by extracting certain features or properties, misrepresenting a number of times supplemental content had been viewed, and the like. Furthermore, authentication reduces a likelihood that malicious software operating on the client device 102 is providing incorrect information back to the servers, thereby reducing the user experience. Additionally, authentication may reduce errors with reporting from the client device 102, which may cause playback errors and frustrate users.
[0039] Various embodiments may incorporate a health monitor 310 to monitor and / or analyze different aspects of streaming instance, which may include one or more problems or errors on either the server side, the connection, the client side, or combinations thereof. The illustrated embodiment includes the health monitor 310 as a standalone service, but it should be appreciated that the health monitor 310 may also be integrated into the client device 102, execute on common stances with the media servers, execute on different instances than the media servers, execute in a common region with the media servers, execute in a different region than the media servers, or combinations thereof. For example, the health monitor 310 may be different depending on which media server 112A, 112B is transmitting manifests to the client device 102. Moreover, the health monitor 310 may be adaptive based on one or more determined problems or errors. For example, if the health monitor 310 is executing on the client device 102, and there is an error with the device, a backup or secondary health monitor 310 associated with the environment may be used. Accordingly, the example health monitor 310 is prevented by way of non-limiting example as being external to the client device 102 and / or may be running in a different region or separate instances from the different servers 112A, 112B. In at least one embodiment, the health monitor 310 is associated with the content provider environment 106, for example, as an extension service and / or a workflow to track different metrics or information for a given stream. The health monitor 310 may evaluate playback or a connection between the client device 102 and the servers 112A, 112B to determine whether one or more metrics indicative of a failure and / or performance issue have been satisfied. For example, a loss of connection that exceeds a threshold period of time may be indicative of a failure. Similarly, a playback error may be indicative of an error. As another example, a failed authentication check may also indicate an error. In the event of an error, the health monitor 310 may send a signal to the client device 102 and / or one or more of the servers 112A, 112B to initiate failover and activate a backup or alternative content source. Upon activation, or along with the request to activate, state information may be transmitted to the backup or alternative content source in order to provide an updated manifest 312 to enable the client device 102 to continue consuming content at the state prior to the error or disruption. In this manner, state information may be maintained by the client device 102 to quickly and accurate enable failover services.
[0040] FIG. 3B illustrates an example environment 320 that may be used with various embodiments of the present disclosure. One or more features between the environment 300 and the environment 320 may be shared, such as the client device 102, the media player 306, the state manager 304, the authentication module 308, and the health monitor 310, among others. In this example, a proxy layer 322 is positioned between the media servers 112A, 112B and the client device 102. The proxy layer may act as an intermediary or “middleman” that can execute various logical operations regarding receiving and routing different manifests, receiving state information, forwarding state information to appropriate servers, and also interfacing with the health monitor 310, among other options. Use of the proxy layer 322 may provide a more robust environment for tracking and handling requests because underlying hardware may be controlled and / or supported by the provider. Moreover, the proxy layer 322 may also be used to replicate and push state information to different regions and / or instances, for example at regular intervals. As a result, failover may be initialized quickly because a different server may already have recent state information for a given client device and its associated session.
[0041] As noted herein, systems and methods address problems with existing techniques by reconstructing and / or receiving state information from the user device. In at least one embodiment, the user device may provide metadata related to state information, for example as additional data within a manifest and / or as a separate call, among other options. Various embodiments may further provide an authentication or signature with the state information, such as a cryptographic signature, because the client device 102 may be considered an untrusted or potentially compromised data source. For example, a bad actor could manipulate the state information to either change properties of the service and / or to prevent the client device 102 from receiving and consuming the stream. Implementing the signature, for example using a shared secret with the media server, may prevent such bad actors or manipulation of the manifest. In at least one embodiment, specific state information may be provided back to the media server, which may be determined by the media player and / or by a state manager, as noted herein. Different levels of information may be used to provide information to the media server to determine and / or reconstruct state information, including information such as supplemental content identification, supplemental content placement location, supplemental content selection criteria, counters, a media sequence, continuity information, and / or the like. For example, a manifest may include a media sequence such as Content Segment 1, Supplemental Content A, Supplemental Content B, Content Segment 2, Content Segment 3, Supplemental Content C, Supplemental Content D, and Supplemental Content E, which may be represented as 1AB23CDE. By providing information back to the media server indicating that the user has viewed 1AB23 from the manifest, a newly provided manifest and / or a replacement manifest may then begin at CDE, thereby providing an improved user experience, rather than restarting at 1, as an example.
[0042] Systems and methods may further enable the user device and / or media player to participate in failover. For example, one or more health monitors, which may be included as part of a proxy or as a separate service, may be provided to evaluate health status of a connection, playback status, and / or the like. As noted, the health monitor may be positioned external to the region of the server providing the manifest and / or associated with a difference instance executing on different underlying hardware. Additionally, the health monitor may be associated with or integrated into a proxy layer. Furthermore, in at least one embodiment, the health monitor may be integrated into the media player, such as for media players that are managed by the content provider. During streaming operations, the health monitor may evaluate one or more metrics and determine whether to initiate a failover based, at least in part, on the one or more metrics. In this manner, content may reliably be provided to users while maintaining state information for different content segments.
[0043] FIG. 4A illustrates an example call diagram 400 that may be used with embodiments of the present disclosure. In this example, one or more calls or requests may be distributed between different components, but it should be appreciated that such delineation is provided by way of example and not intended to be limiting. For example, one or more sub-systems or components of a larger system may also send and receive information and / or route information to an appropriate end point. In this example, the client device 102 submits a request 402 for content to a media server 112A. As noted, the content may be associated with streaming or live content, among other options. Upon receipt of the request, the media server 112A, or one or more components or sub-components, may determine whether the request is authorized and then prepare a manifest 404, which may include a personalized set of content segments for the client device 102. The manifest 404 may then be transmitted 406 for use by the media player 306 associated with the client device 102. For example, the media player 306 may be executing on a client device and one or more parameters of the manifest 404 may be particularly selected and tuned for use with the media player 306.
[0044] The media player 306 may be used to consume content, where different portions of the manifest 404 and / or associated content within the manifest 404, may be triggered to provide data back to the media server 112A, such as an indication that different portions of supplemental content have been viewed. In at least one embodiment, state information 410 may be collected 408 by the state manager 304, which as noted herein may be integrated into the media player 306 and / or be a separate system of sub-system. The state information may include data such as the supplemental content identifiers, media sequence, supplemental content locations, counters, continuity information, and / or the like. In at least one embodiment, a minimum level of data may be collected. Moreover, the data collected may be tuned or prioritized for certain playback criteria. For example, sufficient data may be collected to enable playback within a threshold time of a failure. In another embodiment, data may be collected particularly associated with the selected media player 306. The state information may also be signed or otherwise verified, such as via one or more cryptographic keys.
[0045] In operation, the health monitor 310 may send and / or receive 412 information from the media player 306 and / or the client device 102 related to health or characteristics of content consumption. As noted herein, the sending and / or receiving 412 may be internal (e.g., for the health monitor 310 that is part of the client device 102) and / or may be a signal received via one or more connections formed with the client device 102. In at least one embodiment, the health monitor 310 may determine whether a connection is maintained at a certain level, whether buffering is above a threshold, whether quality falls below a threshold, and / or the like. The health monitor 310 may make a determination that a health metric has exceeded or fallen below a certain threshold and then send a failover notification 414 to the media server 112A and / or to the client device 102 and / or the media player 306. The failover notification may be an indication that playback has fallen below a threshold, or will soon, which may prompt the client device 102 to submit a request for additional content from a backup or separate user. For example, upon receipt of the failover notification 414, a request 416 may be provided, such as via the state manager 304, to the media sever 112B along with the state information 410. The media server 112B may then use the state information to establish a new manifest 418 associated with the previously requested content and then provide 420 the new manifest 418 to the media player 306 for continued playback. In this manner, state information may be tracked and stored by the client device 102 and then provided to the media server 112B when a failover operation is started.
[0046] FIG. 4B illustrates an example call diagram 440 that may be used with embodiments of the present disclosure. Various features between FIGS. 4A and 4B may be shared, however, FIG. 4B includes the proxy layer 322, which may be used as an intermediary between the client device 102 and the media servers 112A, 112B. In this example, various calls and / or data transmissions may be routed to the proxy layer 322 for processing prior to adding a subsequent call to a destination. However, in certain embodiments, the proxy layer 322 may not receive certain types of information and permit passthrough or otherwise direct routing to one or more destinations.
[0047] In this example, the client device 102 submits a request 402 for content from the media server 112A. The request 402 may include two parts. A first request part 402A between the client device 102 and the proxy layer 322 and a second request part 402B between the proxy layer 322 and the media server 112A. However, in other embodiments, a single request 402 may extend between the client device 102 and the media server 112A, such as the request 402 of FIG. 4A.
[0048] Upon receipt of the request, the media server 112A, or one or more components or sub-components, may determine whether the request is authorized and then prepare a manifest 404, which may include a personalized set of content segments for the client device 102. The manifest 404 may then be transmitted 406 for use by the media player 306 associated with the client device 102. For example, the media player 306 may be executing on a client device and one or more parameters of the manifest 404 may be particularly selected and tuned for use with the media player 306. In at least one embodiment, the transmission 406 is broken into different segments 406A, 406B which extend between the media server 112A and the proxy layer 322 and between the proxy layer 322 and the media player 306, respectively.
[0049] The media player 306 may be used to consume content, where different portion of the manifest 404 and / or associated content within the manifest 404, may be triggered to provide data back to the media server 112A, such as an indication that different portions of supplemental content have been viewed. In at least one embodiment, state information 410 may be collected by the state manager 304, which as noted herein may be integrated into the media player 306 and / or be a separate system of sub-system. The state information may include data such as the supplemental content identifiers, media sequence, supplemental content locations, counters, continuity information, and / or the like. In at least one embodiment, a minimum level of data may be collected. The state information may also be signed or otherwise verified, such as via one or more cryptographic keys.
[0050] In operation, the health monitor 310 may send and / or receive 412 information from the media player 306 and / or the client device 102 related to health or characteristics of content consumption. For example, the health monitor 310 may determine whether a connection is maintained at a certain level, whether buffering is above a threshold, whether quality exceeds a threshold, and / or the like. The health monitor 310 may make a determination that a health metric has exceeded or fallen below a certain threshold and then send a failover notification 414 to the media server 11A and / or to the client device 102. The failover notification may be an indication that playback has fallen below a threshold, or will soon, which may prompt the client device 102 to submit a request for additional content from a backup or separate user. For example, upon receipt of the failover notification 414, a request 416 may be provided, such as via the state manager 304, to the media sever 112B along with the state information 410. However, as noted herein, the request 416 may also include different segments, including a first request segment 416A between the state manager 304 and the proxy layer 322, which may be used to provide state information to the proxy layer 322 for evaluation, such as verifying authenticity via the signature, among other options. Additionally, a second request segment 416B may be used between the proxy layer 322 and the media server 112B.
[0051] The media server 112B may then use the state information to establish a new manifest 418 associated with the previously requested content and then provide 420 the new manifest 418 to the media player 306 for continued playback. Furthermore, as noted herein, providing the new manifest 418 may also use the proxy as an intermediary with first portion 420A and second portion 420B.
[0052] FIG. 5 illustrates an example process 500 for preparing a manifest responsive to a health indication that can be utilized in accordance with various embodiments. It should be understood that there can be additional, fewer, or alternative steps performed in similar or alternative orders, or in parallel, within the scope of the various embodiments unless otherwise specifically stated. In this example, a request for content is received 502. The request may be from a requestor, such as a user associated with a user device and / or as part of a workflow, among other options, which may be received at a media server or a content provider environment, as noted herein. The request may be for one or more types of media content, which may include live content, pre-recorded content, or combinations thereof. Furthermore, the content may include a variety of different content types that may have particular state information, such as video content (e.g., movies, TV shows, etc.), audio content (e.g., audio books, music, interviews, etc.), interactive content (e.g., video games, virtual realty content, augmented reality content, mixed realty content, etc.), and / or combinations thereof.
[0053] A manifest may be determined for the content request 504. For example, the content request may cause one or more systems or sub-systems to select the requested content from a repository or as part of a live stream received from a content owner, to select a template associated with content, and to determine secondary content. The template may be used to populate different portions of a content window. The template may include beacons or markers providing locations for supplemental content insertion. For example, the supplemental content may be inserted after a period of primary content. In at least one embodiment, supplemental content is selected based, at least in part, on one or more properties of a user associated with the request and / or a user profile associated with a device making the request. The properties may be used to personalize supplemental content, and therefore, provide a personalized manifest for the content request. The personalized manifest may be different from another user that requests the same content, such as being based on a different template, having different supplemental content, and the like.
[0054] The manifest may be provided to the requestor 506. The manifest, as noted herein, may include personalized content segments, such as via URLs for a media player to fetch and / or render content on a client device. In at least one embodiment, the manifest is transmitted over a network from a particular region in which an instance is executing on underlying hardware within the region. Multiple portions of content may be distributed on the same underlying hardware (e.g., within a cloud environment) and may be provided from a CDN. Additionally, particular instances may be associated with personalized content streams and may be backed up or otherwise provided with redundancy to ensure delivery. Furthermore, different levels of delivery quality may be monitored and adjusted, such as a particular quality of the stream, where additional resources or instances may be added or removed to satisfy different streaming thresholds. In various embodiments, the manifest provides a portion of the content requested by the client device, and as a result, additional manifests may be generated and provided over time as content is consumed. New manifests may also be updates of previous manifests, where previous content segments “fall off” or are otherwise removed. By way of example, a first manifest may provide content segments 12345, and over time the user may consume the content and request an additional window. A subsequent manifest may then include segments 34567, where 1 and 2 have been removed from the manifest.
[0055] Health information may be monitored for the content segment associated with the manifest. For example, a connection quality or a usage may be monitored, along with internal factors associated with underlying hardware executing the instances providing the content, such as temperatures, power consumption, and the like. The health information may be monitored by a system or sub-system executing on different underlying hardware from the instance associated with the manifest and / or may be associated with the client device, among other options. A health indication may be provided 508. The health indication may provide information associated with the manifest, such as a quality of the stream, a health of the network connection, latency, and / or the like. The health indication may be evaluated to determine whether or not a failover or other back up operation should be executed. For example, if the health indication illustrates a quality drop below a threshold, it may be determined that a new instance or new manifest should be generated to continue to provide content to the requestor.
[0056] State information for the manifest may be received 510. The state information may be monitored and tracked by the client device, by a proxy, and / or the like. For example, because the client device and / or the media player of the client device is in the best position to determine a current state of the stream with respect to the manifest, such information may be tracked by the client device and / or the media player in order to provide relevant state information back to the provider environment. The media player may monitor which content segments have been consumed within the window of the manifest. Returning to the previous example, if a window includes segments 12345 and there is a failure or error with segment 3, the state information may provide information such as content identifiers, content position, content sequence, and / or the like, and provide information associated with the content segments that were successfully viewed. Accordingly, subsequent manifests may drop or otherwise remove segments 1 and 2 because the state of the viewer would indicate that those segments were successful and / or viewed.
[0057] Based on the state information, it may be determined that a new instance or region should provide an updated manifest to the requestor. A second manifest may then be determined, using the state information 512. For example, the second manifest may update the first manifest to add or remove content segments according to what was viewed and / or consumed by the requestor prior to the errors. By using state information from the user device and / or media player, the state information may maintain a “truth” from a device perspective, which may be a more accurate reflection of media consumption than what the provider environment may have. Furthermore, changes may be propagated and provide more rapidly than waiting for replication from the affected instance, especially for situations where the affected instances cannot be rapidly repaired and / or involved human interaction for repair. The updated manifest may then be provided back to the requestor 514 to continue consuming the media. In this manner, state information from the user device may be used for failover to update manifest or content information.
[0058] FIG. 6 illustrates an example process 600 for monitoring health indicators during a streaming event, which can be used with embodiments of the present disclosure. In this example, a personalized content manifest is provided responsive to a content request 602. As noted herein, the personalized content manifest may include primary content and secondary or supplemental content, which may be selected based, at least in part, on the request. For example, a user profile associated with the request may be used to select secondary content added to the manifest. A client device may use a media player to decode and render information from the manifest to consume content.
[0059] A health indicator may be determined for the personalized content manifest 604. The health indicator may be associated with different properties of the manifest and / or the device rendering content from the manifest. For example, video quality, bandwidth capabilities, and the like may be monitored and associated with the health indicator. In another example, server-side properties may be evaluated, such as properties of a CDN or underlying hardware for different instances being used to provide the manifest. Furthermore, these properties may be evaluated against one or more thresholds, which may be dependent on different factors. For example, for particular live events, a content owner may request that a quality of a stream exceeds a certain threshold minimum. As another example, for certain events, a content owner may prioritize delivery over other factors. One or more health indicators may be formed based on these requests.
[0060] The health indicator may be evaluated against one or more thresholds and a determination may be made whether or not the health indicators are within defined limits 606. For example, if quality drops below a threshold level, the health indicator may not be within limits. If the indicators are within the limits, the health indicators may continue to be monitored. If the indicators are outside of the limits, then a notification may be provided to a client device associated with the personalized content manifest 608. The notification may be associated with a request to provide state information to enable a failover operation. State information may be received 610 and a secondary instance for the personalized content manifest may be selected 612. For example, the secondary instance may be in a different region and / or use different underlying hardware, among other options. The secondary instance may then be used to deliver an updated personalized content manifest 614, where updates to the manifest may be based, at least in part, on the state information.
[0061] FIG. 7 illustrates an example process 700 for verifying a manifest update request that can be used with embodiments of the present disclosure. In this example, a personalized content manifest is provided responsive to a request 702. The content manifest may be used by a media player associated with a client device. As content is consumed, for example different segments of the manifest, state information for the manifest may change or be updated. The media player and / or the client device may monitor this state change and provide updates back to a content provider, for example along with a request for an updated manifest. An authenticated manifest update may be received that includes state information 704. The authentication may then be checked and validated 706. For example, a signature may be validated to ensure that the original manifest was provided by the content provider and / or to ensure that the data within the update request is valid. If the authentication fails, one or more failure handling procedures may execute 708. For example, in certain embodiments, a notification may be provided to one or more of the client device and / or the content provider regarding the failure. Additionally, part of the failure handling procedures may also include creating a new session, asking for a new authentication procedure, restarting the player, and / or combinations thereof. In at least one embodiment, the control or operation of the media player may, at least in part, determine which failure handling procedure to execute. For example, if the media player is associated with the content provider, it may be determined the authentication failure is due to a failure with the player and / or with the session, rather than due to a bad actor and / or malicious information. If the authentication passes, playback may continue. As noted herein, priority may be to provide uninterrupted playback to users, and as a result, successful authentication may enable playback to continue. If continued playback is reliant on additional manifest information, then state information may be determined for the manifest 710. The state information may then be used to generate an updated personalized content manifest 712 and the updated personalized content manifest may be provided to the client device 714 to continue playback.
[0062] FIG. 8 illustrates components of an example cloud computing environment 800 in which aspects of various embodiments can be implemented. In at least some embodiments, a user 802 wanting to utilize a portion of the resources 814 can submit a request over a network 804 that is received to an interface layer 808 of the provider environment 806. The interface layer can include application programming interfaces (APIs) or other exposed interfaces enabling a user to submit requests to the provider environment. The interface layer 808 in this example can also include other components as well, such as at least one Web server, routing components, load balancers, and the like. When a request to provision a resource is received to the interface layer 808, information for the request can be directed to a resource manager 810 or other such system, service, or component configured to manage user accounts and information, resource provisioning and usage, and other such aspects. A resource manager 810 receiving the request can perform tasks such as to authenticate an identity of the user submitting the request, as well as to determine whether that user has an existing account with the resource provider, where the account data may be stored in at least one data store 812 in the provider environment. A user can provide any of various types of credentials in order to authenticate an identity of the user to the provider. These credentials can include, for example, a username and password pair, biometric data, a digital signature, or other such information. These credentials can be provided by, or obtained from, a number of different entities, such as an identity provider 826, a key management service, a corporate entity, a certificate authority, an identify broker, and the like. In some embodiments, a user can provide information useful in obtaining the credentials, such as user identity, account information, password, user-specific cryptographic key, customer number, and the like. The identity provider can provide the credentials to the resource provider environment 806 and / or to the client device 802, whereby the client device can utilize those credentials to obtain access or use of various resources in the provider environment, where the type and / or scope of access can depend upon factors such as a type of user, a type of user account, a role associated with the credentials, or a policy associated with the user and / or credentials, among other such factors.
[0063] The resource provider can validate this information against information stored for the user, for example using a validation manager 822. If the user has an account with the appropriate permissions, status, etc., the resource manager 810 can determine whether there are adequate resources 814 available to suit the user's request, and if so can provision the resources or otherwise grant access to the corresponding portion of those resources for use by the user for an amount specified by the request. This amount can include, for example, capacity to process a single request or perform a single task, a specified period of time, or a recurring / renewable period, among other such values. Additionally, the user may be granted access to data 816 associated with the user account. If the user does not have a valid account with the provider, the user account does not enable access to the type of resources specified in the request, or another such reason is preventing the user from obtaining access to such resources, a communication can be sent to the user to enable the user to create or modify an account, or change the resources specified in the request, among other such options.
[0064] Once the user is authenticated, the account verified, and the resources allocated, the user can utilize the allocated resource(s) for the specified capacity, amount of data transfer, period of time, or other such value. In at least some embodiments, a user might provide a session token or other such credentials with subsequent requests in order to enable those requests to be processed on that user session. The user can receive a resource identifier, specific address, or other such information that can enable the client device 802 to communicate with an allocated resource without having to communicate with the resource manager 810, at least until such time as a relevant aspect of the user account changes, the user is no longer granted access to the resource, or another such aspect changes.
[0065] The resource manager 810 (or another such system or service) in this example can also function as a virtual layer of hardware and software components that handles control functions in addition to management actions, as may include provisioning, scaling, replication, etc. The resource manager 810 can utilize dedicated APIs 820 in the interface layer 808, where each API can be provided to receive requests for at least one specific action to be performed with respect to the data environment, such as to provision, scale, clone, or hibernate an instance. Upon receiving a request to one of the APIs, a Web services portion of the interface layer can parse or otherwise analyze the request to determine the steps or actions needed to act on or process the call. For example, a Web service call might be received that includes a request to create a data repository.
[0066] An interface layer 808 in at least one embodiment includes a scalable set of customer-facing servers that can provide the various APIs and return the appropriate responses based on the API specifications. The interface layer also can include at least one API service layer that in one embodiment consists of stateless, replicated servers which process the externally-facing customer APIs. The interface layer can be responsible for Web service front end features such as authenticating customers based on credentials, authorizing the customer, throttling customer requests to the API servers, validating user input, and marshalling or unmarshalling requests and responses. The API layer also can be responsible for reading and writing database configuration data to / from the administration data store, in response to the API calls. In many embodiments, the Web services layer and / or API service layer will be the only externally visible component, or the only component that is visible to, and accessible by, customers of the control service.
[0067] FIG. 9 illustrates an example network configuration 900 in which such provisioning can be implemented in accordance with various embodiments. In this example configuration, multiple computing systems are operable to execute various programs, applications, and / or services, and further operable to access reliable block-based data storage, such as under the control of a block-based data storage service. In particular, in this example a block-based data storage service uses multiple block-based data storage systems in a data center to provide reliable, non-local, block-based data storage to executing programs or various other components, systems, or services. Multiple remote archival storage systems external to the data center may also be used to store additional copies of at least some portions of at least some block-based data storage volumes.
[0068] In this example, a data center 902 includes a number of racks 904, each rack including a number of host computing devices 906, as well as an optional rack support computing system 928 in this example embodiment. The host computing systems 906 on the illustrated rack 904 each host one or more virtual machines 926 in this example, as well as a distinct node manager module 912 associated with the virtual machines on that host computing system to manage those virtual machines. One or more other host computing systems 916 may also each host one or more virtual machines 910 in this example. Each virtual machine 910 may act as an independent resource node for executing one or more program copies or performing another such action or process for user data requests, I / O operations, etc. In addition, this example data center 902 further includes additional host computing systems 914 that do not include distinct virtual machines, but may nonetheless each act as a resource node for one or more tasks being executed for a user. In this example, a node manager module 912 executing on a computing system (not shown) distinct from the host computing systems 914 and 916 is associated with those host computing systems to manage the resource nodes provided by those host computing systems, such as in a manner similar to the node manager modules 908 for the host computing systems 906. The rack support computing system 928 may provide various utility services for other computing systems local to its rack 904 (e.g., long-term program storage, metering, and other monitoring of program execution and / or of non-local block data storage access performed by other computing systems local to the rack, etc.), as well as possibly to other computing systems located in the data center. Each computing system may also have one or more local attached storage devices (not shown), such as to store local copies of programs and / or data created by or otherwise used by the executing programs, as well as various other components.
[0069] This example the data center 902 also includes a computing system 924 that executes a data storage system manager module for the block-based data storage service to assist in managing the availability of non-local block-based data storage to programs executing on resource nodes provided by the host computing systems located within the data center (or optionally on computing systems located in one or more other data centers 934, or other remote computing systems 932 external to the data center). In particular, in this example the data center 902 includes a pool of multiple block-based data storage systems 922, which each have local block-based storage for use in storing one or more volume copies 920. Access to the volume copies 920 is provided over the internal network(s) 918 to programs executing on various resource nodes 910 and 914. As discussed in greater detail elsewhere, a block-based data storage system manager module 924 may provide a variety of services related to providing non-local block data storage functionality, including the management of user accounts (e.g., creation, deletion, billing, etc.); the creation, use and deletion of block data storage volumes and snapshot copies of those volumes; the collection and processing of performance and auditing data related to the use of block data storage volumes and snapshot copies of those volumes; the obtaining of payment from customers or other users for the use of block data storage volumes and snapshot copies of those volumes; etc. In some embodiments, the system manager module 924 may coordinate with the node manager modules 912, 908 to manage use of volumes by programs executing on associated resource nodes, while in other embodiments the node manager modules may not be used to manage such volume use. In addition, in other embodiments, one or more system manager modules 924 may be structured in other manners, such as to have multiple instances of the system manager executing in a single data center (e.g., to share the management of non-local block data storage by programs executing on the resource nodes provided by the host computing systems located within the data center), and / or such as to have at least some of the functionality of a system manager module being provided in a distributed manner by software executing on some or all of the server block data storage systems 922 (e.g., in a peer-to-peer manner, without any separate centralized system manager module on a computing system 924).
[0070] In this example, the various host computing systems, server block data storage systems, and computing systems are interconnected via one or more internal networks 918 of the data center, which may include various networking devices (e.g., routers, switches, gateways, etc.) that are not shown. In addition, the internal networks 918 are connected to an external network 930 (e.g., the Internet or another public data network) in this example, and the data center 902 may further include one or more optional devices (not shown) at the interconnect between the data center and an external network (e.g., network proxies, load balancers, network address translation devices, etc.). In this example, the data center 902 is connected via the external network 930 to one or more other data centers 934 that each may include some or all of the computing systems and storage systems illustrated with respect to data center 902, as well as other remote computing systems 932 external to the data center. The other computing systems 932 may be operated by various parties for various purposes, such as by the operator of the data center or third parties (e.g., customers of the program execution service and / or of the block data storage service). In addition, one or more of the other computing systems may be archival storage systems (e.g., as part of a remote network-accessible storage service) with which the block data storage service may interact, such as under control of one or more archival manager modules (not shown) that execute on the one or more other computing systems or instead on one or more computing systems of the data center, as described in greater detail elsewhere. Furthermore, while not illustrated here, in at least some embodiments, at least some of the server data storage systems may further be interconnected with one or more other networks or other connection mediums, such as a high-bandwidth connection over which the storage systems may share volume data (e.g., for purposes of replicating copies of volumes and / or maintaining consistency between primary and mirror copies of volumes), with such a high-bandwidth connection not being available to the various host computing systems in at least some such embodiments.
[0071] It will be appreciated that the example of FIG. 9 has been simplified for the purposes of explanation, and that the number and organization of host computing systems, server block data storage systems and other devices may be much larger than what is depicted in FIG. 9. For example, as one illustrative embodiment, there may be thousands of computing systems per data center, with at least some of those computing systems being host computing systems that may each host fifteen virtual machines or more, and / or with some of those computing systems being block-based data storage systems that may each store several volume copies. If each hosted virtual machine executes one program, a data center may execute tens of thousands of program copies at one time. Furthermore, hundreds or thousands (or more) of volumes may be stored on the server block data storage systems, depending on the number of server storage systems, size of the volumes, and number of mirror copies per volume. It will be appreciated that in other embodiments, other numbers of computing systems, programs and volumes may be used.
[0072] An environment such as that illustrated with respect to FIG. 9 can be used to provide and manage resources shared among various customers. In one embodiment, a virtualized storage system can be provided using a number of data servers, each having a number of storage devices (e.g., storage disks) attached thereto. The storage system can expose the storage to the customers as a Web service, for example. Customers then can submit Web services requests, or other appropriate requests or calls, to allocate storage on those servers and / or access that storage from the instances provisioned for those customers. In certain embodiments, a user is able to access the data volumes of these storage devices as if those storage devices are conventional block devices. Since the data volumes will appear to the customer instances as if each volume is a disk drive or similar block device, the volumes can be addressed with offsets, lengths, and other such conventional block device aspects. Further, such a system can provide what will be referred to herein as “read after write” consistency, wherein data is guaranteed to be able to be read from the data as soon as the data is written to one of these data volumes. Such a system can provide relatively low latency, such as latencies less than about ten milliseconds. Such a system thus in many ways functions as a traditional storage area network (SAN), but with improved performance and scalability.
[0073] Using a management system as illustrated in FIG. 9, for example, a customer can make a Web service call into an appropriate API of a Web service layer of the system to provision a data volume and attach that volume to a data instance for that customer. The management system can be thought of as residing in a control plane, or control environment, with the data volumes and block storage devices residing in a separate data plane, or data environment. The traffic and operations of the cloud provider network may broadly be subdivided into two categories in various embodiments: control plane operations carried over a logical control plane and data plane operations carried over a logical data plane. While the data plane represents the movement of user data through the distributed computing system, the control plane represents the movement of control signals through the distributed computing system. The control plane generally includes one or more control plane components distributed across and implemented by one or more control servers. Control plane traffic generally includes administrative operations, such as system configuration and management (e.g., resource placement, hardware capacity management, diagnostic monitoring, system state information). The data plane includes customer resources that are implemented on the cloud provider network (e.g., computing instances, containers, block storage volumes, databases, file storage). Data plane traffic generally includes non-administrative operations such as transferring customer data to and from the customer resources. Certain control plane components (e.g., tier one control plane components such as the control plane for a virtualized computing service) are typically implemented on a separate set of servers from the data plane servers, while other control plane components (e.g., tier two control plane components such as analytics services) may share the virtualized servers with the data plane, and control plane traffic and data plane traffic may be sent over separate / distinct networks.
[0074] In one example, a customer with at least one provisioned instance can call a “CreateVolume” or similar API, via Web services, which enables the customer to specify the amount of storage to be allocated, such as a value between 1 GB and 1 TB, in 1 GB increments. Components of the control plane, such as a system manager module, can call into the data plane to allocate the desired amount of storage from the available resources, and can provide the customer with an identifier for the data volume. In some embodiments, the customer then can call an “Attach Volume” or similar API, wherein the customer provides values for parameters such as an instance identifier, a volume identifier, and a device name, depending on factors such as the operating system of the instance, using a scheme that the operating system provides for hard drives and similar storage devices, as from inside the instance there is no apparent difference, from at least a functionality and naming point of view, from a physical hard drive. Once the customer has attached the data volume to a provisioned instance, the customer can cause various functionality to be performed, such as to build a file system, use as raw storage for a data system, or any other such activity that would normally be performed with a conventional storage device. When the customer no longer requires the data volume, or for any other appropriate reason, the customer can call a “Detatch Volume” or similar API, which can cause the association of the instance to that volume to be removed. In some embodiments, the customer can then attach a new instance or perform any of a number of other such activities. Since the data volume will fail independently of the instances in some embodiments, the customer can attach a volume to a new instance if a currently associated instance fails.
[0075] FIG. 10 illustrates a logical arrangement of a set of general components of an example computing device 1000. In this example, the device includes a processor 1002 for executing instructions that can be stored in a memory device or element 1004. As would be apparent to one of ordinary skill in the art, the device can include many types of memory, data storage, or non-transitory computer-readable storage media, such as a first data storage for program instructions for execution by the processor 1002, a separate storage for images or data, a removable memory for sharing information with other devices, etc. The device typically will include some type of display element 1006, such as a touch screen or liquid crystal display (LCD), although devices such as portable media players might convey information via other means, such as through audio speakers. As discussed, the device in many embodiments will include at least one input element 1008 able to receive conventional input from a user. This conventional input can include, for example, a push button, touch pad, touch screen, wheel, joystick, keyboard, mouse, keypad, or any other such device or element whereby a user can input a command to the device. In some embodiments, however, such a device might not include any buttons at all, and might be controlled only through a combination of visual and audio commands, such that a user can control the device without having to be in contact with the device. In some embodiments, the computing device 1000 of FIG. 10 can include one or more network interface or communication elements or components 1010 for communicating over various networks, such as a Wi-Fi, Bluetooth, RF, wired, or wireless communication systems. The device in many embodiments can communicate with a network, such as the Internet, and may be able to communicate with other such devices. The device will also include one or more power components 1012, such as power cords, power ports, batteries, wirelessly powered or rechargeable receivers, and the like.
[0076] Example environments discussed herein for implementing aspects in accordance with various embodiments are primarily Web-based, as relate to Web services and cloud computing environments, but it should be appreciated that, although a Web-based environment is used for purposes of explanation, different environments may be used, as appropriate, to implement various embodiments. Client devices used to interact with various embodiments can include any appropriate device operable to send and receive requests, messages, or information over an appropriate network and convey information back to a user of the device. Examples of such client devices include personal computers, smart phones, handheld messaging devices, laptop computers, set-top boxes, personal data assistants, electronic book readers, and the like. The network can include any appropriate network, including an intranet, the Internet, a cellular network, a local area network, or any other such network or combination thereof. Components used for such a system can depend at least in part upon the type of network and / or environment selected. Protocols and components for communicating via such a network are well known and will not be discussed herein in detail. Communication over the network can be enabled by wired or wireless connections, and combinations thereof.
[0077] It should be understood that there can be several application servers, layers, or other elements, processes, or components, which may be chained or otherwise configured, which can interact to perform tasks as discussed and suggested herein. As used herein the term “data store” refers to any device or combination of devices capable of storing, accessing, and retrieving data, which may include any combination and number of data servers, databases, data storage devices, and data storage media, in any standard, distributed, or clustered environment. The application server can include any appropriate hardware and software for integrating with the data store as needed to execute aspects of one or more applications for the client device, handling a majority of the data access and business logic for an application. The application server provides access control services in cooperation with the data store, and is able to generate content such as text, graphics, audio, and / or video to be transferred to the user, which may be served to the user by the Web server in the form of HTML, XML, or another appropriate structured language in this example. The handling of all requests and responses, as well as the delivery of content between a client device and a resource, can be handled by the Web server. It should be understood that the Web and application servers are not required and are merely example components, as structured code discussed herein can be executed on any appropriate device or host machine as discussed elsewhere herein.
[0078] A data store can include several separate data tables, databases, or other data storage mechanisms and media for storing data relating to a particular aspect. The data store is operable, through logic associated therewith, to receive instructions from a server, and obtain, update, or otherwise process data in response thereto. In one example, a user might submit a search request for a certain type of item. In this case, the data store might access the user information to verify the identity of the user, and can access the catalog detail information to obtain information about items of that type. The information then can be returned to the user, such as in a results listing on a Web page that the user is able to view via a browser on the user device. Information for a particular item of interest can be viewed in a dedicated page or window of the browser.
[0079] Each server typically will include an operating system that provides executable program instructions for the general administration and operation of that server, and typically will include a non-transitory computer-readable medium storing instructions that, when executed by a processor of the server, allow the server to perform its intended functions. Suitable implementations for the operating system and general functionality of the servers are known or commercially available, and are readily implemented by persons having ordinary skill in the art, particularly in light of the disclosure herein.
[0080] The environment in one embodiment is a distributed computing environment utilizing several computer systems and components that are interconnected via communication links, using one or more computer networks or direct connections. However, it will be appreciated by those of ordinary skill in the art that such a system could operate equally well in a system having fewer or a greater number of components than are described. Thus, the depictions of various systems and services herein should be taken as being illustrative in nature, and not limiting to the scope of the disclosure.
[0081] Various aspects can be implemented as part of at least one service or Web service, such as may be part of a service-oriented architecture. Services such as Web services can communicate using any appropriate type of messaging, such as by using messages in extensible markup language (XML) format and exchanged using an appropriate protocol such as SOAP (derived from the “Simple Object Access Protocol”). Processes provided or executed by such services can be written in any appropriate language, such as the Web Services Description Language (WSDL). Using a language such as WSDL allows for functionality such as the automated generation of client-side code in various SOAP frameworks.
[0082] Most embodiments utilize at least one network that would be familiar to those skilled in the art for supporting communications using any of a variety of commercially-available protocols, such as TCP / IP, FTP, UPnP, NFS, and CIFS. The network can be, for example, a local area network, a wide-area network, a virtual private network, the Internet, an intranet, an extranet, a public switched telephone network, an infrared network, a wireless network, and any combination thereof.
[0083] In embodiments utilizing a Web server, the Web server can run any of a variety of server or mid-tier applications, including HTTP servers, FTP servers, CGI servers, data servers, Java servers, and business application servers. The server(s) also may be capable of executing programs or scripts in response requests from user devices, such as by executing one or more Web applications that may be implemented as one or more scripts or programs written in any programming language, such as Java®, C, C# or C++, or any scripting language, such as Perl, Python, or TCL, as well as combinations thereof. The server(s) may also include database servers, including without limitation those commercially available from Oracle®, Microsoft®, Sybase®, and IBM®.
[0084] The environment can include a variety of data stores and other memory and storage media as discussed above. These can reside in a variety of locations, such as on a storage medium local to (and / or resident in) one or more of the computers or remote from any or all of the computers across the network. In a particular set of embodiments, the information may reside in a storage-area network (“SAN”) familiar to those skilled in the art. Similarly, any necessary files for performing the functions attributed to the computers, servers, or other network devices may be stored locally and / or remotely, as appropriate. Where a system includes computerized devices, each such device can include hardware elements that may be electrically coupled via a bus, the elements including, for example, at least one central processing unit (CPU), at least one input device (e.g., a mouse, keyboard, controller, touch screen, or keypad), and at least one output device (e.g., a display device, printer, or speaker). Such a system may also include one or more storage devices, such as disk drives, optical storage devices, and solid-state storage devices such as random access memory (“RAM”) or read-only memory (“ROM”), as well as removable media devices, memory cards, flash cards, etc.
[0085] Such devices also can include a computer-readable storage media reader, a communications device (e.g., a modem, a network card (wireless or wired), an infrared communication device, etc.), and working memory as described above. The computer-readable storage media reader can be connected with, or configured to receive, a computer-readable storage medium, representing remote, local, fixed, and / or removable storage devices as well as storage media for temporarily and / or more permanently containing, storing, transmitting, and retrieving computer-readable information. The system and various devices also typically will include a number of software applications, modules, services, or other elements located within at least one working memory device, including an operating system and application programs, such as a client application or Web browser. It should be appreciated that alternate embodiments may have numerous variations from that described above. For example, customized hardware might also be used and / or particular elements might be implemented in hardware, software (including portable software, such as applets), or both. Further, connection to other computing devices such as network input / output devices may be employed.
[0086] Storage media and other non-transitory computer readable media for containing code, or portions of code, can include any appropriate media known or used in the art, including storage media and communication media, such as but not limited to volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data, including RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the a system device. Based on the disclosure and teachings provided herein, a person of ordinary skill in the art will appreciate other ways and / or methods to implement the various embodiments.
[0087] The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. It will, however, be evident that various modifications and changes may be made thereunto without departing from the broader spirit and scope of the invention as set forth in the claims.
Claims
1. A computer-implemented method, comprising:providing, from a first provider instance to a client device, a manifest including instructions for accessing and rendering one or more content segments associated with requested content and including state information associated with a playback session;maintaining, by the client device, the state information as the client device consumes the one or more content segments;responsive to a failover from the first provider instance to a second provider instance, receiving, at the second provider instance from the client device, the state information;generating, by the second provider instance and based on the state information, an updated manifest by adding an instruction to access a respective content segment or deleting an instruction to access a respective content segment of the one or more content segments; andproviding, from a second provider instance, the updated manifest.
2. The computer-implemented method of claim 1, wherein a proxy layer is positioned between the client device and the second provider instance, further comprising:receiving the state information, at the proxy layer, from the client device; andproviding the state information to the second provider instance.
3. The computer-implemented method of claim 1, further comprising:receiving a manifest update request from the client device;identifying the state information embedded within the manifest update request; andvalidating a signature associated with the manifest update request.
4. The computer-implemented method of claim 1, wherein the first provider instance and the second provider instance execute in at least one of a different region or on different underlying hardware.
5. The computer-implemented method of claim 1, further comprising:receiving, for a connection between the first provider instance and the client device, health information;determining, based at least on the health information, a metric associated with the first provider instance is below a threshold; andreceiving, based at least on the determination, a failover notification.
6. The computer-implemented method of claim 1, wherein the state information includes at least one of supplemental content identification, supplemental content location, supplemental content selection criteria, counter data, a media sequence, or beacon data.
7. The computer-implemented method of claim 1, further comprising:selecting a template associated with the manifest, the template including one or more markers for insertion of content segments;selecting a primary content segment for inclusion within the manifest;selecting a secondary content segment for inclusion within the manifest; andgenerating the manifest, based at least, on the template, primary content segment, and secondary content segment.
8. The computer-implemented method of claim 7, wherein the secondary content segment is selected, based at least, on one or more properties of a user associated with the client device.
9. The computer-implemented method of claim 5, wherein a health monitor associated with the health information executes on underlying hardware that is different from the first provider instance and the second provider instance.
10. A system, comprising:at least one processor; andmemory including instructions that, when executed by the at least one processor, cause the system to:provide, from a first provider instance, a manifest including instructions for accessing and rendering one or more content segments associated with requested content and including state information associated with a playback session;maintain, by a client device, the state information as the client device consumes the one or more content segments;responsive to a failover from the first provider instance to a second provider instance, receive, at the second provider instance from the client device, the state information;generate, by the second provider instance and based at least on the state information, an updated manifest by adding an instruction for accessing a respective content segment or deleting an instruction to access a respective content segment of the one or more content segments; andprovide, from a second provider instance, the updated manifest.
11. The system of claim 10, wherein a proxy layer is positioned between the client device and the second provider instance and the instructions when executed further cause the system to:receive the state information, at the proxy layer, from the client device; andprovide the state information to the second provider instance.
12. The system of claim 10, wherein the instructions when executed further cause the system to:receive a manifest update request;identify the state information embedded within the manifest update request; andvalidate a signature associated with the manifest update request.
13. The system of claim 10, wherein the first provider instance and the second provider instance execute in at least one of a different region or on different underlying hardware.
14. The system of claim 10, wherein the instructions when executed further cause the system to:select a template associated with the manifest, the template including one or more markers for insertion of content segments;select a primary content segment for inclusion within the manifest;select a secondary content segment for inclusion within the manifest; andgenerate the manifest, based at least, on the template, primary content segment, and secondary content segment.
15. The system of claim 10, wherein the state information includes at least one of supplemental content identification, supplemental content location, supplemental content selection criteria, counter data, a media sequence, or beacon data.
16. A non-transitory computer-readable storage medium storing instructions that, when executed by a processor of a computing device, cause the computing device to:provide, from a first provider instance, a manifest including instructions for accessing and rendering one or more content segments associated with requested content and including state information associated with a playback session;maintain, by a client device, the state information as the client device consumes the one or more content segments;responsive to a failover from the first provider instance to a second provider instance, receive, at the second provider instance from the client device, the state information;generate, by the second provider instance and based at least on the state information, an updated manifest by adding an instruction for accessing a respective content segment or deleting an instruction to access a respective content segment of the one or more content segments; andprovide, from a second provider instance, the updated manifest.
17. The non-transitory computer-readable storage medium of claim 16, wherein the instructions when executed further cause the computing device to:receive a manifest update request from the client device;identify the state information embedded within the manifest update request; andvalidate a signature associated with the manifest update request.
18. The non-transitory computer-readable storage medium of claim 16, wherein the first provider instance and the second provider instance execute in at least one of a different region or on different underlying hardware.
19. The non-transitory computer-readable storage medium of claim 16, wherein the instructions when executed further cause the computing device to:select a template associated with the manifest, the template including one or more markers for insertion of content segments;select a primary content segment for inclusion within the manifest;select a secondary content segment for inclusion within the manifest; andgenerate the manifest, based at least, on the template, primary content segment, and secondary content segment.
20. The non-transitory computer-readable storage medium of claim 16, wherein the state information includes at least one of supplemental content identification, supplemental content location, supplemental content selection criteria, counter data, a media sequence, or beacon data.
Citation Information
Patent Citations
Network-Initiated Content Streaming Control
US20140379871A1
Live Manifest Update
US20160112484A1
Systems And Methods For Advertising Continuity
US20170280181A1
Dynamic verification of playback of media assets at client device
US20180343505A1
Improved Adaptive Bitrate Streaming Of Live Content with Manifest Update Push Notification or Long Poll
US20190222879A1
