Patent ID: 9703662
Date: 2017-07-11
CPC Classifications: G06F

Claim:
1. A method for controlling a plug-in by a router, comprising: receiving a plug-in state request querying an operational state of a plug-in sent from a terminal device; obtaining a plug-in ID carried in the plug-in state request; obtaining a process ID corresponding to the plug-in ID from a preset configuration file; obtaining the operational state of the plug-in according to the process ID; sending the operational state of the plug-in to the terminal device; receiving an instruction for closing the plug-in from the terminal device; obtaining the plug-in ID of the plug-in to be closed, wherein the plug-in ID of the plug-in to be closed is carried in the instruction for closing the plug-in; closing the plug-in to be closed according to the process ID corresponding to the plug-in ID of the plug-in to be closed; and deleting the plug-in ID and the process ID of the plug-in to be closed from the preset configuration file.