A distributed computing network is disclosed, the membership of which is determined in accordance with policy data stored at existing member nodes. A node wishing to join the distributed computing network sends profile data indicating the resources it has available for shared computation to a member node. The member node compares the resources with the requirement indicated in the priority data. If the comparison indicates that the applicant node should join, then data indicating the topology of the distributed computing network is updated at the member node and created at the applicant node. This allows for the creation of a distributed computing network whose topology is well-suited to a given task, provided the policy properly reflects the requirements of the task.

Patent
   7937704
Priority
Jun 20 2002
Filed
Jun 19 2003
Issued
May 03 2011
Expiry
Jun 25 2027
Extension
1467 days
Assg.orig
Entity
Large
7
75
all paid
17. A method of operating a member node of a distributed computing network, said method comprising:
accessing task-suited logical network connection policy data including distinctive immediate neighbour requirements data comprising one or more property-value pairs indicating one or more criteria for becoming an immediate neighbour of said member node in a task-suited logical network built on said distributed computing network, said node having recorded therein graph data representing a task-suited logical network comprising a plurality of nodes and the links between them;
receiving, from an applicant node, profile data comprising one or more property-value pairs indicating characteristics of the applicant node;
determining whether said applicant profile data indicates that said applicant node meets said connection criteria for becoming an immediate neighbour of said node in said task-suited logical network; and
responsive to said determination indicating that said applicant node meets said connection criteria, updating task-suited logical network membership data accessible to said node to indicate that said applicant node is an immediate neighbour of said member in said task-suited logical network, including updating said stored graph data on deciding to grant a task-suited logical network connection request received from an applicant node, and sending a response to the applicant node sending said request indicating that said request was successful.
1. A method of dividing a task amongst a plurality of nodes within a distributed computer, said method comprising:
operating each of said plurality of nodes, each of said nodes having recorded therein graph data representing a task-suited logical network comprising a plurality of nodes and the links between them, to
receive immediate neighbour requirements data indicating desired properties of immediate neighbour nodes in a task-suited logical network of nodes and interconnections between them, which properties lead to said task-suited logical network being suited to said task or tasks of a similar type, said requirements data including distinctive immediate neighbour requirements data indicating desired immediate neighbour properties which differ from immediate neighbour properties for one or more other nodes;
receive node capability data from an applicant node available to join said task suited logical network;
determine whether to allow said applicant node to become an immediate neighbour in dependence upon said distinctive immediate neighbour requirements data and said node capability data; and
update said stored graph data on deciding to grant a task-suited logical network connection request received from an applicant node, send a response to the applicant node sending said request indicating that said request was successful, and distribute said task amongst the plurality of nodes in accordance with the task-suited logical network topology thus determined.
22. A method of operating a plurality of nodes in a distributed network to create a logical network topology based on the physical topology of said network, said logical network topology being suited to a task, said method comprising:
identifying a member node as a member of said task-suited logical network, each of said nodes having recorded therein graph data representing a task-suited logical network comprising a plurality of nodes and the links between them;
storing immediate neighbour requirements data including distinctive immediate neighbour requirements data representing what is required of nodes in order for them to be a suitable immediate neighbour of said member node in said task-suited logical network;
storing candidate neighbour node capability data representing the capabilities of a candidate neighbour node in said physical network;
operating said network to compare said candidate neighbour node capability data with said distinctive immediate neighbour requirements data of the node of which the candidate neighbour node seeks to be an immediate neighbour; and
responsive to said comparison indicating that said candidate neighbour node meets said requirements, making said candidate node an immediate neighbour in said logical network, and updating said stored graph data on deciding to grant a task-suited logical network connection request received from said candidate node, and sending a response to the candidate node sending said request indicating that said request was successful.
10. distributed computer apparatus comprising:
a plurality of data processor nodes, each connected to at least one other of said data processor nodes via a communications link;
each of said nodes having recorded therein:
a) task-suited logical network membership policy data, said logical network membership policy data including distinctive immediate neighbour requirements data indicating desired immediate neighbour properties which differ from immediate neighbour properties for one or more other nodes;
b) graph data representing a task-suited logical network comprising a plurality of nodes and the links between them; and
c) processor readable code executable to update said graph data, said code comprising:
task-suited logical network membership request generation code executable to generate and send a task-suited logical network membership request including node profile data to another node indicated to be a member of said task-suited logical network;
task-suited logical network membership request handling code executable to receive a task-suited logical network connection request including node profile data, and decide whether said request is to be granted in dependence upon the task-suited logical network distinctive immediate neighbour requirements data stored at each of said nodes; and
task-suited logical network membership update code executable to update said stored graph data on deciding to grant a task-suited logical network connection request received from an applicant node, and to send a response to the applicant node sending said request indicating that said request is successful.
21. A computer storage containing a computer program product loadable into a memory of a digital computer at a node of a plurality of nodes in a distributed computing network and executable by the digital computer, wherein the computer program comprises:
task-suited logical network immediate neighbour requirements data reception code to receive and store received task-suited logical network immediate neighbour requirements data, wherein said requirements data includes distinctive immediate neighbour requirements data indicating desired immediate neighbour properties which differ from immediate neighbour properties for one or more other nodes, each of said nodes having recorded therein graph data representing a task suited logical network comprising a plurality of nodes and the links between them;
node capability profile data reception code to receive and store received node capability profile data;
comparison code to compare said node capability data and said distinctive immediate neighbour requirements data to find whether the node represented by said node capability data meets said distinctive immediate neighbour requirements data;
task-suited logical network topology update code to add an identifier of said represented node to a task-suited logical network topology data structure on said comparison code indicating that said represented node meets said requirements; and
task execution code to update said stored graph data on deciding to grant a task-suited logical network connection request received from an applicant node, to send a response to the applicant node sending said request indicating that said request was successful, to receive code from another node in said task-suited logical network and to execute said code or forward said code to a node represented as an immediate neighbour in said task-suited logical network topology data structure.
2. A method according to claim 1 wherein said immediate neighbour requirements data comprises one or more property-value pairs.
3. A method according to claim 2 wherein said immediate neighbour requirements data is arranged in accordance with a predefined data structure defined by requirements format data stored in said computer, said method further comprising the step of verifying that said immediate neighbour requirements data is formatted in accordance with predefined data structure by comparing said immediate neighbour requirements data to said requirements format data.
4. A method according to claim 1 wherein said node capability data comprises one or more property-value pairs.
5. A method according to claim 4 wherein said node capability data is arranged in accordance with a predefined data structure defined by node capability format data stored in said computer, said method further comprising that said node capability data is formatted in accordance with predefined data structure by comparing said node capability data to said node capability format data.
6. A method according to claim 1 further comprising the step of operating a node seeking to join said task-suited logical network to generate node capability data and send said data to one or more nodes already included within said task-suited logical network.
7. A method according to claim 1 wherein said task distribution involves a node forwarding a task to a node which neighbours it in said task-suited logical network topology.
8. A method according to claim 1 wherein said immediate neighbour requirements data comprises data relating to the amount of data storage or processing power available at said node.
9. A method according to claim 1 wherein said immediate neighbour requirements data comprises data relating to the quality of communication between said node and one or more nodes already selected for said task-suited logical network.
11. distributed computer apparatus according to claim 10, wherein each node further has recorded therein node profile data generation code executable to generate said node profile data.
12. distributed computer apparatus according to claim 10 or claim 11, wherein each node further has recorded therein task-suited logical network policy data distribution code executable to distribute said policy data, said policy distribution code comprising:
policy input code operable to receive policy data;
policy storage code operable to store said received policy data at said node; and
policy forwarding code operable forward said policy from said node to at least one other node in said distributed computer apparatus.
13. distributed computer apparatus according to claim 10, wherein each node further has recorded therein policy format data; and policy data format verification code executable to check that said received policy data accords with said policy format data.
14. distributed computer apparatus according to claim 10, wherein each node further has recorded therein profile format data; and profile data format verification code executable to check that said received node profile data accords with said profile format data.
15. distributed computer apparatus according to claim 10, wherein each node further has recorded therein received program data execution code executable to receive program data from another of said nodes and to execute said program.
16. distributed computer apparatus according to claim 15, wherein said plurality of processor nodes comprise computers executing different operating systems programs, and said received program execution code is further executable to provide a similar execution environment on nodes despite the differences in said operating system programs.
18. A method according to claim 17 wherein said member node stores graph data representing a task-suited logical network comprising a plurality of nodes and the links between them.
19. A method according to claim 18 wherein said member node stores said task-suited logical network connection policy data.
20. A method according to claim 19 further comprising the steps of:
updating task-suited logical network connection policy data;
removing indications that one or more nodes are members of said task-suited
logical network from said graph data; and
sending an indication to said one or more nodes requesting them to re-send said profile data.

