Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for technical improvement in server side

A server-side technology improvement technology, applied in the direction of program control device, program loading/starting, etc., can solve problems such as occupying system memory, affecting webpage loading speed, affecting system concurrency performance, etc., to avoid memory overflow, improve concurrency performance, The effect of improving efficiency

Active Publication Date: 2018-12-18
厦门见福连锁管理有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. Using SSI technology in tomcat seriously affects the loading speed of web pages
[0007] 2. When using the SSI technology in tomcat, due to the use of SSI instruction processing for the data copied in the response, when there is a large concurrent access, a large amount of copied data will be generated, occupying system memory, and affecting system concurrency performance

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 device for technical improvement in server side
  • Method and device for technical improvement in server side
  • Method and device for technical improvement in server side

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0024] figure 1 It is a schematic diagram of main steps of a method for improving server-side inclusion technology according to an embodiment of the present invention.

[0025] Such as figure 1 As shown, the server end of the present invention includes the method for technical improvement mainly comprising the following steps:

[0026] Step S11: Create a wrapper class 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 device for technological improvement of a server side include, which can save a memory copy operation of response data, so as to improve a webpage loading speed when using an SSI (Server Side Include) technology in tomcat, and avoid a lot of garbage objects generated during large concurrent access from affecting a system performance. The method comprises the following steps of creating a response of a wrapper class to a server and packaging the response, and customizing an output stream implementation class in the wrapper class; writing response data into the output stream implementation class; returning the written response data to a browser, wherein the step of writing the response data into the output stream implementation class further comprises the following steps: in the process of writing the response data into the output stream implementation class, detecting whether the response data include a server side include instruction in a traversing way; if so, then processing the server side include instruction and writing the processed response data into the output stream implementation class; if not, then directly writing the response data into the output stream implementation class.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and a device for improving server-side containment technology. Background technique [0002] When deploying a website in tomcat, there are many scenarios about embedding server-side web pages. In these scenarios, before sending the content to the browser, you can use the "Server Side Include (SSI, Server Side Include)" command to include text, graphics or applications. Program information is included into web pages. [0003] In the tomcat container, there are related technologies related to SSI command processing, which mainly include two implementation methods: one is request filtering based on Filter, and the other is request processing based on servlet. [0004] The implementation principles of these two SSI technologies in tomcat are basically similar: custom encapsulation of the response object, and then add a method to obtain the response data, copy the data in ...

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): G06F9/445
Inventor 曹志飞
Owner 厦门见福连锁管理有限公司