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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