This application is the US national phase of international application PCT/GB2003/002631 filed 19 Jun. 2003 which designated the U.S. and claims benefit of EP 02254294.8, dated 20 Jun. 2002, the entire content of which is hereby incorporated by reference.

The present invention relates to a distributed computer and to a method of operating a computer forming a component of a distributed computer.

The relatively low cost of today's microprocessors mean that the most economic way of building a powerful computer is to interconnect a number of low cost microprocessors to provide a distributed computer. Although a purpose-built distributed computer will often be a unit of equipment comprising tens or hundreds of processors interconnected via a high-speed bus, the common arrangement of desktops PCs interconnected by an office LAN is also a form of distributed computer.

One application of a distributed computer is the carrying out of a task which is too demanding to be solved quickly by a computer having a single processor. In such a case, it is necessary to divide the task to be performed amongst the plurality of processors present in the distributed computer. This is known as processor allocation or ‘load balancing’.

Distributed computers should also be tolerant to the failure or shutdown of one of the processors within them—systems of this type are disclosed, for example, in International Patent Application WO 01/82678, and European Patent applications 0 887 731 and 0 750 256.

A number of processor allocation or load balancing algorithms have been disclosed. In EAGER D. L., LAZOWSKA, E. D., and ZAHORJAN, J.: “Adaptive Load Sharing in Homogeneous Distributed Systems,” IEEE Trans. On Software Engineering, vol. SE-12, pp. 662-675, May 1986, three algorithms are considered. One of those algorithms involves each processor creating a new process (i.e. contemplating starting another component of the task) in: a) finding whether it is overloaded, and, b) sending the new process to another randomly-chosen processor. The processor receiving the new process then carries out a similar procedure. This continues either until a processor accepts the new process or a hop-count is exceeded.

