DIN stands for German Industry Standard ( when translated to English), and refers to a standardised diameter of the cutout of the sockets and a common diameter of the corresponding plugs. You had almost an infinite number of variants, with number of pins, position of pins and angle of arc between the pins being the differentiator between them, designed to be almost fool resistant.