Information packaging method and device, computer device and storage medium
A technology of information encapsulation and computer program, applied in the field of information transmission, can solve problems such as programmability and scalability limitations, achieve the effect of improving programmability and ease of use, and expanding the use environment and use scenarios
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] The information encapsulation method includes the following steps performed by the ADB client:
[0038] Obtain a SOCKET connection request, which carries an IP address;
[0039] Send the SOCKET connection request to the ADB server, so that the ADB server can create a SOCKET pipeline based on the IP address in the SOCKET connection request;
[0040] Obtain the ADB access content, encapsulate the ADB access content into a SOCKET input stream, and send the SOCKET input stream to the ADB server through the SOCKET pipeline;
[0041] Obtain the SOCKET output stream through the SOCKET pipeline, decapsulate the SOCKET output stream, and obtain the ADB reply content corresponding to the ADB access content.
[0042] The information encapsulation method also includes the following steps performed by the ADB server:
[0043] Use port monitoring to obtain the SOCKET connection request sent by the ADB client, and the SOCKET connection request carries an IP address;
[0044] Create...
Embodiment 2
[0138] Image 6 A functional block diagram of an information encapsulation device corresponding to the information encapsulation method in Embodiment 1 is shown. The information encapsulation device includes an ADB client 10 and an ADB server 20 . Such as Image 6 As shown, the ADB client 10 includes an acquisition connection request module 11 , a first creation pipeline module 12 , an access content acquisition module 13 and a response content acquisition module 14 . Among them, the implementation functions of the obtaining connection request module 11, the first creating pipeline module 12, the obtaining access content module 13 and the obtaining reply content module 14 correspond to the steps S11, S12, S15 and S18 corresponding to the information encapsulation method in the embodiment respectively, as To avoid redundant description, this embodiment does not describe in detail one by one.
[0139] The obtaining connection request module 11 is configured to obtain a ...
Embodiment 3
[0162] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the information encapsulation method in Embodiment 1 is implemented. To avoid repetition, details are not repeated here. Alternatively, when the computer program is executed by the processor, the functions of the modules in the information encapsulation in Embodiment 2 are implemented. To avoid repetition, details are not repeated here.
[0163] It can be understood that the one or more non-volatile readable storage media storing computer-readable instructions may include: any entity or device capable of carrying the computer-readable instructions, a recording medium, a U disk, a mobile hard disk , disk, CD, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution media, etc.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


