发明授权
- 专利标题: Operating system application programming interfaces and methods of using operating systems
- 专利标题(中): 操作系统应用编程接口和使用操作系统的方法
-
申请号: US10385381申请日: 2003-03-10
-
公开(公告)号: US07334235B2公开(公告)日: 2008-02-19
- 发明人: Galen C. Hunt , Gerald Cermak , Robert J. Stets, Jr.
- 申请人: Galen C. Hunt , Gerald Cermak , Robert J. Stets, Jr.
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 代理机构: Lee & Hayes, PLLC
- 主分类号: G06F9/46
- IPC分类号: G06F9/46
摘要:
Operating system functions are defined as objects that are collections of data and methods. The objects represent operating system resources. The resource objects can be instantiated and used across process and machine boundaries. Each object has an associated handle that is stored in its private state. When an application requests a resource, it is given a second handle or pseudo handle that corresponds with the handle in the object's private state. The second handle is valid across process and machine boundaries and all access to the object takes place through the second handle. This greatly facilitates remote computing. In preferred embodiments, the objects are COM objects and remote computing is facilitated through the use of Distributed COM (DCOM) techniques. Other embodiments of the invention provide legacy and versioning support by identifying each resource, rather than the overall operating system, with a unique identifier that can specified by an application. Different versions of the same resource have different identifiers. This ensures that applications that need a specific version of a resource can receive that version. This also ensures that an application can specifically request a particular version of a resource by using its unique identifier, and be assured of receiving that resource. Other embodiments of the invention provide legacy support by intercepting calls for operating system functions and transforming those calls into object calls that can be understood by the resource objects. This is accomplished in preferred embodiments by injecting a level of indirection between an application and an operating system.
公开/授权文献
信息查询