Data transmission method, device, terminal and storage medium
A data transmission method and storage space technology, applied in the fields of devices, data transmission methods, terminals and storage media, can solve problems such as increasing the difficulty of development and maintenance by developers, increasing the cost of hardware use, and inability to touch devices to transmit firmware upgrade packages, etc. The effect of reducing the difficulty of development and maintenance and saving the cost of hardware use
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 2 It is a flow chart of the data transmission method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the firmware upgrade package of the touch device in the smart terminal is upgraded by using the firmware upgrade package stored in the main device module in the smart terminal. The method It can be executed by a data transmission device, which is implemented by software and / or hardware and configured on an intelligent terminal. Such as figure 2 The data transfer methods shown, specifically include:
[0029] S101. After detecting that the port value of the monitoring port in the control chip changes, the main device module obtains the current USB descriptor corresponding to the control chip.
[0030] When the data transmission method provided by this embodiment is used to upgrade the firmware of the touch device, there is no need to change the connection structure between the touch device and other compone...
Embodiment 2
[0040] image 3 It is a schematic flowchart of the data transmission method provided by Embodiment 2 of the present invention. In this embodiment, in the basic field of the technical solutions of the above-mentioned embodiments, it is preferable that "the main device module determines the same The chip communication port of the control chip communication, and based on the chip communication port to send a firmware upgrade package to the control chip" is further refined into "the main device module determines to transmit to the control chip according to the standard descriptor. The chip communication port required by the firmware upgrade package; the main device module selects the report descriptor corresponding to the target report identification code in the HID report descriptor as the target data transmission format according to which the firmware upgrade package is transmitted ; When the device identifier in the HID device descriptor matches the standard identifier of the t...
Embodiment 3
[0065] Figure 4 It is a schematic structural diagram of the data transmission device provided by Embodiment 3 of the present invention. This embodiment is applicable to the situation where the firmware upgrade package of the touch device in the smart terminal is upgraded by using the firmware upgrade package stored in the main device module in the smart terminal. The device It includes: an acquisition module 301 , a sending module 302 and a forwarding module 303 .
[0066] Wherein, the obtaining module 301 is used to obtain the current universal serial interface USB descriptor corresponding to the control chip after the master device module detects that the port value of the monitoring port in the control chip has changed;
[0067] A sending module 302, configured to determine a chip communication port communicating with the control chip according to the current USB descriptor, and send a firmware upgrade package to the control chip based on the chip communication port;
[0...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


