Give Code or process to generate Serial Number for single product also barcode should scan the serial number (same as laptop or mobile IMEI case)

Give Code or process to generate Serial Number for single product also barcode should scan the serial number (same as laptop or mobile IMEI case)

Hello,

We need to generate Serial Number for single product with more than 1000 batch processing . Here each Serial Number is used to Register the Customer .Please help me out