发明名称 Method and apparatus for parsing commands
摘要 A method and apparatus parses a command using a tree of acceptable command tokens. Each token is matched to a node in the tree, and upon discovering a match, descendant nodes of the matched node are used to parse the remaining tokens in the command received. When the command is fully parsed, or as the command is being parsed, pointers to nodes of the tree corresponding to a command parsed are stored along with a token from each such node matching the command token for use by the next command to be parsed. When the next command is received, the stored tokens are compared with each command token in the command until the tokens do not match the command token. The remainder of the command token is then parsed using the tree starting with the node corresponding to the last stored token that matched a command token.
申请公布号 US6134709(A) 申请公布日期 2000.10.17
申请号 US19980106923 申请日期 1998.06.29
申请人 CISCO TECHNOLOGY, INC. 发明人 PRATT, RICHARD
分类号 G06F9/44;(IPC1-7):G06F9/45 主分类号 G06F9/44
代理机构 代理人
主权项
地址