Estimating the information of electric activity source within the brain from the potential distribution measured on the scalp is called EEG (electroencephalographic) inverse problem. In this paper,a new method based on state space model is proposed. The proposed strategy formulates the source activity distribution through kinetics of brain neurons,and the potential distribution measured on the scalp through observation equations,thus makes it possible to unify the dynamic reconstruction problem and static reconstruction problem into a general framework. Further,it coherently treats the uncertainties of the statistical model of the imaging system and the noisy nature of measurement data. The performance of the proposed framework is evaluated using simulated phantom data and real EEG data with favorable results.