Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2020-10-02
GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, when upgrading the firmware of the touch device, the firmware upgrade package stored in the main device module needs to be sent to the touch device, but because the data interaction of each device in the above connection structure uses different protocols, the main device module cannot accurately Transfer firmware upgrade package to touch device
In response to the above problems, the technicians proposed the following improvement methods: 1) One is to use software development to ensure the accuracy of data transmission, but this method requires detailed communication protocol A followed between the touch device and the control chip Analyzing and writing a lot of codes to implement logic to transmit data following different communication protocols, so as to realize the secondary development of touch devices and then upgrade the firmware of touch devices, which increases the difficulty of development and maintenance for developers; 2) Figure 1B It is a structural connection schematic diagram of the improved firmware upgrade of the touch device in the prior art, using Figure 1B In the method of modifying the hardware framework, the transmission protocol during firmware upgrade is unified, but this method needs to add an additional second USB switch 14 between the touch device and the control chip, and connect the touch device to the PC module storing the touch device firmware upgrade package. , Android module or external device modules are directly connected, which increases the cost of hardware usage

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data transmission method, device, terminal and storage medium
  • Data transmission method, device, terminal and storage medium
  • Data transmission method, device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Disclosed are a data transmission method and apparatus, a terminal and a storage medium. The method comprises: after monitoring a change in a port value of a monitor port in a control chip, a main device module acquires a current USB descriptor corresponding to the control chip; the main device module determining, according to the current USB descriptor, a chip communication port that is in communication with the control chip, and sending a firmware upgrade package to the control chip based on the chip communication port; and the control chip forwarding the firmware upgrade package to a communication port of a touch device corresponding to the chip communication port, such that the touch device undergoes a firmware upgrade based on the firmware upgrade package.

Description

technical field [0001] Embodiments of the present invention relate to communication technologies, and in particular, to a data transmission method, device, terminal, and storage medium. Background technique [0002] At present, many smart terminals are equipped with touch devices with touch functions, thereby realizing human-computer interaction simply, conveniently and naturally, and further expanding the application fields of smart terminals with touch functions. Figure 1A It is a schematic diagram of the structural connection between the touch device and other components on the smart terminal in the prior art. At present, the touch device and other components of the smart terminal have the following functions: Figure 1A The connection structure shown. [0003] see Figure 1A , the control chip in the intelligent terminal is directly connected to the touch device through the first USB (Universal Serial Bus, universal serial bus) interface 11, and combines the USB switcher...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08G06F8/65
CPCG06F8/65H04L67/34H04L41/082
Inventor 杨起源
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD