An information processing method and electronic device
An information processing method and technology for an electronic device, applied in the field of information processing, can solve the problem that a first electronic device and a second electronic device cannot perform data transmission, and achieve the effects of reducing costs and enhancing security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] Please refer to figure 1, an embodiment of the present invention provides an information processing method, which is applied to a first electronic device with a data transmission interface, wherein, when the first electronic device has a first application program, and the first electronic device passes the data transmission interface When performing data transmission with the second electronic device, the method includes:
[0038] 101: Receive, through the data transmission interface, a first protocol data packet that is encapsulated to conform to the first protocol of the data transmission interface, wherein the first protocol data packet includes: a second protocol data packet that is encapsulated to conform to the second protocol, so that the first The application cannot parse the second protocol packet to obtain data.
[0039] Wherein, the first electronic device may be an electronic device such as a desktop computer, a notebook, and a smart TV, and the second elec...
Embodiment 2
[0055] Please refer to figure 2 An embodiment of the present invention also provides another information processing method, which is applied to the first electronic device. When the first electronic device performs data transmission with the second electronic device through a data transmission interface, the method includes:
[0056] 201: Encapsulate data into a second protocol data packet conforming to the second protocol.
[0057] Wherein, the first electronic device may be an electronic device such as a smart phone, a pad, or an MP4, and the second electronic device may be an electronic device such as a desktop computer, a notebook, or a smart TV. The first electronic device can perform data transmission with the second electronic device through the data transmission interface, for example, connect the USB interface of the first electronic device and the second electronic device through a data line, so that the two electronic devices can perform data transmission. Of cour...
Embodiment 3
[0081] Based on the same inventive concept, an embodiment of the present invention also provides an electronic device, please refer to Figure 4 As shown, the electronic device includes: a data transmission interface 401, configured to receive a first protocol data packet encapsulated to conform to a first protocol of the data transmission interface, wherein the first protocol data packet includes: a first protocol data packet encapsulated to conform to a second protocol The second protocol data packet, so that the first application program cannot analyze the second protocol data packet to obtain data; the first processing module 402 is used to parse the second protocol data packet from the first protocol data packet through the first protocol; The second processing module 403 is connected with the first processing module 402, and is used for analyzing the second protocol data packet through the second protocol to obtain data; wherein, the first application program is different...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


