CN103294788A - Universal background processing method and system for websites - Google Patents
Universal background processing method and system for websites Download PDFInfo
- Publication number
- CN103294788A CN103294788A CN2013101889916A CN201310188991A CN103294788A CN 103294788 A CN103294788 A CN 103294788A CN 2013101889916 A CN2013101889916 A CN 2013101889916A CN 201310188991 A CN201310188991 A CN 201310188991A CN 103294788 A CN103294788 A CN 103294788A
- Authority
- CN
- China
- Prior art keywords
- data model
- data message
- display format
- processing
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses universal background processing method and system for websites. The method includes: acquiring data information; searching for whether a matching data model exists or not according to the data information; if yes, directly calling the data model to display the data information; if not, acquiring corresponding configuration information according to the data information; generating a new data model according to the configuration information, and calling the newly generated data model to display the data information in the required display format. The system comprises a first acquisition unit, a judging processing unit, a second acquisition unit and a dynamic generation processing unit. The method and the system have the advantages that the limits of traditional background website processing are broken, the method and the system are highly universal and flexible, and operation is greatly facilitated for users; and the method and the system are widely applicable to the field of computer.
Description
Technical field
The present invention relates to electric digital data processing field, particularly a kind of background process method and system of general website.
Background technology
For the background processing system of conventional web sites, thereby it is by some corresponding content models data message to be shown with different forms, for example news form, announcement format, picture format etc.Yet these content models all are predetermined fixed to set, therefore the background processing system of conventional web sites is difficult to satisfy simultaneously different user to the demand of multiple different display format, and if need to add a new content model, then must develop the work load that makes cost increase and increase the designer again.
Summary of the invention
In order to solve the problems of the technologies described above, the purpose of this invention is to provide a kind of website background process method with versatility.Another object of the present invention provides a kind of website background processing system with versatility.
The technical solution adopted in the present invention is: a kind of background process method of general website, and this method comprises:
A, obtain data message;
The data message that B, basis are obtained, thereby whether search exists the data model that is complementary with the data message that obtains in database, if exist, then directly call this data model data message is shown processing, data message is shown with required display format; Otherwise, execution in step C then;
C, according to data message, thereby obtain the configuration information corresponding with this data message;
Thereby the configuration information that D, basis are obtained generates new data model, calls newly-generated data model data message is shown processing, and data message is shown with required display format.
Further, described data message comprises required content displayed information and display format type parameter.
Further, described step B is specially:
According to the display format type parameter in the data message, thereby whether search exists the data model that is complementary with this display format type parameter in database, if exist, then directly call this data model required content displayed information is shown processing, required content displayed information is shown with required display format; Otherwise, execution in step C then.
Further, described step D is specially:
After utilizing the configuration information analyzer that the configuration information that obtains is carried out analyzing and processing, thereby the data model maker generates new data model and the model management file corresponding with new data model according to the result of analyzing and processing, call newly-generated data model then, mode by written document shows processing to required content displayed information, and required content displayed information is shown with required display format.
Further, described configuration information comprises the title of data model and the field description of data model.
Another technical scheme of the present invention is: a kind of background processing system of general website, and it comprises:
First acquiring unit is used for obtaining data message;
The judgment processing unit, be used for according to the data message that obtains, thereby whether search exists the data model that is complementary with the data message that obtains in database, if exist, then directly call this data model data message is shown processing, data message is shown with required display format; Otherwise, then carry out second acquisition unit;
Second acquisition unit is used for according to data message, thereby obtains the configuration information corresponding with this data message;
Dynamically generate processing unit, thereby be used for generating new data model according to the configuration information that obtains, call newly-generated data model data message is shown processing, data message is shown with required display format.
Further, described data message comprises required content displayed information and display format type parameter.
Further, described judgment processing unit is used for the display format type parameter according to data message, thereby whether search exists the data model that is complementary with this display format type parameter in database, if exist, then directly call this data model required content displayed information is shown processing, required content displayed information is shown with required display format; Otherwise, then carry out second acquisition unit.
Further, after described dynamic generation processing unit is used for utilizing the configuration information analyzer that the configuration information that obtains is carried out analyzing and processing, thereby the data model maker generates new data model and the model management file corresponding with new data model according to the result of analyzing and processing, call newly-generated data model then, mode by written document shows processing to required content displayed information, and required content displayed information is shown with required display format.
Further, described configuration information comprises the title of data model and the field description of data model.
The invention has the beneficial effects as follows: the method for the application of the invention, can dynamically generate the data model that meets user's request, thereby data message is shown with the required display format of user, can get thus, method of the present invention has been broken the limitation of conventional web sites background process method, have high versatility and dirigibility, for user's operation brings great convenience, and alleviate designer's work load.
Another beneficial effect of the present invention is: the system of the application of the invention, can dynamically generate the data model that meets user's request, thereby data message is shown with the required display format of user, can get thus, method of the present invention has been broken the limitation of conventional web sites background processing system, for user's operation brings great convenience, and improve versatility and dirigibility greatly, alleviated designer's work load.
Description of drawings
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described further:
Fig. 1 is the method step figure of the background process method of a kind of general website of the present invention;
Fig. 2 is the structured flowchart of the background processing system of a kind of general website of the present invention.
Embodiment
By shown in Figure 1, a kind of background process method of general website, this method comprises:
A, obtain data message;
The data message that B, basis are obtained, thereby whether search exists the data model that is complementary with the data message that obtains in database, if exist, then directly call this data model data message is shown processing, data message is shown with required display format; Otherwise, execution in step C then;
C, according to data message, thereby obtain the configuration information corresponding with this data message;
Thereby the configuration information that D, basis are obtained generates new data model, calls newly-generated data model data message is shown processing, and data message is shown with required display format.
From the above, method of the present invention can dynamically generate the required data model of user, data message is shown with the required display format of user, therefore method of the present invention has been broken the limitation of conventional web sites background process method, can satisfy different user simultaneously to the demand of multiple different display format, have high versatility and dirigibility, use for user's operation to bring great convenience, and alleviate designer's work load greatly.
Be further used as preferred embodiment, described data message comprises required content displayed information and display format type parameter.Described configuration information comprises the title of data model and the field description of data model.And described step B is specially:
According to the display format type parameter in the data message, thereby whether search exists the data model that is complementary with this display format type parameter in database, if exist, then directly call this data model required content displayed information is shown processing, required content displayed information is shown with required display format; Otherwise, execution in step C then.
In addition, described step D is specially:
After utilizing the configuration information analyzer that the configuration information that obtains is carried out analyzing and processing, thereby the data model maker generates new data model and the model management file corresponding with new data model according to the result of analyzing and processing, call newly-generated data model then, mode by written document shows processing to required content displayed information, and required content displayed information is shown with required display format.
The specific embodiment of the inventive method
Display format type parameter in the data message of supposing to obtain is expressed as advertisement display format type, and the concrete implementation step of the background process method of a kind of general website of the present invention comprises so:
S1, obtain data message, described data message comprises required content displayed information and display format type parameter;
S2, according to the display format type parameter in the data message, thereby whether search exists the data model that is complementary with this display format type parameter in database, and namely whether search exists the data model that is complementary with advertisement display format type in database;
S3, if exist, then directly call this data model required content displayed information shown processing, make required content displayed information with required display format, namely the advertisement display format shows; Otherwise, execution in step S4 then;
S4, according to the display format type parameter in the data message, thereby obtain the configuration information corresponding with this display format type parameter, and utilizing the configuration information that obtains can generate the data model corresponding with the advertisement display format, described configuration information comprises the title of data model and the field description of data model;
S5, utilize the configuration information analyzer that the configuration information that obtains is carried out analyzing and processing after, thereby the data model maker generates new data model and the model management file corresponding with new data model according to the result of analyzing and processing, call newly-generated data model then, mode by written document shows processing to required content displayed information, make required content displayed information with required display format, be the advertisement display format, show.And utilizing the model management file that generates, the user just can manage the data model corresponding with this model management file, improves the convenience of bookkeeping greatly.
And for described newly-generated data model, it is and is stored in newly-generated in a database tables of data, simultaneously, a kind of newly-generated corresponding cover of data model is used for management and shows the page handling procedure of this model, that is to say, in step S5, when thereby the data model maker generates new data model and the model management file corresponding with new data model according to the result of analyzing and processing, the page handling procedure also corresponding generation corresponding with this newly-generated data model of one cover, and utilize this page handling procedure to call this newly-generated data model, so just can generate a web page files, and required content displayed information is shown with required display format on this web page files.In addition, utilize this page handling procedure also can the web page files that generate to be managed, user-friendly.
As shown in Figure 2, a kind of background processing system of general website, it comprises:
First acquiring unit is used for obtaining data message;
The judgment processing unit, be used for according to the data message that obtains, thereby whether search exists the data model that is complementary with the data message that obtains in database, if exist, then directly call this data model data message is shown processing, data message is shown with required display format; Otherwise, then carry out second acquisition unit;
Second acquisition unit is used for according to data message, thereby obtains the configuration information corresponding with this data message;
Dynamically generate processing unit, thereby be used for generating new data model according to the configuration information that obtains, call newly-generated data model data message is shown processing, data message is shown with required display format.
Be further used as preferred embodiment, described data message comprises required content displayed information and display format type parameter.
Be further used as preferred embodiment, described judgment processing unit is used for the display format type parameter according to data message, thereby whether search exists the data model that is complementary with this display format type parameter in database, if exist, then directly call this data model required content displayed information is shown processing, required content displayed information is shown with required display format; Otherwise, then carry out second acquisition unit.
Be further used as preferred embodiment, after described dynamic generation processing unit is used for utilizing the configuration information analyzer that the configuration information that obtains is carried out analyzing and processing, thereby the data model maker generates new data model and the model management file corresponding with new data model according to the result of analyzing and processing, call newly-generated data model then, mode by written document shows processing to required content displayed information, and required content displayed information is shown with required display format.
Be further used as preferred embodiment, described configuration information comprises the title of data model and the field description of data model.
More than be that preferable enforcement of the present invention is specified, but the invention is not limited to described embodiment, those of ordinary skill in the art make all equivalent variations or replacement also can doing under the prerequisite of spirit of the present invention, the distortion that these are equal to or replace all is included in the application's claim institute restricted portion.
Claims (10)
1. the background process method of a general website, it is characterized in that: this method comprises:
A, obtain data message;
The data message that B, basis are obtained, thereby whether search exists the data model that is complementary with the data message that obtains in database, if exist, then directly call this data model data message is shown processing, data message is shown with required display format; Otherwise, execution in step C then;
C, according to data message, thereby obtain the configuration information corresponding with this data message;
Thereby the configuration information that D, basis are obtained generates new data model, calls newly-generated data model data message is shown processing, and data message is shown with required display format.
2. according to the background process method of the described a kind of general website of claim 1, it is characterized in that: described data message comprises required content displayed information and display format type parameter.
3. according to the background process method of the described a kind of general website of claim 2, it is characterized in that: described step B is specially:
According to the display format type parameter in the data message, thereby whether search exists the data model that is complementary with this display format type parameter in database, if exist, then directly call this data model required content displayed information is shown processing, required content displayed information is shown with required display format; Otherwise, execution in step C then.
4. according to the background process method of the described a kind of general website of claim 2, it is characterized in that: described step D is specially:
After utilizing the configuration information analyzer that the configuration information that obtains is carried out analyzing and processing, thereby the data model maker generates new data model and the model management file corresponding with new data model according to the result of analyzing and processing, call newly-generated data model then, mode by written document shows processing to required content displayed information, and required content displayed information is shown with required display format.
5. according to the background process method of the described a kind of general website of claim 1, it is characterized in that: described configuration information comprises the title of data model and the field description of data model.
6. the background processing system of a general website, it is characterized in that: it comprises:
First acquiring unit is used for obtaining data message;
The judgment processing unit, be used for according to the data message that obtains, thereby whether search exists the data model that is complementary with the data message that obtains in database, if exist, then directly call this data model data message is shown processing, data message is shown with required display format; Otherwise, then carry out second acquisition unit;
Second acquisition unit is used for according to data message, thereby obtains the configuration information corresponding with this data message;
Dynamically generate processing unit, thereby be used for generating new data model according to the configuration information that obtains, call newly-generated data model data message is shown processing, data message is shown with required display format.
7. according to the background processing system of the described a kind of general website of claim 6, it is characterized in that: described data message comprises required content displayed information and display format type parameter.
8. according to the background processing system of the described a kind of general website of claim 7, it is characterized in that: described judgment processing unit is used for the display format type parameter according to data message, thereby whether search exists the data model that is complementary with this display format type parameter in database, if exist, then directly call this data model required content displayed information is shown processing, required content displayed information is shown with required display format; Otherwise, then carry out second acquisition unit.
9. according to the background processing system of the described a kind of general website of claim 7, it is characterized in that: after described dynamic generation processing unit is used for utilizing the configuration information analyzer that the configuration information that obtains is carried out analyzing and processing, thereby the data model maker generates new data model and the model management file corresponding with new data model according to the result of analyzing and processing, call newly-generated data model then, mode by written document shows processing to required content displayed information, and required content displayed information is shown with required display format.
10. according to the background processing system of the described a kind of general website of claim 6, it is characterized in that: described configuration information comprises the title of data model and the field description of data model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013101889916A CN103294788A (en) | 2013-05-20 | 2013-05-20 | Universal background processing method and system for websites |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013101889916A CN103294788A (en) | 2013-05-20 | 2013-05-20 | Universal background processing method and system for websites |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103294788A true CN103294788A (en) | 2013-09-11 |
Family
ID=49095650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013101889916A Pending CN103294788A (en) | 2013-05-20 | 2013-05-20 | Universal background processing method and system for websites |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103294788A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104537090A (en) * | 2015-01-05 | 2015-04-22 | 国家电网公司 | User information standardization data processing method and device |
CN104537069A (en) * | 2014-12-26 | 2015-04-22 | 远光软件股份有限公司 | Receipt configuration and application system and method |
CN104866527A (en) * | 2015-04-24 | 2015-08-26 | 美通云动(北京)科技有限公司 | Dynamic webpage template matching method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101165685A (en) * | 2006-10-19 | 2008-04-23 | 国际商业机器公司 | Dynamic web page generation method and system |
US20090204883A1 (en) * | 2004-07-30 | 2009-08-13 | Thomas Talanis | Method, Program and System for the Dynamic, Template-Based Generation of Internet Pages |
CN102314499A (en) * | 2011-08-26 | 2012-01-11 | 百度在线网络技术(北京)有限公司 | Method and equipment for processing webpage content |
CN102890681A (en) * | 2011-07-20 | 2013-01-23 | 阿里巴巴集团控股有限公司 | Method and system for generating webpage structure template |
CN103064685A (en) * | 2012-12-27 | 2013-04-24 | 北京思特奇信息技术股份有限公司 | Method and device for configuring webpage in modularization mode |
-
2013
- 2013-05-20 CN CN2013101889916A patent/CN103294788A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090204883A1 (en) * | 2004-07-30 | 2009-08-13 | Thomas Talanis | Method, Program and System for the Dynamic, Template-Based Generation of Internet Pages |
CN101165685A (en) * | 2006-10-19 | 2008-04-23 | 国际商业机器公司 | Dynamic web page generation method and system |
CN102890681A (en) * | 2011-07-20 | 2013-01-23 | 阿里巴巴集团控股有限公司 | Method and system for generating webpage structure template |
CN102314499A (en) * | 2011-08-26 | 2012-01-11 | 百度在线网络技术(北京)有限公司 | Method and equipment for processing webpage content |
CN103064685A (en) * | 2012-12-27 | 2013-04-24 | 北京思特奇信息技术股份有限公司 | Method and device for configuring webpage in modularization mode |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104537069A (en) * | 2014-12-26 | 2015-04-22 | 远光软件股份有限公司 | Receipt configuration and application system and method |
CN104537069B (en) * | 2014-12-26 | 2017-12-26 | 远光软件股份有限公司 | A kind of document configuration and application system and its method |
CN104537090A (en) * | 2015-01-05 | 2015-04-22 | 国家电网公司 | User information standardization data processing method and device |
CN104537090B (en) * | 2015-01-05 | 2017-12-19 | 国家电网公司 | User profile standardized data treating method and apparatus |
CN104866527A (en) * | 2015-04-24 | 2015-08-26 | 美通云动(北京)科技有限公司 | Dynamic webpage template matching method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102185864B1 (en) | Server-side rendering method and system of native content for presentation | |
KR20130113340A (en) | Techniques for advertiser geotargeting using map coordinates | |
CN107341033A (en) | A kind of data statistical approach, device, electronic equipment and storage medium | |
US11775244B2 (en) | Data processing method and electronic terminal | |
US20090234849A1 (en) | Streaming Faceted Search | |
CN110807002B (en) | Report generation method, system and equipment based on workflow and storage medium | |
CN102779063A (en) | Method for providing application invocation and server | |
KR20070003418A (en) | Method for providing mobile webpage by employing to dynamic template | |
CN103744575A (en) | Method and equipment for providing input auxiliary areas of input applications | |
TWI507894B (en) | Electronic device capable of recovering messy code and method for recovering messy code | |
CN103412885A (en) | Contact person photo setting method and device | |
CN103294788A (en) | Universal background processing method and system for websites | |
CN111414361A (en) | Label data storage method, device, equipment and readable storage medium | |
CN105590241B (en) | Self-adaptive electronic bill implementation method and system | |
CN105404672A (en) | Webpage data storage and operation system and method | |
CN103369119A (en) | Method and terminal for rapidly inputting user information | |
CN103365892A (en) | Method and device for processing multiple contact objects | |
CN108052521B (en) | Coordinated data display method, application server and storage medium | |
CN102799423A (en) | Method and device for implementing dynamic method in JSF (java service face) | |
US20160224553A1 (en) | Search methods and terminals | |
CN108614844B (en) | Multimedia file generation method and device | |
CN110888733A (en) | Cluster resource use condition processing method and device and electronic equipment | |
CN105488054B (en) | A kind of method and device of browsing pictures | |
CN110888901B (en) | System management method, device, computer equipment and storage medium | |
CN103491234A (en) | Data processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130911 |