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

Local agent processing method and device

A technology of local proxy and local port, which is applied in the field of network communication and can solve the problems of inability to access the network in time.

Active Publication Date: 2017-04-19
HUAWEI TECH CO LTD
View PDF5 Cites 0 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 the network cannot be accessed in time when the local agent software process is closed abnormally

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
  • Local agent processing method and device
  • Local agent processing method and device
  • Local agent processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] figure 2 It is a flow chart of the processing method of the local agent provided in Embodiment 1 of the present invention, such as figure 2 as shown,

[0053] Step 201, receiving a network access request;

[0054] In this embodiment, when an application program installed on a terminal device, such as Taobao and a browser, wants to access the network, it will send a network access request to the corresponding functional software in the operating system kernel, and the corresponding functional software will perform a network access request deal with. For the Android operating system, generally the Iptables in the operating system kernel receives and processes the access network request, therefore, in this embodiment, the Iptables receives the access network request.

[0055] Step 202, judging whether the local agent software is running normally according to preset conditions and preset rule parameters; if running normally, go to step 203; if not running normally, go ...

Embodiment 2

[0062] image 3 It is a flow chart of the method for judging the processing of the local agent provided by the second embodiment of the present invention. This embodiment is an optional implementation mode 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 ​​as an example , to introduce the technical solution of this embodiment 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 used for illustration. For example, after the local proxy service is started, the local port number monitored is 55...

Embodiment 3

[0082] Figure 4 It is a flow chart of the method for judging whether the local agent software is running normally provided by Embodiment 3 of the present invention. This embodiment is an optional embodiment provided on the basis of Embodiment 1. 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 local machine. The preset rule parameters include command parameters, condition names, condition parameters and condition parameter values. The technical solution of this embodiment is described in detail as an example.

[0083] In this embodiment, for example, in the Android system, the Android system will assign a uid identifier, that is, a process identifier, to each installed non-Android system application program, and the Android system will maintain its value uniqueness. For example, taking the Android system as an example, the process ID assigned by the Android system to the local proxy...

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] Embodiments of the present invention relate to network communication technologies, and in particular to a processing method and device for a local agent. Background technique [0002] At present, it is popular to use transparent proxy software on intelligent terminal devices to provide the ability of global proxy Internet access. Transparent proxy software is also called local proxy software. Its core principle is to use the data packet processing tool in the operating system to complete the redirection of network access requests. The Android system uses the Linux kernel. In the kernel after Linux2.4, the Iptables in the kernel and netfilter complete the functions of data filtering and redirection in the system. 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 flow chart of network access through local proxy software provided by the prior art. Such...

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): H04L29/08
Inventor 靖轲
Owner HUAWEI TECH CO LTD