Method and apparatus for space efficient inter-process communications
    1.
    发明授权
    Method and apparatus for space efficient inter-process communications 失效
    空间有效的进程间通信的方法和装置

    公开(公告)号:US5881286A

    公开(公告)日:1999-03-09

    申请号:US797928

    申请日:1997-02-12

    CPC分类号: G06F9/544

    摘要: A computer-implemented method and apparatus in a computer system for inter-process communication. A first procedure allocates a first buffer in a first memory space shared by the first procedure (e.g. a client process) and a second procedure (e.g. a kernel or server process). The first procedure then marshals arguments for communicating with the second procedure in the first buffer. The first procedure indicates that a message for the second procedure is being passed and passes a first reference to the first buffer in the first memory space to the second procedure. The second procedure detects the indication of the message by the first procedure. The second procedure then references the first buffer and copies the arguments contained in the first buffer into a temporary buffer. The second procedure can then deallocate the first buffer. In implemented embodiments of the present invention, inter-process communication is more efficient because the first buffer is deallocated upon receipt of the communication by the second process.

    摘要翻译: 一种用于进程间通信的计算机系统中的计算机实现的方法和装置。 第一过程在第一过程(例如客户端进程)和第二过程(例如内核或服务器进程)共享的第一存储器空间中分配第一缓冲器。 然后,第一个过程编组参数以与第一个缓冲区中的第二个过程进行通信。 第一个过程指示正在传递第二个过程的消息,并将第一个引用传递给第一个存储器空间中的第一个缓冲区到第二个过程。 第二个过程通过第一个过程来检测消息的指示。 然后,第二个过程引用第一个缓冲区,并将包含在第一个缓冲区中的参数复制到临时缓冲区中。 第二个过程可以释放第一个缓冲区。 在本发明的实施方式中,由于在通过第二处理接收到通信后第一缓冲器被解除分配,所以进程间通信更有效率。

    Remote procedure calling using an existing descriptor mechanism
    2.
    发明授权
    Remote procedure calling using an existing descriptor mechanism 失效
    远程过程调用使用现有的描述符机制

    公开(公告)号:US06170018A

    公开(公告)日:2001-01-02

    申请号:US08563155

    申请日:1995-11-27

    IPC分类号: G06F1563

    CPC分类号: G06F9/547 Y10S707/99938

    摘要: Doors are implemented in an existing operating system by using a novel adaptation of existing data structures and procedures which represent and control data files of the operating system. A door is represented by a file descriptor and is managed by existing mechanisms of an operating system, such as the Unix operating system, which are also used to manage files. A door is represented by a door node, which is a novel extension of the conventional vnode structure which in turn is used in conventional operating systems to represent the state of a computer resource, e.g., a data file. A door node is adapted such that most conventional file access and control procedures, e.g., procedures open( ) and close( ), can be used to access and control door with minimal adaptation. A door node is formed by appending fields which are specific to a door node's representation of the state of a door to fields of the door node which are analogous to the fields of a vnode, which represents the state of a resource and which has a conventional structure. Thus, the fields of a door node which precede the fields specific to the representation of the state of a door are of the size, location, and format of analogous fields in a conventional vnode. A client process obtains a file descriptor which identifies a door by supplying the name of the door to the operating system.

    摘要翻译: 门通过使用现有数据结构和程序的新颖改编来实现现有的操作系​​统,这些数据结构和过程表示和控制操作系统的数据文件。 门由文件描述符表示,并由操作系统的现有机制(如Unix操作系统)进行管理,这些操作系统也用于管理文件。 门由门节点表示,门节点是传统的vnode结构的新颖的扩展,传统的vnode结构又在常规的操作系统中用于表示计算机资源(例如数据文件)的状态。 门节点被适配成使得大多数传统的文件访问和控制过程,例如程序open()和close()可以用于以最小的适应来访问和控制门。 门节点是通过将门节点对门状态的表示特定的字段附加到门节点的字段,其类似于表示资源的状态的vnode的字段,并且具有常规 结构体。 因此,在特定于门状态表示的场之前的门节点的场是具有常规vnode中的类似场的大小,位置和格式。 客户端进程通过向操作系统提供门的名称来获得识别门的文件描述符。

    Method and apparatus for space-efficient inter-process communication
    3.
    发明授权
    Method and apparatus for space-efficient inter-process communication 失效
    节省空间的进程间通信的方法和装置

    公开(公告)号:US06131126A

    公开(公告)日:2000-10-10

    申请号:US13968

    申请日:1998-01-27

    CPC分类号: G06F9/544

    摘要: A computer-implemented method and apparatus in a computer system for inter-process communication. A first procedure allocates a first buffer in a first memory space shared by the first procedure (e.g. a client process) and a second procedure (e.g. a kernel or server process). The first procedure then marshals arguments for communicating with the second procedure in the first buffer. The first procedure indicates that a message for the second procedure is being passed and passes a first reference to the first buffer in the first memory space to the second procedure. The second procedure detects the indication of the message by the first procedure. The second procedure then references the first buffer and copies the arguments contained in the first buffer into a temporary buffer. The second procedure can then deallocate the first buffer. In implemented embodiments of the present invention, inter-process communication is more efficient because the first buffer is deallocated upon receipt of the communication by the second process.

    摘要翻译: 一种用于进程间通信的计算机系统中的计算机实现的方法和装置。 第一过程在第一过程(例如客户端进程)和第二过程(例如内核或服务器进程)共享的第一存储器空间中分配第一缓冲器。 然后,第一个过程编组参数以与第一个缓冲区中的第二个过程进行通信。 第一个过程指示正在传递第二个过程的消息,并将第一个引用传递给第一个存储器空间中的第一个缓冲区到第二个过程。 第二个过程通过第一个过程来检测消息的指示。 然后,第二个过程引用第一个缓冲区,并将包含在第一个缓冲区中的参数复制到临时缓冲区中。 第二个过程可以释放第一个缓冲区。 在本发明的实施方式中,由于在通过第二处理接收到通信后第一缓冲器被解除分配,所以进程间通信更有效率。

    Apparatus and method for loading objects from a primary memory hash index
    4.
    发明授权
    Apparatus and method for loading objects from a primary memory hash index 有权
    从主存储器散列索引加载对象的装置和方法

    公开(公告)号:US06324637B1

    公开(公告)日:2001-11-27

    申请号:US09374158

    申请日:1999-08-13

    申请人: Graham Hamilton

    发明人: Graham Hamilton

    IPC分类号: G06F1200

    CPC分类号: G06F17/30949

    摘要: A method of loading objects from primary memory includes the step of creating hash values for listed objects to create a hash index specifying a set of hash values. The hash index is loaded into primary memory to form a primary memory hashed index object directory. A calculated hash value is derived for an invoked object. The calculated hash value is matched with a hash value in the primary memory hashed index object directory. In response to this matching operation, an object corresponding to the calculated hash value is loaded into primary memory.

    摘要翻译: 从主存储器加载对象的方法包括为列出的对象创建哈希值以创建指定一组哈希值的哈希索引的步骤。 哈希索引被加载到主内存中以形成主内存散列索引对象目录。 为调用的对象导出计算的散列值。 计算的哈希值与主内存散列索引对象目录中的哈希值相匹配。 响应于该匹配操作,将与计算出的散列值对应的对象加载到主存储器中。

    System and method for automatic configuration of home network computers
    5.
    发明授权
    System and method for automatic configuration of home network computers 失效
    家庭网络计算机自动配置的系统和方法

    公开(公告)号:US5852722A

    公开(公告)日:1998-12-22

    申请号:US986298

    申请日:1997-12-08

    申请人: Graham Hamilton

    发明人: Graham Hamilton

    摘要: A distributed computer network comprising of unconfigured network home client computers, and at least one autoconfiguration server. The network may also include sales servers and local service provider servers. The home network client computer determines on power on time if it possesses the requisite configuration information. If the requisite configuration information is lacking, the home network client computer sends a configuration request along with client computer identifying information to the autoconfiguration server. On receiving the configuration request from a home network client computer, the autoconfiguration server uses the client identifying information to determine the local service provider information and client computer specific data. The autoconfiguration server determines the local service provider information by looking up a directory of local service providers, the directory being stored on the autoconfiguration server or on some local service provider server. The autoconfiguration server determines the client computer specific data by accessing a database containing client computer information for each home network client computer, the database being stored either on the autoconfiguration server itself or on some sales server. The client computer specific data is stored in the database at time of sale/purchase/shipment of the home network computer to the user. The local service provider information and the client computer specific data is then downloaded to the requesting home network client computer. The home network client computer uses the configuration information downloaded by the autoconfiguration server to configure itself and establish connection to the local service provider.

    摘要翻译: 包括未配置的网络家庭客户端计算机和至少一个自动配置服务器的分布式计算机网络。 该网络还可以包括销售服务器和本地服务提供商服务器。 家庭网络客户端计算机如果具有必要的配置信息,则确定通电时间。 如果缺少必要的配置信息,家庭网络客户端计算机将配置请求与客户端计算机识别信息一起发送到自动配置服务器。 在从家庭网络客户端计算机接收配置请求时,自动配置服务器使用客户端识别信息来确定本地服务提供商信息和客户端计算机特定数据。 自动配置服务器通过查找本地服务提供商的目录,存储在自动配置服务器上的目录或某些本地服务提供商服务器来确定本地服务提供商信息。 自动配置服务器通过访问包含每个家庭网络客户端计算机的客户端计算机信息的数据库来确定客户端计算机特定数据,数据库存储在自动配置服务器本身或某些销售服务器上。 客户端计算机特定数据在家庭网络计算机的销售/购买/装运时被存储在数据库中。 然后将本地服务提供商信息和客户端计算机特定数据下载到请求的家庭网络客户端计算机。 家庭网络客户端计算机使用自动配置服务器下载的配置信息进行配置,并建立与本地服务提供商的连接。

    System and method for automatic configuration of home network computers
    6.
    发明授权
    System and method for automatic configuration of home network computers 失效
    家庭网络计算机自动配置的系统和方法

    公开(公告)号:US5826000A

    公开(公告)日:1998-10-20

    申请号:US613432

    申请日:1996-02-29

    申请人: Graham Hamilton

    发明人: Graham Hamilton

    摘要: An automated configuration system and method configures home network client computers, including determining local service provider information, without any user assistance. The distributed computer network includes network home client computers and at least one autoconfiguration server. When the home network client computer is powered on it determines whether it possesses the requisite configuration information. If not, the home network client computer sends a configuration request along with client computer identifying information to the autoconfiguration server. The autoconfiguration server uses the client identifying information to determine a local service provider information and client computer specific data. The autoconfiguration server determines the local service provider information by looking up a directory of local service providers, the directory being stored on the autoconfiguration server or on another server. The autoconfiguration server determines the client computer specific data by accessing a database containing client computer information for each home network client computer, the database being stored either on the autoconfiguration server itself or on another server. The client computer specific data is stored in the database at the time of sale or shipment of the home network computer to the user. Local service provider information and the client computer specific data are downloaded to the requesting home network client computer. The home network client computer uses the configuration information downloaded by the autoconfiguration server to configure itself and establish a connection to the local service provider.

    摘要翻译: 自动配置系统和方法配置家庭网络客户端计算机,包括确定本地服务提供商信息,而无需任何用户帮助。 分布式计算机网络包括网络家庭客户端计算机和至少一个自动配置服务器。 当家庭网络客户端计算机通电时,它确定它是否具有必要的配置信息。 如果不是,家庭网络客户端计算机将配置请求与客户端计算机识别信息一起发送到自动配置服务器。 自动配置服务器使用客户端识别信息来确定本地服务提供商信息和客户端计算机特定数据。 自动配置服务器通过查找本地服务提供商的目录,存储在自动配置服务器上或另一个服务器上的目录来确定本地服务提供商信息。 自动配置服务器通过访问包含每个家庭网络客户端计算机的客户端计算机信息的数据库来确定客户端计算机特定数据,该数据库存储在自动配置服务器本身或另一个服务器上。 客户端计算机特定数据在家庭网络计算机的销售或出货时被存储在数据库中。 本地服务提供商信息和客户端计算机特定数据被下载到请求的家庭网络客户端计算机。 家庭网络客户端计算机使用自动配置服务器下载的配置信息进行配置,并建立与本地服务提供商的连接。

    Method and apparatus for portable object handles that use local caches
    7.
    发明授权
    Method and apparatus for portable object handles that use local caches 失效
    使用本地缓存的便携式对象句柄的方法和装置

    公开(公告)号:US5287507A

    公开(公告)日:1994-02-15

    申请号:US858788

    申请日:1992-03-27

    CPC分类号: G06F12/0875 G06F9/465

    摘要: A method and apparatus for client programs adapted for use in an object oriented, distributed computing system, to have the ability to communicate and use references to objects in a way which improves the benefits of software caching are disclosed. A mechanism is described whereby a network object handle (an augmented object handle) can be used to reference both a server and a local cache manager. When the augmented object handle is transmitted it is automatically updated to use a local cache manager in its target environment (i.e. on the same machine on which the receiving client program resides) if possible.

    摘要翻译: 公开了一种适用于面向对象的分布式计算系统中的客户端程序的方法和装置,其具有以提高软件高速缓存的优点的方式来传达和使用对对象的引用的能力。 描述了一种机制,由此可以使用网络对象句柄(增强对象句柄)来引用服务器和本地高速缓存管理器。 当扩展对象句柄被发送时,如果可能,它被自动更新以在其目标环境(即,在接收客户端程序所在的同一机器上)使用本地高速缓存管理器。

    Supporting method references in the JAVA language
    8.
    发明申请
    Supporting method references in the JAVA language 有权
    支持JAVA语言的方法引用

    公开(公告)号:US20100169869A1

    公开(公告)日:2010-07-01

    申请号:US11271424

    申请日:2005-11-09

    申请人: Graham Hamilton

    发明人: Graham Hamilton

    IPC分类号: G06F9/45

    CPC分类号: G06F9/449 G06F8/41

    摘要: According to one embodiment of the invention, the JAVA compiler is modified so that when the JAVA compiler determines, while compiling source code, that an invocation of a first method, which expects to receive a reference to an object, passes, to the first method, a reference to a second method instead of a reference to an object, the JAVA compiler does not issue a compile-time error as the JAVA compiler normally would. Instead, the JAVA compiler generates compiled code (e.g., byte code) that the JAVA compiler would have generated if the source code had (a) defined a “bridge” class that implemented a method that invoked the second method and (b) contained, in the invocation of the first method, a reference to an object that was an instance of the “bridge” class in the place of the reference to the second method.

    摘要翻译: 根据本发明的一个实施例,修改JAVA编译器,使得当JAVA编译器在编译源代码时确定预期接收到对象的引用的第一方法的调用传递给第一方法 ,引用第二种方法而不是对对象的引用,JAVA编译器不会像JAVA编译器通常会发出编译时错误。 相反,JAVA编译器生成JAVA编译器将生成的编译代码(例如,字节代码),如果源代码(a)定义了实现调用第二种方法的方法和(b)所包含的“桥”类, 在调用第一个方法时,引用一个对象,该对象是“bridge”类的一个实例,代替了第二个方法的引用。

    Method and apparatus for associating metadata attributes with program elements
    9.
    发明授权
    Method and apparatus for associating metadata attributes with program elements 有权
    将元数据属性与程序元素相关联的方法和装置

    公开(公告)号:US07013458B2

    公开(公告)日:2006-03-14

    申请号:US10237886

    申请日:2002-09-09

    IPC分类号: G06F9/45

    CPC分类号: G06F8/423

    摘要: One embodiment of the present invention provides a system for associating metadata attributes with program elements. During operation, the system receives source code containing syntactic elements that specify metadata attributes for program elements, wherein the metadata attributes do not affect program execution. The system then parses the source code to obtain the metadata attributes. Next, the system associates the metadata attributes with corresponding program elements and determines values associated with the metadata attributes. Finally, the system incorporates the metadata attributes, including identifiers for the associated values and the associated program elements, into object code for the program, thereby allowing the metadata attributes to be accessed from the object code. Another embodiment of the present invention provides a system for accessing metadata attributes for program elements from object code through an application programming interface (API).

    摘要翻译: 本发明的一个实施例提供了一种用于将元数据属性与程序元素相关联的系统。 在操作期间,系统接收包含指定程序元素的元数据属性的句法元素的源代码,其中元数据属性不影响程序执行。 然后系统解析源代码以获取元数据属性。 接下来,系统将元数据属性与相应的程序元素相关联,并确定与元数据属性相关联的值。 最后,系统将元数据属性(包括关联值的标识符和关联的程序元素)合并到程序的对象代码中,从而允许从目标代码访问元数据属性。 本发明的另一实施例提供了一种用于通过应用编程接口(API)从目标代码访问程序元素的元数据属性的系统。

    Method and apparatus for improving the performance of object invocation
    10.
    发明授权
    Method and apparatus for improving the performance of object invocation 失效
    提高对象调用性能的方法和装置

    公开(公告)号:US06718550B1

    公开(公告)日:2004-04-06

    申请号:US08670684

    申请日:1996-06-26

    IPC分类号: G06F946

    CPC分类号: G06F9/548

    摘要: Data structures, methods and devices for reducing computing overhead by utilizing different invocation paths for same process and different process invocations in a distributed client/server based computing system are disclosed. In one aspect of the invention, calls to a servant that do not share the same process as the requesting client are routed through a transport layer, and calls to servants that do share the same process as the requesting client are passed directly to the servant, thereby bypassing the transport layer. In another aspect of the invention, distinct remote and local method tables are provided to facilitate intelligent routing of requests. In still another aspect of the invention, the appropriate method table for an object reference is intelligently selected based upon the location of the identified object.

    摘要翻译: 公开了用于通过在基于分布式客户端/服务器的计算系统中的相同过程和不同过程调用的不同调用路径来减少计算开销的数据结构,方法和设备。 在本发明的一个方面,对不与请求客户端共享相同进程的仆人的呼叫被路由通过传输层,并且呼叫具有与请求客户端相同的进程的仆人直接传递给仆人, 从而绕过传输层。 在本发明的另一方面,提供了不同的远程和本地方法表以促进请求的智能路由。 在本发明的另一方面中,基于所识别的对象的位置来智能地选择用于对象引用的适当的方法表。