The invention discloses an Android Service plug-in implementation method, an Android Service plug-in implementation
system, Android Service plug-in implementation equipment and a medium. The Android Service plug-in implementation method specifically comprises the following steps: deploying
proxy service in a host application, creating a standard interface IServiceInterface, and fusing host and plug-in resources by
rewriting a context loading method of Android Service; constructing a
service life cycle prediction model through a
federated learning framework based on multi-device service behavior data collected during
proxy service operation; generating a dynamic scheduling strategy based on an output result of the
service life cycle prediction model in combination with the equipment electric quantity, the network type and the
CPU load; and based on a dynamic scheduling strategy, writing the plug-in
metadata hash, the federated model
fingerprint and the device state snapshot into a block chain
smart contract, and verifying the integrity of the plug-in through a light node on the chain to obtain a block chain
verification result. According to the method, the stability and the reliability of the Service plug-in are improved, and powerful support is provided for the hot update function of the
Android application.