CN1835499A - Realizing method of page access - Google Patents
Realizing method of page access Download PDFInfo
- Publication number
- CN1835499A CN1835499A CN 200510055232 CN200510055232A CN1835499A CN 1835499 A CN1835499 A CN 1835499A CN 200510055232 CN200510055232 CN 200510055232 CN 200510055232 A CN200510055232 A CN 200510055232A CN 1835499 A CN1835499 A CN 1835499A
- Authority
- CN
- China
- Prior art keywords
- file
- file destination
- content
- pagefile
- page
- 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.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention for use in solving the problem of the high management cost and the disunity of page version existed in implementing web service by the communication device and comprises: multi page files are combined into an object file saved in the serving side; while receiving a request for accessing to the page file from the client side, the serving side searches the appointed page content from the object file, and writes the page content into the protocol message and sends it to the client side; if any page file in the object file is renewed, the entire object file will be released.
Description
Technical field
The present invention relates to computing network and communication network technology, relate in particular to the implementation method of page access.
Background technology
It is different that the Web server of telecommunication apparatus and general purpose I nternet server are compared the very big difference person of being to use, and the Web service of telecommunication apparatus provides to equipment management personnel and uses, and administrative staff can be by web administration and monitor communication equipment.Because the content (being the page) of telecommunication apparatus management will be strictly controlled, and each renewal of the page is equivalent to the once upgrading of webmaster, therefore also want controlled issue.
In general Web server, the page of service end storage is to preserve in the mode of a plurality of page elements, as html pagefile, the file of forms such as image, sound.The Web service of existing telecommunication apparatus also also embeds a plurality of pages in this manner in telecommunication apparatus.Owing to all need during each upgrading the pagefile of having revised is carried out the version issue, so just need a plurality of controlled pagefiles of application, not only will bring suitable trouble and increase management cost, but also may cause a pagefile in the equipment that a plurality of versions are arranged to the version issue.
Summary of the invention
The invention provides a kind of implementation method of page access, have the management cost height and may cause the skimble-scamble problem of pagefile version when in telecommunication apparatus, realizing Web service to solve.
A kind of implementation method of page access comprises the steps:
A, a plurality of pagefiles are merged into a file destination are kept at service end;
B, described service end search the content of pages of appointment from described file destination when receiving client to the access request of the page, this content of pages is write protocol massages and sends to client; And, when any one the pagefile content in described file destination is updated, issue whole file destination.
Steps A comprises the steps:
A1, scanning need all pagefiles of merging, and write down the fileinfo of each pagefile;
A2, the content of each pagefile is write described file destination, and in this file destination, generate the index information of each pagefile content and at the stem spanned file header of file destination according to described fileinfo;
A3, preserve this file destination in service end.
The content of pages of searching appointment among the step B from file destination comprises the steps:
B1, service end obtain the filename of pagefile from access request;
B2, according to described filename from file index information acquisition this document pointer offset position;
B3, the content that obtains described file according to the original position and the side-play amount of file content.
Before preserving file destination, adopt compression algorithm that it is compressed processing earlier, and when file destination is read in internal memory, carry out decompression.
The present invention is merged into a file with a plurality of pagefiles and is kept at service end, realizes that for needs the equipment of web webmaster only need provide a file to get final product when the issue pagefile.Therefore, adopt the present invention the number of objects of Version Control can be reduced to one, not only can reduce management cost, also can avoid occurring the skimble-scamble situation of pagefile version.
Description of drawings
Fig. 1 is a networking schematic diagram of realizing Web service in telecommunication apparatus;
The schematic diagram that Fig. 2 merges for file among the present invention;
Fig. 3 is a flow chart of the present invention.
Embodiment
Mainly the present invention will be described with the Web webmaster in telecommunication apparatus for present embodiment.
Consult shown in Figure 1ly, pagefile is kept on the network element device as service end, and client as administration interface, and is connected to network element device by IP network with browser.
All need during for fear of each network management upgrading separately the page of revising all to be carried out the version issue, the present invention is merged into a plurality of pages in the file destination and is kept in the network element device, when client was passed through the browse request accession page, network element device write protocol massages and sends to client at the content of pages of searching appointment from described file destination.
When having revised any one page in the network element device, all need unified this file destination of issue, make all pagefiles of network element device have only unique version number.
File destination after the merging also comprises file header, file index information and file name information except the content that comprises each pagefile.The file header content generates (can adopt the method for spanned file head in the prior art to realize) by predetermined algorithm according to the agreement of equipment, and the content of file index information comprises:
1, deviation post indicates the side-play amount of the self-defined relatively file header of certain pagefile;
2, the size of the page;
3, the last modification date of file;
4, file access authority.
Page-size, used when to revise date, access rights all be page properties at last for WEB server access response HTTP(Hypertext Transport Protocol).User's certain file by web browser access server for example, the WEB server obtain will generate http protocol after this request, inside this protocol package, just must comprise these information.
File name information is then enumerated the title of the pagefile of all merging.
Consult shown in Figure 2ly, two subdirectory images and html are arranged under root root, file a.gif, b.jpg and a.html, b.asp are arranged respectively under two subdirectories, the process of merge file is as follows:
All pagefiles under step 1, scanning root and the subdirectory.At this example two subdirectory: images and html are arranged.
The fileinfo of each pagefile that step 2, writing scan are arrived.
The fileinfo content comprises: the last modification date of file path name, filename, file size, file and the access rights of file.
For the file destination page.web after the merging is reduced, in merging process with character unnecessary in each pagefile, for example space, comment statement etc. are deleted (because these contents can not show client), thereby the file destination page.web size after merging is accumulated in littler together than a plurality of pagefiles.
Consider that flash memory in network element device (flash) space is relatively valuable, before preserving file destination page.web, adopt compression algorithm that it is compressed processing, and when device start again decompress(ion) read in the internal memory.
Consult Fig. 3, whole flow process of the present invention is as follows:
When step 4, network element device received the request of certain page of client-access, the WEB server in the network element device obtained file content according to document misregistration.
When being the b.jpg file, the web server obtains the filename of pagefile earlier such as certain page of visit, then according to filename from file index information acquisition this document pointer offset position, can obtain the content of this document again according to document misregistration.
Though in network element device, a plurality of pagefiles have been merged into a file, the still original single page element of visit concerning the user,
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (6)
1, a kind of implementation method of page access is characterized in that comprising the steps:
A, a plurality of pagefiles are merged into a file destination are kept at service end;
B, described service end search the content of pages of appointment from described file destination when receiving client to the access request of the page, this content of pages is write protocol massages and sends to client; And, when any one the pagefile content in described file destination is updated, issue whole file destination.
2, implementation method as claimed in claim 1 is characterized in that, steps A comprises the steps:
A1, scanning need all pagefiles of merging, and write down the fileinfo of each pagefile;
A2, the content of each pagefile is write described file destination, and in this file destination, generate the index information of each pagefile content and at the stem spanned file header of file destination according to described fileinfo;
A3, preserve this file destination in service end.
3, implementation method as claimed in claim 2 is characterized in that, the content of pages of searching appointment among the step B from file destination comprises the steps:
B1, service end obtain the filename of pagefile from access request;
B2, according to described filename from file index information acquisition this document pointer offset position;
B3, the content that obtains described file according to the original position and the side-play amount of file content.
4, as claim 1,2 or 3 described implementation methods, it is characterized in that, when described service end starts, whole file destination is read in internal memory.
5, implementation method as claimed in claim 4 is characterized in that, adopted compression algorithm that it is compressed processing before preserving file destination earlier, and carry out decompression when file destination is read in internal memory.
6, implementation method as claimed in claim 1 is characterized in that, when the content of each pagefile is write file destination, deletes unnecessary character.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100552328A CN100558102C (en) | 2005-03-16 | 2005-03-16 | A kind of implementation method of page access |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100552328A CN100558102C (en) | 2005-03-16 | 2005-03-16 | A kind of implementation method of page access |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1835499A true CN1835499A (en) | 2006-09-20 |
CN100558102C CN100558102C (en) | 2009-11-04 |
Family
ID=37003102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100552328A Expired - Fee Related CN100558102C (en) | 2005-03-16 | 2005-03-16 | A kind of implementation method of page access |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100558102C (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101287013B (en) * | 2008-05-30 | 2011-03-16 | 杭州华三通信技术有限公司 | Method for updating Webpage and Web proxy device |
CN102737016A (en) * | 2011-03-30 | 2012-10-17 | 中国银联股份有限公司 | A system and a method for generating information files based on parallel processing |
CN103257973A (en) * | 2012-02-20 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Method and system for updating browser cache |
CN103914459A (en) * | 2012-12-31 | 2014-07-09 | 北京中交兴路信息科技有限公司 | Traffic information file compression and decompression method and device |
CN106570134A (en) * | 2016-10-27 | 2017-04-19 | 西安合众思壮导航技术有限公司 | File organization method and apparatus |
-
2005
- 2005-03-16 CN CNB2005100552328A patent/CN100558102C/en not_active Expired - Fee Related
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101287013B (en) * | 2008-05-30 | 2011-03-16 | 杭州华三通信技术有限公司 | Method for updating Webpage and Web proxy device |
CN102737016A (en) * | 2011-03-30 | 2012-10-17 | 中国银联股份有限公司 | A system and a method for generating information files based on parallel processing |
CN102737016B (en) * | 2011-03-30 | 2014-07-16 | 中国银联股份有限公司 | A system and a method for generating information files based on parallel processing |
US9531792B2 (en) | 2011-03-30 | 2016-12-27 | China Unionpay Co., Ltd. | System and method for generating information file based on parallel processing |
CN103257973A (en) * | 2012-02-20 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Method and system for updating browser cache |
CN103914459A (en) * | 2012-12-31 | 2014-07-09 | 北京中交兴路信息科技有限公司 | Traffic information file compression and decompression method and device |
CN106570134A (en) * | 2016-10-27 | 2017-04-19 | 西安合众思壮导航技术有限公司 | File organization method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN100558102C (en) | 2009-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8219562B1 (en) | Efficient storage and retrieval for large number of data objects | |
US7689633B1 (en) | Network file system-based data storage system | |
US8898244B2 (en) | System and method for transporting files between networked or connected systems and devices | |
US6850964B1 (en) | Methods for increasing cache capacity utilizing delta data | |
US20180160193A1 (en) | Byte range caching | |
US6523046B2 (en) | Infrastructure and method for supporting generic multimedia metadata | |
US7269608B2 (en) | Apparatus and methods for caching objects using main memory and persistent memory | |
US8959075B2 (en) | Systems for storing data streams in a distributed environment | |
US8117238B2 (en) | Method of delivering an electronic document to a remote electronic device | |
CN110401724B (en) | File management method, file transfer protocol server and storage medium | |
CN1472665A (en) | Bill processing device, method and program | |
CN101075241A (en) | Method and system for processing buffer | |
US20030067627A1 (en) | Image processing method and its data cache method | |
US9667696B2 (en) | Low latency web-based DICOM viewer system | |
CN1835499A (en) | Realizing method of page access | |
WO2021237467A1 (en) | File uploading method, file downloading method and file management apparatus | |
Povar et al. | Forensic data carving | |
Nath | Energy efficient sensor data logging with amnesic flash storage | |
US7421451B2 (en) | Padding management for content files | |
Richard et al. | In-place file carving | |
CN1790320A (en) | Method for viewing document information on a mobile communication device | |
CA2551132A1 (en) | Reusable compressed objects | |
WO2014068749A1 (en) | Metadata management system, metadata management method, and storage medium | |
US20020087536A1 (en) | Methods for reproducing and recreating original data | |
EP1679585A2 (en) | System and methods for an overlay disk and cache using portable flash memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091104 Termination date: 20160316 |
|
CF01 | Termination of patent right due to non-payment of annual fee |