-
2009-08-04
10/204,543
2001-02-20
US 7,571,442 B2
2009-08-04
WO; PCT/IB01/00262; 20010220
WO; WO01/63400; 20010830
Li B Zhen
2022-03-03
An application programming system includes a number of processors operable to execute software processes, a communication channel between the number of processors, and a registry of object co-operable to create an executable software application. The objects have characteristics which are dynamically alterable at run-time without requiring recompilation of code and re-building of any software processes.
Get notified when new applications in this technology area are published.
G06F9/46 IPC
Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs Multiprogramming arrangements
G06F9/54 IPC
Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs; Multiprogramming arrangements Interprogram communication
This application claims priority to PCT/IB01/00262, filed Feb. 20, 2001 and Great Britain Application No. 0004090.7, filed Feb. 22, 2000, the respective disclosures of which are hereby incorporated in their entirety as if fully set forth herein.
Embodiments of the invention relate to systems, methods and applications for programming and data management based on objects. Objects of the present embodiments have dynamic attributes and comprise data indicating their respective storage locations or the storage locations of other objects.
The implementation of software applications based on object-oriented programming techniques is well known in the art and has been in widespread use since the late 1980's.
Although providing several noteworthy advantages over classical top-down programming techniques, it is acknowledged that applications based on object-oriented programming techniques are inefficient for a number of reasons:
It is desirable to provide an application programming system which allows the development of distributed object-oriented applications which are simple to adapt, modify and extend.
It is an object of this invention to provide an application programming system, and a method of operation thereof which will, at least partially, alleviate the above mentioned difficulties and disadvantages.
In accordance with this invention there is provided an application programming system, comprising:
a number of processors operable to execute software processes;
a communication channel between the number of processors;
a registry of objects co-operable to create an executable software application characterised in that
the objects have a plurality of characteristics which are dynamically alterable at application run-time.
Further features of the invention provide for the registry to be accessible from any one of the number of processors, for the registry to include a unique key corresponding to each object registered therein, and for the registry to contain a definition of each object, including its abstraction and state.
Still further features of the invention provide for each processor to include an interaction manager process, for the interaction manager process to regulate the interaction between any object located on the processor, and hardware devices and resources associated with the processor, for the interaction manager process to serve any object associated with the particular processor with any one or more of persistence, execution, user representation and input and output facilities, and for the interaction manager process to provide a transport layer for distribution and communication of objects associated with various processors.
The invention extends to an object for use in the application programming system described above, for the object to have a number of dynamic characteristics which are alterable at run-time, for the dynamic characteristics to include any one or more of a name, and a location of the object on the application programming system, for the dynamic characteristics to also include any one or more of the state of the object, its containment, whether by value or by reference, a multiple inheritance hierarchy of the object, object data, memory, actions and user interface attributes, for each object to have a self-maintaining storage mechanism, for each object in the application programming system to be self-documenting, and for each object in the application programming system to have a code generator operable to enable the object to transform itself dynamically.
The invention extends still further to a method of operation of an application
programming system, comprising the steps of:
providing a number of processors operable to execute software processes;
providing a communication channel between the number of processors;
establishing a registry of objects co-operable to create an executable software application, the objects having a plurality of characteristics which are dynamically alterable at application run-time; and
defining a relationship between a number of objects contained in the registry to create the software application.
There is further provided for accessing the registry from any one of the number of processors, for including in the registry a unique key corresponding to each object registered therein, and for configuring the registry to contain a definition of each object registered therein, including its abstraction and state.
There is still further provided for including an interaction manager process in each processor of the application programming system, for regulating, by means of the interaction manager process, the interaction between any object located on the processor, and hardware devices and resources associated with the processor, for serving, by means of the interaction manager process, any object associated with the particular processor with any one or more of persistence, execution, user representation and input and output facilities, and for providing, by means of the interaction manager process, a transport layer for distribution and communication of objects associated with various processors.
There is yet further provided for including in each registered object a number of dynamic characteristics which are alterable at run-time, for including as part of the dynamic characteristics any one or more of a name, and a location of the object on the application programming system, for also including as part of the dynamic characteristics any one or more of the state of the object, its containment, whether by value or by reference, a multiple inheritance hierarchy of the object, object data, memory, actions and user interface attributes, for providing each object with a self-maintaining storage mechanism, for structuring each object in the application programming system to be self-documenting, and for including in each object in the application programming system a code generator operable to enable the object to transform itself dynamically.
One embodiment of the invention is described below, by way of example only, and with reference to the accompanying drawings, in which:
FIG. 1 is a functional block diagram of an application programming system according to the invention; and
FIGS. 2 to 6 are representations of an application program implemented by means of the application programming system of FIG. 1.
Referring to FIGS. 1 to 6, in which like features of the invention are implemented by like numerals, an application programming system is indicated generally by reference numeral (1).
The application programming system (1) comprises a number of processors (2a, 2b and 2c) operable to execute software processes thereon and a communication channel (4), in this embodiment a wide area network (WAN), between the processors. Each processor (2a, 2b and 2c) has a registry (3a, 3b and 3c) of objects associated with that particular processor. The objects in the various registries (3a, 3b and 3c) are of a type well known and commonly applied in the technique of object-oriented programming which is widely utilised in the development of software applications. The objects in the various registries (3a, 3b and 3c) are co-operable with each other to create an executable software application.
One processor (2a) is designated as the root object server, and its registry contains details of all objects listed in the registries (3a, 3b and 3c) of all the processors (2a, 2b and 2c) in the network.
The objects listed in the various registries (3a, 3b and 3c) are distinguished from prior art objects in that they have a plurality of additional characteristics, some of which are dynamically alterable at application run-time. These additional characteristics will be outlined in detail below.
1. Additional Characteristics
1.1 Global Unique Object Classification & Definition
1.2 Dynamic Name
1.3 Dynamic Location
1.4 Internal Object Path
1.5 Events
2.1 Properties
2.2 Dynamic Object Containment
2.2 Dynamic Multiple Inheritance (DMI)
2.4 Dynamic Object Data (DOD)
2.5 Memory
2.6 Actions
2.7 Dynamic User Interface Attributes
Each object in the application programming system (1) has a self-maintaining storage mechanism that allows for distributed serialized storage, referred to as the persistence mechanism of an object in the application system. Further, an object can document its abstraction for review. This information includes all object properties, states, actions etc. that encapsulate its abstraction.
The application programming system (1) implements a code generator which is incorporated within each object to enable the object to transform itself dynamically.
It will be appreciated by those skilled in the art that the objects envisaged in this embodiment of the application programming system (1) are intelligent, as envisaged by the characteristics of Dynamic Entity and Action Abstraction, living, as evidenced by the characteristics of Location, Persistence and Dynamic Abstraction, and exhibit total recall, as seen in the characteristics of Memory and, in particular, Point-In-Time Status.
Each processor (2a, 2b and 2c) of the application programming system (1) may include interaction manager process (10). The interaction manager process is the kernel for serving operations of an object and regulates the interaction between the object located on the processor, and hardware devices and resources associated with the processor. The purpose of the interaction manager process is to serve any object associated with the particular processor with any one or more of persistence, execution, user representation and input and output facilities. Since objects are the building blocks for applications it is not the purpose of the kernel to provide applications, but merely to manage and balance the hardware interaction with objects. It also provides transport layers for distribution and communication of objects, both remotely and locally, meaning that it can balance its tasks between different processors running the interaction manager process. It also provides base objects that can be dynamically inherited to interact with the object's dynamic user interface attributes.
It will be further appreciated by those skilled in the art that the application programming system described above enables the implementation of distributed applications, even having a global scope. Thus applications can be constructed by using objects from servers that are distributed across the world. This is possible because individuals across the world can classify specialised objects to serve a specific purpose. Each individual will then publish on the root server (2a) the classification of objects they have developed, and upload the developed objects. The published information and objects are then available for anyone else who needs to use any of these objects for whatever purpose, just as one would use software modules from a library or libraries, as is known in the prior art.
The invention may be further understood with reference to a particular application implemented on the application programming system (1). The application relates to an administration system for a business enterprise called ABC Computers which is a supplier of computer hardware and will be described with reference to FIGS. 2 to 6.
The application is based on an object (100) called âABC Computersâ which is located on a root server (101) in the computer room at ABC Computer's premises. This root object (100) contains 3 further objects, namely âProductsâ (102), âCustomersâ (103) and âSuppliersâ (104). These three contained objects are located on servers (105, 106 and 107) at different server sites A, B and C, respectively. The root object (100) also contains a fourth object âGeneral Ledgerâ (108) located on a server at a server site E (109) belonging to a financial institution.
The âProductsâ object (102) contains other objects labeled âComputer Aâ (110) and âComputer Bâ (111) relating to different hardware products sold by the business enterprise. These objects (110) and (111) are located on the same server (105). Similarly, the âCustomersâ object (103) contains a further object called âJohn Smithâ (112) located on the same server (106). Lastly, the object âSuppliersâ (104) located on server (107) contains three objects called âSupplier Aâ (113), Supplier Bâ (114) and âSupplier Câ (115). Of these, objects (113) and (114) are located on the same server (107) as the object âSuppliersâ (104), whilst the object âSupplier Câ (115) is located on a different server D (116).
In this manner, by defining the containment of each object, it is possible to create distributed applications in the manner described in the above example.
FIGS. 3 to 6 show the interaction between the different objects of the ABC Computers example in respect of a product sale, establishment of a new customer, the placing of a back order on suppliers, and the interaction with an accounting function, respectively. These interactions will not be described here in detail.
The invention therefore provides a simple and effective application programming system (1) for the implementation of distributed applications.
1. A system, comprising:
a processor operable to execute a software process;
an interaction manager process operating on the processor;
a first plurality of objects comprising executable actions;
a second plurality of objects comprising non-executable data;
wherein the first plurality of objects comprising executable actions is executable by the interaction manager and thereby co-operable to form an executable software application using non-executable data of the second plurality of objects,
wherein each of the plurality of objects comprises data that indicates the object's storage location;
wherein the data that indicates the object's storage location comprises a network address of a processor where the object is located and a path to a persistent storage location of the object at that processor;
wherein at least one of the first or second plurality of objects further comprises a registry, the registry comprising the data that indicates the storage location of the at least one of the plurality of objects; the registry further comprising data indicating the storage location of a second one of the plurality of objects;
wherein the registry comprises a unique key corresponding to each object whose storage location is indicated by data therein; and
wherein the at least one of the first or second plurality of objects further comprises a definition of the at least one of the plurality of objects, including an abstraction and a state.
2. The system as claimed in claim 1, further comprising a second processor comprising an interaction manager process.
3. The system as claimed in claim 2, wherein the processor and second processor each comprise at least one microprocessor, an associated storage system, associated hardware devices and associated resources, and wherein each interaction manager process regulates the interaction between any object stored at a respective processor, and the respective associated hardware devices and respective associated resources.
4. The system as claimed in claim 3, wherein the interaction manager process of the second processor functions to receive a request from the processor that an executable object associated with the second processor be invoked, and acts to invoke the executable object associated with the second processor.
5. The system as claimed in claim 1, further comprising an object wherein the object has a plurality of characteristics which are dynamically alterable at application run-time.
6. The object as claimed in claim 5, wherein the characteristics which are dynamically alterable at application run-time include any one or more of a name or a location of the object on the system.
7. The object as claimed in claim 6, wherein the characteristics which are dynamically alterable at application run-time also include any one or more of the state of the object, its containment, whether by value or by reference, a multiple inheritance hierarchy of the object, object data, memory, executable code or user interface attributes.
8. The object as claimed in claim 5, wherein the object has a self-maintaining storage mechanism.
9. The object as claimed in claim 5, wherein the object comprises information that allows it to be queried about one or more of its characteristics.
10. The object as claimed in claim 5, wherein the object includes a code generator operable to enable the object to transform itself dynamically.
11. A method, comprising:
providing a processor operable to execute a software process;
providing an interaction manager process operating on the processor;
providing a first plurality of objects comprising executable actions;
providing a second plurality of objects comprising non-executable data;
wherein the first plurality of objects comprising executable actions is executable by the interaction manager and thereby co-operable to form an executable software application using non-executable data of the second plurality of objects,
wherein each of the plurality of objects comprises data that indicates the object's storage location; and
wherein the data that indicates the object's storage location comprises a network address of a processor where the object is located and a path to a persistent storage location of the object at that processor;
wherein at least one of the first or second plurality of objects further comprises a registry, the registry comprising the data that indicates the storage location of the at least one of the plurality of objects; the registry further comprising data indicating the storage location of a second one of the plurality of objects; and
further comprising including in the registry a unique key corresponding to each object whose storage location is indicated by data therein; and
configuring the at least one of the first or second plurality of objects to comprise a definition of the at least one of the plurality of objects, including an abstraction and a state.
12. The method as claimed in claim 11, further comprising providing a second processor comprising an interaction manager process.
13. The method as claimed claim 12, wherein the processor and second processor each comprise at least one microprocessor, an associated storage system, associated hardware devices and associated resources, and wherein the method further comprises regulating, by means of each interaction manager process, the interaction between any object stored at a respective processor, and the respective hardware devices and respective resources.
14. The method as claimed in claim 13, further comprising sending, from the first processor, a request to the interaction manager process of the second processor that an object associated with the second processor be invoked, and thereafter invoking said object associated with the second processor by the interaction manager process of the second processor.
15. The method according to claim 11, wherein each of the plurality of objects has at least one characteristic which is dynamically alterable at application run-time.
16. The method as claimed in claim 15, wherein characteristics of the objects which are dynamically alterable at application run-time include one or more of a name or a location of the object.
17. The method as claimed in claim 16, wherein characteristics which are dynamically alterable at application run-time also include any one or more of the state of the object, its containment, whether by value or by reference, a multiple inheritance hierarchy of the object, object data, memory, executable code or user interface attributes.
18. The method as claimed in claim 15, wherein each object is provided with a self-maintaining storage mechanism.
19. The method as claimed in claim 15, wherein each object comprises information that allows it to be queried about one or more of its characteristics.
20. The method as claimed in claim 15, further comprising including in each object a code generator operable to enable the object to transform itself dynamically.