Method, device and terminal for collecting website resources

A resource and website technology, applied in the field of information network, can solve problems such as heavy code workload, cumbersome process, waste of resources, etc., and achieve the effect of reducing the amount of information, reducing the amount of code, and saving resources

Active Publication Date: 2018-09-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since a transit server is added between the server and the client, and the transit server indirectly realizes the communication between the server and the client, this method not only wastes resources, is cumbersome, but also leads to excessive code workload

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
  • Method, device and terminal for collecting website resources
  • Method, device and terminal for collecting website resources
  • Method, device and terminal for collecting website resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] The embodiment of the present invention provides a method for collecting network resources, see figure 1 , the method flow includes:

[0049] Step 101: Obtain the pseudo-protocol information returned by the network side, the pseudo-protocol is the agreement between the network side and the favorite program, and the pseudo-protocol information includes the link address corresponding to the website resource;

[0050] Step 102: call the collection program to analyze the acquired pseudo-protocol information, and obtain the link address corresponding to the website resource;

[0051] Among them, the pseudo-protocol information obtained by parsing includes but is not limited to:

[0052] The browser is invoked to parse the pseudo-protocol information, and after the browser fails to parse the pseudo-protocol information, the browser scans the registry to open the favorite program, and the favorite program analyzes the pseudo-protocol information.

[0053] Furthermore, before...

Embodiment 2

[0066] The embodiment of the present invention provides a method for collecting website resources. The method obtains the pseudo-protocol information including the link address corresponding to the website resource returned by the network side, so as to realize the collection of website resources according to the link address in the pseudo-protocol information. Combining the content of the first embodiment above, for the convenience of explanation, this embodiment takes the method of obtaining the pseudo-protocol information returned by the network side as sending a collection request to the network side, and receiving the pseudo-protocol information returned by the network side according to the collection request as an example, The method provided in this embodiment is illustrated with an example. see figure 2 , the method flow includes:

[0067] Step 201: Install the favorite program locally, and write the information corresponding to the favorite program into the registry...

Embodiment 3

[0086] An embodiment of the present invention provides a device for collecting website resources, see image 3 , the device consists of:

[0087] The obtaining module 31 is used to obtain the pseudo-protocol information returned by the network side, the pseudo-protocol is an agreement between the network side and the collection program, and the pseudo-protocol information includes the link address corresponding to the website resource;

[0088] The analysis module 32 is used to call the collection program to analyze the pseudo-protocol information obtained by the acquisition module 31, and obtain the link address corresponding to the website resource;

[0089]The collection module 33 is configured to store the website resource into the collection program according to the link address corresponding to the website resource analyzed by the parsing module 32 .

[0090] Further, the parsing module 32 is specifically used to call the browser to parse the pseudo-protocol information...

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 method, device and terminal for collecting website resources, and belongs to the technical field of information networks. The method includes the steps that fake protocol information returned by a network side is acquired, wherein a fake protocol is the protocol between the network side and a collecting program, and the fake protocol information comprises chained addresses corresponding to the website resources; fake protocol information analyzed and acquired by the collecting program is called to obtain chained addresses corresponding to the website resources; the website resources are collected into the collecting program according to the chained addresses corresponding to the website resources. According to the method, device and terminal for collecting website resources, the website resources are collected through the fake protocol information, the device for collecting the website resources can be directly interacted with the network side, a transit server in the prior art for storing the website resources is omitted, and resources are saved; the chained addresses corresponding to the website resources are transmitted through the fake protocol information, the website resources are acquired according to the chained addresses, the number of codes can be reduced, and information amount in the interaction process is reduced.

Description

technical field [0001] The invention relates to the technical field of information network, in particular to a method, device and terminal for collecting website resources. Background technique [0002] With the continuous development of Internet technology, people have higher and higher requirements for the services provided by the Internet. The user hopes to directly execute the operation on the client side and enter the relevant page when he visits the same page for operation next time. Therefore, more and more attention is paid to the technology of storing website resources to the client. [0003] In the prior art, when implementing the operation of collecting website resources, firstly, the client sends an operation request to the server with website resources, and the server receives the operation request from the client and performs corresponding processing, and then the server sends the user’s The relevant information of the required website resources is sent to th...

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/06
CPCY02D30/50
Inventor 何炯琛沈艳慧
Owner TENCENT TECH (SHENZHEN) 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