IP Library › Granted Patent US 10,423,347
Granted Patent B2
US 10,423,347 · App. 15/722,250 · Granted Sep 24, 2019

Information processing apparatus, information processing method, and storage medium

Inventors: Kiyoshi Umeda (Kawasaki, JP); Tomohiro Suzuki (Kawasaki, JP); Naoki Sumi (Kawasaki, JP)
Assignee: Canon Kabushiki Kaisha
G06F3/0631G06F3/067G06F3/0619G06F3/0647H04N1/001
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 10,423,347
App. No.
15/722,250
Granted
Sep 24, 2019
Kind
B2
Abstract

The present invention allows reducing the possibility that an application operating in an information processing apparatus is erased from a memory upon its transfer to background. In a case where a predetermined application is executed in foreground, an OS is caused to execute predetermined processing by using a first size memory area, and in a case where the predetermined application is executed in the background, the OS is caused to execute the predetermined processing by using a second size memory area that is smaller than the first size memory area.

Claims (67)

1. An information processing method for causing an OS to execute rendering processing for generating image data in response to executing a predetermined application by a processor, the method comprising the steps of:

determining, in response to the execution of the predetermined application by the processor, whether the predetermined application is executed in a foreground or executed in a background by the OS; and

controlling, in response to the execution of the predetermined application by the processor, to cause the OS to execute the rendering processing for a part of an image using a predetermined memory area have a memory size corresponding to a result of the determination in the determining step,

wherein, in the controlling step,

in a case where the predetermined application is executed in the foreground, the OS is caused to execute the rendering processing for the part of the image by using a first size memory area, and in a case where the predetermined application is executed in the background, the OS is caused to execute the rendering processing for the part of the image by using a second size memory area that is smaller than the first size memory area,

wherein in a case where first rendering processing for the part of the image and second rendering processing for the second part of the image are executed, a first determination in the determining step is executed when the first rendering processing is executed and a second determination in the determining step is executed when the second rendering processing is executed, and

wherein in a case where the result of the first determination is different from the result of the second determination, the memory size used for each of the first rendering processing and the second rendering processing is different from each other.

2. The information processing method according to claim 1 , further comprising specifying, in response to the execution of the predetermined application by the processor, a size of the part of the image which is to be rendered by the rendering processing, based on the determination by the determining step,

wherein

in a case where the predetermined application is executed in the foreground, a first image size is specified in the specifying step and the OS is caused to execute the rendering processing for a part of the first image size by using the first size memory area, and in a case where the predetermined application is executed in the background, a second image size that is smaller than the first image size is specified in the specifying step and the OS is caused to execute the rendering processing for a part of the second image size by using the second size memory area.

3. The information processing method according to claim 1 , wherein the controlling step comprises:

a first requesting step, in a case where the predetermined application is executed in the foreground, for requesting the OS to reserve the first size memory area, and in a case where the predetermined application is executed in the background, for requesting the OS to reserve the second size memory area; and

a second requesting step for requesting the OS to make the rendering processing using the first or second size memory area reserved by the request in the first requesting step.

4. The information processing method according to claim 1 , wherein

after the first rendering processing is completed, the determination is executed,

and thereafter, the second rendering processing is executed by using a memory area of a memory size corresponding to a result of the determination.

5. The information processing method according to claim 4 , wherein,

the determination in the determining step and the rendering processing in the controlling step are executed repeatedly for each of a plurality of parts of the image, until the rendering processing is executed for a whole of the image.

6. The information processing method according to claim 1 , wherein, in the controlling step,

in a case where the predetermined application is executed in the background, the OS is caused to generate image data with low resolution compared to a case where the predetermined application is executed in the foreground.

7. The information processing method according to claim 1 , wherein:

the predetermined memory area is reserved in a predetermined memory by the OS; and

in the controlling step,

in a case where the predetermined application is executed in the foreground, the OS is caused to hold generated image data generated by the rendering processing in the first size memory area in the predetermined memory, and, in a case where the predetermined application is executed in the background, the OS is caused to hold generated image data generated by the rendering processing in a memory area that is different from the first size memory area in the predetermined memory.

8. The information processing method according to claim 7 , wherein, in the controlling step,

in a case where the predetermined application is executed in the background, the OS is caused to hold generated image data generated by the rendering processing as a file in the memory area that is different from the predetermined memory, and is caused to hold a file name of the file in the second size memory area of the predetermined memory.

9. The information processing method according to claim 1 , wherein

the predetermined application is a hybrid application.

10. The information processing method according to claim 1 , further comprising,

in response to the processor executing the predetermined application, a printing control step for causing the OS to transmit generated image data generated by the rendering processing to a printer so as to cause the printer to print an image based on the image data.

11. An information processing apparatus for causing an OS to execute rendering processing for generating image data in response to executing a predetermined application by a processor, the information processing apparatus comprising:

a determining unit configured to determine, in response to the execution of the predetermined application by the processor, whether the predetermined application is executed in a foreground or executed in a background by the OS; and

