|Publication number||US7305658 B1|
|Application number||US 09/850,458|
|Publication date||Dec 4, 2007|
|Filing date||May 7, 2001|
|Priority date||May 7, 2001|
|Publication number||09850458, 850458, US 7305658 B1, US 7305658B1, US-B1-7305658, US7305658 B1, US7305658B1|
|Inventors||Keith S. Hamilton, Steve Jamieson|
|Original Assignee||Microsoft Corporation|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (27), Non-Patent Citations (5), Referenced by (27), Classifications (9), Legal Events (4)|
|External Links: USPTO, USPTO Assignment, Espacenet|
The invention relates generally to activating instances of a component-based software application, and more particularly to a component-based computing system having multiple partitions for providing component addressing/identification and naming spaces.
Computing systems that provide continuous services to a base of users or remote clients have struggled with the task associated with maintaining and operating multiple versions of a set of applications or components as upgrades to existing systems are installed. In the past, installations would need to be made upon a second server, and at some point in time, all new requests for services are routed to the new servers until all pending actions are completed on the server running the older version of the applications. A separate server is typically needed because a component's class ID is set within the binary version of the component at compile time and because the class Ids must be unique within a computing system.
Additionally, some computing systems need to provide functionality to various users depending upon the rights the user has been granted by a directory system. While this additional functionality may be limited to a subset of all users, the majority of the functionality provided by an application is common to most, if not all, users. Current component-based programming systems implement these different sets of functionality using different components. However, developers who wish to simply alter one component to provide the additional functionality to a small subset of users are required to recompile a significant amount of code in order to assign a new class ID to the newly generated component that implements the new functionality.
This has disadvantages. One such disadvantage is that it is inconvenient and expensive in terms of the number of servers required and in the administration of those servers. Another such disadvantage is that it is difficult to update shared components. Another disadvantage is that a test version of an application cannot be executed on the same server as a production version of an application. Therefore improvement are desirable.
In accordance with the present invention, the above and other problems are solved by the following:
In one aspect of the present invention, a method of activating a component in a computing system having a plurality of partitions is described. The method includes receiving a request to activate a component having an object class ID and a partition ID and detecting if the object class ID is contained within a default partition corresponding to the partition ID. If the object class ID is contained within the default partition, an instance of the component in the partition ID is activated. If the object class ID is not contained within the default partition, the method includes detecting if the object class ID is contained within a base partition. If the object class ID is contained in the base partition, an instance of the component in the base partition is activated.
In another aspect of the present invention, a system for activating a component in a computing system having a plurality of partitions is described. The system includes a receive module, a default module, a first activate module, a base module, and a second activate module. The receive module receives a request to activate a component having an object class ID and a partition ID. The default module detects if the object class ID is contained within a default partition corresponding to the partition ID. The first activate module activates an instance of the component in the partition ID if the object class ID is contained within the default partition. The base module detects if the object class ID is contained within a base partition if the object class ID is not contained within the default partition. A second activate module activates an instance of the component in the base partition if the object class ID is contained in the base partition.
The invention may be implemented as a computer process, a computing system, or as an article of manufacture such as a computer program product. The computer program product may be a computer storage medium readable by a computer system and encoding a computer program of instructions for executing a computer process. The computer program product may also be a propagated signal on a carrier readable by a computing system and encoding a computer program of instructions for executing a computer process.
A more complete appreciation of the present invention and its scope may be obtained from the accompanying drawings, that are briefly described below, from the following detailed descriptions of presently preferred embodiments of the invention and from the appended claims.
Referring now to the drawings in which like reference numbers represent corresponding parts throughout:
In the following description of preferred embodiments of the present invention, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. It is understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the present invention.
In general, the present disclosure describes methods, systems, and an article of manufacture for having multiple application partitions on a single machine. Partitions are a logical grouping of applications. A partition is similar to a virtual machine but the partition exists in the application layer. As such, a single server can contain numerous partitions and each partition is independent of one another. Each partition can contain different versions or configurations of components associated with the application software.
Having application partitions allows an application's user-base to be segmented, such that each group of users can execute a specific version or configuration of an application. In addition, partitions allow numerous versions or configurations of an application to reside and execute on the same machine with each version or configuration being separately managed and maintained. For example, an Information Technology group could have separate test, production, and training versions of an application installed on a single machine. An application service provider could host different versions of an application on the same machine.
Referring now to
Those skilled in the art will appreciate that the invention might be practiced with other computer system configurations, including personal computers, server computers, handheld or laptop devices, palm devices, multiprocessor systems, microprocessor-based systems, programmable consumer electronics, network personal computers, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The invention might also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules might be located in both local and remote memory storage devices.
Referring now to
Preferably, the system memory 204 includes read only memory (ROM) 208 and random access memory (RAM) 210. A basic input/output system 212 (BIOS), containing the basic routines that help transfer information between elements within the computing system 200, such as during start-up, is typically stored in the ROM 208.
Preferably, the computing system 200 further includes a secondary storage device 213, such as a hard disk drive, for reading from and writing to a hard disk (not shown), and a compact flash card 214.
The hard disk drive 213 and compact flash card 214 are connected to the system bus 206 by a hard disk drive interface 220 and a compact flash card interface 222, respectively. The drives and cards and their associated computer-readable media provide nonvolatile storage of computer readable instructions, data structures, program modules and other data for the computing system 200.
Although the exemplary environment described herein employs a hard disk drive 213 and a compact flash card 214, it should be appreciated by those skilled in the art that other types of computer-readable media, capable of storing data, can be used in the exemplary system. Examples of these other types of computer-readable mediums include magnetic cassettes, flash memory cards, digital video disks, Bernoulli cartridges, CD ROMS, DVD ROMS, random access memories (RAMs), read only memories (ROMs), and the like.
A number of program modules may be stored on the hard disk 213, compact flash card 214, ROM 208, or RAM 210, including an operating system 226, one or more application programs 228, other program modules 230, and program data 232. A user may enter commands and information into the computing system 200 through an input device 234. Examples of input devices might include a keyboard, mouse, microphone, joystick, game pad, satellite dish, scanner, and a telephone. These and other input devices are often connected to the processing unit 202 through an interface 240 that is coupled to the system bus 206. These input devices also might be connected by any number of interfaces, such as a parallel port, serial port, game port, or a universal serial bus (USB). A display device 242, such as a monitor, is also connected to the system bus 206 via an interface, such as a video adapter 244. The display device 242 might be internal or external. In addition to the display device 242, computing systems, in general, typically include other peripheral devices (not shown), such as speakers, printers, and palm devices.
When used in a LAN networking environment, the computing system 200 is connected to the local network through a network interface or adapter 252. When used in a WAN networking environment, such as the Internet, the computing system 200 typically includes a modem 254 or other means, such as a direct connection, for establishing communications over the wide area network. The modem 254, which can be internal or external, is connected to the system bus 206 via the interface 240. In a networked environment, program modules depicted relative to the computing system 200, or portions thereof, may be stored in a remote memory storage device. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computing systems may be used.
The computing system 200 might also include a recorder 260 connected to the memory 204. The recorder 260 includes a microphone for receiving sound input and is in communication with the memory 204 for buffering and storing the sound input. Preferably, the recorder 260 also includes a record button 261 for activating the microphone and communicating the sound input to the memory 204.
A computing device, such as computing system 200, typically includes at least some form of computer-readable media. Computer readable media can be any available media that can be accessed by the computing system 200. By way of example, and not limitation, computer-readable media might comprise computer storage media and communication media.
Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and that can be accessed by the computing system 200.
Communication media typically embodies computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above should also be included within the scope of computer-readable media. Computer-readable media may also be referred to as computer program product.
There might be any number of ways that an administrator might want to group applications in partitions. For example, the administrator might want a production partition, that contains all the applications that are in production, and a test partition, that contains newer versions of the applications being tested. In addition, an application service provider might want to create a partition for each customer. Applications consist of components, and can be installed into one or more partitions. Only one version of a particular component can exist in an application.
Preferably, programming partitions 330 include at least a default partition 332 and a base partition 334. Of course, multiple default partitions might be included on the server 310. When a client 301-303 attempts to access a component within the server 310, the identity of the client 301-303 is used to select a default partition, such as the default partition 332, from among all of the partitions found within the server 310.
A partition provides a name space and class ID space for the components located within that partition. The name space, however, does not span more than one partition. As such, a component within a first partition may contain a name and unique class ID that is identical to a name and class ID for a component within a second partition even though the two components are completely different.
When a client process attempts to activate a component with a given name and unique class ID, the component activated will correspond to the component within a partition that is identified as the default partition for the client. If the requested component is not present within the default partition, the component activated will be the component having the desired name and class ID within the base partition. Each client 301-303 accessing components on the server 310 will have a default partition 332 selected, based upon the identity of the client 301-303, and a base partition 334. The client 301-303 might also activate a component by expressly specifying the partition to be used in locating the component through the use of a partition moniker.
When an active component on the server 310 needs to activate additional components to complete one or more processing tasks, the component selected for activation uses the identity of the original calling client to determine in which partition to find the component to be selected. While this example embodiment operates within a client-server environment, one skilled in the art will recognize that the use of partitions as disclosed herein is not limited to such a programming environment because the client processes that cause components to be activated according to the present disclosure, as recited within the attached claims, might also be located within the server as 310 well as being located within remote client computing systems 301-303.
The processing performed pursuant to the present disclosure corresponds to the process followed when a component is activated. These components are typically individual object-oriented programming modules and the process of activating a component corresponds to the process of creating an instance of the component that is to be used to provide a function or operation to be performed for a given client 301-303. Once a component has been instantiated and is active, the instance of the component may be called one or more times to perform a desired operation. However, the processing associated with the present disclosure typically concerns the processing performed to identify the component when it is being activated and instantiated, rather than when the already active instance of the component is called a second time.
Preferably, a partition structure includes a base application partition that is unique. All other partitions inherit components from the base application partition. By the term “inherits,” it is meant that all other partitions contain components from the base partition. In other words, the base partition is an extension of the other partitions. If an activation of a component is being performed in a certain partition but the component is not contained within that partition, then the component is activated from the base application partition. The base application partition is where system-wide components are typically installed since users of all partitions and all users who are not mapped to any particular partition will be able to activate them.
The server 310 might also contain one or more additional partitions, identified here as a second partition 410. This second partition 410 is a partition identical to either the default partition 400 or the base partition 420 as these labels are merely applied to any partition on the server 310 to determine which partitions are to be searched according to a particular order when locating a component for activation. As such, the second partition 410 might contain one or more component-based applications 411-412 that might themselves contain one or more programmable components 413-416.
Now consider that this component c3 404 needs to make a series of calls to components identified as “c1”, “c2”, and “c6”, each of which require activation while c3 404 completes its operations. When component c1 is activated through call 502, the server 310 searches the default partition 400 and finds c1 403 within the same application 401. When component c2 is activated through call 503, the server searches the default partition 400 and finds c2 405 within a second application 402. Finally, when component c6 425 is activated through call 504, the server 310 searches the default partition 400 but does not find the component within the default partition 400. Therefore, the server 400 searches the base partition 420 and finds c6 425 within an application 422 on the base partition 420.
When component c1 is to be activated through call 611, the server 310 searches the second partition 410 but does not find the component within the second partition 410. Therefore, the server 310 searches the base partition 420 and finds c1′ 424 within the application 421. When component c2 is activated through call 612, the server 310 again searches the second partition 410 but does not find the component. Again, the server 310 searches the base partition 420 but again does not find c2. As such, a call 612 to activate c2 fails. Finally, when component c6 425 is activated through call 613, the server 310 searches the second partition 410 but does not find the component c6. As in
This activation processing allows different versions of an application to be resident upon the server 310 for activation and execution upon request by clients 301-303,
Additionally, the server might implement multiple versions of an application which permits one group of clients, such as entry-level workers, to perform one set of operations but not a second set of operations in one version of the application while also permitting a second group of clients, such as managers, to perform all of the operations. When a client attempts to activate a component to perform an operation, the identity of the client determines which partition is used, which in turn determines which set of components containing either the reduced or full set of processing functionality is used.
Because a particular object class ID is no longer unique on a server 310, but rather merely unique within a given partition, component IDs must now contain both the previously unique object class ID 702 as well as a partition unique ID 701 that uniquely identifies the partition being used. When these two fields are combined, as shown in
Legacy code will continue to use just this object class ID to identify components that are to be activated. The partition unique ID will merely be provided by the server as shown in
The control module 1001 obtains the identity of the default partition from a partition identity module 1011. This module contains a user ID search module 1012 and a user ID-default partition database 1013 to determine the needed information. The user ID search module 1012 receives a request from the control module 1001 and looks up the ID of the user making the request to activate a component in the database 1013. If a match is found, the corresponding default partition ID is retrieved and returned to the control module 1001 for further processing. If no match is found, either an error or a default value is returned.
In an exemplary embodiment, a server 310 may contain only one base partition that provides a set of components to be used when a requested component is not found within the default partition. Also, the above exemplary embodiment describes using only two partitions, a default and a base partition. One skilled in the art will also recognize that the database may also produce a set of partitions to be checked or an ordered sequence of partitions to be checked to find the desired component to be activated upon location of the first matching object class ID without deviating from the scope and spirit of the present invention as recited within the attached claims.
In the exemplary embodiment, the partition identity module 1011 corresponds to a directory service typically found on networks for providing user ID based configuration and security data. The partition identity module 1011 is typically a centrally located data store that provides the requested information upon request. One skilled in the art will recognize that this database might be located anywhere in the computing system so long as it provides the information needed by the present invention as recited within the attached claims.
The control module 1001 uses the returned information to cause a permit object activation module 1021 to activate an instance of the requested component. The activation module 1021 uses a default partition activation module 1022 to activate an instance of a component using the default partition ID provided by the partition identity module 1011. The activation module 1021 uses a moniker addressed partition activation module 1023 to activate an instance of a component using a partition moniker to specify the partition ID to be used. Finally, The activation module 1021 uses a special object activation module 1024 to activate an instance of a component using any other process such as component aliases, public/private components, and any other type of component activation processing desired.
If the match module 1108 detects that there is not a match for the client ID in the database, operational flow branches “NO” to a return operation 1116. The return operation 1116 returns a default value for a default partition. It is noted that the return module 1116 might return a base partition to be used. In alternative embodiments, if the client ID is not found in the database, the request might fail or access might be denied to the client. The activate operation 1112 activates the component in accordance with the operational flow described in conjunction with
If the default module 1208 detects that the component ID is not in the default partition, operational flow branches “NO” to a base module 1212. The base module 1212 detects if the component ID is in the base partition, for example, base partition 420 of
If the base module 1212 detects that the component ID is not in the base partition, operational flow branches “NO” to a return operation 1216. The return operation 1216 returns a request failed. Operational flow ends at termination point 1218.
The operational flow charts depicted in
The match module 1108 detects that a match has been found for the client ID 301, and operational flow branches “YES” to the get operation 1110. The get operation 1110 gets the corresponding default partition, the first partition 400, for the client 301. The activate component operation 1112 activates the component c3 404 in accordance with the operational flow illustrated in
Referring now to
In a second application example, component c3 404 requests activation of component c1 403. The receive operation 1204 receives the request to activate component c1 403. The default operation 1206 receives the default partition 400 in which to activate the component c1 403. The default module 1208 detects that the component c1 403 is in the default partition 400, and operational flow branches “YES” to the activate operation 1210. The activate operation 1210 activates the component c1 403, and operational flow ends at termination point 1218.
In another application example, component c3 404 requests activation of component c6 425. Operational flow proceeds as described above to the default module 1208. The default module 1208 detects that the component c6 425 is not in the default partition 400, and operational flow branches “NO” to the base module 1212. The base module 1212 detects that the component is in the base partition 420, and operational flow branches “YES” to the activate operation 1214. The activate operation 1214 activates the component c6 425 in the base partition 420, and operational flow ends at termination point 1218.
In another application example, referring to
In another application example, a client 302 request activation of component c3. referring to
The second partition, in contrast, also discloses four components, c1′ 1321, c2′ 1322, c3′ 1323, and c4′ 1324 that each represent four component aliases that also reference the physical class objects c1-c4. For these four component objects, a separate set of component properties are maintained for the aliases within the system component catalog while the class object that is actually instantiated is corresponding the physical class c1-c4. For completeness, a base partition is also shown that contains three component objects, one of which, c1″ 1331, is also an alias component that references the physical class object.
While these examples illustrate the component aliases being located within multiple partitions on a multi-partition computing system, one skilled in the art will recognize that component aliases as recited within the attached claims permits component object aliases to be used within a single partition in addition to multiple partitions and will also recognize that component aliases may be used within computing systems that maintain only a single partition without deviating from the spirit and scope of the claimed invention as recited within the attached claims.
The catalog entry 1401 has a set of data fields, the first two of which are a Component Alias Class ID 1414 and a Unique Component Class ID 1412. The Class ID 1414 corresponds to a class ID used to specify the logical reference to the class ID corresponding to this catalog entry. The Unique Component Class ID 1412 corresponds to a class ID used to specify the physical class ID for the component to be executed when the logical class ID is to be activated. In this particular embodiment, a component object alias is distinguished from an actual component object when these two fields contain references to different class IDs. When the two fields contain the same class ID, the corresponding component object is not an alias. When the two fields do not contain the same class ID, the corresponding component object is a component object alias where the alias is between the alias class ID and its properties and the actual component object class.
One skilled in the art will recognize that other schemes to specify an alias may be used without deviating from the claimed invention as recited within the attached claims. For example, a component object that is not an alias may store a <null> value within the Component Alias Class ID field 1412 rather than the same class ID value found within the Unique Component Class ID field 1414. Similarly, the catalog entry 1401 may expressly maintain a single bit field to indicate whether the component object corresponds to an alias or not. All of these implementation details are within the design options and choices made by one skilled in the art when optimizing the system performance for a particular operating environment.
The catalog entry 1401 also contains a field 1413 that specifies a Unique Component Partition ID in the systems that maintain and utilize multiple partitions as discussed above. The catalog entry 1401 contains a set of one or more component parameters 1414-1416 that are used to specify the run-time operation of the component object. When an alias is created, these values are originally copied from the values maintained for the component object class. These parameter values 1414-1416 are then modified as desired to distinguish the operation of the component object alias from the component object itself. Finally, the catalog entry 1401 includes a field that specifies the Executable Code Module ID that corresponds to the physical reference to the module that contains executable code that is to be used when an instance of the component object is activated.
Four different component parameters 1514-1517 are shown for this catalog entry 1501. First, the component object is specified to be a private component 1514. Private components correspond to components that may only be activated by a component located within the same partition as the component to be activated. These types of components are distinguished from public components which may be activated by any other component.
The second parameter field 1515 contains a parameter specifying that this instance of a component is to use transactions when executed. Within computing systems, such as one that implements the MICROSOFT COM+ run-time operating environment, many such operating parameters are set for a component and implemented at run-time by the system itself. Typically these settings are either enabled or disabled and the parameters maintained within this field indicate which of these parameters are enabled.
The next parameter 1516 in the catalog entry 1501 contains a construction string that is passed to a component object activator for use when an instance of the component object is activated. This construction string permits a set of configuration data to be passed to the component object for use in a particular instance of the object that may wish to be different a other times. For example, the construction string may contain a reference to the IP address or URL to a data store, or database, that is to be used when a particular component establishes a connection between the component and the database. In such a case, a component is typically used to establish and initialize the connection to the database. This component may be identical for all instances of establishing a connection to a given type of database except for the unique reference to the particular database in question. A single component may be used to establish such a connection and an alias be used to establish a connection to given database. The identity of the desired database may be stored within the construction string field 1516 which is passed to the component when activated. The component may use this string to determine the identity of the desired database at run-time using this reference. Any configuration data may be maintained and passed to a component object using this construction string.
The final parameter 1517 illustrated within the catalog entry 1501 contains a reference to the administrative authority needed by the user ID requesting that the component be activated. In this example, a user ID for the component requesting the component activation must be a member of an administrator group. This example uses the types of administrative user groups which may be typically found for user IDs in directory services. Any such of organization of users ID, and similar system security settings, may be used in this operation without deviating from the spirit and scope of the present invention as recited within the attached claims.
The final field 1518 illustrated within the catalog entry 1501 is a reference to a dynamically linked library that contains the executable class object to be used when an instance of the component object is activated. This example field 1518 contains an explicit reference to the .dll file stored on a server that is part of the computing system. Other references to this module may be used without deviating from the spirit and scope of the present invention.
The second catalog entry 1502 for component object alias c1′ possesses all of the above fields that are used to specify a particular instance of component object c1. The component object is an alias as the first two fields contain a reference to component ID c1′ 1521 and c1 1522. In contrast to the example within catalog entry 1501, the component parameters specify this instance to be a public component 1524, specify that transactions are not used 1525, specify a different construction string 1526, and specify that power users 1527 rather than administrators may activate the component object. Finally, the component object catalog entry 1502 specifies that the same .dll file 1528 is used for activating an instance of the component object.
A second component object alias catalog entry 1503 illustrates a second instance of an alias for component c1. This component object alias corresponds to a component object alias within a base partition 1533 and possesses the same parameters 1534-1536 as the prior component object catalog entry 1502 except that all users 1536 may activate this component. Most significantly however, this component object uses a different .dll file 1538 to specify the location of the executable component class used to implement this component object alias. Using these constructs, a component alias may completely change the operating parameters as well as the object class for a given reference to a component. When these features are combined with the use of references to components within different partitions based upon the identity of the user making a request, a client process for two different users may attempt to activate what is logically referenced as the same component object but actually cause two completely different component objects to be activated in which all run-time parameters may be different.
A processing loop created using a set alias property module 1616 and test module 1614 permits these parameters to be modified one at a time until the desired component object alias has been specified. At that time, test module 1614 terminates the operation of the processing loop and a save alias module 1615 stored the updated catalog entry into the system catalog database for use at run-time and the processing ends.
Test module 1713 determines if the requested component object is to be activated. If the test is that the component object is not to be activated, a return error module 1718 generates and returns an appropriate error message that no such component object exists and the processing ends 1702. If test module 1713 determines that the component may be activated, a process component properties module 1717 retrieves the component object properties for the requested component object using the unique component class ID. This module performs any security and other activation processing based upon the parameters valued found within catalog entry for the requested component object.
If all of the parameters are successfully processed, test module 1715 determines if the requested component object refers to a component object alias. If the requested component object is an alias, substitute alias class module 1716 substitutes the actual component class ID stored in the component alias class ID field for the unique component class ID. The requested component is activated by an activate component class module 1716 using the executable module referenced in the executable code module ID field of the catalog entry and the processing ends.
Component c1 1803, being a public component may be activated by a call initiated by a remote component 1806. When a component is designated as a public component, the component may be activated by a component located within any other partition whether the partition is located on server 1801 or any other remote computing system. The component may, if desired, impose other security checks to determine whether the component may be activated. These additional security checks may be based upon ownership of the component, membership within an authorized group or user ID, or similar security protocols typically used to grant and deny access to a computer resource.
In contrast, a private component, such as c3 1804, may only be activated by a call initiated by a component within the same application 1805. An external call 1807 attempting to activate component c3 1804 will fail. Component c3 1804 may only be activated by a call 1805 initiated within its application 1805. This call 1808 may be initiated by a component c1 1803 within the same application 1802.
Similarly, an external call 1812 initiating activation of component c5 1813 is successful if component c5 1813 is a public component. Component c5 1813 may initiate calls to activate component c3′ 1814 and component c7 1815 since all of these components are within a second partition 1816. For the same reasoning discussed above, component c3 1814 may also be activated by an external call and component c7 1815 may only be activated by a call originating in the second partition 1816.
As discussed above, component c5 1813 may activate components in other partitions using either a default/base partition addressing or a partition moniker. When component c5 1813 attempts to activate component c1, the version of component c1 1824 in the base partition 1820 will be used. This activation call 1814 is successful as component c1′ 1824 is a public component. In contrast, an activation call 1817 to component c6 1825 fails as component c6 1825 in the base partition 1820 is a private component not in the same application as calling component c5 1813.
Finally, an external activation call 1821 to component c9 1823, which is a public component, is successful when component c9 1823 is in the base partition 1820. As before, the external activation call 1821 fails if c9 1823 is a private component. In this example, component c9 1823 may initiate successful activation calls 1822-1823 to any component within the base partition 1820.
The control module 1901 obtains the identity of the default partition and the identity of the base partition from a partition identity module 1911. This module contains a user ID search module 1912 and a user ID-default partition database 1913 to determine the needed information. The user ID search module 1912 receives a request from the control module 1901 and looks up the ID of the user making the request to activate a component in the database 1913. If a match is found, the corresponding default partition ID is retrieved and returned to the control module 1901 for further processing. If no match is found, either an error or a default value is returned.
In another embodiment, a server 1910 may contain only one base partition which provides a set of components to be used when a requested component is not found within the default partition. Also, the above embodiment describes using only two partitions, a default and a base partition. One skilled in the art will again recognize that the database may also produce a set of partitions to be checked or an ordered sequence of partitions to be checked to find the desired component to be activated upon location of the first matching object class ID without deviating from the scope and spirit of the present invention as recited within the attached claims.
In the above embodiment, the partition identity module 1911 corresponds to a directory service typically found on networks for providing user ID based configuration and security data. The partition identity module 1911 is typically a centrally located data store that provides the requested information upon request. One skilled in the art will recognize that this database may be located anywhere in the computing system so long as it provides the information needed by the present invention as recited within the attached claims.
The control module 1901 uses the returned information to cause a permit object activation module 1921 to activate an instance of the requested component. The activation module 1921 uses a default partition activation module 1922 to activate an instance of a component using the default partition ID provided by the partition identity module 1911. The permit object activation module 1921 uses a moniker addressed partition activation module 1923 to activate an instance of a component using a partition moniker to specify the partition ID to be used. Finally, the activation module 1921 retrieves a configuration data record 1924 from an Object Activation Configuration database 1925 to determine if the activation of the object requires the use of one or more activators 1926-1928 to activate an instance of a component using a process such as component aliases, public/private components, and any other type of component activation processing desired. The decision to successfully activate a public and private component as discussed above is performed by a public/private activation module 1926. Other activation modules 1927-1928 perform any required processing to implement their respective functions.
Once the request is received, the process, in module 2012, determines the identity of the component to be activated from the identity of the requested class ID using the default partition corresponding to the identity of the calling component and any partition moniker that is part of the activation request. Test module 2013 determines if the corresponding component exists. This test uses the component identified within the default partition, and if not present there, the base partition unless a partition moniker is used. If the requested component does not test, the processing proceeds to an error module 2014 to generate and return a no such object class error message to the calling component before the process ends 2002.
If test module 2013 determines that the requested component exists, the processing obtains the public/private indication data for the requested component in module 2015. Test module 2016 uses the data obtained in module 2015 to determine if the requested component is a public component. If test module 2016 determines that the requested component is a public component, an instance of the component is activated by module 2017 and the process ends 2002.
If test module 2016 determines that the requested component is a private component, test module 2018 determines if the calling component is within the same application as the requested component. If test module 2018 determines that the requested component is within the same application, an instance of the component is activated by module 2017 and the process ends 2002. If test module 2018 determines that the requested component is not within the same application, an error message is generated by error module 2014 before the process ends.
The logical operations of the various embodiments illustrated herein are implemented (1) as a sequence of computer implemented steps or program modules running on a computing system and/or (2) as interconnected logic circuits or circuit modules within the computing system. The implementation is a matter of choice dependent on the performance requirements of the computing system implementing the invention. Accordingly, the logical operations making up the embodiments of the present invention described herein are referred to variously as operations, steps, engines, or modules.
The various embodiments described above are provided by way of illustration only and should not be construed to limit the invention. Those skilled in the art will readily recognize various modifications and changes that may be made to the present invention without following the example embodiments and applications illustrated and described herein, and without departing from the true spirit and scope of the present invention, which is set forth in the following claims.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US5771381||May 28, 1997||Jun 23, 1998||Microsoft Corporation||Method and system for adding configuration files for a user|
|US5941943 *||Jun 17, 1996||Aug 24, 1999||International Business Machines Corporation||Apparatus and a method for creating isolated sub-environments using host names and aliases|
|US5996013||Apr 30, 1997||Nov 30, 1999||International Business Machines Corporation||Method and apparatus for resource allocation with guarantees|
|US6134603||Mar 20, 1998||Oct 17, 2000||Sun Microsystems, Inc.||Method and system for deterministic hashes to identify remote methods|
|US6151700||Oct 20, 1997||Nov 21, 2000||International Business Machines Corporation||Object oriented distributed programming system for computer controlled networks with selective capture of program property data identifying a particular program version|
|US6249836||May 18, 1999||Jun 19, 2001||Intel Corporation||Method and apparatus for providing remote processing of a task over a network|
|US6262726||Oct 9, 1998||Jul 17, 2001||Dell U.S.A., L.P.||Factory installing desktop components for an active desktop|
|US6393491||Apr 26, 1999||May 21, 2002||Sun Microsystems, Inc.||Method and apparatus for dispatch table construction|
|US6457060||Apr 30, 1998||Sep 24, 2002||Openwave Systems Inc.||Method and apparatus for flexibly linking to remotely located content on a network server through use of aliases|
|US6509913||Apr 30, 1998||Jan 21, 2003||Openwave Systems Inc.||Configurable man-machine interface|
|US6512526||Aug 17, 1999||Jan 28, 2003||Dell Usa, L.P.||User specific execution of programs|
|US6523065||Aug 3, 1999||Feb 18, 2003||Worldcom, Inc.||Method and system for maintenance of global network information in a distributed network-based resource allocation system|
|US6542926 *||Jun 10, 1998||Apr 1, 2003||Compaq Information Technologies Group, L.P.||Software partitioned multi-processor system with flexible resource sharing levels|
|US6557068||Dec 22, 2000||Apr 29, 2003||Hewlett-Packard Development Company, L.P.||High speed peripheral interconnect apparatus, method and system|
|US6567974 *||Feb 25, 2000||May 20, 2003||Sun Microsystems, Inc.||Small memory footprint system and method for separating applications within a single virtual machine|
|US6571245||Jan 28, 1999||May 27, 2003||Magically, Inc.||Virtual desktop in a computer network|
|US6578037 *||Jun 7, 2000||Jun 10, 2003||Oracle Corporation||Partitioned access control to a database|
|US6594671 *||Jun 14, 1999||Jul 15, 2003||International Business Machines Corporation||Separating privileged functions from non-privileged functions in a server instance|
|US6687717||May 7, 2001||Feb 3, 2004||Microsoft Corporation||Component aliasing operating within a component-based computing system|
|US6721881||Sep 29, 2000||Apr 13, 2004||Dell Products L.P.||System and method for determining if a display device configuration has changed by comparing a current indicator with a previously saved indicator|
|US6728750||Jun 27, 2000||Apr 27, 2004||International Business Machines Corporation||Distributed application assembly|
|US6751797||Oct 26, 2000||Jun 15, 2004||Bull S.A.||System and method for managing the persistence of EJB components in a directory accessed via LDAP|
|US7024471||Dec 12, 2000||Apr 4, 2006||International Business Machines Corporation||Mechanism to dynamically update a windows system with user specific application enablement support from a heterogeneous server environment|
|US20020004850||Mar 23, 2001||Jan 10, 2002||Krishna Sudarshan||System and method of providing a messaging engine for an enterprise javabeans enabled server to achieve container managed asynchronous functionality|
|US20020113899||Feb 22, 2001||Aug 22, 2002||Swan Philip L.||Method and system for improved display filtering|
|US20020122061||Apr 30, 1998||Sep 5, 2002||Bruce K. Martin||Configurable man-machine interface|
|US20020133805 *||Mar 9, 2001||Sep 19, 2002||Pugh William A.||Multi-version hosting of application services|
|1||*||Clarke, David G., John M. Potter and James Noble, "Ownership Types for Flexible Alias Protection," Oct. 1998, ACM Press, Proceedings of the 13th ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages and Applications, pp. 48-64.|
|2||Thomas, Anne; Enterprise JavaBeans Technology: Server Component Model for the Java Platform; Patricia Seybold Group (Dec. 1998).|
|3||U.S. Appl. No. 09/850,289, "Method and System for Application Partitions," filed May 7, 2001.|
|4||U.S. Appl. No. 09/850,318, "Public and Private Components Operating within Multiple Applications of a Component-based Computing System," filed May 7, 2001.|
|5||U.S. Appl. No. 09/850,489, "Method and System for Application Partitions," filed May 7, 2001.|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US7640317||Dec 29, 2009||Cisco Technology, Inc.||Configuration commit database approach and session locking approach in a two-stage network device configuration process|
|US7660882||Feb 9, 2010||Cisco Technology, Inc.||Deploying network element management system provisioning services|
|US7752600||Sep 30, 2004||Jul 6, 2010||Citrix Systems, Inc.||Method and apparatus for providing file-type associations to multiple applications|
|US7779404 *||Aug 17, 2010||Cisco Technology, Inc.||Managing network device configuration using versioning and partitioning|
|US7853676||Dec 14, 2010||Cisco Technology, Inc.||Protocol for efficient exchange of XML documents with a network device|
|US7853947||Sep 30, 2004||Dec 14, 2010||Citrix Systems, Inc.||System for virtualizing access to named system objects using rule action associated with request|
|US8042120||Oct 18, 2011||Citrix Systems, Inc.||Method and apparatus for moving processes between isolation environments|
|US8090797||May 2, 2009||Jan 3, 2012||Citrix Systems, Inc.||Methods and systems for launching applications into existing isolation environments|
|US8090806||Jun 10, 2004||Jan 3, 2012||Cisco Technology, Inc.||Two-stage network device configuration process|
|US8095940 *||Jan 10, 2012||Citrix Systems, Inc.||Method and system for locating and accessing resources|
|US8117559||Sep 30, 2004||Feb 14, 2012||Citrix Systems, Inc.||Method and apparatus for virtualizing window information|
|US8131825||Oct 7, 2005||Mar 6, 2012||Citrix Systems, Inc.||Method and a system for responding locally to requests for file metadata associated with files stored remotely|
|US8132176 *||Sep 19, 2005||Mar 6, 2012||Citrix Systems, Inc.||Method for accessing, by application programs, resources residing inside an application isolation scope|
|US8171479||Sep 30, 2004||May 1, 2012||Citrix Systems, Inc.||Method and apparatus for providing an aggregate view of enumerated system resources from various isolation layers|
|US8171483||Oct 20, 2007||May 1, 2012||Citrix Systems, Inc.||Method and system for communicating between isolation environments|
|US8302101 *||Sep 19, 2005||Oct 30, 2012||Citrix Systems, Inc.||Methods and systems for accessing, by application programs, resources provided by an operating system|
|US8326943||Nov 7, 2011||Dec 4, 2012||Citrix Systems, Inc.||Methods and systems for launching applications into existing isolation environments|
|US8352964||Jan 8, 2013||Citrix Systems, Inc.||Method and apparatus for moving processes between isolation environments|
|US9009720||Mar 29, 2012||Apr 14, 2015||Citrix Systems, Inc.||Method and system for communicating between isolation environments|
|US9009721||Sep 14, 2012||Apr 14, 2015||Citrix Systems, Inc.||Method and system for communicating between isolation environments|
|US9021494||Sep 14, 2012||Apr 28, 2015||Citrix Systems, Inc.||Method and system for communicating between isolation environments|
|US9268853 *||Nov 28, 2012||Feb 23, 2016||Fmr Llc||Business application fingerprinting and tagging|
|US20060007944 *||Jan 25, 2005||Jan 12, 2006||Yassin Movassaghi||Managing network device configuration using versioning and partitioning|
|US20060026299 *||Jul 29, 2004||Feb 2, 2006||Gostin Gary B||Communication among partitioned devices|
|US20060031427 *||Jun 10, 2004||Feb 9, 2006||Kapil Jain||Configuration commit database approach and session locking approach in a two-stage network device configuration process|
|US20060080424 *||Jun 10, 2004||Apr 13, 2006||Jiong Sun||A Generic framework for deploying EMS provisioning services|
|US20110010701 *||Apr 8, 2010||Jan 13, 2011||Simon Cooper||Methods and Systems for Archiving and Restoring Securely Installed Applications on a Computing Device|
|U.S. Classification||717/120, 709/203, 707/999.009|
|International Classification||G06F15/16, G06F7/00, G06F9/44|
|Cooperative Classification||Y10S707/99939, G06F8/65|
|May 7, 2001||AS||Assignment|
Owner name: MICROSOFT CORPORATION, WASHINGTON
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:HAMILTON, KEITH S.;JAMIESON, STEVE;REEL/FRAME:011800/0468
Effective date: 20010502
|May 4, 2011||FPAY||Fee payment|
Year of fee payment: 4
|Dec 9, 2014||AS||Assignment|
Owner name: MICROSOFT TECHNOLOGY LICENSING, LLC, WASHINGTON
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MICROSOFT CORPORATION;REEL/FRAME:034541/0001
Effective date: 20141014
|May 26, 2015||FPAY||Fee payment|
Year of fee payment: 8