In other algorithms, one or more processors is given the task of tracking how heavily-loaded other processors in the distributed computer are. If the processors within the distributed computer are organised into a logical hierarchy independent of the physical structure of the network interconnecting the different processors, the task of monitoring levels of usage of the processors can be split-up in accordance with that hierarchy. An example of this is seen in WITTIE, L. D., and VAN TILBORG, A. M.: “MICROS, a Distributed Operating System for MICRONET, A Reconfigurable Network Computer,” IEEE Trans. On Computers, vol. C-29, pp. 1133-1144, December 1980. New processes can be generated anywhere within the logical hierarchy and are escalated sufficiently far up the hierarchy to a ‘manager’ processor which has a sufficient number of subordinates to carry out the task. The manager then delegates the component tasks back down the hierarchy.

According to a first aspect of the present invention, there is provided a method of dividing a task amongst a plurality of nodes within a distributed computer, said method comprising:

By calculating task group topology data representing nodes and interconnections between them in dependence on requirements data entered by a user/administrator, and then distributing a task to be performed between nodes in accordance with the calculated topology, a more flexible method of utilising the resources of a distributed computer than has hitherto been known is provided. It is to be understood that the task group will not necessarily equate to the physical topology of the nodes and interconnections between them in the distributed computer. The nodes and connections used will often be a subset of those available—also a logical connection represented in the task group topology data might represent a concatenation of a plurality of physical connections.

Preferably, said topology calculation comprises the step of comparing said requirements data with node capability data for a node available to join said task group. This provides a convenient mechanism for automatically generating the task group topology.

Preferably, said requirements data is arranged in accordance with a predefined data structure defined by requirements format data stored in said computer, said method further comprising the step of verifying that said requirements data is formatted in accordance with predefined data structure by comparing said requirements data to said requirements format data. Defining the format of said requirements data in this way allows for easier communication of requirements data between computers. In preferred embodiments, the extensible Markup Language (XML) is used to define the format data, and known XML parsing programs are used to check the format of requirements data.

Similar considerations apply to the node capability data.

In some embodiments, said method further comprises the step of operating a node seeking to join said task group to generate node capability data and send said data to one or more nodes already included within said task group.

Advantageously, said task distribution involves a node forwarding a task to a node which neighbours it in said task group topology. This provides a convenient way of utilising the generated topology in the subsequent calculation.

According to a second aspect of the present invention, there is provided a distributed computer apparatus comprising:

Advantageously, each node further has recorded therein received program data execution code executable to receive program data from another of said nodes and to execute said program. Preferably, said plurality of processor nodes comprise computers executing different operating systems programs, and said received program execution code is further executable to provide a similar execution environment on nodes despite the differences in said operating system programs. This means that embodiments of the invention can carry out calculations across a heterogeneous computer network and increases the possibilities for utilising the processing power and memory of idle computers in a typical computer network comprising computers based on different hardware architectures and/or running different operating system programs.

According to a third aspect of the present invention, there is provided a method of operating a member node of a distributed computing network, said method comprising:

By controlling a member node of a distributed computing network to compare profile data from another computer with criteria indicated by membership policy data accessible to the member node, and updating distributed computing network data accessible to the member node if said profile data indicates that said one or more criteria is met, a distributed network whose membership accords with said policy data is built up. Provided the policy reflects the distributed task that is to be shared amongst the members of the distributed computing network, a distributed computer network whose membership is suited to the distributed task to be shared is built up.

Preferably, the member node stores said distributed network membership data. This results in a distributing computing network which is more robust than networks where this data is stored in a central database. Similarly, in some embodiments, said member node stores said membership policy data.

In preferred embodiments, the method further comprises the steps of:

This allows the distributed computing network to be dynamically reconfigured in response, for example, to a change in the task to be performed or the addition of a new type of node which might apply to become a member of the distributed computing network.

According to a fourth aspect of the present invention, there is provided a computer program product loadable into the internal memory of a digital computer comprising:

By way of example only, specific embodiments of the present invention will now be described with reference to the accompanying Figures in which:

FIG. 1 shows an internetwork of computing devices operating in accordance with a first embodiment of the present invention;

FIG. 2 shows a tree diagram representing a document type definition for a profile document for use in the first embodiment;

FIG. 3 shows a tree diagram representing a document type definition for a policy document for use in the first embodiment;

FIG. 4 shows the architecture of a software program installed on the computing devices of FIG. 1;

