CN106598924A - Form generation method and device - Google Patents

Form generation method and device Download PDF

Info

Publication number
CN106598924A
CN106598924A CN201610973026.3A CN201610973026A CN106598924A CN 106598924 A CN106598924 A CN 106598924A CN 201610973026 A CN201610973026 A CN 201610973026A CN 106598924 A CN106598924 A CN 106598924A
Authority
CN
China
Prior art keywords
list
user
form fields
module
fields
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610973026.3A
Other languages
Chinese (zh)
Inventor
吴春鹏
朱红燕
王阳
李冕正
张艳文
林佳宇
刘世芬
张娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201610973026.3A priority Critical patent/CN106598924A/en
Publication of CN106598924A publication Critical patent/CN106598924A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • 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/10Office automation; Time management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a form generation method, which comprises the following steps: receiving a form creating instruction selected by a user, and obtaining the type of the created form; obtaining a corresponding form field list according to the type of the created form; generating a corresponding edit form according to the form field selected by the user in the form field list; receiving configuration information configured on the edit-state form by a user, wherein the configuration information at least comprises attributes of fields and incidence relations of the fields; and generating a corresponding form according to a generation instruction triggered by a user. The invention also discloses a form generation device. According to the method, the user is not required to program, the workload of form making is reduced, and the specified fields needing to be filled can be displayed in a specific flow; supporting the internal linkage of complex form fields; and in a specific state, supporting the control of the state of the form field, and the like.

Description

