Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Network request processing method and apparatus, network data acquisition method, and server

A network request and processing method technology, applied in the Internet field, can solve problems such as crawling and being unable to be searched by traditional search engines

Active Publication Date: 2016-08-31
BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF5 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a network request processing method, network data acquisition method, device and server to solve the technical problem in the prior art that SPA cannot be captured by traditional search engines

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
  • Network request processing method and apparatus, network data acquisition method, and server
  • Network request processing method and apparatus, network data acquisition method, and server
  • Network request processing method and apparatus, network data acquisition method, and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The invention provides a network request processing method, network data acquisition method, device and server to solve the technical problem in the prior art that SPA cannot be captured by traditional search engines.

[0054] The technical solution in the embodiment of the present application is to solve the above-mentioned technical problems, and the general idea is as follows:

[0055] After receiving a network access request for a single-page application, it is necessary to determine whether the visitor of the network access request is a search engine crawler, and if it is a search engine crawler, directly obtain the source code information of the page content corresponding to the network access request, Then transmit the source code information to the search engine crawler, that is to say, when the search engine crawler searches for a single-page application, it does not directly return a blank page, but returns the source code information of the page content corres...

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 present invention relates to the field of Internet, and discloses a network request processing method and apparatus, a network data acquisition method, and a server, so as to solve the technical problem that an SPA (Single Page Application) cannot be captured by the conventional search engine in the prior art. The method comprises: after receiving a network access request for a single page application, needing to determine whether a visitor that sends the network access request is a search engine crawler; if the visitor is the search engine crawler, directly obtaining page content corresponding to the network access request; and then transmitting source code information of the page content to the search engine crawler, that is, when the search engine crawler searches out the single page application, skipping directly returning to a blank page but returning to the source code information of the page content corresponding to the single page application. On this basis, the single page application not only can hold an unchanged original architecture but also can be captured by multiple types of search engines.

Description

technical field [0001] The invention relates to the Internet field, in particular to a network request processing method, a network data acquisition method, a device and a server. Background technique [0002] SPA (Single Page Application: Single Page Application) is a web application architecture. The entire website has only one HTML (Hyper Text Markup Language: Hypertext Markup Language) page. The content and resources of the website are all dynamically loaded without page refresh. Provide users with a good experience similar to desktop programs. [0003] Search engine crawler (Spider, Crawler): also known as web spider and network robot, is a program that automatically grabs information on the World Wide Web according to certain rules. [0004] Since the content of SPA is all generated by JavaScript scripts, the URL usually contains #, and the parameters after # cannot be passed to the background, and the background always returns a fixed page, so it cannot be crawled by...

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): G06F17/30H04L29/08
CPCG06F16/951H04L67/02
Inventor 梁宵翟懿博
Owner BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products