The invention discloses a device capable of preventing valuables from being damaged in an earthquake, which comprises a ridemeter, a controller, a gas generator, an air bag or an air cylinder and can also comprise a soft bag, a soft curtain, a soft net, a soft wire, an air bag supporting component or an air cylinder connecting component, and other accessories. When the shockproofness of earthquakes and the like reaches a set value, the ridemeter sends a signal; and after the signal is processed by the controller, the gas generator is started up and charges the air bag or the air cylinder quickly, so that the air bag expands or the air cylinder strengths to protect valuables. By carrying out program controlling on multiple charge parameters of the air bag or the air cylinder, the device can perform accurate shockproof protection on valuables, such as cultural relics, precious porcelain, glass crafts and the like, which are placed in a large area.