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

Method and device for supporting network agent by apk packet

A network proxy, network request technology, applied in secure communication devices, code compilation, program code conversion, etc., can solve problems such as failure, inability to capture network requests, and inability to support

Pending Publication Date: 2020-12-29
BEIKE TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the Android application TargetSdkVersion24 version, this traditional solution is completely invalid due to the limitation of the security mechanism
After the latest version of Android (targetSdkVersion>24) is upgraded, due to the internal "default user certificate is not trusted" mechanism, the network request of the application cannot be captured by the tool (Charles)
As developers and testers, they need to obtain real open applications on the live network, and retrieve the application's network transmission data details, so as to troubleshoot and verify online problems. Existing technologies cannot support this function

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
  • Method and device for supporting network agent by apk packet
  • Method and device for supporting network agent by apk packet
  • Method and device for supporting network agent by apk packet

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The specific implementation manners of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation manners described here are only used to illustrate and explain the embodiments of the present invention, and are not intended to limit the embodiments of the present invention.

[0025] One aspect of the embodiments of the present invention provides a method for implementing application apk packages to support network proxy. Wherein, the application apk package may be an Android application program package.

[0026] figure 1 It is a flow chart of a method for implementing application apk package support network proxy provided by an embodiment of the present invention. Such as figure 1 As shown, the method includes the following contents.

[0027] In step S10, the application apk package is downloaded. For example, download the app apk package that is ...

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 embodiment of the invention provides a method and device for supporting network agent by an apk packet, and belongs to the field of mobile APP development and test tools. The method comprises thefollowing steps: downloadingan application apk packet; obtaining the source code of the application apk package and the name and position of each configuration of the application apk package in the source code; generating a trusted preset communication certificate chain based on a signature file and a password in the configuration of the application apk packet; replacing a built-in certificate chain of the application apk packet with a preset communication certificate chain; modifying the configuration of the application apk packet to enable the application apk packet to trust the preset communication certificate chain and allow the application apk packet to be captured so as to realize that the application apk packet supports a network agent; after the built-in certificate chain is replaced and configuration is modified, repackaging and signing the source code to form a new application apk package. Therefore, the application apk packet supports the network agent, so that development and test human eyes can retrieve network transmission data details of the application apk packet, thereby troubleshooting and verifying online problems.

Description

technical field [0001] The invention relates to the field of mobile APP development and testing tools, in particular to a method and a device for realizing application apk packages supporting network agents. Background technique [0002] "TargetSdk", in the field of mobile application Android development, both application development and operation require a basic capability library, that is, the Android SDK, which is used to provide basic capabilities, such as turning on the camera, rendering pages, and so on. With the evolution of history, there are multiple versions of the Android SDK, which is represented by TargetSdk, which is the version of the target capability library that the current application expects to run. "Charles", is an HTTP proxy server, HTTP monitor, and reverse proxy server. When the browser connects to Charles' proxy to access the Internet, Charles can monitor all the data sent and received by the browser. It allows a developer to view all HTTP communica...

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): G06F8/53G06F8/41G06F8/71G06F8/30H04L9/32H04L29/08
CPCG06F8/53G06F8/447G06F8/71G06F8/315H04L9/3265H04L9/3247H04L67/56
Inventor 甘泉梁金柱
Owner BEIKE TECH 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