Method and apparatus for process sync restart
First Claim
Patent Images
1. A method implemented in a network element to support inter-process communication, the network element including a plurality of processor running different operating systems, the method comprising the steps of:
- registering a first process executed by a first processor running a first operating system with a process state manager to obtain a first communication key for the first process;
sending to a process state manager a look-up request from the first process to obtain a second communication key to communicate with a second process executed by a second processor running a second operating system;
initiating communication with the second process by the first process using the communication key;
receiving by the first process a first set of data from the second process;
receiving a notification of death of the second network process from the process state manager, the notification indicating that the second process has been determined by the process state manager to have died;
marking the first set of data with a stale indicator immediately upon receipt of the notification that indicated that the second process is dead;
clearing the first set of data by the first process if a time period expires, the time period beginning upon receiving the notification of death of the second process from the process state manager; and
synchronizing by the first process the first set of data with a second set of data received from the second process and clearing the stale indicator, if the time period does not expire, the second set of data received from the second process after the first network process restarts.
4 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for process sync restart is described. A computer implemented method comprises receiving a first set of data from a network process, determining death of the network process, clearing the first set of data if a time period expires, and synchronizing the first set of data with a second set of data if the time period does not expire, the second set of data received from the network process after the network process restarts.
53 Citations
12 Claims
-
1. A method implemented in a network element to support inter-process communication, the network element including a plurality of processor running different operating systems, the method comprising the steps of:
-
registering a first process executed by a first processor running a first operating system with a process state manager to obtain a first communication key for the first process; sending to a process state manager a look-up request from the first process to obtain a second communication key to communicate with a second process executed by a second processor running a second operating system; initiating communication with the second process by the first process using the communication key; receiving by the first process a first set of data from the second process; receiving a notification of death of the second network process from the process state manager, the notification indicating that the second process has been determined by the process state manager to have died; marking the first set of data with a stale indicator immediately upon receipt of the notification that indicated that the second process is dead; clearing the first set of data by the first process if a time period expires, the time period beginning upon receiving the notification of death of the second process from the process state manager; and synchronizing by the first process the first set of data with a second set of data received from the second process and clearing the stale indicator, if the time period does not expire, the second set of data received from the second process after the first network process restarts. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A network element to support inter-process communication, the network element comprising:
-
a first processor configured to run a first operating system, the first processor executing a first process; and a second processor configured to run a second operating system, the second processor executing a second process; and a third processor configured to execute a process state manager, the first process configured to request from the process state manager a first communication key for the first process, to send to the process state manager a look-up request to obtain a second communication key to communicate with the second process, to initiate communication with the second process using the communication key, to receive by the first process a first set of data from the second process;
to receive a notification of death of the second network process from the process state manager, the notification indicating that the second process has been determined by the process state manager to have died, the first process to mark the first set of data with a stale indicator immediately upon receipt of the notification that indicated that the second process is dead, to clear the first set of data by the first process if a time period expires, the time period beginning upon receiving the notification of death of the second process from the process state manager, and the first process to synchronize the first set of data with a second set of data received from the second process and to clear the stale indicator, if the time period does not expire, the second set of data received from the second process after the first network process restarts. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification