CN104376125B - A kind of method that business form dynamic increases and decreases content - Google Patents

A kind of method that business form dynamic increases and decreases content Download PDF

Info

Publication number
CN104376125B
CN104376125B CN201410759301.2A CN201410759301A CN104376125B CN 104376125 B CN104376125 B CN 104376125B CN 201410759301 A CN201410759301 A CN 201410759301A CN 104376125 B CN104376125 B CN 104376125B
Authority
CN
China
Prior art keywords
dynamic
row
business form
area
business
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
Application number
CN201410759301.2A
Other languages
Chinese (zh)
Other versions
CN104376125A (en
Inventor
曾文语
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Linewell Software Co Ltd
Original Assignee
Linewell Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Linewell Software Co Ltd filed Critical Linewell Software Co Ltd
Priority to CN201410759301.2A priority Critical patent/CN104376125B/en
Publication of CN104376125A publication Critical patent/CN104376125A/en
Application granted granted Critical
Publication of CN104376125B publication Critical patent/CN104376125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling

Abstract

The present invention provides a kind of method that business form dynamic increases and decreases content, including:Define the mark of dynamic row and dynamic area;Dynamic row or dynamic area are marked in business form and introduce associated script;User fills in business form and dynamically changes on demand, increases and decreases corresponding content;Using the data in the form storage dynamic row of json arrays, using the data in storage dynamic area in the form of sublist when preserving new content, the content changed and deleted is handled accordingly simultaneously, so as to form the displaying of dynamic increase and decrease business form content and memory mechanism.The present invention not only supports the dynamic addition of business form or deleted, can also in the dynamic area of business form nested dynamic row and dynamic area, so as to support the preservation of multiple dynamic areas and the convenient data for extracting each dynamic area, the electronic application demand of various complicated business lists is met.

Description

A kind of method that business form dynamic increases and decreases content
Technical field
The present invention relates to computer information management field, more specifically to a kind of business form dynamic increase and decrease content Method.
Background technology
With the continuous development of information age, effect of the list in information management system is more and more important, however, number The easy mobility for measuring data in numerous list and list allows the exploitation of list to become cumbersome.
Now, in general dynamic list design method is as follows:1st, proposing a kind of can customize patrolling for various form structures Model is collected, the logical relation that will can be constructed between each object of list stores, and parses this logical relation;2nd, carry For list infrastructure component and the unified interface of forms pages property operations;3rd, data and page logic are stored separately, can be with phase Business-binding is closed, assembling displaying is carried out when calling.But the form design method of the above can have the problem of two aspects: 1st, dynamic change when list uses, using custom model, list are not considered once no longer changing after the completion of customizing, being relatively solid It is fixed;2nd, do not consider dynamic change during data storage in list, it is impossible to meet list using when data caused by dynamic change deposit Storage problem.
So the present inventor has made intensive studies to dynamic list technology, the technical program is thus produced.
The content of the invention
The technical problem to be solved in the present invention, it is to provide a kind of method that business form dynamic increases and decreases content, by dynamic State row and dynamic area mark carry out the content that dynamically increases, change or delete in tagged traffic table, and using main table, sublist and The form storage dynamic content of json arrays simultaneously supports that repetition is nested, can so support the dynamic of business form to increase, change Or delete, nested dynamic row and dynamic area in dynamic area are supported, so as to support the storage of multiple dynamic areas and conveniently carry The data of each dynamic area are taken, meet the electronic application demand of various complicated business lists.
What the present invention was realized in:A kind of method that business form dynamic increases and decreases content, methods described include following step Suddenly:
Step 10, the mark for defining dynamic row and dynamic area;
Step 20, the mark of the dynamic row and dynamic area is used to the dynamic row in business form in business form Or dynamic area is marked, while the associated script for introducing the business form page is increased with entering Mobile state to business form, repaiied Change or delete operation;
Step 30, user fill in business form and dynamically increase, change or delete as needed the content in business form, Preserve amended business form and be submitted on server;
Step 40, server parse submitted business form, whether judge the business form according to business form mark It is newly-increased:If so, main table is then created in database and is preserved, jump procedure 60;Should if it is not, then being searched in database The main table of business form, jump procedure 50;
Step 50, non-newly-increased business form, the main table of the business form with being stored in database contrasted, sentenced Whether there is newly-increased dynamic content in the disconnected business form:If so, sentence further according to the mark of the dynamic row or dynamic area Whether there are dynamic row or dynamic area in the disconnected newly-increased dynamic content:If dynamic row, then by the data in dynamic row Preserved with the form of json arrays, if dynamic area, then preserved the data in dynamic area in the form of sublist;If It is no, then according to the dynamic row or the mark of dynamic area, search corresponding data record in the main table of business form and carry out Change or delete;
Step 60, the main table for establishment, judged according to the mark of the dynamic row or dynamic area be in the main table It is no to have dynamic row or dynamic area:If dynamic row, then the data in dynamic row are preserved with the form of json arrays, if There is dynamic area, then preserve the data in dynamic area in the form of sublist.
Further, for there is dynamic area in business form, also need to judge in the dynamic area with the presence or absence of embedding The dynamic content of set, if so, then judging the nested dynamic content further according to the mark of the dynamic row or dynamic area Whether dynamic row or dynamic area are had:If dynamic row, then the data in dynamic row are preserved with the form of json arrays, such as Fruit has dynamic area, then preserves the data in dynamic area in the form of sublist.
After such scheme, the invention has the advantages that:
1st, dynamic row or the dynamic area of tagged traffic list, foreground page are come by using dynamic row and dynamic area mark Face can normally be shown and flexibly increase and decrease and change the dynamic content of business form, and support is repeatedly changed, be mutually nested;
2nd, data are preserved using the form of json arrays by dynamic row, dynamic area preserves number in the form of sublist According to so that backstage can distinguish generic field and dynamic field when preserving, and support the preservation of multiple dynamic areas;
3rd, can be with separate storage and the data of each dynamic area of extraction, detailed letter that can be in Flexible Query dynamic content Breath.
Brief description of the drawings
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the inventive method execution flow chart.
Embodiment
Referring to Fig. 1, of the invention, a kind of method that business form dynamic increases and decreases content, methods described comprises the following steps:
Step 10, the mark for defining dynamic row and dynamic area;
Step 20, the mark of the dynamic row and dynamic area is used to the dynamic row in business form in business form Or dynamic area is marked, while the associated script for introducing the business form page is increased with entering Mobile state to business form, repaiied Change or delete operation;
Step 30, user fill in business form and dynamically increase, change or delete as needed the content in business form, Preserve amended business form and be submitted on server;
Step 40, server parse submitted business form, whether judge the business form according to business form mark It is newly-increased:If so, main table is then created in database and is preserved, jump procedure 60;Should if it is not, then being searched in database The main table of business form, jump procedure 50;
Step 50, non-newly-increased business form, the main table of the business form with being stored in database contrasted, sentenced Whether there is newly-increased dynamic content in the disconnected business form:If so, sentence further according to the mark of the dynamic row or dynamic area Whether there are dynamic row or dynamic area in the disconnected newly-increased dynamic content:If dynamic row, then by the data in dynamic row Preserved with the form of json arrays, if dynamic area, then preserved the data in dynamic area in the form of sublist;If It is no, then according to the dynamic row or the mark of dynamic area, search corresponding data record in the main table of business form and carry out Change or delete;
Step 60, the main table for establishment, judged according to the mark of the dynamic row or dynamic area be in the main table It is no to have dynamic row or dynamic area:If dynamic row, then the data in dynamic row are preserved with the form of json arrays, if There is dynamic area, then preserve the data in dynamic area in the form of sublist.
For there is dynamic area in business form, also need to judge in the dynamic area with the presence or absence of in nested dynamic Hold, if so, then judging whether the nested dynamic content has dynamic further according to the mark of the dynamic row or dynamic area Row or dynamic area:If dynamic row, then the data in dynamic row are preserved with the form of json arrays, if dynamic area Domain, then the data in dynamic area are preserved in the form of sublist.
The present invention, by dynamic row and dynamic area mark come in dynamically increasing, change or delete in tagged traffic table Hold, and store dynamic content in the form of main table, sublist and json arrays and support that repetition is nested, can so support business Repeatedly dynamically adding or delete for list, supports nested dynamic row and dynamic area in dynamic area, so as to support multiple dynamics The storage in region and the convenient data for extracting each dynamic area, the details in Flexible Query dynamic content, meet each The electronic application demand of kind complicated business list.
Although the foregoing describing the embodiment of the present invention, those familiar with the art should manage Solution, the specific embodiment described by us are merely exemplary, rather than for the restriction to the scope of the present invention, are familiar with this The equivalent modification and change that the technical staff in field is made in the spirit according to the present invention, should all cover the present invention's In scope of the claimed protection.

Claims (1)

1. a kind of method that business form dynamic increases and decreases content, it is characterised in that methods described comprises the following steps:
Step 10, the mark for defining dynamic row and dynamic area;
Step 20, to the dynamic row in business form or moved using the mark of the dynamic row and dynamic area in business form State region is marked, at the same introduce the associated script of the business form page with business form is entered Mobile state increase, modification or Delete operation;
Step 30, user fill in business form and dynamically increase, change or delete as needed the content in business form, preserve Amended business form is simultaneously submitted on server;
Step 40, server parse submitted business form, judge whether the business form is new according to business form mark Increase:If so, main table is then created in database and is preserved, jump procedure 60;If it is not, the business is then searched in database The main table of list, jump procedure 50;
Step 50, non-newly-increased business form, the main table of the business form with being stored in database contrasted, judging should Whether newly-increased dynamic content is had in business form:If so, judge institute further according to the mark of the dynamic row or dynamic area Whether state has dynamic row or dynamic area in newly-increased dynamic content:If dynamic row, then by the data in dynamic row with The form of json arrays preserves, and if dynamic area, then preserves the data in dynamic area in the form of sublist;If it is not, Then according to the dynamic row or the mark of dynamic area, search corresponding data record in the main table of business form and modify Or delete;
Step 60, the main table for establishment, judge whether have in the main table according to the mark of the dynamic row or dynamic area Dynamic row or dynamic area:If dynamic row, then the data in dynamic row are preserved with the form of json arrays, if dynamic State region, then the data in dynamic area are preserved in the form of sublist, determine whether to whether there is in the dynamic area Nested dynamic content, if so, then judging further according to the mark of the dynamic row or dynamic area in the nested dynamic Whether appearance has dynamic row or dynamic area:If dynamic row, then the data in dynamic row are preserved with the form of json arrays, If dynamic area, then the data in dynamic area are preserved in the form of sublist.
CN201410759301.2A 2014-12-11 2014-12-11 A kind of method that business form dynamic increases and decreases content Active CN104376125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410759301.2A CN104376125B (en) 2014-12-11 2014-12-11 A kind of method that business form dynamic increases and decreases content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410759301.2A CN104376125B (en) 2014-12-11 2014-12-11 A kind of method that business form dynamic increases and decreases content

Publications (2)

Publication Number Publication Date
CN104376125A CN104376125A (en) 2015-02-25
CN104376125B true CN104376125B (en) 2017-12-19

Family

ID=52555032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410759301.2A Active CN104376125B (en) 2014-12-11 2014-12-11 A kind of method that business form dynamic increases and decreases content

Country Status (1)

Country Link
CN (1) CN104376125B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959361B (en) * 2018-05-17 2022-08-05 腾讯音乐娱乐科技(深圳)有限公司 Form management method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114226A (en) * 2007-08-28 2008-01-30 北京中企开源信息技术有限公司 Code automatically generating device based on model component, system and method
CN101382957A (en) * 2008-10-24 2009-03-11 用友软件股份有限公司 System for establishing enquiry model and establishing method
CN101562633A (en) * 2009-05-27 2009-10-21 天津大学 Visual service network user interactive system
CN102360290A (en) * 2011-09-29 2012-02-22 用友软件股份有限公司 Form building device and form building method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114226A (en) * 2007-08-28 2008-01-30 北京中企开源信息技术有限公司 Code automatically generating device based on model component, system and method
CN101382957A (en) * 2008-10-24 2009-03-11 用友软件股份有限公司 System for establishing enquiry model and establishing method
CN101562633A (en) * 2009-05-27 2009-10-21 天津大学 Visual service network user interactive system
CN102360290A (en) * 2011-09-29 2012-02-22 用友软件股份有限公司 Form building device and form building method

Also Published As

Publication number Publication date
CN104376125A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
US11403364B2 (en) Method and terminal device for extracting web page content
US10180967B2 (en) Performing application searches
US9489403B2 (en) Method and apparatus for providing visual search engine results
CN104166651B (en) Method and apparatus based on the data search integrated to homogeneous data object
US20130326333A1 (en) Mobile Content Management System
US20130339840A1 (en) System and method for logical chunking and restructuring websites
US20130073536A1 (en) Indexing of urls with fragments
CN106168978A (en) The treating method and apparatus of pop-up in a kind of webpage
CN105493075A (en) Retrieval of attribute values based upon identified entities
US10102567B2 (en) User curated collections for an online application environment
JP2017157192A (en) Method of matching between image and content item based on key word
US9606700B2 (en) Selection of hierarchically organized items
US10146880B2 (en) Determining a filtering parameter for values displayed in an application card based on a user history
CN106796518A (en) Based on the feedback being intended to
CN104182429B (en) Web page processing method and terminal
JP6165955B1 (en) Method and system for matching images and content using whitelist and blacklist in response to search query
US9158849B2 (en) Synthesis of webpage snippets using sub-pages of the webpage
CN109635260B (en) Method, device, equipment and storage medium for generating article template
CN104331438B (en) To novel web page contents selectivity abstracting method and device
CN107908794A (en) A kind of method of data mining, system, equipment and computer-readable recording medium
JP2017157193A (en) Method of selecting image that matches with content based on metadata of image and content
US20160085875A1 (en) Method for configuring browser bookmarks, device and terminal thereof
US10432702B1 (en) Separated device detection architecture
US9015165B1 (en) Text-SQL relational database
CN104376125B (en) A kind of method that business form dynamic increases and decreases content

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant