The economy of application programming interface is an emerging driving force that can help corporate leaders to achieve corporate transformation, build new ecosystems, and monetize core assets to meet the market challenges in today's digital transformation process. Data and functions of the device applications feature a huge potential value, which deserve further development to realize their potential value. However, the data and functionality of open applications require developers to manually change and reconstruct the original system. For a large number of enterprises and government agencies, these are often accomplished by third-party development teams for custom applications, such as enterprise office applications, and smart city applications owned by the government, Although these enterprise applications comprise very important data and functions, the owners of big enterprises and government agencies do not have their own development teams, thus the third-party development teams need to reconnect with the development teams that developed the original device applications. Thus, they encounter the problems of high development costs and long development cycles.
In summary, there is a need for a method for supporting the conversion of data and functions of the existing device application into application programming interfaces. It can help application owners to quickly open the data and functionality of existing applications to outside even when there is a lack of development documentation and developers. The disclosed method uses program analysis and reconstruction to convert data and functions of existing device applications, which can efficiently reuse the original application code to quickly generate the corresponding application programming interface for the data and functions of the existing application.