Method and apparatus for operating a computer network
First Claim
1. A method of identifying a predetermined number of computers within a computer network which satisfy one or more specified conditions, the method comprising:
- communicating a request from an originating computer to one or more of the computers in the network a request message which includes said one or more specified conditions and a token value which is indicative of a number of computer devices to be located by the message;
receiving said request message at subsequent computers and at each subsequent computer which receives a request message processing the message, performing the following;
determining if it is able to satisfy the one or more conditions specified in the request message and if so, decrementing the token value within the received request message and identifying itself to the request originating computer, and thendetermining if the, possibly decremented, token value in the received request message indicates that at least one further computer device is required to be located and if so, forwarding one or more daughter messages on to a subsequent computer or computers within the computer network unless a restriction criterion has been met,wherein each daughter message includes said one or more specified conditions and a token value such that the token value if only one daughter message is forwarded, or the sum of the token values of the daughter messages if more than one daughter message is forwarded, equals the, possibly decremented, token value of the received request message.
1 Assignment
0 Petitions
Accused Products
Abstract
Messages are generated by a first device which messages together have the purpose of identifying a predetermined number of devices which satisfy a test condition included in each message. These messages are sent respectively to on-line devices neighboring the first device. To ensure that no more devices than necessary are identified by the messages, each message includes a variable which is referred to as a token bucket which indicates the number of devices to be discovered by the message. Additionally, each message includes a unique identifier. When one device receives a discovery message sent from another device, it determines if it satisfies the test condition and if so it sends an acceptance message to the originating device, decrements the token bucket in the message and forwards on any remaining tokens to another neighbor. The process stops once all tokens have been disposed of in this way. If a message reaches the end of a path without disposing of all of the tokens, the message is returned back up the path to try different paths until eventually all paths have been tried or a restriction criterion e.g., maximum permitted number of hops) is met whereupon the message is returned back as a failed message to the originating device.
-
Citations
10 Claims
-
1. A method of identifying a predetermined number of computers within a computer network which satisfy one or more specified conditions, the method comprising:
-
communicating a request from an originating computer to one or more of the computers in the network a request message which includes said one or more specified conditions and a token value which is indicative of a number of computer devices to be located by the message; receiving said request message at subsequent computers and at each subsequent computer which receives a request message processing the message, performing the following; determining if it is able to satisfy the one or more conditions specified in the request message and if so, decrementing the token value within the received request message and identifying itself to the request originating computer, and then determining if the, possibly decremented, token value in the received request message indicates that at least one further computer device is required to be located and if so, forwarding one or more daughter messages on to a subsequent computer or computers within the computer network unless a restriction criterion has been met, wherein each daughter message includes said one or more specified conditions and a token value such that the token value if only one daughter message is forwarded, or the sum of the token values of the daughter messages if more than one daughter message is forwarded, equals the, possibly decremented, token value of the received request message. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer network comprising a plurality of computers having data connections such that each computer within the network can communicate with any other computer within the network provided both computers are running and correctly connected into the network, each computer within the network comprising:
-
a request generator for generating request messages each of which includes a token value indicative of the number of other computers within the network to be identified by the message and one or more specified conditions which each identified computer is to satisfy; and a request processor for processing received request messages by; determining if it is able to satisfy the one or more conditions specified in the request message and if so, decrementing the token value within the message and identifying itself to the originator of the corresponding received request message, and then, determining if the, possibly decremented, token value in the request message indicates that at least one further computer is required to be located by the message and if so, forwarding the one or more daughter messages on to a subsequent computer or computers within the computer network, unless a restriction criterion has been met, wherein each daughter message includes said one or more specified conditions and a token value such that the token value if only one daughter message is forwarded, or the sum of the token values of the daughter messages if more than one daughter message is forwarded, equals the, possibly decremented, token value of the received request message.
-
-
10. A computer for forming part of a computer network comprising a plurality of computers having data connections such that each computer within the network can communicate with any other computer within the network provided both computers are running and correctly connected into the network, the computer comprising:
-
a request generator for generating request messages each of which includes a token value indicative of the number of other computers within the network to be identified by the message and one or more specified conditions which each identified computer is to satisfy; and a request processor for processing received request messages by; determining if it is able to satisfy the one or more conditions specified in the received request message and if so, decrementing the token value within the message and identifying itself to the originator of the received request message, and then, determining if the, possibly decremented, token value in the received request message indicates that at least one further computer is required to be located by the message and if so, forwarding one or more daughter messages on to a subsequent computer or computers within the computer network, unless a restriction criterion has been wherein each daughter message includes said one or more specified conditions and a token value such that the token value if only one daughter message is forwarded, or the sum of the token values of the daughter messages if more than one daughter message is forwarded, equals the, possibly decremented, token value of the received request message.
-
Specification