US2019197010A1PendingUtilityA1

Data transmission method and mobile terminal

Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTDPriority: Sep 24, 2015Filed: Jan 17, 2019Published: Jun 27, 2019
Est. expirySep 24, 2035(~9.2 yrs left)· nominal 20-yr term from priority
G06F 13/4022G06F 9/455G06F 8/65G06F 13/4286
57
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A data transmission method and a mobile terminal include taking bytes of data in universal asynchronous receiver/transmitter (UART) format generated by a mobile terminal, simulating UART ports via GPIO ports of a processor of the mobile terminal, and transmitting the bytes of data in UART format divided in batches to a receiving terminal via the GPIO ports. In transmitting the bytes of data in UART format in divided batches to the receiving terminal via the GPIO ports, the processor of the mobile terminal is in a locked state. The processor is in an unlocked state between two adjacent batches of the data transmitting.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A data transmission method applicable to a device to be charged, comprising:
 generating data in universal asynchronous receiver/transmitter (UART) format; and   transmitting the data in UART format in batches to a charging device via general purpose input/output (GPIO) ports of a processor of the device to be charged.   
     
     
         2 . The method of  claim 1 , wherein,
 when transmitting the data in UART format in batches to the charging device via the GPIO ports, the processor is in a locked state, and   during an interval between two adjacent batches of the data transmitting, the processor is in an unlocked state.   
     
     
         3 . The method of  claim 1 , wherein the transmitting the data in UART format in batches to the charging device via the GPIO ports, comprises:
 acquiring data with a predetermined size from the data in UART format which has not been transmitted;   simulating the UART ports via the GPIO ports;   transmitting the data with the predetermined size to the charging device via the GPIO ports;   maintaining an interval; and   returning the acquiring data with the predetermined size until all the data in UART format has been transmitted to the charging device.   
     
     
         4 . The method of  claim 1 , wherein, the generating the data in UART format, comprises:
 downloading software update information of the charging device; and   converting the software update information into the data in UART format.   
     
     
         5 . The method of  claim 1 , wherein the transmitting the data in UART format in batches to the charging device via the GPIO ports, comprises:
 transmitting the data in UART format to UART ports of a microcontroller (MCU) of the charging device in batches.   
     
     
         6 . The method of  claim 1 , wherein the transmitting the data in UART format in batches to the charging device via the GPIO ports, comprises:
 transmitting the data in UART format in batches to the charging device via the GPIO ports, when the device to be charged is under a first charging mode.   
     
     
         7 . The method of  claim 6 , further comprising:
 after the transmitting the data in UART format in batches to the charging device via the GPIO ports, switching the device to be charged to be under a second charging mode, wherein a charging speech of the second charging mode is greater than that of the first charging mode.   
     
     
         8 . The method of  claim 1 , wherein the processor is an application processor of the device to be charged. 
     
     
         9 . The method of  claim 1 , further comprising:
 receiving data in UART format from the charging device via the GPIO ports after simulating the UART ports via the GPIO ports of the processor,   wherein in receiving the data in UART format from the charging device via the GPIO ports of the processor, the processor is in a locked state,   the processor is in an unlocked state during an interval between two adjacent batches of the data receiving.   
     
     
         10 . The method of  claim 1 , wherein the processor processes at least one interrupt during an interval between two adjacent batches of the data transmitting. 
     
     
         11 . A device to be charged, comprising:
 a memory, configured to store a plurality of programs; and   a processor, configured to execute the plurality of programs to carry out:
 generating data in universal asynchronous receiver/transmitter (UART) format; and 
 transmitting the data in UART format in batches to a charging device via general purpose input/output (GPIO) ports of the processor. 
   
     
     
         12 . The device of  claim 11 , wherein
 when transmitting the data in UART format in batches to the charging device via the GPIO ports, the processor is in a locked state, and
 during an interval between two adjacent batches of the data transmitting, the processor is in an unlocked state. 
   
     
     
         13 . The device of  claim 11 , wherein the transmitting the data in UART format in batches to the charging device via the GPIO ports, comprises:
 acquiring data with a predetermined size from the data in UART format which has not been transmitted;   simulating the UART ports via the GPIO ports;   transmitting the data with the predetermined size to the charging device via the GPIO ports;   maintaining an interval; and   returning the acquiring data with the predetermined size until all the data in UART format has been transmitted to the charging device.   
     
     
         14 . The device of  claim 11 , wherein, the generating the data in UART format, comprises:
 downloading software update information of the charging device; and   converting the software update information into the data in UART format.   
     
     
         15 . The device of  claim 11 , wherein the transmitting the data in UART format in batches to the charging device via the GPIO ports, comprises:
 transmitting the data in UART format to UART ports of a microcontroller (MCU) of the charging device in batches.   
     
     
         16 . The device of  claim 11 , wherein the transmitting the data in UART format in batches to the charging device via the GPIO ports, comprises:
 transmitting the data in UART format in batches to the charging device via the GPIO ports, when the device to be charged is under a first charging mode.   
     
     
         17 . The device of  claim 16 , wherein the processor is further configured to execute the plurality of programs to carry out:
 after the transmitting the data in UART format in batches to the charging device via the GPIO ports, switching the device to be charged to be under a second charging mode, wherein a charging speech of the second charging mode is greater than that of the first charging mode.   
     
     
         18 . The device of  claim 11 , wherein the processor is an application processor of the device to be charged. 
     
     
         19 . The device of  claim 11 , wherein the processor is further configured to execute the plurality of programs to carry out:
 receiving data in UART format from the charging device via the GPIO ports after simulating the UART ports via the GPIO ports of the processor,   wherein in receiving the data in UART format from the charging device via the GPIO ports of the processor, the processor is in a locked state,   the processor is in an unlocked state during an interval between two adjacent batches of the data receiving.   
     
     
         20 . The device of  claim 11 , wherein the processor is further configured to process at least one interrupt during an interval between two adjacent batches of the data transmitting.

Join the waitlist — get patent alerts

Track US2019197010A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.