Access response management method, server and computer readable storage medium

A management method and processor technology, applied in the computer field, can solve problems such as accumulation of server access requests, paralysis, and crashes

Inactive Publication Date: 2018-03-13
NUBIA TECHNOLOGY CO LTD
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide an access response management scheme to solve the problem that the server in the prior art is prone to accumulation of access requests when faced with a high amount of concurrent access, or even crashes, paralyzes and cannot work normally. The technical problem is to provide an access response management method, a server and a computer-readable storage medium

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
  • Access response management method, server and computer readable storage medium
  • Access response management method, server and computer readable storage medium
  • Access response management method, server and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0046] In order to solve the problem that the performance improvement speed of the server in the prior art cannot always meet the growth rate of the visit volume, which leads to the problem that the server is prone to request accumulation, crash and downtime under high concurrency conditions, this embodiment provides a method for access response management. To address the above issues, see figure 1 :

[0047] S102. Determine whether the received access request is a time-consuming access request.

[0048]Each access request has a corresponding access interface, different access requests correspond to different access interfaces, and the same access request corresponds to the same access interface. For example, 10 users all initiate access requests to the server through their respective clients to obtain topic popularity rankings. Since these 10 access requests are all for obtaining topic popularity rankings, the access interfaces corresponding to these 10 access requests are ...

no. 2 example

[0064] This embodiment will continue to describe the access response management method on the basis of the first embodiment. It should be understood that the access response management method in this embodiment is actually divided into two phases: one phase is the "access preparation phase" and the other is the "client access phase". The client access stage is naturally the stage of receiving the client's access request and returning the access result to the client through the corresponding access interface; and in the access preparation stage, it is necessary to first determine which access requests the business logic processing of the access interface is more complicated. It belongs to time-consuming access requests, and then obtain access results for these time-consuming access requests in advance, avoiding spending time and processing resources to process these time-consuming access requests in the client access phase. In order to facilitate those skilled in the art to und...

no. 3 example

[0096] This embodiment firstly provides a computer-readable storage medium, in which one or more computer programs are stored, and these computer programs can be read, compiled and executed by a processor, so as to realize the corresponding method flow. In this embodiment, a computer program that can implement the access response management method in the foregoing embodiments is stored in a computer-readable storage medium.

[0097] In addition, this embodiment also provides a server, please refer to Figure 8 , the server 80 includes a processing 81 , a memory 82 and a communication bus 83 . Wherein the communication bus 83 is used to realize the connection and communication between the processor 81 and the memory 82, the memory 82 is used as a computer-readable storage medium, and an access response management program is stored therein, and the processor 81 can realize the foregoing implementation by executing the computer program The access response management method descr...

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 invention discloses an access response management method, a server and a computer readable storage medium. The access response management method is used for solving the problem that the existing server is liable to get into an access request accumulation or breakdown state in the face of high-concurrent access. The access response management method comprises the following steps: storing an access result of a time-consuming access request with complex service logic processing of an access interface to a preset storage location in advance; directly extracting the access result from the preset storage location to perform the response when receiving the time-consuming access request. A mechanism of temporarily occupying the server processing resource to perform the service logic processingwhen receiving the time-consuming access request is abandoned, the problem that other requests cannot be processed since the processing resource is occupied by the time-consuming access request for along time is avoided. The invention further provides a server and a computer readable storage medium. Under the existence of a certain processing performance of the server side, the processing capacity of responding to the high-concurrent access by the server is improved, and the response speed for each access request and the user experience are improved.

Description

technical field [0001] The present invention relates to the computer field, and more specifically, relates to an access response management method, a server and a computer-readable storage medium. Background technique [0002] With the development of Internet technology, the services provided by the Internet have been continuously enriched, and more and more comprehensive and convenient services have been provided to users. At the same time, the number of users of major websites is also increasing day by day. On the one hand, this reflects the achievements of website operation, but on the other hand, it is also constantly testing the performance of the server, because the server must withstand huge access pressure. Especially for some large portal websites that are popular with users, the number of daily active users has almost grown exponentially. During peak hours, the concurrent visits to these web servers will remain at a high level. For this high concurrency phenomen...

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): H04L29/08
CPCH04L67/1001H04L67/5681
Inventor 王杉杉
Owner NUBIA TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products