FIG. 5 is a flow-chart of a script (i.e. program) which is run by each of the computing devices of FIG. 1 when they are switched on;

FIG. 6 shows how a node connects to a distributed computing network set up within the physical network of FIG. 1;

FIG. 7 is a flow-chart showing how each of the computing devices of FIG. 1 responds to a request by another computer to join a task group of computing devices for performing a distributed process;

FIG. 8 is a flow-chart showing how each of the computing devices of FIG. 1 responds to a received policy document; and

FIG. 9 illustrates how the topology of the task group is controlled by the policy documents stored in the computing devices of FIG. 1.

FIG. 1 illustrates an internetwork comprising a fixed Ethernet 802.3 local area network 10 which interconnects first 12 and second 14 Ethernet 802.11 wireless local area networks.

Attached to the fixed local area network 10 are a server computer 218, and three desktop PCs (219, 220, 221). The first wireless local area network 12 has a wireless connection to a first laptop computer 223, the second wireless local area network 14 has wireless connections to a second laptop computer 224 and a personal digital assistant 225.

Also illustrated is a compact disc which carries software which can be loaded directly or indirectly onto each of the computing devices of FIG. 1 (218-225) and which will cause them to operate in accordance with a first embodiment of the present invention when run.

FIG. 2 shows, in tree diagram form, a Document Type Definition (DTD) which indicates a predetermined logical structure for a ‘profile’ document written in extensible Mark-Up Language (XML). The purpose of a ‘profile’ document is to provide an indication of the storage, processing and communication capabilities of a computing device.

As dictated by the DTD, a profile document consists of eight sections, some of which themselves contain one or more fields.

In the present embodiment, the eight sections relate to:

An example of an XML document created in accordance with the DTD shown in FIG. 2 is given below:

<!xml version=′1.0′!>
<profile>
<!- - From the system properties - ->
<JVMVersion>1.4.0-beta2-b77</JVMVersion>
<JRVersion>1.4.0-beta2-b77</JRVersion>
<OSVer>2.4.12</OSVer>
<JavaVer>1.4.0-beta2</JavaVer>
<!- - From the ′cpuinfo′ file - - >
<!- - infos about the cpu model and bogomips - ->
<modelname>PentiumIII (Coppermine) </modelname>
<bogomips>1723.59</bogomips>
<!- - From the ′meminfo′ file - ->
<!- - infos about memory: amount of total and - ->
<!- - free physical mem (RAM and swap mem) - ->
<MemTotal>118460kB</MemTotal>
<MemFree>12188kB</MemFree>
<SwapTotal>96348kB</SwapTotal>
<SwapFree>87944kB</SwapFree>
<!- - From the ′ping′ file - ->
<!- - infos about the min, max and avg throughput - ->
<min>0.044</min>
<avg>0.195</avg>
<max>0.647</max>
<mdev>0.261</mdev>
<!- - From the ′loadsvg′ file - ->
<!- - infos about the average load - ->
<!- - of the last 1, 5 and 15 min - ->
<avgld1>0.02</avgld1>
<avgld5>0.03</avgld5>
<avgld15>0.00</avgld15>
<!- - From the ′df′ file - ->
<!- - infos about the HD(s): name (mount point) - ->
<!- - total capacity and available space - ->
<HDName>dev</HDName>
<HDTotal>2440</HDTotal>
<HDUsed>1711</HDUSed>
<HDName>dev</HDName>
<HDTotal>16496</HDTotal>
<HDUsed>12007</HDUsed>
<topologyInfo>
<neighbours>
<neighbour> 196.168.255.10 </neighbour>
<neighbour> 196.268.255.128 </neighbour>
</neighbours>
</topologyInfo>
</proffile>

The fields specified in the Document Type Definition and the values placed in the above profile written in accordance with that DTD will be self-explanatory to those skilled in the art. The generation of a profile document in accordance with the above DTD will be described further on.

FIG. 3 shows, in tree diagram form, a Document Type Definition (DTD) which indicates a predetermined logical structure for a ‘policy’ document written in extensible Mark-Up Language (XML). One purpose of a ‘policy’ document in this embodiment is to set out the conditions which an applicant computing device must fulfil prior to a specified action being carried out in respect of that computing device. In the present case, the action concerned is the joining of the applicant computing device to a distributed computing network.

Policy documents may also cause the node which receives them to carry out an action specified in the policy.

As dictated by the DTD, a profile document consists of two sections, each of which has a complex logical structure.

The first section 100 refers to the creator of the policy and includes fields which indicate the level of authority enjoyed by the creator of the policy (some computing devices may be programmed not to take account of policies generated by a creator who has a level of authority below a predetermined level), the unique name of the policy, the name of any policy it is to replace, times at which the policy is to be applied etc.

The second section 102 refers to the individual computing devices or classes of computing devices to which the policy is applicable, and sets out the applicable policy 104 for each of those individual computing devices or classes of computing devices.

