The invention relates to the technical field of
artificial intelligence, is suitable for finance,
medical treatment and other scenes, and discloses a multi-host-oriented SDK calling method and device,
computer equipment and a storage medium, the method comprises the following steps: identifying a current operation environment, and determining each
host type based on the current operation environment; calling and initializing the original SDK of each host; packaging a
standard protocol adaptation class for the SDK of each host, and establishing a
standard protocol interface based on the
standard protocol adaptation class; and establishing an intermediate layer based on the standard protocol interface, responding to a calling request of a
service system through the intermediate layer, and then routing and calling to a corresponding host SDK in combination with an operation environment of the
service system. According to the method and the
system, the capabilities of various host SDKs are uniformly packaged and dynamically adapted, and bridging,
dynamic loading and capability mapping are performed on the host SDKs and the
service system in a middle layer form, so that the calling compatibility, stability and docking efficiency of the host SDKs can be improved.