US 12,223,304 B2
System adaptation method and apparatus, electronic device and storage medium
Meiying Li, Jiangsu (CN); Rongxun Jing, Jiangsu (CN); Liangzhan Xing, Jiangsu (CN); and Aipeng Lian, Jiangsu (CN)
Assigned to SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
Appl. No. 18/696,349
Filed by SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
PCT Filed Nov. 30, 2022, PCT No. PCT/CN2022/135357
§ 371(c)(1), (2) Date Mar. 27, 2024,
PCT Pub. No. WO2023/155536, PCT Pub. Date Aug. 24, 2023.
Claims priority of application No. 202210144060.5 (CN), filed on Feb. 17, 2022.
Prior Publication US 2024/0338191 A1, Oct. 10, 2024
Int. Cl. G06F 8/61 (2018.01); G06F 9/455 (2018.01)
CPC G06F 8/63 (2013.01) [G06F 9/45558 (2013.01); G06F 2009/45562 (2013.01)] 13 Claims
OG exemplary drawing
 
1. A system adaptation method, comprising:
acquiring a system list and a software list, wherein the system list comprises a target system that needs to be adapted, and the software list comprises target software that needs to be adapted;
configuring a software installation script corresponding to the target system, and executing a docker pull command to pull a container system mirror image corresponding to the target system;
executing a docker run command to run a virtualized system environment corresponding to the target system according to the container system mirror image; and
executing a software installation instruction in the software installation script to download the target software to a download directory in a container;
wherein the executing a software installation instruction in the software installation script to download the target software to a download directory in a container comprises:
mounting a mapping relationship between a host directory and the download directory in the container, and mounting the software list, the software installation script, and the download directory; and
executing the software installation instruction in the software installation script to download the target software to the download directory in the container.