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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com