发明名称 Method, apparatus and program storage device that provides a user mode device interface
摘要 A method, apparatus and program storage device that provides a user mode device interface for enabling software reuse. The user mode device interface allows device interface requests to be sent and received, including commands and data structures, via socket communication. A device state machine on the client side is implemented in a set of shared functions that can be incorporated by all applications that want to communicate to a particular service provider. The service provider offers the software functions over a user mode device interface via socket communication. The device state machine on the service provider side is embedded in the socket server implementation. The interaction between the state machines on both client and server sides ensures a device interface request is properly handled.
申请公布号 US9176713(B2) 申请公布日期 2015.11.03
申请号 US200511289985 申请日期 2005.11.30
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Chen Chiahong;Ramachandran Radha K.;Song Cheng-Chung
分类号 G06F15/16;G06F9/44 主分类号 G06F15/16
代理机构 Griffiths & Seaton PLLC 代理人 Griffiths & Seaton PLLC
主权项 1. A computing device, comprising: a processor configured to operate an operating system in a user mode and a privileged mode; a user memory coupled to the processor; and a kernel memory coupled to the processor, the kernel memory storing a user mode device interface configured for: storing software functions implemented in the privileged mode,enabling applications running in the user mode to access the software functions implemented in the privileged mode,receiving requests, from a user side object configured for operating in the user mode, to use the software functions implemented in the privileged mode, andperforming, by a server side object configured for operating in the user mode, the request and forwarding a response to the user side object based on the request, wherein: the software functions implemented in the privileged mode are only stored in the kernel memory and are unavailable outside the kernel memory,the user memory is dedicated for storing the applications operating in the user mode,the software functions were previously available to the processor in the privileged mode,the software functions transition to be currently available to the processor in the user mode in response to the requests, such that the software functions are no longer available to the processor in the privileged mode, andthe user mode device interface maintains the software functions without any changes when the software functions transition from being available to the processor in the privileged mode to being available to the processor in the user mode.
地址 Armonk NY US