IP Library Granted Patent US 9,250,885
Granted Patent B2
US 9,250,885 · App. 12/929,023 · Granted Feb 2, 2016

Image forming apparatus operating based on framework capable of sharing function among a plurality of bundles and method of installing bundle in image forming apparatus

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 9,250,885
App. No.
12/929,023
Granted
Feb 2, 2016
Kind
B2
Abstract

Provided is a method of installing a bundle in an image forming apparatus operating based on a framework capable of sharing a function among a plurality of bundles. The method includes extracting related information between the bundle and another bundle from an XML file of any one bundle; and adding the extracted related information to a file including information of the bundle.

Claims (41)

1. A method of installing a bundle in an image forming apparatus operating based on a framework capable of sharing a function among a plurality of bundles, the method comprising:

extracting, from an XML file of the bundle to be installed, first information describing a relationship between the bundle to be installed and a first pre-installed bundle which the bundle to be installed refers to;

identifying the first pre-installed bundle based on the extracted first information; and

extracting, from an XML file of the identified first pre-installed bundle, second information describing a relationship between the identified first pre-installed bundle and a second pre-installed bundle which the identified first pre-installed bundle refers to;

writing, to a manifest file of the bundle to be installed, the extracted first and second information;

determining whether the first pre-installed bundle and the second pre-installed bundle which the first pre-installed bundle refers to are operated in the framework based on the manifest file; and

selectively installing the bundle to be installed in the image forming apparatus according to a result of the determining,

wherein the writing, to the manifest file of the bundle to be installed, the extracted first and second information comprises

generating circular dependency information in the manifest file based on the extracted first and second information.

2. The method of claim 1 , wherein the manifest file comprises a header representing that the manifest file includes the first information, a name of an interface which the bundle to be installed refers to, and reference information of the first pre-installed bundle comprising the interface.

3. The method of claim 2 , wherein the reference information regarding the first pre-installed bundle comprises information representing a name of the second pre-installed bundle which the first pre-installed bundle refers to and an interface name which the first pre-installed bundle refers to.

4. The method of claim 1 , wherein the installing of the bundle to be installed comprises stopping installation of the bundle to be installed in the image forming apparatus, if any one bundle from among at least one bundle which the bundle to be installed refers to does not operate in the framework.

5. The method of claim 1 , wherein the installing of the bundle to be installed comprises stopping installation of the bundle to be installed in the image forming apparatus, if it is determined that a circular dependency is established in the framework based on the extracted first and second information, wherein the circular dependency that the first pre-installed bundle which the bundle to be installed refers to circularly refers to the bundle to be installed.

6. The method of claim 1 , further comprising displaying a circular dependency together with an error message, if it is determined that a circular dependency is established in the framework based on the extracted first and second information wherein the circular dependency that the first pre-installed bundle which the bundle to be installed refers to circularly refers to the bundle to be installed.

7. The method of claim 6 , wherein the displaying of the circular dependency together with an error message comprises displaying the circular dependency schematically.

8. The method of claim 1 , further comprising displaying the first and second information written in the manifest file.

9. At least one non-transitory computer readable recording medium storing computer readable instructions that when executed control at least one processor to implement a method of installing a bundle in an image forming apparatus operating based on a framework capable of sharing a function among a plurality of bundles, the method comprising:

extracting, from an XML file of the bundle to be installed, first information describing a relationship between the bundle to be installed and a first pre-installed bundle which the bundle to be installed refers to;

identifying the first pre-installed bundle based on the extracted first information;

extracting, from an XML file of the identified first pre-installed bundle, second information describing a relationship between the identified first pre-installed bundle and a second pre-installed bundle which the identified first pre-installed bundle refers to;

writing, to a manifest file of the bundle to be installed, the extracted first and second information;

determining whether the first pre-installed bundle and the second pre-installed bundle which the first pre-installed bundle refers to are operated in the framework based on the manifest file; and

selectively installing the bundle to be installed in the image forming apparatus according to a result of the determining,

wherein the writing, to the manifest file of the bundle to be installed, the extracted first and second information comprises

generating circular dependency information in the manifest file based on the extracted first and second information.

