The invention belongs to the technical field of charging devices, and discloses a mobile charging device and control method of an electric automobile and a computer program. The device is provided with a box body, wherein a handle key is welded above the box body, a switch and a control panel, wherein the switch and the control panel arranged on an inclined surface of the box body, a display screen, wherein the display screen is in key connection with the middle part of the inclined surface, a charging clamping interface, wherein the charging clamping interface is arranged below the box body,a charging connector, wherein the charging connector is clamped at the charging clamping interface, universal wheels, wherein the universal wheels are welded at four corners of the bottom of the box body through supporting rods, a discharging clamping interface, wherein the discharging clamping interface is arranged on the right side of the display screen, a discharging connector, wherein the discharging connector is clamped at the discharging clamping interface, a single-chip microcomputer, a time controller and a storage battery which are arranged in the box body. The device is simple to useand has complete functions, avoids the problem of a prior fixed charging mode of the electric automobile, enables the electric automobile to be charged anytime and anywhere, improves the cruising capacity of the prior electric automobile, provides convenience for people who go out for play and go out, and has good market promotion value.