a controlling unit configured to cause the OS, in response to the execution of the predetermined application by the processor, to execute the rendering processing for a part of an image using a predetermined memory area having a memory size corresponding to a result of the determination in the determining unit,

wherein, in the controlling unit,

in a case where the predetermined application is executed in the foreground, the OS is caused to execute the rendering processing for the part of the image by using a first size memory area, and in a case where the predetermined application is executed in the background, the OS is caused to execute the rendering processing for the part of the image by using a second size memory area that is smaller than the first size memory area,

wherein in a case where first rendering processing for the part of the image and second rendering processing for the second part of the image are executed, a first determination by the determining unit is executed when the first rendering processing is executed and a second determination by the determining unit is executed when the second rendering processing is executed, and

wherein in a case where the result of the first determination is different from the result of the second determination, the memory size used for each of the first rendering processing and the second rendering processing is different from each other.

12. The information processing apparatus according to claim 11 , further comprising a specifying unit configured to specify, in response to the execution of the predetermined application by the processor, a size of the part of the image which is to be rendered by the rendering processing, based on the determination by the determining unit,

wherein,

in a case where the predetermined application is executed in the foreground, a first image size is specified by the specifying unit and the OS is caused to execute the rendering processing for a part of the first image size by using the first size memory area, and in a case where the predetermined application is executed in the background, a second image size that is smaller than the first image size is specified by the specifying unit and the OS is caused to execute the rendering processing for a part of the second image size by using the second size memory area.

13. The information processing apparatus according to claim 11 , wherein

the controlling unit comprises:

a first requesting unit, in a case where the predetermined application is executed in the foreground, configured to request the OS to reserve the first size memory area, and in a case where the predetermined application is executed in the background, configured to request the OS to reserve the second size memory area; and

a second requesting unit configured to request the OS to make the rendering processing using the first or second size memory area reserved by the request in the first requesting unit.

14. The information processing apparatus according to claim 11 , wherein

after the first rendering processing is completed, the determination is executed, and thereafter, the second rendering processing is executed by using a memory area of a memory size corresponding to a result of the determination.

15. The information processing apparatus according to claim 14 , wherein,

the determination by the determining unit and the rendering processing by the controlling unit are executed repeatedly for each of a plurality of parts of the image, until the rendering processing is executed for a whole of the image.

16. The information processing apparatus according to claim 11 , wherein, in the controlling unit,

in a case where the predetermined application is executed in the background, the OS is caused to generate image data with low resolution compared to a case where the predetermined application is executed in the foreground.

17. The information processing apparatus according to claim 11 , wherein:

the predetermined memory area is reserved in a predetermined memory by the OS; and

in the controlling unit,

in a case where the predetermined application is executed in the foreground, the OS is caused to hold generated image data generated by the rendering processing in the first size memory area in the predetermined memory, and, in a case where the predetermined application is executed in the background, the OS is caused to hold generated image data generated by the rendering processing in a memory area that is different from the first size memory area in the predetermined memory.

18. The information processing apparatus according to claim 17 , wherein, in the controlling unit,

in a case where the predetermined application is executed in the background, the OS is caused to hold generated image data generated by the rendering processing as a file in the memory area that is different from the predetermined memory, and is caused to hold a file name of the file in the second size memory area of the predetermined memory.

19. The information processing apparatus according to claim 11 , wherein

the predetermined application is a hybrid application.

20. The information processing apparatus according to claim 11 , further comprising,

in response to the processor executing the predetermined application, a printing control unit configured to cause the OS to transmit generated image data generated by the rendering processing to a printer so as to cause the printer to print an image based on the image data.

21. A non-transitory computer readable storage medium storing an information processing program for causing an OS on a computer to perform rendering processing for generating image data in response to executing a predetermined application by a processor, the program causing the OS to perform the steps of:

determining, in response to the execution of the predetermined application by the processor, whether the predetermined application is executed in a foreground or executed in a background by the OS; and

controlling, in response to the execution of the predetermined application by the processor, to cause the OS to execute the rendering processing for a part of an image using a predetermined memory area have a memory size corresponding to a result of the determination in the determining step,

wherein, in the controlling step,

in a case where the predetermined application is executed in the foreground, the OS is caused to execute the rendering processing for the part of the image by using a first size memory area, and in a case where the predetermined application is executed in the background, the OS is caused to execute the rendering processing for the part of the image by using a second size memory area that is smaller than the first size memory area,

wherein in a case where first rendering processing for the part of the image and second rendering processing for the second part of the image are executed, a first determination in the determining step is executed when the first rendering processing is executed and a second determination in the determining step is executed when the second rendering processing is executed, and

wherein in a case where the result of the first determination is different from the result of the second determination, the memory size used for each of the first rendering processing and the second rendering processing is different from each other.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 10, 2018
From: UMEDA, KIYOSHI; SUZUKI, TOMOHIRO; SUMI, NAOKI
To: CANON KABUSHIKI KAISHA
Reel/Frame 045029/0574 →
Priority Claims (1)
JP 2016-204253 · Oct 18, 2016 · national
Continuity (1)
Related Publication 20180107418A1 · Apr 19, 2018