发明名称 |
Version conflict checking to installable unit |
摘要 |
According to an aspect of the present invention, there is provided a method, system, and computer program product for version conflict checking of installable units (IUs). The method includes receiving a request for version conflict checking of specified IU, the request including a version dependency relationship between IUs that are in a dependency relationship with the specified IU. A version dependency relationship between installed IUs is obtained. The version dependency relationship between the installed IUs is updated according to the version dependency relationships between the IUs that are in a dependency relationship with the specified IU. It is checked whether the specified IU has a version conflict with the updated version dependency relationship between the installed IUs. |
申请公布号 |
US9075695(B2) |
申请公布日期 |
2015.07.07 |
申请号 |
US201313776918 |
申请日期 |
2013.02.26 |
申请人 |
International Business Machines Corporation |
发明人 |
Pei Yang;Zhang Zhen;Bin Zhu;Han Zhao Bing |
分类号 |
G06F9/44;G06F9/445 |
主分类号 |
G06F9/44 |
代理机构 |
Cantor Colburn LLP |
代理人 |
Cantor Colburn LLP ;Uddin Rahan |
主权项 |
1. A method for version conflict checking of installable units (IUs), the method comprising:
receiving, by a processor, a request for version conflict checking of a specified IU, the request comprising a version dependency relationship between IUs that are in a dependency relationship with the specified IU; obtaining the version dependency relationship between installed IUs, the version dependency relationship represented using a version dependency matrix, wherein:
each of a first row and a first column of the version dependency matrix represents a group of sequential IUs, and IUs in the first row are arranged in the same order as IUs in the first column;except for elements in the first row and first column, a diagonal element of the version dependency matrix represents an installation status of an IU in this row or column; and an element [IUn, IUc] in row n and column c of the version dependency matrix represents a dependency relationship value of an IU in the nth row and the 1st column on an IU in the 1st row and the cth column, wherein each of n and c is an integer greater than 1 and n is not equal to c; updating the version dependency relationship between the installed IUs based on the version dependency relationship between the IUs that are in the dependency relationship with the specified IU; and checking whether the specified IU has a version conflict with the updated version dependency relationship between the installed IUs. |
地址 |
Armonk NY US |