The invention relates to the technical field of distributed architectures, and discloses a multi-screen cooperative control method based on an OpenHarmony distributed architecture and an all-in-one
machine system.The method comprises the steps that a broadcast frame found by equipment is sent through an OpenHarmony distributed soft
bus,
security authentication is conducted on a plurality of display terminals responding to the broadcast frame, a virtual
bus channel is established, and the virtual
bus channel is sent to the display terminals; obtaining a
virtual device group; creating a distributed industrial data object on the main
control equipment of the virtual equipment group and
synchronizing the distributed industrial data object to each slave display terminal to obtain a distributed
data model; mapping the anonymous
shared memory to an annular buffer area; and writing real-
time data acquired by the industrial field equipment into an annular buffer area, and transmitting the real-
time data to each slave display terminal of the virtual equipment group, in the method, each display terminal accesses an agent instance of an industrial data object through a distributed
data management framework; and the requirements of high reliability,
low delay and high consistency on multi-screen cooperative control in an industrial field are met.