The invention relates to the technical field of interface packaging, and discloses an interface packaging
system and method based on a cloud platform. The method aims at integrating third-party interfaces of different types of clouds, providing the same calling mode externally, and achieving unified
authentication, flow control, statistics and the like of different types of interfaces. The platform generally provides templates and rules defined by the interface, the
maintainability and the later expansion capability of the interface can be ensured, meanwhile,
unified interface document management can also avoid the tedious process that a developer searches interface information in
multiple platform documents, the detailed interface calling configuration achieves the interface
automatic testing process, and the testing efficiency is improved. And the problem of interface differences from different sources is solved. According to the invention, unified calling of different source components and interfaces of different calling
modes is realized; a redis first-level cache mode and a local second-level cache mode are used for relieving the pressure of a
database network, and interface information is rapidly analyzed; and unified
authentication of the interface is realized by using a redi and RSA2 asymmetric
encryption algorithm.