A method for integrity protection, applied to a base station, comprising: sending, by the base station, configuration information for integrity protection to a terminal by a Radio Resource Control, RRC, layer message, wherein the configuration information for integrity protection is used for configuring an integrity protection function for at least one transmission resource used by the terminal in the transmission of service data; the method is characterized in that, after sending, by the base station, configuration information for integrity protection to the terminal by the RRC layer message, the method further comprises: sending, by the base station, activation/deactivation information of the integrity protection function to the terminal by a Media Access Control, MAC, layer message, wherein the activation/deactivation information of the integrity protection function is used for activating/deactivating the integrity protection function for the at least one transmission resource configured with the integrity protection function; wherein when sending the activation/deactivation information of the integrity protection function to the terminal by the MAC layer message by the base station, the activation/deactivation information of the integrity protection function is carried by an activation/deactivation MAC control element; wherein a sub-header of the activation/deactivation MAC control element comprises a Logical Channel Identify, LCID, field, the LCID field indicates that a type of the activation/deactivation MAC control element is a MAC control element used for activating/deactivating the integrity protection function for the transmission resources, the MAC control element comprises at least one bitmap field carrying the activation/deactivation information of the integrity protection function. sending, by the base station, configuration information for integrity protection to a terminal by a Radio Resource Control, RRC, layer message, wherein the configuration information for integrity protection is used for configuring an integrity protection function for at least one transmission resource used by the terminal in the transmission of service data; the method is characterized in that, after sending, by the base station, configuration information for integrity protection to the terminal by the RRC layer message, the method further comprises: sending, by the base station, activation/deactivation information of the integrity protection function to the terminal by a Media Access Control, MAC, layer message, wherein the activation/deactivation information of the integrity protection function is used for activating/deactivating the integrity protection function for the at least one transmission resource configured with the integrity protection function; wherein when sending the activation/deactivation information of the integrity protection function to the terminal by the MAC layer message by the base station, the activation/deactivation information of the integrity protection function is carried by an activation/deactivation MAC control element; wherein a sub-header of the activation/deactivation MAC control element comprises a Logical Channel Identify, LCID, field, the LCID field indicates that a type of the activation/deactivation MAC control element is a MAC control element used for activating/deactivating the integrity protection function for the transmission resources, the MAC control element comprises at least one bitmap field carrying the activation/deactivation information of the integrity protection function. sending, by the base station, activation/deactivation information of the integrity protection function to the terminal by a Media Access Control, MAC, layer message, wherein the activation/deactivation information of the integrity protection function is used for activating/deactivating the integrity protection function for the at least one transmission resource configured with the integrity protection function; wherein when sending the activation/deactivation information of the integrity protection function to the terminal by the MAC layer message by the base station, the activation/deactivation information of the integrity protection function is carried by an activation/deactivation MAC control element; wherein a sub-header of the activation/deactivation MAC control element comprises a Logical Channel Identify, LCID, field, the LCID field indicates that a type of the activation/deactivation MAC control element is a MAC control element used for activating/deactivating the integrity protection function for the transmission resources, the MAC control element comprises at least one bitmap field carrying the activation/deactivation information of the integrity protection function.