A network protocol configuration apparatus, wherein the network protocol configuration apparatus comprises: a determining module, configured to determine, for a target network protocol, at least two target function modules, wherein the target network protocol is a protocol used for data processing and wherein each target function module has a processing function of at least one layer of a Packet Data Convergence Protocol PDCP layer, a Radio Link Control Protocol RLC layer, a Media Access Control MAC layer, or a physical layer PHY; a configuration module, configured to configure the at least two target function modules, wherein the at least two configured target function modules are configured to process data according to the target network protocol; and a processing module, configured to process the data by using the at least two configured target function modules; wherein the configuration module comprises: an activation unit, configured to activate the at least two target function modules according to the target network protocol; a determining unit, configured to determine a parameter configuration for each of the at least two target function modules, wherein each parameter configuration is used to enable the corresponding function module to process the data by using the target network protocol; an allocation unit, configured to allocate a respective fragment of a physical resource to each of the at least two target function modules; and a tandem connection unit, configured to connect the at least two target function modules in tandem according to a tandem connection sequence corresponding to the target network protocol, wherein the tandem connection sequence indicates a data processing sequence. a determining module, configured to determine, for a target network protocol, at least two target function modules, wherein the target network protocol is a protocol used for data processing and wherein each target function module has a processing function of at least one layer of a Packet Data Convergence Protocol PDCP layer, a Radio Link Control Protocol RLC layer, a Media Access Control MAC layer, or a physical layer PHY; a configuration module, configured to configure the at least two target function modules, wherein the at least two configured target function modules are configured to process data according to the target network protocol; and a processing module, configured to process the data by using the at least two configured target function modules; wherein the configuration module comprises: an activation unit, configured to activate the at least two target function modules according to the target network protocol; a determining unit, configured to determine a parameter configuration for each of the at least two target function modules, wherein each parameter configuration is used to enable the corresponding function module to process the data by using the target network protocol; an allocation unit, configured to allocate a respective fragment of a physical resource to each of the at least two target function modules; and a tandem connection unit, configured to connect the at least two target function modules in tandem according to a tandem connection sequence corresponding to the target network protocol, wherein the tandem connection sequence indicates a data processing sequence. an activation unit, configured to activate the at least two target function modules according to the target network protocol; a determining unit, configured to determine a parameter configuration for each of the at least two target function modules, wherein each parameter configuration is used to enable the corresponding function module to process the data by using the target network protocol; an allocation unit, configured to allocate a respective fragment of a physical resource to each of the at least two target function modules; and a tandem connection unit, configured to connect the at least two target function modules in tandem according to a tandem connection sequence corresponding to the target network protocol, wherein the tandem connection sequence indicates a data processing sequence.