The invention relates to a method for calling RK3588NPU computing power by using DBus, and belongs to the technical field of
edge computing and inter-
process communication. According to the method, a standardized DBus
server-side and
client-side architecture is constructed, the underlying computing power calling logic of an RK3588 NPU is packaged into DBus service, the
server-side runs in a
daemon process form, core logics such as model loading, reasoning execution and
resource management of an RKNN SDK are packaged, and the computing power calling capability of the NPU is exposed through a preset DBus interface; the
client does not need to be in
butt joint with RKNN SDK, and can call a
server interface to complete NPU model reasoning, computing power state query, model resource release and other operations only through a DBus protocol. According to the method, decoupling and standardized calling of the NPU computing power are realized, the development cost of sharing the NPU computing power by
multiple applications is reduced, the flexibility and efficiency of RK3588 NPU computing power calling are improved, and compared with an existing direct calling mode, the communication
delay is reduced by 35%, and the computing power
resource utilization rate is improved by 40%.