A method for generating a wireless charging alignment line on a mobile phone, comprising: starting an application in the mobile phone and generating an operation screen, and placing the mobile phone on a wireless charging device, at least one corresponding symbol being disposed on the wireless charging device; characterised in that the wireless charging device has two clamping arms, the at least one corresponding symbol being disposed on the clamping arms, and the mobile phone being placed between the clamping arms; the method further comprising: moving the mobile phone according to indication of the operation screen, and generating a first unchargeable line on the operation screen; moving the mobile phone according to the indication on the operation screen, and generating a first preferred charging line corresponding to a predetermined charging efficiency on the operation screen; moving the mobile phone according to the indication of the operation screen, and generating a second unchargeable line on the operation screen, using center of the mobile phone as a center, the first unchargeable line and the second unchargeable line being located on opposite sides of the center; moving the mobile phone according to the indication of the operation screen, and generating a second preferred charging line corresponding to a predetermined charging efficiency on the operation screen, using center of the mobile phone as a center, the first preferred charging line and the second preferred charging line being located on opposite sides of the center; the application calculating a median value according to the positions of the first unchargeable line, the first preferred charging line, the second unchargeable line, and the second preferred charging line, and displaying the alignment line on the operation screen according to the median value. starting an application in the mobile phone and generating an operation screen, and placing the mobile phone on a wireless charging device, at least one corresponding symbol being disposed on the wireless charging device; characterised in that the wireless charging device has two clamping arms, the at least one corresponding symbol being disposed on the clamping arms, and the mobile phone being placed between the clamping arms; the method further comprising: moving the mobile phone according to indication of the operation screen, and generating a first unchargeable line on the operation screen; moving the mobile phone according to the indication on the operation screen, and generating a first preferred charging line corresponding to a predetermined charging efficiency on the operation screen; moving the mobile phone according to the indication of the operation screen, and generating a second unchargeable line on the operation screen, using center of the mobile phone as a center, the first unchargeable line and the second unchargeable line being located on opposite sides of the center; moving the mobile phone according to the indication of the operation screen, and generating a second preferred charging line corresponding to a predetermined charging efficiency on the operation screen, using center of the mobile phone as a center, the first preferred charging line and the second preferred charging line being located on opposite sides of the center; the application calculating a median value according to the positions of the first unchargeable line, the first preferred charging line, the second unchargeable line, and the second preferred charging line, and displaying the alignment line on the operation screen according to the median value. moving the mobile phone according to indication of the operation screen, and generating a first unchargeable line on the operation screen; moving the mobile phone according to the indication on the operation screen, and generating a first preferred charging line corresponding to a predetermined charging efficiency on the operation screen; moving the mobile phone according to the indication of the operation screen, and generating a second unchargeable line on the operation screen, using center of the mobile phone as a center, the first unchargeable line and the second unchargeable line being located on opposite sides of the center; moving the mobile phone according to the indication of the operation screen, and generating a second preferred charging line corresponding to a predetermined charging efficiency on the operation screen, using center of the mobile phone as a center, the first preferred charging line and the second preferred charging line being located on opposite sides of the center; the application calculating a median value according to the positions of the first unchargeable line, the first preferred charging line, the second unchargeable line, and the second preferred charging line, and displaying the alignment line on the operation screen according to the median value.