The application provides an
adaptation method and device and a computer readable storage medium, relates to the technical field of
application software, and can provide functional support for automatic code replacement execution and scheme between source
adaptation content and target
adaptation content. The method comprises the following steps: when an adaptation application request is submitted, target parameters are configured, including an adaptation environment, basic data, a code
library address and a function
list; in the case of completed configuration, the adaptation application request is submitted to an automatic adaptation service through a form; the code
library address information is transmitted to a
machine learning service through the automatic adaptation service, and
machine learning training is performed through the
machine learning service; the function set in the code file information and adaptation requirements are used for
rule matching on an adaptation rule
library; in the case of successful matching, a code replacement operation is performed on
user code; and based on the file name and file position information of the replaced
user code, a code submission request is triggered. The application is applied to automatic code replacement execution.