10. An image forming apparatus operating based on a framework capable of sharing a function among a plurality of bundles, a central processing unit (CPU) of the image forming apparatus comprising:

an information extracting unit to extract from an XML file of the bundle to be installed, first information describing a relationship between the bundle to be installed and a first pre-installed bundle which the bundle to be installed refers to,

to identify the first pre-installed bundle based on the extracted first information, and

to extract from an XML file of the identified first pre-installed bundle, second information describing a relationship between the identified first pre-installed bundle and a second pre-installed bundle which the identified first pre-installed bundle refers to;

a file changing unit to write, to a manifest file of the bundle to be installed, the extracted first and second information;

a bundle installation unit to install the bundle to be installed;

a determination unit to determine whether the first pre-installed bundle and the second pre-installed bundle which the first pre-installed bundle refers to are operated in the framework based on the manifest file; and

a controller to selectively control installation of the bundle to be installed to image forming apparatus according to a result of the determining,

wherein the file changing unit generates circular dependency information in the manifest file based on the extracted first and second information, when the file changing unit writes, to a manifest file of the bundle to be installed, the extracted first and second information.

11. The image forming apparatus of claim 10 , wherein the manifest file comprises a header to represent that the manifest file includes the first information, a name of an interface which the bundle to be installed refers to, and reference information of the first pre-installed bundle comprising the interface.

12. The image forming apparatus of claim 11 , wherein the reference information regarding the first pre-installed bundle comprises information representing a name of the second pre-installed bundle which the first pre-installed bundle refers to and an interface name which the first pre-installed bundle refers to.

13. The image forming apparatus of claim 10 , wherein the controller controls the bundle installation unit so as to stop installation of the bundle to be installed in the image forming apparatus, if any one bundle from among at least one bundle which the bundle to be installed refers to does not operate in the framework.

14. The image forming apparatus of claim 10 , wherein the controller controls the bundle installation unit so as to stop installation of the bundle to be installed in the image forming apparatus, if it is determined that a circular dependency is established in the framework based on the extracted first and second information, wherein the circular dependency that the first pre-installed bundle which the bundle to be installed refers to circularly refers to the bundle to be installed.

15. The image forming apparatus of claim 10 , further comprising a display unit to display a circular dependency together with an error message, if it is determined that a circular dependency is established in the framework based on the extracted first and second information, wherein the circular dependency that the first pre-installed bundle which the bundle to be installed refers to circularly refers to the bundle to be installed.

16. The image forming apparatus of claim 15 , wherein the display unit displays the circular dependency schematically.

17. The image forming apparatus of claim 15 , wherein the display unit displays the first and second information written in the manifest file.

Assignments (6)
CONFIRMATORY ASSIGNMENT EFFECTIVE NOVEMBER 1, 2018 Recorded Oct 17, 2019
From: HP PRINTING KOREA CO., LTD.
To: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
Reel/Frame 050747/0080 →
CHANGE OF LEGAL ENTITY EFFECTIVE AUG. 31, 2018 Recorded Oct 16, 2019
From: HP PRINTING KOREA CO., LTD.
To: HP PRINTING KOREA CO., LTD.
Reel/Frame 050938/0139 →
CORRECTIVE ASSIGNMENT TO CORRECT THE DOCUMENTATION EVIDENCING THE CHANGE OF NAME PREVIOUSLY RECORDED ON REEL 047370 FRAME 0405. ASSIGNOR(S) HEREBY CONFIRMS THE CHANGE OF NAME. Recorded Nov 21, 2018
From: S-PRINTING SOLUTION CO., LTD.
To: HP PRINTING KOREA CO., LTD.
Reel/Frame 047769/0001 →
CHANGE OF NAME Recorded Aug 17, 2018
From: S-PRINTING SOLUTION CO., LTD.
To: HP PRINTING KOREA CO., LTD.
Reel/Frame 047370/0405 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 21, 2017
From: SAMSUNG ELECTRONICS CO., LTD
To: S-PRINTING SOLUTION CO., LTD.
Reel/Frame 041852/0125 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 22, 2010
From: HWANG, YOUNG-KI
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 025617/0791 →