Patent ID: 8531698

Claim:
An information processing apparatus for generating a form by filling a plurality of insertion data, each consisting of a piece of numerical data to be aggregated and a piece of item name data representing an item name of the piece of numerical data, into a template, said information processing apparatus comprising: a deciding unit configured to decide, according to a difference between the item names of two consecutive pieces of insertion data in the plurality of insertion data, a part of the insertion data for a device to fill into the template; a transmitting unit configured to transmit to the device the part of the insertion data to fill into the template; a receiving unit configured to receive data generated by filling the part of the insertion data into the template by the device; and an integrating unit configured to integrate data received by said receiving unit generated by a plurality of devices, wherein the deciding unit further comprises: a first deciding unit configured to decide whether the item names of the two consecutive pieces of insertion data differ from each other; and a second deciding unit configured to decide, in a case where the item names are decided as being different from each other by said first deciding unit, whether a number of pieces of insertion data which have not been transmitted up to the first of the two consecutive pieces of insertion data is equal to or greater than a predetermined number, wherein, in a case where the number of pieces of the insertion data is decided to be equal to or greater than the predetermined number by said second deciding unit, the insertion data which have not been transmitted up to the first of the two consecutive pieces of insertion data is decided as the part of the insertion data for the device to fill into the template.