The invention discloses an adaptive
protocol stack reconstruction and transaction-
level data control method for 5G communication, and aims to solve the technical problems of fixed
protocol stack structure, coarse transmission control
granularity and the like of an existing communication module. The method comprises the following steps: firstly, analyzing an
application layer communication session initialization instruction, generating a communication task
label, acquiring 5
G network environment state data in real time, and constructing a network state
feature vector; then, the communication task
label and the network state
feature vector are input into a protocol mapping decision map, a protocol reconstruction instruction is generated, loading and unloading of a protocol module in a
protocol stack resource pool are controlled, a dynamically-adaptive protocol path is constructed, and a transaction identifier is allocated to the protocol path; and establishing a transaction-
level data buffer area based on the transaction identifier, performing priority marking on the data packet, and executing differentiated dynamic flow control operation according to the network state
feature vector and the priority
label, thereby realizing high-reliability and low-
delay 5G communication
data management.