The embodiment of the invention discloses a PCIe
encryption card low-power-consumption implementation method and
system based on ASPM, and the method comprises the steps: switching the low-power-consumption and working mode of a PCIe
encryption card through alternately employing low-power-consumption state interruption and
base address register or address conversion unit matching interruption, namely, when a
power management module of a PCIe controller detects that the
power management module is in an idle state; the PCIe controller generates a low-power-consumption state interrupt
signal to the
central processing unit and each
algorithm module of the PCIe
encryption card, in a low-power-consumption state interrupt service program, the
central processing unit and each
algorithm module enter a low-power-consumption mode, and when the PCIe interface receives an upper host command, the
central processing unit and each
algorithm module enter a low-power-consumption mode. The PCIe controller generates a
base address register interrupt
signal or an address conversion unit matching interrupt
signal to the central
processing unit and each algorithm module, the central
processing unit and each algorithm module are awakened, the low-power-consumption mode is quitted, and
firmware carries out encryption and decryption command analysis
processing on a host command data packet. According to the scheme, the
power consumption of the PCIe encryption card can be controlled to be lower.