Methods to manage services over a service gateway
First Claim
1. A method for managing services by a service gateway, comprising:
- obtaining a first service entry and a second service entry by the service gateway, the first service entry comprising a first service address and a first server address, the second service entry comprising a second service address and a second server address;
obtaining a service table entry of a service mapping table, the service table entry having an association with the second service entry;
adding to the service table entry an association to the first service entry;
storing a marker value associated with the service table entry to indicate that the service table entry is associated with a plurality of service entries;
setting a timer associated with the service table entry to a predetermined duration;
in response to an expiration of the timer, removing the association with the second service entry from the service table entry;
prior to the removing of the association with the second service entry from the service table entry;
receiving a data packet by the service gateway from a host, the data packet comprising a third service address;
comparing the third service address of the data packet with the first service address of the first service entry or with the second service address of the second service entry;
in response to finding a match between the third service address and the first service address, or between the third service address and the second service address, determining the marker value associated with the service table entry;
in response to determining that the marker value indicates that the service table entry is associated with a plurality of service entries, creating a session entry based on the service table entry and storing the session entry in a session table;
in response to finding the match between the third service address and the first service address, modifying the data packet by replacing the third service address with the first server address;
in response to finding the match between the third service address and the second service address, modifying the data packet by replacing the third service address with the second server address; and
sending the modified data packet to the first server address or the second server address; and
in response to removing the association with the second service from the service table entry, changing the marker value to indicate that the service table entry is not associated with a plurality of service entries.
3 Assignments
0 Petitions
Accused Products
Abstract
In activating a service, a service gateway retrieves a service table entry using a service or server address of the service entry, where the service table entry has an association with another service entry. An association to the service entry is added and a marker value is set to indicate associations with two service entries. After a time duration, the association with the other service entry is removed, and the marker value is changed accordingly. In deactivating a service entry, the service gateway calculates a hash value for the service or server address of the service entry. After matching the hash value to a hash value of another service entry, an association with the other service entry is added. A marker value is set to indicate associations with two service entries. After a time duration, the association with the service entry is removed, and the marker value is changed accordingly.
-
Citations
27 Claims
-
1. A method for managing services by a service gateway, comprising:
-
obtaining a first service entry and a second service entry by the service gateway, the first service entry comprising a first service address and a first server address, the second service entry comprising a second service address and a second server address; obtaining a service table entry of a service mapping table, the service table entry having an association with the second service entry; adding to the service table entry an association to the first service entry;
storing a marker value associated with the service table entry to indicate that the service table entry is associated with a plurality of service entries;setting a timer associated with the service table entry to a predetermined duration; in response to an expiration of the timer, removing the association with the second service entry from the service table entry; prior to the removing of the association with the second service entry from the service table entry; receiving a data packet by the service gateway from a host, the data packet comprising a third service address; comparing the third service address of the data packet with the first service address of the first service entry or with the second service address of the second service entry; in response to finding a match between the third service address and the first service address, or between the third service address and the second service address, determining the marker value associated with the service table entry; in response to determining that the marker value indicates that the service table entry is associated with a plurality of service entries, creating a session entry based on the service table entry and storing the session entry in a session table; in response to finding the match between the third service address and the first service address, modifying the data packet by replacing the third service address with the first server address; in response to finding the match between the third service address and the second service address, modifying the data packet by replacing the third service address with the second server address; and sending the modified data packet to the first server address or the second server address; and in response to removing the association with the second service from the service table entry, changing the marker value to indicate that the service table entry is not associated with a plurality of service entries. - View Dependent Claims (2, 3, 7, 8, 9)
-
-
4. A method for managing services by a service gateway, comprising:
-
obtaining a first service entry and a second service entry by the service gateway, the first service entry comprising a first service address and a first server address, the second service entry comprising a second service address and a second server address; obtaining a service table entry of a service mapping table, the service table entry having an association with the second service entry; adding to the service table entry an association to the first service entry; storing a marker value associated with the service table entry to indicate that the service table entry is associated with a plurality of service entries; setting a timer associated with the service table entry to a predetermined duration; in response to an expiration of the timer, removing the association with the second service entry from the service table entry; and prior to the removing of the association with the second service entry from the service table entry; receiving a data packet by the service gateway from a server, the data packet comprising a third server address; comparing the third server address of the data packet with the first server address of the first service entry or with the second server address of the second service entry; in response to finding a match between the third server address and the first server address, or between the third server address and the second server address, determining the marker value associated with the service table entry; in response to determining that the marker value indicates that the service table entry is associated with a plurality of service entries, creating a session entry based on the service table entry and storing the session entry in a session table; in response to finding the match between the third server address and the first server address, modifying the data packet by replacing the third server address with the first service address; in response to finding the match between the third server address and the second server address, modifying the data packet by replacing the third server address with the second service address; and sending the modified data packet to a host address from the data packet. - View Dependent Claims (5, 6)
-
-
10. A computer program product for managing services, the computer program product comprising:
-
a non-transitory computer readable medium having computer readable program code embodied therewith, the computer readable program code configured to; obtain a first service entry and a second service entry, the first service entry comprising a first service address and a first server address, the second service entry comprising a second service address and a second server address; obtain a service table entry of a service mapping table, the service table entry having an association with the second service entry; add to the service table entry an association to the first service entry; store a marker value associated with the service table entry to indicate that the service table entry is associated with a plurality of service entries; set a timer associated with the service table entry to a predetermined duration; and in response to an expiration of the timer, remove the association with the second service entry from the service table entry; prior to the removing of the association with the second service entry from the service table entry; receive a data packet by the service gateway from a host, the data packet comprising a third service address; compare the third service address of the data packet with the first service address of the first service entry or with the second service address of the second service entry; in response to finding a match between the third service address and the first service address, or between the third service address and the second service address, determine the marker value associated with the service table entry; in response to determining that the marker value indicates that the service table entry is associated with a plurality of service entries, create a session entry based on the service table entry and storing the session entry in a session table; in response to finding the match between the third service address and the first service address, modify the data packet by replacing the third service address with the first server address; in response to finding the match between the third service address and the second service address, modify the data packet by replacing the third service address with the second server address; and send the modified data packet to the first server address or the second server address; and in response to removing the association with the second service from the service table entry, change the marker value to indicate that the service table entry is not associated with a plurality of service entries. - View Dependent Claims (11, 12, 16, 17, 18)
-
-
13. A computer program product for managing services, the computer program product comprising:
-
a computer readable medium having computer readable program code embodied therewith, the computer readable program code configured to; obtain a first service entry and a second service entry, the first service entry comprising a first service address and a first server address, the second service entry comprising a second service address and a second server address; obtain a service table entry of a service mapping table, the service table entry having an association with the second service entry; add to the service table entry an association to the first service entry; store a marker value associated with the service table entry to indicate that the service table entry is associated with a plurality of service entries; set a timer associated with the service table entry to a predetermined duration; in response to an expiration of the timer, remove the association with the second service entry from the service table entry; and prior to the removing of the association with the second service entry from the service table entry; receive a data packet by the service gateway from a server, the data packet comprising a third server address; compare the third server address of the data packet with the first server address of the first service entry or with the second server address of the second service entry; in response to finding a match between the third server address and the first server address, or between the third server address and the second server address, determine the marker value associated with the service table entry; in response to determining that the marker value indicates that the service table entry is associated with a plurality of service entries, create a session entry based on the service table entry and storing the session entry in a session table; in response to finding the match between the third server address and the first server address, modify the data packet by replacing the third server address with the first service address; in response to finding the match between the third server address and the second server address, modify the data packet by replacing the third server address with the second service address; and send the modified data packet to a host address from the data packet. - View Dependent Claims (14, 15)
-
-
19. A system, comprising:
- a processor; and
a non-transitory computer readable medium having computer readable program code embodied therewith for execution by the processor, the computer readable program code configured to;obtain a first service entry and a second service entry, the first service entry comprising a first service address and a first server address, the second service entry comprising a second service address and a second server address; obtain a service table entry of a service mapping table, the service table entry having an association with the second service entry; add to the service table entry an association to the first service entry; store a marker value associated with the service table entry to indicate that the service table entry is associated with a plurality of service entries; set a timer associated with the service table entry to a predetermined duration; in response to an expiration of the timer, remove the association with the second service entry from the service table entry; prior to the removing of the association with the second service entry from the service table entry; receive a data packet by the service gateway from a host, the data packet comprising a third service address; compare the third service address of the data packet with the first service address of the first service entry or with the second service address of the second service entry; in response to finding a match between the third service address and the first service address, or between the third service address and the second service address, determine the marker value associated with the service table entry; in response to determining that the marker value indicates that the service table entry is associated with a plurality of service entries, create a session entry based on the service table entry and storing the session entry in a session table; in response to finding the match between the third service address and the first service address, modify the data packet by replacing the third service address with the first server address; in response to finding the match between the third service address and the second service address, modify the data packet by replacing the third service address with the second server address; and send the modified data packet to the first server address or the second server address; and in response to removing the association with the second service from the service table entry, change the marker value to indicate that the service table entry is not associated with a plurality of service entries. - View Dependent Claims (20, 21, 25, 26, 27)
- a processor; and
-
22. A system, comprising:
-
a processor; and a non-transitory computer readable medium having computer readable program code embodied therewith for execution by the processor, the computer readable program code configured to; obtain a first service entry and a second service entry, the first service entry comprising a first service address and a first server address, the second service entry comprising a second service address and a second server address; obtain a service table entry of a service mapping table, the service table entry having an association with the second service entry; add to the service table entry an association to the first service entry; store a marker value associated with the service table entry to indicate that the service table entry is associated with a plurality of service entries; set a timer associated with the service table entry to a predetermined duration;
in response to an expiration of the timer, remove the association with the second service entry from the service table entry;prior to the removing of the association with the second service entry from the service table entry; receive a data packet by the service gateway from a server, the data packet comprising a third server address; compare the third server address of the data packet with the first server address of the first service entry or with the second server address of the second service entry; in response to finding a match between the third server address and the first server address, or between the third server address and the second server address, determine the marker value associated with the service table entry; in response to determining that the marker value indicates that the service table entry is associated with a plurality of service entries, create a session entry based on the service table entry and storing the session entry in a session table; in response to finding the match between the third server address and the first server address, modify the data packet by replacing the third server address with the first service address; in response to finding the match between the third server address and the second server address, modify the data packet by replacing the third server address with the second service address; and send the modified data packet to a host address from the data packet; and
in response to removing the association with the second service from the service table entry, change the marker value to indicate that the service table entry is not associated with a plurality of service entries. - View Dependent Claims (23, 24)
-
Specification