Method and system for repairing data by data firewall system

The invention provides a method for repairing data by a data firewall system. The method comprises the steps of triggering a data firewall by a master system when data inputting is started by a sub system; calculating important data attributes by the data firewall according to a preset rule; determining other uncertain data by the data firewall by utilizing the preset rule according to the important data attributes selected by a user and correct data determined by the user, and identifying wrong data; updating the wrong data by the data firewall according to reference data. The embodiment of the invention also provides a corresponding system. According to the method provided by the invention, by monitoring to-be-input data of the sub system, the firewall system is triggered, the other uncertain data can be checked and repaired according to the determined correct data and the preset rule in the system, the correctness of the to-be-input data can be ensured, and thus the system which is used for repairing the data and is capable of ensuring the correctness and the data quality can be realized.