CN102662962B - Dynamic display method based on webpage elements - Google Patents
Dynamic display method based on webpage elements Download PDFInfo
- Publication number
- CN102662962B CN102662962B CN201210059738.6A CN201210059738A CN102662962B CN 102662962 B CN102662962 B CN 102662962B CN 201210059738 A CN201210059738 A CN 201210059738A CN 102662962 B CN102662962 B CN 102662962B
- Authority
- CN
- China
- Prior art keywords
- dynamic display
- rule
- display method
- checking
- configuration
- 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.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to a dynamic display method based on webpage elements, specifically comprising the following steps of: step 1, screening the webpage dynamic display data according to identifiers; step 2, generating page display elements according to the screened data set classification; step 3, generating corresponding JS scripts; and step 4, according to a background configurating and invoking method in accordance with element rules, submitting and saving the entire business data to the database. The method of the invention provides business expandability, flexibility and modification timeliness and effectiveness. The method of the invention is simple to operate, achieving classified and dynamic display of foreground pages by data element rule configuration and background data screening. .
Description
Technical field
The present invention relates to the Dynamic Display method based on web page element, it adopts JAVA+JAVASCRIPT to realize.
Background technology
In page elements displaying process, in some business demand, require to show according to different business scene, business rule for certain dvielement.Common processing means: srvice instance, then present one by one by the concrete page.
And there is following shortcoming in this traditional processing means:
One, there is limitation in Data Model Designing, can not or be unfavorable for dynamic expansion.
Two, front page layout is shown and need to be done independent processing for concrete business, need to make program code to the concrete business page and revise when increasing, revising or deleting business element.
Summary of the invention
The present invention is directed to prior art and do not there is the inadequate deficiency of Dynamic Display function, extendability and dirigibility, provide a kind of simple to operation, can expand, flexible and changeable, and there is the Dynamic Display method of timely and effective property based on web page element of revising.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of Dynamic Display method of web page element, specifically comprises the following steps:
Step 1: according to sign, screening webpage Dynamic Display data;
Step 2: generate the page according to data set classification after screening and show element;
Step 3: classification dynamically generates and shows element and generate corresponding JS script the page according to backstage element set, public or configuration JS method is called in element input prompt checking;
Step 4: call backstage method according to element rule configuration, submit to and preserve whole business datum to database.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described step 1 specifically comprises the following steps:
Step 1.1: receive service identification;
Step 1.2: extract element set according to service identification in database;
Step 1.3: according to element database configuration, screening and filtering data are combined into display data set.
Further, described step 2 specifically comprises the following steps:
Step 2.1: judge whether to need rule checking in real time, if so, continue judgment rule storehouse and whether exist;
Step 2.2: if do not need rule checking in real time, proceed step 3.
Further, whether described step 2.1 judgment rule storehouse exists comprises following two kinds of situations, if rule base exists, carries out the public checking of JS; If rule base does not exist, carry out JS configuration verification.
Further, described service identification comprises: product coding and/or rate coding.
Further, described element rule comprises at least one of following rule:
The kind dvielement that sign comprises; Element uniting and adjustment sign and interlock element; Element verification mode; Whether element is given tacit consent to and default value; Whether element is non-must fill out.
Further, the kind dvielement that wherein sign comprises comprises rate, service or interface etc.
The invention has the beneficial effects as follows: the method for the invention, the timely and effective property that the extensibility of business, flexible and changeable property and modification are provided, the present invention is simple to operation, by data element rule configuration, back-end data screening and filtering is processed, and reaches front page layout classification Dynamic Display.
Accompanying drawing explanation
Fig. 1 is the Dynamic Display method flow diagram of the web page element described in the embodiment of the present invention 1;
Fig. 2 is element database arrangement plan in the Dynamic Display method of the web page element described in the embodiment of the present invention 1.
Embodiment
Below in conjunction with accompanying drawing, principle of the present invention and feature are described, example, only for explaining the present invention, is not intended to limit scope of the present invention.
As shown in Figure 1 and Figure 2, the Dynamic Display method of a kind of web page element described in the specific embodiment of the invention 1, specifically comprises the following steps:
Step 1: receive product coding;
Step 2: extract element set according to product coding in database;
Step 3: according to element database configuration, screening and filtering data are combined into display data set;
Step 4: judge whether to need rule checking in real time, if so, continue judgment rule storehouse and whether exist; If rule base exists, carry out the public checking of JS; If rule base does not exist, carry out JS configuration verification;
Step 5: if do not need rule checking in real time, proceed step 6;
Step 6: classification dynamically generates and shows element and generate corresponding JS script the page according to backstage element set, public or configuration JS method is called in element input prompt checking;
Step 7: according to element rule [as: this sign comprises kind (rate, service, interface etc.) element; Element uniting and adjustment sign and interlock element; Element verification mode; Whether element is given tacit consent to and default value; Whether element non-must fill out etc.] configuration calls backstage method, and submit to and preserve whole business datum to database.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (5)
1. a Dynamic Display method for web page element, is characterized in that, specifically comprises the following steps:
Step 1: according to sign, screening webpage Dynamic Display data;
Step 2: judge whether to need rule checking in real time, if so, continue judgment rule storehouse and whether exist, if rule base exists, carry out the public checking of JS, finish; If rule base does not exist, carry out JS configuration verification, finish;
Step 3: if do not need rule checking in real time, proceed step 4;
Step 4: classification dynamically generates and shows element and generate corresponding JS script the page according to backstage element set, public or configuration JS method is called in element input prompt checking;
Step 5: call backstage method according to element rule configuration, submit to and preserve whole business datum to database.
2. Dynamic Display method according to claim 1, is characterized in that, described step 1 specifically comprises the following steps:
Step 1.1: receive service identification;
Step 1.2: extract element set according to service identification in database;
Step 1.3: according to element database configuration, screening and filtering data are combined into display data set.
3. Dynamic Display method according to claim 2, is characterized in that, described service identification comprises: product coding and/or rate coding.
4. Dynamic Display method according to claim 1, is characterized in that, described element rule comprises at least one of following rule:
The kind dvielement that sign comprises; Element uniting and adjustment sign and interlock element; Element verification mode; Whether element is given tacit consent to and default value; Whether element is non-must fill out.
5. according to the Dynamic Display method described in claim 1 to 4 any one, it is characterized in that, the kind dvielement that wherein sign comprises comprises rate, service or interface.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210059738.6A CN102662962B (en) | 2012-03-08 | 2012-03-08 | Dynamic display method based on webpage elements |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210059738.6A CN102662962B (en) | 2012-03-08 | 2012-03-08 | Dynamic display method based on webpage elements |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102662962A CN102662962A (en) | 2012-09-12 |
| CN102662962B true CN102662962B (en) | 2014-12-10 |
Family
ID=46772453
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210059738.6A Active CN102662962B (en) | 2012-03-08 | 2012-03-08 | Dynamic display method based on webpage elements |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102662962B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103019685B (en) * | 2012-11-20 | 2016-07-13 | 北京思特奇信息技术股份有限公司 | A kind of system and method dynamically generating business interface based on page elements |
| CN103473316A (en) * | 2013-09-11 | 2013-12-25 | 北京思特奇信息技术股份有限公司 | Data column dynamically displaying method and device |
| CN105187457A (en) * | 2015-10-27 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Client-based account automatic registration method, system and server |
| CN106201461A (en) * | 2016-06-27 | 2016-12-07 | 浪潮(北京)电子信息产业有限公司 | Generation method, system and the background server at a kind of interface |
| CN107273548B (en) * | 2017-07-20 | 2020-10-27 | 创新先进技术有限公司 | Dynamic page implementation method and device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1476712A (en) * | 2000-09-26 | 2004-02-18 | ���ܿ���ϵͳ����˾ | web server |
| CN1555534A (en) * | 2001-09-13 | 2004-12-15 | �Ҵ���˾ | Method and system for communicating dynamic information in a network |
| CN102200993A (en) * | 2010-03-24 | 2011-09-28 | 费希尔-罗斯蒙特系统公司 | Method and apparatus to display process data |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9195525B2 (en) * | 2008-10-21 | 2015-11-24 | Synactive, Inc. | Method and apparatus for generating a web-based user interface |
-
2012
- 2012-03-08 CN CN201210059738.6A patent/CN102662962B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1476712A (en) * | 2000-09-26 | 2004-02-18 | ���ܿ���ϵͳ����˾ | web server |
| CN1555534A (en) * | 2001-09-13 | 2004-12-15 | �Ҵ���˾ | Method and system for communicating dynamic information in a network |
| CN102200993A (en) * | 2010-03-24 | 2011-09-28 | 费希尔-罗斯蒙特系统公司 | Method and apparatus to display process data |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102662962A (en) | 2012-09-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103019684B (en) | A kind of method of the configuration service page based on dynamic template | |
| CN102662962B (en) | Dynamic display method based on webpage elements | |
| CN107678745B (en) | System and method based on page componentization | |
| CN102646055B (en) | Method for data interaction between systems | |
| CN103019685A (en) | System and method for generating business interface based on page element | |
| CN107402766A (en) | Page layout management method and device | |
| CN104159204A (en) | Information interaction method and apparatus based on short messages | |
| CN104537071A (en) | Benefit analysis method and system for parking lot | |
| CN105912723A (en) | Storage method of custom field | |
| CN103092479B (en) | A kind of methods, devices and systems by right button transitional information | |
| CN105224629A (en) | The implementation method of a kind of XBRL application platform operation flow integration | |
| CN104063545A (en) | Method and system for dynamically displaying process tracing diagram | |
| CN108829882A (en) | Formation gathering method, device, terminal and medium | |
| CN104317781A (en) | Sensitive word editor | |
| CN111736808B (en) | Subscription processing method and system of transaction report | |
| CN106446293A (en) | Rapid geographic name census data base establishing method | |
| CN102708710A (en) | E-book reader and working method thereof | |
| CN102387139B (en) | Authority control method, system and device separated from application services | |
| CN105574399A (en) | Graphic verification code generation method | |
| CN202041990U (en) | Personal loan transaction platform for bank | |
| CN106293658A (en) | A kind of interface assembly generates method and equipment thereof | |
| CN104090759A (en) | Template file based data filling method | |
| CN104217284A (en) | An ecological balance system for productivity | |
| CN204143488U (en) | Call the roll of the contestants in athletic events management system in the examination hall of reading based on electronic tag | |
| CN102609108A (en) | Electronic equipment for inputting characters and method for inputting characters into 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 | ||
| C53 | Correction of patent for invention or patent application | ||
| CB02 | Change of applicant information |
Address after: 100085 Haidian District, Zhongguancun, South Street, No. 6,, building information, floor, No. 16 Applicant after: SI-TECH Information Technology Ltd. Address before: 100085 Haidian District, Zhongguancun, South Street, No. 6,, building information, floor, No. 16 Applicant before: Beijing Digital China SI-TECH Information Technology Co., Ltd. |
|
| COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: BEIJING DIGITAL CHINA SI-TECH INFORMATION TECHNOLOGY LTD. TO: BEIJING SI-TECH INFORMATION TECHNOLOGY LTD. |
|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |