The invention discloses a connecting base self-centering locking production line and a connecting base self-centering locking technology. The connecting base self-centering locking production line comprises a working table, a material belt, a positioning mechanism, a first centering mechanism, a second centering mechanism, a product fixing mechanism, a defective product ejecting mechanism and a defective product material belt; the connecting base self-centering locking technology comprises the following processing steps: S1, positioning a product; S2, clamping the position in the Y-axis direction; S3, clamping the position in the Z-axis direction; S4, scanning and shooting a plug and a connecting base center by a CCD; S5, inserting the plug in the connecting base; S6, scanning and shooting the gap between the connecting base and a mounting hole by the CCD; S7, fine tuning the gap; S8, locking a jig; and S9, discharging a non-defective project and ejecting the defective product. The connecting base self-centering locking production line is used for automatically adjusting and locking the mounting clearance of the connecting base, ensures uniform product assembling, improves production quality and production efficiency of the product, and is suitable for modern high-speed automatic production.