sentence: the opencable application platform , or ocap , is an operating system layer designed for consumer electronics that connect to a cable television system , the java - based middleware portion of the platform .