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

Method and system for cleaning Session file use space

A cleaning method and file technology, applied in the field of web systems, to avoid the inability to log in and access the web system normally

Active Publication Date: 2021-04-27
湖南同有飞骥科技有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0040] For malicious attacks or empty files, session has no measures to solve

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
  • Method and system for cleaning Session file use space
  • Method and system for cleaning Session file use space
  • Method and system for cleaning Session file use space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0063] This solution requires feature configuration definition in advance so that it can be flexibly controlled, including:

[0064] Trigger threshold CU (cleanup used): default 80, value range 1-99, the used space U of the path specified by the session, the total space T of the specified path, when U>T*(CU / 100), the space cleanup will be executed action.

[0065] Result threshold CA (cleanup available): default 80, value range 1-99, the latest available space A of the path specified by the session, and the total space T, when A>T*(CA / 100), the space cleanup ends.

[0066] Space cleanup factor CD (cleanup divisor): default value 1, value range 1-99, 0 means never t...

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 provides a method and a system for cleaning a Session file use space. The method comprises the steps of calculating a current system space occupancy rate according to a current session file occupancy space and a total system space; judging whether the current system space occupancy rate exceeds a cleaning triggering threshold value or not; and if the current system space occupancy rate exceeds the cleaning trigger threshold, executing space cleaning operation. According to the method and system for cleaning Session file use space, the file system can keep sufficient use space, and normal operation of a Web system is guaranteed.

Description

technical field [0001] The invention relates to the technical field of Web systems, in particular to a method and system for cleaning up space used by Session files. Background technique [0002] Session is used in network applications, especially in web systems; when users switch between different web pages, the configuration required for the session is usually that the user's characteristic information is stored in the session, and the entire session always exists; the session mechanism makes the web system It can be as convenient as the CS application client, and the Session saved on the server also guarantees its security. [0003] The access method is usually a file, and the default is also a file. When the user initially enters the web system, the user may be required to verify the account information to log in immediately. The web service will write the session to the file after the request is completed according to whether the session is enabled, and the file will be...

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): G06F16/16G06F16/17G06F16/18G06F7/58
CPCG06F16/162G06F16/1727G06F16/1815G06F7/588Y02D10/00
Inventor 杨恒宣旭迎杨宏兵李洪新张承冰周石开周天睿袁鹏飞文中领周泽湘
Owner 湖南同有飞骥科技有限公司
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