Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data transmission method and device

A data transmission method and target data technology are applied in the field of data transmission methods and devices, and can solve the problems of low data transmission and transmission efficiency.

Active Publication Date: 2021-04-09
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a data transmission method and device to at least solve the technical problem of low transmission efficiency of data transmission in the related art

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 and device
  • Data transmission method and device
  • Data transmission method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] According to an embodiment of the present invention, a data transmission method embodiment is provided.

[0033] Optionally, in this embodiment, the above data transmission method can be applied to image 3 In the hardware environment constituted by the server 302 and the terminal 304 as shown. image 3 It is a schematic diagram of a hardware environment of a data transmission method according to an embodiment of the present invention. Such as image 3As shown, the server 302 is connected to the terminal 304 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 304 is not limited to a PC, a mobile phone, a tablet computer, and the like. The data transmission method in this embodiment of the present invention may be executed by the server 302, may also be executed by the terminal 304, and may also be executed jointly by the server 302 and the terminal 304. Wher...

Embodiment 2

[0142] The technical scheme of the present invention is described below in conjunction with preferred embodiment, specifically carry out example with the data transmission between client adb Server and Android device, and wherein, Android is a kind of free and open source operating system based on Linux, mainly Used on mobile devices such as smartphones and tablets.

[0143] During data transmission, the synchronous protocol is generally converted into an asynchronous protocol, and the protocol type of adbServer is directly modified. This method needs to replace the local adb environment on the client side. For example, some development tools and third-party tools require specific adb tools. Situations that force the replacement of synchronous protocols with asynchronous ones render these tools unusable. In addition, users will also psychologically reject replacing the local adb environment, making the user experience very unfriendly. Figure 10 is a schematic structural diag...

Embodiment 3

[0158] According to an embodiment of the present invention, a data transmission device for implementing the above data transmission method is also provided. Figure 14 is a schematic diagram of a data transmission device according to an embodiment of the present invention. Such as Figure 14 As shown, the data transmission device includes: a first receiving unit 10 , a first processing unit 20 , a second receiving unit 30 and a second processing unit 40 .

[0159] The first receiving unit 10 is configured to receive a first request sent by the first target object, wherein the first request is used to request to transmit the first target data for remote debugging to the second target object through the network.

[0160] The first processing unit 20 is configured to send a first response message to the first target object in response to the first request, and transmit the first target data to the second target object through the network, wherein the first response message is us...

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

The invention discloses a data transmission method and device. Wherein, the method includes: receiving the first request sent by the first target object; sending a first response message to the first target object in response to the first request, and transmitting the first target data to the second target object through the network, and the first response message Used to simulate the response message sent by the second target object after receiving the first target data; receive the second request sent by the first target object in response to the first response message, and the second request is used to request transmission to the second target object through the network Second target data for remote debugging; sending a second response message to the first target object in response to the second request, and transmitting the second target data to the second target object through the network, wherein the second response message is used to simulate the first target object The response message sent by the second target object after receiving the second target data. The invention solves the technical problem of low transmission efficiency of data transmission in the related art.

Description

technical field [0001] The present invention relates to the field of data processing, in particular to a data transmission method and device. Background technique [0002] At present, remote connection to mobile phones for development and debugging is a trend of current application program (Application, referred to as APP) development and testing, which can effectively solve the shortage of local mobile phones, thereby reducing testing costs and improving testing efficiency. The communication between the computer (PC) and the Android (Android) device currently mainly relies on the command line tool adb. figure 1 It is a structural schematic diagram of an adb tool in the related art. Such as figure 1 As shown, the adb tool is the basic tool of the Android ecosystem, and is also the main tool for communicating with the Android device through USB. It consists of three parts: client (Client), server (Server), and background program (daemon). The server is on the PC side, the ...

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): G06F9/54H04L29/06H04L29/08
CPCG06F9/548H04L67/14H04L69/08
Inventor 孙增昕
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products