The generation method and device of list
Technical field
The present invention relates to computer realm, more particularly to a kind of generation method and device of list.
Background technology
Traditional list solution based on customization, the main mode realized is:The page of all work orders be required for by Developer's Complete customization writes code realization, and the list that this mode is made only is used for specific work order, there is new every time During the list reached the standard grade, need released version just can come into force.The development amount of this mode is big, and each list is required for exploitation Targetedly complete page code, and have to send out a version just to reach the standard grade new demand, list cycle of reaching the standard grade is long, and has gone out to ask Topic can not be solved quickly.
For the problems referred to above, main solution is code customization.Code customization can be with the list of relatively convenient list The content of keeper's customized form, no longer solves the demand that new table is reached the standard grade, it is thus only necessary to will appoint with the mode for sending out version The code region that manages to list of front-end code block hand-coding, this process needs the participation of front end developer, works as list Coding is finished after preservation, list masterplate can be saved in into backstage, is used for the configuration of all of work order.Although this mode is not New function could be realized with the issue of wait version, but is needed keeper to understand and is write front-end code, before appointing End code block is inserted into the console of list management, and manually implemented all of customized form, list configuration still relies on exploit person Member, the problem of workload is not solved.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill Art.
The content of the invention
Present invention is primarily targeted at proposing a kind of generation method and device of list, it is intended to reduce the work of form customization Measure.
For achieving the above object, a kind of generation method of list that the present invention is provided, the generation method includes following step Suddenly:
The list that receive user is selected creates instruction, and acquisition creates the type of list;
Corresponding form fields list is obtained according to the type of the establishment list;
The form fields selected in the form fields list according to user generate corresponding editor's state list;
The configuration information that receive user is configured on editor's state list, wherein the configuration information at least includes each word Attribute, the incidence relation of each field of section;
According to the generation instruction of user's triggering, corresponding list is generated.
Alternatively, the step of type according to the establishment list obtains corresponding form fields list includes:
Type according to list is created judges whether default form structure information;
If so, then the importing of default form structure information is obtained into corresponding form fields list.
Alternatively, the step of type according to the establishment list obtains corresponding form fields list also includes:
If there is no default form structure information, form fields description information is judged whether;
If so, then according to the corresponding form fields list of form fields description information acquisition.
Alternatively, the step of type according to the establishment list obtains corresponding form fields list also includes:
If there is no form fields description information, judge whether that form fields describe interface;
If so, then describe interface by the form fields and import corresponding form fields list;
If it is not, then obtaining corresponding form fields list according to the form fields of user input.
Alternatively, the step of generation instruction according to user's triggering, generation corresponding list, includes:
According to the generation instruction of user's triggering, the model and serialization information of list are generated by form builder, and protected Deposit.
Alternatively, methods described also includes:
The list service catalogue that receive user is selected;
Corresponding list is obtained according to the list service catalogue, and User space list is obtained by list resolver;
User fill on the User space list complete when, receive user triggering preservation instruction;
The content that user fills in is verified according to instruction and the preset rules of preserving;
If the verification passes, then by the serialized data of list value module acquisition user's fill substance.
Additionally, for achieving the above object, the present invention also provides a kind of generating means of list, and the generating means include:
First receiver module, the list selected for receive user creates instruction, and acquisition creates the type of list;
First obtains module, for obtaining corresponding form fields list according to the type of the establishment list;
First generation module, the form fields for being selected in the form fields list according to user generate corresponding Editor's state list;
Second receiver module, for the configuration information that receive user is configured on editor's state list, wherein described match somebody with somebody Confidence breath is at least including attribute, the incidence relation of each field of each field;
Second generation module, for the generation instruction triggered according to user, generates corresponding list.
Alternatively, the first acquisition module includes:
First judging unit, for judging whether default form structure information according to the type for creating list;
First obtains unit, then by the importing of default form structure information, corresponding form fields row are obtained for if so, Table.
Alternatively, the first acquisition module also includes:
Second judging unit, if for there is no default form structure information, judging whether that form fields are described Information;
Second obtaining unit, arranges for if so, then obtaining corresponding form fields according to the form fields description information Table.
Alternatively, the first acquisition module also includes:
3rd judging unit, if for there is no form fields description information, judging whether that form fields are described Interface;
3rd obtaining unit, for if so, then describing interface by the form fields corresponding form fields row are imported Table;
4th obtaining unit, for if it is not, then obtaining corresponding form fields list according to the form fields of user input.
Alternatively, second generation module is additionally operable to the generation instruction according to user's triggering, is given birth to by form builder Into the model and serialization information of list, and preserve.
Alternatively, described device also includes:
3rd receiver module, for the list service catalogue that receive user is selected;
Second obtains module, for obtaining corresponding list according to the list service catalogue, and by list resolver Obtain User space list;
4th receiver module, for user fill on the User space list complete when, receive user triggering guarantor Deposit instruction;
Authentication module, for being verified to the content that user fills according to instruction and the preset rules of preserving;
Preserving module, for if the verification passes, then obtaining corresponding with user's fill substance by list value module Serialized data, and preserve.
The present invention creates instruction by the list that receive user is selected, and acquisition creates the type of list;According to the wound The type for building list obtains corresponding form fields list;According to the form fields that user selects in the form fields list Generate corresponding editor's state list;The configuration information that receive user is configured on editor's state list, wherein the configuration letter Breath is at least including attribute, the incidence relation of each field of each field;According to the generation instruction of user's triggering, corresponding table is generated It is single.By the way, the present invention, according to the form types that user selects, is obtained and form types when user creates list Corresponding form fields, user then can therefrom select corresponding field, so as to generate corresponding editor's state list, then user Incidence relation and attribute of each field etc. are reconfigured at, so as to complete the making of list, can be programmed without the need for user, reduce list system The workload of work, while user can pass through the attribute and incidence relation of configuration information control field, the present invention can be supported Specific flow process shows the field that the needs specified are filled in;Support complicated form fields Inner link;And in particular state Under, support control of form fields state etc..
Description of the drawings
Fig. 1 is the schematic flow sheet of the generation method first embodiment of list of the present invention;
Fig. 2 is the schematic diagram of present system framework one;
Fig. 3 be list of the present invention generation method first embodiment according to it is described establishment list type obtain it is corresponding One refinement schematic flow sheet of form fields list;
Fig. 4 is the schematic flow sheet of the generation method second embodiment of list of the present invention;
Fig. 5 is the refinement schematic flow sheet of the generation method second embodiment of list of the present invention;
Fig. 6 is the high-level schematic functional block diagram of the generating means first embodiment of list of the present invention;
The semiotic function module of the second generation module is illustrated in the generating means first embodiment of list of the present invention in Fig. 7 Figure;
Fig. 8 is the high-level schematic functional block diagram of the generating means second embodiment of list of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The present invention provides a kind of generation method of list.
See figures.1.and.2, Fig. 1 is the schematic flow sheet of the generation method first embodiment of list of the present invention;Fig. 2 is this Invention system configuration diagram.
In the present embodiment, the generation method of the list includes:
Step S10, the list that receive user is selected creates instruction, and acquisition creates the type of list;
The main incidence relation included between field, field attribute and field, is embodied as middle list and is also possible in list Including list pattern, field event and plug-in unit etc..To allow the invention to normal enforcement, the present invention is each by what is had in list Individual division of teaching contents is managed for corresponding module, as shown in Fig. 2 present system framework includes in the present embodiment:List word Segment management module, list plug-in management module, list DOM processing modules, list style configuration module, field attribute management mould Block, field event processing module and Trigger management modules, wherein, form fields management module is used to manage the field of list, Including the field of existing field and user newly addition in system;List plug-in management module is used to manage the plug-in unit in list, than Such as manage the Password Strength plug-in units of test Cipher Strength;List DOM (text object module) processing module is neutral In platform and the interface of language, the standard for being operated to this object with HTML or XML and being controlled is defined, it is allowed to program Content, structure and the pattern of document are dynamically accessed and updated with script;List style configuration module is used to configure list pattern; Field attribute management module is used to manage the attribute of each field;Field event processing module is used for the event of management fields, than Such as click on, be input into;Trigger management modules, i.e. trigger, are used for mode of operation, the operation rules to configure form controls Deng.The present invention is managed each division of teaching contents having in list for corresponding module, can realize each field in list Hot plug.
When in use, user selects to create list in system interface, and terminal of the present invention receives the list of user's triggering Instruction is created, then obtains the form types that user needs to create.
Step S20, according to the type of the establishment list corresponding form fields list is obtained;
According to the form types that user needs to create, corresponding form fields list is obtained.Wherein obtain form fields Mode is including but not limited to manually entered field and obtains already present form fields in present system.
Step S30, the form fields selected in the form fields list according to user generate corresponding editor's state table It is single;
According to the form fields list for obtaining, by the field, plug-in unit, the Trigger that serialize processing module, reduction list Configuration information, and by corresponding management module, generate the list of editor's state, certain user can also be to the table that obtains Form fields are screened in single list of fields, select the field for needing, so as to generate editor's state list.
Step S40, the configuration information that receive user is configured on editor's state list, wherein the configuration information is at least Attribute, the incidence relation of each field including each field;
Generate editor state list after, user can editor state list on be configured, configuration editor state list in each The configuration information of field, configuration information includes attribute, the incidence relation of each field of each field in the present embodiment, such as configuration is compiled Collect whether certain field on state list is visible, or the operation relation of two fields of configuration.Being embodied as middle configuration information can also wrap Include editor's state list and the incidence relation of other lists etc..
Step S50, according to the generation instruction of user's triggering, generates corresponding list.
After user configuring edits well state list, user can then click on preservation menu, preserve the list.Specifically, root The generation instruction triggered according to user, by form builder the model and serialization information (JSON) of list are generated, and are preserved.For Convenient use, in the present embodiment when user's triggering generates instruction, by form builder according to interior generation in editor's state list The model and serialization information (JSON) of list, so as to convenient when follow-up newly-built, the form types that can be selected according to user Obtain the information such as the newly-increased field of previous editor's list.
In sum, in the present embodiment according to user select generate editor state list, user edit complete when, by table Single maker generates corresponding list, then storage serializing list (typically preserving to backstage).
The present invention creates instruction by the list that receive user is selected, and acquisition creates the type of list;According to the wound The type for building list obtains corresponding form fields list;According to the form fields that user selects in the form fields list Generate corresponding editor's state list;The configuration information that receive user is configured on editor's state list, wherein the configuration letter Breath is at least including attribute, the incidence relation of each field of each field;According to the generation instruction of user's triggering, corresponding table is generated It is single.By the way, the present invention, according to the form types that user selects, is obtained and form types when user creates list Corresponding form fields, user then can therefrom select corresponding field, so as to generate corresponding editor's state list, then user Incidence relation and attribute of each field etc. are reconfigured at, so as to complete the making of list, can be programmed without the need for user, reduce list system The workload of work, while user can pass through the attribute and incidence relation of configuration information control field, the present invention can be supported Specific flow process shows the field that the needs specified are filled in;Support complicated form fields Inner link;And in particular state Under, support control of form fields state etc..
Refering to Fig. 3, Fig. 3 be list of the present invention generation method first embodiment according to it is described establishment list type obtain Obtain a refinement schematic flow sheet of corresponding form fields list.
The present embodiment and the difference of first embodiment be obtain form fields mode it is different, specifically step S20 can To include:
Step S21, according to the type for creating list default form structure information is judged whether;
The source of form fields is divided into into 4 kinds of situations in the present embodiment:Form structure JSON, form fields describe JSON, Form fields describe API and manual configuration field.Wherein form structure JSON refers to the form fields of saved mistake, attribute etc. Content;Form fields describe JSON and refer to the form fields that the JSON contents write according to user are generated;Form fields describe API Refer to that field of the present invention can be communicated with other systems, obtain field JSON in other systems;Manual configuration field is then Refer to that user can carry out the field of artificial selection acquisition with the present invention.
The present embodiment first judges whether default form structure letter when list is created according to the type for creating list Breath, if so, then enters step S22;If it is not, then entering step S23.
Step S22, default form structure information is imported, and obtains corresponding form fields list.
Step S23, judges whether form fields description information;
If there is default form structure information, that is, there is form structure JSON, then directly by the importing of form structure JSON, I.e. list is imported, and so as to obtain corresponding form fields list, otherwise judges whether form fields description information, that is, judge JSON is described with the presence or absence of form fields, if there are form fields describes JSON, into step S24;If it is not, then entering step S25。
Step S24, according to the form fields description information corresponding form fields are obtained.
Step S25, judges whether that form fields describe interface;
JSON is described if there is form fields, then JSON is imported into field, obtain form fields list, otherwise judgement is No have form fields and describe interface, that is, judge whether that form fields describe API, if there are form fields describes API, Into step S26, if it is not, then entering step S27.
Step S26, describes interface and imports corresponding form fields list by the form fields;
Step S27, according to the form fields of user input corresponding form fields are obtained.
API is described if there is form fields, then field is imported by api interface, obtain corresponding form fields list, User is otherwise needed to enter configuration by hand, so as to obtain list of fields.
In the present embodiment, form fields source is divided into into four kinds of situations, four kinds of situations are then directed to when list is created Make a look up, obtain corresponding form fields list, disclosure satisfy that user's request.
Refering to Fig. 4, Fig. 4 is the schematic flow sheet of the generation method second embodiment of list of the present invention.
Based on generation method above-described embodiment of list of the present invention, the generation method of the list also includes:
Step S60, the list service catalogue that receive user is selected;
Step S70, according to the list service catalogue corresponding list is obtained, and obtains User space by list resolver List;
After the completion of list configuration, user can carry out corresponding process using list, and user can pass through to select menu, Select list service catalogue, the field of the present invention list directory information that then receive user is selected, according to the list mesh that user selects Record obtains corresponding list, specifically, as shown in figure 5, the service catalogue selected according to user gets service catalogue association List, is then parsed by list resolver, obtains the event data of the pattern, the DOM of list and list of list, then List is initialized, data line is first initialized, preferential style of loading data and then loading DOM data, thing is finally bound Part, binding event includes event parsing, Plugin events loading and field rule loading.When binding event, first initialize and insert The event of part, the correlation rule reinitialized between field.This step can be according to the incoming data of user and in configuration list When predetermined rule, carry out the state (can edit, if visible etc.) of control field.
After event binding, judge whether to need assignment, be then assigned to incoming numerical value according to incidence relation when needed One's own profession list, judges afterwards whether assignment terminates, if also needing to assignment, adds initialization a line Dom, and carries out initial Change.User fill in complete when, i.e., assignment be fully completed or do not need assignment list, then enter into the User space of list.
Step S80, user fill on the User space list complete when, receive user triggering preservation instruction;
User can be in the enterprising edlin content of User space list, when editor completes, then can set out preservation instruction, submit to Preserve list.
Step S90, verifies according to instruction and the preset rules of preserving to the content that user fills in;
User submit to preserve list when, terminal of the present invention according to preserve instruction and preset rules to filling in user in Hold and verified, judge whether the content that user fills in meets specification.
Step S100, if the verification passes, then obtains the serialized data of user's fill substance by list value module.
According to the result, if the verification passes, then the serialized data of user's fill substance is obtained by list value, To facilitate use next time.
The present invention further provides a kind of generating means of list.
With reference to Fig. 6, Fig. 6 is the high-level schematic functional block diagram of the generating means first embodiment of list of the present invention;
In the present embodiment, the generating means of the list include:
First receiver module 10, the list selected for receive user creates instruction, and acquisition creates the type of list;
The main incidence relation included between field, field attribute and field, is embodied as middle list and is also possible in list Including list pattern, field event and plug-in unit etc..To allow the invention to normal enforcement, the present invention is each by what is had in list Individual division of teaching contents is managed for corresponding module, as shown in Fig. 2 present system framework includes in the present embodiment:List word Segment management module, list plug-in management module, list DOM processing modules, list style configuration module, field attribute management mould Block, field event processing module and Trigger management modules, wherein, form fields management module is used to manage the field of list, Including the field of existing field and user newly addition in system;List plug-in management module is used to manage the plug-in unit in list, than Such as manage the Password Strength plug-in units of test Cipher Strength;List DOM (text object module) processing module is neutral In platform and the interface of language, the standard for being operated to this object with HTML or XML and being controlled is defined, it is allowed to program Content, structure and the pattern of document are dynamically accessed and updated with script;List style configuration module is used to configure list pattern; Field attribute management module is used to manage the attribute of each field;Field event processing module is used for the event of management fields, than Such as click on, be input into;Trigger management modules, i.e. trigger, are used for mode of operation, the operation rules to configure form controls Deng.
When in use, user selects to create list in system interface, and terminal of the present invention receives the list of user's triggering Instruction is created, then obtains the form types that user needs to create.
First obtains module 20, for obtaining corresponding form fields list according to the type of the establishment list;
According to the form types that user needs to create, corresponding form fields list is obtained.Wherein obtain form fields Mode is including but not limited to manually entered field and obtains already present form fields in present system.
First generation module 30, the form fields for being selected in the form fields list according to user generate correspondence Editor's state list;
According to the form fields list for obtaining, by the field, plug-in unit, the Trigger that serialize processing module, reduction list Configuration information, and by corresponding management module, generate the list of editor's state, certain user can also be to the table that obtains Form fields are screened in single list of fields, select the field for needing, so as to generate editor's state list.
Second receiver module 40, for the configuration information that receive user is configured on editor's state list, wherein described Configuration information is at least including attribute, the incidence relation of each field of each field;
Generate editor state list after, user can editor state list on be configured, configuration editor state list in each The configuration information of field, configuration information includes attribute, the incidence relation of each field of each field in the present embodiment, such as configuration is compiled Collect whether certain field on state list is visible, or the operation relation of two fields of configuration.Being embodied as middle configuration information can also wrap Include editor's state list and the incidence relation of other lists etc..
Second generation module 50, for the generation instruction triggered according to user, generates corresponding list.
After user configuring edits well state list, user can then click on preservation menu, preserve the list.Specifically, Two generation modules 50 are additionally operable to the generation instruction according to user's triggering, and by form builder model and the serializing of list are generated Information (JSON), and preserve.Use for convenience, in the present embodiment when user's triggering generates instruction, by form builder root According to the interior model and serialization information (JSON) for generating list in editor's state list, so as to convenient when follow-up newly-built, Neng Gougen The form types selected according to user obtain the information such as the newly-increased field of previous editor's list.
In sum, in the present embodiment according to user select generate editor state list, user edit complete when, by table Single maker generates corresponding list, then storage serializing list (typically preserving to backstage).
The present invention creates instruction by the list that receive user is selected, and acquisition creates the type of list;According to the wound The type for building list obtains corresponding form fields list;According to the form fields that user selects in the form fields list Generate corresponding editor's state list;The configuration information that receive user is configured on editor's state list, wherein the configuration letter Breath is at least including attribute, the incidence relation of each field of each field;According to the generation instruction of user's triggering, corresponding table is generated It is single.By the way, the present invention, according to the form types that user selects, is obtained and form types when user creates list Corresponding form fields, user then can therefrom select corresponding field, so as to generate corresponding editor's state list, then user Incidence relation and attribute of each field etc. are reconfigured at, so as to complete the making of list, can be programmed without the need for user, reduce list system The workload of work, while user can pass through the attribute and incidence relation of configuration information control field, the present invention can be supported Specific flow process shows the field that the needs specified are filled in;Support complicated form fields Inner link;And in particular state Under, support control of form fields state etc..
Refering to Fig. 7, Fig. 7 is the first refinement high-level schematic functional block diagram for obtaining module in the embodiment of the present invention.
Based on the generating means first embodiment of list of the present invention, the first acquisition module 20 can include:
First judging unit 21, for judging whether default form structure information according to the type for creating list;
The source of form fields is divided into into 4 kinds of situations in the present embodiment:Form structure JSON, form fields describe JSON, Form fields describe API and manual configuration field.Wherein form structure JSON refers to the form fields of saved mistake, attribute etc. Content;Form fields describe JSON and refer to the form fields that the JSON contents write according to user are generated;Form fields describe API Refer to that field of the present invention can be communicated with other systems, obtain field JSON in other systems;Manual configuration field is then Refer to that user can carry out the field of artificial selection acquisition with the present invention.
The present embodiment first judges whether default form structure letter when list is created according to the type for creating list Breath.
First obtains unit 22, then by the importing of default form structure information, corresponding form fields row are obtained for if so, Table.
Second judging unit 23, if for there is no default form structure information, judging whether that form fields are retouched State information;
If there is default form structure information, that is, there is form structure JSON, then directly by the importing of form structure JSON, I.e. list is imported, and so as to obtain corresponding form fields list, otherwise judges whether form fields description information, that is, judge JSON is described with the presence or absence of form fields, if there are form fields describes JSON.
Second obtaining unit 24, for if so, then according to the corresponding form fields of form fields description information acquisition List.
3rd judging unit 25, if for there is no form fields description information, judging whether that form fields are retouched State interface;
JSON is described if there is form fields, then JSON is imported into field, obtain form fields list, otherwise judgement is No have form fields and describe interface, that is, judge whether that form fields describe API, if there are form fields describes API.
3rd obtaining unit 26, for if so, then describing interface by the form fields corresponding form fields are imported List;
4th obtaining unit 27, for if it is not, then obtaining corresponding form fields row according to the form fields of user input Table.
API is described if there is form fields, then field is imported by api interface, obtain corresponding form fields list, User is otherwise needed to enter configuration by hand, so as to obtain list of fields.
In the present embodiment, form fields source is divided into into four kinds of situations, four kinds of situations are then directed to when list is created Make a look up, obtain corresponding form fields list, disclosure satisfy that user's request.
With reference to Fig. 8, Fig. 8 is the high-level schematic functional block diagram of the generating means second embodiment of list of the present invention.
Based on generating means above-described embodiment of list of the present invention, the generating means of the list can also include:
3rd receiver module 60, for the list service catalogue that receive user is selected;
Second obtains module 70, for obtaining corresponding list according to the list service catalogue, and is parsed by list Device obtains User space list;
After the completion of list configuration, user can carry out corresponding process using list, and user can pass through to select menu, Select list service catalogue, the field of the present invention list directory information that then receive user is selected, according to the list mesh that user selects Record obtains corresponding list, and specifically, the service catalogue selected according to user gets the list of service catalogue association, Ran Houtong Cross list resolver to be parsed, obtain the event data of the pattern, the DOM of list and list of list, then list is carried out Initialization, first initializes data line, preferential style of loading data and then loading DOM data, finally binds event, binds thing Part includes event parsing, Plugin events loading and field rule loading.When binding event, the event of plug-in unit is first initialized, The correlation rule reinitialized between field.This step can make a reservation for according to the incoming data of user and when list is configured Rule, carry out the state (can edit, if visible etc.) of control field.
After event binding, judge whether to need assignment, be then assigned to incoming numerical value according to incidence relation when needed One's own profession list, judges afterwards whether assignment terminates, if also needing to assignment, adds initialization a line Dom, and carries out initial Change.User fill in complete when, i.e., assignment be fully completed or do not need assignment list, then enter into the User space of list.
4th receiver module 80, for user fill on the User space list complete when, receive user triggering Preserve instruction;
User can be in the enterprising edlin content of User space list, when editor completes, then can set out preservation instruction, submit to Preserve list.
Authentication module 90, for being verified to the content that user fills according to instruction and the preset rules of preserving;
User submit to preserve list when, terminal of the present invention according to preserve instruction and preset rules to filling in user in Hold and verified, judge whether the content that user fills in meets specification.
Preserving module 100, for if the verification passes, then obtaining corresponding with user's fill substance by list value module Serialized data, and preserve.
According to the result, if the verification passes, then the serialized data of user's fill substance is obtained by list value, To facilitate use next time.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every using this Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (12)

