Failure differentiation and recovery in distributed systems
First Claim
Patent Images
1. A method comprisingconfiguring at least one processor to perform functions comprising:
- receiving at a receiving process a data packet including an indication comprising a process state indication indicative of a state of a sending process sending the data packet and a transmission state indication indicative of a state of a network connection between the sending process and the receiving process, wherein the indication is received in a header of the data packet;
determining if the data packet is the first data packet received since a process start of the receiving process receiving the data packet;
comparing the indication with an expected indication if it is not determined that the data packet is the first data packet received since the process start and skipping the comparison if it determined that the data packet is the first data packet received since the process start;
updating an expected process state indication to the process state indication when it is determined that the data packet is the first data packet received since the process start;
updating an expected transmission state indication to the transmission state indication when it is determined that the data packet is the first data packet received since the process start; and
if the data packet is not the first data packet received since the process start, determining if the data packet is valid or is not valid based on a result of the comparison.
8 Assignments
0 Petitions
Accused Products
Abstract
According to an embodiment, a method comprises receiving a data packet including an indication comprising a process state indication and a transmission state indication, comparing the indication with an expected indication, and determining if the data packet is valid or not based on a result of the comparison.
52 Citations
46 Claims
-
1. A method comprising
configuring at least one processor to perform functions comprising: receiving at a receiving process a data packet including an indication comprising a process state indication indicative of a state of a sending process sending the data packet and a transmission state indication indicative of a state of a network connection between the sending process and the receiving process, wherein the indication is received in a header of the data packet; determining if the data packet is the first data packet received since a process start of the receiving process receiving the data packet; comparing the indication with an expected indication if it is not determined that the data packet is the first data packet received since the process start and skipping the comparison if it determined that the data packet is the first data packet received since the process start; updating an expected process state indication to the process state indication when it is determined that the data packet is the first data packet received since the process start; updating an expected transmission state indication to the transmission state indication when it is determined that the data packet is the first data packet received since the process start; and if the data packet is not the first data packet received since the process start, determining if the data packet is valid or is not valid based on a result of the comparison. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
12. A method comprising
configuring at least one processor to perform functions comprising: including an indication in a data packet to be transmitted, the indication comprising a process state indication indicative of a state of a sending process sending the data packet and a transmission state indication indicative of a state of a network connection between the sending process and a receiving process to which the data packet is to be sent, where the indication is included in a header of the data packet; wherein the indication is configured to be compared at the receiving process with an expected indication if the data packet is not the first data packet received since the process start and with the comparison being skipped if the data packet is the first data packet received since the process start, and wherein the indication is further configured, if the data packet is the first data packet received since the process start, to cause updating of an expected process state indication to the process state indication and an expected transmission state indication to the transmission state indication; and transmitting the data packet. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
21. A non-transitory computer-readable medium storing a program of instructions which, when executed by a processor, configure an apparatus to perform actions comprising:
-
receiving at a receiving process a data packet including an indication comprising a process state indication indicative of a state of a sending process sending the data packet and a transmission state indication indicative of a state of a network connection between the sending process and the receiving process, wherein the indication is received in a header of the data packet; determining if the data packet is the first data packet received since a process start of the receiving process receiving the data packet; comparing the indication with an expected indication if it is determined that the data packet is not the first data packet received since the process start and skipping the comparison if it is determined that the data packet is the first data packet received since the process start; updating an expected process state indication to the process state indication and updating an expected transmission state indication to the transmission state indication when it is determined that the data packet is the first data packet received since the process start; and if the data packet is not the first data packet received since the process start, determining if the data packet is valid or is not valid based on a result of the comparison. - View Dependent Claims (23)
-
-
22. A non-transitory computer-readable medium storing a program of instructions which, when executed by a processor, configure an apparatus to perform actions comprising:
-
including an indication in a data packet to be transmitted, the indication comprising a process state indication indicative of a state of a sending process sending the data packet and a transmission state indication indicative of a state of a network connection between the sending process and a receiving process to which the data packet is to be sent, where the indication is included in a header of the data packet, where the indication is configured to be compared at the receiving process with an expected indication in order to detect whether the data packet including the indication is valid or is not valid if the data packet is not the first data packet received since the process start and with the comparison being skipped if the data packet is the first data packet received since the process start, and wherein the indication is further configured, if the data packet is the first data packet received since the process start, to cause updating of an expected process state indication to the process state indication and an expected transmission state indication to the transmission state indication; and transmitting the data packet.
-
-
24. A semiconductor chip comprising:
-
a receiving circuit configured to receive at a receiving process a data packet including an indication comprising a process state indication indicative of a state of a sending process sending the data packet and a transmission state indication indicative of a state of a network connection between the sending process and the receiving process, wherein the indication is configured to be received in a header of the data packet, wherein the receiving circuit is further configured to update an expected process state indication to the process state indication when it is determined that the data packet is the first data packet received since the process start and to update an expected transmission state indication to the transmission state indication when it is determined that the data packet is the first data packet received since the process start; a comparing circuit configured to compare the indication with an expected indication if it is determined that the data packet is not the first data packet received since the process start and to skip the comparison if it determined that the data packet is the first data packet received since the process start; and a determining circuit configured to determine if the data packet is valid or is not valid based on a result of the comparison by the comparing circuit.
-
-
25. A semiconductor chip comprising:
-
an including circuit configured to include an indication in a data packet to be transmitted, the indication comprising process state indication indicative of a state of a sending process sending the data packet and a transmission state indication indicative of a state of a network connection between the sending process and a receiving process to which the data packet is to be sent, the indication configured to be included in a header of the data packet, wherein the indication is configured to be compared at the receiving process with an expected indication in order to detect whether the data packet including the indication is valid or is not valid if it is determined that the data packet is not the first data packet received since the process start and with the comparison being skipped if the receiving process determines that the data packet is the first data packet received since the process start, and wherein the indication is further configured, if the data packet is the first data packet received since the process start, to cause updating of an expected process state indication to the process state indication and an expected transmission state indication to the transmission state indication; and a transmitting circuit configured to transmit the data packet.
-
-
26. A device comprising:
-
a computer including a processor and a memory; receiving means for controlling the processor to direct receiving at a receiving process a data packet including an indication comprising a process state indication indicative of a state of a sending process sending the data packet and a transmission state indication indicative of a state of a network connection between the sending process and the receiving process, wherein the indication is configured to be received in a header of the data packet, wherein the processor is further controlled to update an expected process state indication to the process state indication when it is determined that the data packet is the first data packet received since the process start and to update an expected transmission state indication to the transmission state indication when it is determined that the data packet is the first data packet received since the process start; comparing means for controlling the processor to compare the indication with an expected indication if it is determined that the data packet is not the first data packet received since the process start and to skip the comparison if it determined that the data packet is the first data packet received since the process start; and determining means for controlling the processor to determine if the data packet is valid or is not valid based on a result of the comparison by the comparing means.
-
-
27. A device comprising:
-
a computer including a processor and a memory; including means for controlling the processor to include an indication in a data packet to be transmitted, the indication comprising a process state indication indicative of a state of a sending process sending the data packet and a transmission state indication indicative of a state of a network connection between the sending process and a receiving process to which the packet is to be sent, the indication configured to be included in a header of the data packet, wherein the indication is configured to be compared at the receiving process with an expected indication in order to detect whether the data packet including the indication is valid or is not valid if the data packet is the not first data packet received since the process start and with the comparison being skipped if it is determined that the data packet is the first data packet received since the process start, and wherein the indication is further configured, if the data packet is the first data packet received since the process start, to cause updating of an expected process state indication to the process state indication and an expected transmission state indication to the transmission state indication; and transmitting means for transmitting the data packet.
-
-
28. An apparatus, comprising:
-
a processor; and a memory including computer program code, where the memory and computer program code are configured to, with the processor, cause the apparatus at least to, receive at a receiving process a data packet including an indication comprising a process state indication indicative of a state of a sending process sending the data packet and a transmission state indication indicative of a state of a network connection between the sending process and the receiving process, wherein the indication is received in a header of the data packet; determine if the data packet is the first data packet received since the process start; update an expected process state indication to the process state indication when it is determined that the data packet is the first data packet received since the process start and to update an expected transmission state indication to the transmission state indication when it is determined that the data packet is the first data packet received since the process start; compare the indication with an expected indication if it is determined that the data packet is not the first data packet received since the process start and skip the comparison if it determined that the data packet is the first data packet received since the process start; and determine if the data packet is valid or is not valid based on a result of the comparison. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35, 36, 37, 38)
-
-
39. An apparatus, comprising:
-
a processor; and a memory including computer program code, where the memory and computer program code are configured to, with the processor, cause the apparatus at least to, include an indication in a data packet to be transmitted, the indication comprising a process state indication indicative of a state of a sending process sending the data packet and a transmission state indication indicative of a state of a network connection between the sending process and a receiving process to which the data packet is to be sent, where the indication is included in a header of the data packet, where the indication is configured to be compared at the receiving process with an expected indication in order to detect whether the data packet including the indication is valid or is not valid if the data packet is not the first data packet received since the process start and with the comparison being skipped if the data packet is the first data packet received since the process start, and wherein the indication is further configured, if the data packet is the first data packet received since the process start, to cause updating of an expected process state indication to the process state indication and an expected transmission state indication to the transmission state indication; and transmit the data packet. - View Dependent Claims (40, 41, 42, 43, 44, 45, 46)
-
Specification