The traditional way of coding is usually marked on the sidewalls. Because the containers are occluded, this method can only read the container code one by one. To make prefabricated codes at the bottom of the container is to avoid obscurity, and up to 96 containers can be decoded simultaneously using a batch decoding device. Not only that, but the batch decoder also parses the location of the container, integrating the encoding and location into a standard data file. It can meet the need of sample distribution and association by manual operation, and also can be taken out by connected automation equipment to realize sample adding and association of container and sample under the condition of full-process automation.