Patent ID: 11907641
Assignee: NIPPON TELEGRAPH AND TELEPHONE CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 0:
1. A parameter setting apparatus for a calculation process to character strings of a text file, in which
the text file includes W pieces of records, each of the records includes G pieces of cells having an arbitrary length, each of the cells includes arbitrary pieces of characters, W and G are an integer which is 1 or greater, and the G pieces of cells correspond to attribute information, and
C is a cache memory size and M is a main memory size,
the parameter setting apparatus comprising processing circuitry configured to implement:
a maximum size setting unit that sets a maximum value Scsv of a size of character strings for one record of the text file by using the attribute information as an input;
a minimum size setting unit that sets a minimum value scsv of the size of character strings for one record by using the attribute information as an input;
an encoding size setting unit that sets a maximum value Senc of a total size of encode information obtained by encoding the character strings for one record into an element of a predetermined finite set;
a calculation size setting unit that sets a maximum value Sss of a total size of a calculation value obtained by performing specific calculation to the encode information for one record;
a reference size setting unit that sets a total size Sref of reference information indicating a position and a length of each of the cells for one record;
a process unit calculation unit that obtains and outputs a number r of records, the number r being a function value of C/(Scsv+Senc+Sref), where the encoding and the calculation are a process being executed for every process unit character string, the process unit character string being a character string for r records of the text file; and
a parallel number calculation unit that obtains and outputs a number np of parallels in the calculation process, the number np being a function value of f0/I·r·Scsv, where I is a maximum value of the number of repetition times of the encoding and the calculation, the encoding and the calculation being executed for every process unit character string, max(Sref,Sss)=Sref holds when Sref≥Sss, max(Sref,Sss)=Sss holds when Sref<Sss, and f0 is a function value of scsv·M/(scsv+Senc+max(Sref,Sss)), wherein
the number r and the number np are parameters for the calculation process to character strings of the text tile.