Patent ID: 8677328
Filing Date: 2014-03-18
Classification: G06F

Abstract:
1. A device for generating a dynamic content creation program by expressing text in a predetermined character encoding format, said device comprising: an input/output interface receiving a request for a file comprising dynamic content and static text, wherein the static text is described by character code information in a character encoding format applicable to its content; a primary storage device storing computer executable instructions, said computer executable instructions causing a computer to perform: determining whether the character code information can be prepared in advance of execution of the dynamic content creation program, comprising: when it is determined that the character code information can be prepared in advance, preparing the character code information in advance such that the dynamic content creation program utilizes the character code information at execution time to output a static text portion of the file without having to encode said static text portion when the dynamic content is generated by executing the dynamic content creation program; classifying a plurality of files having an aggregation relationship into a first type which does not contain an instruction to change the character encoding format for the content, a second type which contains an instruction to change the character encoding format for the content to a definite one, and a third type other than the first and second types; making a positive determination for the files when all of said files having the aggregation relationship belong to the first type and the character encoding formats for the contents are identical in all of the files; and wherein preparing the character code information in advance comprises: wherein for all files belonging to the first type, said character encoding format for the content concerning the file of the root is adopted for all the files belonging to the tree; and wherein for the tree satisfying all conditions that all the files of the tree do not belong to the first type, and the program based on the file of the root performs buffering of finite size in relation to output for generating the content and throws an exception when a buffer has been filled, and after the file called by the file of the third type has been removed, the latest and deepest file belongs to the second type, the character encoding format for the content of the latest and deepest file is adopted for all the files belonging to the tree; and a processor device operably coupled with the primary storage device for executing the computer executable instructions.