The invention relates to the field of cross-node
data sharing, two communication processes establish a memory channel based on descriptor driving based on a
virtualization device driving architecture, the two communication processes cooperatively maintain an annular memory area, and a source process segments a video and audio
stream to be shared into data blocks based on an image group boundary and writes the data blocks into a
shared memory pool; and a consumption process obtains the descriptor from the annular
control area through a
polling or event-driven mechanism, directly accesses the corresponding video and audio data block in the
shared memory pool according to the descriptor, realizes zero-copy
data acquisition, and obtains the video and audio data through the state identification of the descriptor and a lightweight notification mechanism. And
synchronizing data production and consumption between the source process and the consumption process. By constructing a zero-copy communication
mechanism based on descriptor driving and an annular memory area, the
delay of cross-node video and audio
data sharing and the overhead of a processor are reduced, and efficient synchronization and non-copy
data exchange of production and consumption processes are realized by utilizing a front-end and rear-end collaborative architecture.