IP Library Granted Patent US 12,223,304
Granted Patent B2
US 12,223,304 · App. 18/696,349 · Granted Feb 11, 2025

System adaptation method and apparatus, electronic device and storage medium

Inventors: Meiying Li (Jiangsu, CN); Rongxun Jing (Jiangsu, CN); Liangzhan Xing (Jiangsu, CN); Aipeng Lian (Jiangsu, CN)
Assignee: SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD.
G06F8/63G06F9/45558G06F2009/45562
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,223,304
App. No.
18/696,349
Granted
Feb 11, 2025
Kind
B2
Abstract

A system adaptation method and apparatus, an electronic device and a computer-readable storage medium. The method includes: acquiring a system list and a software list (S 101 ), where the system list includes a target system that needs to be adapted, and the software list includes target software that needs to be adapted; configuring a software installation script corresponding to the target system, and pulling a container system mirror image corresponding to the target system (S 102 ); running, according to the container system mirror image, a virtualized system environment corresponding to the target system (S 103 ); and downloading the target software to a download directory in a container by using the software installation script (S 104 ).

Claims (47)

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.

2. The method according to claim 1 , wherein the acquiring a system list and a software list comprises:

configuring the system list that needs to be adapted; and

configuring the software list that needs to be adapted.

3. The method according to claim 1 , wherein the configuring a software installation script corresponding to the target system comprises:

configuring the software installation instruction comprised in the software installation script corresponding to the target system.

4. The method according to claim 3 , wherein the configuring the software installation instruction comprised in the software installation script corresponding to the target system comprises:

in response to the target system being a first system, configuring a yum installation instruction, in response to the target system being a second system, configuring an apt-get installation instruction, and in response to the target system being a third system, configuring a zypper installation instruction.

5. The method according to claim 1 , wherein the method further comprises:

setting a command line software package manager configuration to buffer a software package of the target software in response to completion of installation of the target software.

6. The method according to claim 1 , wherein after the executing a software installation instruction in the software installation script to download the target software to a download directory in a container, the method further comprises:

adapting the target software in the host directory according to the mapping relationship.

7. The method according to claim 6 , wherein the adapting the target software in the host directory according to the mapping relationship comprises:

according to the mapping relationship, copying a buffered offline package of the target software to the host directory, in order for a host to obtain the buffered offline package of the target software after being adapted.

8. The method according to claim 1 , wherein the 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 comprises:

mounting the mapping relationship between the host directory and the download directory in the container by using a −v command, and mounting the software list, the software installation script, and the download directory by using the −v command.

9. An electronic device, comprising:

a memory, configured for storing computer-readable instructions;

one or more processors, configured for executing the computer-readable instructions, and upon execution of the computer-readable instructions, are configured for:

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.

10. The electronic device according to claim 9 , wherein the one or more processors, upon execution of the computer-readable instructions, are configured for:

during the acquiring a system list and a software list, configuring the system list that needs to be adapted and configuring the software list that needs to be adapted.

11. The electronic device according to claim 9 , wherein the one or more processors, upon execution of the computer-readable instructions, are configured for:

during the configuring a software installation script corresponding to the target system, configuring the software installation instruction comprised in the software installation script corresponding to the target system.

12. The electronic device according to claim 9 , wherein the one or more processors, upon execution of the computer-readable instructions, are configured for:

setting a command line software package manager configuration to buffer a software package of the target software in response to completion of installation of the target software.

13. One or more non-transitory computer-readable storage media storing computer-readable instructions, wherein the computer-readable instructions, when executed by one or more processors, is configured to cause the one or more processors to perform operations 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.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 28, 2024
From: LI, MEIYING; JING, RONGXUN; XING, LIANGZHAN; LIAN, AIPENG
To: SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 066931/0256 →
Priority Claims (1)
CN 202210144060.5 · Feb 17, 2022 · national
Continuity (1)
Related Publication 20240338191A1 · Oct 10, 2024
References Cited (25)
US 7093165B2 · Kageshima · 2006 [cited by examiner]
US 8261258B1 · Jianu et al. · 2012 [cited by applicant]
US 20080307414A1 · Alpern · 2008 [cited by examiner]
US 20100186005A1 · Ike · 2010 [cited by examiner]
US 20110320599A1 · Matsumoto · 2011 [cited by examiner]
US 20170373957A1 · Mankovskii · 2017 [cited by examiner]
US 20200349043A1 · Sugimoto · 2020 [cited by examiner]
US 20210365256A1 · Cadarette · 2021 [cited by examiner]
US 20220229644A1 · He · 2022 [cited by examiner]
CN 106648741A · 2017 [cited by applicant]
CN 108847950A · 2018 [cited by applicant]
CN 110955494A · 2020 [cited by applicant]
CN 112181588A · 2021 [cited by applicant]
CN 113238766A · 2021 [cited by applicant]
CN 114201239A · 2022 [cited by applicant]
Allen, Gabrielle, et al. “The grid application toolkit: toward generic and easy application programming interfaces for the grid.” Proceedings of the IEEE 93.3 (2005): pp. 534-550. (Year: 2005). [cited by examiner]
McMillan, Collin, Mark Grechanik, and Denys Poshyvanyk. “Detecting similar software applications.” 2012 34th International Conference on Software Engineering (ICSE). IEEE, 2012.pp. 364-374. (Year: 2012). [cited by examiner]
Adams, Bram, et al. “Design recovery and maintenance of build systems.” 2007 IEEE International Conference on Software Maintenance. IEEE, 2007. pp. 114-123. (Year: 2007). [cited by examiner]
Mainetti, Luca, Vincenzo Mighali, and Luigi Patrono. “A software architecture enabling the web of things.” IEEE Internet of Things Journal 2.6 (2015): pp. 445-454. (Year: 2015). [cited by examiner]
Dolstra, Eelco, Eelco Visser, and Merijn De Jonge. “Imposing a memory management discipline on software deployment.” Proceedings. 26th International Conference on Software Engineering. IEEE, 2004.pp. 589-592 (Year: 2004… [cited by examiner]
Zhang, Youhui, Gelin Su, and Weiming Zheng. “Converting legacy desktop applications into on-demand personalized software.” IEEE Transactions on Services Computing 3.4 (2010): pp. 306-321. (Year: 2010). [cited by examiner]
Corresponding International Patent Application No. PCT/CN2022/135357, International Search Report, Date Mailed Feb. 21, 2023. [cited by applicant]
Corresponding International Patent Application No. PCT/CN2022/135357, Written Opinion, Date Mailed Feb. 21, 2023. [cited by applicant]
Corresponding Chinese Patent Application No. CN202210144060.5 First Office Action dated Mar. 25, 2022. [cited by applicant]
Corresponding Chinese Patent Application No. CN202210144060.5 Notice of Grant dated Apr. 8, 2022. [cited by applicant]