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

Network request processing method and device, computer readable medium and electronic equipment

A technology of network request and processing method, applied in the computer field, which can solve the problem that the content cannot be crawled

Pending Publication Date: 2019-12-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention relate to a network request processing method, device, computer-readable medium and electronic device for a single-page application, which can overcome the problem that content in a single-page application cannot be effectively captured by search engine crawlers to a certain extent

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 device, computer readable medium and electronic equipment
  • Network request processing method and device, computer readable medium and electronic equipment
  • Network request processing method and device, computer readable medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and fully convey the concept of example embodiments to those skilled in the art.

[0025] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the invention. However, those skilled in the art will appreciate that the technical solutions of the present invention may be practiced without one or more of the specific details, or other methods, components, means, steps, etc. may be employed. In other instances, well-known methods, apparatus, implem...

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 embodiment of the invention provides a network request processing method and device for a single-page application, a computer readable medium and electronic equipment. The method comprises the following steps: receiving a network access request for a single-page application; performing server rendering on the single-page application to obtain rendered webpage content when the network access request is from a search engine crawler; and returning the rendered webpage content. Server rendering performed on the single-page application includes: calling an interface-free browser engine to opena website corresponding to the single-page application; monitoring a rendering completion event returned by the interface-free browser engine; and obtaining the rendered webpage content. According tothe technical scheme of the embodiment of the invention, the content of the single-page application can be effectively captured by a search engine crawler.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, relates to a single-page application network request processing method, device, computer-readable medium, and electronic equipment. Background technique [0002] A single page application (Single Page Application) is a web application that uses asynchronous browser rendering on the browser side, such as web pages developed using modern front-end frameworks such as reactjs and vuejs. The browser loads a single HTML page, and then all interactions and effects are implemented within that single HTML page without reloading the HTML page. [0003] The user does not need to reload the entire page to obtain the content on the single-page application, so the single-page application has a good user experience and produces less pressure on the server. [0004] However, single-page applications don't support search very well. In other words, search engine crawlers cannot eff...

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 Applications(China)
IPC IPC(8): G06F16/954
Inventor 吴浩麟
Owner TENCENT TECH (SHENZHEN) 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