Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Software dependency detection and judgment method for SW platform code migration

A code migration and software technology, which is applied in software deployment, program code adaptation, software maintenance/management, etc., can solve the problems of not including the host machine, not considering the difference of the transplant environment, and not being able to meet the needs of different users, so as to reduce work volume effect

Pending Publication Date: 2022-04-19
无锡先进技术研究院
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When Huawei's code migration tool analyzes the software to be migrated, it only considers its own ecological software whitelist, and does not consider the differences in the migration environments of different users. The results of the software are consistent, mechanical without individual differences, and cannot meet the needs of different users. At the same time, Huawei's whitelist is only for library files, without version distinction, and does not include the list of existing software on the host. At the same time, this tool is only for Kunpeng , has little significance for Shenwei software transplantation and ecological construction

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software dependency detection and judgment method for SW platform code migration
  • Software dependency detection and judgment method for SW platform code migration
  • Software dependency detection and judgment method for SW platform code migration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] This embodiment introduces a software dependency detection and judgment method for code migration of the Shenwei platform, including:

[0044] Generate a whitelist according to the release version of the Shenwei community and the release version of the os manufacturer;

[0045] Analyze the software to be transplanted, extract the software name and version information, compare with the white list, and obtain the software to be analyzed;

[0046] Analyzing the source code of the software to be analyzed to extract dependency information;

[0047] According to the Shenwei system environment used by the user, analyze the extracted dependency information, and output the results related to the Shenwei system environment;

[0048] The result related to the Shenwei system environment is compared with the white list again, and the final result is output.

[0049] Such as figure 1 , figure 2 , image 3 As shown, the application process of the software dependency detection an...

Embodiment 2

[0061] This embodiment provides a software dependency detection and judgment device for code migration of the Shenwei platform, including:

[0062] A whitelist generation unit is used to generate a whitelist according to the Shenwei community distribution version and the os manufacturer distribution version;

[0063] The first analysis unit is used to analyze the software to be transplanted, extract the software name and version information, compare with the white list, and obtain the software to be analyzed;

[0064] The second analysis unit is used to analyze the source code of the software to be analyzed and extract dependency information;

[0065] The third analysis unit is used to analyze the extracted dependency information according to the Shenwei system environment used by the user, and output results related to the Shenwei system environment;

[0066] The comparison unit is used to compare the result related to the Shenwei system environment with the white list again...

Embodiment 3

[0068] This embodiment provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the methods described in Embodiment 1 are implemented.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a software dependency detection and judgment method aiming at SW platform code migration. The method comprises the following steps: generating a white list according to a SW community release version and an os manufacturer release version; analyzing to-be-transplanted software, extracting a software name and version information, and comparing the software name and version information with the white list to obtain to-be-analyzed software; analyzing the source code of the to-be-analyzed software, and extracting dependency information; analyzing the extracted dependency information according to the SW system environment used by the user, and outputting a result related to the SW system environment; comparing the result related to the SW system environment with the white list again, and outputting a final result, the workload of the user in the SW software transplantation process can be reduced to the maximum extent, the requirements of different users are met, and the method has important significance for constructing a perfect SW ecological environment.

Description

technical field [0001] The invention relates to a software dependency detection and judgment method for code migration of a Shenwei platform, and belongs to the technical field of software dependency detection and judgment. Background technique [0002] At present, a large number of domestic operating systems are trying to be compatible with multiple domestic processor architectures, and the ecological influence of each processor is not the same, so the corresponding software transplantation standards are uneven, and the amount of modified code is also different. Unified standards, and the experience and knowledge reserves of software developers also have a great impact on the efficiency of software migration. In the process of code migration, accurate and comprehensive detection and judgment of the dependent software of the software to be migrated can effectively reduce the difficulty of migration and improve the efficiency of migration. [0003] At this stage, domestic te...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/76G06F8/71G06F8/61
CPCG06F8/76G06F8/61G06F8/71
Inventor 倪杰何佩佩王俊朱铭康
Owner 无锡先进技术研究院
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products