A method for calculating position information in a touchscreen, wherein the method is applied to an electronic device, the electronic device comprises a touchscreen, a touch chip, and a central processing unit CPU, and the method comprises: sampling, by the touch chip, source data generated by a trigger operation in the touchscreen, when the touchscreen receives the trigger operation; transmitting, by the touch chip, the source data to the CPU by using a high-speed serial bus, wherein the source data is used to indicate capacitance of the touchscreen; and calculating, by the CPU, position information of the trigger operation in the touchscreen based on the source data, wherein the electronic device further comprises a bus controller and a direct memory access DMA, and the transmitting, by the touch chip, the source data to the CPU by using a high-speed serial bus comprises: controlling, by the touch chip, the CPU to wake up a data transfer thread; controlling, by the CPU, the bus controller to add a DMA flag, wherein the flag is used to indicate that the DMA is occupied by the bus controller, wherein after the controlling, by the CPU, the bus controller to add a DMA flag, the method further comprises: controlling the data transfer thread to start sleeping; copying, by the bus controller, the source data from the touch chip to the DMA by using the high-speed serial bus; and controlling, by the bus controller, the CPU to extract the source data from the DMA, wherein the controlling, by the bus controller, the CPU to extract the source data from the DMA comprises: controlling, by the bus controller, the CPU to wake up the data transfer thread; and extracting the source data from the DMA after the CPU wakes up the data transfer thread. sampling, by the touch chip, source data generated by a trigger operation in the touchscreen, when the touchscreen receives the trigger operation; transmitting, by the touch chip, the source data to the CPU by using a high-speed serial bus, wherein the source data is used to indicate capacitance of the touchscreen; and calculating, by the CPU, position information of the trigger operation in the touchscreen based on the source data, wherein the electronic device further comprises a bus controller and a direct memory access DMA, and the transmitting, by the touch chip, the source data to the CPU by using a high-speed serial bus comprises: controlling, by the touch chip, the CPU to wake up a data transfer thread; controlling, by the CPU, the bus controller to add a DMA flag, wherein the flag is used to indicate that the DMA is occupied by the bus controller, wherein after the controlling, by the CPU, the bus controller to add a DMA flag, the method further comprises: controlling the data transfer thread to start sleeping; copying, by the bus controller, the source data from the touch chip to the DMA by using the high-speed serial bus; and controlling, by the bus controller, the CPU to extract the source data from the DMA, wherein the controlling, by the bus controller, the CPU to extract the source data from the DMA comprises: controlling, by the bus controller, the CPU to wake up the data transfer thread; and extracting the source data from the DMA after the CPU wakes up the data transfer thread. controlling, by the touch chip, the CPU to wake up a data transfer thread; controlling, by the CPU, the bus controller to add a DMA flag, wherein the flag is used to indicate that the DMA is occupied by the bus controller, wherein after the controlling, by the CPU, the bus controller to add a DMA flag, the method further comprises: controlling the data transfer thread to start sleeping; copying, by the bus controller, the source data from the touch chip to the DMA by using the high-speed serial bus; and controlling, by the bus controller, the CPU to extract the source data from the DMA, wherein the controlling, by the bus controller, the CPU to extract the source data from the DMA comprises: controlling, by the bus controller, the CPU to wake up the data transfer thread; and extracting the source data from the DMA after the CPU wakes up the data transfer thread.