CN101655796A - Extensible help system based on Web and realizing method thereof - Google Patents

Extensible help system based on Web and realizing method thereof Download PDF

Info

Publication number
CN101655796A
CN101655796A CN200910178309A CN200910178309A CN101655796A CN 101655796 A CN101655796 A CN 101655796A CN 200910178309 A CN200910178309 A CN 200910178309A CN 200910178309 A CN200910178309 A CN 200910178309A CN 101655796 A CN101655796 A CN 101655796A
Authority
CN
China
Prior art keywords
help
module
file
folder
pagefile
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
Application number
CN200910178309A
Other languages
Chinese (zh)
Inventor
韩静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200910178309A priority Critical patent/CN101655796A/en
Publication of CN101655796A publication Critical patent/CN101655796A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/453Help systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an extensible help system based on a Web and a realizing method thereof. The system comprises a help file system which comprises a plurality of module folders and a help analysis module, wherein each module folder is used for storing help contents which adopt an extensible markup language and are compiled according to a Web application system; the help analysis module is used for receiving a help request from a Web browser, analyzing a plurality of module folders to dynamically generate help results according to the help request and returning the help results to the Webbrowser. Through the invention, the help system has favorable expansibility.

Description

Expandable help system and its implementation based on Web
Technical field
The present invention relates to communication field, relate in particular to a kind of expandable help system and its implementation based on Web.
Background technology
At present, application based on Web (webpage) mainly is towards internet, applications, the realization of its help system is to utilize the website programming language relevant with the Web application and development to carry out mostly, because its user level is single relatively, and its extendability of consideration that the realization of help system is not too much.
Along with the development of computer networking technology and developing rapidly of internationalization process, a kind of and operating system platform has nothing to do, supports, and Web application multilingual, system function moduleization has occurred.The help system of using at this Web must take into full account its good extendability to realize and the combining closely of Web application system, and therefore, requires this help system to have good extendability, mainly shows:
One, modularization.Help system is carried out Module Division according to systemic-function, can increase or delete help module as required, to the not influence of other modules.
Two, support is multilingual.According to the environment of Web Application Server, help system shows the help information of corresponding language environment.
Three, irrelevant with operating system platform.Help system can be in different operating system platform deploy.
But the problem at need have good extendability based on the application help system of Web does not propose effective solution as yet in the prior art.
Summary of the invention
Consider the not good problem of extendability of application help system of the prior art and make the present invention, for this reason, fundamental purpose of the present invention is to provide a kind of expandable help system and its implementation based on Web, to solve the aforementioned problems in the prior.
According to an aspect of the present invention, provide a kind of expandable help system based on Web.
System according to the present invention comprises: the help file system, comprise a plurality of module file folders, and each module file folder is used to store the help content that adopts extend markup language and write according to the Web application system; Help parsing module, be used to receive help request, help a plurality of module file folders of request analysis dynamically to generate according to this and help the result, and return this help result to Web browser from Web browser.
Preferably, the module file folder further comprises: configuration folder and help pagefile folder, wherein, configuration folder, it comprises block configuration file and internationalized resources configuration file, and the block configuration file adopts extend markup language to write, be used for the attribute information of difference definition module node and the attribute information of function items node, generate the module node and the function items node of the directory tree that helps framed structure according to the parsing that helps parsing module respectively; The internationalized resources configuration file is used for the attribute information of the function items page under the definition module, generates the module nodename of the directory tree that helps framed structure according to the parsing that helps parsing module; The help pagefile presss from both sides, and comprises the help pagefile of a plurality of language environments, helps pagefile to be used for generating the content of pages viewing area that helps framed structure according to the parsing that helps parsing module.
Preferably, attribute information comprise following one of at least: identification number, title, module sequence number, page path, module title.
Preferably, the help file system further comprises: the style sheet file, comprise the style sheet file of a plurality of language environments, and the style sheet file is used to define the outward appearance display mode of pagefile.
Preferably, help parsing module further to comprise: receiver module is used to receive the help request from Web browser; Parsing module, a plurality of module file folders of help request analysis that are used for receiving according to receiver module dynamically also generate and help the result; Sending module is used for returning the help result to Web browser.
According to another invention of the present invention, also provide a kind of implementation method of the expandable help system based on Web.
Implementation method according to the present invention comprises: adopt extend markup language and write help content according to the Web application system, help content is stored to a plurality of module file folders respectively; Reception helps a plurality of module file folders of request analysis dynamically to generate according to this and helps the result, and return this help result to Web browser from the help request of Web browser.
Preferably, the module file folder further comprises: configuration folder and help pagefile folder, configuration folder comprises block configuration file and internationalized resources configuration file.
Preferably, help the result further to comprise according to helping a plurality of module file folders of request analysis dynamically to generate: the block configuration file adopts extend markup language to write, the attribute information of difference definition module node and the attribute information of function items node are according to helping request analysis to generate the module node and the function items node of the directory tree that helps framed structure respectively; The attribute information of the function items page under the internationalized resources configuration file definition module is according to helping request analysis to generate the module nodename of the directory tree that helps framed structure; Help the pagefile folder to comprise the help pagefile of a plurality of language environments, generate the content of pages viewing area that helps framed structure according to the help request analysis.
Preferably, attribute information comprise following one of at least: identification number, title, module sequence number, page path, module title.
Preferably, the help file system further comprises: the style sheet file, it comprises the style sheet file of a plurality of language environments, the outward appearance display mode of style sheet document definition pagefile.
According to technique scheme of the present invention, write help content by adopting the extend markup language technology, and according to helping the request analysis help content result that gets help, help system has extendability more flexibly according to an embodiment of the invention, and has multifrequency natures such as support moduleization, multilingual, spanning operation system platform.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the block diagram based on the expandable help system of Web according to the embodiment of the invention;
Fig. 2 is the synoptic diagram based on the applied environment of the expandable help system of Web according to the embodiment of the invention;
Fig. 3 is the structural representation according to the module file folder of the embodiment of the invention;
Fig. 4 is the synoptic diagram based on the resolving of the expandable help system of Web according to the embodiment of the invention;
Fig. 5 is the process flow diagram based on the implementation method of the expandable help system of Web according to the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer,, the present invention is described in further detail below in conjunction with drawings and the specific embodiments.
According to embodiments of the invention, a kind of expandable help system based on Web has been proposed.
Fig. 1 is the block diagram based on the expandable help system of Web according to the embodiment of the invention, and as shown in Figure 1, this system comprises help file system 10 and help parsing module 20, wherein:
Help file system 10 comprises a plurality of module file folders, and each module file folder is used for the help content that storage is adopted extend markup language (eXtensible Markup Language is called for short XML) and write according to the Web application system; The module file folder is organized according to the application system functional module, can increase arbitrarily or the deletion help module according to the expansion or the minimizing of systemic-function, realizes the flexible expansion of help system.
Help parsing module 20, be connected, be used to receive help request, help a plurality of module file folders of request analysis dynamically to generate according to this and help the result, and return this help result to Web browser from Web browser with help file system 10.
Fig. 2 is the synoptic diagram based on the applied environment of the expandable help system of Web according to the embodiment of the invention, as shown in Figure 2, expandable help system according to the embodiment of the invention is arranged at Web application service end, expandable help system and operating system platform are irrelevant, can be arranged at arbitrarily on the operating system platform, also can be arranged on the operating system platform of any language environment.Only need the Web browser of standard in client, just can the access services end and browse help system.
Fig. 3 is the structural representation according to the module file folder of the embodiment of the invention.Help file system 10 can comprise a plurality of module file folders, and Fig. 3 shows the structural representation of a module file folder, and as shown in Figure 3, each module file folder comprises: configuration folder 110 and help pagefile folder 120.
Wherein, configuration folder 110 undertissue's storage module configuration file 112 and internationalized resources configuration folders 114, block configuration file 112 XML language compilation.
Help pagefile to press from both sides 120 undertissues and deposit the help pagefile different language environment under, as shown in Figure 3, comprise that Chinese helps pagefile 122 and English help pagefile 124, can also comprise other voice environments certainly, do not give unnecessary details herein.
The module file folder can also comprise: style sheet file 130, the style sheet file at the different language environment is deposited by style sheet file 130 undertissues, realizes separating of help content and outward appearance display mode.
Fig. 4 is the synoptic diagram based on the resolving of the expandable help system of Web according to the embodiment of the invention, as shown in Figure 4, block configuration file 112 at the help module element definition five attributes such as identification number 401, title 402, module sequence number 403, page path 404, module title 405, the final corresponding module node that helps directory tree 411 in the framed structure 410 that generates.Wherein, mainly being defined as follows of each attribute:
Identification number 401: the unique identification of help module in whole help file system.
Title 402: the key word of help module, help parsing module 20 according to this key word, the corresponding parameter value of this key word obtains being presented at the nodename on the directory tree 411 in the retrieval internationalized resources configuration file.
Module sequence number 403: the sequence number of help module, the order that its sign helps each module to show on directory tree 411.For example, to be 1 module be in before the module sequence number is 2 module in the DISPLAY ORDER on the directory tree 411 the module sequence number.
Page path 404: the relative path that helps the page.This property value is corresponding to the master index file that helps under the pagefile folder 205.
Module title 405: the title of help module.
Block configuration file 112 at the function items page centralized definition under the module four attributes such as identification number 406, title 407, page path 408, module title 405, the final corresponding function items node that helps directory tree 411 in the framed structure 410 that generates.Wherein, mainly being defined as follows of each attribute:
Identification number 406: the unique identification of help function item in whole help file system.
Title 407: the key word of help function item, help parsing module 103 according to this key word, the corresponding parameter value of this key word obtains being presented at the nodename on the directory tree 411 in the retrieval internationalized resources configuration file.
Page path 408: the relative path that helps the page.This property value is corresponding to helping the function items under the pagefile folder 205 to help pagefile.
Module title 405: the help module title at this function items place.The module title property value of the function items page elements under the same module is all identical, and is consistent with the module title property value of block elements.
Nested function items element definition in block configuration file 112 can be implemented in and generates various level function items or subfunction item node on the directory tree 411.Attribute at function items page elements definition under help module element and the module in the block configuration file 112 can also increase as required flexibly.
In the internationalized resources configuration folder 114 organize the internationalized resources configuration file under the different language environment, when generating the directory tree 411 that helps in the framed structure 410 according to block configuration file 112, with reference to the corresponding internationalized resources configuration file of current server language environment in about module title 402 and function items title 407 corresponding parameter values, dynamically generate module nodename and function items nodename on the directory tree 411.
By the internationalized resources configuration file under each modules configured file 112 and the internationalized resources configuration folder 114, help parsing module 20 to gather the configuration information of each help module and help function item, and be created in directory tree 411 zones, and concrete help page info is loaded in content of pages viewing area 412 with the form of navigation tree.Select certain module node or function items node on the directory tree 411, in content of pages viewing area 412, load the pagefile content of corresponding page path 404 or 408 attributes.
According to embodiments of the invention, also provide a kind of implementation method of the expandable help system based on Web.
Fig. 5 is the process flow diagram based on the implementation method of the expandable help system of Web according to the embodiment of the invention, and as shown in Figure 5, this method comprises:
S502 adopts extend markup language and writes help content according to the Web application system, and help content is stored to a plurality of module file folders respectively;
S504 receives the help request from Web browser, helps a plurality of module file folders of request analysis dynamically to generate according to this and helps the result, and return this help result to Web browser.
Above-mentioned module file folder further comprises: configuration folder and help pagefile folder, configuration folder comprises block configuration file and internationalized resources configuration file.
Preferably, help the result further to comprise according to helping a plurality of module file folders of request analysis dynamically to generate: the block configuration file adopts extend markup language to write, the attribute information of difference definition module node and the attribute information of function items node are according to helping request analysis to generate the module node and the function items node of the directory tree that helps framed structure respectively; The attribute information of the function items page under the internationalized resources configuration file definition module is according to helping request analysis to generate the module nodename of the directory tree that helps framed structure; Help the pagefile folder to comprise the help pagefile of a plurality of language environments, generate the content of pages viewing area that helps framed structure according to the help request analysis.Wherein, attribute information comprise following one of at least: identification number, title, module sequence number, page path, module title.
And the help file system further comprises: the style sheet file, it comprises the style sheet file of a plurality of language environments, the outward appearance display mode of style sheet document definition pagefile.
Particularly, the implementation method based on the expandable help system of Web according to the embodiment of the invention can may further comprise the steps:
Step 1, the user visits Web application service end in Web browser, select to visit the menu or the button of help, sends the request that helps.
Step 2 helps parsing module to receive this request, judges the language environment of Web application service end, helps to resolve.
Step 3, help parsing module that the help file system is resolved, travel through each help module file, according to the internationalized resources file of block configuration file under each help module file and corresponding language environment, gather and dynamically generate the help system directory tree, analysis result gets help.
Step 4 helps parsing module to the Web browser return results, and in help system directory tree zone, the loaded and displayed directory tree in the content of pages viewing area, loads the help system content of pages.
To sum up, the technique scheme according to the present invention, write help content by adopting the XML technology, and according to helping the request analysis help content result that gets help, have extendability more flexibly according to embodiments of the invention, have multifrequency natures such as support moduleization, multilingual, spanning operation system platform.
The above is embodiments of the invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.

