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

Network request response method and device, electronic equipment and storage medium

A network request and requester technology, applied in the computer field, can solve problems affecting normal use of users, high cost of hardware resources, and inaccessibility of online pages, so as to improve service feedback speed and performance, reduce hardware resource costs, and reduce service costs. The effect of resource usage

Pending Publication Date: 2021-08-24
BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the case of excessive visits, the online page will be inaccessible, or it will be forced to provide damaged services, affecting the normal use of users
[0003] At present, the pressure of webpage access is relieved by deploying more server equipment; however, the explosive growth of the number of visits is not normal, and deploying too many servers will lead to high hardware resource costs

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 response method and device, electronic equipment and storage medium
  • Network request response method and device, electronic equipment and storage medium
  • Network request response method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 It is a schematic flowchart of a method for responding to a network request provided by Embodiment 1 of the present disclosure. The embodiment of the present disclosure is applicable to the situation of responding to network requests, and is especially suitable for responding to scenarios of large-traffic and high-concurrency network requests. The method may be executed by a network request responding device, which may be implemented in the form of software and / or hardware, and which may be configured in an electronic device, such as a mobile terminal or a server device.

[0029] like figure 1 As shown, the network request response method provided in this embodiment includes:

[0030] S110. Obtain a webpage access request, and identify target webpage identification information in the access request.

[0031] In any application, such as audio and video, social or shopping applications, users can interact with the application server through the display content ...

Embodiment 2

[0039] The embodiments of the present disclosure may be combined with various optional solutions in the network request response method provided in the foregoing embodiments. The network request response method provided in this embodiment further describes the process of compressing webpage files in a high-concurrency scenario, which can effectively reduce the bandwidth occupation of webpage files.

[0040] figure 2 It is a schematic flowchart of a method for responding to a network request provided in Embodiment 2 of the present disclosure. like figure 2 As shown, the network request response method provided in this embodiment includes:

[0041] S210. Obtain the webpage file to be compressed, analyze the content structure of the header tag in the webpage file to be compressed, identify and delete the tags and content in the header tag content that are not related to the realization of the preset service scenario, and obtain a preliminary compressed webpage document.

[...

Embodiment 3

[0058] image 3 It is a schematic structural diagram of a network request response device provided in Embodiment 3 of the present disclosure. The network request response device provided in this embodiment is suitable for responding to network requests, and is especially suitable for responding to large traffic and high concurrency network request scenarios.

[0059] like image 3 As shown, the apparatus for responding to a network request includes: a request receiving module 310 and a request responding module 320 .

[0060] Wherein, the request receiving module 310 is configured to acquire a webpage access request, and identify the target webpage identification information in the access request; the request response module 320 is configured to, when the target webpage identification information belongs to the preset webpage identification white list, according to The target webpage identification information reads the target webpage file in the configuration information of...

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 discloses a network request response method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a webpage access request, and recognizing target webpage identification information in the access request; when the target webpage identification information belongs to a preset webpage identification white list, reading a target webpage file in configuration information of the server according to the target webpage identification information, and feeding back the target webpage file to a requester of the access request to respond to a network request, the webpage file corresponding to the webpage identifier contained in the preset webpage identifier white list is a webpage file subjected to file volume compression in a preset service scene. According to the method provided by the embodiment of the invention, the problem of high hardware resource deployment cost in order to deal with high-concurrency service requests is solved, the network bandwidth occupied by webpage files can be reduced, the service feedback speed and performance are improved, and the hardware resource cost is reduced.

Description

technical field [0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to a network request response method, device, electronic equipment, and storage medium. Background technique [0002] In some scenarios, the front-end page will face technical challenges of high-traffic and high-concurrency web page access. For example, in time-limited lottery or voting activities, millions or even tens of millions of people will visit a front-end page in a short period of time, and the server deploying the front-end page will face the test of stability and availability. In the case of too many visits, the online page will be inaccessible, or it will be forced to provide damaged services, affecting the normal use of users. [0003] At present, the pressure of webpage access is mostly relieved by deploying more server equipment; however, the explosive growth of the number of visits is not normal, and deploying too many servers will ...

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): G06F16/953G06F16/903G06F9/50
CPCG06F16/953G06F16/90344G06F9/5027
Inventor 贾正权漆昱恒张瑞
Owner BEIJING YOUZHUJU NETWORK TECH 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