1. a kind of generation method of list, it is characterised in that the generation method is comprised the following steps:
The list that receive user is selected creates instruction, and acquisition creates the type of list;
Corresponding form fields list is obtained according to the type of the establishment list;
The form fields selected in the form fields list according to user generate corresponding editor's state list;
The configuration information that receive user is configured on editor's state list, wherein the configuration information is at least including each field The incidence relation of attribute, each field;
According to the generation instruction of user's triggering, corresponding list is generated.
2. generation method as claimed in claim 1, it is characterised in that the type according to the establishment list is corresponded to Form fields list the step of include:
Type according to list is created judges whether default form structure information;
If so, then the importing of default form structure information is obtained into corresponding form fields list.
3. generation method as claimed in claim 2, it is characterised in that the type according to the establishment list is corresponded to Form fields list the step of also include:
If there is no default form structure information, form fields description information is judged whether;
If so, then according to the corresponding form fields list of form fields description information acquisition.
4. generation method as claimed in claim 3, it is characterised in that the type according to the establishment list is corresponded to Form fields list the step of also include:
If there is no form fields description information, judge whether that form fields describe interface;
If so, then describe interface by the form fields and import corresponding form fields list;
If it is not, then obtaining corresponding form fields list according to the form fields of user input.
5. generation method as claimed in claim 1, it is characterised in that the generation instruction according to user's triggering, it is right to generate The step of list answered, includes:
According to the generation instruction of user's triggering, the model and serialization information of list are generated by form builder, and preserved.
6. generation method as claimed in claim 5, it is characterised in that methods described also includes:
The list service catalogue that receive user is selected;
Corresponding list is obtained according to the list service catalogue, and User space list is obtained by list resolver;
User fill on the User space list complete when, receive user triggering preservation instruction;
The content that user fills in is verified according to instruction and the preset rules of preserving;
If the verification passes, then by the serialized data of list value module acquisition user's fill substance.
7. a kind of generating means of list, it is characterised in that the generating means include:
First receiver module, the list selected for receive user creates instruction, and acquisition creates the type of list;
First obtains module, for obtaining corresponding form fields list according to the type of the establishment list;
First generation module, the form fields for being selected in the form fields list according to user generate corresponding editor State list;
Second receiver module, for the configuration information that receive user is configured on editor's state list, wherein the configuration letter Breath is at least including attribute, the incidence relation of each field of each field;
Second generation module, for the generation instruction triggered according to user, generates corresponding list.
8. generating means as claimed in claim 7, it is characterised in that the first acquisition module includes:
First judging unit, for judging whether default form structure information according to the type for creating list;
First obtains unit, then by the importing of default form structure information, corresponding form fields list is obtained for if so,.
9. generating means as claimed in claim 8, it is characterised in that the first acquisition module also includes:
Second judging unit, if for there is no default form structure information, judging whether form fields description information;
Second obtaining unit, for if so, then according to the corresponding form fields list of form fields description information acquisition.
10. generating means as claimed in claim 9, it is characterised in that the first acquisition module also includes:
3rd judging unit, if for there is no form fields description information, judging whether that form fields describe interface;
3rd obtaining unit, for if so, then describing interface by the form fields corresponding form fields list is imported;
4th obtaining unit, for if it is not, then obtaining corresponding form fields list according to the form fields of user input.
11. generating means as claimed in claim 7, it is characterised in that second generation module is additionally operable to be touched according to user The generation instruction sent out, by form builder the model and serialization information of list are generated, and are preserved.
12. generating means as claimed in claim 11, it is characterised in that described device also includes:
3rd receiver module, for the list service catalogue that receive user is selected;
Second obtains module, for obtaining corresponding list according to the list service catalogue, and is obtained by list resolver User space list;
4th receiver module, for user fill on the User space list complete when, receive user triggering preservation refer to Order;
Authentication module, for being verified to the content that user fills according to instruction and the preset rules of preserving;
Preserving module, for if the verification passes, then obtaining sequence corresponding with user's fill substance by list value module Change data, and preserve.
CN201610973026.3A 2016-10-28 2016-10-28 Form generation method and device Pending CN106598924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610973026.3A CN106598924A (en) 2016-10-28 2016-10-28 Form generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610973026.3A CN106598924A (en) 2016-10-28 2016-10-28 Form generation method and device