Claims (10)

1, a kind of expandable help system based on Web is characterized in that, comprising:
The help file system comprises a plurality of module file folders, and each described module file folder is used to store the help content that adopts extend markup language and write according to the Web application system;
Help parsing module, be used to receive help request, help the described a plurality of module file folders of request analysis dynamically to generate according to this and help the result, and return this help result to described Web browser from Web browser.
2, the system as claimed in claim 1 is characterized in that, described module file folder further comprises: configuration folder and help pagefile folder, wherein,
Described configuration folder, it comprises block configuration file and internationalized resources configuration file,
Described block configuration file, adopt extend markup language to write, be used for the attribute information of difference definition module node and the attribute information of function items node, generate the module node and the function items node of the directory tree that helps framed structure according to the parsing of described help parsing module respectively;
Described internationalized resources configuration file is used for the attribute information of the function items page under the definition module, generates the module nodename of the directory tree of described help framed structure according to the parsing of described help parsing module;
Described help pagefile presss from both sides, and comprises the help pagefile of a plurality of language environments, and described help pagefile is used for generating according to the parsing of described help parsing module the content of pages viewing area of described help framed structure.
3, system as claimed in claim 2 is characterized in that, described attribute information comprise following one of at least: identification number, title, module sequence number, page path, module title.
4, system as claimed in claim 2 is characterized in that, described help file system further comprises:
The style sheet file comprises the style sheet file of a plurality of language environments, and described style sheet file is used to define the outward appearance display mode of pagefile.
5, the system as claimed in claim 1 is characterized in that, described help parsing module further comprises:
Receiver module is used to receive the help request from Web browser;
Parsing module, the described a plurality of module file folders of help request analysis that are used for receiving according to described receiver module dynamically also generate and help the result;
Sending module is used for returning described help result to described Web browser.
6, a kind of implementation method of the expandable help system based on Web is characterized in that, comprising:
Adopt extend markup language and write help content, described help content is stored to a plurality of module file folders respectively according to the Web application system;
Reception helps the described a plurality of module file folders of request analysis dynamically to generate according to this and helps the result, and return this help result to described Web browser from the help request of Web browser.
7, implementation method as claimed in claim 6 is characterized in that, described module file folder further comprises: configuration folder and help pagefile folder, described configuration folder comprises block configuration file and internationalized resources configuration file.
8, implementation method as claimed in claim 7 is characterized in that, dynamically generates according to the described a plurality of module file folders of described help request analysis to help the result further to comprise:
Described block configuration file adopts extend markup language to write, distinguish the attribute information of definition module node and the attribute information of function items node, generate the module node and the function items node of the directory tree that helps framed structure according to described help request analysis respectively;
The attribute information of the function items page under the described internationalized resources configuration file definition module generates the module nodename of the directory tree of described help framed structure according to described help request analysis;
Help pagefile to press from both sides the help pagefile that comprises a plurality of language environments, generate the content of pages viewing area of described help framed structure according to described help request analysis.
9, implementation method as claimed in claim 8 is characterized in that, described attribute information comprise following one of at least: identification number, title, module sequence number, page path, module title.
10, implementation method as claimed in claim 8 is characterized in that, described help file system further comprises:
The style sheet file, it comprises the style sheet file of a plurality of language environments, the outward appearance display mode of described style sheet document definition pagefile.
CN200910178309A 2009-09-22 2009-09-22 Extensible help system based on Web and realizing method thereof Pending CN101655796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910178309A CN101655796A (en) 2009-09-22 2009-09-22 Extensible help system based on Web and realizing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910178309A CN101655796A (en) 2009-09-22 2009-09-22 Extensible help system based on Web and realizing method thereof

