CN105989010A - Web page data generation method, WEBITOX server and Web application system - Google Patents
Web page data generation method, WEBITOX server and Web application system Download PDFInfo
- Publication number
- CN105989010A CN105989010A CN201510042432.3A CN201510042432A CN105989010A CN 105989010 A CN105989010 A CN 105989010A CN 201510042432 A CN201510042432 A CN 201510042432A CN 105989010 A CN105989010 A CN 105989010A
- Authority
- CN
- China
- Prior art keywords
- text
- wml
- client
- data
- web
- 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
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000003044 adaptive effect Effects 0.000 claims description 9
- 238000011084 recovery Methods 0.000 claims description 9
- 230000006870 function Effects 0.000 claims description 8
- 230000008878 coupling Effects 0.000 claims description 6
- 238000010168 coupling process Methods 0.000 claims description 6
- 238000005859 coupling reaction Methods 0.000 claims description 6
- 230000009466 transformation Effects 0.000 claims description 6
- VEMKTZHHVJILDY-UHFFFAOYSA-N resmethrin Chemical compound CC1(C)C(C=C(C)C)C1C(=O)OCC1=COC(CC=2C=CC=CC=2)=C1 VEMKTZHHVJILDY-UHFFFAOYSA-N 0.000 claims description 5
- 230000011218 segmentation Effects 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000000151 deposition Methods 0.000 claims description 3
- 238000010009 beating Methods 0.000 claims 1
- 238000011161 development Methods 0.000 abstract description 4
- 230000009286 beneficial effect Effects 0.000 abstract 1
- 238000004806 packaging method and process Methods 0.000 abstract 1
- 238000007726 management method Methods 0.000 description 22
- 238000002372 labelling Methods 0.000 description 10
- 230000018109 developmental process Effects 0.000 description 4
- 238000012856 packing Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- ODAOZWTYNWZSBY-SPIKMXEPSA-N (z)-but-2-enedioic acid;6-[2-(1h-imidazol-5-yl)ethylamino]-n-[4-(trifluoromethyl)phenyl]heptanamide Chemical compound OC(=O)\C=C/C(O)=O.OC(=O)\C=C/C(O)=O.C=1N=CNC=1CCNC(C)CCCCC(=O)NC1=CC=C(C(F)(F)F)C=C1 ODAOZWTYNWZSBY-SPIKMXEPSA-N 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000013497 data interchange Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000035922 thirst Effects 0.000 description 1
Abstract
The invention discloses a Web page data generation method, a WEBITOX server and a Web application system. The method comprises following steps: using an XML page label and the server to control a label-defined WML text; finding a corresponding WML text according to the access requirement of a client and analyzing the WML text and obtaining data corresponding to the access requirement from a Web server database according to the analyzed WMML text content; converting obtained data into an HTML format; and packaging data in the HTML format to send it to the client and display data in the client. The invention further provides the Web server and the Web application system. The Web page data generation method, the Web server and the Web application system provided by the invention have following beneficial effects: seamless connection between the database and the Web server is achieved; development and management of the application system for the database are simplified such that a company can easily transplant applications to the WEB server; access and release of shared data and exclusive data can be effectively controlled and performance of the system is improved and convenience of data access is enhanced.
Description
Technical field
The present invention relates to networking technology area, particularly relate to a kind of Web page data creation method,
WEBITOX server, Web application system.
Background technology
It is divided into three schools (Java Web .net, PHP) for WEB application exploitation is big.
The exploitation of server application mainly has: Java, PHP .net, sql, has again inside Java:
JSP, Servlet etc., that be worth mentioning or Java three big Open Framework: Struts2,
Spring、Hibernate。
The framework that Web application at present is disposed is basically: WEB server+application server+SQL
Data base management system.
Such framework has resulted in the complexity of structure, configuration debugging difficulty, the disappearing of system resource
Consume huge;Applied software development needs to develop substantial amounts of programming, needs system architecture teacher, senior
Software design teacher, developer, data base framework teacher etc., what this mode existed mainly asks
Topic is, page development is complicated, easily makes mistakes, and requires higher to the technical merit of developer,
The speed of exploitation is the most slow, and maintenance cost is higher, puts into the hugest.
For enterprise, they thirst for their application build being become WEB framework and Mobile solution,
But in the face of high investment, complicated software system can only be hung back.
Summary of the invention
In view of above shortcomings are disposed in current Web application, the present invention provides a kind of Web page
Face data creation method, WEBITOX server, Web application system, it is possible to realize data base with
The seamless link of Web server, simplifies exploitation and the management of database application system so that enterprise
Industry can be transplanted to apply in WEB server simply, can effectively control to share data with only
Enjoy the access of data, release, improve the performance of system and the simplicity of data access.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
A kind of Web page data creation method, described Web page data creation method include as
Lower step:
Use XML page face label and server abstract factory definition WML text;
Find the WML text of correspondence according to client-access request and WML text resolved,
Obtain from Web server data base and access request pair according to the WML content of text parsed
The data answered;
The data of acquisition are converted into html format;
The data that will convert into html format transmit to client and show in client.
According to one aspect of the present invention, the described WML finding correspondence according to client-access request
WML text is also resolved by text, takes from Web further according to the WML content of text parsed
Business device data base obtains and before the data step corresponding with access request performs, performs following steps:
Whether the access request first judging client is WML text access request.
According to one aspect of the present invention, described use XML page face label and server controls mark
Signing justice WML text steps includes: fixed by XML page face label and server abstract factory
Justice WML text, the most self-defined SQL query order in WML text, key application word and
Web page content adaptive display pattern, sets up key application word with SQL query order association even
Connect.
According to one aspect of the present invention, the described WML finding correspondence according to client-access request
WML text is also resolved, according to the WML content of text parsed from Web service by text
Device data base obtains in the data step corresponding with access request and specifically includes following steps:
Find the WML text corresponding to access request, then WML content of text resolved,
SQL query order required for generating further according to the instruction of WML text resolution;
By SQL query command access database access pond, database access pond is connected to required
The data base management system that wants also finds client-access request content.
According to one aspect of the present invention, described the data of acquisition are converted into html format step
Particularly as follows: first the access request Content Transformation obtained in data base is become XML text formatting,
Again the XML content of text corresponding HTML content of use is replaced, generates corresponding HTML
Label.
According to one aspect of the present invention, described in will convert into the data of html format and transmit
To client and at client step display particularly as follows: will convert into the data of html format according to
ICP/IP protocol is packed, and packet segmentation becomes size that channel can transmit and has arranged ground
Location, deliver a packet to client and in client according to the Web of WML text predefined
Page Show Styles shows.
A kind of WEBITOX server, described Web server includes:
WML parser, for resolving WML text;
HTML synthesizer, the SQL query required for generating according to the instruction of WML text resolution is ordered
Order, SQL query command access data base management system finds client-access request content, then will
Client-access request content is found to be converted into the text of html format, the data conversion that will obtain
Become html format.
Database Systems, for depositing DBM and the applied function module of type.
HTML recovery device, transmits to client also for will convert into the data of html format
Show in client.
According to one aspect of the present invention, described WEBITOX server also include URL parser,
Database access pond and WEBITOX controller, described URL parser judges client for first
Access request whether be WML text access request, described database access pond is used for connecting number
According to base management system, described WEB controller has connected data base's visit for the dynamically distribution free time
Ask pond and data base management system connection, internally deposit be managed, manage DBM and
The extension of applied function module.
According to one aspect of the present invention, described WML parser is by the character crossfire of definition
Join keyword and resolve WML content of text.
A kind of Web application system, described Web application system includes the most successively: client
End, Internet and WEBITOX server, described WEBITOX server include Web service layer,
Web application layer and SQL database system, described Web service layer includes URL parser and HTML
Recovery device, described Web application layer includes WML parser, HTML synthesizer, database access
Pond and WEBITOX controller.
Described client sends access request, is sent to WEBITOX server by Internet,
In WEBITOX server, the URL parser in Web service layer first judges the access request of client
Whether it is WML text access request, if WML text access request, then should by Web
Resolving WML text with the WML parser in layer, HTML synthesizer is according to WML text
Resolve the SQL query order required for instruction generates, by SQL query command access data base
Accessing pond, WEBITOX controller is the database access pond distribution free time to be connected and connect to SQL number
The SQL database finding needs according to storehouse system obtains client-access request content, by obtain
Client-access request content is converted into the text of html format, will convert into html format
Data by HTML recovery device transmit to client and and in client according to WML text thing
The Web page Show Styles first defined shows.
The advantage that the present invention implements: by using XML page face label and server abstract factory fixed
Justice WML text;The WML text of correspondence is found and to WML text according to client-access request
Resolve, obtain from Web server data base further according to the WML content of text parsed
The data corresponding with access request;The data of acquisition are converted into html format;Will convert into HTML
The data of form transmit to client and show in client, use Web server and Web
Application system, it is possible to realize the seamless link of data base and Web server, simplify data base
The exploitation of application system and management so that enterprise can be transplanted to WEB service by apply simply
On device, can effectively control share data and exclusively enjoy the access of data, release, improve the property of system
Can simplicity with data access.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to embodiment
The accompanying drawing used required in is briefly described, it should be apparent that, the accompanying drawing in describing below
It is only some embodiments of the present invention, for those of ordinary skill in the art, is not paying
On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the side of the embodiment 1 of a kind of Web page data creation method of the present invention
Method flow chart;
Fig. 2 is the side of the embodiment 2 of a kind of Web page data creation method of the present invention
Method flow chart;
Fig. 3 is the structural representation of a kind of WEBITOX server of the present invention;
Fig. 4 is the structural representation of a kind of Web application system of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the technical side in the embodiment of the present invention
Case is clearly and completely described, it is clear that described embodiment is only the present invention one
Divide embodiment rather than whole embodiments.Based on the embodiment in the present invention, this area is general
The every other embodiment that logical technical staff is obtained under not making creative work premise,
Broadly fall into the scope of protection of the invention.
Embodiment 1:
As it is shown in figure 1, a kind of Web page data creation method, described Web page data are raw
One-tenth method comprises the steps:
Step S1: use XML page face label and server abstract factory definition WML text;
Described step S1: use XML page face label and server abstract factory definition WML text
Step includes: define WML text by XML page face label and server abstract factory,
In WML text, the most self-defined SQL query order, key application word and Web page content are adaptive
Answer Show Styles, set up key application word and be connected with SQL query order association.
The file seen when browsing Web by browser is referred to as Web page, and Web page is
Using html language to set up, the computer of any Web browser can explain HTML
Language, Web browser becomes the visual representing of multimedia Web file html language translation,
Including being pre-designed background theme pattern, page title, animation, page title etc..
These HTML codes or claim mark tell browser how to show the text in Web page,
Picture and animation file.HTMT labelling is sightless in a browser, but the literary composition on the page
This and image are visible, any picture, sound or animated element seen in Web page
It is all separate file, the title of these files, and relating to how open this document,
How to download this document and this document should be put into Web page where information, all by HTML
Labelling provides.
Different from HTML, XML tag can by framework person or document author self-defining, and be
Unconfined, HTML markup is then predefined, and HTML author can only use current HTML to mark
The accurate labelling supported.
XML is also a kind of simple data storage language, uses a series of simple labelling to describe number
According to, and these labellings can be set up by convenient mode, although the space that XML takies is entered than two
Data processed to take more space, but extremely simple being prone to of XML is grasped and use.
XML simply makes it easier to read and write data in any application program, although different application
Other data interchange format also supported by software, but all supports XML, can with Windows, Mac OS,
The information produced under Linux and other platforms combines, and then can be easy to load XML data
In program and analyze him, and export result in xml format.
This step is based on XML tag and self-defining server controls label forms WML literary composition
This, and the most self-defined SQL query order, key application word and Web page in WML text
Face content adaptive display pattern, sets up key application word and is connected with SQL query order association,
Wherein SQL query order mainly include be database address, type of database, application type,
Function achieved by application etc., can be fast by pre-setting these query arguments in ML text
The content of needs, quickly response user request are found in speed switch data storehouse.User has access request
Time detection user browser type, Web page content adaptive display pattern can be preset,
Automatically adapt to according to user browser type export Web page content typesetting pattern.
WML text language is similar to XML, and the meaning of one's words is clear and definite, simple in construction, editor's convenience, gives application
That develops brings great convenience, greatly reduces the requirement to developer, WML text language
Reduce the dependence to various developing instruments, reduce instrument and realize limiting to application, its required exploitation
Instrument can be text editor, it is possible to use other text generator, thus improves exploitation
Database application and the development rate of WEB application.
Step S2: find the WML text of correspondence and to WML text according to client-access request
Resolve, according to the WML content of text parsed obtain from Web server data base with
The data that access request is corresponding;
Described step S2: find the WML text of correspondence and to WML according to client-access request
Text resolves, and the WML content of text according to parsing obtains from Web server data base
Take and the data step corresponding with access request specifically include following steps:
Find the WML text corresponding to access request, then WML content of text resolved,
The SQL query order required for generating is instructed with Web page client according to WML text resolution
End self adaptation Show Styles;
By SQL query command access database access pond, database access pond is connected to required
The data base management system that wants also finds client-access request content.
Resolving WML content of text by the character crossfire coupling keyword of definition, user accesses please
Keyword contained in asking is carried out with the keyword in the database application set in advance of WML text
Coupling, matches the keyword of content to be inquired about, and the keyword according to inquiry content is civilian at WML
Originally find corresponding SQL query order set in advance, then access number by database query command
According to access pond, storehouse, database access pond can be simultaneously connected with one or more data according to configuration
Base management system, when needs use certain data base, database access pond can dynamically distribute one
Connecting of individual free time completes current operation to this data base, and then database access pond is reclaimed
This connects, if it occur that data mistake is known or data base connects disconnection, the meeting of database access pond
Automatically again connect, after being connected to required data base management system, find client's access request
Content.
Step S3: the data of acquisition are converted into html format;
Described step S3: the data of acquisition are converted into html format step particularly as follows: first will be
The access request Content Transformation obtained in data base becomes XML text formatting, then by XML text
Hold and use corresponding HTML content to be replaced, generate corresponding html tag.
Step S4: the data that will convert into html format transmit to client and in client
Display.
Described step S4: the data that will convert into html format transmit to client and visitor
Family end step display is particularly as follows: the data that will convert into html format are entered according to ICP/IP protocol
Row packing, becomes packet segmentation size that channel can transmit and has arranged address, by packet
Be sent to client and show sample in client according to the Web page of WML text predefined
Formula shows.
By using XML page face label and server abstract factory definition WML text;According to visitor
Family end access request finds the WML text of correspondence and resolves, WML text further according to solution
The WML content of text separated out obtains the number corresponding with access request from Web server data base
According to;The data of acquisition are converted into html format;Will convert into the data packing of html format
Being sent to client and show in client, above-mentioned steps is capable of data base and Web service
The seamless link of device, simplifies exploitation and the management of database application system so that enterprise can letter
Singlely being transplanted to application in WEB server, can effectively control share data and exclusively enjoy data
Access, release, improve the simplicity of the performance of system and data access.
Embodiment 2:
As in figure 2 it is shown, a kind of Web page data creation method, described Web page data are raw
One-tenth method comprises the steps:
Step S1: use XML page face label and server abstract factory definition WML text;
Described step S1: use XML page face label and server abstract factory definition WML text
Step includes: define WML text by XML page face label and server abstract factory,
SQL query order and Web page content adaptive display pattern are set in WML text.
The file seen when browsing Web by browser is referred to as Web page, and Web page is
Using html language to set up, the computer of any Web browser can explain HTML
Language, Web browser becomes the visual representing of multimedia Web file html language translation,
Including being pre-designed background theme pattern, page title, animation, page title etc..
These HTML codes or claim mark tell browser how to show the text in Web page,
Picture and animation file.HTMT labelling is sightless in a browser, but the literary composition on the page
This and image are visible, any picture, sound or animated element seen in Web page
It is all separate file, the title of these files, and relating to how open this document,
How to download this document and this document should be put into Web page where information, all by HTML
Labelling provides.
Different from HTML, XML tag can by framework person or document author self-defining, and be
Unconfined, HTML markup is then predefined, and HTML author can only use current HTML to mark
The accurate labelling supported.
XML is also a kind of simple data storage language, uses a series of simple labelling to describe number
According to, and these labellings can be set up by convenient mode, although the space that XML takies is entered than two
Data processed to take more space, but extremely simple being prone to of XML is grasped and use.
XML simply makes it easier to read and write data in any application program, although different application
Other data interchange format also supported by software, but all supports XML, can with Windows, Mac OS,
The information produced under Linux and other platforms combines, and then can be easy to load XML data
In program and analyze him, and export result in xml format.
This step is based on XML tag and self-defining server controls label forms WML literary composition
This, and the most self-defined SQL query order, key application word and Web page in WML text
Face content adaptive display pattern, sets up key application word and is connected with SQL query order association,
Wherein SQL query order mainly include be database address, type of database, application type,
Function achieved by application etc., can be fast by pre-setting these query arguments in ML text
The content of needs, quickly response user request are found in speed switch data storehouse.User has access request
Time detection user browser type, Web page content adaptive display pattern can be preset,
Automatically adapt to according to user browser type export Web page content typesetting pattern.
WML text language is similar to XML, and the meaning of one's words is clear and definite, simple in construction, editor's convenience, gives application
That develops brings great convenience, greatly reduces the requirement to developer, WML text language
Reduce the dependence to various developing instruments, reduce instrument and realize limiting to application, its required exploitation
Instrument can be text editor, it is possible to use other text generator, thus improves exploitation
Database application and the development rate of WEB application.
Step S2: whether the access request first judging client is WML text access request;
In order to save application database access resource and access speed, receiving what client sent
The type determining access request is first passed through, it is judged that whether access request is WML during access request
Text access request, if not WML text access request, then denied access is asked and by visit
The request of asking is submitted to common style processor and is processed.If WML text, then to WML
Text resolves.
Step S3: find the WML text of correspondence and to WML text according to client-access request
Resolve, according to the WML content of text parsed obtain from Web server data base with
The data that access request is corresponding;
Described step S3: find the WML text of correspondence and to WML according to client-access request
Text resolves, and the WML content of text according to parsing obtains from Web server data base
Take and the data step corresponding with access request specifically include following steps:
Find the WML text corresponding to access request, then WML content of text resolved,
SQL query order required for generating further according to the instruction of WML text resolution;
By SQL query command access database access pond, database access pond is connected to required
The data base management system that wants also finds client-access request content.
Resolving WML content of text by the character crossfire coupling keyword of definition, user accesses please
Keyword contained in asking is carried out with the keyword in the database application set in advance of WML text
Coupling, matches the keyword of content to be inquired about, and the keyword according to inquiry content is civilian at WML
Originally find corresponding SQL query order set in advance, then access number by database query command
According to access pond, storehouse, database access pond can be simultaneously connected with one or more data according to configuration
Base management system, when needs use certain data base, database access pond can dynamically distribute one
Connecting of individual free time completes current operation to this data base, and then database access pond is reclaimed
This connects, if it occur that data mistake is known or data base connects disconnection, the meeting of database access pond
Automatically again connect, after being connected to required data base management system, find client's access request
Content.
Step S4: the data of acquisition are converted into html format;
Described step S4: the data of acquisition are converted into html format step particularly as follows: first will be
The access request Content Transformation obtained in data base becomes XML text formatting, then by XML text
Hold and use corresponding HTML content to be replaced, generate corresponding html tag.
Step S5: the data that will convert into html format transmit to client and in client
Display.
Described step S5: the data that will convert into html format transmit to client and visitor
Family end step display is particularly as follows: the data that will convert into html format are entered according to ICP/IP protocol
Row packing, becomes packet segmentation size that channel can transmit and has arranged address, by packet
Be sent to client and show sample in client according to the Web page of WML text predefined
Formula shows.
By using XML page face label and server abstract factory definition WML text;According to visitor
Family end access request finds the WML text of correspondence and resolves, WML text further according to solution
The WML content of text separated out obtains the number corresponding with access request from Web server data base
According to;The data of acquisition are converted into html format;Will convert into the data packing of html format
Being sent to client and show in client, above-mentioned steps is capable of data base and Web service
The seamless link of device, simplifies exploitation and the management of database application system so that enterprise can letter
Singlely being transplanted to application in WEB server, can effectively control share data and exclusively enjoy data
Access, release, improve the simplicity of the performance of system and data access.
A kind of embodiment of WEBITOX server:
A kind of WEBITOX server, described Web server includes:
WML parser 1, for resolving WML text;
WML parser is used to need before resolving WML text to use XML page face label and server
Abstract factory definition WML text, the most self-defined SQL query order, application in WML text
Keyword and Web page content adaptive display pattern, obtain client by resolving WML text
The querying command of access request and Web page self adaptation Show Styles.Visit according to SQL query order
Ask that data base finds client-access request content.The exploitation of WEBITOX server need not program
Carry out framework, but with WML text framework Web service and application service.
HTML synthesizer 2, for the SQL query required for the instruction generation of WML text resolution
Order, SQL query command access data base management system finds client-access request content, then
The data of acquisition are turned by the text that client-access request content will be found to be converted into html format
Change html format into.
Directly SQL database data are converted into html format text output, first will be data base
The access request Content Transformation of middle acquisition becomes XML text formatting, then XML content of text is used phase
The HTML content answered is replaced, and generates corresponding html tag, it is achieved data base takes with Web
The seamless link of business so that enterprise's application can be transplanted in Web service simply, simplifies Web
The exploitation of database application, can be stored in data base by mixed and disorderly information easily, use these to believe
Breath is effectively managed, stored and is applied, and facilitates the operation of data base.
Database Systems 7, for depositing data base and the applied function module of type.
HTML recovery device 3, transmits to client for will convert into the data of html format
And show in client.
The data that will convert into html format are packed according to ICP/IP protocol, by packet
It is divided into size that channel can transmit and address has been set, delivering a packet to client also
Show according to the Web page Show Styles of WML text predefined in client.
In the present embodiment, WEBITOX server also includes URL parser 4, database access
Pond 5 and WEBITOX controller 6, for first, described URL parser judges that the access of client please
Seeking Truth is no for WML text access request, and described database access pond is used for connecting data base administration
System, described WEBITOX controller has connected database access pond for the dynamically distribution free time
Connection with data base management system, internally deposit and be managed, manage DBM and application
The extension of functional module.
Database access pond can be simultaneously connected with one or more data base administration system according to configuration
System, when needs use certain data base, WEBITOX controller is controlled database and is accessed Chi Bingdong
State is distributed to the idle connection in one, database access pond and is connected to be accessed by database access pond
Data base.After completing current accessed operation, WEBITOX controller reclaims this connection, if
Occurring data mistake to know or data base connects disconnection, WEBITOX controller can be for database access pond
Redistribute and automatically again connect, after being connected to required data base management system idle connection
Find client's access request content.
In the present embodiment, the described WML parser 1 character crossfire coupling key by definition
Word resolves WML content of text.
The WEBITOX server of said structure achieves the seamless company of data base and Web server
Connect, simplify exploitation and the management of database application system so that enterprise's application is simple transplants
In Web service.Simplify the exploitation of Web application, can be easily by various mixed and disorderly information
It is stored in data base, makes these information effectively be managed, store and apply.
WEBITOX server reduces the requirement to system running environment, the hardware needed for Web operation
Equipment requirements is the lowest, may operate in the portable machine of general configuration, PC, cashier's machine;System institute
Need minimum internal memory 1M, hard disk 50M.The investment of reduction system so that WEB application, Ge Renxin
Breath issue, enterprise information publishing low cost or zero cost.
WEBITOX server module structure so that Web application system can extend easily with
Load different DBMs and functional module on demand.
The memory management mechanism of WEBITOX server can obtain at a high speed internal memory, releasing memory, does not has
Any no data leaks so that system energy stable operation.
WEBITOX server employs string matching mechanism so that the text resolution of system, closes
Key word matching speed improves 2 to 3 times, the performance of the system of raising, decreases cpu resource
Occupancy.
A kind of embodiment of Web application system:
A kind of Web application system, described Web application system is included to lower floor successively by upper strata:
Client 1, Internet 2, WEBITOX server 3, described WEBITOX server 3 includes
Web service layer, Web application layer and SQL database system, described Web service layer includes URL
Resolver and HTML recovery device, described Web application layer include WML parser, HTML synthesizer,
Database access pond and WEBITOX controller.
Described client 1 sends access request, sends out 2 by Internet and gives WEBITOX service
Device 3, in WEBITOX server 3, the URL parser in Web service layer first judges client 1
Access request whether be WML text access request, if WML text access request, then
By the WML parser in Web application layer, WML text is resolved, HTML synthesizer root
SQL query order required for generating according to the instruction of WML text resolution, by SQL query order
Accessing database access pond, WEBITOX controller is the database access pond distribution free time to connect and connect
Receiving SQL database system finds the SQL database of needs to obtain in client 1 access request
Hold, the client 1 access request Content Transformation of acquisition is become the text of html format, will conversion
The data becoming html format are transmitted to client 1 and and client by HTML recovery device
End 1 shows according to the Web page Show Styles of WML text predefined.
Above-mentioned Web application system is integrated with by WEBITOX server and is normally applied required WEB
Function, built-in an efficient WML parser and the access pond of various data base, according to clear
The accessing request information of device of looking at request, accesses corresponding WML text;WML is resolved by resolver
Text, accesses SQL database effectively, quickly and obtains information and be compiled into html language and beam back
Browser carries out Web page and shows.The most also can carry out memory management safely and efficiently, can expand
Open up differently configured DBM and functional module.
The advantage that the present invention implements: by using XML page face label and server abstract factory fixed
Justice WML text;The WML text of correspondence is found and to WML text according to client-access request
Resolve, obtain from Web server data base further according to the WML content of text parsed
The data corresponding with access request;The data of acquisition are converted into html format;Will convert into HTML
The data of form transmit to client and show in client, use Web server and Web
Application system, it is possible to realize the seamless link of data base and Web server, simplify data base
The exploitation of application system and management so that enterprise can be transplanted to WEB service by apply simply
On device, can effectively control share data and exclusively enjoy the access of data, release, improve the property of system
Can simplicity with data access.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is also
Being not limited to this, any those skilled in the art is at technology model disclosed by the invention
In enclosing, the change that can readily occur in or replacement, all should contain within protection scope of the present invention.
Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.
Claims (10)
1. a Web page data creation method, it is characterised in that described Web page data
Generation method comprises the steps:
Use XML page face label and server abstract factory definition WML text;
Find the WML text of correspondence according to client-access request and WML text resolved,
Obtain from Web server data base and access request pair according to the WML content of text parsed
The data answered;
The data of acquisition are converted into html format;
The data that will convert into html format transmit to client and show in client.
Web page data creation method the most according to claim 1, it is characterised in that
Described according to client-access request find correspondence WML text and WML text is resolved,
Obtain and access request from Web server data base further according to the WML content of text parsed
Corresponding data step performs following steps before performing: whether first judge the access request of client
For WML text access request.
Web page data creation method the most according to claim 1, it is characterised in that
Described use XML page face label and server abstract factory definition WML text steps include:
WML text is defined by XML page face label and server abstract factory, pre-in WML text
First self-defined SQL query order, key application word and Web page content adaptive display pattern,
Set up key application word to be connected with SQL query order association.
Web page data creation method the most according to claim 1, it is characterised in that
Described according to client-access request find correspondence WML text and WML text is resolved,
Obtain from Web server data base and access request pair according to the WML content of text parsed
The data step answered specifically includes following steps:
Find the WML text corresponding to access request, then WML content of text resolved,
SQL query order required for generating further according to the instruction of WML text resolution;
By SQL query command access database access pond, database access pond is connected to required
The data base management system that wants also finds client-access request content.
Web page data creation method the most according to claim 1, it is characterised in that
Described the data of acquisition are converted into html format step particularly as follows: first will obtain in data base
Access request Content Transformation become XML text formatting, then XML content of text is used corresponding
HTML content is replaced, and generates corresponding html tag.
6., according to the Web page data creation method one of claim 1 to 5 Suo Shu, it is special
Levy and be, described in will convert into the data of html format and transmit to client and in client
Step display is particularly as follows: the data that will convert into html format carry out beating according to ICP/IP protocol
Bag, becomes packet segmentation size that channel can transmit and has arranged address, sending the packet within
To client and show according to the Web page Show Styles of WML text predefined in client
Illustrate.
7. a WEBITOX server, it is characterised in that described Web server includes:
WML parser, for resolving WML text;
HTML synthesizer, the SQL query required for generating according to the instruction of WML text resolution is ordered
Order, SQL query command access data base management system finds client-access request content, then will
Client-access request content is found to be converted into the text of html format, the data conversion that will obtain
Become html format.
Data base management system, for depositing DBM and the applied function module of type.
HTML recovery device, transmits to client also for will convert into the data of html format
Show in client.
WEBITOX server the most according to claim 7, it is characterised in that described
WEBITOX server also includes URL parser, database access pond and WEBITOX controller,
Described URL parser is used for first judging whether the access request of client is that the access of WML text please
Asking, described database access pond is used for connecting data base management system, and described WEB controller is used for
Dynamically the distribution free time has connected database access pond and the connection of data base management system, to internal memory
It is managed, manages the extension of DBM and applied function module.
Web server the most according to claim 8, it is characterised in that described WML solves
Parser resolves WML content of text by the character crossfire coupling keyword of definition.
10. a Web application system, it is characterised in that described Web application system is from top to bottom
Include successively: client, Internet and WEBITOX server, described WEBITOX server bag
Include Web service layer, Web application layer and SQL database management system access interface, described Web
Service layer includes that URL parser and HTML recovery device, described Web application layer include that WML resolves
Device, HTML synthesizer, database access pond and WEBITOX controller.
Described client sends access request, is sent to WEBITOX server by Internet,
In WEBITOX server, the URL parser in Web service layer first judges the access request of client
Whether it is WML text access request, if WML text access request, then should by Web
Resolving WML text with the WML parser in layer, HTML synthesizer is according to WML text
Resolve the SQL query order required for instruction generates, by SQL query command access data base
Accessing pond, WEBITOX controller is the database access pond distribution free time to be connected and connect to SQL number
The SQL database finding needs according to storehouse system obtains client-access request content, by obtain
Client-access request content is converted into the text of html format, will convert into html format
Data by HTML recovery device transmit to client and and in client according to WML text thing
The Web page Show Styles first defined shows.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510042432.3A CN105989010B (en) | 2015-01-28 | 2015-01-28 | Web page data generation method, Web server and Web application system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510042432.3A CN105989010B (en) | 2015-01-28 | 2015-01-28 | Web page data generation method, Web server and Web application system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105989010A true CN105989010A (en) | 2016-10-05 |
CN105989010B CN105989010B (en) | 2020-08-14 |
Family
ID=57034885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510042432.3A Expired - Fee Related CN105989010B (en) | 2015-01-28 | 2015-01-28 | Web page data generation method, Web server and Web application system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105989010B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107092625A (en) * | 2016-12-28 | 2017-08-25 | 北京小度信息科技有限公司 | data configuration method, data processing method and device |
CN107193950A (en) * | 2017-05-22 | 2017-09-22 | 环球智达科技(北京)有限公司 | WEB data visualisation systems based on relational database |
CN108769103A (en) * | 2018-04-04 | 2018-11-06 | 卓望数码技术(深圳)有限公司 | A kind of control method and system for checking result displaying based on communication service data |
CN109583221A (en) * | 2018-12-07 | 2019-04-05 | 中国科学院深圳先进技术研究院 | Dropbox system based on cloudy server architecture |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409937A (en) * | 2008-01-25 | 2009-04-15 | 聂沫平 | Method and apparatus for converting script into data format supported by target system |
CN101763423A (en) * | 2010-01-21 | 2010-06-30 | 中兴通讯股份有限公司 | Method for realizing presentation of tree-structure data in World Wide Web page as well as system and device therefor |
CN101788994A (en) * | 2009-08-14 | 2010-07-28 | 成都迪捷信息技术有限公司 | Method for constructing data display model and method and device for displaying data |
US7783723B2 (en) * | 2006-03-31 | 2010-08-24 | Sap Ag | Systems and methods for submitting data from a WML-based browser |
CN103631829A (en) * | 2012-08-28 | 2014-03-12 | 阿里巴巴集团控股有限公司 | Method and device for responding to webpage access request |
-
2015
- 2015-01-28 CN CN201510042432.3A patent/CN105989010B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7783723B2 (en) * | 2006-03-31 | 2010-08-24 | Sap Ag | Systems and methods for submitting data from a WML-based browser |
CN101409937A (en) * | 2008-01-25 | 2009-04-15 | 聂沫平 | Method and apparatus for converting script into data format supported by target system |
CN101788994A (en) * | 2009-08-14 | 2010-07-28 | 成都迪捷信息技术有限公司 | Method for constructing data display model and method and device for displaying data |
CN101763423A (en) * | 2010-01-21 | 2010-06-30 | 中兴通讯股份有限公司 | Method for realizing presentation of tree-structure data in World Wide Web page as well as system and device therefor |
CN103631829A (en) * | 2012-08-28 | 2014-03-12 | 阿里巴巴集团控股有限公司 | Method and device for responding to webpage access request |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107092625A (en) * | 2016-12-28 | 2017-08-25 | 北京小度信息科技有限公司 | data configuration method, data processing method and device |
CN107092625B (en) * | 2016-12-28 | 2020-10-09 | 北京星选科技有限公司 | Data configuration method, data processing method and device |
CN107193950A (en) * | 2017-05-22 | 2017-09-22 | 环球智达科技(北京)有限公司 | WEB data visualisation systems based on relational database |
CN108769103A (en) * | 2018-04-04 | 2018-11-06 | 卓望数码技术(深圳)有限公司 | A kind of control method and system for checking result displaying based on communication service data |
CN109583221A (en) * | 2018-12-07 | 2019-04-05 | 中国科学院深圳先进技术研究院 | Dropbox system based on cloudy server architecture |
Also Published As
Publication number | Publication date |
---|---|
CN105989010B (en) | 2020-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9495429B2 (en) | Automatic synthesis and presentation of OLAP cubes from semantically enriched data sources | |
US6859820B1 (en) | System and method for providing language localization for server-based applications | |
EP1923798B1 (en) | Clickable placeholder images for simulating web page code unsupported on mobile devices | |
CN103608802B (en) | The method and system of Choose for user between the file and source file fetched | |
CA2675393A1 (en) | Method and system for creating it-oriented server-based web applications | |
JP2004527041A (en) | System and method for content delivery over a wireless communication medium to a portable computing device | |
US7272792B2 (en) | Kana-to-kanji conversion method, apparatus and storage medium | |
CN103699674A (en) | Webpage storing method, webpage opening method, webpage storing device, webpage opening device and webpage browsing system | |
CN103246963B (en) | Based on the staffs training system of Internet of Things | |
CN108717437A (en) | Search result methods of exhibiting, device and storage medium | |
CN105989010A (en) | Web page data generation method, WEBITOX server and Web application system | |
US20040205564A1 (en) | Method to serve real-time data in embedded web server | |
CN103827778A (en) | Enterprise tools enhancements | |
PH12015500034B1 (en) | A web browser operation method and system | |
Li et al. | Multi-agent systems for web-based map information retrieval | |
US7970824B1 (en) | Capacity planning tool for the web | |
CN102110166B (en) | Browser-based body 3D (3-demensional) visualizing and editing system and method | |
CN101639827A (en) | Book metadata generating method | |
Ye et al. | Interface tailoring for mobile computing devices | |
US11238220B1 (en) | Dynamic user interface framework | |
Pan et al. | Design and implementation of e-commerce feature major website | |
US20090007252A1 (en) | System and Method for Implementing Proxy-Based Auto-Completion on a Network | |
Soriano et al. | Delivering mobile enterprise services on Morfeo's MC open source platform | |
Zhao et al. | Design and Implementation of Enterprise AI Business Service System Based on NHibernate Architecture | |
Sonnenberg | An Autonomous Framework for Mobile Web Content Adaptation and Prioritization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200814 |
|
CF01 | Termination of patent right due to non-payment of annual fee |