摘要:
An image display system includes a web server with web pages containing images in a first format. The first format includes a Graphics Interchange Format (GIF), a Joint Photographics Experts Group (JPEG) format and/or a Motion Pictures Experts Group (MPEG) format. A distributed communications system is connected to the web server. A proxy server is connected to the distributed communications system. The proxy server decompresses the first format images. The proxy server converts the first format images to a second format that includes either JPEG or MPEG image formats. The proxy server compresses the second format iamges. A set top box that is connected to the proxy server contains either hardwired circuits or hardware acceleration for quickly decompressing the second format images and for generating image frames. A display that is connected to the set top box allows viewing of the image frames.
摘要:
A computer-implemented method and apparatus for restoring operating systems within a set-top box system. The restoration provides for operating a first operating system in a first memory. An application program is operated in a second memory. The first operating system is stored in a second memory so that a second operating system is loaded into the first memory. When a predetermined condition which is associated with the second operating system is detected, the first operating system is loaded into the first memory in response to the detected predetermined condition. Such a system provides such non-limiting advantages to the set-top box as the ability to robustly recover from errors or anomalies associated with downloading an operating system.
摘要:
A computer-implemented thread is provided for communicating with other threads in a set-top box environment. The thread includes a stack, a thread control block, and a queue object. The thread's stack provides data storage for the thread, and the thread control block is utilized for storing context information related to the thread. The queue object is utilized for providing communications between the thread and another thread. A swap type detector can be provided for detecting a predetermined swap type for when the thread is swapped from the CPU. A register recorder partially stores the CPU state of the thread based upon the detected swap type of the thread. The register recorder also can perform a partial storage of the CPU state of the thread based upon a received interrupt service request.
摘要:
A cache management system for a set top box that improves the loading speed of hypertext markup language (HTML) documents that are provided by web servers through a distributed communications system. The cache management system includes a set top box with a processor and memory that includes cache. A plurality of HTML documents stored in the cache. A cache manager manages the cache and calculates a removal factor for each of the HTML documents. The cache manager removes at least one of the HTML documents based on its removal factor until sufficient room is available for an additional HTML document when a user requests access to the additional HTML document and insufficient cache is available to store the additional HTML document. A table is accessible by the cache manager and is stored in memory of the set top box. The HTML documents are arranged in an ordered list in the table based on the removal factors. The cache manager employs hysteresis when removing the HTML documents from the cache to create room for the additional HTML document when the user requests access to the additional HTML document and insufficient cache is available to store the additional HTML document. The cache manager provides hysteresis by continuing to remove the HTML documents until a predetermined extra amount of the cache is available. The cache manager also continues to remove the HTML documents until available system memory is above a breathing room threshold. The cache manager keeps the maximum number of relevant web pages in cache to maximize loading speed.
摘要:
An improved operating system kernel for a home communication terminal (HCT) includes an event filtering feature (204) which allows threads (A, B) running in the HCT to register interest in events of a particular type, from a particular source, or other desirable criteria. Events occurring in the system (205, 206) are prequalified by the kernel before providing them to individual threads which have registered interest in only certain types of events. By executing a filter in the kernel's context, a thread context switch can be avoided. Events occurring in the system can be matched with events of interest (200a, 200b, 200c) registered by various threads by an efficient comparison operation including a mask field and a code field. Additionally, various thread synchronization mechanisms such as alarms and semaphores can be implemented using a common event object which is integrated onto event queues.
摘要:
An improved graphical manipulation technique for a home communications terminal (HCT) includes a linked-list of commands controlling various video operations in an application specific integrated circuit (ASIC). After each command has been implemented by the ASIC, the ASIC (200) proceeds to the next command without interrupting a host processor (303). Accordingly, the linked-list (302) eliminates the need of the host processor to continually process interrupts at the completion of each instruction. The linked-list command structure aids in intensive video operations including bit block transfers, video capture, and video display.
摘要:
A graphics blending feature for a terminal (200) such as a home communication terminal (HCT) allows an overlay image (301) to be selectively blended with a background image (302) through the use of a chroma key function and one or more alpha control bits (206-208). The chroma key function is used to determine whether the overlay will be completely transparent or not, and the one or more alpha control bits are used to look up a larger alpha value used to blend the overlay and background images. By using small number of alpha control bits to retrieve a larger value for blending, memory requirements per pixel are reduced. The chroma key function may be implemented by comparing each overlay pixel value to a chroma value and, responsive to a match, making the overlay pixel transparent (i.e., no blending occurs). A dithering function is included in various embodiments to smooth out the resulting image.
摘要:
An improved operating system kernel for a home communication terminal (HCT) includes an event filtering feature (204) which allows threads (A, B) running in the HCT to register interest in events of a particular type, from a particular source, or other desirable criteria. Events occurring in the system (205, 206) are prequalified by the kernel before providing them to individual threads which have registered interest in only certain types of events. By executing a filter in the kernel's context, a thread context switch can be avoided. Events occurring in the system can be matched with events of interest (200a, 200b, 200c) registered by various threads by an efficient comparison operation including a mask field and a code field. Additionally, various thread synchronization mechanisms such as alarms and semaphores can be implemented using a common event object which is integrated onto event queues.
摘要:
A system for preprocessing computer programs before downloading them into terminals includes a packager (303) which processes certain information contained in compiled but unlinked programs (307). The packager (303) partially resolves undefined symbols and relocations based on knowledge of a dispatch table (310) in the destination terminal (302) and other information known prior to downloading process. Packager (303) determines sizes of separate code, data dispatch table and temporary symbol areas, incorporates this size information into a header (309d), and transmits a data stream including the header and the aforementioned areas, including partially resolved symbols, to one or more terminals such as home communication terminals (HCTs) in a cable television network. Each receiving terminal (302) extracts the size information and allocates only as much memory as is needed to store each of the separate areas, thus avoiding the need for temporary holding buffer. Receiving terminal thereafter relocates remaining executable instructions to prepare the computer program for execution.
摘要:
A system for preprocessing computer programs before downloading them into terminals includes a packager (303) which processes certain information contained in compiled but unlinked programs (307). The packager (303) partially resolves undefined symbols and relocations based on knowledge of a dispatch table (310) in the destination terminal (302) and other information known prior to downloading process. Packager (303) determines sizes of separate code, data dispatch table and temporary symbol areas, incorporates this size information into a header (309d), and transmits a data stream including the header and the aforementioned areas, including partially resolved symbols, to one or more terminals such as home communication terminals (HCTs) in a cable television network. Each receiving terminal (302) extracts the size information and allocates only as much memory as is needed to store each of the separate areas, thus avoiding the need for temporary holding buffer. Receiving terminal thereafter relocates remaining executable instructions to prepare the computer program for execution.