Relying on the magnetic attraction of magnets, the traditional data line connector is separated from the line body, and the two are automatically attracted within a certain distance through magnetism. Therefore, the magnetic data line is called a magnetic line, a magnetic data line, and a magnetic charging line. In this way, the data cable can be plugged and unplugged with one hand, and in actual use, the magnetic charging cable is safer than the ordinary data cable.