Publications (1)

Publication Number Publication Date
CN101655796A true CN101655796A (en) 2010-02-24

Family

ID=41710092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910178309A Pending CN101655796A (en) 2009-09-22 2009-09-22 Extensible help system based on Web and realizing method thereof

Country Status (1)

Country Link
CN (1) CN101655796A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887364A (en) * 2010-04-28 2010-11-17 北京星网锐捷网络技术有限公司 Method and device for generating help file
CN102937898A (en) * 2012-11-29 2013-02-20 广东全通教育股份有限公司 Xml (Extensive Makeup Language) technique-based web application dynamic assisting method and system
CN108021423A (en) * 2017-12-15 2018-05-11 语联网(武汉)信息技术有限公司 A kind of Multilingual website generating method, system and computer-readable recording medium
CN109992330A (en) * 2017-12-28 2019-07-09 北京京东尚科信息技术有限公司 The method and apparatus for realizing the localization of modularization engineering
CN111459365A (en) * 2020-04-03 2020-07-28 南方电网科学研究院有限责任公司 Method for managing user-defined consultation help application
CN113361286A (en) * 2020-03-06 2021-09-07 北京沃东天骏信息技术有限公司 Information prompting method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887364A (en) * 2010-04-28 2010-11-17 北京星网锐捷网络技术有限公司 Method and device for generating help file
CN101887364B (en) * 2010-04-28 2013-06-19 北京星网锐捷网络技术有限公司 Method and device for generating help file
CN102937898A (en) * 2012-11-29 2013-02-20 广东全通教育股份有限公司 Xml (Extensive Makeup Language) technique-based web application dynamic assisting method and system
CN108021423A (en) * 2017-12-15 2018-05-11 语联网(武汉)信息技术有限公司 A kind of Multilingual website generating method, system and computer-readable recording medium
CN108021423B (en) * 2017-12-15 2021-05-04 语联网(武汉)信息技术有限公司 Multilingual website generation method and system and computer readable storage medium
CN109992330A (en) * 2017-12-28 2019-07-09 北京京东尚科信息技术有限公司 The method and apparatus for realizing the localization of modularization engineering
CN113361286A (en) * 2020-03-06 2021-09-07 北京沃东天骏信息技术有限公司 Information prompting method and device
CN111459365A (en) * 2020-04-03 2020-07-28 南方电网科学研究院有限责任公司 Method for managing user-defined consultation help application
CN111459365B (en) * 2020-04-03 2021-06-25 南方电网科学研究院有限责任公司 Method for managing user-defined consultation help application

