CN108345614A - A kind of device based on memory storage and display webpage - Google Patents
A kind of device based on memory storage and display webpage Download PDFInfo
- Publication number
- CN108345614A CN108345614A CN201710058046.2A CN201710058046A CN108345614A CN 108345614 A CN108345614 A CN 108345614A CN 201710058046 A CN201710058046 A CN 201710058046A CN 108345614 A CN108345614 A CN 108345614A
- Authority
- CN
- China
- Prior art keywords
- webpage
- source code
- memory storage
- reading
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/986—Document structures and storage, e.g. HTML extensions
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of based on memory storage and shows the device of webpage, is made of webpage source code generating means, webpage writing station, memory storage device, webpage reading device and Web page display apparatus;Webpage source code generating means are used to provide the source of webpage source code, can be a web page files on hard disk, or by the webpage of program dynamic generation, this device can generate the webpage of a html format;Webpage writing station is responsible for source code that above-mentioned webpage source code generating means are generated and corresponding unique mark memory being written together;Memory storage device is for storing the data structure that webpage writing station is written;Webpage reading device is responsible for reading webpage source code from memory, and when reading is read out according to unique mark, the correctness of the webpage source code ensured;Web page display apparatus is responsible for the webpage source code that will be obtained and is sent to browser by http protocol, shows client, can greatly improve read-write efficiency, can high performance completion read-write.
Description
Technical field
The present invention relates to WEB formula software technology fields, specially a kind of device based on memory storage and display webpage.
Background technology
Based on hard-disc storage, the webpage mode of reading, effect defect:In web site system under high concurrent, it is based on
The web displaying of hard-disc storage is slow.Relative to memory, web page files reading performance based on the hard disk is low, especially in high concurrent
Under there is disk read-write to have performance bottleneck.
Invention content
In view of the above problems, the present invention provides a kind of device based on memory storage and display webpage, by by webpage
Source code generates in memory, can greatly improve read-write efficiency, though under high concurrent, still can high performance completions read and write, from
And realize the web site system of quick response, it can effectively solve the problems in background technology.
To achieve the above object, the present invention provides the following technical solutions:A kind of dress based on memory storage and display webpage
It sets, by webpage source code generating means, webpage writing station, memory storage device, webpage reading device and Web page display apparatus group
At;
The webpage source code generating means are used to provide the source of webpage source code, can be a web page files on hard disk, or
By the webpage of program dynamic generation, this device can generate the webpage of a html format;
The webpage writing station is responsible for the source code for being generated above-mentioned webpage source code generating means and corresponding unique mark
Memory is written together;
The memory storage device is for storing the data structure that webpage writing station is written, referred to as page object, uniquely
Mark and page source code correspond, and unique mark can be the path of a standard, can also be a unique number or
Word string;
The webpage reading device is responsible for reading webpage source code from memory, and when reading is read out according to unique mark, protects
Demonstrate,prove the correctness of obtained webpage source code;
The Web page display apparatus is responsible for the webpage source code that will be obtained and is sent to browser by http protocol, shows client.
As a kind of preferred scheme of the present invention, the webpage writing station and webpage reading device use java.
Compared with prior art, the beneficial effects of the invention are as follows:The present invention is based on efficient memories to read technology, so
When user accesses some websites path, webpage source code quickly can be read out from memory according to the path of request and returned to
Browser realizes the quick response displaying of webpage, by generating in memory webpage source code, can greatly improve read-write effect
Rate, though under high concurrent, still can high performance completion read-write, to realize the web site system of quick response.
Description of the drawings
Fig. 1 is schematic structural view of the invention.
Fig. 2 is that memory of the present invention reads principle schematic diagram.
Fig. 3 is memory storage device structural schematic diagram of the present invention.
Fig. 4 is flow chart of the present invention.
Fig. 5 is the flow diagram of the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It please refers to Fig.1 to Fig.4, the present invention provides a kind of technical solution:A kind of dress based on memory storage and display webpage
It sets, by webpage source code generating means, webpage writing station, memory storage device, webpage reading device and Web page display apparatus group
At;
The webpage source code generating means are used to provide the source of webpage source code, can be a web page files on hard disk, or
By the webpage of program dynamic generation, this device can generate the webpage of a html format;
The webpage writing station is responsible for the source code for being generated above-mentioned webpage source code generating means and corresponding unique mark
Memory is written in knowledge together;
The memory storage device is for storing the data structure that webpage writing station is written, referred to as page object, uniquely
Mark and page source code correspond, and unique mark can be the path of a standard, can also be a unique number or
Word string;
The webpage reading device is responsible for reading webpage source code from memory, and when reading is read out according to unique mark, protects
Demonstrate,prove the correctness of obtained webpage source code;
The Web page display apparatus is responsible for the webpage source code that will be obtained and is sent to browser by http protocol, shows client.
Its detailed process is as shown in figure 4, the S101 pages generate, the write-in of the S102 pages, the S103 pages are read, the S104 pages are shown
Show.
Embodiment:
Each device setting of the present embodiment is as follows:
1.Redis is as memory storage device;
2. realizing webpage write-in and reading device with java;
Referring to Figure 5, it is realized auto-building html files by freemark template engines, webpage write-in dress is realized by java language
The interaction that can be write with Redis memory storage devices is set, therefore Redis is written into the webpage source code of generation;When user asks
When asking some path, this path can be transmitted to java webpage reading devices, reading of this device based on Java and Redis by servlet
It takes interaction to obtain webpage source code and return to servlet, browser is shown to by servlet.
By above-described embodiment, the scheme for based on memory storage webpage source code, efficiently showing webpage is realized.
The present invention is based on efficient memories to read technology, so when user accesses some websites path, it can be according to asking
The path asked quickly reads out webpage source code from memory and returns to browser, realizes the quick response displaying of webpage,
By the way that webpage source code generation in memory, can be greatly improved read-write efficiency, even if under high concurrent, it still can be with high performance complete
At read-write, to realize the web site system of quick response.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention made by within refreshing and principle.
Claims (2)
1. a kind of device based on memory storage and display webpage, which is characterized in that be written by webpage source code generating means, webpage
Device, memory storage device, webpage reading device and Web page display apparatus composition;
The webpage source code generating means are used to provide the source of webpage source code, can be a web page files on hard disk, or
By the webpage of program dynamic generation, this device can generate the webpage of a html format;
The webpage writing station is responsible for the source code for being generated above-mentioned webpage source code generating means and corresponding unique mark
Memory is written in knowledge together;
The memory storage device is for storing the data structure that webpage writing station is written, referred to as page object, uniquely
Mark and page source code correspond, and unique mark can be the path of a standard, can also be a unique number or
Word string;
The webpage reading device is responsible for reading webpage source code from memory, and when reading is read out according to unique mark, protects
Demonstrate,prove the correctness of obtained webpage source code;
The Web page display apparatus is responsible for the webpage source code that will be obtained and is sent to browser by http protocol, shows client.
2. a kind of device based on memory storage and display webpage according to claim 1, which is characterized in that the webpage
Writing station and webpage reading device use java.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710058046.2A CN108345614A (en) | 2017-01-23 | 2017-01-23 | A kind of device based on memory storage and display webpage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710058046.2A CN108345614A (en) | 2017-01-23 | 2017-01-23 | A kind of device based on memory storage and display webpage |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108345614A true CN108345614A (en) | 2018-07-31 |
Family
ID=62962765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710058046.2A Pending CN108345614A (en) | 2017-01-23 | 2017-01-23 | A kind of device based on memory storage and display webpage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108345614A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101154230A (en) * | 2006-09-30 | 2008-04-02 | 中兴通讯股份有限公司 | Responding method for large data volume specified searching web pages |
CN102479250A (en) * | 2010-11-26 | 2012-05-30 | 中国科学院声学研究所 | Disk caching method for embedded browser |
CN103838771A (en) * | 2012-11-26 | 2014-06-04 | 腾讯科技(深圳)有限公司 | Browser page data processing method and device and browser |
US20140222947A1 (en) * | 2011-09-07 | 2014-08-07 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for browsings webpages, and storage medium |
CN104021203A (en) * | 2014-06-17 | 2014-09-03 | 贝壳网际(北京)安全技术有限公司 | Method and device used for having access to webpage |
CN106095698A (en) * | 2016-06-03 | 2016-11-09 | 合网络技术(北京)有限公司 | OO caching write, read method and device |
-
2017
- 2017-01-23 CN CN201710058046.2A patent/CN108345614A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101154230A (en) * | 2006-09-30 | 2008-04-02 | 中兴通讯股份有限公司 | Responding method for large data volume specified searching web pages |
CN102479250A (en) * | 2010-11-26 | 2012-05-30 | 中国科学院声学研究所 | Disk caching method for embedded browser |
US20140222947A1 (en) * | 2011-09-07 | 2014-08-07 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for browsings webpages, and storage medium |
CN103838771A (en) * | 2012-11-26 | 2014-06-04 | 腾讯科技(深圳)有限公司 | Browser page data processing method and device and browser |
CN104021203A (en) * | 2014-06-17 | 2014-09-03 | 贝壳网际(北京)安全技术有限公司 | Method and device used for having access to webpage |
CN106095698A (en) * | 2016-06-03 | 2016-11-09 | 合网络技术(北京)有限公司 | OO caching write, read method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109388766B (en) | Page loading method and device | |
TWI671642B (en) | Method for sharing data across applications and web browser | |
KR102321793B1 (en) | Semiconductor memory device managing flexsible refresh skip area | |
CN103488732A (en) | Generation method and device of static pages | |
US20130061124A1 (en) | Managing forms in electronic documents | |
CN105045775A (en) | Method and apparatus for generating Excel document in designated format | |
CN105657574A (en) | Video file making method and device | |
KR101453707B1 (en) | Memory device on the fly crc mode | |
CN112199040B (en) | Storage access method and intelligent processing device | |
CN102622348B (en) | Method and device enabling plurality of windows to perform analytical display on network page simultaneously | |
CN103377039B (en) | A kind of web game exploitation, analytic method, a kind of editing machine and resolver | |
CN103279457B (en) | A kind of method and device generating chart based on Excel | |
CN104346407B (en) | Form and the method and its device of XML file data interaction in data reporting system | |
CN112967666B (en) | LED display screen control device and control method capable of realizing random pixel arrangement | |
Zheng et al. | Design and implementation of teaching system for mobile cross-platform | |
CN105989126B (en) | A kind of Webpage display process and device | |
CN103034496B (en) | Based on the Locally-static portal generation method of template | |
CN104052824A (en) | Distributed cache method and system | |
CN108170376B (en) | Method and system for reading and writing memory card | |
EP2660820A1 (en) | Ddr controller, and method and chip for implementing same | |
CN108345614A (en) | A kind of device based on memory storage and display webpage | |
CN101615194B (en) | Method and system for generating dynamic web pages | |
CN102915345B (en) | The display methods of the page and device | |
CN108959105A (en) | A kind of method and device for realizing address of cache | |
CN105264500B (en) | A kind of data transmission method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180731 |
|
WD01 | Invention patent application deemed withdrawn after publication |