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

A userid-based android application traffic filtering method and system

A technology that uses traffic and filtering methods, applied in the field of network security, can solve the problems of difficult analysis of private protocols or encrypted traffic, time-consuming and labor-intensive problems, and achieve the effect of saving manual operation costs

Active Publication Date: 2022-04-15
HARBIN INST OF TECH
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The other is to purify network traffic manually, that is, to use human knowledge and experience to analyze data traffic, but this method depends on human knowledge structure and experience, which is time-consuming and laborious, and it is difficult for some private protocols or encrypted traffic. Efficient analysis directly by humans

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
  • A userid-based android application traffic filtering method and system
  • A userid-based android application traffic filtering method and system

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach 1

[0034] Specific implementation mode one: refer to figure 1 Describe this implementation mode, a kind of Android application flow filtering method based on userId of this implementation mode, comprises the following steps:

[0035] Step 1, read the userId (user authentication code) of the specified application from the Android device;

[0036] Obtain the said userId from the / data / system / packages.xml file of the Android device. / data / system / packages.xml is generated by PackageManagerService.java, which records all the attributes, permissions and other information of the APK installed in the system. When the APK in the system is installed, deleted, or upgraded, the file will be updated: the information in the file is divided into the following parts:

[0037] 1) permission block: it contains the information of all defined permissions in the system;

[0038] 2) package block: it contains detailed information of all installed apps in the system;

[0039] 3) shared-user block: ...

specific Embodiment approach 2

[0060] Specific implementation mode two, refer to figure 2 Describe this embodiment mode, a kind of Android application flow filtering system based on userId, comprise userId acquisition unit, iptables rule setting unit, and traffic acquisition and storage unit; Said userId acquisition unit is used to acquire the userId of specified application; Said iptables rule The setting unit is used to set iptables rules, label the flow of the userId upstream, put the data packet carrying the flow label into the NFLOG message pool, and set a label for the message pool; the flow acquisition and preservation The unit is used to obtain data packets from the NFLOG message pool and save them as pcap files.

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

A userId-based Android application traffic filtering method and system, belonging to the technical field of network security. The present invention comprises the following steps: Step 1, read the userId of specified application from the Android device; Step 2, use iptables to put a flow label on the specified userId; Step 3, write iptables rules, and use the INPUT of the userId with the flow label 1. Put the OUTPUT data packet into the NFLOG message pool, and specify a label for the NFLOG message pool; Step 4: Obtain the pure traffic set corresponding to the target userId from the NFLOG message pool. The invention solves the problem that the application network flow cannot be accurately analyzed due to the mixing of application flow in one network.

Description

technical field [0001] The invention relates to the technical field of network security, in particular to a userId-based Android application traffic filtering method and system. Background technique [0002] With the rapid development of the Internet, various Internet applications continue to emerge, and the scale of network traffic also increases. A large part of the network traffic is Android application traffic. The network traffic generated by Android devices is identified and analyzed. Network traffic management and malicious traffic detection are of great significance. [0003] When an Android device is running an application, the network traffic generated by all applications is mixed into one network, so it is impossible to accurately analyze the network traffic of a single application mixed into one network. [0004] There are several approaches to traditional web application traffic filtering. One is port-based application traffic filtering, but with the rapid inc...

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): H04L9/40
CPCH04L63/0227H04L63/1425H04L63/1441
Inventor 余翔湛葛蒙蒙赵跃史建焘刘立坤王久金冯帅宋赟祖李精卫韦贤葵石开宇车佳臻
Owner HARBIN INST OF TECH