Publications (1)

Publication Number Publication Date
CN106598924A true CN106598924A (en) 2017-04-26

Family

ID=58590945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610973026.3A Pending CN106598924A (en) 2016-10-28 2016-10-28 Form generation method and device

Country Status (1)

Country Link
CN (1) CN106598924A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423061A (en) * 2017-07-12 2017-12-01 江苏速度信息科技股份有限公司 A kind of list generation method based on ISON data
CN107491307A (en) * 2017-08-11 2017-12-19 北京小度信息科技有限公司 Information providing method, device, electronic equipment and computer-readable recording medium
CN108182064A (en) * 2017-12-01 2018-06-19 中国联合网络通信集团有限公司 Dynamic list implementation method and server
CN108595681A (en) * 2018-05-02 2018-09-28 恒生电子股份有限公司 Method, apparatus and system for list displaying
CN108959361A (en) * 2018-05-17 2018-12-07 腾讯音乐娱乐科技(深圳)有限公司 The method and apparatus of list management
CN109829743A (en) * 2018-12-14 2019-05-31 中国平安财产保险股份有限公司 A kind of formation gathering method and device, electric terminal and storage medium
CN109933760A (en) * 2019-01-28 2019-06-25 平安科技(深圳)有限公司 List generation method, device, computer equipment and computer readable storage medium
CN110008449A (en) * 2018-01-04 2019-07-12 北大医疗信息技术有限公司 Form controls interlock method, device, computer equipment and readable storage medium storing program for executing
CN110162760A (en) * 2019-05-23 2019-08-23 武汉神算云信息科技有限责任公司 A kind of form customization method based on procedure links
CN110162763A (en) * 2019-07-18 2019-08-23 成都希盟泰克科技发展有限公司 Magnanimity quality tests the optimization method for commenting form data intelligently to be configured and its system
CN110442340A (en) * 2019-07-04 2019-11-12 重庆金融资产交易所有限责任公司 List generation method, device and computer equipment based on data processing
CN110489731A (en) * 2018-05-15 2019-11-22 优酷网络技术(北京)有限公司 A kind of creation method of list, device and computer storage medium
CN111126018A (en) * 2019-11-25 2020-05-08 泰康保险集团股份有限公司 Form generation method and device, storage medium and electronic equipment
CN111161889A (en) * 2019-12-26 2020-05-15 嘉兴太美医疗科技有限公司 Generation method and verification method of verification rule of drug safety data
CN111291543A (en) * 2018-11-21 2020-06-16 北京国双科技有限公司 Data display method and device, storage medium and processor
CN111414330A (en) * 2019-01-04 2020-07-14 阿里巴巴集团控股有限公司 Data editing method and system, data processing device and storage medium
CN111427559A (en) * 2019-01-10 2020-07-17 阿里巴巴集团控股有限公司 Method for realizing form customized service, form generation method, device and system
CN111651158A (en) * 2020-04-23 2020-09-11 平安国际智慧城市科技股份有限公司 Form page generation method, device, terminal and storage medium
CN112464633A (en) * 2020-11-04 2021-03-09 贝壳技术有限公司 Template generation method and device, electronic equipment and storage medium
CN113609826A (en) * 2021-07-14 2021-11-05 远景智能国际私人投资有限公司 Form processing method and device
CN114297993A (en) * 2021-12-31 2022-04-08 重庆允成互联网科技有限公司 Form data association method and system
TWI799920B (en) * 2021-07-21 2023-04-21 玉山商業銀行股份有限公司 Method for creating dynamic form with flexible depth and form system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0867822A2 (en) * 1997-03-24 1998-09-30 Canon Kabushiki Kaisha Information processing apparatus for performing processing dependent on presence/absence of user, and method therefor
US5991469A (en) * 1990-05-30 1999-11-23 Xerox Corporation System for reading a form utilizing encoded indications for form field processing
CN102201009A (en) * 2011-06-21 2011-09-28 深圳市凯立德科技股份有限公司 Form generating method and device
CN102779040A (en) * 2012-06-21 2012-11-14 东莞市微模式软件有限公司 Method and device for generating user-defined form
CN103593456A (en) * 2013-11-22 2014-02-19 中国技术交易所有限公司 Form user-defined design method and device
CN103853759A (en) * 2012-12-03 2014-06-11 方正国际软件(北京)有限公司 Self-adaptive form generation method and self-adaptive form generation system
CN105320690A (en) * 2014-07-30 2016-02-10 北京中海纪元数字技术发展股份有限公司 Metadata based rapid statistic form generation method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5991469A (en) * 1990-05-30 1999-11-23 Xerox Corporation System for reading a form utilizing encoded indications for form field processing
EP0867822A2 (en) * 1997-03-24 1998-09-30 Canon Kabushiki Kaisha Information processing apparatus for performing processing dependent on presence/absence of user, and method therefor
CN102201009A (en) * 2011-06-21 2011-09-28 深圳市凯立德科技股份有限公司 Form generating method and device
CN102779040A (en) * 2012-06-21 2012-11-14 东莞市微模式软件有限公司 Method and device for generating user-defined form
CN103853759A (en) * 2012-12-03 2014-06-11 方正国际软件(北京)有限公司 Self-adaptive form generation method and self-adaptive form generation system
CN103593456A (en) * 2013-11-22 2014-02-19 中国技术交易所有限公司 Form user-defined design method and device
CN105320690A (en) * 2014-07-30 2016-02-10 北京中海纪元数字技术发展股份有限公司 Metadata based rapid statistic form generation method and system

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423061A (en) * 2017-07-12 2017-12-01 江苏速度信息科技股份有限公司 A kind of list generation method based on ISON data
CN107491307A (en) * 2017-08-11 2017-12-19 北京小度信息科技有限公司 Information providing method, device, electronic equipment and computer-readable recording medium
CN108182064A (en) * 2017-12-01 2018-06-19 中国联合网络通信集团有限公司 Dynamic list implementation method and server
CN110008449B (en) * 2018-01-04 2023-07-07 北大医疗信息技术有限公司 Form control linkage method, form control linkage device, computer equipment and readable storage medium
CN110008449A (en) * 2018-01-04 2019-07-12 北大医疗信息技术有限公司 Form controls interlock method, device, computer equipment and readable storage medium storing program for executing
CN108595681A (en) * 2018-05-02 2018-09-28 恒生电子股份有限公司 Method, apparatus and system for list displaying
CN110489731A (en) * 2018-05-15 2019-11-22 优酷网络技术(北京)有限公司 A kind of creation method of list, device and computer storage medium
CN108959361A (en) * 2018-05-17 2018-12-07 腾讯音乐娱乐科技(深圳)有限公司 The method and apparatus of list management
CN111291543A (en) * 2018-11-21 2020-06-16 北京国双科技有限公司 Data display method and device, storage medium and processor
CN111291543B (en) * 2018-11-21 2023-08-25 北京国双科技有限公司 Data display method and device, storage medium and processor
CN109829743A (en) * 2018-12-14 2019-05-31 中国平安财产保险股份有限公司 A kind of formation gathering method and device, electric terminal and storage medium
CN111414330B (en) * 2019-01-04 2024-03-22 阿里巴巴集团控股有限公司 Data editing method and system, data processing device and storage medium
CN111414330A (en) * 2019-01-04 2020-07-14 阿里巴巴集团控股有限公司 Data editing method and system, data processing device and storage medium
CN111427559B (en) * 2019-01-10 2023-06-20 阿里巴巴集团控股有限公司 Method for realizing form customization service, method, device and system for generating form
CN111427559A (en) * 2019-01-10 2020-07-17 阿里巴巴集团控股有限公司 Method for realizing form customized service, form generation method, device and system
CN109933760A (en) * 2019-01-28 2019-06-25 平安科技(深圳)有限公司 List generation method, device, computer equipment and computer readable storage medium
CN110162760A (en) * 2019-05-23 2019-08-23 武汉神算云信息科技有限责任公司 A kind of form customization method based on procedure links
CN110442340A (en) * 2019-07-04 2019-11-12 重庆金融资产交易所有限责任公司 List generation method, device and computer equipment based on data processing
CN110442340B (en) * 2019-07-04 2023-10-10 湖南善禧文化股份有限公司 Form generation method and device based on data processing and computer equipment
CN110162763A (en) * 2019-07-18 2019-08-23 成都希盟泰克科技发展有限公司 Magnanimity quality tests the optimization method for commenting form data intelligently to be configured and its system
CN111126018B (en) * 2019-11-25 2023-08-08 泰康保险集团股份有限公司 Form generation method and device, storage medium and electronic equipment
CN111126018A (en) * 2019-11-25 2020-05-08 泰康保险集团股份有限公司 Form generation method and device, storage medium and electronic equipment
CN111161889A (en) * 2019-12-26 2020-05-15 嘉兴太美医疗科技有限公司 Generation method and verification method of verification rule of drug safety data
CN111651158A (en) * 2020-04-23 2020-09-11 平安国际智慧城市科技股份有限公司 Form page generation method, device, terminal and storage medium
CN111651158B (en) * 2020-04-23 2024-05-31 平安国际智慧城市科技股份有限公司 Form page generation method, device, terminal and storage medium
CN112464633A (en) * 2020-11-04 2021-03-09 贝壳技术有限公司 Template generation method and device, electronic equipment and storage medium
CN113609826A (en) * 2021-07-14 2021-11-05 远景智能国际私人投资有限公司 Form processing method and device
CN113609826B (en) * 2021-07-14 2024-01-09 远景智能国际私人投资有限公司 Form processing method and device
TWI799920B (en) * 2021-07-21 2023-04-21 玉山商業銀行股份有限公司 Method for creating dynamic form with flexible depth and form system
CN114297993A (en) * 2021-12-31 2022-04-08 重庆允成互联网科技有限公司 Form data association method and system
CN114297993B (en) * 2021-12-31 2024-06-18 重庆允丰科技有限公司 Form data association method and system