Each policy comprises a set of ‘conditions’ 106 and an action 108 which is to be carried out if all those ‘conditions’ are met. The conditions are in fact values of various fields, e.g. processing power (represented here as ‘BogoMIPS’—a term used in Linux operating systems to mean Bogus Machine Instructions Per Second) and free memory. It will be seen that many of the conditions correspond to fields found in a profile document.

An example of an XML document created in accordance with the DTD shown in FIG. 3 is given below.

<?xml version = “1.0” encoding = “UTF-8”?>
<policy xmlns:xsi = “http://www.w3.org/2001/XMLSchema-instance”
xsi:noNamespaceSchemaLocation = “base_policy.xsd”>
 <creator>
<authority>
<admin-domain >ferdina </admin-domain>
<role>administrator</role>
</authority>
<identity>Antonio Di Ferdinando </identity>
<reply-address>ferdina@drake.bt.co.uk </reply-address>
</creator>
<info>
<unique-name>myPolicy </unique-name>
<description>policy di prova </description>
<priority>normal </priority>
<start-date>2001.12.1 2</start-date>
<expiry-date>2002.01.31 </expiry-date>
<replaces/>
</info>
<sender>
</sender>
<subject>
<!- -domain or subject list- ->
<!- -<domain>
<domainName >futures.bt.co.uk </domainName>
</domain>- ->
<subject-list>
<subjects>
<host>132.146.107.218</host >
<conditions>
<action >join </action>
<conditionSet>
<SWConditions>
<OSVer>2.4.16</OSVer>
<OSArch>Linux </OSArch>
</SWConditions>
<HWConditions>
<CPU>
<number>2</number>
<model>Pentium !III </model>
</CPU>
<HD>
<HDTotal>112000K</HDTotal>
<HD>
</HWConditions>
<otherConditions>
<maxNeighbours>3</maxNeighbours>
</otherConditions>
</conditionSet>
</conditions>
</subjects>
<subjects>
<host>132.146.107.219</host>
<conditions>
<action>join <faction>
<condition Set>
<otherConditions>
<maxNeighbours>3 </maxNeighbours>
</otherConditions>
</conditionSet>
</conditions>
</subjects>
</subject-list>
</subject>
</policy>

FIG. 4 shows the architecture of a software program recorded on the compact disc 16 and installed and executing on each of the computing devices (218-225) of FIG. 1. The software program is written in the Java programming language and thus consists of a number of ‘class’ files which contain bytecode which is interpretable by the Java Virtual Machine software on each of the computing devices. The classes and the interactions between them are shown in FIG. 4—the classes are grouped into modules (as indicated by the dashed-line boxes).

Much of the above program is explained in Bubak M, Plaszczak P, “Hydra—Decentralized And Adaptative Approach To Distributed Computing”, Applied Parallel Computing, New Paradigms for HPC in Industry and Academia, 5th International Workshop, PARA 2000, 18-20 Jun. 2000, Springer-Verlag pp 242-9. The salient features of the classes are given below together with a full description of the additions and alterations made in order to implement the present embodiment.

As explained in that paper, the purpose of the software is to allow a task to shared amongst a plurality of computing devices. A user must provide a sub-class of a predetermined SimpleTask or CompositeTask abstract class in order to specify the task that he or she wishes to be carried out by the devices (218-225) included within the internetwork.

Whenever a new task arrives at the computing device running the program, the Secretary module 106 handles its reception and stores it using the Task Repository 108 module until the task is carried out as explained below.

The Work Manager module 110 causes a task to be carried out if a task arrives at the computing device and the computing device has sufficient resources to carry out that task. Each task results in the starting of a new execution thread 112 which carries out the task or, in insufficient resources are available at the device, delegates some or all of the class to one of a selected subset (218-220, 225) of computing devices (218-225) which form a task group suitable for carrying out the task. The manner in which the task group (218-220, 225) is assembled will be explained below.

The Guardian module 114 provides the interface to the other computing devices in the internetwork (FIG. 1). It implements the communications protocols used by the system and also acts as a security firewall, only accepting objects which have come from an authorised source. The Guardian module uses Remote Method Invocation to communicate with other computing devices in the internetwork (FIG. 1). More precisely, the NodeGateImpl object encapsulates the RMI technology and implements the remote interface called NodeGate.

The Topology Centre module 118 maintains a remote graph data structure—a graph in this sense being a network comprising a plurality of nodes connected to one another via links. Each of the computing devices which is a member of the task group (218-220, 225) is represented by an RMI remote object in the remote graph data structure. When computing devices connect to or are disconnected from the computing device network, this is requested using RMI and results in the computing devices updating their remote graph data structures accordingly.

Lastly, the Initiator module comprises two objects. One, the Initiator object, initiates the computing device. The other, the ReferenceServer object, maintains the references to the created modules.

Each of the computing devices (218-225) also stores a launch script. The processes carried out by each computing device on execution of that script are illustrated in FIG. 5.

Turning to FIG. 5, the first stage (step 130) is the collection of information about the capabilities of the computing device on which the script is run. This involves the transfer of:

