摘要:
One embodiment of the present invention provides a router. The router includes a storage, a forwarding table management mechanism, and a longest prefix matching mechanism. The storage stores, in a data structure corresponding to a rich prefix node associated with a trie, a plurality of network address prefixes represented by the trie. The forwarding table management mechanism expresses a respective network address prefix using one or more of: 1) a traversal path on the trie from a root node to a subtrie of the trie; and 2) an encoded representation of a node in the subtrie. The longest prefix matching mechanism matches a network address with a longest prefix from the network address prefixes stored in the data structure corresponding to the prefix node.
摘要:
A method for selecting a hash function, a method for storing and searching a routing table and devices thereof are provided. The method for selecting a hash function includes: hashing data to be hashed by using a current alternative hash function; decoding a hash result; accumulating decoded results until no carry occurs during the accumulation; and selecting a current alternative hash function with no carry generated as a formal hash function. The method for storing a routing table includes: dividing the routing table into a next-level node pointer portion and a prefix portion for being stored; and selecting a hash function by using the above method for selecting a hash function. The method for searching a routing table includes: directly searching an IP address to be searched according to a directly stored length of a next-level node pointer portion for storing the routing table; and reading a prefix node according to a searched result. Thus, hash collision can be avoided, and memory resources occupied by the routing table can be effectively reduced.
摘要:
A consumer input/output (CIO) optical transceiver module, an active optical cable that incorporates a CIO optical transceiver module, and a method for using a CIO optical transceiver module in an active optical cable are provided. In contrast to optical transceiver modules currently used in active optical cables, which utilize parallel arrays of laser diodes and parallel arrays of photodiodes, the CIO optical transceiver module includes two singlet laser diodes and two singlet photodiodes for providing two high-speed transmit channels and two high-speed receive channels, respectively. Because the singlet laser diodes and photodiodes of the CIO optical transceiver module are less costly than the parallel arrays of laser diodes and parallel arrays of photodiodes that are used in known active optical cables, the CIO optical transceiver module can be manufactured at relatively low costs with high quality, and therefore is well suited for consumer applications.
摘要:
A method for testing an implementation of a specification is provided. The method includes providing a security manager capable of being configured to test compliance of an implementation of a specification, and installing the security manager. The method further includes constructing a security policy corresponding to a desired security environment that a test requires. The method also includes executing the test with the security manager using the security policy.
摘要:
A fiber optic communications cable for providing a short range, high speed data communications link between information system units, including an optical fiber with an integral housing at each end having an electrical connector extending from the housing and adapted to mate with a corresponding electrical connector on an external information system unit for transferring an information signal between the cable and the unit. A signal converter in the integral housing's converts the information signal between an electrical signal and a corresponding optical signal.
摘要:
One embodiment of the present invention provides a router. The router includes a storage, a forwarding table management mechanism, and a longest prefix matching mechanism. The storage stores, in a data structure corresponding to a rich prefix node associated with a trie, a plurality of network address prefixes represented by the trie. The forwarding table management mechanism expresses a respective network address prefix using one or more of: 1) a traversal path on the trie from a root node to a subtrie of the trie; and 2) an encoded representation of a node in the subtrie. The longest prefix matching mechanism matches a network address with a longest prefix from the network address prefixes stored in the data structure corresponding to the prefix node.
摘要:
A pluggable module connected to the backplane or other connection interface of an information system unit so as to provide additional functionality thereto (such as a communications interface to an electrical or fiber optics cable), and arranged to draw electrical power from the system. In order to prevent excessive in-rush current on connection, the module is provided with power control circuitry which is adapted to incrementally increase the supply voltage to components within the module in a manner so as to avoid power supply glitches in the system, such as a substantial voltage drop, and/or excessive current flow.
摘要:
A pluggable module connected to the backplane or other connection interface of an information system unit so as to provide additional functionality thereto (such as a communications interface to an electrical or fiber optics cable), and arranged to draw electrical power from the system. In order to prevent excessive in-rush current on connection, the module is provided with power control circuitry which is adapted to incrementally increase the supply voltage to components within the module in a manner so as to avoid power supply glitches in the system, such as a substantial voltage drop, and/or excessive current flow.
摘要:
An invention is provided for an application manager testing interface that provides a public API usable by testing software. The application manager testing interface allows testing software to issue commands to an application manager to test the life cycle and state management abilities of the application manager. A testing program capable of providing commands to test a life cycle of a dependent program controlled by an application manager is provided. In addition, an application manager testing interface is included that is in communication with the testing program and the application manager. The application manager testing interface is capable of receiving the commands from the testing program and providing the commands to the application manager. In this manner, the application manager can control the dependent program based on the commands. In one aspect, the testing program can be controlled by the application manager. For example, the application manager can be an Xlet manager and the testing program is an agent Xlet, or the application manager can be an applet manager and the testing program can be an agent applet.