主权项 |
1. A method for optimizing publication of operating states, comprising:
receiving, at a presence server, a first publication message from an authorization, and accounting (AAA) server, the first publication message associated with an initiation of a data session by a mobile unit, the first publication message comprising an operating state of a mobile unit; creating, by the presence server, a data session slot storing the operating state of the mobile unit during the data session, the data session slot identified by a first entity tag value; sending, by the presence server, the first entity tag value to the AAA server; receiving from the AAA server a second publication message communicating a session identifier value, a correlation value, a second entity tag value, and an update of the operating state of the mobile unit during the data session, wherein:
the session identifier value comprises a first string of characters uniquely identifying the data session, andthe correlation identifier value comprises a second string of characters uniquely identifying authorization granting permission to instantiate the data session; determining that the second entity tag value of the second publication message does not match the first entity tag value identifying the data session slot for storing, by the presence server, the operating state of the mobile unit during the data session; in response to determining that the second entity tag value of the second publication message does not match the first entity tag value, deriving by the presence server, the first entity tag value from the session identifier value and the correlation identifier, wherein deriving the entity tag value comprises performing an operation on the first string of characters and the second string of characters to construct the entity tag value; using the first entity tag value to identify the data session slot storing the operating state of the mobile unit during the data session; and storing the update of the operating state of the mobile unit in the data session slot. |