US7284098B2 - Message based inter-process for high volume data - Google Patents

Message based inter-process for high volume data Download PDF

Info

Publication number
US7284098B2
US7284098B2 US11/346,164 US34616406A US7284098B2 US 7284098 B2 US7284098 B2 US 7284098B2 US 34616406 A US34616406 A US 34616406A US 7284098 B2 US7284098 B2 US 7284098B2
Authority
US
United States
Prior art keywords
memory
processes
data
memory space
shared memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
US11/346,164
Other versions
US20060150195A1 (en
Inventor
Eric Nace
Kestutis Patiejunas
Dario Bazan Bejarano
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microsoft Technology Licensing LLC
Original Assignee
Microsoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Microsoft Corp filed Critical Microsoft Corp
Priority to US11/346,164 priority Critical patent/US7284098B2/en
Publication of US20060150195A1 publication Critical patent/US20060150195A1/en
Application granted granted Critical
Publication of US7284098B2 publication Critical patent/US7284098B2/en
Assigned to MICROSOFT TECHNOLOGY LICENSING, LLC reassignment MICROSOFT TECHNOLOGY LICENSING, LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MICROSOFT CORPORATION
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management

Definitions

  • the invention relates to the field of computing, and more particularly to software platforms designed to enable applications or other processes executing in a shared memory space to exchange data on an a secure and efficient basis.
  • the task of permitting applications or other software processes to exchange or share data on a live basis represents a long-standing challenge in the field of computing science.
  • Word processing, networking, database or data mining and other applications or other processes may need to operate or most optimally operate on a common data set.
  • CRM customer resource management
  • Data mining applications may benefit from dynamic linkage to sales data or supply chain packages.
  • Other software systems may benefit from dynamic data linkage.
  • a fixed memory map may be configured to be shared by a set of processes, with variables from the various processes being mapped into that fixed space. Individual processes may then identify and operate on variables of interest.
  • a static block approach may suffer from certain disadvantages. For one, the caching of any data or variable within a shared memory block can only be done by individual applications, increasing the coding complexity of those applications.
  • the data being exchanged between various processes may differ widely in size, priority and other characteristics. For example, when a large number of processes attempt to access or manipulate another process, reliance upon a unified set of shared variables may prove inefficient or impossible. Timing, caching and other interactive complexities may degrade or overwhelm the system under such an approach as multiple processes contend for different variables or introduce dependencies or other problems.
  • IPC inter-process communication
  • pipes For processes running under the Microsoft WindowsTM NT, 2000 or related operating systems, for example, it is possible to open communication structures referred to as “pipes”, which permit a public channel for communication between processes.
  • problems or limitations may remain.
  • such pipes created at the operating system level may not persist after the participating processes terminate.
  • such pipes permit data to be communicated between processes, the data transmitted via the pipe does not persist after it is sent. Maintaining a cache or other structure may therefore be difficult or impossible.
  • the bandwidth required to transmit a given set of data may scale linearly with the size of the data, which may degrade the performance of video, database or other bandwidth-dependent processes. Other problems exist.
  • the invention overcoming these and other problems in the art relates in one regard to a system and method for interprocess communications, in which individual processes register a shared memory space on a dynamic basis.
  • Processes may communicate with each other or with remote entities via the resulting effective data channel, with caching and other features supported by the shared memory scheme.
  • Processes at start up may register a unique memory block to a memory manager in an administrative shared memory space.
  • the memory manager in the administrative shared memory may use a heap management algorithm such as a buddy system or other allocation algorithm to allocate memory to processes.
  • a communications engine may map a logical address for the memory block to physical memory within its address space on a dynamic basis.
  • processes requesting data may begin to receive the data stream by redirection of a pointer or other memory locator to the assigned memory block, data channel transmission does not scale in transmission time or bandwidth according to the size of the data requested.
  • the caching for the communications engine and other processes may be managed by memory managers in the administrative shared memory block as a byproduct of generic memory allocation. Because only the communications engine and a single other process will only ever share any one registered shared memory block and because data is managed in a coherent manner overall, the resulting communications platform as well as individual processes are consequently easier to debug, and the potential for memory corruption is reduced.
  • the invention may provide application programming interfaces (APIs) to create another level of data integrity since this may keep the communication engine or other process from writing directly to a shared memory block.
  • APIs application programming interfaces
  • An API may also allow processes to exchange data, but may not necessarily rely upon or execute at the operating system level of a host machine.
  • FIG. 1 illustrates a fixed shared memory scheme, according to a known architecture.
  • FIG. 2 illustrates an architecture in which interprocess communications may be supported, according to an embodiment of the invention.
  • FIG. 3 illustrates an example of computer code which may implement calls to processes, according to an embodiment of the invention.
  • FIG. 4 illustrates a flowchart of a setup or rendezvous phase of overall interprocess communication, according to an embodiment of the invention.
  • FIG. 5 illustrates a flowchart of a communications phase of overall interprocess communication, according to an embodiment of the invention.
  • FIG. 2 illustrates an architecture in which an interprocess communications platform according to an embodiment of the invention may operate.
  • a shared memory space 104 may be accessed by a global set of processes 102 a , 102 b . . . containing an arbitrary number of software applications, threads, objects, modules, routines or other executing or executable processes.
  • the shared memory space 104 may be or include the logical or physical memory space of a microprocessor or other logical or programmable device, or of a collection of clients or other resources, such as a network address space.
  • each process in the set of processes 102 a , 102 b . . . may have at least one memory block in a set of memory blocks 114 a , 114 b . . . uniquely assigned or mapped to it.
  • the set of processes 102 a , 102 b . . . may also communicate with an administrative memory 106 .
  • the administrative memory 106 may reside in a named address block separate from shared memory space 104 or be otherwise protected to prevent overflows, overwrites or other corruption of the contents of administrative memory 106 .
  • the architecture as shown may also include a communications engine 108 communicating with each process 102 a , 102 b . . . and corresponding memory block 114 a , 114 b . . . as well as with administrative memory 106 .
  • the communications engine 108 may also in embodiments as illustrated communicate with a network 110 , which may be or include for instance, a local area network (LAN), wide area network (WAN), metropolitan area network (MAN), the Internet, or other local or remote network resources.
  • LAN local area network
  • WAN wide area network
  • MAN metropolitan area network
  • the Internet or other local or remote network resources.
  • Communications engine 108 may in one regard mediate the exchange of data between any process in the set of processes 102 a , 102 b . . . with one or more other processes in the same global set of processes, with other processes or network requests located in or received from network 110 , or with clients or entities elsewhere.
  • Communications engine 108 may in embodiments be or include resources separate or independent from any underlying operating system under which the set of processes 102 a , 102 b . . . may run.
  • Communications engine 108 may coordinate and service interprocess communication requests on a dynamic basis, in conjunction with administrative shared memory 106 , the shared memory space 104 and other resources. According to the invention in one regard, the communications engine 108 may generate the administrative memory 106 itself upon initiation or at other times.
  • communications engine 108 may configure and instantiate a set of memory management objects 118 a , 118 b . . . in the administrative memory 106 .
  • the set of memory management objects 118 a , 118 b . . . may execute in the context of communications engine 108 and/or the context of the set of processes 102 a , 102 b . . . to manage communications in and via the shared memory space 104 .
  • Communications engine 108 and the set of processes 102 a , 102 b . . . may dynamically allocate memory blocks 114 a , 114 b . . .
  • a unique memory manager from the set of memory managers 118 a , 118 b . . . may be assigned to each process in the set of processes 102 a , 102 b . . . , and/or to each memory block in the set of memory blocks 114 a , 114 b . . . , to reduce the chance of corruption and memory contention in the shared memory space 104 .
  • the set of memory managers 118 a , 118 b and the remaining running processes in the set of processes 102 a , 102 b . . . may terminate access to and release the memory block or blocks within memory blocks 114 a , 114 b . . . which had been locked by the terminating process.
  • that process may communicate with administrative memory 106 in a rendezvous or setup phase.
  • the requesting process within the set of processes 102 a , 102 b . . . may request the creation or allocation of a memory block within the set of memory blocks 114 a , 114 b . . . in the shared memory space 104 . If the administrative memory space 106 is locked, full or otherwise unable to provide access, the requesting process in the set of processes 102 a , 102 b . . . may enter a wait state or otherwise delay the rendezvous process.
  • the requesting process may place a lock on that portion of shared memory space 104 to install or initiate a new memory block in the set of memory blocks 114 a , 114 b . . . That newly allocated memory block in the set of memory blocks 114 a , 114 b . . . associated with the requesting process may be configured and managed by a unique memory manager in the set of memory managers 118 a , 118 b . . . resident in administrative memory 106 .
  • Other data 116 related to the newly-generated shared memory block in the set of memory blocks 114 a , 114 b . . . may also be loaded into administrative memory 106 , which data may include for instance file handles, variables, address offset or other memory mapping data and other information related to the requesting process in the set of processes 102 a , 102 b . . . and its corresponding memory block.
  • the requesting process in the set of processes 102 a , 102 b . . . may communicate with and operate on its corresponding memory block in the set of memory blocks 114 a , 114 b . . . to read and write data, such as variables, arrays, tables or other content.
  • the communications engine 108 may or may not register its own shared memory block, but may typically request that the set of memory managers 118 a , 188 b . . . in administrative memory 106 dynamically grow or contract memory blocks within the set of memory blocks 114 a , 114 b . . . on a global basis depending on the demands and communication activity of active processes in the set of processes 102 a , 102 b . . . Individual processes in the set of processes 102 a , 102 b . . . may themselves also dynamically grow or contract the memory blocks within the set of memory blocks 114 a , 114 b . . . registered to them based on communication needs.
  • Communications engine 108 may access and duplicate any files, handles, variables, memory mapping or other data from administrative shared memory 106 to support coherent communications between the set of processes 102 a , 102 b . . . or other resources. With access to address translation, memory mapping or other data for each process in the set of processes 102 a , 102 b . . . , the set of memory managers 118 a , 118 b . . . in administrative memory 106 may ensure coherency in the set of memory blocks 114 a , 114 b . . . The communications engine 108 working with the set of memory managers 118 am 118 b . . . in administrative memory 106 may reduce or manage dependencies between data or processes, as well as reduce memory contention or data corruption in the overall shared memory space 104 .
  • the set of memory managers 118 a , 118 b in administrative memory 106 may provide an interface to the shared memory space 104 through various mechanisms, which may include for instance presenting APIs or dynamic link library (dll) hooks or other access points to the set of processes 102 a , 102 b . . . Using those APIs, dlls or other interfaces, each process in the set of processes 102 a , 102 b . . . may generate a call to initiate a session with another process in the set of processes 102 a , 102 b . . . , with a process in network 110 , or other local or remote processes as mediated through the communications engine 108 .
  • APIs or dynamic link library (dll) hooks or other access points to the set of processes 102 a , 102 b . . .
  • dll dynamic link library
  • FIG. 3 An example of computer code generating a call to initiate a session is illustrated in FIG. 3 .
  • a message-based session may be initiated by a process in the set of processes 102 a , 102 b . . . or other entity via communications engine 108 , administrative memory 106 and other resources.
  • communications engine 108 an example of computer code generating a call to initiate a session.
  • specific languages, routines or other code characteristics are illustrated, it will be appreciated that different types of code or instruction may be used.
  • FIG. 4 Aspects of overall communications processing according to an embodiment of the invention is illustrated in FIG. 4 , including a rendezvous or setup phase.
  • processing may begin.
  • the communications engine 108 or a process in the set of processes 102 a , 102 b . . . or other entity may initiate an attempt to access administrative memory 106 .
  • a determination may be made whether administrative memory 106 is locked. If the administrative memory 106 is locked, processing may proceed to step 408 , in which the process in the set of processes 102 a , 102 b . . . , communications engine 108 or other entity may enter a wait state, and then return to step 404 .
  • step 410 the process in the set of processes 102 a , 102 b . . . , communications engine 108 or other requesting entity may place a lock on the administrative memory 106 to register a block or other unit of memory.
  • the API, dll or other interface into which the requesting process or other entity calls may support or perform some or all tasks described as being executed by that process or entity.
  • a new or newly registered memory block within the set of memory blocks 114 a , 114 b . . . may be secured or generated (if not preexisting) by administrative memory 106 and other resources.
  • steps 414 handles to notification events, such as file openings or others, variables and other data related to the newly generated memory block in the set of memory blocks 114 a , 114 b . . . and its associated process may be generated.
  • step 416 handles and other data associated with that process in the set of processes 102 a , 102 b . . . and the corresponding memory block may be loaded or stored in administrative shared memory 106 .
  • a flag may be set in administrative memory 106 o r elsewhere that the new memory block in the set of memory blocks 114 a , 114 b . . . is registered.
  • the communications engine 108 may be signaled that the newly registered process in the set of processes 102 a , 102 b . . . may be available for interprocess communication.
  • step 422 handles, variables and other data associated with the new memory block in the set of memory blocks 114 a , 114 b . . . may be cached or duplicated by communications engine 108 or other resources.
  • a memory manager in the set of memory management objects 118 a , 118 b . . . may be assigned to the newly generated memory block within the set of memory blocks 114 a , 114 b . . . .
  • step 426 the administrative memory 106 may be unlocked.
  • processing may end, repeat, return to a prior point or take other action.
  • processing may begin.
  • the communications engine 108 a process in the set of processes 102 a , 102 b . . . or another entity may request a memory block or sub-block from one of the memory management objects in the set of memory management objects 118 a , 118 b . . . to effectuate a communications channel.
  • a determination may be made whether one or more memory block or sub-block in the set of memory blocks 114 a , 114 b . . . is available.
  • step 506 determines whether there is no memory block or sub-block available. If the determination in step 506 is that there is no memory block or sub-block available, processing may proceed to step 508 in which an out of memory error may be returned to communications engine 108 process or elsewhere. In step 510 , an error message may likewise be communicated to the initiating process or elsewhere.
  • step 506 processing may proceed to step 512 in which the initiating process, communications engine 108 or other entity may populate that open block or sub-block with data to be communicated to a destination process.
  • step 514 the initiating process, communications engine 108 or other entity may generate or populate a location memory block within administrative memory 106 , which may be or include a memory block recording the relative address of the block or sub-block which has been populated with process data to be transferred.
  • the communications engine 108 may signal the destination process that a communications event has been requested.
  • the communications engine 108 , destination process or other entity may load the location memory block in administrative memory 106 .
  • the API, dll or other interface into which the requesting or destination process or other entity calls may support or perform some or all tasks described as being executed by that process or entity.
  • the API, dll or other interfaces may for example interface with the set of memory management objects 118 a , 118 b . . . in administrative memory 106 to effectuate various memory and communications tasks.
  • step 520 the logical address of the block or sub-block which has been populated with process source data to be transferred may be mapped to a physical memory address within address space 104 .
  • the communications engine 108 initiating process or other entity may process the data contained within the block or sub-block populated with source data, for instance to read or copy that data or a portion thereof.
  • the block or sub-block populated with source data may be released back to the corresponding memory management object within the set of memory management objects 118 a , 188 b . . . .
  • processing may end, repeat, return to a prior point or take other action.
  • communications engine 108 may assign each memory block in the set of memory blocks 114 a , 114 b . . . to a logical or physical address based on, for example, a structured allocation mechanism, such as a buddy system algorithm or other strict segregated fit or other technique.
  • Buddy system algorithms may for example in embodiments be employed in which a given memory block in the set of memory blocks 114 a , 114 b . . . may receive an assignment of one or both of two adjacent memory segments when a process requests new memory, or at other times.
  • a memory request by a process in the set of processes 114 a , 114 b . . . may be rounded up to the next available size, such as 2 kilobytes, 4 kilobytes, or other sized segments or blocks.
  • a memory block with the set of memory blocks 114 a , 114 b . . . or a segment thereof When a memory block with the set of memory blocks 114 a , 114 b . . . or a segment thereof is released, the buddy of that block may be efficiently recaptured as well, by computation of the offset or other known relation to its associated buddy block or segment.
  • an executing process terminates and releases a block or blocks, or a portion thereof, of the set of memory blocks 114 a , 114 b . . .
  • paired adjacent segments or blocks may be coalesced and returned to an available status within the memory pool managed in the set of memory allocation tables 112 a , 112 b . . . .
  • Other memory management techniques or enhancements such as look-aside tables or other techniques, may also be used.
  • the distribution of memory to each process in the set of processes 102 a , 102 b . . . may done on a dynamic basis, so that memory blocks or the overall memory allocation for each process in the set of processes 102 a , 102 b . . . may grow or shrink over time.
  • Allocation and reallocation of memory in the shared memory space 104 may be triggered by different criteria or events, such as requests or releases by other processes in the set of processes 102 a , 102 b . . . , data accesses by external clients, memory overflow or error conditions, or other events or factors.
  • an individual process in the set of processes 102 a , 102 b . . . may consequently not be able to gain direct access to the memory block of another process, but instead may only access blocks belonging to another process via administrative memory 106 , the set of memory manages 118 a , 118 b . . . , communications engine 108 and other resources.
  • Direct access to other memory blocks would introduce a security risk as well as increase the complexity of the communications infrastructure, since direct contention between processes could ensue.
  • a direct access scheme would likewise reduce system stability and reduce performance, since a write lock condition on a memory block could occur and serialization of access would then be required.
  • an initiating process may create a communications session with that process, for instance by transmitting a message to that destination process. That initiation message may be copied into the memory block of the destination process via communications engine 108 and other resources.
  • interprocess communications may be executed via memory-to-memory copies, which may be a particularly efficient channel.
  • overall memory contention may be significantly reduced, since only two processes may contend for memory lock on one of the set of memory blocks 114 a , 114 b . . . at the same time. More specifically, while a given process may contend with communications engine 108 for access to its associated memory block in the set of memory blocks 114 a , 114 b . . . at the same time, and while another process may contend with communications engine 108 for access to that memory block as a destination, in general two processes in the set of processes 102 a , 102 b . . . themselves never contend for access to the same memory block in the set of memory blocks 114 a , 114 b . . . at the same time. Communication efficiency is therefore enhanced.
  • the invention has generally been describe in terms of a unitary communications engine 108 interacting with a set of memory management objects 118 a , 118 b . . .
  • one or more parts of the communications functions may be executed or distributed in different modules, machines or network locations.
  • the administrative shared memory space 106 in which address translation and other data may be stored may likewise be divided or multiple, as long as logical separation from the shared memory space of executing processes is maintained.
  • the shared memory space 104 in which active processes likewise in embodiments likewise need not be contiguous, or need not be all in the same electronic or other form.
  • Other hardware, software or other resources described as singular may in embodiments be distributed, and similarly in embodiments resources described as distributed may be combined. The scope of the invention is accordingly intended to be limited only by the following claims.

Abstract

An interprocess communications platform enables individual processes to request and exchange data in a shared memory space, mediated by a communications engine. Processes, such as applications or other software running under an operating system or in a network, register to blocks of a shared memory space via an administrative memory space which tracks pointers, handles and other indicators of memory areas populated by individual processes. When one process requests access to a variable, pointer or other data generated by another process, the request is mediated by the communications engine. The communications engine may locate the target data belonging to the other process in the shared memory space, via a lookup of relative addressing in a separate administrative memory space. The communications engine, memory management objects and other resources may then lock the portion of the shared memory space allocated to the target process to permit the requesting process to access the data. Data may therefore be exchange between given processes while maintaining data integrity, and also may be cached in the shared memory space or elsewhere by the communications engine to further increase efficiency. Available memory in the shared memory space may be managed using the so-called buddy system or other heap or other management techniques. No named pipes or similar mechanisms under an operating system need be invoked.

Description

CROSS-REFERENCE TO RELATED APPLICATION
This application is a divisional of application Ser. No. 10/608,337, now issued U.S. Pat. No. 7,124,255 filed on Jun. 30, 2003, from which application priority is thereby claimed.
STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT
Not applicable.
FIELD OF THE INVENTION
The invention relates to the field of computing, and more particularly to software platforms designed to enable applications or other processes executing in a shared memory space to exchange data on an a secure and efficient basis.
BACKGROUND OF THE INVENTION
The task of permitting applications or other software processes to exchange or share data on a live basis represents a long-standing challenge in the field of computing science. Word processing, networking, database or data mining and other applications or other processes may need to operate or most optimally operate on a common data set. For instance, customer resource management (CRM) platforms of a corporation, government or other organization may benefit from enabling transaction data to be updated and synchronized after a customer service representative has updated an account via a call center workstation. Data mining applications may benefit from dynamic linkage to sales data or supply chain packages. Other software systems may benefit from dynamic data linkage.
However, under most operating systems the memory space of various application processes may typically be isolated from, and not by themselves equipped to exchange data with, each other. Permitting individual processes to access, operate on and store common data while maintaining data coherency and avoiding memory contention and other problems may be a non-trivial task. A network or other facility deploying distributed or otherwise interacting software may nevertheless have to provide some mechanism to exchange data on a dynamic basis.
In certain known approaches, for instance the arrangement shown in FIG. 1, a fixed memory map may be configured to be shared by a set of processes, with variables from the various processes being mapped into that fixed space. Individual processes may then identify and operate on variables of interest. However, a static block approach may suffer from certain disadvantages. For one, the caching of any data or variable within a shared memory block can only be done by individual applications, increasing the coding complexity of those applications. Moreover, in network and other applications, the data being exchanged between various processes may differ widely in size, priority and other characteristics. For example, when a large number of processes attempt to access or manipulate another process, reliance upon a unified set of shared variables may prove inefficient or impossible. Timing, caching and other interactive complexities may degrade or overwhelm the system under such an approach as multiple processes contend for different variables or introduce dependencies or other problems.
Operating systems and other higher-level platforms have for their part afforded some solutions to the need for inter-process communication (IPC). For processes running under the Microsoft Windows™ NT, 2000 or related operating systems, for example, it is possible to open communication structures referred to as “pipes”, which permit a public channel for communication between processes. However, difficulties or limitations may remain. For example, such pipes created at the operating system level may not persist after the participating processes terminate. Moreover while such pipes permit data to be communicated between processes, the data transmitted via the pipe does not persist after it is sent. Maintaining a cache or other structure may therefore be difficult or impossible. Moreover, when using named pipes the bandwidth required to transmit a given set of data may scale linearly with the size of the data, which may degrade the performance of video, database or other bandwidth-dependent processes. Other problems exist.
SUMMARY OF THE INVENTION
The invention overcoming these and other problems in the art relates in one regard to a system and method for interprocess communications, in which individual processes register a shared memory space on a dynamic basis. Processes may communicate with each other or with remote entities via the resulting effective data channel, with caching and other features supported by the shared memory scheme. Processes at start up may register a unique memory block to a memory manager in an administrative shared memory space. The memory manager in the administrative shared memory may use a heap management algorithm such as a buddy system or other allocation algorithm to allocate memory to processes. A communications engine may map a logical address for the memory block to physical memory within its address space on a dynamic basis. Because processes requesting data may begin to receive the data stream by redirection of a pointer or other memory locator to the assigned memory block, data channel transmission does not scale in transmission time or bandwidth according to the size of the data requested. The caching for the communications engine and other processes may be managed by memory managers in the administrative shared memory block as a byproduct of generic memory allocation. Because only the communications engine and a single other process will only ever share any one registered shared memory block and because data is managed in a coherent manner overall, the resulting communications platform as well as individual processes are consequently easier to debug, and the potential for memory corruption is reduced. Efficiency is increased because the amount of contention on any shared memory block is again reduced as there at most two processes vying for memory resources (as opposed to N processes and a single shared memory block as is commonly used) and each shared memory block is assigned its own memory manager in administrative shared memory. The invention may provide application programming interfaces (APIs) to create another level of data integrity since this may keep the communication engine or other process from writing directly to a shared memory block. An API may also allow processes to exchange data, but may not necessarily rely upon or execute at the operating system level of a host machine.
BRIEF DESCRIPTION OF THE DRAWINGS
The invention will be described in conjunction with the following drawings, in which like elements are labeled by like numerals and in which:
FIG. 1 illustrates a fixed shared memory scheme, according to a known architecture.
FIG. 2 illustrates an architecture in which interprocess communications may be supported, according to an embodiment of the invention.
FIG. 3 illustrates an example of computer code which may implement calls to processes, according to an embodiment of the invention.
FIG. 4 illustrates a flowchart of a setup or rendezvous phase of overall interprocess communication, according to an embodiment of the invention.
FIG. 5 illustrates a flowchart of a communications phase of overall interprocess communication, according to an embodiment of the invention.
DETAILED DESCRIPTION OF EMBODIMENTS
FIG. 2 illustrates an architecture in which an interprocess communications platform according to an embodiment of the invention may operate. As shown in the illustrated embodiment, a shared memory space 104 may be accessed by a global set of processes 102 a, 102 b . . . containing an arbitrary number of software applications, threads, objects, modules, routines or other executing or executable processes. The shared memory space 104 may be or include the logical or physical memory space of a microprocessor or other logical or programmable device, or of a collection of clients or other resources, such as a network address space.
According to the illustrated embodiment, each process in the set of processes 102 a, 102 b . . . may have at least one memory block in a set of memory blocks 114 a, 114 b . . . uniquely assigned or mapped to it. The set of processes 102 a, 102 b . . . may also communicate with an administrative memory 106. In embodiments, the administrative memory 106 may reside in a named address block separate from shared memory space 104 or be otherwise protected to prevent overflows, overwrites or other corruption of the contents of administrative memory 106.
The architecture as shown may also include a communications engine 108 communicating with each process 102 a, 102 b . . . and corresponding memory block 114 a, 114 b . . . as well as with administrative memory 106. The communications engine 108 may also in embodiments as illustrated communicate with a network 110, which may be or include for instance, a local area network (LAN), wide area network (WAN), metropolitan area network (MAN), the Internet, or other local or remote network resources.
Communications engine 108 may in one regard mediate the exchange of data between any process in the set of processes 102 a, 102 b . . . with one or more other processes in the same global set of processes, with other processes or network requests located in or received from network 110, or with clients or entities elsewhere. Communications engine 108 may in embodiments be or include resources separate or independent from any underlying operating system under which the set of processes 102 a, 102 b . . . may run. Communications engine 108 may coordinate and service interprocess communication requests on a dynamic basis, in conjunction with administrative shared memory 106, the shared memory space 104 and other resources. According to the invention in one regard, the communications engine 108 may generate the administrative memory 106 itself upon initiation or at other times.
When the administrative shared memory 106 is operating, communications engine 108 may configure and instantiate a set of memory management objects 118 a, 118 b . . . in the administrative memory 106. The set of memory management objects 118 a, 118 b . . . may execute in the context of communications engine 108 and/or the context of the set of processes 102 a, 102 b . . . to manage communications in and via the shared memory space 104. Communications engine 108 and the set of processes 102 a, 102 b . . . may dynamically allocate memory blocks 114 a, 114 b . . . or partitions of those blocks as needed through the set of memory managers 118 a, 118 b . . . in administrative memory 106. In embodiments, a unique memory manager from the set of memory managers 118 a, 118 b . . . may be assigned to each process in the set of processes 102 a, 102 b . . . , and/or to each memory block in the set of memory blocks 114 a, 114 b . . . , to reduce the chance of corruption and memory contention in the shared memory space 104.
When a process within the set of processes 102 a, 102 b . . . terminates on a planned or unplanned basis, the set of memory managers 118 a, 118 b and the remaining running processes in the set of processes 102 a, 102 b . . . may terminate access to and release the memory block or blocks within memory blocks 114 a, 114 b . . . which had been locked by the terminating process.
More specifically, when a given process in the set of processes 102 a, 102 b . . . is initiated, in embodiments that process may communicate with administrative memory 106 in a rendezvous or setup phase. During that phase, the requesting process within the set of processes 102 a, 102 b . . . may request the creation or allocation of a memory block within the set of memory blocks 114 a, 114 b . . . in the shared memory space 104. If the administrative memory space 106 is locked, full or otherwise unable to provide access, the requesting process in the set of processes 102 a, 102 b . . . may enter a wait state or otherwise delay the rendezvous process. When a block within shared memory space 104 becomes available, the requesting process may place a lock on that portion of shared memory space 104 to install or initiate a new memory block in the set of memory blocks 114 a, 114 b . . . That newly allocated memory block in the set of memory blocks 114 a, 114 b . . . associated with the requesting process may be configured and managed by a unique memory manager in the set of memory managers 118 a, 118 b . . . resident in administrative memory 106.
Other data 116 related to the newly-generated shared memory block in the set of memory blocks 114 a, 114 b . . . may also be loaded into administrative memory 106, which data may include for instance file handles, variables, address offset or other memory mapping data and other information related to the requesting process in the set of processes 102 a, 102 b . . . and its corresponding memory block. When configuration is complete, the requesting process in the set of processes 102 a, 102 b . . . may communicate with and operate on its corresponding memory block in the set of memory blocks 114 a, 114 b . . . to read and write data, such as variables, arrays, tables or other content.
In general, because other data 116 such as file handles, variables, memory mapping and other data for each process in the set of processes 102 a, 102 b . . . is published or available in administrative memory 106, processes in the set of processes 102 a, 102 b . . . or others may generate a session to communicate with each other via the shared memory 104, mediated by communications engine 108.
The communications engine 108 may or may not register its own shared memory block, but may typically request that the set of memory managers 118 a, 188 b . . . in administrative memory 106 dynamically grow or contract memory blocks within the set of memory blocks 114 a, 114 b . . . on a global basis depending on the demands and communication activity of active processes in the set of processes 102 a, 102 b . . . Individual processes in the set of processes 102 a, 102 b . . . may themselves also dynamically grow or contract the memory blocks within the set of memory blocks 114 a, 114 b . . . registered to them based on communication needs.
Communications engine 108 may access and duplicate any files, handles, variables, memory mapping or other data from administrative shared memory 106 to support coherent communications between the set of processes 102 a, 102 b . . . or other resources. With access to address translation, memory mapping or other data for each process in the set of processes 102 a, 102 b . . . , the set of memory managers 118 a, 118 b . . . in administrative memory 106 may ensure coherency in the set of memory blocks 114 a, 114 b . . . The communications engine 108 working with the set of memory managers 118 am 118 b . . . in administrative memory 106 may reduce or manage dependencies between data or processes, as well as reduce memory contention or data corruption in the overall shared memory space 104.
Because individual processes in the set of processes 102 a, 102 b . . . are not required to attempt to synchronize memory activity but instead may rely upon session-based exchanges via communications engine 108 and the set of memory managers 118 a, 118 b . . . executing in administrative memory 106, the coding or testing requirements of those processes may be reduced.
The set of memory managers 118 a, 118 b in administrative memory 106 may provide an interface to the shared memory space 104 through various mechanisms, which may include for instance presenting APIs or dynamic link library (dll) hooks or other access points to the set of processes 102 a, 102 b . . . Using those APIs, dlls or other interfaces, each process in the set of processes 102 a, 102 b . . . may generate a call to initiate a session with another process in the set of processes 102 a, 102 b . . . , with a process in network 110, or other local or remote processes as mediated through the communications engine 108.
An example of computer code generating a call to initiate a session is illustrated in FIG. 3. As shown in that figure, a message-based session may be initiated by a process in the set of processes 102 a, 102 b . . . or other entity via communications engine 108, administrative memory 106 and other resources. Although specific languages, routines or other code characteristics are illustrated, it will be appreciated that different types of code or instruction may be used.
Aspects of overall communications processing according to an embodiment of the invention is illustrated in FIG. 4, including a rendezvous or setup phase. In step 402, processing may begin. In step 404, the communications engine 108 or a process in the set of processes 102 a, 102 b . . . or other entity may initiate an attempt to access administrative memory 106. In step 406, a determination may be made whether administrative memory 106 is locked. If the administrative memory 106 is locked, processing may proceed to step 408, in which the process in the set of processes 102 a, 102 b . . . , communications engine 108 or other entity may enter a wait state, and then return to step 404.
If the determination in step 406 is that administrative 106 is not locked, in step 410 the process in the set of processes 102 a, 102 b . . . , communications engine 108 or other requesting entity may place a lock on the administrative memory 106 to register a block or other unit of memory. It may be noted in one regard that in embodiments, the API, dll or other interface into which the requesting process or other entity calls may support or perform some or all tasks described as being executed by that process or entity.
In step 412, a new or newly registered memory block within the set of memory blocks 114 a, 114 b . . . may be secured or generated (if not preexisting) by administrative memory 106 and other resources. In step 414, handles to notification events, such as file openings or others, variables and other data related to the newly generated memory block in the set of memory blocks 114 a, 114 b . . . and its associated process may be generated. In step 416, handles and other data associated with that process in the set of processes 102 a, 102 b . . . and the corresponding memory block may be loaded or stored in administrative shared memory 106.
In step 418, a flag may be set in administrative memory 106 o r elsewhere that the new memory block in the set of memory blocks 114 a, 114 b . . . is registered. In step 420, the communications engine 108 may be signaled that the newly registered process in the set of processes 102 a, 102 b . . . may be available for interprocess communication.
In step 422, handles, variables and other data associated with the new memory block in the set of memory blocks 114 a, 114 b . . . may be cached or duplicated by communications engine 108 or other resources. In step 424, a memory manager in the set of memory management objects 118 a, 118 b . . . may be assigned to the newly generated memory block within the set of memory blocks 114 a, 114 b . . . . In step 426, the administrative memory 106 may be unlocked. In step 428, processing may end, repeat, return to a prior point or take other action.
Aspects of overall communications processing according to an embodiment of the invention is illustrated in FIG. 5, including process-to-process communications and other actions. In step 502, processing may begin. In step 504, the communications engine 108, a process in the set of processes 102 a, 102 b . . . or another entity may request a memory block or sub-block from one of the memory management objects in the set of memory management objects 118 a, 118 b . . . to effectuate a communications channel. In step 506, a determination may be made whether one or more memory block or sub-block in the set of memory blocks 114 a, 114 b . . . is available. If the determination in step 506 is that there is no memory block or sub-block available, processing may proceed to step 508 in which an out of memory error may be returned to communications engine 108 process or elsewhere. In step 510, an error message may likewise be communicated to the initiating process or elsewhere.
If the determination in step 506 is that a memory block or sub-block is available, processing may proceed to step 512 in which the initiating process, communications engine 108 or other entity may populate that open block or sub-block with data to be communicated to a destination process. In step 514, the initiating process, communications engine 108 or other entity may generate or populate a location memory block within administrative memory 106, which may be or include a memory block recording the relative address of the block or sub-block which has been populated with process data to be transferred.
In step 516, the communications engine 108 may signal the destination process that a communications event has been requested. In step 518, the communications engine 108, destination process or other entity may load the location memory block in administrative memory 106. It may be noted in one regard that in embodiments, the API, dll or other interface into which the requesting or destination process or other entity calls may support or perform some or all tasks described as being executed by that process or entity. In embodiments, the API, dll or other interfaces may for example interface with the set of memory management objects 118 a, 118 b . . . in administrative memory 106 to effectuate various memory and communications tasks.
In step 520, the logical address of the block or sub-block which has been populated with process source data to be transferred may be mapped to a physical memory address within address space 104. In step 522, the communications engine 108, initiating process or other entity may process the data contained within the block or sub-block populated with source data, for instance to read or copy that data or a portion thereof. In step 524, the block or sub-block populated with source data may be released back to the corresponding memory management object within the set of memory management objects 118 a, 188 b . . . . In step 526, processing may end, repeat, return to a prior point or take other action.
According to embodiments of the invention, communications engine 108, set of memory management objects 118 a, 118 b . . . and other resources may assign each memory block in the set of memory blocks 114 a, 114 b . . . to a logical or physical address based on, for example, a structured allocation mechanism, such as a buddy system algorithm or other strict segregated fit or other technique. Buddy system algorithms may for example in embodiments be employed in which a given memory block in the set of memory blocks 114 a, 114 b . . . may receive an assignment of one or both of two adjacent memory segments when a process requests new memory, or at other times. In embodiments a memory request by a process in the set of processes 114 a, 114 b . . . may be rounded up to the next available size, such as 2 kilobytes, 4 kilobytes, or other sized segments or blocks.
When a memory block with the set of memory blocks 114 a, 114 b . . . or a segment thereof is released, the buddy of that block may be efficiently recaptured as well, by computation of the offset or other known relation to its associated buddy block or segment. Conversely, when an executing process terminates and releases a block or blocks, or a portion thereof, of the set of memory blocks 114 a, 114 b . . . , paired adjacent segments or blocks may be coalesced and returned to an available status within the memory pool managed in the set of memory allocation tables 112 a, 112 b . . . . Other memory management techniques or enhancements, such as look-aside tables or other techniques, may also be used. The distribution of memory to each process in the set of processes 102 a, 102 b . . . may done on a dynamic basis, so that memory blocks or the overall memory allocation for each process in the set of processes 102 a, 102 b . . . may grow or shrink over time. Allocation and reallocation of memory in the shared memory space 104 may be triggered by different criteria or events, such as requests or releases by other processes in the set of processes 102 a, 102 b . . . , data accesses by external clients, memory overflow or error conditions, or other events or factors.
According to the interprocess communications architecture of the invention in one regard, an individual process in the set of processes 102 a, 102 b . . . may consequently not be able to gain direct access to the memory block of another process, but instead may only access blocks belonging to another process via administrative memory 106, the set of memory manages 118 a, 118 b . . . , communications engine 108 and other resources. Direct access to other memory blocks would introduce a security risk as well as increase the complexity of the communications infrastructure, since direct contention between processes could ensue. A direct access scheme would likewise reduce system stability and reduce performance, since a write lock condition on a memory block could occur and serialization of access would then be required.
According to embodiments of the invention, when an individual process in the set of processes 102 a, 102 b . . . desires to initiate communication with another process, that initiating process may create a communications session with that process, for instance by transmitting a message to that destination process. That initiation message may be copied into the memory block of the destination process via communications engine 108 and other resources. In the instance where both the initiating and destination processes are located on the same client machine or other shared resource, interprocess communications may be executed via memory-to-memory copies, which may be a particularly efficient channel.
According to the invention in another regard, overall memory contention may be significantly reduced, since only two processes may contend for memory lock on one of the set of memory blocks 114 a, 114 b . . . at the same time. More specifically, while a given process may contend with communications engine 108 for access to its associated memory block in the set of memory blocks 114 a, 114 b . . . at the same time, and while another process may contend with communications engine 108 for access to that memory block as a destination, in general two processes in the set of processes 102 a, 102 b . . . themselves never contend for access to the same memory block in the set of memory blocks 114 a, 114 b . . . at the same time. Communication efficiency is therefore enhanced.
The foregoing description of the invention is illustrative, and modifications in configuration and implementation will occur to persons skilled in the art. For instance, while the invention has generally been described in terms of a single or unitary shared memory space, in embodiments multiple shared memory spaces may be accessed or managed, together or independently. Processes accessing those one or more shared memory spaces may each be local to one client or other machine, distributed across a local area network or other network, or communicate remotely, for instance via the Internet, depending on implementation.
Similarly, while the invention has generally been describe in terms of a unitary communications engine 108 interacting with a set of memory management objects 118 a, 118 b . . . , in embodiments one or more parts of the communications functions may be executed or distributed in different modules, machines or network locations. While generally illustrated as a singular or contiguous memory space, the administrative shared memory space 106 in which address translation and other data may be stored may likewise be divided or multiple, as long as logical separation from the shared memory space of executing processes is maintained. The shared memory space 104 in which active processes likewise in embodiments likewise need not be contiguous, or need not be all in the same electronic or other form. Other hardware, software or other resources described as singular may in embodiments be distributed, and similarly in embodiments resources described as distributed may be combined. The scope of the invention is accordingly intended to be limited only by the following claims.

Claims (5)

1. One or more computer readable media with instructions stored thereon for executing a method of managing communication between processes, the method comprising:
uniquely assigning a memory block from a set of memory blocks to a process;
directing a data access request from the processes to the uniquely assigned memory block based on memory management data; and
accessing data in the uniquely assigned memory block.
2. The computer readable media according to claim 1, wherein the method further comprises a step of storing the memory management data in at least an administrative memory, the administrative memory being separate from the shared memory space.
3. The computer readable media according to claim 1, wherein the method further comprises a step of copying data in one memory block to another memory block.
4. The computer readable media according to claim 1, wherein the method further comprises a step of transmitting data from one memory block to a remote destination process.
5. The computer readable media according to claim 1, wherein the method further comprises a step of caching data exchanged between the set of memory blocks.
US11/346,164 2003-06-30 2006-02-03 Message based inter-process for high volume data Expired - Fee Related US7284098B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US11/346,164 US7284098B2 (en) 2003-06-30 2006-02-03 Message based inter-process for high volume data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10/608,337 US7124255B2 (en) 2003-06-30 2003-06-30 Message based inter-process for high volume data
US11/346,164 US7284098B2 (en) 2003-06-30 2006-02-03 Message based inter-process for high volume data

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US10/608,337 Division US7124255B2 (en) 2003-06-30 2003-06-30 Message based inter-process for high volume data

Publications (2)

Publication Number Publication Date
US20060150195A1 US20060150195A1 (en) 2006-07-06
US7284098B2 true US7284098B2 (en) 2007-10-16

Family

ID=33540560

Family Applications (3)

Application Number Title Priority Date Filing Date
US10/608,337 Expired - Fee Related US7124255B2 (en) 2003-06-30 2003-06-30 Message based inter-process for high volume data
US11/346,164 Expired - Fee Related US7284098B2 (en) 2003-06-30 2006-02-03 Message based inter-process for high volume data
US11/467,425 Expired - Fee Related US7299320B2 (en) 2003-06-30 2006-08-25 Message based inter-process for high volume data

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US10/608,337 Expired - Fee Related US7124255B2 (en) 2003-06-30 2003-06-30 Message based inter-process for high volume data

Family Applications After (1)

Application Number Title Priority Date Filing Date
US11/467,425 Expired - Fee Related US7299320B2 (en) 2003-06-30 2006-08-25 Message based inter-process for high volume data

Country Status (1)

Country Link
US (3) US7124255B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10235148B2 (en) * 2005-09-09 2019-03-19 Salesforce.Com, Inc. Systems and methods for exporting, publishing, browsing and installing on-demand applications in a multi-tenant database environment

Families Citing this family (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7921412B1 (en) * 2003-11-26 2011-04-05 Sprint Communications Company L.P. Application monitor system and method
CN100461875C (en) * 2005-10-21 2009-02-11 华为技术有限公司 Method for sharing storage space of mobile terminal and its system
US7475197B1 (en) * 2005-10-25 2009-01-06 Nvidia Corporation Cross process memory management
US7616218B1 (en) * 2005-12-05 2009-11-10 Nvidia Corporation Apparatus, system, and method for clipping graphics primitives
US8719816B2 (en) * 2006-03-14 2014-05-06 University Of Utah Research Foundation Extendable framework for distributed applications and data
KR20080001268A (en) * 2006-06-29 2008-01-03 엘지전자 주식회사 Portable device and method supporting multi operating system
US7774599B2 (en) * 2006-09-15 2010-08-10 Panasonic Corporation Methodologies to secure inter-process communication based on trust
US8352709B1 (en) 2006-09-19 2013-01-08 Nvidia Corporation Direct memory access techniques that include caching segmentation data
US8543792B1 (en) 2006-09-19 2013-09-24 Nvidia Corporation Memory access techniques including coalesing page table entries
US8347064B1 (en) 2006-09-19 2013-01-01 Nvidia Corporation Memory access techniques in an aperture mapped memory space
US8601223B1 (en) 2006-09-19 2013-12-03 Nvidia Corporation Techniques for servicing fetch requests utilizing coalesing page table entries
US20080114962A1 (en) * 2006-10-05 2008-05-15 Holt John M Silent memory reclamation
WO2008040078A1 (en) * 2006-10-05 2008-04-10 Waratek Pty Limited Synchronization with partial memory replication
US8090926B2 (en) * 2006-10-05 2012-01-03 Waratek Pty Ltd. Hybrid replicated shared memory
US8700883B1 (en) 2006-10-24 2014-04-15 Nvidia Corporation Memory access techniques providing for override of a page table
US8707011B1 (en) 2006-10-24 2014-04-22 Nvidia Corporation Memory access techniques utilizing a set-associative translation lookaside buffer
US8706975B1 (en) 2006-11-01 2014-04-22 Nvidia Corporation Memory access management block bind system and method
US8533425B1 (en) 2006-11-01 2013-09-10 Nvidia Corporation Age based miss replay system and method
US8504794B1 (en) 2006-11-01 2013-08-06 Nvidia Corporation Override system and method for memory access management
US8607008B1 (en) 2006-11-01 2013-12-10 Nvidia Corporation System and method for independent invalidation on a per engine basis
US8347065B1 (en) * 2006-11-01 2013-01-01 Glasco David B System and method for concurrently managing memory access requests
US8700865B1 (en) 2006-11-02 2014-04-15 Nvidia Corporation Compressed data access system and method
US20100325077A1 (en) * 2007-02-21 2010-12-23 Naoshi Higuchi Computer, operation rule application method and operating system
KR100871587B1 (en) 2007-04-20 2008-12-02 (주)엔텔스 Method and apparatus for controlling the inter-process variable length packet data flow using the shared memory paging techniques
US8073882B2 (en) * 2007-07-11 2011-12-06 Mats Stefan Persson Method, system and computer-readable media for managing software object handles in a dual threaded environment
CN101414339B (en) * 2007-10-15 2012-05-23 北京瑞星信息技术有限公司 Method for protecting proceeding internal memory and ensuring drive program loading safety
US20100333070A1 (en) * 2009-06-26 2010-12-30 Toyota Motor Engineering & Manufacturing North America, Inc. Multiple ECU Software-In-The-Loop Simulation Environment
US8356050B1 (en) * 2011-11-21 2013-01-15 Yahoo! Inc. Method or system for spilling in query environments
US10146545B2 (en) 2012-03-13 2018-12-04 Nvidia Corporation Translation address cache for a microprocessor
US9880846B2 (en) 2012-04-11 2018-01-30 Nvidia Corporation Improving hit rate of code translation redirection table with replacement strategy based on usage history table of evicted entries
US10241810B2 (en) 2012-05-18 2019-03-26 Nvidia Corporation Instruction-optimizing processor with branch-count table in hardware
CN103034544B (en) * 2012-12-04 2015-08-05 杭州迪普科技有限公司 The management method of a kind of User space and kernel state shared drive and device
US20140189310A1 (en) 2012-12-27 2014-07-03 Nvidia Corporation Fault detection in instruction translations
CN103064748A (en) * 2013-01-05 2013-04-24 浪潮电子信息产业股份有限公司 Method for processing communication among multiple processes in Linux system
US10108424B2 (en) 2013-03-14 2018-10-23 Nvidia Corporation Profiling code portions to generate translations
CN104182350B (en) * 2013-05-28 2017-07-21 中国银联股份有限公司 A kind of EMS memory management process and device for including the application of multiple processes
US9015422B2 (en) * 2013-07-16 2015-04-21 Apple Inc. Access map-pattern match based prefetch unit for a processor
GB2542988B (en) * 2015-04-17 2019-11-13 Suunto Oy Embedded computing device comprising processing units interfaced with a shared information space
DE102016106939A1 (en) 2015-04-17 2016-10-20 Suunto Oy Embedded computing device
CN108920276A (en) * 2018-06-27 2018-11-30 郑州云海信息技术有限公司 Linux system memory allocation method, system and equipment and storage medium
CN110704214B (en) * 2019-10-14 2021-05-25 北京京东乾石科技有限公司 Inter-process communication method and device
US11709711B2 (en) * 2020-09-27 2023-07-25 Advanced Micro Devices, Inc. Allocation of memory access bandwidth to clients in an electronic device
CN113010333B (en) * 2021-03-24 2021-10-15 北京中电兴发科技有限公司 Multi-scene inter-process communication method suitable for Linux server cluster

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6341338B1 (en) 1999-02-04 2002-01-22 Sun Microsystems, Inc. Protocol for coordinating the distribution of shared memory
US20020013889A1 (en) 1998-09-28 2002-01-31 Assaf Schuster Distributed shared memory system with variable granularity
US20020053004A1 (en) 1999-11-19 2002-05-02 Fong Pong Asynchronous cache coherence architecture in a shared memory multiprocessor with point-to-point links
US6487644B1 (en) * 1996-11-22 2002-11-26 Veritas Operating Corporation System and method for multiplexed data back-up to a storage tape and restore operations using client identification tags
US20030067913A1 (en) * 2001-10-05 2003-04-10 International Business Machines Corporation Programmable storage network protocol handler architecture
US20030208660A1 (en) 2002-05-01 2003-11-06 Van De Waerdt Jan-Willem Memory region based data pre-fetching
US6757802B2 (en) * 2001-04-03 2004-06-29 P-Cube Ltd. Method for memory heap and buddy system management for service aware networks
US6877048B2 (en) 2002-03-12 2005-04-05 International Business Machines Corporation Dynamic memory allocation between inbound and outbound buffers in a protocol handler

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487644B1 (en) * 1996-11-22 2002-11-26 Veritas Operating Corporation System and method for multiplexed data back-up to a storage tape and restore operations using client identification tags
US20020013889A1 (en) 1998-09-28 2002-01-31 Assaf Schuster Distributed shared memory system with variable granularity
US6341338B1 (en) 1999-02-04 2002-01-22 Sun Microsystems, Inc. Protocol for coordinating the distribution of shared memory
US20020059503A1 (en) 1999-02-04 2002-05-16 Sun Microsystems, Inc. Protocol for coordinating the distribution of shared memory
US20020053004A1 (en) 1999-11-19 2002-05-02 Fong Pong Asynchronous cache coherence architecture in a shared memory multiprocessor with point-to-point links
US6757802B2 (en) * 2001-04-03 2004-06-29 P-Cube Ltd. Method for memory heap and buddy system management for service aware networks
US20030067913A1 (en) * 2001-10-05 2003-04-10 International Business Machines Corporation Programmable storage network protocol handler architecture
US6877048B2 (en) 2002-03-12 2005-04-05 International Business Machines Corporation Dynamic memory allocation between inbound and outbound buffers in a protocol handler
US20030208660A1 (en) 2002-05-01 2003-11-06 Van De Waerdt Jan-Willem Memory region based data pre-fetching

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Dice et al., "Mostly Lock-Free Malloc," pp. 163-174, ACM, Jun. 2002.

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10235148B2 (en) * 2005-09-09 2019-03-19 Salesforce.Com, Inc. Systems and methods for exporting, publishing, browsing and installing on-demand applications in a multi-tenant database environment
US10521211B2 (en) 2005-09-09 2019-12-31 Salesforce.Com, Inc. Systems and methods for exporting, publishing, browsing and installing on-demand applications in a multi-tenant database environment
US11314494B2 (en) 2005-09-09 2022-04-26 Salesforce.Com, Inc. Systems and methods for exporting, publishing, browsing and installing on-demand applications in a multi-tenant database environment
US11704102B2 (en) 2005-09-09 2023-07-18 Salesforce, Inc. Systems and methods for exporting, publishing, browsing and installing on-demand applications in a multi-tenant database environment

Also Published As

Publication number Publication date
US7124255B2 (en) 2006-10-17
US20060150195A1 (en) 2006-07-06
US7299320B2 (en) 2007-11-20
US20040268363A1 (en) 2004-12-30
US20060288174A1 (en) 2006-12-21

Similar Documents

Publication Publication Date Title
US7284098B2 (en) Message based inter-process for high volume data
US6192514B1 (en) Multicomputer system
US5452459A (en) Method and apparatus for allocating server access in a distributed computing environment
US7707179B2 (en) Multiple computer architecture with synchronization
US5734902A (en) Communication system for maintaining data consistency among replicated shared objects
US7584222B1 (en) Methods and apparatus facilitating access to shared storage among multiple computers
US5682530A (en) Hierarchical resource management method
JP4410795B2 (en) Simultaneous access to shared resources
US6466965B1 (en) Centralized affinity maintenance in a workload managed client/server data processing system
US6871350B2 (en) User mode device driver interface for translating source code from the user mode device driver to be executed in the kernel mode or user mode
US6167430A (en) Multicomputer with distributed directory and operating system
US6119118A (en) Method and system for extending file system metadata
CN103530170A (en) System and method for providing hardware virtualization in a virtual machine environment
US20040230972A1 (en) Management of locks in a virtual machine environment
EP0924607A2 (en) Method and apparatus for fast local CORBA object references
US20140143787A1 (en) Methods and apparatus for resource management in cluster computing
US6112281A (en) I/O forwarding in a cache coherent shared disk computer system
JPH07121373A (en) Data processing system and its operating method
JPH1049380A (en) Object locking system and method having high space efficiency
US20130232164A1 (en) Methods and Apparatus for Job State Tracking in Cluster Computing
US20090049153A1 (en) Methods, computer program products, and apparatuses for providing remote client access to exported file systems
JPH03161859A (en) Request control method and access control system
US6424988B2 (en) Multicomputer system
US5386525A (en) System for providing application programs with direct addressability into a shared dataspace
Dias et al. Integrated concurrency-coherency controls for multisystem data sharing

Legal Events

Date Code Title Description
STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

AS Assignment

Owner name: MICROSOFT TECHNOLOGY LICENSING, LLC, WASHINGTON

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MICROSOFT CORPORATION;REEL/FRAME:034543/0001

Effective date: 20141014

FPAY Fee payment

Year of fee payment: 8

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20191016