Thereafter, in step 132, a MetaDataHandler execution thread is started together with another execution thread (step 140) which runs the Initiator class (FIG. 4: 120). The MetaDataHandler execution thread starts by generating 132 a profile XML document in accordance the DTD seen in FIG. 2.

Many of the fields of the profile document are to be found in the files created at the time of the preliminary system information collection step (step 130) as follows:

The remaining entries in the profile by utility software which forms part of the MetaDataHandler thread.

The MetaDataHandler thread then opens a socket on port 1240 and listens for connections from other computing devices. The action taken in response to receiving a file via that socket will be explained below with reference to FIGS. 7 and 8.

The part of the script which launches the Initiator class may include the RMI name of a computing device to connect to (it will not if the computing device concerned is the first node in the task group). If it does, then the Initiator class results in an attempt to connect to that node. An example will now be explained with reference to FIG. 6.

A script including a reference to the server 218 is run on the PC 219. As explained above, this results in the Initiator class 120 being run on the PC 219. This in turn requests HydraNodeConnector 150 to connect to the server 218 (HydraNodeConnector is an interface for connection decision making, implemented by RegnoTopologyCentre 118). HydraNodeConnector decides to fulfil the request and sends it to Guardian 152, which passes it to NodeGateImpl 154. As mentioned above, NodeGateImpl encapsulates RMI technology. NodeGateImpl 154 uses Naming class (a standard RMI facility) to obtain a reference to NodeGate of the server 218 (NodeGate is the node remote interface seen by other nodes, normally implemented by NodeGateImpi). As soon as it has the reference, NodeGateImpl 154 requests NodeGate of the server 218 to connect. The request contains the remote reference to RemoteGraphNode of the PC 219 and the XML profile document representing the capabilities of the PC 219.

When received at the server 218, the request is passed to the Guardian and then to the HydraNodeConnector. As explained below, the MetaDataHandler thread determines whether the request to connect to the distributed computing network should be accepted and informs HydraNodeConnector accordingly. In the present case, the connection is accepted. Hence, HydraNodeConnector supplies the local RemoteGraphNode with a reference to its counterpart on the PC 219 and orders the RemoteGraphNode to establish a connection. The server 218 and the PC 219 exchange references and link to each other using their internal connection mechanisms.

The task group topology databases in the server 218 and the PC 219 are then updated accordingly.

The response of a computing device running the MetaDataHandler execution thread to receipt of a profile XML document will now be explained with reference to FIG. 7.

On receiving a profile file (step 170), the MetaDataHandler checks that the XML document is well-formed—a concept which will be understood by those skilled in the art (step 172). This check is carried out by an XML parser—in the present case the Xerces XML parser available from the Apache Software Foundation is used. Thereafter, in step 174, the MetaDataHandler recognises the input file as a profile which results in the use of an evaluateConditions method of a PolicyHandler class to check the profile against any policies stored in the computing device which has received the profile document.

This involves a comparision of the values stored in the profile which those stored in the policy. The nature of that comparison (i.e. whether, for example, the value in the profile must be equal to the value in the policy or can also be greater than) is programmed into the PolicyHandler class. To give an example, the policy example given above includes a value of 112000K between <HD> tags. The profile example given above has two sets of data relating to permanent memory, one for each of two hard discs. The second set of data is:

<HDTotal>16496</HDTotal>

<RDUsed>12007</HDUsed>

In this case, the PolicyHandler class is programmed to calculate the amount of free hard disc space (i.e. 4489K) and will refuse connection since that amount is not greater than or equal to the required 112000K of permanent storage.

In step 178, it is determined whether all the required conditions are met. If they are the connection is formed (step 180) and the task group topology data is updated (step 182) as described above. If one or more of the conditions is not met then the profile is forwarded to another node in the internetwork (step 184).

If, on the other hand, the file received on the port associated with the MetaDataHandler execution thread is a policy, then the processing shown in FIG. 8 takes place.

The first step is identical to that carried out in relation to the receipt of a profile file. After receipt (step 190), the file is checked (step 192) to see whether it is well-formed. Thereafter, the policy file is validated by checking it against the structure defined in the relevant DTD. As will be understood by those skilled in the art, the DTD may be incorporated directly in the policy file, or it can be a separate file which is referenced in an XML DOCTYPE declaration as a Universal Resource Identifier (URI). The policy document therefore includes information on the location of the DTD to use—normally, the DTD will be stored at an accessible web server. Thereafter, the Network Policy subsystem is started (step 194). This then causes a check to be carried out to see whether the policy uses the correct date system and has sensible values for parameters (step 196). The computing device receiving the policy then extracts the domain and/or subject-list within the policy document (step 198). A test (step 200) is then carried out to see whether the receiving computing device is within a domain to which the policy applies or is included in a list of subjects to which the policy applies.

If the computing device is not in the target group then it forwards the policy to its neighbours which are yet to receive the policy (step 202). This forwarding step is carried out in accordance with the so-called echo pattern explained in Koon-Seng Lim and Rolf Stadler, ‘Developing pattern-based management programs’, Center for Telecommunications Research and Department of Electrical Engineering, Columbia University, NewYork, CTR Technical Report 503-01-01, Aug. 6, 2001. The physical topology information 34 found in the profile is used as an input to this step.

