Based on the relationships between the raw material, processing and traceability batch codes, step-by-step information may be retrieved according to the traceability batch code. The processing batch code was related to the traceability batch code, so the processing information, including processing date, semi-finished product inspection and processing line, was queried using the processing batch code.