Similar Documents

Publication Publication Date Title
CN106598924A (en) Form generation method and device
CN107025037B (en) Control method and device of intelligent equipment
CN110232162B (en) HTML 5-based flow definition method and system
US7861177B2 (en) Software configuration program for software applications
CN112270149B (en) Verification platform automatic integration method and system, electronic equipment and storage medium
CN103842961A (en) System for creating personalized and customized mobile devices
CN108600175B (en) Control method, device and the storage medium of system operatio permission
CN104636139A (en) Visualized cross-platform mobile application development and generation system
CN110362490B (en) Automatic testing method and system for integrating iOS and Android mobile applications
AU2013213683B2 (en) A method and system of application development for multiple device client platforms
CN106354748A (en) Webpage generation method and device
CN109710328A (en) Page configuration method, apparatus, equipment and readable storage medium storing program for executing
CN104217270A (en) Business process application file generating and execution methods, client, device and system
CN109783750A (en) Case mechanism defines the method, apparatus and electronic equipment of webpage interbehavior
US7496746B2 (en) Automated configuration of a software system
CN110162464A (en) Mcok test method and system, electronic equipment and readable storage medium storing program for executing
CN105808701A (en) Method and system for realizing automatic verification of form and communication among multiple systems
CN106502916A (en) Method for testing software and system
US20110047527A1 (en) Systems, Methods, and Apparatuses for Providing Computing Device Deployment Environments for Developing Applications
CN112214202B (en) Mobile phone program development system without writing codes
CN109862083A (en) A kind of Activiation method of internet of things equipment, device and equipment
CN107040818B (en) Layout analytic hierarchy process method and system for Android TV
CN109408092A (en) Method and device, storage medium and the electronic equipment of front end version publication
CN106527840A (en) Method and device for controlling distributed server
CN101414260A (en) System and method for creating multi-mode applications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20170426