Magnetic activity information is concealed in the shape of stellar light curves owing to the process of rotational modulation. We developed approaches to extract magnetic activity characteristics from stellar light curves, and applied the method to a solar-type star observed with Kepler space telescope and also to the Sun for comparison. The result reveals distinct magnetic activity discrepancies between the solar-type star and the Sun. (1) The light-curve periodicity of the solar-type star is generally stronger than that of the Sun. (2) For the solar-type star, when the range of light-curve fluctuation is larger, the periodicity is also higher; while for the Sun, only during the solar minima with minimal range of fluctuation, the light curves show some periodicity. We propose that on the solar-type star, it is the large-scale magnetic field that leads to the light curves with both high periodicity and large range of fluctuation.