Back to results
US 8,614,822 B2Granted
Print data processing apparatus, print data processing method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorYuushi Sato
Life of this patent
Estimating the term…
Abstract
A print data processing apparatus allocates memory from an unused area of memory to one processor out of two processors so that a size of the memory allocated to the processor is equal to a fallback threshold value, and then allocates an unused area of the remaining memory to the other processor.
Claims7
A print data processing apparatus comprising:
- a reception unit configured to receive print data;
- a first processor configured to generate intermediate data based on the print data received by the reception unit and store the generated intermediate data in a memory area;
- a second processor, different from the first processor, configured to generate intermediate data based on the print data received by the reception unit and store the generated intermediate data in the memory area;
- and
- a memory management unit configured to allocate memory of a predetermined size in an unused area of the memory area to the first processor or the second processor from which a memory acquisition request has been given;
- wherein, if a size of memory allocated to both the first processor and the second processor by the memory management unit exceeds a predetermined value, the memory management unit allocates memory from an unused area of the memory area to one of the first and the second processors so that a size of the memory allocated to the one of the first and the second processors corresponds to a fallback threshold value, and memory of the remaining unused area is allocated to the other of the first and the second processors, and wherein one of the first and the second processors is a processor whose fallback timing is earlier than the other of the first and the second processors, wherein in determining the processor whose fallback timing is earlier, the memory management unit calculates the fallback timing according to the following mathematical expression:
- (timing of fallback performed by processor)=(resource amount necessary until n-th processor performs fallback)/[(time required for n-th processor to generate intermediate data)/(resource amount of memory used by n-th processor in generating intermediate data)],
- where n=1 or 2, and determines the processor whose fallback timing is earlier based on a result of the calculation.
5 more elements
A print data processing method comprising:
- causing a reception unit to receive print data;
- causing a first processor to generate intermediate data based on the print data received by the reception unit and to store the generated intermediate data in a memory area;
- causing a second processor, different from the first processor, to generate intermediate data based on the print data received by the reception unit and to store the generated intermediate data in the memory area;
- causing a memory management unit to allocate memory of a predetermined size in an unused area of the memory area to the first processor or the second processor from which a memory acquisition request has been given;
- if a size of memory allocated to both the first and the second processors by the memory management unit exceeds a threshold value, causing the memory management unit to allocate memory from an unused area of the memory area to one of the first and the second processors, so that a size of the memory allocated to the one of the first and the second processors corresponds to a fallback threshold value, and memory of the remaining unused area is allocated to the other of the first and the second processors, and wherein one of the first and the second processors is a processor whose fallback timing is earlier than the other of the first and the second processors, wherein in determining the processor whose fallback timing is earlier, the memory management unit calculates the fallback timing according to the following mathematical expression:
- (timing of fallback performed by processor)=(resource amount necessary until n-th processor performs fallback)/[(time required for n-th processor to generate intermediate data)/(resource amount of memory used by n-th processor in generating intermediate data)],
- where n=1 or 2, and determines the processor whose fallback timing is earlier based on a result of the calculation.
4 more elements
A non-transitory computer-readable storage medium storing a program for causing a computer to execute a print data processing method, comprising:
- causing a reception unit to receive print data;
- causing a first processor to generate intermediate data based on the print data received by the reception unit and to store the generated intermediate data in a memory area;
- causing a second processor, different from the first processor, to generate intermediate data based on the print data received by the reception unit and to store the generated intermediate data in the memory area;
- causing a memory management unit to allocate memory of a predetermined size in an unused area of the memory area to the first processor or the second processor from which a memory acquisition request has been given;
- if a size of memory allocated to both the first and the second processors by the memory management unit exceeds a threshold value, causing the memory management unit to allocate memory from an unused area of the memory area to one of the first and the second processors, so that a size of the memory allocated to the one of the first and the second processors corresponds to a fallback threshold value, and memory of the remaining unused area is allocated to the other of the first and the second processors, and wherein one of the first and the second processors is a processor whose fallback timing is earlier than the other of the first and the second processors, wherein in determining the processor whose fallback timing is earlier, the memory management unit calculates the fallback timing according to the following mathematical expression:
- (timing of fallback performed by processor)=(resource amount necessary until n-th processor performs fallback)/[(time required for n-th processor to generate intermediate data)/(resource amount of memory used by n-th processor in generating intermediate data)],
- where n=1 or 2, and determines the processor whose fallback timing is earlier based on a result of the calculation.
4 more elements
Dependencies are inferred from the claim text.