Automatic garbage bag hot-sealing device and method of garbage can

The invention discloses an automatic garbage bag hot-sealing device and method of a garbage can. The automatic garbage bag hot-sealing device of the garbage can comprises sliding blocks, a clamping board, a heating module, a drive mechanism for driving the clamping board to move towards the heating module, and a rack arranged at an opening of the garbage can, wherein the heating module is fixed to the rack; guide rails are arranged on the two sides of the rack; the number of the sliding blocks is two, and the two sliding blocks are matched with the guide rails on the two sides of the rack; the clamping board is installed on the two sliding blocks; a bag opening containing area is formed between the clamping board and the heating module; and the bag opening containing area is located at the opening of the garbage can. The automatic garbage bag hot-sealing device and method of the garbage can not only can accurately and efficiently pack a garbage bag filled with garbage, but also can save manpower resources, reduce direct contact between human bodies and garbage and reduce the hidden sanitary danger. Meanwhile, the automatic garbage bag hot-sealing device has the advantages of being simple in structure and easy to use.