Quality evaluation method and device for network agent, storage medium and processor
A network proxy and quality assessment technology, which is applied to the processor, the quality assessment device of the network proxy, and the quality assessment field of the network proxy, can solve the problem that the crawler cannot efficiently crawl the network data and so on.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0079] refer to figure 1 , which shows a flow chart of a method for evaluating the quality of a network agent in Embodiment 1 of the present invention, which may specifically include:
[0080] Step 101, obtaining the agent usage results when multiple target network agents are used to crawl data on the target site, the multiple target network agents include: multiple network agents with different priorities, among the multiple target network agents The quantity of network agents with high priority is greater than the quantity of network agents with low priority, and the quality of network agents with higher priority is higher.
[0081] In the embodiment of the present invention, the network proxy refers to a server or a server cluster used to proxy a crawler program to crawl data from the network. For a crawler program, network agents can be divided according to sites, and each site corresponds to a list of network agents. When a crawler program crawls data from a target site,...
Embodiment 2
[0090] refer to figure 2 , which shows a flow chart of a method for evaluating the quality of a network proxy in Embodiment 2 of the present invention, which may specifically include:
[0091] Step 201, select a plurality of network agents with different priorities from the different network agent pools according to preset rules.
[0092] Wherein, step 201 can be combined with the steps of Embodiment 1 to form an embodiment. On the basis of Embodiment 1, this embodiment provides a method of how to select a network agent from the network agent pool, so as to ensure that the selected The network agent can meet the corresponding priority requirements.
[0093] In the embodiment of the present invention, multiple network agents with different priorities are stored in different network agent pools. For example, the agent pools are divided for different sites, and a network agent pool with high priority is maintained for each site domain name And a network agent pool with low pri...
Embodiment 3
[0125] refer to image 3 , which shows a structural block diagram of an apparatus for evaluating the quality of a network proxy in Embodiment 3 of the present invention, which may specifically include:
[0126] The result obtaining module 301 is used to obtain the agent usage results when using multiple target network agents to crawl data on the target site, the multiple target network agents include: multiple network agents with different priorities, the multiple The number of network agents with high priority among the target network agents is greater than the number of network agents with low priority, and the quality of network agents with higher priority is higher;
[0127] An evaluation module 302, configured to evaluate the quality of the target network agent according to the result of using the agent.
[0128] In the embodiment of the present invention, optionally, multiple network agents with different priorities are stored in different network agent pools, and the d...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


