摘要:
Methods and devices are disclosed for changing the configuration state of a network device such as a router, a switch or a similar device without the need for a person to interpret a textual diff. According to some aspects of the invention, a programmatic diff file that includes the output of two comparisons is used as an input file to a program that “rolls back” the current configuration state to a prior configuration state. According to other aspects of the invention, the output of a single comparison is input to an “incremental diff” process, which adds new commands to a configuration state. According to preferred aspects of the invention, the output files generated by the comparison processes preserve the hierarchical context of each command in a programmatic format that is usable as direct input by the network device or by another device (such as a host controlled by a network administrator) that performs the incremental diff.
摘要:
Wireless communications systems, remote communications devices, and wireless communications methods are described. In one aspect, a wireless communications system includes a reader configured to output a plurality of wireless communications signals, a plurality of remote communications devices in communication with the reader and configured to receive the wireless communications signals, and wherein at least one of the remote communications devices comprises communications circuitry configured to receive the wireless communications signals and processing circuitry configured to process the wireless communications signals, wherein the communications circuitry and the processing circuitry are individually configured to operate in a plurality of operational states including a first operational state corresponding to an absence of the wireless communications signals at the at least one remote communications device, a second operational state corresponding to the presence of the wireless communications signals at the at least one remote communications device, and wherein electrical energy is consumed at an increased rate by the remote communications device during the operation in the second operational state compared with the operation in the first operational state.
摘要:
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.