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

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

Inactive Publication Date: 2018-11-09
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present invention provides an information encapsulation method, device, computer equipment, and storage medium to solve the problem that the ADB client has limitations on the programmability and scalability of the ADB server

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
  • Information packaging method and device, computer device and storage medium
  • Information packaging method and device, computer device and storage medium
  • Information packaging method and device, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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.

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 an information packaging method and device, a computer device and a storage medium. The information packaging method comprises steps that a SOCKET connection request is obtained, and the SOCKET connection request contains an IP address; the SOCKET connection request is sent to an ADB server to make the ADB server establish a SOCKET pipeline based on the IP address of the SOCKET connection request; the ADB access content is obtained, the ADB access content is packaged into the SOCKET input flow, and the SOCKET input flow is sent to the ADB server through the SOCKET pipeline; the SOCKET output flow is obtained through the SOCKET pipeline, and the SOCKET output flow is unpackaged to obtain the ADB reply content corresponding to the ADB access content. The method is advantaged in that programmability and ease-of-use property of an ADB client can be improved, and the usage environment and usage scenarios between the ADB client and the ADB server are expanded.

Description

technical field [0001] The present invention relates to the field of information transmission, in particular to an information encapsulation method, device, computer equipment and storage medium. Background technique [0002] The function of the ADB (Android Debug Bridge, Android Debug Bridge) interface is mainly to allow computers or other devices to control the Android system through ADB, so it is called "intermediate bridge". The information exchange between the existing ADB client (control terminal) and the ADB server (Android system) is subject to many restrictions from the Android official. For example, the operating environment for information interaction can only be Windows, Linux or Mac systems, and cannot interact in Android or other virtual systems; the operating environment for information interaction needs to install executable files provided by Android officially; the ADB client needs to pass ADB SHELL (ADB programming language) calls the JAVA API (Application...

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 Applications(China)
IPC IPC(8): H04L29/08H04L29/06H04L12/46
CPCH04L12/4633H04L67/141H04L69/162
Inventor 张远平
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN