In the production process of automobile wheel hubs, there are many processes involved. In order to facilitate quality control, a one-dimensional code is set on the wheel hub to identify the information of the wheel hub. The product information of the wheel hub is converted into a one-dimensional code cast on the wheel hub, making the one-dimensional code the unique identification number of the corresponding mold of this wheel hub. This allows the information of the wheel hub to be recorded, and during the production process, specialized one-dimensional code scanners can obtain information about the mold, the model of the wheel hub, etc. through the backend. This information can be used to obtain positioning information, using the one-dimensional code as a reference for positioning, and automatic quantity statistics can be performed based on mold number or model information. Through the integration of information technology and automation, intelligent production of wheel hubs is achieved. Chuangshi Intelligent’s TS-P series laser triangulation displacement sensor can measure the height of the wheel hub edge as it rotates, enabling the information of the one-dimensional code on the wheel hub to be obtained.