Similar Documents

Publication Publication Date Title
US20080141136A1 (en) Clipping Synchronization and Sharing
CN101771701B (en) Web service client automation generation method and device
US20060031377A1 (en) Method and apparatus for enabling associated portlets of a web portlet to collaborate for synchronized content display
WO2004031987A2 (en) Method and apparatus for managing a collection of portlets in a portal server
WO2004031882A2 (en) Method and apparatus for relaying session information from a portal server
CN102521230A (en) Result types for conditional data display
WO2004031986A1 (en) Method and apparatus for using business rules or user roles for selecting portlets in a web portal
CN101655796A (en) Extensible help system based on Web and realizing method thereof
US10120886B2 (en) Database integration of originally decoupled components
CN102999578B (en) Page elements treatment process and device
JP2005284334A (en) Web page update notification method and apparatus
CN104426925A (en) Webpage resource obtaining method and apparatus
CN101727490A (en) Method for realizing page insertion in WEB application and WEB server
CN102065114A (en) Method and device for mobile terminal to access webpage
CN105528452A (en) Method and system for loading page data
CN101355565A (en) Method and server for providing page service for various browsers
US20130185322A1 (en) Systems and methods for providing an electronic contact card
US20130091416A1 (en) Method for establishing a relationship between semantic data and the running of a widget
CN103023972B (en) A kind of method and apparatus that file is managed
CN1960371B (en) Method and system for accessing file of Web application program
US7765188B2 (en) Taxonomy editor
CN102999591A (en) File management method and device
CN106126595A (en) A kind of document down loading method and device
CN113535160B (en) Method, device, system, electronic device and storage medium for multiplexing application modules
JP2003223390A (en) Data extraction/structure conversion processing program, its recording medium, contents generation processing program, its recording medium, and contents reconstruction processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100224