Patent ID: 8429414

Claim:
An apparatus to generate prevention and control data to verify validity of data, the apparatus comprising: a prevention and control data generating unit to generate composing information of data to be transmitted, and to compose the prevention and control data with verification data generated from the generated composing information; an encryption unit to encrypt the data to be transmitted; and a data transmitting unit to compose transmitting data with the prevention and control data from the prevention and control data generating unit and the encrypted data from the encryption unit, and to transmit the transmitting data to a receiver, wherein the composing information is type information of the data to be transmitted and the type information of the data comprises quantity information regarding a quantity of each of a number of types of data, the composing information comprising a plurality of type values respectively identifying a type of each of a plurality of groups of data in the data to be transmitted and a number of groups of data to be transmitted, wherein the prevention and control data indicates respective quantities of each of the possible type values included in the composing information, and wherein the prevention and control data is composed by generating quantity information N(M) regarding a quantity of each of a number of types in the composing information based on the composing information being M={m[1], m[2], . . . , m[n]}, wherein the quantity information N(M) is generated as: N ( M )={ n[ 1], n[ 2], . . . , n[k]}, wherein n denotes the number of groups of data to be transmitted, k is a number of possible types in the composing information, and n[i] represents a quantity of the groups of data being of type i in the data to be transmitted.