If the computing device is within the target group then it checks whether if already has the policy (steps 204 and 206). If the policy is already stored, then it is just forwarded (step 208) as explained in relation to step 202 above. Alternatively, the current policy can be overwritten, thus providing a mechanism for updating a policy.

If the policy is not already stored, then it is stored (step 210). Copies of the policy are then forwarded as explained above. It is to be noted that the policy may specify that the node receiving the policy is to re-send its profile to the node to which it initially connected. If this is combined with a replacement of the policy adopted by the node to which it initially connected, repeating the joining steps explained above will re-configure the distributed computing network in accordance with the replacement policy.

An example of the operation of the above embodiment will now be explained with reference to FIG. 9. In that diagram, the ellipses refer to computing devices in FIG. 1, and are represented by IP addresses, the last three digits of which correspond to the reference numerals used in FIG. 1.

The adminstrator of the internetwork of FIG. 1 might wish to use spare computing power around the internetwork to carry out a complex computational task. To do this using the above embodiment, the administrator writes a policy which includes a first portion applicable to the domain including all computing devices having an IP address 132.146.107.xxx (say), which portion includes a first condition that the utilisation measured over the last 15 mins is less than 5% of processor cycles. The policy also includes a second portion which is applicable only to the server 218 and includes the additional condition that the processor speed is greater than 512 million instructions per second.

He supplies that policy to the server computer 218 and runs a script as explained above, but without specifying the IP address of a host to connect to. Thereafter, he amends the script to specify the server 218 as the device to connect to, makes the condition relating to processor speed less stringent, and copies the amended policy to each of the computing devices within the internetwork. He then runs the script in numerical order of host addresses (i.e. he runs it on personal computer 219 first, then personal computer 220 etc).

In this example, it is supposed that the resultant attempts to connect to the server 218 by the personal computer 221 and the laptop computers 223 and 224 fail because their utilisation is greater than 5%. As explained in relation to FIG. 7, those connection requests will then be forwarded to either the personal computer 219 or the personal computer 220 which will apply the same policy and similarly reject the connection request. A similar outcome will result from the requests being forwarded to personal computer 220.

However, the personal digital assistant might pass the utilisation test, but fail the test on processor speed. In this case, although the server 218 rejects the request, the personal computer 219 will accept the request.

It will be realised by those skilled in the art, that the resulting logical topology (which places the fastest processors closest to the centre of the task group) will result in better performance than had the personal digital assistant connected directly to the server 218. It will be seen how the generation of policies and profiles and comparison of the two prior to accepting a connection to a task group allows the automatic generation of a logical topology which suits the nature of the distributed task which is to be carried out. Thus, the same set of network nodes can be arranged into different distributed networks in dependence on policies which might reflect, for example, a requirement for large amounts of memory (e.g. in a file-sharing network), a requirement for low latency (e.g. in a multi-player gaming network), a requirement for stored energy to drive a radio transmitter (in an ad hoc wireless network) or a requirement for processing power (e.g. in a network performing a massive calculation).

Many variations on the above embodiment are possible. Some of the possible variations are listed below:

McKee, Paul F

