Patent ID: 8321854

Claim:
A computer-implemented method for obtaining grammar updates comprising: receiving, by a grammar service, a notification regarding a grammar update applied to a target, said grammar update being an update to a command syntax used by said target; sending, by the grammar service, an update request to said target to obtain said grammar update; and sending, by said target to said grammar service, an update response including said grammar update, wherein said grammar service is included in a host that performs first processing of a command line, the first processing comprising: selecting, by the host, one of a plurality of rule sets, each of said rule sets defining a different set of syntax rules used for parsing a command line including one or more command line interface commands; parsing said command line at said host using said selected rule set; if said parsing did not result in a syntax error, sending a command request from said host to a data storage system, said command request including a timestamp indicating when the command request was issued, a timeout period and a representation of said command line, and wherein the method further comprises performing second processing of the command request at the data storage system, the second processing including: determining whether a current time exceeds a time value represented by a sum of the timestamp and the timeout period; if the current time exceeds the time value, ignoring the command request and otherwise performing other processing, said other processing including: parsing, at the data storage system, the one or more command line interface commands of the command line included in the command request; and sending a command response to the host in response to the command request, said command response including information regarding a version of syntax rules currently used on the data storage system, wherein the host uses the information to determine whether to update the plurality of rule sets used by the host.