User request information response-based memory allocation method and system

A technology of user request and memory allocation, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as system performance impact, and achieve the effects of avoiding system performance degradation, saving time, and reducing operating consumption

Inactive Publication Date: 2012-03-21
北京雷霆万钧网络科技有限责任公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a memory allocation method and system based on user request information response, so as to solve the impact on system performance caused by repeated application cancellation of memory space

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
  • User request information response-based memory allocation method and system
  • User request information response-based memory allocation method and system
  • User request information response-based memory allocation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] Embodiment one, see figure 1 , the present invention provides a memory allocation method based on user request information response, including:

[0022] Step S101, receiving user request information;

[0023] Step S102, obtaining the maximum number of files of the website server, using 0 to the maximum number of files as the index number of the memory space;

[0024] Step S103, configuring an index number for the currently received user request information;

[0025] Step S104, writing the user request information into the address corresponding to the index number in the memory space.

[0026] In this embodiment, an index number is configured for the memory space, and an index number is configured for the currently received user request information within the range of the index number, and the user request information is written into the corresponding memory space according to the index number. Then, the backend process reads the user request information from the memo...

Embodiment 2

[0028] Embodiment two, see figure 2 , the present invention also provides a memory allocation system based on user request information response, comprising: a website server 1, a memory space 2 and a backend process 3; the website server 1 includes a user request information receiving module 11, a memory space index number configuration submodule 12. User request information index number configuration sub-module 13 and memory space writing sub-module 14;

[0029] The user request information receiving module 11 is configured to receive user request information;

[0030] The memory space index number configuration submodule 12 is used to obtain the maximum number of files of the website server 1, and configure the index number for the memory space 2 from 0 to the maximum number of files;

[0031] The user request information index number configuration submodule 13 is used to configure the index number for the currently received user request information;

[0032] The memory s...

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 relates to the technical field of website user request information processing, and in particular discloses a user request information response-based memory allocation method, which comprises the following steps: receiving user request information; acquiring the maximum document number of a web server, and taking 0 to the maximum document number as index numbers of a memory space; allocating an index number to the user request information currently received; and writing the user request information to an address corresponding to the index number in the memory space. The inventionalso discloses a user request information response-based memory allocation system. The memory space is directly positioned according to the index numbers, the time of searching the memory space is saved, the operation consumption when the system allocates the memory is reduced, and the reduction of system performance caused by repeated application of de-registration of users is avoided.

Description

technical field [0001] The invention relates to the field of website user request information processing, in particular to a memory allocation method and system based on user request information response. Background technique [0002] With the advent of the information society, people rely more and more on the Internet to obtain a huge amount of information. Large-scale websites have many servers and a large number of website visits, which makes the collection of logs a thorny problem. At present, most solutions use Http servers such as Apache or lighthttp to collect logs locally, and then copy the logs to a unified server through FTP, remote file copy, etc. for analysis. [0003] In the existing technology, Http Server is unstable when dealing with large-scale concurrent situations. When explosive requests such as large website visits occur, maintaining user request information consumes too much memory, and repeated application logouts of memory space will cause System pe...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 吴帅王国腾绍军左鹞飞
Owner 北京雷霆万钧网络科技有限责任公司
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