Transit method and device for network request
A network request and network resource technology, applied in the field of information processing, can solve problems such as investing more costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] figure 1 It is a flowchart of a network request transfer method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where a transfer server is used to provide network resource access acceleration services. device, which can be implemented in the form of software and / or hardware, and generally can be integrated in the transit server. Such as figure 1 As shown, the method of this embodiment specifically includes:
[0045] S110. The transit server acquires the network resource request directed to the proxy server sent by the user.
[0046] In this embodiment, after obtaining the network resource request sent by the user, the transit server obtains the resource requested by the user from the corresponding proxy server, and then forwards the resource to the corresponding user, so that the user can be more stable and High-speed access to network resources.
[0047]Wherein, the network request that the user sends to the transfe...
Embodiment 2
[0059] Figure 2a It is a flowchart of a network request transfer method provided by Embodiment 2 of the present invention. This embodiment is optimized based on the above embodiments. In this embodiment, the transfer server decomposes the network resource request into Two pending tasks, and adding the two pending tasks to the local message queue is specifically optimized as follows: the transfer server decomposes the network resource request into a first pending task and a second pending task; The transfer server adds the task processing parameters corresponding to each of the pending tasks to the corresponding pending tasks; the transfer server adds the two pending tasks after adding the task processing parameters to the corresponding tasks respectively. the tail of the local message queue;
[0060] And, the transfer server obtains the tasks in the local message queue through the threads in the thread pool, and the specific optimization is: the transfer server obtains the t...
Embodiment 3
[0088] image 3 A schematic structural diagram of a transfer device for network requests provided by Embodiment 3 of the present invention, the device is configured in a transfer server, such as image 3 As shown, the device includes: a network resource request acquisition module 310 , a network resource request decomposition module 320 , and a task processing module 330 . in:
[0089] The network resource request acquiring module 310 is configured to acquire the network resource request directed to the proxy server sent by the user.
[0090] The network resource request decomposition module 320 is configured to decompose the network resource request into two pending tasks, and add the two pending tasks to the local message queue, wherein the two pending tasks respectively point to The proxy server and the user.
[0091] The task processing module 330 is configured to acquire tasks in the local message queue through threads in the thread pool, and process the tasks through ...
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