Software migration method and device among multiple ecology, computer equipment and storage medium
A software migration and multi-ecology technology, applied in the field of artificial intelligence, can solve problems such as low software migration efficiency and inability to run graphics cards, and achieve the effect of improving migration efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] figure 1It is a flow chart of a method for software migration between multiple ecologies provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of software migration between different ecologies. The method can be executed by a computer device, and specifically includes the following steps :
[0055] Step 110, acquiring the first API called by the target software in the first ecology.
[0056] The target software runs in the first ecology. The first ecology may be a hardware ecology, and the target software implements the functions of the corresponding modules by calling the first API. In a usage scenario, the first ecology may be a graphics card hardware ecosystem, which includes the graphics card hardware, hardware drivers, and software libraries. The software related to the graphics card hardware ecology involves processor code, accelerator code and software function code. The target software in the embodiment of the pres...
Embodiment 2
[0071] figure 2 A method for migrating software between multiple ecosystems provided by Embodiment 2 of the present invention. As a further description of the above embodiment, step 110 can be implemented as: determining the API calling relationship according to the code structure of the target software; determining the first API calling relationship according to the calling relationship. Custom API and the first basic API of the first ecology. At this point, the method can be implemented in the following ways:
[0072] Step 210, determine the API calling relationship according to the code structure of the target software.
[0073] The code structure of the target software is used to represent the API calls contained in the target software and the nesting relationship of different functions. By traversing the code, it is possible to determine the functions contained in the target software and the APIs called by each function, and then determine the API calling relationship....
Embodiment 3
[0086] image 3 A method for migrating software between multiple ecology provided by Embodiment 2 of the present invention, as a further description of the above embodiment, step 120 may be implemented as: obtaining the second basic API corresponding to the first basic API in the second ecology; Generate the mapping relationship of the first basic API according to the second basic API and the first basic API; rename the first custom API according to the personalized naming rules to obtain the second custom API; generate the second custom API and the first Custom API mapping relationship. At this point, the method can be implemented in the following ways:
[0087] Step 310, acquiring the first API called by the target software in the first ecology.
[0088] Wherein, the first API includes the first custom API and the first basic API of the first ecology.
[0089] Step 320, acquiring a second basic API corresponding to the first basic API in the second ecology.
[0090] Opti...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com