Patent Priority Assignee Title
8261338, Apr 04 2005 Malikie Innovations Limited Policy proxy
8572229, May 28 2010 Microsoft Technology Licensing, LLC Distributed computing
8819792, Apr 29 2010 Malikie Innovations Limited Assignment and distribution of access credentials to mobile communication devices
8832156, Jun 15 2009 Microsoft Technology Licensing, LLC Distributed computing management
9268615, May 28 2010 Microsoft Technology Licensing, LLC Distributed computing using communities
9531828, Apr 04 2005 Malikie Innovations Limited Policy proxy
9762691, Apr 04 2005 Malikie Innovations Limited Policy proxy
Patent Priority Assignee Title
5423037, Mar 17 1992 Sun Microsystems, Inc Continuously available database server having multiple groups of nodes, each group maintaining a database copy with fragments stored on multiple nodes
5442791, Mar 31 1992 Aggregate Computing, Inc. Integrated remote execution system for a heterogenous computer network environment
5732397, Mar 16 1992 Swiss Reinsurance Company Automated decision-making arrangement
5745687, Sep 30 1994 PTC INC System for distributed workflow in which a routing node selects next node to be performed within a workflow procedure
5774668, Jun 07 1995 Microsoft Technology Licensing, LLC System for on-line service in which gateway computer uses service map which includes loading condition of servers broadcasted by application servers for load balancing
5790848, Feb 03 1995 ENFISH, INC Method and apparatus for data access and update in a shared file environment
5829023, Apr 24 1996 Cirrus Logic, Inc. Method and apparatus for encoding history of file access to support automatic file caching on portable and desktop computers
5881231, Mar 07 1995 Kabushiki Kaisha Toshiba Information processing system using information caching based on user activity
5978791, Apr 11 1995 Personalweb Technologies, LLC Data processing system using substantially unique identifiers to identify data items, whereby identical data items have the same identifiers
6128590, Jul 09 1996 Fujitsu Siemens Computer GmbH Method for the migration of hardware-proximate, subprogram-independent programs with portable and non-portable program parts
6249844, Nov 13 1998 International Business Machines Corporation Identifying, processing and caching object fragments in a web environment
6272612, Sep 04 1997 Bull S.A. Process for allocating memory in a multiprocessor data processing system
6330621, Jan 15 1999 Oracle America, Inc Intelligent data storage manager
6336177, Sep 19 1997 Hewlett Packard Enterprise Development LP Method, system and computer program product for managing memory in a non-uniform memory access system
6353608, Jun 16 1998 Verizon Patent and Licensing Inc Host connect gateway for communications between interactive voice response platforms and customer host computing applications
6393485, Oct 27 1998 International Business Machines Corporation Method and apparatus for managing clustered computer systems
6405284, Oct 23 1998 Oracle International Corporation Distributing data across multiple data storage devices in a data storage system
6438705, Jan 29 1999 Pure Storage, Inc Method and apparatus for building and managing multi-clustered computer systems
6463457, Aug 26 1999 Parabon Computation, Inc. System and method for the establishment and the utilization of networked idle computational processing power
6505283, Oct 06 1998 Canon Kabushiki Kaisha Efficient memory allocator utilizing a dual free-list structure
6605286, Oct 20 1995 INTREXON ACTOBIOTICS NV Delivery of biologically active polypeptides
6622221, Aug 17 2000 EMC IP HOLDING COMPANY LLC Workload analyzer and optimizer integration
6631449, Oct 05 2000 CLOUDING CORP Dynamic distributed data system and method
6662235, Aug 24 2000 TREND MICRO INCORPORATED Methods systems and computer program products for processing complex policy rules based on rule form type
6801949, Apr 12 1999 EMC IP HOLDING COMPANY LLC Distributed server cluster with graphical user interface
6871219, Mar 07 2001 Oracle America, Inc Dynamic memory placement policies for NUMA architecture
6898634, Mar 06 2001 Hewlett Packard Enterprise Development LP Apparatus and method for configuring storage capacity on a network for common use
6961539, Aug 09 2001 U S BANK NATIONAL ASSOCIATION Low latency handling of transmission control protocol messages in a broadband satellite communications system
7062556, Nov 22 1999 Google Technology Holdings LLC Load balancing method in a communication network
7069295, Feb 14 2001 The Escher Group, Ltd. Peer-to-peer enterprise storage
7127606, Nov 09 1998 First Data Corporation Account-based digital signature (ABDS) system
7152077, May 16 2003 Hewlett Packard Enterprise Development LP System for redundant storage of data
7296221, Oct 31 2001 INTERFACE IP HOLDINGS LLC System and method for remote, automatic reporting and verification of forms
7434257, Jun 28 2000 Microsoft Technology Licensing, LLC System and methods for providing dynamic authorization in a computer system
7610333, Dec 31 2002 British Telecommunications public limited company Method and apparatus for operating a computer network
20010034709,
20010034791,
20020002577,
20020091833,
20020099815,
20020114341,
20020129248,
20020133681,
20020138471,
20020138659,
20020156893,
20020184310,
20030032391,
20030046270,
20030061491,
20030115251,
20030163457,
20030204856,
20040054807,
20040064568,
20050022014,
20050050291,
20050257220,
20060117046,
20060149836,
20080059746,
EP481231,
EP515073,
EP750256,
EP887731,
EP1248441,
JP2002027375,
WO182678,
WO229551,
WO3069480,
WO4001598,
WO2005121965,
WO9630839,
WO9944334,
WO9809402,
//
Executed onAssignorAssigneeConveyanceFrameReelDoc
Jun 19 2003British Telecommunications public limited company(assignment on the face of the patent)
Aug 26 2003MCKEE, PAUL FRANCISBritish Telecommunications public limited companyASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS 0167530067 pdf
Date Maintenance Fee Events
Oct 30 2014M1551: Payment of Maintenance Fee, 4th Year, Large Entity.
Oct 23 2018M1552: Payment of Maintenance Fee, 8th Year, Large Entity.
Oct 20 2022M1553: Payment of Maintenance Fee, 12th Year, Large Entity.


Date Maintenance Schedule
May 03 20144 years fee payment window open
Nov 03 20146 months grace period start (w surcharge)
May 03 2015patent expiry (for year 4)
May 03 20172 years to revive unintentionally abandoned end. (for year 4)
May 03 20188 years fee payment window open
Nov 03 20186 months grace period start (w surcharge)
May 03 2019patent expiry (for year 8)
May 03 20212 years to revive unintentionally abandoned end. (for year 8)
May 03 202212 years fee payment window open
Nov 03 20226 months grace period start (w surcharge)
May 03 2023patent expiry (for year 12)
May 03 20252 years to revive unintentionally abandoned end. (for year 12)