1. A terminal management method, comprising: sending operation information for performing a management operation on a target terminal to a gateway, wherein the operation information carries a return format of an execution result of an operation command for performing the management operation on the target terminal, so that the gateway returns the operation command execution result, returned by the target terminal, in the return format to a server; and receiving the operation command execution result which is sent from the gateway and conforms to the return format. The return format including indication information indicates how the gateway groups operation command execution result of target terminals.