Processing method and device of local proxy

A local agent and software technology, applied in the field of network communication, which can solve problems such as inability to access the network in time

Active Publication Date: 2014-01-22
HUAWEI TECH CO LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The invention provides a local agent processing method and device to solve the problem that

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
  • Processing method and device of local proxy
  • Processing method and device of local proxy
  • Processing method and device of local proxy

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] figure 2 It is a flowchart of the processing method of the home agent provided in the first embodiment of the present invention, such as figure 2 As shown,

[0053] Step 201: Receive a network access request;

[0054] In this embodiment, when an application program installed on a terminal device, such as Taobao, a browser, etc., wants to access the network, it sends a network access request to the corresponding function software in the operating system kernel, and the corresponding function software performs the network access request. deal with. For the Android operating system, the network access request is generally received and processed by Iptables in the operating system kernel. Therefore, in this embodiment, the network access request is received by Iptables.

[0055] Step 202: Determine whether the local agent software is running normally according to preset conditions and preset rule parameters; if it is running normally, execute step 203; if it is not running norm...

Embodiment 2

[0062] image 3 This is a flowchart of a method for determining the processing of a home agent provided in the second embodiment of the present invention. This embodiment is an optional implementation manner provided on the basis of the first embodiment. On the basis of the above technical solution, in this embodiment, the preset condition is whether the local port of the local agent software is in the listening state, and the preset rule parameters include command parameters, condition names, condition parameters, and condition parameter values. , The technical solution of this embodiment is introduced in detail.

[0063] In addition, it should be noted that when the proxy service of the local proxy software is started, it will monitor a port locally, which is called the local port. In order to clarify this embodiment more clearly, an example is now described. For example, the local port number monitored after the local proxy service is started is 5555. In the prior art, when t...

Embodiment 3

[0082] Figure 4 This is a flowchart of the method for judging whether the local agent software is running normally provided in the third embodiment of the present invention. This embodiment is an optional embodiment provided on the basis of the first embodiment. In this embodiment, the The preset condition is whether the process identifier of the local agent software is in the running process set of the machine, and the preset rule parameters include command parameters, condition names, condition parameters, and condition parameter values ​​as examples to introduce the technical solution of this embodiment in detail.

[0083] In this embodiment, for example, in the Android system, the Android system assigns a uid identifier, that is, a process identifier, to each installed non-Android system application, and the Android system maintains its uniqueness. For example, taking the Android system as an example, the process ID assigned by the Android system to the local agent software i...

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 a processing method and a processing device of local proxy. The method comprises the steps of receiving a network access request and judging whether local proxy software operates normally or not according to preset conditions and preset rule parameters; when the local proxy software operates normally, directing the network access request to the local proxy software to enable the local proxy software to forward the network access request to a proxy server, so as to enable the proxy server to request a network server to provide network service; when the local proxy software operates abnormally, directing the network access request to the network server. The processing method and the processing device of the local proxy provided by the invention solve the problem that internet surfing cannot be realized in time after the process of the local proxy software is killed.

Description

Technical field [0001] The embodiment of the present invention relates to network communication technology, and in particular to a processing method and device of a local agent. Background technique [0002] Currently, transparent proxy software is popularly used on smart terminal devices to provide global proxy Internet access capabilities. Transparent proxy software is also called local proxy software. Its core principle is to use data packet processing tools in the operating system to redirect network access requests. The Android system uses the Linux kernel. In the kernel after Linux 2.4, Iptables and netfilter in the kernel complete the data filtering and redirection functions in the system together. Among them, Iptables can be called the network access processing module , Netfilter can be called a network filtering module. [0003] figure 1 It is a flowchart of network access through local agent software provided by the prior art. Such as figure 1 As shown, step 1, the loca...

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
IPC IPC(8): H04L29/08
Inventor 靖轲
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products