The invention relates to the technical field of
data transmission, and particularly provides a streaming Token double-path transmission method,
system and device and a storage medium, and the method comprises the steps: responding to a streaming request, completing the initialization of a
system and a session, building a bypass channel from a model to a
client, and creating a session context in a
control flow engine; identifying the type of each Token generated by the model, and
shunting according to the type: data Token routing to a bypass channel and control Token routing to a
control flow path processed by a
control flow engine; data bypass transmission and control flow service
processing are executed in parallel, and the states of the data bypass transmission and the control flow service
processing are ensured to be consistent through a state synchronization mechanism; and the dual-path operation state is continuously monitored, and dynamic path adjustment or abnormity
recovery is carried out when abnormity is detected. According to the method, the data flow and the control flow are decoupled, so that the
transmission delay of the streaming Token is remarkably reduced while the
state consistency is ensured.