CPC H04L 12/40169 (2013.01) [H04L 12/40006 (2013.01)] | 4 Claims |
1. A binding and configuration method for the bus adapter and the channel, comprising;
configuring a mapping table of a mapping manager, comprising configuring six information fields in the mapping table, wherein the six information fields in the mapping table comprise an application program name, a channel type, a logical channel index, a hardware type, a hardware index, and a hardware channel index;
associating a logical channel with a corresponding hardware channel based on the mapping table; and
connecting the logical channel to the corresponding hardware channel for data communication, wherein
the application program name is a string name of an application program using the mapping manager;
the channel type is a type of the logical channel that the mapping manager is responsible for mapping;
the logical channel index is a logical channel resource number of the application program, and the logical channel resource number increases from small to large;
the hardware type is a type of a manufacturer of a corresponding bus adapter and a model of the bus adapter of the manufacturer;
the hardware index is a number of distinguishing a hardware of a same type after the corresponding bus adapter is inserted, wherein the number is dynamically adjusted based on a serial number (SN) ordering method of the bus adapter; and
the hardware channel index is a number of hardware channels of a same type in the corresponding bus adapter, wherein the number is preset in the same bus adapter.
|